@inkeep/open-knowledge 0.49.0 → 0.49.2
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/abnfDiagram-VRR7QNED-DWDzSKGM.mjs +2 -0
- package/dist/acp-harness-probe-O9BEMpdb.mjs +3 -0
- package/dist/alias-JE7RI5QX-BLuOrjl2.mjs +7 -0
- package/dist/alias-JE7RI5QX-VxEqWoTW.mjs +1 -0
- package/dist/arc-DXUbbcxK.mjs +2 -0
- package/dist/architecture-TIHT7OUA-Bl3hpxt3.mjs +1 -0
- package/dist/architectureDiagram-ZJ3FMSHR-HYEpY7T3.mjs +37 -0
- package/dist/array-BbgQa93P.mjs +2 -0
- package/dist/awk2-BBAGSFUB-ClUuupKf.mjs +21 -0
- package/dist/awk2-BBAGSFUB-Dq-YdAGA.mjs +1 -0
- package/dist/banner-Be20aAVc.mjs +3 -0
- package/dist/base64-4YMZCVJ5-CtkujsXK.mjs +6 -0
- package/dist/base64-4YMZCVJ5-dXz6vbV-.mjs +1 -0
- package/dist/basename-AA2KJYZQ-BhoOTAHi.mjs +1 -0
- package/dist/basename-AA2KJYZQ-CEdH80GO.mjs +6 -0
- package/dist/bash-IJWYRKFO-BDtU-lTC.mjs +6 -0
- package/dist/bash-IJWYRKFO-jaJEvAZe.mjs +1 -0
- package/dist/blockDiagram-677ZJIJ3-yJugV29e.mjs +133 -0
- package/dist/c4Diagram-LMCZKHZV-BFQQLctA.mjs +11 -0
- package/dist/cat-RDUMLXKC-D1H4LA3Z.mjs +6 -0
- package/dist/cat-RDUMLXKC-DFuXWxVq.mjs +1 -0
- package/dist/channel-Cjp51EO_.mjs +2 -0
- package/dist/chmod-SYMGL4JA-ByMUk130.mjs +1 -0
- package/dist/chmod-SYMGL4JA-lEGJICyB.mjs +8 -0
- package/dist/chokidar-dh8zokRd.mjs +4 -0
- package/dist/chunk-24IMIIXA-RjlBWJtr.mjs +2 -0
- package/dist/chunk-2Q5K7J3B-Ck8oGqYt.mjs +2 -0
- package/dist/chunk-2TRDZQLB-AH-I_6yN.mjs +18 -0
- package/dist/chunk-2TRDZQLB-ZoW1EBbl.mjs +18 -0
- package/dist/chunk-32BRIVSS-Dwq69mnI.mjs +2 -0
- package/dist/chunk-3BS5SKQH-DpdUzS0R.mjs +140 -0
- package/dist/chunk-3H6UQG3A-BWCaN15a.mjs +9 -0
- package/dist/chunk-3THT3N7L-DYkTD3HD.mjs +2 -0
- package/dist/chunk-3ZUFRYJ4-H1A1hWy1.mjs +2 -0
- package/dist/chunk-3ZUFRYJ4-ekaYB_vG.mjs +2 -0
- package/dist/chunk-44UOCSGV-D1FZHMOP.mjs +2 -0
- package/dist/chunk-4GTNDTRF-Cx89i2Y1.mjs +8 -0
- package/dist/chunk-4HHKTUW3-Dk2l1S8J.mjs +3 -0
- package/dist/chunk-4Q4SM6WR-CGuvvBWe.mjs +5 -0
- package/dist/chunk-52WLFC77-Cn-qt8h-.mjs +11 -0
- package/dist/chunk-55VFSPNA-D2U7n2ka.mjs +3 -0
- package/dist/chunk-5FCAYU7R-DszODYLe.mjs +2 -0
- package/dist/chunk-5HE753X5-DDnyF29o.mjs +2 -0
- package/dist/chunk-5JV3BV7I-BkeVAZnj.mjs +2 -0
- package/dist/chunk-5QMZ5MUS-C5NTf5Rj.mjs +5 -0
- package/dist/chunk-5QVNJEHU-DS9zA_YV.mjs +9 -0
- package/dist/chunk-5TONJI2A-CzUNHQPX.mjs +3 -0
- package/dist/chunk-5V6VZH6T-DBFenjXz.mjs +2 -0
- package/dist/chunk-5VM5RSS4-C8vNNqW0.mjs +16 -0
- package/dist/chunk-62RKD26F-C4qK_fA-.mjs +21 -0
- package/dist/chunk-64BAICW3-BupSxcu5.mjs +2 -0
- package/dist/chunk-6Z5SFZXK-Cz0C4bhB.mjs +288 -0
- package/dist/chunk-74CEPOFO-BUVWiXkJ.mjs +23 -0
- package/dist/chunk-74CEPOFO-BYrCYxKO.mjs +23 -0
- package/dist/chunk-7BUUIJ7U-D7hE25H9.mjs +2 -0
- package/dist/chunk-7L36YK2X-CGwYuotX.mjs +3 -0
- package/dist/chunk-7L36YK2X-DAp-upAs.mjs +3 -0
- package/dist/chunk-7TSDKFEO-CE_P23TY.mjs +2 -0
- package/dist/chunk-7TSDKFEO-DBB10vPw.mjs +2 -0
- package/dist/chunk-A4HU7SVR-BZJ8xDMo.mjs +3 -0
- package/dist/chunk-A4JSPFCI-Dej71yGP.mjs +7 -0
- package/dist/chunk-A5O5YHGN-CczwCZ4d.mjs +2 -0
- package/dist/chunk-A65PWWJC-C-0S-s_f.mjs +3 -0
- package/dist/chunk-A7A2DBEE-DCXJ1xmx.mjs +7 -0
- package/dist/chunk-A7ICOL4V-BQZ9JZ1A.mjs +14 -0
- package/dist/chunk-ALLTKNUZ-D2ZOfcEz.mjs +6 -0
- package/dist/chunk-APT7OOP2-D-DaFB7K.mjs +2 -0
- package/dist/chunk-B74TABJS-BJwhrR8a.mjs +34 -0
- package/dist/chunk-BIQX33UG-Bmho6v3L.mjs +2 -0
- package/dist/chunk-C7G6YPKG-BAX_SClW.mjs +2 -0
- package/dist/chunk-CQNSW5MT-FekKjn0i.mjs +2 -0
- package/dist/chunk-CWQS3NFK-CcBWgb8o.mjs +2 -0
- package/dist/chunk-CYSBUYHQ-BftsYwRW.mjs +2 -0
- package/dist/chunk-D4J545R4-Br_5qOnE.mjs +12 -0
- package/dist/chunk-D6CWQ5DW-3AWPydfx.mjs +6 -0
- package/dist/chunk-D7MEQ3VN-Df6An2jd.mjs +5 -0
- package/dist/chunk-DBKNVD4L-B3hX287s.mjs +10 -0
- package/dist/chunk-DBKNVD4L-DNQP2COw.mjs +10 -0
- package/dist/chunk-DCAAORBQ-BDLVpBG2.mjs +2 -0
- package/dist/chunk-DHbaKqs-.mjs +1 -0
- package/dist/chunk-DXB73IDG-BBwE27jK.mjs +2 -0
- package/dist/chunk-EEXR5ZDP-CE452hsE.mjs +3 -0
- package/dist/chunk-EEXR5ZDP-Df-EPnbj.mjs +3 -0
- package/dist/chunk-EIZGF4BS-86nrMkyt.mjs +9 -0
- package/dist/chunk-EIZGF4BS-CSFp0aUh.mjs +9 -0
- package/dist/chunk-EMLP6XTP-C2yfLzVC.mjs +2 -0
- package/dist/chunk-EX3LRPZG-Chp9b-Lc.mjs +232 -0
- package/dist/chunk-F23WWYKW-qKke1WqP.mjs +17 -0
- package/dist/chunk-FWX5IMBZ-Cn1xNcn5.mjs +2 -0
- package/dist/chunk-GCTKCWKD-D0obXRun.mjs +4 -0
- package/dist/chunk-GFQRA5P5-XqPO4cim.mjs +3 -0
- package/dist/chunk-GOV5EKKI-CDovwI7Z.mjs +10 -0
- package/dist/chunk-GXVXFKBA-D-BGCybM.mjs +6 -0
- package/dist/chunk-HDQ56CKY-CI8IkhlS.mjs +16 -0
- package/dist/chunk-HDQ56CKY-Pa-7c4rC.mjs +16 -0
- package/dist/chunk-HJQJAYMS-BHzb4Ncl.mjs +3 -0
- package/dist/chunk-HJWBQKYG-B-KESSoV.mjs +6 -0
- package/dist/chunk-HKLCLINH-Bgw53oZd.mjs +63 -0
- package/dist/chunk-HL6NGDO2-CftrHAlX.mjs +24 -0
- package/dist/chunk-HOUHSVGY-C3h3PdhC.mjs +2 -0
- package/dist/chunk-HWKDQ44K-CGcvROg-.mjs +4 -0
- package/dist/chunk-HWKDQ44K-D3ZbaPl8.mjs +4 -0
- package/dist/chunk-I57KEIP3-_HYA-njf.mjs +11 -0
- package/dist/chunk-I57KEIP3-iiTO2OC-.mjs +11 -0
- package/dist/chunk-ICXQ74PX-DbJy3VdO.mjs +3 -0
- package/dist/chunk-IPJHKYVM-3ANqAo3C.mjs +2 -0
- package/dist/chunk-JG7HCLWE-lUInQ_44.mjs +3 -0
- package/dist/chunk-JVPRLUMK-FzUEFQw9.mjs +8 -0
- package/dist/chunk-JWPE2WC7-iDbhfJR-.mjs +2 -0
- package/dist/chunk-K6LIBGJA-BXxOXTjI.mjs +12 -0
- package/dist/chunk-KEIR6QF5-BLwvtFl6.mjs +176 -0
- package/dist/chunk-KMEYNNUA-1KiUKBQV.mjs +16 -0
- package/dist/chunk-KRBPSX3W-DeaaVEij.mjs +6 -0
- package/dist/chunk-KRBPSX3W-YDdgrCmf.mjs +6 -0
- package/dist/chunk-LL3S3NLB-D0lLKwVi.mjs +2 -0
- package/dist/chunk-LTZRCH7N-DpPs5vSq.mjs +32 -0
- package/dist/chunk-LWEGUNWT-DOK-XWMd.mjs +8 -0
- package/dist/chunk-MDDMCKUK-CTA6qEdN.mjs +7 -0
- package/dist/chunk-MDLLFABN-B2tA3LLA.mjs +73 -0
- package/dist/chunk-MHTUABJP-CrR3MfDw.mjs +9 -0
- package/dist/chunk-MIZPJHVH-d3bhRfh4.mjs +8 -0
- package/dist/chunk-MLXIYONF-C0S_CKb1.mjs +16 -0
- package/dist/chunk-MOJQB5TN-CUt4IiNv.mjs +89 -0
- package/dist/chunk-MOZMSUNE-DCxwDKn7.mjs +2 -0
- package/dist/chunk-MYE6AGBJ-CMoRJzYM.mjs +17 -0
- package/dist/chunk-NAERJDUW-Ck-SZ2Ps.mjs +9 -0
- package/dist/chunk-NCNPKYJZ-BxqfYu6d.mjs +3 -0
- package/dist/chunk-NUYSJFDK-DfaBzW-k.mjs +8 -0
- package/dist/chunk-OCLXQMOG-DC3689MV.mjs +7 -0
- package/dist/chunk-OCS6LSEM-BY3_3dNt.mjs +14 -0
- package/dist/chunk-OGEWGWER-DgPAesMA.mjs +2 -0
- package/dist/chunk-OJDRYQWQ-B9KRyRFZ.mjs +2 -0
- package/dist/chunk-OSBZ3O6U-BVpvamr7.mjs +2 -0
- package/dist/chunk-PBXLG62G-C12xrBbG.mjs +9 -0
- package/dist/chunk-PP6PSHAB-tlM6YKyg.mjs +5 -0
- package/dist/chunk-PUDLZKDR-CIWYIjrF.mjs +157 -0
- package/dist/chunk-PXTK5WE2-DNbfUrIy.mjs +22 -0
- package/dist/chunk-PXTK5WE2-e9kxtsgu.mjs +22 -0
- package/dist/chunk-PYSFUGCK-DqdcBhD4.mjs +11 -0
- package/dist/chunk-Q4XR5HBZ-jWirJQsj.mjs +71 -0
- package/dist/chunk-QBLGF6JB-hMrl9lGc.mjs +2 -0
- package/dist/chunk-QCDB2VPH-Cv7mIZWG.mjs +7 -0
- package/dist/chunk-QJ7O6ZN3-BRN048sn.mjs +6 -0
- package/dist/chunk-R6QSAL5T-CxzbKF59.mjs +2 -0
- package/dist/chunk-R6VWJ2ZL-DmUcUF0z.mjs +2 -0
- package/dist/chunk-R7FJI6CG-bmCS8vOS.mjs +2 -0
- package/dist/chunk-RPNGRAAP-BTpXCNpb.mjs +8 -0
- package/dist/chunk-RYQCIY6F-Dt7I2-Oy.mjs +2 -0
- package/dist/chunk-SDNKECQQ-BNRfy-15.mjs +6 -0
- package/dist/chunk-SNN4IESC-CZPQ88bY.mjs +2 -0
- package/dist/chunk-SNN4IESC-oXVGT9qo.mjs +2 -0
- package/dist/chunk-T56QNPHK-lY6QjpkL.mjs +15 -0
- package/dist/chunk-TLSUDHID-BP7dARSe.mjs +7 -0
- package/dist/chunk-TOMNU26N-BFsBBT9j.mjs +5 -0
- package/dist/chunk-TP4BZANS-C6KGxaUf.mjs +21 -0
- package/dist/chunk-TXBZCHCQ-DxPX5PCF.mjs +6 -0
- package/dist/chunk-U6XO7XAA-BHty90wb.mjs +3 -0
- package/dist/chunk-V5MWI2OL-DApVl_z4.mjs +5 -0
- package/dist/chunk-V7JOEXUC-DNM56rwe.mjs +207 -0
- package/dist/chunk-V7TAPXDL-CrGsULIH.mjs +28 -0
- package/dist/chunk-VAUOI2AC-BdotBBDE.mjs +2 -0
- package/dist/chunk-VJFXDYWH-DXnppZsu.mjs +11 -0
- package/dist/chunk-VOBGTVA6-_4QbVbSJ.mjs +7 -0
- package/dist/chunk-VR4S4FIN-RUJ5PgRH.mjs +2 -0
- package/dist/chunk-VYOJP4TV-DG_cm0JM.mjs +14 -0
- package/dist/chunk-WKFATFPP-DygaP6No.mjs +5 -0
- package/dist/chunk-WYO6CB5R-DN1R0VLx.mjs +130 -0
- package/dist/chunk-X2AJGDEF-BXjUENXL.mjs +2 -0
- package/dist/chunk-X2AJGDEF-ivzQBp_p.mjs +2 -0
- package/dist/chunk-XKQRETAK-CYJSOFLN.mjs +2 -0
- package/dist/chunk-XKWWSDBF-BTj39eCO.mjs +37 -0
- package/dist/chunk-XVDPCNWR-BSVT7Ttz.mjs +12 -0
- package/dist/chunk-XXDRQBXY-D1gFTzjI.mjs +2 -0
- package/dist/chunk-Y2CYZVJY-acXC9Sbb.mjs +2 -0
- package/dist/chunk-YMMW5UAP-CE-EQ2Is.mjs +33 -0
- package/dist/chunk-YOTPTUD7-63S9b4Z2.mjs +2 -0
- package/dist/chunk-YTNYSM6T-DFPh_641.mjs +12 -0
- package/dist/chunk-YULBWSET-B6FKJjk9.mjs +14 -0
- package/dist/chunk-Z6LRHWXI-BCgawaNX.mjs +14 -0
- package/dist/chunk-Z7JVV2SM-CTUpikzI.mjs +12 -0
- package/dist/chunk-ZGVPDNZ5-CyyHBEs2.mjs +63 -0
- package/dist/chunk-ZIRB5QZD-K23GvNu-.mjs +39 -0
- package/dist/chunk-ZZO3UDB3-MiEiJy8J.mjs +100 -0
- package/dist/classDiagram-OUVF2IWQ-0ApI9cDS.mjs +2 -0
- package/dist/classDiagram-v2-EOCWNBFH-DfQYJWNe.mjs +2 -0
- package/dist/clear-5CZ5X4YR-9EZyt4MH.mjs +2 -0
- package/dist/clear-5CZ5X4YR-BICGLF_r.mjs +1 -0
- package/dist/cli.mjs +22 -22
- package/dist/column-WLPMMSTS-D0I9TpQ2.mjs +1 -0
- package/dist/column-WLPMMSTS-Do8HgL6q.mjs +8 -0
- package/dist/comm-5SLSESQG-0igXzBnl.mjs +12 -0
- package/dist/comm-5SLSESQG-D2Rs9Jmo.mjs +1 -0
- package/dist/constants-C3InsrBS.mjs +2 -0
- package/dist/cose-bilkent-JH36ORCC-B1gjUwU3.mjs +2 -0
- package/dist/cp-XOYR4ABJ-CpnwcT2f.mjs +8 -0
- package/dist/cp-XOYR4ABJ-OfwEEWhR.mjs +1 -0
- package/dist/curl-47BFPSFW-Ko1BcK_R.mjs +26 -0
- package/dist/cut-OPC3VAGB-BAhJz0Qh.mjs +1 -0
- package/dist/cut-OPC3VAGB-nJAw1cEp.mjs +6 -0
- package/dist/cynefin-VYW2F7L2-C-aICrN-.mjs +1 -0
- package/dist/cynefinDiagram-TSTJHNR4-CoESbhp4.mjs +63 -0
- package/dist/cytoscape.esm-D6l9Lhue.mjs +332 -0
- package/dist/dagre-BkPA5x_w.mjs +2 -0
- package/dist/dagre-VKFMJZFB-BhCtWAkc.mjs +5 -0
- package/dist/date-DD7FVA2V-BGJ9-l0O.mjs +1 -0
- package/dist/date-DD7FVA2V-W_sbdO4n.mjs +5 -0
- package/dist/defaultLocale-DN4qDyCE.mjs +2 -0
- package/dist/diagram-FQU43EPY-BdshpOzp.mjs +4 -0
- package/dist/diagram-G47NLZAW-Lw1fB9_w.mjs +25 -0
- package/dist/diagram-NH7WQ7WH-DnzwFaQq.mjs +25 -0
- package/dist/diagram-OA4YK3LP-BXU-URV1.mjs +31 -0
- package/dist/diagram-WEI45ONY-CD_Zpcvk.mjs +42 -0
- package/dist/diff-HJF2MPDN-CQAaA8lM.mjs +1 -0
- package/dist/diff-HJF2MPDN-EjmLU95d.mjs +7 -0
- package/dist/dirname-LEMTZZFS-BG01-R4_.mjs +1 -0
- package/dist/dirname-LEMTZZFS-Dg3ijqjM.mjs +5 -0
- package/dist/dist-CMZz8-Ge.mjs +2 -0
- package/dist/du-WO2ENHXQ-jqWYqk_n.mjs +8 -0
- package/dist/du-WO2ENHXQ-oQRVbsEF.mjs +1 -0
- package/dist/ebnfDiagram-CCIWWBDH-D-647A1u.mjs +2 -0
- package/dist/echo-O45JWWI2-BPosfKdD.mjs +1 -0
- package/dist/echo-O45JWWI2-gk6mEMAU.mjs +4 -0
- package/dist/env-5EPCWSXR-BU5zTNDV.mjs +9 -0
- package/dist/env-5EPCWSXR-DygzVPiG.mjs +1 -0
- package/dist/erDiagram-Q63AITRT-DviwoNdm.mjs +86 -0
- package/dist/eventmodeling-45OFAUF4-CJqJ2hnR.mjs +1 -0
- package/dist/execAsync-BLKHjfg7.mjs +2 -0
- package/dist/execAsync-C5ympCkf.mjs +2 -0
- package/dist/expand-DTNXU4LQ-D2bEx87V.mjs +11 -0
- package/dist/expand-DTNXU4LQ-XU44HrWp.mjs +1 -0
- package/dist/expr-YYCVMXE3-DI2glLwn.mjs +1 -0
- package/dist/expr-YYCVMXE3-wI0boF3e.mjs +5 -0
- package/dist/file-IGDTDPLG-DkYMcmTl.mjs +24 -0
- package/dist/file-IGDTDPLG-sPfWVy9T.mjs +1 -0
- package/dist/find-DH2ALKQS-B6bMjuwo.mjs +12 -0
- package/dist/find-DH2ALKQS-CEKaRkgJ.mjs +1 -0
- package/dist/flag-coverage-6JEX67RU-QmoBigPs.mjs +2 -0
- package/dist/flowDiagram-23GEKE2U-Dhi3SNHm.mjs +1 -0
- package/dist/fold-LDSORVYE-Dhx0k6vg.mjs +12 -0
- package/dist/fold-LDSORVYE-DumfsCQO.mjs +1 -0
- package/dist/fs-traced-DVpoNaQJ.mjs +12 -0
- package/dist/fs-traced-_QGcVmcb.mjs +1 -0
- package/dist/ganttDiagram-NO4QXBWP-DnN5cTGV.mjs +293 -0
- package/dist/getMachineId-bsd-B_NuwbXS.mjs +2 -0
- package/dist/getMachineId-bsd-neTWr-l3.mjs +2 -0
- package/dist/getMachineId-darwin-BP4aVKkL.mjs +3 -0
- package/dist/getMachineId-darwin-DKDl-xYO.mjs +3 -0
- package/dist/getMachineId-linux-Bexb2iRT.mjs +2 -0
- package/dist/getMachineId-linux-YTb5epZX.mjs +2 -0
- package/dist/getMachineId-unsupported-Ddv20ynQ.mjs +2 -0
- package/dist/getMachineId-unsupported-DdwXS_Q3.mjs +2 -0
- package/dist/getMachineId-win-BNx0EbPq.mjs +2 -0
- package/dist/getMachineId-win-D8cNuBNk.mjs +2 -0
- package/dist/git-handle-DBSzQutT.mjs +1 -0
- package/dist/git-handle-r3d7s3VF.mjs +10 -0
- package/dist/gitGraph-TEB2WS4Q-_V7TMkJv.mjs +1 -0
- package/dist/gitGraphDiagram-IHSO6WYX-Bs2N855t.mjs +107 -0
- package/dist/graphlib-DXQPHTiH.mjs +2 -0
- package/dist/grep-2HUTXO5U-9G7xEEms.mjs +9 -0
- package/dist/grep-2HUTXO5U-DG5Ulinc.mjs +1 -0
- package/dist/gzip-AQXSGOVS-BcGYw5wM.mjs +32 -0
- package/dist/gzip-AQXSGOVS-D6UYmM0C.mjs +1 -0
- package/dist/head-HT2B6D2J-B5ybc-my.mjs +2 -0
- package/dist/head-HT2B6D2J-CHIR76LI.mjs +1 -0
- package/dist/help-VVWX7SA5-Bb8T3djf.mjs +16 -0
- package/dist/help-VVWX7SA5-BbK0QLPX.mjs +1 -0
- package/dist/history-J4QRNGRO-5XgHJL_Q.mjs +1 -0
- package/dist/history-J4QRNGRO-DesXbqi2.mjs +3 -0
- package/dist/hostname-BK6HG2DE-Clwz043m.mjs +1 -0
- package/dist/hostname-BK6HG2DE-DTiGP5th.mjs +3 -0
- package/dist/html-to-markdown-TFCECAGV-BsVwcc4T.mjs +1 -0
- package/dist/html-to-markdown-TFCECAGV-DLUGt6pW.mjs +73 -0
- package/dist/index.d.mts +6867 -242
- package/dist/index.mjs +1521 -1
- package/dist/info-DKCQHKI2-DIsEz1l_.mjs +1 -0
- package/dist/infoDiagram-FWYZ7A6U-CD5T72Pd.mjs +3 -0
- package/dist/init-Cg1MczGq.mjs +638 -0
- package/dist/init-D8OKme52.mjs +2 -0
- package/dist/init-DnqdKHDS.mjs +1 -0
- package/dist/ishikawaDiagram-FXEZZL3T-CzHEtbdq.mjs +71 -0
- package/dist/join-GG2LDHE5-7k4Syl20.mjs +14 -0
- package/dist/join-GG2LDHE5-BIH_-8vD.mjs +1 -0
- package/dist/journeyDiagram-5HDEW3XC-BywkQV2b.mjs +140 -0
- package/dist/jq-LYZFFBZB-BZ4XP29I.mjs +14 -0
- package/dist/jq-LYZFFBZB-Dlyx6Y7w.mjs +1 -0
- package/dist/js-exec-VXN6TZ7U-BrugyKqi.mjs +97 -0
- package/dist/js-exec-VXN6TZ7U-Ds5SsewK.mjs +97 -0
- package/dist/kanban-definition-HUTT4EX6-DIgH0tMg.mjs +90 -0
- package/dist/launch-json-removal-DFF5AXyX.mjs +2 -0
- package/dist/lib-B2tLN_O_.mjs +2 -0
- package/dist/lib-DuDqLKFD.mjs +195 -0
- package/dist/lib-ozx_WsjS.mjs +2 -0
- package/dist/libesm-qUf-Au5c.mjs +14 -0
- package/dist/line-eTDW_zUy.mjs +2 -0
- package/dist/linear-Cn1royVQ.mjs +2 -0
- package/dist/ln-4TRFBYAT-B0hi-FAf.mjs +1 -0
- package/dist/ln-4TRFBYAT-DGrhTL40.mjs +9 -0
- package/dist/loader-4hXM3EID.mjs +1 -0
- package/dist/loader-CJynt8EV.mjs +2 -0
- package/dist/logger-DFxEUjvj.mjs +39 -0
- package/dist/ls-KSXFZCWH-C_kbnNdU.mjs +1 -0
- package/dist/ls-KSXFZCWH-GOWXktO9.mjs +28 -0
- package/dist/lzma-CD6C2vYw.mjs +2 -0
- package/dist/lzma-CG6o9sq-.mjs +2 -0
- package/dist/map-bDB3k8vA.mjs +2 -0
- package/dist/md-manager-BbSzMHHE.mjs +2 -0
- package/dist/md5sum-INMIK4DX-BlgGpdCD.mjs +2 -0
- package/dist/md5sum-INMIK4DX-DGvi_A-E.mjs +1 -0
- package/dist/mermaid-parser.core-uwQfwzUX.mjs +4 -0
- package/dist/mermaid.core-BgpKViY0.mjs +16 -0
- package/dist/mindmap-definition-LN4V7U3C-H3p7uT-G.mjs +97 -0
- package/dist/mkdir-TDEMSB6C-BVcgITXm.mjs +7 -0
- package/dist/mkdir-TDEMSB6C-CMOt1jIT.mjs +1 -0
- package/dist/mv-Z6MORUFL-CqyCV_Ze.mjs +1 -0
- package/dist/mv-Z6MORUFL-El0zMsEA.mjs +7 -0
- package/dist/nl-U5YJDM32-BO1kUpkn.mjs +1 -0
- package/dist/nl-U5YJDM32-Y_hGSMac.mjs +17 -0
- package/dist/od-VJEF2UR5-CueTpZ68.mjs +5 -0
- package/dist/od-VJEF2UR5-DxUGtlve.mjs +1 -0
- package/dist/open-browser-BgReR_t5.mjs +2 -0
- package/dist/ordinal-BFK2XMXf.mjs +2 -0
- package/dist/packet-7NZHBO7P-B64OS2eJ.mjs +1 -0
- package/dist/parse-worker.d.mts +6626 -1
- package/dist/parse-worker.mjs +1 -1
- package/dist/paste-7N6AFSDS-BJHZcYXH.mjs +1 -0
- package/dist/paste-7N6AFSDS-BnqApCW_.mjs +8 -0
- package/dist/path-CIoCsClp.mjs +2 -0
- package/dist/pegDiagram-2B236MQR-PBU61CXk.mjs +2 -0
- package/dist/pie-RZYD4A2V-B313HDTA.mjs +1 -0
- package/dist/pieDiagram-ENE6RG2P-ClZWrO6e.mjs +40 -0
- package/dist/preview-BnqROnAm.mjs +1 -0
- package/dist/preview-Dnob-x-p.mjs +3 -0
- package/dist/printf-CX64KX2P-841sNxew.mjs +1 -0
- package/dist/printf-CX64KX2P-B_vWcqAL.mjs +15 -0
- package/dist/public/assets/ActivityModeContent-H-D1VX7m.js +1 -0
- package/dist/public/assets/AgentDiffPane-B-gK5PsE.js +2 -0
- package/dist/public/assets/ChangedOutsideBadge-D741mWRP.js +1 -0
- package/dist/public/assets/DocumentContext-CIVf31K9.js +38 -0
- package/dist/public/assets/FeedbackForm-YmqhKCxZ.js +1 -0
- package/dist/public/assets/ImportSkillDialog-DQBS4ypC.js +1 -0
- package/dist/public/assets/ManagedArtifactProperties-CE_UbtEZ.js +1 -0
- package/dist/public/assets/ManagedArtifactProperties-CawqG1nH.js +2 -0
- package/dist/public/assets/SessionsHost-Bp7gQA1o.js +2 -0
- package/dist/public/assets/SettingsDialogBody-BLpulm10.js +12 -0
- package/dist/public/assets/SkillToolbarControls-oKXEehFt.js +1 -0
- package/dist/public/assets/SourceEditor-C6NdTjpn.js +1 -0
- package/dist/public/assets/TerminalWindowApp-DDnvJYMu.js +1 -0
- package/dist/public/assets/ThreadView-CGjBIs53.js +10 -0
- package/dist/public/assets/TimelineDiffPane-BWfU5B2x.js +2 -0
- package/dist/public/assets/agent-diff-store-CwO6mhOq.js +1 -0
- package/dist/public/assets/auth-state-cache-BBgW3LTD.js +11 -0
- package/dist/public/assets/comment-chips-h8GZFVHH.js +5 -0
- package/dist/public/assets/follow-file-CJHokzM7.js +1 -0
- package/dist/public/assets/index-B6VepqFk.js +2097 -0
- package/dist/public/assets/selection-context-iNNNmmJS.js +4 -0
- package/dist/public/assets/skill-actions-8q8e7e5S.js +2 -0
- package/dist/public/assets/typing-burst-detector-D_ygX_hf.js +8 -0
- package/dist/public/assets/use-activity-panel-pkBl8bMj.js +1 -0
- package/dist/public/assets/use-open-skill-Mk41LRxd.js +1 -0
- package/dist/public/assets/use-skill-directory-Dzvfx2id.js +1 -0
- package/dist/public/assets/use-timeline-entry-diff-Dk10Z55V.js +6 -0
- package/dist/public/index.html +13 -13
- package/dist/pwd-D4OZ7N27-C41v1g3B.mjs +1 -0
- package/dist/pwd-D4OZ7N27-NYST_A3S.mjs +3 -0
- package/dist/python3-DNGS4G3E-DaBJervu.mjs +12 -0
- package/dist/python3-DNGS4G3E-OzxoFG34.mjs +12 -0
- package/dist/quadrantDiagram-ABIIQ3AL-Z4PbVL1N.mjs +8 -0
- package/dist/radar-I7S5WNFK-BdiwGd2_.mjs +1 -0
- package/dist/railroad-3IZDKUUU-O4nBw7jb.mjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-CDaO5Dcu.mjs +1 -0
- package/dist/railroad-ebnf-EBAXGLYW-CS4l_gpR.mjs +1 -0
- package/dist/railroad-peg-LSFZ7HO6-bbLhALeS.mjs +1 -0
- package/dist/railroadDiagram-RFXS5EU6-ZSRYpY_p.mjs +2 -0
- package/dist/readlink-MI4GCHJF-CQlQ03aa.mjs +1 -0
- package/dist/readlink-MI4GCHJF-Dl1Uxmrf.mjs +6 -0
- package/dist/repair-launch-json-DF-pHfel.mjs +2 -0
- package/dist/repair-mcp-configs-Cr9jCNwk.mjs +2 -0
- package/dist/repair-skills-DADI6iaT.mjs +4 -0
- package/dist/repair-skills-DKwDAoHc.mjs +1 -0
- package/dist/requirementDiagram-TGXJPOKE-H6OWjjJE.mjs +85 -0
- package/dist/rev-XOSYPP45-BYe7prl1.mjs +1 -0
- package/dist/rev-XOSYPP45-D6eJxPKd.mjs +7 -0
- package/dist/rg-XNF3R3II-CmxxmmUf.mjs +1 -0
- package/dist/rg-XNF3R3II-vKB7djPZ.mjs +33 -0
- package/dist/rm-RTZG23RL-Bl5s9ltJ.mjs +1 -0
- package/dist/rm-RTZG23RL-sCMTtbxP.mjs +8 -0
- package/dist/rmdir-XTQXT7RK-C1ccje2_.mjs +1 -0
- package/dist/rmdir-XTQXT7RK-DZfv6Zfz.mjs +14 -0
- package/dist/rough.cjs-BGkc0Naf.mjs +2 -0
- package/dist/sankeyDiagram-HTMAVEWB-CtBVJJox.mjs +41 -0
- package/dist/sed-JAPPVBEU-C7wh6RxT.mjs +100 -0
- package/dist/sed-JAPPVBEU-D9bYEx2I.mjs +1 -0
- package/dist/seq-RN5ZUASB-CFySG-xk.mjs +1 -0
- package/dist/seq-RN5ZUASB-R5HjEVux.mjs +7 -0
- package/dist/sequenceDiagram-DBY2YBRQ-DDLm4Ak_.mjs +163 -0
- package/dist/server-lock-U8YDpJpq.mjs +1 -0
- package/dist/server-lock-aXnDVUI8.mjs +2 -0
- package/dist/sha1sum-VJPNLNU6-DfzpfxJ-.mjs +2 -0
- package/dist/sha1sum-VJPNLNU6-DgLJCjAg.mjs +1 -0
- package/dist/sha256sum-PI32XWXY-DZ42pgY3.mjs +1 -0
- package/dist/sha256sum-PI32XWXY-DrKtnAPK.mjs +2 -0
- package/dist/sizeCapture-X5ZJPWSS-Izaz24Pi.mjs +2 -0
- package/dist/skill-teardown-onVYT1VF.mjs +2 -0
- package/dist/sleep-VZFPZFWA-5fZFI3Vy.mjs +1 -0
- package/dist/sleep-VZFPZFWA-CBARUnrz.mjs +10 -0
- package/dist/sort-DCNRDA7U-RFl0HYBr.mjs +1 -0
- package/dist/sort-DCNRDA7U-vT57Mw8o.mjs +16 -0
- package/dist/split-SITCSYCZ-BdATfTxU.mjs +1 -0
- package/dist/split-SITCSYCZ-Ci_IfVPT.mjs +17 -0
- package/dist/sqlite3-TE5AIOTF-BIRMe0xz.mjs +1 -0
- package/dist/sqlite3-TE5AIOTF-BhXSdz7U.mjs +37 -0
- package/dist/src-BPVU4Y0o.mjs +2 -0
- package/dist/src-BmS3oGY4.mjs +1 -0
- package/dist/src-Dt5dAyFQ.mjs +2032 -0
- package/dist/src-TKCctdpc.mjs +348 -0
- package/dist/src-cRpQSbXB.mjs +1 -0
- package/dist/src-pUQbXiSN.mjs +20 -0
- package/dist/start-DQdc8wXO.mjs +4 -0
- package/dist/start-XIVqnuqY.mjs +1 -0
- package/dist/stat-BT5A227F-CEZPXJ9_.mjs +9 -0
- package/dist/stat-BT5A227F-Dd-OyLQQ.mjs +1 -0
- package/dist/stateDiagram-2N3HPSRC-pAn2bDnn.mjs +2 -0
- package/dist/stateDiagram-v2-6OUMAXLB-DCmVVpGm.mjs +2 -0
- package/dist/strings-7PLOGTPD-CiVw0Uh4.mjs +14 -0
- package/dist/strings-7PLOGTPD-v3qEuUEm.mjs +1 -0
- package/dist/swimlanes-5IMT3BWC-nSsjdSnj.mjs +2 -0
- package/dist/swimlanesDiagram-G3AALYLV-CdQlHesp.mjs +9 -0
- package/dist/tac-SJGXQ4T2-BL4Xd7y6.mjs +9 -0
- package/dist/tac-SJGXQ4T2-DphHfCAY.mjs +1 -0
- package/dist/tail-S5ULNTJU-Cfa1pDQZ.mjs +2 -0
- package/dist/tail-S5ULNTJU-D6qRQZwV.mjs +1 -0
- package/dist/tar-MZQD7NO4-HJsWmzu9.mjs +63 -0
- package/dist/tar-MZQD7NO4-oAQoyk28.mjs +1 -0
- package/dist/tee-O7VXZDCO-D95l5L5Z.mjs +3 -0
- package/dist/tee-O7VXZDCO-odVO6Wjw.mjs +1 -0
- package/dist/time-DEUO3QV2-CviQF55F.mjs +1 -0
- package/dist/time-DEUO3QV2-DwnT4FOS.mjs +14 -0
- package/dist/timeline-definition-FHXFAJF6-CnTXJoEq.mjs +121 -0
- package/dist/timeout-VRKMCG72-DFU5EkCe.mjs +12 -0
- package/dist/timeout-VRKMCG72-jeMAkAMc.mjs +1 -0
- package/dist/touch-DX2IJOQ4-CRX6GYeb.mjs +7 -0
- package/dist/touch-DX2IJOQ4-CyiMRd7b.mjs +1 -0
- package/dist/tr-2HXZRDSW-ByYmbFae.mjs +21 -0
- package/dist/tr-2HXZRDSW-CCce6lU_.mjs +1 -0
- package/dist/tree-LYXBS7DC-Dq6aWetx.mjs +12 -0
- package/dist/tree-LYXBS7DC-pAC77Hbt.mjs +1 -0
- package/dist/treeView-QDETBFTQ-BCAjffnq.mjs +1 -0
- package/dist/treemap-6X3UGDF4-Dv-54pyt.mjs +1 -0
- package/dist/true-WHJNXCHG-Dzdq7R5f.mjs +1 -0
- package/dist/true-WHJNXCHG-XC4ZnbBw.mjs +2 -0
- package/dist/unexpand-RGTMIGZM-B06mOUPB.mjs +1 -0
- package/dist/unexpand-RGTMIGZM-BL5sZ5_Z.mjs +11 -0
- package/dist/uniq-SUNANL47-BIgIOFSf.mjs +1 -0
- package/dist/uniq-SUNANL47-DBRSkw7j.mjs +5 -0
- package/dist/vennDiagram-L72KCM5P-CqTzYRfa.mjs +35 -0
- package/dist/wardley-OPB4EBWU-DSvo57UC.mjs +1 -0
- package/dist/wardleyDiagram-EHGQE667-WhxG-nRT.mjs +79 -0
- package/dist/wc-TQB3VNOX-9RyJlZXB.mjs +1 -0
- package/dist/wc-TQB3VNOX-DqHFY4jy.mjs +6 -0
- package/dist/which-XZHEH76L-CbmRVw8E.mjs +3 -0
- package/dist/which-XZHEH76L-SMFjHhz2.mjs +1 -0
- package/dist/whoami-DGKU3D2X-BDJh39KM.mjs +3 -0
- package/dist/whoami-DGKU3D2X-BIUooLXE.mjs +1 -0
- package/dist/write-project-skill-DOogyZge.mjs +56 -0
- package/dist/xan-UD7JYIL2-DAuAMQ0H.mjs +1 -0
- package/dist/xan-UD7JYIL2-DQo9f-1a.mjs +140 -0
- package/dist/xan-view-OW2TB7Z3-BhVOL6hm.mjs +1 -0
- package/dist/xan-view-OW2TB7Z3-CwG0zS53.mjs +1 -0
- package/dist/xargs-I6EZUCYF-C_ZtmUCd.mjs +5 -0
- package/dist/xargs-I6EZUCYF-INAdKqnR.mjs +1 -0
- package/dist/xychartDiagram-FW5EYKEG-DDE7TRrw.mjs +8 -0
- package/dist/yazl-BlMyAOcT.mjs +2 -0
- package/dist/yq-OAKYHSXH-C1fFFHD4.mjs +1 -0
- package/dist/yq-OAKYHSXH-COzSqY4J.mjs +288 -0
- package/package.json +7 -6
- package/dist/abnfDiagram-VRR7QNED-DQjgDcgA.mjs +0 -2
- package/dist/acp-harness-probe-DOXp9Wx4.mjs +0 -3
- package/dist/alias-JE7RI5QX-BfILuEvo.mjs +0 -1
- package/dist/arc-CO8jsQkL.mjs +0 -2
- package/dist/architecture-TIHT7OUA-CScIhnar.mjs +0 -1
- package/dist/architectureDiagram-ZJ3FMSHR-CkUIG8wd.mjs +0 -37
- package/dist/array-Cerc_8W3.mjs +0 -2
- package/dist/awk2-BBAGSFUB-BH8WxyhW.mjs +0 -1
- package/dist/banner-CIK2GwPx.mjs +0 -3
- package/dist/base64-4YMZCVJ5-CDuRvFBG.mjs +0 -1
- package/dist/basename-AA2KJYZQ-sv8gJZXS.mjs +0 -1
- package/dist/bash-IJWYRKFO-DKUaUgF9.mjs +0 -1
- package/dist/blockDiagram-677ZJIJ3-sLhYyPCr.mjs +0 -133
- package/dist/c4Diagram-LMCZKHZV-Cg6dfUXU.mjs +0 -11
- package/dist/cat-RDUMLXKC-BtNo16C3.mjs +0 -1
- package/dist/channel-DRk0OEK0.mjs +0 -2
- package/dist/chmod-SYMGL4JA-B15Xlp42.mjs +0 -1
- package/dist/chokidar-CVNrjmRM.mjs +0 -4
- package/dist/chunk-2Q5K7J3B-2Es1K_NO.mjs +0 -2
- package/dist/chunk-2TRDZQLB-G1LvPXqq.mjs +0 -18
- package/dist/chunk-32BRIVSS-ok2xg0Je.mjs +0 -2
- package/dist/chunk-3BS5SKQH-CFcrGLDG.mjs +0 -140
- package/dist/chunk-3H6UQG3A-Dx5ykWR0.mjs +0 -9
- package/dist/chunk-3ZUFRYJ4-DzbWfyzV.mjs +0 -2
- package/dist/chunk-4GTNDTRF-COTPYeV6.mjs +0 -8
- package/dist/chunk-4HHKTUW3-BkuKGebe.mjs +0 -3
- package/dist/chunk-4Q4SM6WR-i8tiQRv3.mjs +0 -5
- package/dist/chunk-52WLFC77-BaT5_S-q.mjs +0 -11
- package/dist/chunk-55VFSPNA-Ct9maI6O.mjs +0 -3
- package/dist/chunk-5FCAYU7R-of7BBDNL.mjs +0 -2
- package/dist/chunk-5HE753X5-9kILZ5Nr.mjs +0 -2
- package/dist/chunk-5JV3BV7I-BKVVlFxh.mjs +0 -2
- package/dist/chunk-5QVNJEHU-CvZ-NmqQ.mjs +0 -9
- package/dist/chunk-5TONJI2A-CGHpmUrS.mjs +0 -3
- package/dist/chunk-5V6VZH6T-DdeqP2TW.mjs +0 -2
- package/dist/chunk-5VM5RSS4-COK1ErrI.mjs +0 -16
- package/dist/chunk-62RKD26F-RtrcFE7S.mjs +0 -21
- package/dist/chunk-64BAICW3-0h-yIc1e.mjs +0 -2
- package/dist/chunk-6Z5SFZXK-C5owNg1o.mjs +0 -288
- package/dist/chunk-74CEPOFO--xsxhUFC.mjs +0 -23
- package/dist/chunk-7BUUIJ7U-_1oXd84C.mjs +0 -2
- package/dist/chunk-7L36YK2X-VlH7dlrD.mjs +0 -3
- package/dist/chunk-7TSDKFEO-BjOrsK6M.mjs +0 -2
- package/dist/chunk-A4HU7SVR-oMNSpej4.mjs +0 -3
- package/dist/chunk-A4JSPFCI-DtnWqT5O.mjs +0 -7
- package/dist/chunk-A65PWWJC-LctFeUxK.mjs +0 -3
- package/dist/chunk-A7A2DBEE-DuuhuGG1.mjs +0 -7
- package/dist/chunk-A7ICOL4V-CzYDHdxM.mjs +0 -14
- package/dist/chunk-ALLTKNUZ-BnLIZXEI.mjs +0 -6
- package/dist/chunk-APT7OOP2-DESh647P.mjs +0 -2
- package/dist/chunk-BIQX33UG-BVtPexox.mjs +0 -2
- package/dist/chunk-C7G6YPKG-DpNJWc2e.mjs +0 -2
- package/dist/chunk-CQNSW5MT-B6mAd0WS.mjs +0 -2
- package/dist/chunk-CYSBUYHQ-CTWbbsmm.mjs +0 -2
- package/dist/chunk-D4J545R4-Dy3lcp_X.mjs +0 -12
- package/dist/chunk-D6CWQ5DW-Dl4tJcwX.mjs +0 -6
- package/dist/chunk-D7MEQ3VN-B-Qyxyo5.mjs +0 -5
- package/dist/chunk-DBKNVD4L-Y2Mnp5lC.mjs +0 -10
- package/dist/chunk-DCAAORBQ-BxtVrSMT.mjs +0 -2
- package/dist/chunk-EEXR5ZDP-BcjEP2wd.mjs +0 -3
- package/dist/chunk-EIZGF4BS-DYiqM1Ss.mjs +0 -9
- package/dist/chunk-EMLP6XTP-AFimKO17.mjs +0 -2
- package/dist/chunk-EX3LRPZG-BYcqQlY8.mjs +0 -232
- package/dist/chunk-F23WWYKW-BuCITNd6.mjs +0 -17
- package/dist/chunk-FWX5IMBZ-BFNo8SGu.mjs +0 -2
- package/dist/chunk-GCTKCWKD-jz3yOk3f.mjs +0 -4
- package/dist/chunk-GOV5EKKI-IRzA9ik3.mjs +0 -10
- package/dist/chunk-GXVXFKBA-CGc4vqMu.mjs +0 -6
- package/dist/chunk-HDQ56CKY-Svz-iz8m.mjs +0 -16
- package/dist/chunk-HJQJAYMS-SgZmT_QE.mjs +0 -3
- package/dist/chunk-HJWBQKYG-BqFDM0xp.mjs +0 -6
- package/dist/chunk-HKLCLINH-DKx243zB.mjs +0 -63
- package/dist/chunk-HL6NGDO2-B9GCn41X.mjs +0 -24
- package/dist/chunk-HOUHSVGY-Cg_2_CUd.mjs +0 -2
- package/dist/chunk-HWKDQ44K-CVxg-h0V.mjs +0 -4
- package/dist/chunk-I57KEIP3-FVl4IVXz.mjs +0 -11
- package/dist/chunk-ICXQ74PX-CewdqzeE.mjs +0 -3
- package/dist/chunk-JG7HCLWE-BgiWVzAI.mjs +0 -3
- package/dist/chunk-JVPRLUMK-CH7w4zyh.mjs +0 -8
- package/dist/chunk-JWPE2WC7-cMhWwV9I.mjs +0 -2
- package/dist/chunk-K6LIBGJA-DI9ZkJey.mjs +0 -12
- package/dist/chunk-KEIR6QF5-BhaMJNB5.mjs +0 -176
- package/dist/chunk-KMEYNNUA-CabTsa7P.mjs +0 -16
- package/dist/chunk-KRBPSX3W-ciCGjpAL.mjs +0 -6
- package/dist/chunk-LL3S3NLB-r8mDpVuz.mjs +0 -2
- package/dist/chunk-LTZRCH7N-Cj1hz7m7.mjs +0 -32
- package/dist/chunk-LWEGUNWT-C3ON4AHi.mjs +0 -8
- package/dist/chunk-MDDMCKUK-D3MZs3FF.mjs +0 -7
- package/dist/chunk-MDLLFABN-DgTeOfIY.mjs +0 -73
- package/dist/chunk-MHTUABJP-BbSobv_U.mjs +0 -9
- package/dist/chunk-MIZPJHVH-CzqfuBdK.mjs +0 -8
- package/dist/chunk-MLXIYONF-BcM04nM_.mjs +0 -16
- package/dist/chunk-MOJQB5TN-CidbQQ7m.mjs +0 -89
- package/dist/chunk-MOZMSUNE-DTiZcqZ1.mjs +0 -2
- package/dist/chunk-MYE6AGBJ-B3ukegXT.mjs +0 -17
- package/dist/chunk-NAERJDUW-CoAYVGR3.mjs +0 -9
- package/dist/chunk-NCNPKYJZ-C1KcgrGe.mjs +0 -3
- package/dist/chunk-NUYSJFDK-sPbPxu4W.mjs +0 -8
- package/dist/chunk-OCLXQMOG-BdLZfp3D.mjs +0 -7
- package/dist/chunk-OCS6LSEM-7beNWT9m.mjs +0 -14
- package/dist/chunk-OGEWGWER-B-Vr80Fa.mjs +0 -2
- package/dist/chunk-OSBZ3O6U-DwDyo3Ly.mjs +0 -2
- package/dist/chunk-PBXLG62G-ww-bn-Tp.mjs +0 -9
- package/dist/chunk-PP6PSHAB-xKRHmmOd.mjs +0 -5
- package/dist/chunk-PUDLZKDR-CI0pacGF.mjs +0 -157
- package/dist/chunk-PXTK5WE2-Dfi2FrE5.mjs +0 -22
- package/dist/chunk-PYSFUGCK-BHwvxY2Q.mjs +0 -11
- package/dist/chunk-Q4XR5HBZ-4H-m7p0G.mjs +0 -71
- package/dist/chunk-QBLGF6JB-B_tvtCRO.mjs +0 -2
- package/dist/chunk-QCDB2VPH-DHsQu4h6.mjs +0 -7
- package/dist/chunk-QJ7O6ZN3-CTKdWbns.mjs +0 -6
- package/dist/chunk-R6QSAL5T-DA60heK6.mjs +0 -2
- package/dist/chunk-R7FJI6CG-BVR1ae7y.mjs +0 -2
- package/dist/chunk-RPNGRAAP-df7FdhI4.mjs +0 -8
- package/dist/chunk-RYQCIY6F-C8F82Uai.mjs +0 -2
- package/dist/chunk-SDNKECQQ-BuTL-ot2.mjs +0 -6
- package/dist/chunk-SNN4IESC-DVqEOGsL.mjs +0 -2
- package/dist/chunk-T56QNPHK-COZC2A_r.mjs +0 -15
- package/dist/chunk-TLSUDHID-DAREQN9J.mjs +0 -7
- package/dist/chunk-TOMNU26N-C3JZDC96.mjs +0 -5
- package/dist/chunk-TP4BZANS-C2Z-CHHA.mjs +0 -21
- package/dist/chunk-TXBZCHCQ-DOaoE5TV.mjs +0 -6
- package/dist/chunk-U6XO7XAA-BpjdcG5R.mjs +0 -3
- package/dist/chunk-V5MWI2OL-D8SKWVO_.mjs +0 -5
- package/dist/chunk-V7JOEXUC-CdEIYYNc.mjs +0 -207
- package/dist/chunk-V7TAPXDL-CQbB1mLa.mjs +0 -28
- package/dist/chunk-VAUOI2AC-Ds6ZNp2p.mjs +0 -2
- package/dist/chunk-VJFXDYWH-C7Lg-Yts.mjs +0 -11
- package/dist/chunk-VOBGTVA6-CKl2LR-K.mjs +0 -7
- package/dist/chunk-VR4S4FIN-mH-q10Uq.mjs +0 -2
- package/dist/chunk-VYOJP4TV-DFxaC5Uc.mjs +0 -14
- package/dist/chunk-WKFATFPP-R7B51gCW.mjs +0 -5
- package/dist/chunk-WYO6CB5R-Cg1RXhAT.mjs +0 -130
- package/dist/chunk-X2AJGDEF-D97qevlv.mjs +0 -2
- package/dist/chunk-XKQRETAK-BTmmMuta.mjs +0 -2
- package/dist/chunk-XKWWSDBF-BGzAOrO3.mjs +0 -37
- package/dist/chunk-XVDPCNWR-3ajbQWzU.mjs +0 -12
- package/dist/chunk-XXDRQBXY-BvbdToKZ.mjs +0 -2
- package/dist/chunk-Y2CYZVJY-C7FmC3Cl.mjs +0 -2
- package/dist/chunk-YMMW5UAP-DbBgrudQ.mjs +0 -33
- package/dist/chunk-YOTPTUD7-BSOqhRr-.mjs +0 -2
- package/dist/chunk-YTNYSM6T-CoxqCaLl.mjs +0 -12
- package/dist/chunk-YULBWSET-CuKhTv4j.mjs +0 -14
- package/dist/chunk-Z6LRHWXI-CujGXDs8.mjs +0 -14
- package/dist/chunk-Z7JVV2SM-CiJwkxuY.mjs +0 -12
- package/dist/chunk-ZGVPDNZ5-BE_qYP6z.mjs +0 -63
- package/dist/chunk-ZIRB5QZD-mhYZnDzb.mjs +0 -39
- package/dist/chunk-ZZO3UDB3-DCkJjNN2.mjs +0 -100
- package/dist/classDiagram-OUVF2IWQ-rKP7gcsT.mjs +0 -2
- package/dist/classDiagram-v2-EOCWNBFH-BoWf4tYI.mjs +0 -2
- package/dist/clear-5CZ5X4YR-BNXs_KRD.mjs +0 -1
- package/dist/column-WLPMMSTS-BrY1gQI1.mjs +0 -1
- package/dist/comm-5SLSESQG-aGB098lH.mjs +0 -1
- package/dist/constants-J4-mibQ1.mjs +0 -2
- package/dist/cose-bilkent-JH36ORCC-CMfIp4st.mjs +0 -2
- package/dist/cp-XOYR4ABJ-D0LUaMQT.mjs +0 -1
- package/dist/curl-47BFPSFW-d1TMPUJw.mjs +0 -26
- package/dist/cut-OPC3VAGB-FXZX1WQM.mjs +0 -1
- package/dist/cynefin-VYW2F7L2-DtazLHUs.mjs +0 -1
- package/dist/cynefinDiagram-TSTJHNR4-CFbt5v4d.mjs +0 -63
- package/dist/cytoscape.esm-Dq6ZD9GH.mjs +0 -332
- package/dist/dagre-CbI1Ylqw.mjs +0 -2
- package/dist/dagre-VKFMJZFB-BWP36rMX.mjs +0 -5
- package/dist/date-DD7FVA2V-7hk1aW9g.mjs +0 -1
- package/dist/defaultLocale-9SlCuWEL.mjs +0 -2
- package/dist/diagram-FQU43EPY-D2pf7IBH.mjs +0 -4
- package/dist/diagram-G47NLZAW-BlOXaBe6.mjs +0 -25
- package/dist/diagram-NH7WQ7WH-DOwRNWDI.mjs +0 -25
- package/dist/diagram-OA4YK3LP-uyGYHUoX.mjs +0 -31
- package/dist/diagram-WEI45ONY-CmW1X9Kx.mjs +0 -42
- package/dist/diff-HJF2MPDN-bcOaHvDo.mjs +0 -1
- package/dist/dirname-LEMTZZFS-RRQ5Ar_Z.mjs +0 -1
- package/dist/dist-BmYngy7b.mjs +0 -2
- package/dist/du-WO2ENHXQ-Cg71FvLi.mjs +0 -1
- package/dist/ebnfDiagram-CCIWWBDH-BpBYlrRH.mjs +0 -2
- package/dist/echo-O45JWWI2-BacOdfFs.mjs +0 -1
- package/dist/env-5EPCWSXR-T8XCKOX_.mjs +0 -1
- package/dist/erDiagram-Q63AITRT-ChoKKmxG.mjs +0 -86
- package/dist/eventmodeling-45OFAUF4-BIXp-P6z.mjs +0 -1
- package/dist/execAsync-BKp2jujj.mjs +0 -2
- package/dist/execAsync-BuUKdKlz.mjs +0 -2
- package/dist/expand-DTNXU4LQ-BD32VJaK.mjs +0 -1
- package/dist/expr-YYCVMXE3-CgQib9F9.mjs +0 -1
- package/dist/file-IGDTDPLG-BAlm5q29.mjs +0 -1
- package/dist/find-DH2ALKQS-z-G7VPmU.mjs +0 -1
- package/dist/flag-coverage-6JEX67RU-Cj_NycUm.mjs +0 -2
- package/dist/flowDiagram-23GEKE2U-B4VrCGdr.mjs +0 -1
- package/dist/fold-LDSORVYE-CDU-6eOS.mjs +0 -1
- package/dist/fs-traced-By5aY-RE.mjs +0 -12
- package/dist/fs-traced-CkLhqsEn.mjs +0 -1
- package/dist/ganttDiagram-NO4QXBWP-Cv7sGb-R.mjs +0 -293
- package/dist/getMachineId-bsd-DtFrm1Uy.mjs +0 -2
- package/dist/getMachineId-bsd-GFl1-Bje.mjs +0 -2
- package/dist/getMachineId-darwin--IR8MP8d.mjs +0 -3
- package/dist/getMachineId-darwin-28jQHa_N.mjs +0 -3
- package/dist/getMachineId-linux-BZgyplQ5.mjs +0 -2
- package/dist/getMachineId-linux-Bzx3S652.mjs +0 -2
- package/dist/getMachineId-unsupported-CyTjujlI.mjs +0 -2
- package/dist/getMachineId-unsupported-DuB0leRF.mjs +0 -2
- package/dist/getMachineId-win-BmvAZEMa.mjs +0 -2
- package/dist/getMachineId-win-CuOFQQ73.mjs +0 -2
- package/dist/git-handle-BDmbIWwd.mjs +0 -1
- package/dist/git-handle-BHe1p04S.mjs +0 -10
- package/dist/gitGraph-TEB2WS4Q-BaTdqV7-.mjs +0 -1
- package/dist/gitGraphDiagram-IHSO6WYX-DxsFHicP.mjs +0 -107
- package/dist/graphlib-DKEQBDTz.mjs +0 -2
- package/dist/grep-2HUTXO5U-CsEE08ya.mjs +0 -1
- package/dist/gzip-AQXSGOVS-CmMf6H0r.mjs +0 -1
- package/dist/head-HT2B6D2J-DSBJixLD.mjs +0 -1
- package/dist/help-VVWX7SA5-BncYWg0B.mjs +0 -1
- package/dist/history-J4QRNGRO-CULSDkzp.mjs +0 -1
- package/dist/hostname-BK6HG2DE-CaZb-T_R.mjs +0 -1
- package/dist/html-to-markdown-TFCECAGV-CF0t8_d3.mjs +0 -1
- package/dist/index-1MIt1xrM.d.mts +0 -6628
- package/dist/info-DKCQHKI2-BxlpeeVn.mjs +0 -1
- package/dist/infoDiagram-FWYZ7A6U-CbPpTq2x.mjs +0 -3
- package/dist/init-Buw5jj4Q.mjs +0 -2
- package/dist/init-DDwncQha.mjs +0 -1
- package/dist/init-ZOWQ1Th4.mjs +0 -643
- package/dist/ishikawaDiagram-FXEZZL3T-Dd5BEpOv.mjs +0 -71
- package/dist/join-GG2LDHE5-kABASDPB.mjs +0 -1
- package/dist/journeyDiagram-5HDEW3XC-W6Nbr96_.mjs +0 -140
- package/dist/jq-LYZFFBZB-CIwp4u6h.mjs +0 -1
- package/dist/js-exec-VXN6TZ7U-1yyCDQqM.mjs +0 -97
- package/dist/kanban-definition-HUTT4EX6-xcwe5vNg.mjs +0 -90
- package/dist/launch-json-removal-CcFuFFS1.mjs +0 -2
- package/dist/lib-BCIeHFfP.mjs +0 -2
- package/dist/lib-TLTWf9qr.mjs +0 -195
- package/dist/line-Cq-NoiNn.mjs +0 -2
- package/dist/linear-DPbvcrPk.mjs +0 -2
- package/dist/ln-4TRFBYAT-Dhr3hBr6.mjs +0 -1
- package/dist/loader-BcwbnY_K.mjs +0 -1
- package/dist/loader-ji3pPcXi.mjs +0 -2
- package/dist/logger-BZPV1wv8.mjs +0 -39
- package/dist/ls-KSXFZCWH-BEv3e7-2.mjs +0 -1
- package/dist/lzma-Dh_aFpqW.mjs +0 -2
- package/dist/map-CFzSl60r.mjs +0 -2
- package/dist/md-manager-B4-M0hXs.mjs +0 -2
- package/dist/md5sum-INMIK4DX-CJ1G9gTe.mjs +0 -1
- package/dist/mermaid-parser.core-DejmtVwC.mjs +0 -4
- package/dist/mermaid.core-CB8v9A8r.mjs +0 -16
- package/dist/mindmap-definition-LN4V7U3C-BiYp6fzL.mjs +0 -97
- package/dist/mkdir-TDEMSB6C-BY7IIkok.mjs +0 -1
- package/dist/mv-Z6MORUFL-C4m2WG8E.mjs +0 -1
- package/dist/nl-U5YJDM32-CrNZhLtI.mjs +0 -1
- package/dist/od-VJEF2UR5-5RFpmlxK.mjs +0 -1
- package/dist/open-browser-CxnOIVsL.mjs +0 -2
- package/dist/ordinal-D5S_JXYv.mjs +0 -2
- package/dist/packet-7NZHBO7P-DJoR1MQJ.mjs +0 -1
- package/dist/paste-7N6AFSDS-DQNANxpk.mjs +0 -1
- package/dist/path-D4ahAhVD.mjs +0 -2
- package/dist/pegDiagram-2B236MQR-DMP1ng8V.mjs +0 -2
- package/dist/pie-RZYD4A2V-Ba8iL0H-.mjs +0 -1
- package/dist/pieDiagram-ENE6RG2P-CSKXRjGQ.mjs +0 -40
- package/dist/preview-2rQXoRuM.mjs +0 -3
- package/dist/preview-MV-qHfzy.mjs +0 -1
- package/dist/printf-CX64KX2P-CKuJk-Cs.mjs +0 -1
- package/dist/public/assets/ActivityModeContent-C08FYohG.js +0 -1
- package/dist/public/assets/AgentDiffPane-T499-ugv.js +0 -2
- package/dist/public/assets/ChangedOutsideBadge-GeQfL_b-.js +0 -1
- package/dist/public/assets/DocumentContext-C-Lo65-_.js +0 -38
- package/dist/public/assets/FeedbackForm-CmdTz11F.js +0 -1
- package/dist/public/assets/ImportSkillDialog-ChsGV6eb.js +0 -1
- package/dist/public/assets/ManagedArtifactProperties-B1ZA0ofn.js +0 -2
- package/dist/public/assets/ManagedArtifactProperties-B_ecuboX.js +0 -1
- package/dist/public/assets/SessionsHost-BobZkNwc.js +0 -2
- package/dist/public/assets/SettingsDialogBody-COTbFRqi.js +0 -12
- package/dist/public/assets/SkillToolbarControls-PvRY_LHn.js +0 -1
- package/dist/public/assets/SourceEditor-Duqpede9.js +0 -1
- package/dist/public/assets/TerminalWindowApp-CgWp2eC-.js +0 -1
- package/dist/public/assets/ThreadView-VqdgemBS.js +0 -10
- package/dist/public/assets/TimelineDiffPane-DnaRcvCk.js +0 -2
- package/dist/public/assets/agent-diff-store-B7oQn7l7.js +0 -1
- package/dist/public/assets/auth-state-cache-BUYyIMUZ.js +0 -11
- package/dist/public/assets/comment-chips-BhvfCPCk.js +0 -5
- package/dist/public/assets/follow-file-CWSsUd-S.js +0 -1
- package/dist/public/assets/index-Dmlpu4P1.js +0 -2097
- package/dist/public/assets/selection-context-CSP8zK1H.js +0 -4
- package/dist/public/assets/skill-actions-98H3SnCL.js +0 -2
- package/dist/public/assets/typing-burst-detector-BOmjXV-P.js +0 -8
- package/dist/public/assets/use-activity-panel-BwANCYjg.js +0 -1
- package/dist/public/assets/use-open-skill-DCSEJ3jJ.js +0 -1
- package/dist/public/assets/use-skill-directory-D9S5f8By.js +0 -1
- package/dist/public/assets/use-timeline-entry-diff-CB_cI1yy.js +0 -6
- package/dist/pwd-D4OZ7N27-CSTLotxZ.mjs +0 -1
- package/dist/python3-DNGS4G3E-BZ5fPY5e.mjs +0 -12
- package/dist/quadrantDiagram-ABIIQ3AL-Do93EPf_.mjs +0 -8
- package/dist/radar-I7S5WNFK-HP72Fmhl.mjs +0 -1
- package/dist/railroad-3IZDKUUU-DC3PWo_6.mjs +0 -1
- package/dist/railroad-abnf-AHOZXSZD-Vgpa9_KI.mjs +0 -1
- package/dist/railroad-ebnf-EBAXGLYW-B4SmMMsT.mjs +0 -1
- package/dist/railroad-peg-LSFZ7HO6-DLlDiUuB.mjs +0 -1
- package/dist/railroadDiagram-RFXS5EU6-BBHONGQu.mjs +0 -2
- package/dist/readlink-MI4GCHJF-V9fwXBrg.mjs +0 -1
- package/dist/repair-launch-json-Cq9ghST3.mjs +0 -2
- package/dist/repair-mcp-configs-DY0FS2-y.mjs +0 -2
- package/dist/repair-skills-CkZZbtNk.mjs +0 -4
- package/dist/repair-skills-l9Id0gzv.mjs +0 -1
- package/dist/requirementDiagram-TGXJPOKE-CAGy_wFo.mjs +0 -85
- package/dist/rev-XOSYPP45-G2PvMYC2.mjs +0 -1
- package/dist/rg-XNF3R3II-CuFYIwNn.mjs +0 -1
- package/dist/rm-RTZG23RL-BOvMrhon.mjs +0 -1
- package/dist/rmdir-XTQXT7RK-Dk19R-p8.mjs +0 -1
- package/dist/rough.cjs-LxmwwhvT.mjs +0 -2
- package/dist/sankeyDiagram-HTMAVEWB-B59ayZ_U.mjs +0 -41
- package/dist/sed-JAPPVBEU-BUaK4riL.mjs +0 -1
- package/dist/seq-RN5ZUASB-D5aLn_so.mjs +0 -1
- package/dist/sequenceDiagram-DBY2YBRQ-BqY5gm2k.mjs +0 -163
- package/dist/server-lock-BleUv9m0.mjs +0 -2
- package/dist/server-lock-uucDARDL.mjs +0 -1
- package/dist/sha1sum-VJPNLNU6-DnTKth9v.mjs +0 -1
- package/dist/sha256sum-PI32XWXY-Z-xtGDHc.mjs +0 -1
- package/dist/sizeCapture-X5ZJPWSS-D7Nqbe-W.mjs +0 -2
- package/dist/skill-teardown-CZnemDLF.mjs +0 -2
- package/dist/sleep-VZFPZFWA-DcISab6N.mjs +0 -1
- package/dist/sort-DCNRDA7U-C1gRzOOY.mjs +0 -1
- package/dist/split-SITCSYCZ-D4U2N_sH.mjs +0 -1
- package/dist/sqlite3-TE5AIOTF-DcjYN7WW.mjs +0 -1
- package/dist/src-9BFQh559.mjs +0 -348
- package/dist/src-9I3GiOoK.mjs +0 -2032
- package/dist/src-BuBt_xnY.mjs +0 -2
- package/dist/src-Dl8P6sfz.mjs +0 -20
- package/dist/src-h5dDPK2z.mjs +0 -1
- package/dist/start-BYY0acPS.mjs +0 -1
- package/dist/start-C4KuZHu5.mjs +0 -4
- package/dist/stat-BT5A227F-B4qwqNn_.mjs +0 -1
- package/dist/stateDiagram-2N3HPSRC-BD1FBZi9.mjs +0 -2
- package/dist/stateDiagram-v2-6OUMAXLB-CqmBRdZY.mjs +0 -2
- package/dist/strings-7PLOGTPD-BJ6vWsQi.mjs +0 -1
- package/dist/swimlanes-5IMT3BWC-D2eO0gTx.mjs +0 -2
- package/dist/swimlanesDiagram-G3AALYLV-BiRCZWbo.mjs +0 -9
- package/dist/tac-SJGXQ4T2-D-bfDFKg.mjs +0 -1
- package/dist/tail-S5ULNTJU-CWnyTuXg.mjs +0 -1
- package/dist/tar-MZQD7NO4-Cx5bpVMY.mjs +0 -1
- package/dist/tee-O7VXZDCO-B_duU1hV.mjs +0 -1
- package/dist/time-DEUO3QV2-CekCKA2I.mjs +0 -1
- package/dist/timeline-definition-FHXFAJF6-DZHpuaV_.mjs +0 -121
- package/dist/timeout-VRKMCG72-DaJVXXR3.mjs +0 -1
- package/dist/touch-DX2IJOQ4-CZteiICw.mjs +0 -1
- package/dist/tr-2HXZRDSW-D4XuTGWg.mjs +0 -1
- package/dist/tree-LYXBS7DC-CUIzQKTG.mjs +0 -1
- package/dist/treeView-QDETBFTQ-C9yOsbGY.mjs +0 -1
- package/dist/treemap-6X3UGDF4-iowse2nY.mjs +0 -1
- package/dist/true-WHJNXCHG-BzxCUQFd.mjs +0 -1
- package/dist/unexpand-RGTMIGZM-x3XCmR3I.mjs +0 -1
- package/dist/uniq-SUNANL47-DpupkNiO.mjs +0 -1
- package/dist/vennDiagram-L72KCM5P-CGoW4QcS.mjs +0 -35
- package/dist/wardley-OPB4EBWU-BL1Dan_S.mjs +0 -1
- package/dist/wardleyDiagram-EHGQE667-DHS8jBWZ.mjs +0 -79
- package/dist/wc-TQB3VNOX-D8llmcL9.mjs +0 -1
- package/dist/which-XZHEH76L-imZgNd5x.mjs +0 -1
- package/dist/whoami-DGKU3D2X-CzLNG51j.mjs +0 -1
- package/dist/write-project-skill-WXZSbQlg.mjs +0 -56
- package/dist/xan-UD7JYIL2-_38Iv1cI.mjs +0 -1
- package/dist/xan-view-OW2TB7Z3-RT-IKMgr.mjs +0 -1
- package/dist/xargs-I6EZUCYF-Bu8VhXV_.mjs +0 -1
- package/dist/xychartDiagram-FW5EYKEG-CG0DSvm_.mjs +0 -8
- package/dist/yq-OAKYHSXH-BcCBaLJN.mjs +0 -1
- /package/dist/{expansion-VBDYWVZR-CeY6vkty.mjs → expansion-VBDYWVZR-CpX0YZMb.mjs} +0 -0
package/dist/lib-TLTWf9qr.mjs
DELETED
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
import{o as e,t}from"./chunk-DTipWd-i.mjs";import{n}from"./wrapper-BcpqREsI.mjs";import{Blob as r,Buffer as i}from"buffer";import{TextDecoder as a,TextEncoder as o}from"util";import s,{webcrypto as c}from"crypto";import l from"zlib";import u from"stream";import d from"fs";import f from"path";import{URL as p,URLSearchParams as ee}from"url";import te from"child_process";import{PerformanceEntry as ne,PerformanceObserver as re}from"node:perf_hooks";import ie from"http";import ae from"https";import{isIP as oe}from"net";import{ReadableStream as se}from"stream/web";import ce,{Script as le}from"vm";const ue=Symbol(`abort`),de=Symbol(`activeElement`),fe=Symbol(`asyncTaskManager`),pe=Symbol(`bodyBuffer`),me=Symbol(`buffer`),he=Symbol(`cachedResponse`),ge=Symbol(`callbacks`),_e=Symbol(`checked`),ve=Symbol(`childNodes`),ye=Symbol(`children`),be=Symbol(`classList`),xe=Symbol(`connectedToNode`),Se=Symbol(`disconnectedFromNode`),Ce=Symbol(`connectedToDocument`),we=Symbol(`disconnectedFromDocument`),Te=Symbol(`contentLength`),Ee=Symbol(`contentType`),De=Symbol(`cssText`),Oe=Symbol(`currentScript`),ke=Symbol(`currentTarget`),Ae=Symbol(`data`),je=Symbol(`defaultView`),Me=Symbol(`destroy`),Ne=Symbol(`dirtyness`),m=Symbol(`end`),Pe=Symbol(`entries`),Fe=Symbol(`evaluateScript`),Ie=Symbol(`exceptionObserver`),Le=Symbol(`formNode`),Re=Symbol(`internalId`),h=Symbol(`height`),ze=Symbol(`immediatePropagationStopped`),Be=Symbol(`indeterminate`),Ve=Symbol(`isFirstWrite`),He=Symbol(`isFirstWriteAfterOpen`),Ue=Symbol(`isInPassiveEventListener`),We=Symbol(`isValue`),Ge=Symbol(`listenerOptions`),Ke=Symbol(`listeners`),qe=Symbol(`itemsByName`),Je=Symbol(`nextActiveElement`),Ye=Symbol(`observeMutations`),Xe=Symbol(`mutationListeners`),g=Symbol(`ownerDocument`),Ze=Symbol(`ownerElement`),Qe=Symbol(`propagationStopped`),$e=Symbol(`readyStateManager`),et=Symbol(`referrer`),tt=Symbol(`registry`),nt=Symbol(`relList`),rt=Symbol(`resetSelection`),it=Symbol(`rootNode`),at=Symbol(`selectNode`),ot=Symbol(`selectedness`),st=Symbol(`selection`),ct=Symbol(`setupVMContext`),lt=Symbol(`shadowRoot`),_=Symbol(`start`),ut=Symbol(`style`),dt=Symbol(`target`),ft=Symbol(`textAreaNode`),pt=Symbol(`unobserveMutations`),mt=Symbol(`reportMutation`),ht=Symbol(`updateSelectedness`),gt=Symbol(`url`),v=Symbol(`value`),y=Symbol(`width`),b=Symbol(`window`),_t=Symbol(`windowResizeListener`),vt=Symbol(`mutationObservers`),yt=Symbol(`openerFrame`),bt=Symbol(`openerWindow`),xt=Symbol(`pointerCaptures`),St=Symbol(`popup`),x=Symbol(`isConnected`),S=Symbol(`parentNode`),C=Symbol(`nodeType`),w=Symbol(`tagName`),Ct=Symbol(`prefix`),wt=Symbol(`scrollHeight`),Tt=Symbol(`scrollWidth`),Et=Symbol(`scrollTop`),Dt=Symbol(`scrollLeft`),Ot=Symbol(`attributes`),kt=Symbol(`attributesProxy`),T=Symbol(`namespaceURI`),At=Symbol(`accessKey`),jt=Symbol(`offsetHeight`),Mt=Symbol(`offsetWidth`),Nt=Symbol(`offsetLeft`),Pt=Symbol(`offsetTop`),Ft=Symbol(`clientHeight`),It=Symbol(`clientWidth`),Lt=Symbol(`clientLeft`),Rt=Symbol(`clientTop`),E=Symbol(`name`),zt=Symbol(`specified`),Bt=Symbol(`adoptedStyleSheets`),Vt=Symbol(`implementation`),Ht=Symbol(`readyState`),Ut=Symbol(`publicId`),Wt=Symbol(`systemId`),Gt=Symbol(`validationMessage`),Kt=Symbol(`validity`),qt=Symbol(`returnValue`),Jt=Symbol(`elements`),Yt=Symbol(`complete`),Xt=Symbol(`naturalHeight`),Zt=Symbol(`naturalWidth`),Qt=Symbol(`loading`),D=Symbol(`x`),O=Symbol(`y`),$t=Symbol(`files`),en=Symbol(`sheet`),tn=Symbol(`volume`),nn=Symbol(`paused`),rn=Symbol(`currentTime`),an=Symbol(`playbackRate`),on=Symbol(`defaultPlaybackRate`),sn=Symbol(`muted`),cn=Symbol(`defaultMuted`),ln=Symbol(`preservesPitch`),un=Symbol(`buffered`),dn=Symbol(`duration`),fn=Symbol(`error`),pn=Symbol(`ended`),mn=Symbol(`networkState`),hn=Symbol(`textTracks`),gn=Symbol(`seeking`),_n=Symbol(`seekable`),vn=Symbol(`played`),yn=Symbol(`options`),bn=Symbol(`content`),xn=Symbol(`mode`),Sn=Symbol(`host`),Cn=Symbol(`setURL`),k=Symbol(`localName`),wn=Symbol(`classRegistry`),Tn=Symbol(`nodeStream`),En=Symbol(`location`),Dn=Symbol(`history`),On=Symbol(`navigator`),kn=Symbol(`screen`),An=Symbol(`sessionStorage`),jn=Symbol(`localStorage`),Mn=Symbol(`sandbox`),Nn=Symbol(`cloneNode`),Pn=Symbol(`appendChild`),Fn=Symbol(`removeChild`),In=Symbol(`insertBefore`),Ln=Symbol(`replaceChild`),Rn=Symbol(`tracks`),zn=Symbol(`constraints`),Bn=Symbol(`capabilities`),Vn=Symbol(`settings`),Hn=Symbol(`removeNamedItem`),A=Symbol(`items`),Un=Symbol(`selectedOptions`),Wn=Symbol(`styleNode`),Gn=Symbol(`updateSheet`),Kn=Symbol(`clearCache`),qn=Symbol(`onSetAttribute`),Jn=Symbol(`onRemoveAttribute`),j=Symbol(`nodeArray`),Yn=Symbol(`elementArray`),M=Symbol(`cache`),Xn=Symbol(`affectsCache`),Zn=Symbol(`forms`),Qn=Symbol(`affectsComputedStyleCache`),$n=Symbol(`query`),er=Symbol(`computedStyle`),tr=Symbol(`getFormControlItems`),nr=Symbol(`getFormControlNamedItem`),rr=Symbol(`dataset`),ir=Symbol(`itemsByNamespaceURI`),ar=Symbol(`proxy`),or=Symbol(`setNamedItem`),sr=Symbol(`getTokenList`),cr=Symbol(`attributeName`),lr=Symbol(`selectedIndex`),ur=Symbol(`self`),dr=Symbol(`parent`),fr=Symbol(`top`),pr=Symbol(`areas`),mr=Symbol(`defaultValue`),hr=Symbol(`elementIdMap`),gr=Symbol(`clonable`),_r=Symbol(`delegatesFocus`),vr=Symbol(`serializable`),yr=Symbol(`slotAssignment`),br=Symbol(`assignedNodes`),xr=Symbol(`assignedToSlot`),Sr=Symbol(`cells`),Cr=Symbol(`rows`),wr=Symbol(`headers`),Tr=Symbol(`tBodies`),Er=Symbol(`track`),Dr=Symbol(`controlsList`),Or=Symbol(`mediaKeys`),kr=Symbol(`remote`),Ar=Symbol(`sinkId`),jr=Symbol(`srcObject`),Mr=Symbol(`cues`),Nr=Symbol(`activeCues`),Pr=Symbol(`kind`),Fr=Symbol(`label`),Ir=Symbol(`language`),Lr=Symbol(`id`),N=Symbol(`illegalConstructor`),Rr=Symbol(`state`),zr=Symbol(`canvas`),Br=Symbol(`popoverTargetElement`),Vr=Symbol(`composed`),Hr=Symbol(`bubbles`),Ur=Symbol(`cancelable`),Wr=Symbol(`defaultPrevented`),Gr=Symbol(`eventPhase`),Kr=Symbol(`timeStamp`),qr=Symbol(`type`),Jr=Symbol(`detail`),Yr=Symbol(`destroyed`),Xr=Symbol(`aborted`),Zr=Symbol(`browserFrames`),Qr=Symbol(`windowInternalId`),P=Symbol(`getItemList`),$r=Symbol(`requiredExtensions`),ei=Symbol(`systemLanguage`),ti=Symbol(`transform`),ni=Symbol(`baseVal`),ri=Symbol(`animVal`),ii=Symbol(`pathLength`),ai=Symbol(`viewBox`),oi=Symbol(`markerUnits`),si=Symbol(`markerWidth`),ci=Symbol(`markerHeight`),li=Symbol(`values`),ui=Symbol(`orientType`),di=Symbol(`orientAngle`),fi=Symbol(`refX`),pi=Symbol(`refY`),F=Symbol(`readOnly`),mi=Symbol(`preserveAspectRatio`),hi=Symbol(`animatedPoints`),gi=Symbol(`points`),_i=Symbol(`rx`),vi=Symbol(`ry`),yi=Symbol(`cx`),bi=Symbol(`cy`),xi=Symbol(`r`),Si=Symbol(`clipPathUnits`),Ci=Symbol(`maskUnits`),wi=Symbol(`maskContentUnits`),Ti=Symbol(`filterUnits`),Ei=Symbol(`primitiveUnits`),Di=Symbol(`href`),Oi=Symbol(`x1`),ki=Symbol(`y1`),Ai=Symbol(`x2`),ji=Symbol(`y2`),Mi=Symbol(`gradientUnits`),Ni=Symbol(`gradientTransform`),Pi=Symbol(`spreadMethod`),Fi=Symbol(`patternUnits`),Ii=Symbol(`patternContentUnits`),Li=Symbol(`patternTransform`),Ri=Symbol(`fx`),zi=Symbol(`fy`),Bi=Symbol(`offset`),Vi=Symbol(`disabled`),Hi=Symbol(`textLength`),Ui=Symbol(`lengthAdjust`),I=Symbol(`getAttribute`),L=Symbol(`setAttribute`),Wi=Symbol(`z`),Gi=Symbol(`w`),Ki=Symbol(`toArray`),qi=Symbol(`fromString`),Ji=Symbol(`fromArray`),Yi=Symbol(`m11`),Xi=Symbol(`m12`),Zi=Symbol(`m13`),Qi=Symbol(`m14`),$i=Symbol(`m21`),ea=Symbol(`m22`),ta=Symbol(`m23`),na=Symbol(`m24`),ra=Symbol(`m31`),ia=Symbol(`m32`),aa=Symbol(`m33`),oa=Symbol(`m34`),sa=Symbol(`m41`),ca=Symbol(`m42`),la=Symbol(`m43`),ua=Symbol(`m44`),da=Symbol(`setMatrixValue`),fa=Symbol(`translateSelf`),pa=Symbol(`rotateSelf`),ma=Symbol(`rotateAxisAngleSelf`),ha=Symbol(`scaleSelf`),ga=Symbol(`scale3dSelf`),_a=Symbol(`scaleNonUniformSelf`),va=Symbol(`skewXSelf`),ya=Symbol(`skewYSelf`),ba=Symbol(`multiplySelf`),xa=Symbol(`matrix`),Sa=Symbol(`getDOMMatrix`),Ca=Symbol(`setDOMMatrix`),R=Symbol(`attributeValue`),wa=Symbol(`startOffset`),Ta=Symbol(`method`),Ea=Symbol(`spacing`),z=Symbol(`in1`),Da=Symbol(`in2`),B=Symbol(`result`),Oa=Symbol(`bias`),ka=Symbol(`divisor`),Aa=Symbol(`edgeMode`),ja=Symbol(`kernelMatrix`),Ma=Symbol(`kernelUnitLengthX`),Na=Symbol(`kernelUnitLengthY`),Pa=Symbol(`orderX`),Fa=Symbol(`orderY`),Ia=Symbol(`preserveAlpha`),La=Symbol(`targetX`),Ra=Symbol(`targetY`),za=Symbol(`diffuseConstant`),Ba=Symbol(`surfaceScale`),Va=Symbol(`scale`),Ha=Symbol(`xChannelSelector`),Ua=Symbol(`yChannelSelector`),Wa=Symbol(`azimuth`),Ga=Symbol(`elevation`),Ka=Symbol(`dx`),qa=Symbol(`dy`),Ja=Symbol(`stdDeviationX`),Ya=Symbol(`stdDeviationY`),Xa=Symbol(`tableValues`),Za=Symbol(`slope`),Qa=Symbol(`intercept`),$a=Symbol(`amplitude`),eo=Symbol(`exponent`),to=Symbol(`crossOrigin`),no=Symbol(`operator`),ro=Symbol(`radiusX`),io=Symbol(`radiusY`),ao=Symbol(`specularConstant`),oo=Symbol(`specularExponent`),so=Symbol(`pointsAtX`),co=Symbol(`pointsAtY`),lo=Symbol(`pointsAtZ`),uo=Symbol(`limitingConeAngle`),fo=Symbol(`baseFrequencyX`),po=Symbol(`baseFrequencyY`),mo=Symbol(`numOctaves`),ho=Symbol(`seed`),go=Symbol(`stitchTiles`),_o=Symbol(`rotateFromVectorSelf`),vo=Symbol(`flipXSelf`),yo=Symbol(`flipYSelf`),bo=Symbol(`invertSelf`),xo=Symbol(`getLength`),So=Symbol(`currentScale`),Co=Symbol(`rotate`),wo=Symbol(`bindMethods`),To=Symbol(`xmlProcessingInstruction`),Eo=Symbol(`filterNode`),Do=Symbol(`customElementReactionStack`),Oo=Symbol(`dispatching`),ko=Symbol(`modules`),Ao=Symbol(`preloads`),jo=Symbol(`body`),Mo=Symbol(`redirect`),No=Symbol(`referrerPolicy`),Po=Symbol(`signal`),Fo=Symbol(`bodyUsed`),Io=Symbol(`credentials`),Lo=Symbol(`blocking`),Ro=Symbol(`moduleImportMap`),zo=Symbol(`dispatchError`),Bo=Symbol(`supports`),Vo=Symbol(`reason`),V=Symbol(`propertyEventListeners`),Ho=Symbol(`cssRules`),Uo=Symbol(`parentRule`),Wo=Symbol(`parentStyleSheet`),Go=Symbol(`conditionText`),Ko=Symbol(`keyText`),qo=Symbol(`media`),Jo=Symbol(`styleMap`),Yo=Symbol(`selectorText`),Xo=Symbol(`cssParser`),Zo=Symbol(`cssRule`),Qo=Symbol(`rulePrefix`),$o=Symbol(`virtualServerFile`),es=Symbol(`frames`),ts=Symbol(`disableEvaluation`),ns=Symbol(`validateJavaScriptExecutionEnvironment`),rs=Symbol(`openWebSockets`),is=Symbol(`webSocket`),as=Symbol(`moduleCache`),os=Symbol(`context`),ss=Symbol(`querySelectorCache`);var cs;(function(e){e.strict=`Strict`,e.lax=`Lax`,e.none=`None`})(cs||={});var ls=cs,us={key:null,originURL:null,value:null,domain:``,path:``,expires:null,httpOnly:!1,secure:!1,sameSite:ls.lax},ds=class{static hasExpired(e){return e.expires&&e.expires.getTime()<Date.now()}},fs=class{static cookieMatchesURL(e,t){let n=t.hostname===`localhost`||t.hostname?.endsWith(`.localhost`);return(!e.secure||t.protocol===`https:`||n)&&(!e.domain||t.hostname?.endsWith(e.domain))&&(!e.path||t.pathname?.startsWith(e.path))&&(e.sameSite===ls.none&&e.secure||e.originURL?.hostname===t.hostname)}},ps=class{#e=[];addCookies(e){let t=new Map,n=e=>`${e.key}-${e.originURL.hostname}-${e.path}-${typeof e.value}`;for(let e=0,r=this.#e.length;e<r;e++)t.set(n(this.#e[e]),e);for(let r of e){let e=Object.assign({},us,r);if(e&&e.key&&e.originURL){let r=t.get(n(e));r!==void 0&&this.#e.splice(r,1),ds.hasExpired(e)||(t.set(n(e),this.#e.length),this.#e.push(e))}}}getCookies(e=null,t=!1){let n=[];for(let r of this.#e)!ds.hasExpired(r)&&(!t||!r.httpOnly)&&(!e||fs.cookieMatchesURL(r,e))&&n.push(r);return n}clearCookies(){this.#e=[]}},ms;(function(e){e.fresh=`fresh`,e.stale=`stale`})(ms||={});var hs=ms,gs;(function(e){e.invalidStateError=`InvalidStateError`,e.indexSizeError=`IndexSizeError`,e.syntaxError=`SyntaxError`,e.hierarchyRequestError=`HierarchyRequestError`,e.notSupportedError=`NotSupportedError`,e.wrongDocumentError=`WrongDocumentError`,e.invalidNodeTypeError=`InvalidNodeTypeError`,e.invalidCharacterError=`InvalidCharacterError`,e.notFoundError=`NotFoundError`,e.securityError=`SecurityError`,e.networkError=`NetworkError`,e.domException=`DOMException`,e.invalidAccessError=`InvalidAccessError`,e.unknownError=`UnknownError`,e.abortError=`AbortError`,e.timeoutError=`TimeoutError`,e.encodingError=`EncodingError`,e.uriMismatchError=`URIMismatchError`,e.inUseAttributeError=`InUseAttributeError`,e.namespaceError=`NamespaceError`})(gs||={});var H=gs,_s=class extends Error{constructor(e,t=null){super(e),this.name=t||H.domException}},vs=class e{[Pe]={};constructor(t){if(t)if(t instanceof e)this[Pe]=JSON.parse(JSON.stringify(t[Pe]));else if(Array.isArray(t))for(let e of t){if(e.length!==2)throw new _s(`Failed to construct "Headers": The provided init is not a valid array.`,H.invalidStateError);this.append(e[0],e[1])}else for(let e of Object.keys(t))this.set(e,t[e])}append(e,t){let n=e.toLowerCase();this[Pe][n]?this[Pe][n].value.push(t):this[Pe][n]={name:e,value:[t]}}delete(e){delete this[Pe][e.toLowerCase()]}get(e){return this[Pe][e.toLowerCase()]?.value.join(`, `)??null}set(e,t){this[Pe][e.toLowerCase()]={name:e,value:[t]}}getSetCookie(){let e=this[Pe][`set-cookie`];return e?e.value:[]}has(e){return!!this[Pe][e.toLowerCase()]}forEach(e,t){let n=t??this[b];for(let t of Object.values(this[Pe]))e.call(n,t.value.join(`, `),t.name,this)}*keys(){for(let e of Object.values(this[Pe]))yield e.name}*values(){for(let e of Object.values(this[Pe]))yield e.value.join(`, `)}*entries(){for(let e of Object.values(this[Pe]))yield[e.name,e.value.join(`, `)]}*[Symbol.iterator](){for(let e of Object.values(this[Pe]))yield[e.name,e.value.join(`, `)]}},ys=class{#e=new Set;#t=new Set;#n;constructor(e){this.#n=e}async load(e){if(!e)throw Error(`Failed to execute 'load' on 'ResponseCacheFileSystem': Directory is not specified.`);let t=f.resolve(e),n=[];try{n=await d.promises.readdir(t)}catch{return}let r=[],i=this.#n;for(let e of n)e.endsWith(`.json`)&&r.push(d.promises.readFile(f.join(t,e),`utf8`).then(n=>{let r=JSON.parse(n);if(r.response&&r.request&&!r.virtual)return r.response.headers=new vs(r.response.headers),r.request.headers=new vs(r.request.headers),d.promises.readFile(f.join(t,e.split(`.`)[0]+`.data`)).then(e=>{r.response.body=e;let t=i.get(r.response.url);t||(t=[],i.set(r.response.url,t)),t.push(r)}).catch(()=>{let e=i.get(r.response.url);e||(e=[],i.set(r.response.url,e)),e.push(r)})}).catch(()=>{}));await Promise.all(r)}async save(e){if(!e)throw Error(`Failed to execute 'store' on 'ResponseCacheFileSystem': Directory is not specified.`);if(!this.#n.size)return;let t=f.resolve(e);if(!this.#e.has(t)){this.#e.add(t);try{await d.promises.mkdir(t,{recursive:!0})}catch{}}let n=this.#n,r=[];for(let e of n.values())for(let n of e)if(!n.virtual){let e={},i={};for(let[t,r]of n.response.headers.entries())e[t]=r;for(let[e,t]of n.request.headers.entries())i[e]=t;let a={...n,response:{...n.response,headers:e,body:null},request:{...n.request,headers:i}},o=JSON.stringify(a,null,3),c=s.createHash(`md5`).update(o).digest(`hex`);this.#t.has(c)||(this.#t.add(c),r.push(d.promises.writeFile(f.join(t,`${c}.json`),o)),n.response.body&&r.push(d.promises.writeFile(f.join(t,`${c}.data`),n.response.body)))}await Promise.all(r)}};const bs=[`Cache-Control`,`Last-Modified`,`Vary`,`ETag`];var xs=class{fileSystem;#e=new Map;constructor(){this.fileSystem=new ys(this.#e)}get(e){if(e.headers.get(`Cache-Control`)?.includes(`no-cache`))return null;let t=e.url,n=this.#e.get(t);if(n)for(let t=0,r=n.length;t<r;t++){let r=n[t],i=r.request.method===e.method;if(i)for(let t of Object.keys(r.vary)){let n=e.headers.get(t);if(n!==null&&r.vary[t]!==n){i=!1;break}}if(i){if(r.expires&&r.expires<Date.now()){if(r.lastModified)r.state=hs.stale;else if(!r.etag)return n.splice(t,1),null}return r}}return null}add(e,t){if(e.method!==`GET`&&e.method!==`HEAD`||e.headers.get(`Cache-Control`)?.includes(`no-cache`))return null;let n=e.url,r=this.get(e);if(t.status===304){if(!r)throw Error(`ResponseCache: Cached response not found.`);for(let e of bs)t.headers.has(e)&&r.response.headers.set(e,t.headers.get(e));r.cacheUpdateTime=Date.now(),r.state=hs.fresh}else{if(r){let e=this.#e.get(n);if(e){let t=e.indexOf(r);t!==-1&&e.splice(t,1)}}r={response:{status:t.status,statusText:t.statusText,url:t.url,headers:new vs(t.headers),waitingForBody:t.waitingForBody,body:t.body??null},request:{headers:e.headers,method:e.method},vary:{},expires:null,etag:null,cacheUpdateTime:Date.now(),lastModified:null,mustRevalidate:!1,staleWhileRevalidate:!1,state:hs.fresh,virtual:t.virtual??!1};let i=this.#e.get(n);i||(i=[],this.#e.set(n,i)),i.push(r)}if(t.headers.has(`Cache-Control`)){let e=t.headers.get(`Age`);for(let i of t.headers.get(`Cache-Control`).split(`,`)){let[t,a]=i.trim().split(`=`);switch(t){case`max-age`:r.expires=Date.now()+parseFloat(a)*1e3-(e?parseFloat(e)*1e3:0);break;case`no-cache`:case`no-store`:let t=this.#e.get(n);if(t){let e=t.indexOf(r);e!==-1&&t.splice(e,1)}return null;case`must-revalidate`:r.mustRevalidate=!0;break;case`stale-while-revalidate`:r.staleWhileRevalidate=!0;break}}}if(t.headers.has(`Last-Modified`)&&(r.lastModified=Date.parse(t.headers.get(`Last-Modified`))),t.headers.has(`Vary`))for(let n of t.headers.get(`Vary`).split(`,`)){let t=n.trim(),i=e.headers.get(t);i&&(r.vary[t]=i)}if(t.headers.has(`ETag`)&&(r.etag=t.headers.get(`ETag`)),!r.expires){let e=t.headers.get(`Expires`);e&&(r.expires=Date.parse(e))}if(!r.etag&&(!r.expires||r.expires<Date.now())){let e=this.#e.get(n);if(e){let t=e.indexOf(r);t!==-1&&e.splice(t,1)}return null}return r}clear(e){if(e)if(e.toTime)for(let t of e.url?[e.url]:this.#e.keys()){let n=this.#e.get(t);if(n)for(let t=0,r=n.length;t<r;t++)n[t].cacheUpdateTime<e.toTime&&(n.splice(t,1),t--,r--)}else e.url&&this.#e.delete(e.url);else this.#e.clear()}},Ss;(function(e){e[e.log=0]=`log`,e[e.info=1]=`info`,e[e.warn=2]=`warn`,e[e.error=3]=`error`})(Ss||={});var Cs=Ss,ws;(function(e){e[e.elementNode=1]=`elementNode`,e[e.attributeNode=2]=`attributeNode`,e[e.textNode=3]=`textNode`,e[e.cdataSectionNode=4]=`cdataSectionNode`,e[e.commentNode=8]=`commentNode`,e[e.documentNode=9]=`documentNode`,e[e.documentTypeNode=10]=`documentTypeNode`,e[e.documentFragmentNode=11]=`documentFragmentNode`,e[e.processingInstructionNode=7]=`processingInstructionNode`})(ws||={});var U=ws,Ts;(function(e){e[e.none=0]=`none`,e[e.capturing=1]=`capturing`,e[e.atTarget=2]=`atTarget`,e[e.bubbling=3]=`bubbling`})(Ts||={});var Es=Ts,W=class e{static NONE=Es.none;static CAPTURING_PHASE=Es.capturing;static AT_TARGET=Es.atTarget;static BUBBLING_PHASE=Es.bubbling;NONE=e.NONE;CAPTURING_PHASE=e.CAPTURING_PHASE;AT_TARGET=e.AT_TARGET;BUBBLING_PHASE=e.BUBBLING_PHASE;[Vr]=!1;[Hr]=!1;[Ur]=!1;[Wr]=!1;[Gr]=Es.none;[Kr]=performance.now();[qr];[Oo]=!1;[ze]=!1;[Qe]=!1;[dt]=null;[ke]=null;[Ue]=!1;constructor(e,t=null){this[qr]=e,this[Hr]=t?.bubbles??!1,this[Ur]=t?.cancelable??!1,this[Vr]=t?.composed??!1}get composed(){return this[Vr]}get bubbles(){return this[Hr]}get cancelable(){return this[Ur]}get defaultPrevented(){return this[Wr]}get eventPhase(){return this[Gr]}get timeStamp(){return this[Kr]}get type(){return this[qr]}get target(){return this[dt]}get currentTarget(){return this[ke]}get cancelBubble(){return this[Qe]}composedPath(){if(!this[dt])return[];let e=[],t=this[dt];for(;t;)if(e.push(t),t.parentNode)t=t.parentNode;else if(this[Vr]&&t[C]===U.documentFragmentNode&&t.host)t=t.host;else if(t[C]===U.documentNode&&this[qr]!==`load`)t=t[b];else break;return e}initEvent(e,t=!1,n=!1){this[qr]=e,this[Hr]=t,this[Ur]=n,this[Qe]=!1,this[ze]=!1,this[Wr]=!1}preventDefault(){!this[Ue]&&this.cancelable&&(this[Wr]=!0)}stopImmediatePropagation(){this[ze]=!0}stopPropagation(){this[Qe]=!0}},Ds;(function(e){e.log=`log`,e.table=`table`,e.trace=`trace`,e.dir=`dir`,e.dirxml=`dirxml`,e.group=`group`,e.groupCollapsed=`groupCollapsed`,e.debug=`debug`,e.timeLog=`timeLog`,e.info=`info`,e.count=`count`,e.timeEnd=`timeEnd`,e.warn=`warn`,e.countReset=`countReset`,e.error=`error`,e.assert=`assert`})(Ds||={});var Os=Ds,ks=class{static toString(e){if(this.isLogEntryCollapsed(e))return``;let t=this.getLogEntryGroupTabbing(e),n=t;for(let r of e.message)if(n+=n!==``&&n!==t?` `:``,typeof r==`object`&&(r===null||r.constructor.name===`Object`||Array.isArray(r)))try{n+=JSON.stringify(r)}catch{n+=Error(`Failed to JSON stringify object in log entry.`).stack.replace(/\n at/gm,`
|
|
2
|
-
`+t+`at`)}else typeof r==`object`&&r.message&&r.stack?n+=r.stack.replace(/\n at/gm,`
|
|
3
|
-
`+t+`at`):n+=this.getLogEntryIcon(e)+String(r);return n+`
|
|
4
|
-
`}static getLogEntryIcon(e){switch(e.type){case Os.group:return`▼ `;case Os.groupCollapsed:return`▶ `}return``}static getLogEntryGroupTabbing(e){let t=``,n=e.type===Os.group||e.type===Os.groupCollapsed?e.group?.parent:e.group;for(;n;)t+=` `,n=n.parent;return t}static isLogEntryCollapsed(e){let t=e.type===Os.group||e.type===Os.groupCollapsed?e.group?.parent:e.group;for(;t;){if(t.collapsed)return!0;t=t.parent}return!1}},As=class{#e=[];#t={print:[],clear:[]};#n=!1;get closed(){return this.#n}print(e){this.#n||(this.#e.push(e),this.dispatchEvent(new W(`print`)))}clear(){this.#n||(this.#e=[],this.dispatchEvent(new W(`clear`)))}close(){this.#n||=(this.#e=[],this.#t={print:[],clear:[]},!0)}addEventListener(e,t){if(!this.#n){if(!this.#t[e])throw Error(`Event type "${e}" is not supported.`);this.#t[e].push(t)}}removeEventListener(e,t){if(this.#n)return;if(!this.#t[e])throw Error(`Event type "${e}" is not supported.`);let n=this.#t[e].indexOf(t);n!==-1&&this.#t[e].splice(n,1)}dispatchEvent(e){if(!this.#n)switch(e.type){case`print`:case`clear`:for(let t of this.#t[e.type])t(e);break;default:throw Error(`Event type "${e.type}" is not supported.`)}}read(){let e=this.#e;return this.#e=[],e}readAsString(e=Cs.log){let t=this.read(),n=``;for(let r of t)r.level>=e&&(n+=ks.toString(r));return n}},js=class extends Error{constructor(e){super(e),this.name=`AsyncTaskManagerDebugError`}};const Ms={setTimeout:globalThis.setTimeout.bind(globalThis),clearTimeout:globalThis.clearTimeout.bind(globalThis),clearImmediate:globalThis.clearImmediate.bind(globalThis)};var Ns=class{static taskID=0;runningTasks={};runningTaskCount=0;runningTimers=[];runningImmediates=[];debugTrace=new Map;waitUntilCompleteTimer=null;waitUntilCompleteResolvers=[];destroyed=!1;#e=null;#t;constructor(e){this.#t=e}waitUntilComplete(){return new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()})}abort(){return this.destroyed?new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()}):this.abortAll(!1)}destroy(){return this.destroyed?new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()}):this.abortAll(!0)}startTimer(e){if(this.destroyed){Ms.clearTimeout(e);return}this.waitUntilCompleteTimer&&=(Ms.clearTimeout(this.waitUntilCompleteTimer),null),this.runningTimers.push(e),this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.set(e,new js().stack)}endTimer(e){if(this.destroyed){Ms.clearTimeout(e);return}let t=this.runningTimers.indexOf(e);t!==-1&&(this.runningTimers.splice(t,1),this.resolveWhenComplete()),this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.delete(e)}startImmediate(e){if(this.destroyed){Ms.clearImmediate(e);return}this.waitUntilCompleteTimer&&=(Ms.clearTimeout(this.waitUntilCompleteTimer),null),this.runningImmediates.push(e),this.#t.page?.context?.browser?.settings?.debug?.traceWaitUntilComplete>0&&this.debugTrace.set(e,new js().stack)}endImmediate(e){if(this.destroyed){Ms.clearImmediate(e);return}let t=this.runningImmediates.indexOf(e);t!==-1&&(this.runningImmediates.splice(t,1),this.resolveWhenComplete()),this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.delete(e)}startTask(e){if(this.destroyed)throw e&&e(this.destroyed),new this.#t.window.Error(`Failed to execute 'startTask()' on 'AsyncTaskManager': The asynchronous task manager has been destroyed. This error can be thrown if scripts continue to run while a browser frame is closed.`);this.waitUntilCompleteTimer&&=(Ms.clearTimeout(this.waitUntilCompleteTimer),null);let t=this.newTaskID();return this.runningTasks[t]=e||(()=>{}),this.runningTaskCount++,this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.set(t,new js().stack),t}endTask(e){this.destroyed||(this.runningTasks[e]&&(delete this.runningTasks[e],this.runningTaskCount--,this.resolveWhenComplete()),this.#t.page.context.browser.settings.debug.traceWaitUntilComplete>0&&this.debugTrace.delete(e))}getTaskCount(){return this.runningTaskCount}newTaskID(){return this.constructor.taskID++,this.constructor.taskID}resolveWhenComplete(){this.applyDebugging(),!(this.runningTaskCount||this.runningTimers.length||this.runningImmediates.length)&&(this.waitUntilCompleteTimer&&=(Ms.clearTimeout(this.waitUntilCompleteTimer),null),this.waitUntilCompleteTimer=Ms.setTimeout(()=>{if(this.waitUntilCompleteTimer=null,!this.runningTaskCount&&!this.runningTimers.length&&!this.runningImmediates.length){this.#e&&Ms.clearTimeout(this.#e);let e=this.waitUntilCompleteResolvers;this.waitUntilCompleteResolvers=[];for(let t of e)t.resolve();this.destroyed=!1}else this.applyDebugging()},1))}applyDebugging(){let e=this.#t.page.context.browser.settings.debug;!e?.traceWaitUntilComplete||e.traceWaitUntilComplete<1||(this.#e||=Ms.setTimeout(()=>{this.#e=null;let e=`The maximum time was reached for "waitUntilComplete()".\n\n${this.debugTrace.size} task${this.debugTrace.size===1?``:`s`} did not end in time.\n\nThe following traces were recorded:\n\n`,t=1;for(let[n,r]of this.debugTrace.entries())e+=`${typeof n==`number`?`Task`:`Timer`} #${t}\n‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾${r.replace(/AsyncTaskManagerDebugError:{0,1}/,``).replace(/\s+at /gm,`
|
|
5
|
-
> `)}\n\n`,t++;let n=Error(e);for(let e of this.waitUntilCompleteResolvers)e.reject(n);this.abortAll(!0)},e.traceWaitUntilComplete))}abortAll(e){let t=this.runningTimers,n=this.runningImmediates,r=this.runningTasks;e&&(this.destroyed=!0),this.runningTasks={},this.runningTaskCount=0,this.runningImmediates=[],this.runningTimers=[],this.debugTrace=new Map,this.waitUntilCompleteTimer&&=(Ms.clearTimeout(this.waitUntilCompleteTimer),null);for(let e of n)Ms.clearImmediate(e);for(let e of t)Ms.clearTimeout(e);for(let t of Object.keys(r))r[t](e);return new Promise((e,t)=>{this.waitUntilCompleteResolvers.push({resolve:e,reject:t}),this.resolveWhenComplete()})}};const Ps=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;var Fs=class{static btoa(e){let t=e.toString();if(/[^\u0000-\u00ff]/.test(t))throw new _s(`Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.`,H.invalidCharacterError);let n=``,r=-6,i=0,a=0,o=0,s;for(;a<t.length||r>-6;)r<0&&(a<t.length?(s=t.charCodeAt(a++),o+=8):s=0,i=(i&255)<<8|s&255,r+=8),n+=Ps.charAt(o>0?i>>r&63:64),r-=6,o-=6;return n}static atob(e){let t=e.toString();if(/[^\u0000-\u00ff]/.test(t))throw new _s(`Failed to execute 'atob' on 'Window': The string to be decoded contains characters outside of the Latin1 range.`,H.invalidCharacterError);if(/[^A-Za-z\d+/=]/.test(t)||t.length%4==1)throw new _s(`Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.`,H.invalidCharacterError);let n=``,r=-8,i=0,a,o;for(let e=0;e<t.length;e++)(a=Ps.indexOf(t.charAt(e)))<0||(i=i<<6|a&63,(r+=6)>=0&&(o=i>>r&255,a!==64&&(n+=String.fromCharCode(o)),i&=63,r-=8));return n}},Is;(function(e){e.tryAndCatch=`tryAndCatch`,e.processLevel=`processLevel`,e.disabled=`disabled`})(Is||={});var Ls=Is,Rs=class e{type=``;[me];constructor(t,n){let r=[];if(t)for(let n of t){let t;t=n instanceof ArrayBuffer?i.from(new Uint8Array(n)):n instanceof e?n[me]:n instanceof i?n:ArrayBuffer.isView(n)?i.from(new Uint8Array(n.buffer,n.byteOffset,n.byteLength)):i.from(typeof n==`string`?n:String(n)),r.push(t)}this[me]=i.concat(r),n&&n.type&&n.type.match(/^[\u0020-\u007E]*$/)&&(this.type=String(n.type).toLowerCase())}get size(){return this[me].length}slice(t=0,n=null,r=``){let i=this.size,a,o,s;a=t===void 0?0:t<0?Math.max(i+t,0):Math.min(t,i),o=n===null?i:n<0?Math.max(i+n,0):Math.min(n,i),s=r===void 0?``:r;let c=Math.max(o-a,0),l=this[me].slice(a,a+c),u=new e([],{type:s});return u[me]=l,u}async arrayBuffer(){return new Uint8Array(this[me]).buffer}async text(){return this[me].toString()}stream(){let e=this[me];return new se({start(t){t.enqueue(e),t.close()}})}toString(){return`[object Blob]`}},zs=class{#e;#t=[];constructor(e){if(!e)throw TypeError(`Illegal constructor`);this.#e=e}async read(){if((await this.#e.navigator.permissions.query({name:`clipboard-read`})).state===`denied`)throw new this.#e.DOMException(`Failed to execute 'read' on 'Clipboard': The request is not allowed`);return this.#t}async readText(){if((await this.#e.navigator.permissions.query({name:`clipboard-read`})).state===`denied`)throw new this.#e.DOMException(`Failed to execute 'readText' on 'Clipboard': The request is not allowed`);let e=``;for(let t of this.#t)if(t.types.includes(`text/plain`)){let n=await t.getType(`text/plain`);typeof n==`string`?e+=n:e+=await n.text()}return e}async write(e){if((await this.#e.navigator.permissions.query({name:`clipboard-write`})).state===`denied`)throw new this.#e.DOMException(`Failed to execute 'write' on 'Clipboard': The request is not allowed`);this.#t=e}async writeText(e){if((await this.#e.navigator.permissions.query({name:`clipboard-write`})).state===`denied`)throw new this.#e.DOMException(`Failed to execute 'writeText' on 'Clipboard': The request is not allowed`);this.#t=[new this.#e.ClipboardItem({"text/plain":new Rs([e],{type:`text/plain`})})]}},Bs=class{presentationStyle=`unspecified`;#e;constructor(e,t){this.#e=e,t?.presentationStyle&&(this.presentationStyle=t.presentationStyle)}get types(){return Object.keys(this.#e)}async getType(e){if(!this.#e[e])throw new _s(`Failed to execute 'getType' on 'ClipboardItem': The type '${e}' was not found`);return this.#e[e]instanceof Rs?this.#e[e]:new Rs([await this.#e[e]],{type:e})}},Vs=class{static escape(e){if(arguments.length==0)throw TypeError("`CSS.escape` requires an argument.");let t=String(e),n=t.length,r=-1,i,a=``,o=t.charCodeAt(0);if(n==1&&o==45)return`\\`+t;for(;++r<n;){if(i=t.charCodeAt(r),i==0){a+=`�`;continue}if(i>=1&&i<=31||i==127||r==0&&i>=48&&i<=57||r==1&&i>=48&&i<=57&&o==45){a+=`\\`+i.toString(16)+` `;continue}if(i>=128||i==45||i==95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){a+=t.charAt(r);continue}a+=`\\`+t.charAt(r)}return a}},Hs=`Hz.Q.ch.cm.deg.dpcm.dpi.dppx.em.ex.fr.grad.in.kHz.mm.ms.number.pc.percent.pt.px.rad.rem.s.turn.vh.vmax.vmin.vw`.split(`.`),Us=class{unit;value;constructor(e,t){if(typeof e!=`number`)throw TypeError(`The provided double value is non-finite`);if(!Hs.includes(t))throw TypeError(`Invalid unit: `+t);this.value=e,this.unit=t}},Ws=class{Hz=e=>new Us(e,`Hz`);Q=e=>new Us(e,`Q`);ch=e=>new Us(e,`ch`);cm=e=>new Us(e,`cm`);deg=e=>new Us(e,`deg`);dpcm=e=>new Us(e,`dpcm`);dpi=e=>new Us(e,`dpi`);dppx=e=>new Us(e,`dppx`);em=e=>new Us(e,`em`);ex=e=>new Us(e,`ex`);fr=e=>new Us(e,`fr`);grad=e=>new Us(e,`grad`);in=e=>new Us(e,`in`);kHz=e=>new Us(e,`kHz`);mm=e=>new Us(e,`mm`);ms=e=>new Us(e,`ms`);number=e=>new Us(e,`number`);pc=e=>new Us(e,`pc`);percent=e=>new Us(e,`percent`);pt=e=>new Us(e,`pt`);px=e=>new Us(e,`px`);rad=e=>new Us(e,`rad`);rem=e=>new Us(e,`rem`);s=e=>new Us(e,`s`);turn=e=>new Us(e,`turn`);vh=e=>new Us(e,`vh`);vmax=e=>new Us(e,`vmax`);vmin=e=>new Us(e,`vmin`);vw=e=>new Us(e,`vw`);supports(e,t){return!0}escape(e){return Vs.escape(e)}},Gs;(function(e){e[e.containerRule=0]=`containerRule`,e[e.styleRule=1]=`styleRule`,e[e.importRule=3]=`importRule`,e[e.mediaRule=4]=`mediaRule`,e[e.fontFaceRule=5]=`fontFaceRule`,e[e.pageRule=6]=`pageRule`,e[e.keyframesRule=7]=`keyframesRule`,e[e.keyframeRule=8]=`keyframeRule`,e[e.namespaceRule=10]=`namespaceRule`,e[e.counterStyleRule=11]=`counterStyleRule`,e[e.supportsRule=12]=`supportsRule`,e[e.documentRule=13]=`documentRule`,e[e.fontFeatureValuesRule=14]=`fontFeatureValuesRule`,e[e.regionStyleRule=16]=`regionStyleRule`})(Gs||={});var G=Gs,Ks=class{static CONTAINER_RULE=G.containerRule;static STYLE_RULE=G.styleRule;static IMPORT_RULE=G.importRule;static MEDIA_RULE=G.mediaRule;static FONT_FACE_RULE=G.fontFaceRule;static PAGE_RULE=G.pageRule;static KEYFRAMES_RULE=G.keyframesRule;static KEYFRAME_RULE=G.keyframeRule;static NAMESPACE_RULE=G.namespaceRule;static COUNTER_STYLE_RULE=G.counterStyleRule;static SUPPORTS_RULE=G.supportsRule;static DOCUMENT_RULE=G.documentRule;static FONT_FEATURE_VALUES_RULE=G.fontFeatureValuesRule;static REGION_STYLE_RULE=G.regionStyleRule;[b];[Xo];[Uo]=null;[Wo]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[Xo]=n}get parentRule(){return this[Uo]}get parentStyleSheet(){return this[Wo]}};const qs=/[,()]/gm,Js=/[()]|\s+/gm;var Ys=class{static splitByComma(e){let t=[],n=new RegExp(qs),r,i=0,a=0;for(;r=n.exec(e);)switch(r[0]){case`(`:i++;break;case`)`:i--;break;case`,`:if(i===0){let i=e.substring(a,r.index).trim();i&&t.push(i),a=n.lastIndex}break}return a<e.length&&t.push(e.substring(a).trim()),t}static splitBySpace(e){let t=[],n=new RegExp(Js),r,i=0,a=0;for(;r=n.exec(e);)switch(r[0]){case`(`:i++;break;case`)`:i--;break;default:if(i===0){let i=e.substring(a,r.index).trim();i&&t.push(i),a=n.lastIndex}break}if(a<e.length){let n=e.substring(a).trim();n&&t.push(n)}return t}};const Xs=/^#([0-9a-fA-F]{3,4}){1,2}$|^rgb\(([^)]*)\)$|^rgba\(([^)]*)\)$|^hsla?\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*(,\s*(-?\d+|-?\d*.\d+)\s*)?\)|(?:(rgba?|hsla?)\((var\(\s*(--[^)\s]+)\))\))/,Zs=/^(0|[-+]?[0-9]*\.?[0-9]+)(in|cm|em|mm|pt|pc|px|ex|rem|vh|vw|ch|vw|vh|vmin|vmax|Q)$/,Qs=/^[-+]?[0-9]*\.?[0-9]+%$/,$s=/^[0-9]+deg$/,ec=/^url\(\s*([^)]*)\s*\)$/,tc=/^[0-9]+$/,nc=/^[0-9.]+$/,rc=/^calc\([^^)]+\)$/,ic=/^var\(\s*(--[^)\s]+)\)$/,ac=/^fit-content\([^^)]+\)$/,oc=/^((repeating-linear|linear|radial|repeating-radial|conic|repeating-conic)-gradient)\(((?:[^()]|\([^()]*\))*)\)$/,sc=[`inherit`,`initial`,`unset`,`revert`],cc=`none.currentcolor.transparent.silver.gray.white.maroon.red.purple.fuchsia.green.lime.olive.yellow.navy.blue.teal.aliceblue.aqua.antiquewhite.aquamarine.azure.beige.bisque.black.blanchedalmond.blueviolet.brown.burlywood.cadetblue.chartreuse.chocolate.coral.cornflowerblue.cornsilk.crimson.cyan.darkblue.darkcyan.darkgoldenrod.darkgray.darkgreen.darkgrey.darkkhaki.darkmagenta.darkolivegreen.darkorange.darkorchid.darkred.darksalmon.darkseagreen.darkslateblue.darkslategray.darkslategrey.darkturquoise.darkviolet.deeppink.deepskyblue.dimgray.dimgrey.dodgerblue.firebrick.floralwhite.forestgreen.gainsboro.ghostwhite.gold.goldenrod.greenyellow.grey.honeydew.hotpink.indianred.indigo.ivory.khaki.lavender.lavenderblush.lawngreen.lemonchiffon.lightblue.lightcoral.lightcyan.lightgoldenrodyellow.lightgray.lightgreen.lightgrey.lightpink.lightsalmon.lightseagreen.lightskyblue.lightslategray.lightslategrey.lightsteelblue.lightyellow.limegreen.linen.magenta.mediumaquamarine.mediumblue.mediumorchid.mediumpurple.mediumseagreen.mediumslateblue.mediumspringgreen.mediumturquoise.mediumvioletred.midnightblue.mintcream.mistyrose.moccasin.navajowhite.oldlace.olivedrab.orange.orangered.orchid.palegoldenrod.palegreen.paleturquoise.palevioletred.papayawhip.peachpuff.peru.pink.plum.powderblue.rebeccapurple.rosybrown.royalblue.saddlebrown.salmon.sandybrown.seagreen.seashell.sienna.skyblue.slateblue.slategray.slategrey.snow.springgreen.steelblue.tan.thistle.tomato.turquoise.violet.wheat.whitesmoke.yellowgreen`.split(`.`);var K=class{static getLength(e){if(e===`0`)return`0px`;let t=e.match(Zs);if(t){let e=parseFloat(t[1]);if(isNaN(e))return null;let n=t[2];return`${Math.round(e*1e6)/1e6}${n}`}return null}static getPercentage(e){return e===`0`?`0%`:Qs.test(e)?e:null}static getDegree(e){return e===`0`?`0deg`:$s.test(e)?e:null}static getCalc(e){return rc.test(e)?e:null}static getFitContent(e){let t=e.toLowerCase();return t===`auto`||t===`max-content`||t===`min-content`||t===`fit-content`||ac.test(t)?t:null}static getMeasurement(e){return this.getLength(e)||this.getPercentage(e)||this.getCalc(e)}static getContentMeasurement(e){return this.getFitContent(e)||this.getMeasurement(e)}static getAutoMeasurement(e){return e.toLocaleLowerCase()===`auto`?`auto`:this.getMeasurement(e)}static getInteger(e){return tc.test(e)?e:null}static getFloat(e){if(nc.test(e)){let t=parseFloat(e);return isNaN(t)?null:String(Math.round(t*1e6)/1e6)}return null}static getGradient(e){let t=e.match(oc);if(t){let e=t[3].trim(),n=Ys.splitByComma(e);return`${t[1]}(${n.join(`, `)})`}return null}static getColor(e){let t=e.toLowerCase();return cc.includes(t)?t:Xs.test(e)?e.replace(/,([^ ])/g,`, $1`):null}static getURL(e){if(!e)return null;if(e.toLowerCase()===`none`)return`none`;let t=ec.exec(e);if(!t)return null;let n=t[1].trim();if((n[0]===`"`||n[0]===`'`)&&n[0]!==n[n.length-1])return null;(n[0]===`"`||n[0]===`'`)&&(n=n.substring(1,n.length-1));for(let e=0;e<n.length;e++)switch(n[e]){case`(`:case`)`:case` `:case` `:case`
|
|
6
|
-
`:case`'`:case`"`:return null;case`\\`:e++;break}return`url("${n}")`}static getInitial(e){return e.toLowerCase()===`initial`?`initial`:null}static getVariable(e){let t=e.match(ic);return t?`var(${t[1]})`:null}static getGlobal(e){let t=e.toLowerCase();return sc.includes(t)?t:null}static getGlobalExceptInitial(e){let t=e.toLowerCase();return t!==`initial`&&sc.includes(t)?t:null}};const lc=/^rect\((.*)\)$/i,uc=/,(?=(?:(?:(?!\))[\s\S])*\()|[^\(\)]*$)/,dc=/\s+(?=(?:(?:(?!\))[\s\S])*\()|[^\(\)]*$)/,fc=/\s+/gm,pc=[`none`,`hidden`,`dotted`,`dashed`,`solid`,`double`,`groove`,`ridge`,`inset`,`outset`],mc=[`thin`,`medium`,`thick`],hc=[`separate`,`collapse`],gc=[`repeat`,`repeat-x`,`repeat-y`,`no-repeat`],_c=[`border-box`,`padding-box`,`content-box`],vc=[`border-box`,`padding-box`,`content-box`],yc=[`scroll`,`fixed`],bc=[`auto`,`fill`,`content`],xc=[`none`,`left`,`right`,`both`],Sc=[`none`,`left`,`right`,`inline-start`,`inline-end`],Cc=[`caption`,`icon`,`menu`,`message-box`,`small-caption`,`status-bar`],wc=[`normal`,`bold`,`bolder`,`lighter`],Tc=[`normal`,`italic`,`oblique`],Ec=[`xx-small`,`x-small`,`small`,`medium`,`large`,`x-large`,`xx-large`,`xxx-large`,`smaller`,`larger`],Dc=[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`],Oc=[`block`,`inline`,`inline-block`,`flex`,`inline-flex`,`grid`,`inline-grid`,`flow-root`,`none`,`contents`,`block flow`,`inline flow`,`inline flow-root`,`block flex`,`inline flex`,`block grid`,`inline grid`,`block flow-root`,`table`,`table-row`,`list-item`],kc=[`stretch`,`repeat`,`round`,`space`],Ac=[`capitalize`,`uppercase`,`lowercase`,`none`,`full-width`,`full-size-kana`],jc=[`visible`,`hidden`,`collapse`];var q=class{static getBorderCollapse(e,t){let n=K.getVariable(e);if(n)return{"border-collapse":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||hc.includes(r)?{"border-collapse":{value:r,important:t}}:null}static getDisplay(e,t){let n=K.getVariable(e);if(n)return{display:{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||Oc.includes(r)?{display:{value:r,important:t}}:null}static getDirection(e,t){let n=K.getVariable(e);if(n)return{direction:{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||r===`ltr`||r===`rtl`?{direction:{value:r,important:t}}:null}static getLetterSpacing(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getContentMeasurement(e);return n?{"letter-spacing":{value:n,important:t}}:null}static getWordSpacing(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getContentMeasurement(e);return n?{"word-spacing":{value:n,important:t}}:null}static getTextIndent(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getContentMeasurement(e);return n?{"text-indent":{value:n,important:t}}:null}static getWidth(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getContentMeasurement(e);return n?{width:{value:n,important:t}}:null}static getHeight(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getContentMeasurement(e);return n?{height:{value:n,important:t}}:null}static getTop(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getContentMeasurement(e);return n?{top:{value:n,important:t}}:null}static getRight(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getContentMeasurement(e);return n?{right:{value:n,important:t}}:null}static getBottom(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getContentMeasurement(e);return n?{bottom:{value:n,important:t}}:null}static getLeft(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getContentMeasurement(e);return n?{left:{value:n,important:t}}:null}static getClear(e,t){let n=K.getVariable(e);if(n)return{clear:{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||xc.includes(r)?{clear:{value:r,important:t}}:null}static getClip(e,t){let n=K.getVariable(e);if(n)return{clip:{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r)||r===`auto`)return{clip:{value:r,important:t}};let i=r.match(lc);if(!i)return null;let a=i[1].split(/\s*,\s*/);if(a.length!==4)return null;for(let e of a)if(!K.getMeasurement(e))return null;return{clip:{value:e,important:t}}}static getFloat(e,t){let n=K.getVariable(e);if(n)return{float:{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||Sc.includes(r)?{float:{value:r,important:t}}:null}static getCSSFloat(e,t){let n=K.getVariable(e);if(n)return{"css-float":{value:n,important:t}};let r=this.getFloat(e,t);return r?{"css-float":r.float}:null}static getOutline(e,t){let n=K.getVariable(e);if(n)return{outline:{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getOutlineColor(r,t),...this.getOutlineStyle(r,t),...this.getOutlineWidth(r,t)};let i={...this.getOutlineColor(`initial`,t),...this.getOutlineStyle(`initial`,t),...this.getOutlineWidth(`initial`,t)},a=e.split(dc);for(let e of a){let n=this.getOutlineWidth(e,t),r=this.getOutlineStyle(e,t),a=this.getOutlineColor(e,t);if(n===null&&r===null&&a===null)return null;Object.assign(i,n,r,a)}return i}static getOutlineColor(e,t){let n=K.getVariable(e)||K.getGlobal(e)||K.getColor(e);return n?{"outline-color":{value:n,important:t}}:null}static getOutlineOffset(e,t){let n=K.getVariable(e)||K.getLength(e);return n?{"outline-offset":{value:n,important:t}}:null}static getOutlineStyle(e,t){let n=K.getVariable(e);if(n)return{"outline-style":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||pc.includes(r)?{"outline-style":{value:r,important:t}}:null}static getOutlineWidth(e,t){let n=K.getVariable(e);if(n)return{"outline-width":{value:n,important:t}};let r=e.toLowerCase(),i=mc.includes(r)||K.getGlobal(r)?r:K.getLength(e);return i?{"outline-width":{value:i,important:t}}:null}static getBorder(e,t){let n=K.getVariable(e);if(n)return{border:{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderWidth(r,t),...this.getBorderStyle(r,t),...this.getBorderColor(r,t),...this.getBorderImage(r,t)};let i={...this.getBorderWidth(`initial`,t),...this.getBorderStyle(`initial`,t),...this.getBorderColor(`initial`,t),...this.getBorderImage(`initial`,t)},a=e.replace(/\s*,\s*/g,`,`).split(dc);for(let e of a){let n=this.getBorderWidth(e,t),r=this.getBorderStyle(e,t),a=this.getBorderColor(e,t);if(n===null&&r===null&&a===null)return null;Object.assign(i,n,r,a)}return i}static getBorderWidth(e,t){let n=K.getVariable(e);if(n)return{"border-width":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderTopWidth(r,t),...this.getBorderRightWidth(r,t),...this.getBorderBottomWidth(r,t),...this.getBorderLeftWidth(r,t)};let i=e.split(dc),a=this.getBorderTopWidth(i[0],t),o=this.getBorderRightWidth(i[1]||i[0],t),s=this.getBorderBottomWidth(i[2]||i[0],t),c=this.getBorderLeftWidth(i[3]||i[1]||i[0],t);return!a||!o||!s||!c?null:{...a,...o,...s,...c}}static getBorderStyle(e,t){let n=K.getVariable(e);if(n)return{"border-style":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderTopStyle(r,t),...this.getBorderRightStyle(r,t),...this.getBorderBottomStyle(r,t),...this.getBorderLeftStyle(r,t)};let i=e.split(dc),a=this.getBorderTopStyle(i[0],t),o=this.getBorderRightStyle(i[1]||i[0],t),s=this.getBorderBottomStyle(i[2]||i[0],t),c=this.getBorderLeftStyle(i[3]||i[1]||i[0],t);return!a||!o||!s||!c?null:{...a,...o,...s,...c}}static getBorderColor(e,t){let n=K.getVariable(e);if(n)return{"border-color":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderTopColor(r,t),...this.getBorderRightColor(r,t),...this.getBorderBottomColor(r,t),...this.getBorderLeftColor(r,t)};let i=e.split(dc),a=this.getBorderTopColor(i[0],t),o=this.getBorderRightColor(i[1]||i[0],t),s=this.getBorderBottomColor(i[2]||i[0],t),c=this.getBorderLeftColor(i[3]||i[1]||i[0],t);return!a||!o||!s||!c?null:{...a,...o,...s,...c}}static getBorderImage(e,t){let n=K.getVariable(e);if(n)return{"border-image":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderImageSource(r,t),...this.getBorderImageSlice(r,t),...this.getBorderImageWidth(r,t),...this.getBorderImageOutset(r,t),...this.getBorderImageRepeat(r,t)};let i=e.replace(/\s\/\s/g,`/`),a=i.match(/\s*([a-zA-Z-]+\([^)]*\))\s*/);a&&(i=i.replace(a[0],``));let o=i.split(dc);a&&o.push(a[1]);let s={...this.getBorderImageSource(`none`,t),...this.getBorderImageSlice(`100%`,t),...this.getBorderImageWidth(`1`,t),...this.getBorderImageOutset(`0`,t),...this.getBorderImageRepeat(`stretch`,t)};for(let e=0,n=o.length;e<n;e++){let n=o[e],r=e>0?o[e-1]:``;if(!n.startsWith(`url`)&&n.includes(`/`)){let[e,i,a]=n.split(`/`),o=this.getBorderImageSlice(`${r} ${e}`,t)||this.getBorderImageSlice(e,t),c=this.getBorderImageWidth(i,t),l=a&&this.getBorderImageOutset(a,t);if(!o||!c||l===null)return null;Object.assign(s,o,c,l)}else{let e=this.getBorderImageSlice(`${r} ${n}`,t)||this.getBorderImageSlice(n,t),i=this.getBorderImageSource(n,t),a=this.getBorderImageRepeat(n,t);if(!e&&!i&&!a)return null;Object.assign(s,e,i,a)}}return s}static getBorderImageSource(e,t){let n=K.getVariable(e);if(n)return{"border-image-source":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r)||r===`none`)return{"border-image-source":{important:t,value:r}};let i=K.getURL(e)||K.getGradient(e);return i?{"border-image-source":{important:t,value:i}}:null}static getBorderImageSlice(e,t){let n=K.getVariable(e);if(n)return{"border-image-slice":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r))return{"border-image-slice":{important:t,value:r}};if(r!==r.trim())return null;let i=/(fill)|(calc\([^^)]+\))|([0-9]+%)|([0-9]+)/g,a=[],o;for(;o=i.exec(r);){let e=r[o.index-1],t=r[o.index+o[0].length];if(e&&e!==` `||t&&t!==` `)return null;let n=o[1]&&`fill`,i=o[2]&&K.getCalc(o[2]),s=o[3]&&K.getPercentage(o[3]),c=o[4]&&K.getInteger(o[4]);if(!n&&!i&&!s&&!c)return null;a.push(n||i||s||c)}return!a.length||a.length>4?null:{"border-image-slice":{important:t,value:a.join(` `)}}}static getBorderImageWidth(e,t){let n=K.getVariable(e);if(n)return{"border-image-width":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r))return{"border-image-width":{important:t,value:r}};let i=r.split(dc);if(i.length>4)return null;for(let e of i)if(!K.getInteger(e)&&!K.getAutoMeasurement(e))return null;return{"border-image-width":{important:t,value:e}}}static getBorderImageOutset(e,t){if(e===`0`)return{"border-image-outset":{important:t,value:e}};let n=K.getVariable(e);if(n)return{"border-image-outset":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r))return{"border-image-outset":{important:t,value:r}};let i=e.split(dc);if(i.length>4)return null;let a=[];for(let e of i){let t=K.getLength(e)||K.getFloat(e);if(!t)return null;a.push(t===`0px`?`0`:t)}return{"border-image-outset":{important:t,value:a.join(` `)}}}static getBorderImageRepeat(e,t){let n=K.getVariable(e);if(n)return{"border-image-repeat":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r))return{"border-image-repeat":{important:t,value:r}};let i=r.split(dc);if(i.length>2)return null;for(let e of i)if(!kc.includes(e))return null;return{"border-image-repeat":{important:t,value:e}}}static getBorderTopWidth(e,t){let n=K.getVariable(e);if(n)return{"border-top-width":{value:n,important:t}};let r=e.toLowerCase(),i=mc.includes(r)||K.getGlobal(r)?r:K.getLength(e);return i?{"border-top-width":{value:i,important:t}}:null}static getBorderRightWidth(e,t){let n=K.getVariable(e);if(n)return{"border-right-width":{value:n,important:t}};let r=e.toLowerCase(),i=mc.includes(r)||K.getGlobal(r)?r:K.getLength(e);return i?{"border-right-width":{value:i,important:t}}:null}static getBorderBottomWidth(e,t){let n=K.getVariable(e);if(n)return{"border-bottom-width":{value:n,important:t}};let r=e.toLowerCase(),i=mc.includes(r)||K.getGlobal(r)?r:K.getLength(e);return i?{"border-bottom-width":{value:i,important:t}}:null}static getBorderLeftWidth(e,t){let n=K.getVariable(e);if(n)return{"border-left-width":{value:n,important:t}};let r=e.toLowerCase(),i=mc.includes(r)||K.getGlobal(r)?r:K.getLength(e);return i?{"border-left-width":{value:i,important:t}}:null}static getBorderTopStyle(e,t){let n=K.getVariable(e);if(n)return{"border-top-style":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||pc.includes(r)?{"border-top-style":{value:r,important:t}}:null}static getBorderRightStyle(e,t){let n=K.getVariable(e);if(n)return{"border-right-style":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||pc.includes(r)?{"border-right-style":{value:r,important:t}}:null}static getBorderBottomStyle(e,t){let n=K.getVariable(e);if(n)return{"border-bottom-style":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||pc.includes(r)?{"border-bottom-style":{value:r,important:t}}:null}static getBorderLeftStyle(e,t){let n=K.getVariable(e);if(n)return{"border-left-style":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||pc.includes(r)?{"border-left-style":{value:r,important:t}}:null}static getBorderTopColor(e,t){let n=K.getVariable(e);if(n)return{"border-top-color":{value:n,important:t}};let r=K.getGlobal(e)||K.getColor(e);return r?{"border-top-color":{value:r,important:t}}:null}static getBorderRightColor(e,t){let n=K.getVariable(e);if(n)return{"border-right-color":{value:n,important:t}};let r=K.getGlobal(e)||K.getColor(e);return r?{"border-right-color":{value:r,important:t}}:null}static getBorderBottomColor(e,t){let n=K.getVariable(e);if(n)return{"border-bottom-color":{value:n,important:t}};let r=K.getGlobal(e)||K.getColor(e);return r?{"border-bottom-color":{value:r,important:t}}:null}static getBorderLeftColor(e,t){let n=K.getVariable(e);if(n)return{"border-left-color":{value:n,important:t}};let r=K.getGlobal(e)||K.getColor(e);return r?{"border-left-color":{value:r,important:t}}:null}static getBorderRadius(e,t){let n=K.getVariable(e);if(n)return{"border-radius":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderTopLeftRadius(r,t),...this.getBorderTopRightRadius(r,t),...this.getBorderBottomRightRadius(r,t),...this.getBorderBottomLeftRadius(r,t)};let i=e.split(dc),a=this.getBorderTopLeftRadius(i[0],t),o=this.getBorderTopRightRadius(i[1]||i[0],t),s=this.getBorderBottomRightRadius(i[2]||i[0],t),c=this.getBorderBottomLeftRadius(i[3]||i[1]||i[0],t);return!a||!o||!s||!c?null:{...a,...o,...s,...c}}static getBorderTopLeftRadius(e,t){let n=K.getVariable(e);if(n)return{"border-top-left-radius":{value:n,important:t}};let r=K.getGlobal(e)||K.getMeasurement(e);return r?{"border-top-left-radius":{important:t,value:r}}:null}static getBorderTopRightRadius(e,t){let n=K.getVariable(e);if(n)return{"border-top-right-radius":{value:n,important:t}};let r=K.getGlobal(e)||K.getMeasurement(e);return r?{"border-top-right-radius":{important:t,value:r}}:null}static getBorderBottomRightRadius(e,t){let n=K.getVariable(e);if(n)return{"border-bottom-right-radius":{value:n,important:t}};let r=K.getGlobal(e)||K.getMeasurement(e);return r?{"border-bottom-right-radius":{important:t,value:r}}:null}static getBorderBottomLeftRadius(e,t){let n=K.getVariable(e);if(n)return{"border-bottom-left-radius":{value:n,important:t}};let r=K.getGlobal(e)||K.getMeasurement(e);return r?{"border-bottom-left-radius":{important:t,value:r}}:null}static getBorderTop(e,t){let n=K.getVariable(e);if(n)return{"border-top":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderTopWidth(r,t),...this.getBorderTopStyle(r,t),...this.getBorderTopColor(r,t)};let i={...this.getBorderTopWidth(`initial`,t),...this.getBorderTopStyle(`initial`,t),...this.getBorderTopColor(`initial`,t)},a=e.split(dc);for(let e of a){let n=this.getBorderTopWidth(e,t),r=this.getBorderTopStyle(e,t),a=this.getBorderTopColor(e,t);if(n===null&&r===null&&a===null)return null;Object.assign(i,n,r,a)}return i}static getBorderRight(e,t){let n=K.getVariable(e);if(n)return{"border-right":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderRightWidth(r,t),...this.getBorderRightStyle(r,t),...this.getBorderRightColor(r,t)};let i={...this.getBorderRightWidth(`initial`,t),...this.getBorderRightStyle(`initial`,t),...this.getBorderRightColor(`initial`,t)},a=e.split(dc);for(let e of a){let n=this.getBorderRightWidth(e,t),r=this.getBorderRightStyle(e,t),a=this.getBorderRightColor(e,t);if(n===null&&r===null&&a===null)return null;Object.assign(i,n,r,a)}return i}static getBorderBottom(e,t){let n=K.getVariable(e);if(n)return{"border-bottom":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderBottomWidth(r,t),...this.getBorderBottomStyle(r,t),...this.getBorderBottomColor(r,t)};let i={...this.getBorderBottomWidth(`initial`,t),...this.getBorderBottomStyle(`initial`,t),...this.getBorderBottomColor(`initial`,t)},a=e.split(dc);for(let e of a){let n=this.getBorderBottomWidth(e,t),r=this.getBorderBottomStyle(e,t),a=this.getBorderBottomColor(e,t);if(n===null&&r===null&&a===null)return null;Object.assign(i,n,r,a)}return i}static getBorderLeft(e,t){let n=K.getVariable(e);if(n)return{"border-left":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBorderLeftWidth(r,t),...this.getBorderLeftStyle(r,t),...this.getBorderLeftColor(r,t)};let i={...this.getBorderLeftWidth(`initial`,t),...this.getBorderLeftStyle(`initial`,t),...this.getBorderLeftColor(`initial`,t)},a=e.split(dc);for(let e of a){let n=this.getBorderLeftWidth(e,t),r=this.getBorderLeftStyle(e,t),a=this.getBorderLeftColor(e,t);if(n===null&&r===null&&a===null)return null;Object.assign(i,n,r,a)}return i}static getPadding(e,t){let n=K.getVariable(e);if(n)return{padding:{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getPaddingTop(r,t),...this.getPaddingRight(r,t),...this.getPaddingBottom(r,t),...this.getPaddingLeft(r,t)};let i=e.split(dc),a=this.getPaddingTop(i[0],t),o=this.getPaddingRight(i[1]||i[0],t),s=this.getPaddingBottom(i[2]||i[0],t),c=this.getPaddingLeft(i[3]||i[1]||i[0],t);return!a||!o||!s||!c?null:{...a,...o,...s,...c}}static getPaddingTop(e,t){let n=K.getVariable(e);if(n)return{"padding-top":{value:n,important:t}};let r=K.getGlobal(e)||K.getMeasurement(e);return r?{"padding-top":{value:r,important:t}}:null}static getPaddingRight(e,t){let n=K.getVariable(e);if(n)return{"padding-right":{value:n,important:t}};let r=K.getGlobal(e)||K.getMeasurement(e);return r?{"padding-right":{value:r,important:t}}:null}static getPaddingBottom(e,t){let n=K.getVariable(e);if(n)return{"padding-bottom":{value:n,important:t}};let r=K.getGlobal(e)||K.getMeasurement(e);return r?{"padding-bottom":{value:r,important:t}}:null}static getPaddingLeft(e,t){let n=K.getVariable(e);if(n)return{"padding-left":{value:n,important:t}};let r=K.getGlobal(e)||K.getMeasurement(e);return r?{"padding-left":{value:r,important:t}}:null}static getMargin(e,t){let n=K.getVariable(e);if(n)return{margin:{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getMarginTop(r,t),...this.getMarginRight(r,t),...this.getMarginBottom(r,t),...this.getMarginLeft(r,t)};let i=e.split(dc),a=this.getMarginTop(i[0],t),o=this.getMarginRight(i[1]||i[0],t),s=this.getMarginBottom(i[2]||i[0],t),c=this.getMarginLeft(i[3]||i[1]||i[0],t);return!a||!o||!s||!c?null:{...a,...o,...s,...c}}static getMarginTop(e,t){let n=K.getVariable(e);if(n)return{"margin-top":{value:n,important:t}};let r=K.getGlobal(e)||K.getAutoMeasurement(e);return r?{"margin-top":{value:r,important:t}}:null}static getMarginRight(e,t){let n=K.getVariable(e);if(n)return{"margin-right":{value:n,important:t}};let r=K.getGlobal(e)||K.getAutoMeasurement(e);return r?{"margin-right":{value:r,important:t}}:null}static getMarginBottom(e,t){let n=K.getVariable(e);if(n)return{"margin-bottom":{value:n,important:t}};let r=K.getGlobal(e)||K.getAutoMeasurement(e);return r?{"margin-bottom":{value:r,important:t}}:null}static getMarginLeft(e,t){let n=K.getVariable(e);if(n)return{"margin-left":{value:n,important:t}};let r=K.getGlobal(e)||K.getAutoMeasurement(e);return r?{"margin-left":{value:r,important:t}}:null}static getFlex(e,t){let n=K.getVariable(e);if(n)return{flex:{value:n,important:t}};let r=e.trim().toLowerCase(),i=K.getGlobal(e);if(i)return{...this.getFlexGrow(i,t),...this.getFlexShrink(i,t),...this.getFlexBasis(i,t)};switch(r){case`none`:return{...this.getFlexGrow(`0`,t),...this.getFlexShrink(`0`,t),...this.getFlexBasis(`auto`,t)};case`auto`:return{...this.getFlexGrow(`1`,t),...this.getFlexShrink(`1`,t),...this.getFlexBasis(`auto`,t)}}let a=K.getContentMeasurement(r);if(a)return{...this.getFlexGrow(`1`,t),...this.getFlexShrink(`1`,t),...this.getFlexBasis(a,t)};let o=e.split(dc),s=this.getFlexGrow(o[0],t),c=this.getFlexShrink(o[1]||`1`,t),l=this.getFlexBasis(o[2]||`0%`,t);return!s||!c||!l?null:{...s,...c,...l}}static getFlexBasis(e,t){let n=K.getVariable(e);if(n)return{"flex-basis":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r)||bc.includes(r))return{"flex-basis":{value:r,important:t}};let i=K.getContentMeasurement(r);return i?{"flex-basis":{value:i,important:t}}:null}static getFlexShrink(e,t){let n=K.getVariable(e);if(n)return{"flex-shrink":{value:n,important:t}};let r=K.getGlobal(e)||K.getFloat(e);return r?{"flex-shrink":{value:r,important:t}}:null}static getFlexGrow(e,t){let n=K.getVariable(e);if(n)return{"flex-grow":{value:n,important:t}};let r=K.getGlobal(e)||K.getFloat(e);return r?{"flex-grow":{value:r,important:t}}:null}static getBackground(e,t){let n=K.getVariable(e);if(n)return{background:{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBackgroundImage(r,t),...this.getBackgroundPosition(r,t),...this.getBackgroundSize(r,t),...this.getBackgroundRepeat(r,t),...this.getBackgroundAttachment(r,t),...this.getBackgroundOrigin(r,t),...this.getBackgroundClip(r,t),...this.getBackgroundColor(r,t)};let i={...this.getBackgroundImage(`initial`,t),...this.getBackgroundPosition(`initial`,t),...this.getBackgroundSize(`initial`,t),...this.getBackgroundRepeat(`initial`,t),...this.getBackgroundAttachment(`initial`,t),...this.getBackgroundOrigin(`initial`,t),...this.getBackgroundClip(`initial`,t),...this.getBackgroundColor(`initial`,t)},a=Ys.splitBySpace(e.replace(/\s+\/\s+/g,`/`)),o=[];for(let e of a)if(!e.startsWith(`url`)&&e.includes(`/`)){let[n,r]=e.split(`/`),a=this.getBackgroundPositionX(n,t),s=this.getBackgroundPositionY(n,t),c=this.getBackgroundSize(r,t);if(!a&&!s||!c)return null;s?o.push(s[`background-position-y`].value):a&&o.push(a[`background-position-x`].value),Object.assign(i,c)}else{let n=this.getBackgroundImage(e,t),r=this.getBackgroundRepeat(e,t),a=this.getBackgroundAttachment(e,t),s=this.getBackgroundPositionX(e,t),c=this.getBackgroundPositionY(e,t),l=this.getBackgroundColor(e,t),u=this.getBackgroundOrigin(e,t),d=this.getBackgroundClip(e,t);if(!n&&!r&&!a&&!s&&!c&&!l&&!u&&!d)return null;s?o.push(s[`background-position-x`].value):c&&o.push(c[`background-position-y`].value),Object.assign(i,n,r,a,l,u,d)}return o.length&&Object.assign(i,this.getBackgroundPosition(o.join(` `),t)),i}static getBackgroundSize(e,t){let n=K.getVariable(e);if(n)return{"background-size":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r))return{"background-size":{value:r,important:t}};let i=r.split(uc),a=[];for(let e of i){let t=e.trim().split(` `);if(t.length!==1&&t.length!==2)return null;if(t.length===1){if(t[0]!==`cover`&&t[0]!==`contain`&&!K.getAutoMeasurement(t[0]))return null;a.push(t[0])}else{if(!K.getAutoMeasurement(t[0])||!K.getAutoMeasurement(t[1]))return null;a.push(`${t[0]} ${t[1]}`)}}return a.length===1?{"background-size":{value:a.join(`, `),important:t}}:null}static getBackgroundOrigin(e,t){let n=K.getVariable(e);if(n)return{"background-origin":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||_c.includes(r)?{"background-origin":{value:r,important:t}}:null}static getBackgroundClip(e,t){let n=K.getVariable(e);if(n)return{"background-clip":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||vc.includes(r)?{"background-clip":{value:r,important:t}}:null}static getBackgroundRepeat(e,t){let n=K.getVariable(e);if(n)return{"background-repeat":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||gc.includes(r)?{"background-repeat":{value:r,important:t}}:null}static getBackgroundAttachment(e,t){let n=K.getVariable(e);if(n)return{"background-attachment":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||yc.includes(r)?{"background-attachment":{value:r,important:t}}:null}static getBackgroundPosition(e,t){let n=K.getVariable(e);if(n)return{"background-position":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{...this.getBackgroundPositionX(r,t),...this.getBackgroundPositionY(r,t)};let i=e.split(uc),a=``,o=``;for(let e of i){let t=e.trim().split(dc);switch(a&&(a+=`,`,o+=`,`),t.length){case 1:t[0]===`top`||t[0]===`bottom`?(a+=`center`,o+=t[0]):t[0]===`left`||t[0]===`right`?(a+=t[0],o+=`center`):t[0]===`center`&&(a+=`center`,o+=`center`);break;case 2:a+=t[0]===`top`||t[0]===`bottom`?t[1]:t[0],o+=t[0]===`top`||t[0]===`bottom`?t[0]:t[1];break;case 3:t[0]===`top`||t[0]===`bottom`||t[1]===`left`||t[1]===`right`||t[2]===`left`||t[2]===`right`?K.getMeasurement(t[1])?(a+=t[2],o+=`${t[0]} ${t[1]}`):(a+=`${t[1]} ${t[2]}`,o+=t[0]):K.getMeasurement(t[1])?(a+=`${t[0]} ${t[1]}`,o+=t[2]):(a+=t[0],o+=`${t[1]} ${t[2]}`);break;case 4:a+=t[0]===`top`||t[0]===`bottom`||t[1]===`top`||t[1]===`bottom`?`${t[2]} ${t[3]}`:`${t[0]} ${t[1]}`,o+=t[0]===`top`||t[0]===`bottom`||t[1]===`top`||t[1]===`bottom`?`${t[0]} ${t[1]}`:`${t[2]} ${t[3]}`;break;default:return null}}let s=this.getBackgroundPositionX(a,t),c=this.getBackgroundPositionY(o,t);return s&&c?{...s,...c}:null}static getBackgroundPositionX(e,t){let n=K.getVariable(e);if(n)return{"background-position-x":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r))return{"background-position-x":{value:r,important:t}};let i=r.split(uc),a=``;for(let e of i){let t=e.trim().split(dc);a&&(a+=`,`);for(let e of t){let t=K.getMeasurement(e);if(!t&&e!==`left`&&e!==`right`&&e!==`center`)return null;a&&(a+=` `),a+=t||e}}return{"background-position-x":{value:a,important:t}}}static getBackgroundPositionY(e,t){let n=K.getVariable(e);if(n)return{"background-position-y":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r))return{"background-position-y":{value:r,important:t}};let i=r.split(uc),a=``;for(let e of i){let t=e.trim().split(dc);a&&(a+=`,`);for(let e of t){let t=K.getMeasurement(e);if(!t&&e!==`top`&&e!==`bottom`&&e!==`center`)return null;a&&(a+=` `),a+=t||e}}return{"background-position-y":{value:a,important:t}}}static getBackgroundColor(e,t){let n=K.getVariable(e);if(n)return{"background-color":{value:n,important:t}};let r=K.getGlobal(e)||K.getColor(e);return r?{"background-color":{important:t,value:r}}:null}static getBackgroundImage(e,t){let n=K.getVariable(e);if(n)return{"background-image":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r)||r===`none`)return{"background-image":{value:r,important:t}};let i=Ys.splitByComma(e),a=[];for(let e of i){let t=K.getURL(e.trim())||K.getGradient(e.trim());if(!t)return null;a.push(t)}return a.length?{"background-image":{value:a.join(`, `),important:t}}:null}static getColor(e,t){let n=K.getVariable(e);if(n)return{color:{value:n,important:t}};let r=K.getGlobal(e)||K.getColor(e);return r?{color:{important:t,value:r}}:null}static getFloodColor(e,t){let n=K.getVariable(e);if(n)return{"flood-color":{value:n,important:t}};let r=K.getGlobal(e)||K.getColor(e);return r?{"flood-color":{important:t,value:r}}:null}static getFont(e,t){let n=K.getVariable(e);if(n)return{font:{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r))return{...this.getFontStyle(r,t),...this.getFontVariant(r,t),...this.getFontWeight(r,t),...this.getFontStretch(r,t),...this.getFontSize(r,t),...this.getLineHeight(r,t),...this.getFontFamily(r,t)};if(Cc.includes(r))return{font:{value:r,important:t}};let i={...this.getFontStyle(`normal`,t),...this.getFontVariant(`normal`,t),...this.getFontWeight(`normal`,t),...this.getFontStretch(`normal`,t),...this.getLineHeight(`normal`,t)},a=e.replace(/\s*\/\s*/g,`/`).split(dc);for(let e=0,n=a.length;e<n;e++){let n=a[e];if(n.includes(`/`)){let[e,r]=n.split(`/`),a=this.getFontSize(e,t),o=this.getLineHeight(r,t);if(!a||!o)return null;Object.assign(i,a,o)}else{let r=this.getFontStyle(n,t),o=this.getFontVariant(n,t),s=this.getFontWeight(n,t),c=this.getFontSize(n,t),l=this.getFontStretch(n,t);if(r)Object.assign(i,r);else if(o)Object.assign(i,o);else if(s)Object.assign(i,s);else if(c)Object.assign(i,c);else if(l)Object.assign(i,l);else{let n=a.slice(e).join(` `),r=this.getFontFamily(n,t);if(!r)return null;Object.assign(i,r);break}}}return i}static getFontStyle(e,t){let n=K.getVariable(e);if(n)return{"font-style":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r)||Tc.includes(r))return{"font-style":{value:r,important:t}};let i=e.split(dc);return i.length===2&&i[0]===`oblique`&&K.getDegree(i[1])?{"font-style":{value:r,important:t}}:null}static getFontVariant(e,t){let n=K.getVariable(e);if(n)return{"font-variant":{value:n,important:t}};let r=e.toLowerCase();return K.getGlobal(r)||r===`normal`||r===`small-caps`?{"font-variant":{value:r,important:t}}:null}static getFontStretch(e,t){let n=K.getVariable(e);if(n)return{"font-stretch":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r)||Dc.includes(r))return{"font-stretch":{value:r,important:t}};let i=K.getPercentage(e);return i?{"font-stretch":{value:i,important:t}}:null}static getFontWeight(e,t){let n=K.getVariable(e);if(n)return{"font-weight":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r)||wc.includes(r))return{"font-weight":{value:r,important:t}};let i=K.getInteger(e);return i?{"font-weight":{value:i,important:t}}:null}static getFontSize(e,t){let n=K.getVariable(e);if(n)return{"font-size":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r)||Ec.includes(r))return{"font-size":{value:r,important:t}};let i=K.getMeasurement(e);return i?{"font-size":{value:i,important:t}}:null}static getLineHeight(e,t){let n=K.getVariable(e);if(n)return{"line-height":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r)||r===`normal`)return{"line-height":{value:r,important:t}};let i=K.getFloat(e)||K.getMeasurement(e);return i?{"line-height":{value:i,important:t}}:null}static getFontFamily(e,t){let n=K.getVariable(e);if(n)return{"font-family":{value:n,important:t}};let r=K.getGlobal(e);if(r)return{"font-family":{value:r,important:t}};let i=e.split(`,`),a=``,o=!1;for(let e=0,t=i.length;e<t;e++){let t=i[e].trim().replace(/'/g,`"`);if(!t)return null;if(t.includes(` `)){let n=(t.match(/"/g)||[]).length;if((t[0]!==`"`||e!==0)&&n!==2&&n!==0)return null;t[0]===`"`&&t[t.length-1]!==`"`?o=!0:t[0]!==`"`&&t[t.length-1]!==`"`&&(t=`"${t}"`)}else t=t.replace(/"/g,``);e>0&&(a+=`, `),a+=t}return o&&(a+=`"`),a?{"font-family":{important:t,value:a}}:null}static getTextTransform(e,t){let n=K.getVariable(e);if(n)return{"text-transform":{value:n,important:t}};let r=e.toLowerCase(),i=K.getGlobal(r)||Ac.includes(r)&&r;return i?{"text-transform":{value:i,important:t}}:null}static getVisibility(e,t){let n=K.getVariable(e);if(n)return{visibility:{value:n,important:t}};let r=e.toLowerCase(),i=K.getGlobal(r)||jc.includes(r)&&r;return i?{visibility:{value:i,important:t}}:null}static getAspectRatio(e,t){let n=K.getVariable(e);if(n)return{"aspect-ratio":{value:n,important:t}};let r=e.toLowerCase();if(K.getGlobal(r))return{"aspect-ratio":{value:r,important:t}};let i=e,a=i.includes(`auto`);if(a&&(i=i.replace(`auto`,``)),i=i.replace(fc,``),!i)return{"aspect-ratio":{value:`auto`,important:t}};let o=i.split(`/`);if(o.length>3)return null;let s=Number(o[0]),c=o[1]?Number(o[1]):1;return isNaN(s)||isNaN(c)?null:a?{"aspect-ratio":{value:`auto ${s} / ${c}`,important:t}}:{"aspect-ratio":{value:`${s} / ${c}`,important:t}}}},Mc=class{static getMargin(e){return this.getPaddingLikeProperty([`margin-top`,`margin-right`,`margin-bottom`,`margin-left`],e)}static getPadding(e){return this.getPaddingLikeProperty([`padding-top`,`padding-right`,`padding-bottom`,`padding-left`],e)}static getOutline(e){if(!e[`outline-color`]?.value||!e[`outline-style`]?.value||!e[`outline-width`]?.value)return null;let t=e[`outline-color`].important&&e[`outline-style`].important&&e[`outline-width`].important;if(K.getGlobalExceptInitial(e[`outline-width`].value)&&e[`outline-width`].value===e[`outline-style`].value&&e[`outline-width`].value===e[`outline-color`].value)return{important:t,value:e[`outline-width`].value};let n=[];return K.getInitial(e[`outline-color`]?.value)||n.push(e[`outline-color`].value),K.getInitial(e[`outline-style`]?.value)||n.push(e[`outline-style`].value),K.getInitial(e[`outline-width`].value)||n.push(e[`outline-width`].value),{important:t,value:n.join(` `)}}static getBorder(e){if(!e[`border-top-width`]?.value||e[`border-top-width`]?.value!==e[`border-right-width`]?.value||e[`border-top-width`]?.value!==e[`border-bottom-width`]?.value||e[`border-top-width`]?.value!==e[`border-left-width`]?.value||!e[`border-top-style`]?.value||e[`border-top-style`]?.value!==e[`border-right-style`]?.value||e[`border-top-style`]?.value!==e[`border-bottom-style`]?.value||e[`border-top-style`]?.value!==e[`border-left-style`]?.value||!e[`border-top-color`]?.value||e[`border-top-color`]?.value!==e[`border-right-color`]?.value||e[`border-top-color`]?.value!==e[`border-bottom-color`]?.value||e[`border-top-color`]?.value!==e[`border-left-color`]?.value||!e[`border-image-source`]?.value||!e[`border-image-slice`]?.value||!e[`border-image-width`]?.value||!e[`border-image-outset`]?.value||!e[`border-image-repeat`]?.value)return null;let t=e[`border-top-width`].important&&e[`border-right-width`].important&&e[`border-bottom-width`].important&&e[`border-left-width`].important&&e[`border-top-style`].important&&e[`border-right-style`].important&&e[`border-bottom-style`].important&&e[`border-left-style`].important&&e[`border-top-color`].important&&e[`border-right-color`].important&&e[`border-bottom-color`].important&&e[`border-left-color`].important&&e[`border-image-source`].important&&e[`border-image-slice`].important&&e[`border-image-width`].important&&e[`border-image-outset`].important&&e[`border-image-repeat`].important;if(K.getGlobalExceptInitial(e[`border-top-width`].value)||K.getGlobalExceptInitial(e[`border-top-style`].value)||K.getGlobalExceptInitial(e[`border-top-color`].value)||K.getGlobalExceptInitial(e[`border-image-source`].value)||K.getGlobalExceptInitial(e[`border-image-slice`].value)||K.getGlobalExceptInitial(e[`border-image-width`].value)||K.getGlobalExceptInitial(e[`border-image-outset`].value)||K.getGlobalExceptInitial(e[`border-image-repeat`].value))return e[`border-top-width`].value!==e[`border-top-style`].value||e[`border-top-width`].value!==e[`border-top-color`].value||e[`border-top-width`].value!==e[`border-image-source`].value||e[`border-top-width`].value!==e[`border-image-slice`].value||e[`border-top-width`].value!==e[`border-image-width`].value||e[`border-top-width`].value!==e[`border-image-outset`].value||e[`border-top-width`].value!==e[`border-image-repeat`].value?null:{important:t,value:e[`border-top-width`].value};let n=[];return K.getInitial(e[`border-top-width`].value)||n.push(e[`border-top-width`].value),K.getInitial(e[`border-top-style`].value)||n.push(e[`border-top-style`].value),K.getInitial(e[`border-top-color`].value)||n.push(e[`border-top-color`].value),{important:t,value:n.join(` `)}}static getBorderTop(e){return this.getBorderTopRightBottomLeft(`top`,e)}static getBorderRight(e){return this.getBorderTopRightBottomLeft(`right`,e)}static getBorderBottom(e){return this.getBorderTopRightBottomLeft(`bottom`,e)}static getBorderLeft(e){return this.getBorderTopRightBottomLeft(`left`,e)}static getBorderColor(e){return this.getPaddingLikeProperty([`border-top-color`,`border-right-color`,`border-bottom-color`,`border-left-color`],e)}static getBorderWidth(e){return this.getPaddingLikeProperty([`border-top-width`,`border-right-width`,`border-bottom-width`,`border-left-width`],e)}static getBorderStyle(e){return this.getPaddingLikeProperty([`border-top-style`,`border-right-style`,`border-bottom-style`,`border-left-style`],e)}static getBorderRadius(e){return this.getPaddingLikeProperty([`border-top-left-radius`,`border-top-right-radius`,`border-bottom-right-radius`,`border-bottom-left-radius`],e)}static getBorderImage(e){if(!e[`border-image-source`]?.value||!e[`border-image-slice`]?.value||!e[`border-image-width`]?.value||!e[`border-image-outset`]?.value||!e[`border-image-repeat`]?.value)return null;let t=e[`border-image-source`].important&&e[`border-image-slice`].important&&e[`border-image-width`].important&&e[`border-image-outset`].important&&e[`border-image-repeat`].important;return K.getGlobal(e[`border-image-source`].value)||K.getGlobal(e[`border-image-slice`].value)||K.getGlobal(e[`border-image-width`].value)||K.getGlobal(e[`border-image-outset`].value)||K.getGlobal(e[`border-image-repeat`].value)?e[`border-image-source`].value!==e[`border-image-slice`].value||e[`border-image-source`].value!==e[`border-image-width`].value||e[`border-image-source`].value!==e[`border-image-outset`].value||e[`border-image-source`].value!==e[`border-image-repeat`].value?null:{important:t,value:e[`border-image-source`].value}:{important:t,value:`${e[`border-image-source`].value} ${e[`border-image-slice`].value} / ${e[`border-image-width`].value} / ${e[`border-image-outset`].value} ${e[`border-image-repeat`].value}`}}static getBackground(e){if(!e[`background-image`]?.value||!e[`background-repeat`]?.value||!e[`background-attachment`]?.value||!e[`background-position-x`]?.value||!e[`background-position-y`]?.value||!e[`background-color`]?.value||!e[`background-size`]?.value||!e[`background-origin`]?.value||!e[`background-clip`]?.value)return null;let t=e[`background-image`].important&&e[`background-repeat`].important&&e[`background-attachment`].important&&e[`background-position-x`].important&&e[`background-position-y`].important&&e[`background-color`].important&&e[`background-size`].important&&e[`background-origin`].important&&e[`background-clip`].important;if(K.getGlobalExceptInitial(e[`background-image`].value)||K.getGlobalExceptInitial(e[`background-repeat`].value)||K.getGlobalExceptInitial(e[`background-attachment`].value)||K.getGlobalExceptInitial(e[`background-position-x`].value)||K.getGlobalExceptInitial(e[`background-position-y`].value)||K.getGlobalExceptInitial(e[`background-color`].value)||K.getGlobalExceptInitial(e[`background-size`].value)||K.getGlobalExceptInitial(e[`background-origin`].value)||K.getGlobalExceptInitial(e[`background-clip`].value))return e[`background-image`].value!==e[`background-repeat`].value||e[`background-image`].value!==e[`background-attachment`].value||e[`background-image`].value!==e[`background-position-x`].value||e[`background-image`].value!==e[`background-position-y`].value||e[`background-image`].value!==e[`background-color`].value||e[`background-image`].value!==e[`background-size`].value||e[`background-image`].value!==e[`background-origin`].value||e[`background-image`].value!==e[`background-clip`].value?null:{important:t,value:e[`background-image`].value};let n=[];return K.getInitial(e[`background-image`].value)||n.push(e[`background-image`].value),!K.getInitial(e[`background-position-x`].value)&&!K.getInitial(e[`background-position-y`].value)&&!K.getInitial(e[`background-size`].value)?n.push(`${e[`background-position-x`].value} ${e[`background-position-y`].value} / ${e[`background-size`].value}`):!K.getInitial(e[`background-position-x`].value)&&!K.getInitial(e[`background-position-y`].value)&&n.push(`${e[`background-position-x`].value} ${e[`background-position-y`].value}`),K.getInitial(e[`background-repeat`].value)||n.push(e[`background-repeat`].value),K.getInitial(e[`background-attachment`].value)||n.push(e[`background-attachment`].value),K.getInitial(e[`background-origin`].value)||n.push(e[`background-origin`].value),K.getInitial(e[`background-clip`].value)||n.push(e[`background-clip`].value),K.getInitial(e[`background-color`].value)||n.push(e[`background-color`].value),{important:t,value:n.join(` `)}}static getBackgroundPosition(e){if(!e[`background-position-x`]?.value||!e[`background-position-y`]?.value)return null;let t=e[`background-position-x`].important&&e[`background-position-y`].important;if(K.getGlobal(e[`background-position-x`].value)||K.getGlobal(e[`background-position-y`].value))return e[`background-position-x`].value===e[`background-position-y`].value?{important:t,value:e[`background-position-x`].value}:null;let n=e[`background-position-x`].value.replace(/ *, */g,`,`).split(`,`),r=e[`background-position-y`].value.replace(/ *, */g,`,`).split(`,`),i=[];for(let e=0;e<n.length;e++)i.push(`${n[e]} ${r[e]}`);return{important:t,value:i.join(`, `)}}static getFlex(e){if(!e[`flex-grow`]?.value||!e[`flex-shrink`]?.value||!e[`flex-basis`]?.value)return null;let t=e[`flex-grow`].important&&e[`flex-shrink`].important&&e[`flex-basis`].important;return K.getGlobal(e[`flex-grow`].value)||K.getGlobal(e[`flex-shrink`].value)||K.getGlobal(e[`flex-basis`].value)?e[`flex-grow`].value!==e[`flex-shrink`].value||e[`flex-grow`].value!==e[`flex-basis`].value?null:{important:t,value:e[`flex-grow`].value}:{important:t,value:`${e[`flex-grow`].value} ${e[`flex-shrink`].value} ${e[`flex-basis`].value}`}}static getFont(e){if(!e[`font-size`]?.value||!e[`font-family`]?.value||!e[`font-weight`]?.value||!e[`font-style`]?.value||!e[`font-variant`]?.value||!e[`font-stretch`]?.value||!e[`line-height`]?.value)return null;let t=e[`font-size`].important&&e[`font-family`].important&&e[`font-weight`].important&&e[`font-style`].important&&e[`font-variant`].important&&e[`font-stretch`].important&&e[`line-height`].important;if(K.getGlobal(e[`font-size`].value)||K.getGlobal(e[`font-family`].value)||K.getGlobal(e[`font-weight`].value)||K.getGlobal(e[`font-style`].value)||K.getGlobal(e[`font-variant`].value)||K.getGlobal(e[`font-stretch`].value)||K.getGlobal(e[`line-height`].value))return e[`font-size`].value!==e[`font-family`].value||e[`font-size`].value!==e[`font-weight`].value||e[`font-size`].value!==e[`font-style`].value||e[`font-size`].value!==e[`font-variant`].value||e[`font-size`].value!==e[`font-stretch`].value||e[`font-size`].value!==e[`line-height`].value?null:{important:t,value:e[`font-size`].value};let n=[];return e[`font-style`].value!==`normal`&&n.push(e[`font-style`].value),e[`font-variant`].value!==`normal`&&n.push(e[`font-variant`].value),e[`font-weight`].value!==`normal`&&n.push(e[`font-weight`].value),e[`font-stretch`].value!==`normal`&&n.push(e[`font-stretch`].value),e[`line-height`].value===`normal`?n.push(e[`font-size`].value):n.push(`${e[`font-size`].value} / ${e[`line-height`].value}`),n.push(e[`font-family`].value),{important:t,value:n.join(` `)}}static getBorderTopRightBottomLeft(e,t){if(!t[`border-${e}-width`]?.value||!t[`border-${e}-style`]?.value||!t[`border-${e}-color`]?.value)return null;let n=t[`border-${e}-width`].important&&t[`border-${e}-style`].important&&t[`border-${e}-color`].important;if(K.getGlobalExceptInitial(t[`border-${e}-width`].value)&&t[`border-${e}-width`].value===t[`border-${e}-style`].value&&t[`border-${e}-width`].value===t[`border-${e}-color`].value)return{important:n,value:t[`border-${e}-width`].value};let r=[];return K.getInitial(t[`border-${e}-width`].value)||r.push(t[`border-${e}-width`].value),K.getInitial(t[`border-${e}-style`]?.value)||r.push(t[`border-${e}-style`].value),K.getInitial(t[`border-${e}-color`]?.value)||r.push(t[`border-${e}-color`].value),{important:n,value:r.join(` `)}}static getPaddingLikeProperty(e,t){if(!t[e[0]]?.value||!t[e[1]]?.value||!t[e[2]]?.value||!t[e[3]]?.value)return null;let n=t[e[0]].important&&t[e[1]].important&&t[e[2]].important&&t[e[3]].important;if(K.getGlobal(t[e[0]].value)||K.getGlobal(t[e[1]].value)||K.getGlobal(t[e[2]].value)||K.getGlobal(t[e[3]].value))return t[e[0]].value!==t[e[1]].value||t[e[0]].value!==t[e[2]].value||t[e[0]].value!==t[e[3]].value?null:{important:n,value:t[e[0]].value};let r=[t[e[0]].value];return(t[e[1]].value!==t[e[0]].value||t[e[2]].value!==t[e[0]].value||t[e[3]].value!==t[e[1]].value)&&r.push(t[e[1]].value),(t[e[2]].value!==t[e[0]].value||t[e[3]].value!==t[e[1]].value)&&r.push(t[e[2]].value),t[e[3]].value!==t[e[1]].value&&r.push(t[e[3]].value),{important:n,value:r.join(` `)}}};const Nc=/\s*([^:;]+?)\s*:\s*((?:[^(;]*?(?:\([^)]*\))?)*?)\s*(!important)?\s*(?:$|;)/g;var Pc=class{static parse(e){let t={},n=[],r=new RegExp(Nc),i;for(;i=r.exec(e);){let e=(i[1]??``).trim(),r=(i[2]??``).trim(),a=!!i[3];e&&r&&(e.startsWith(`--`)&&(t[e]=r),n.push({name:e,value:r,important:a}))}return{rules:n,properties:t}}};const Fc=[[`margin`],[`padding`],[`border`,[`border-width`,`border-style`,`border-color`,`border-image`]],[`border-radius`],[`background`,`background-position`],[`font`]];var Ic=class{properties={};definedPropertyNames={};constructor(e){if(e?.cssText){let{rules:t}=Pc.parse(e.cssText);for(let e of t)(e.important||!this.get(e.name)?.important)&&this.set(e.name,e.value,e.important)}}get(e){if(this.properties[e])return this.properties[e];switch(e){case`margin`:return Mc.getMargin(this.properties);case`padding`:return Mc.getPadding(this.properties);case`border`:return Mc.getBorder(this.properties);case`border-top`:return Mc.getBorderTop(this.properties);case`border-right`:return Mc.getBorderRight(this.properties);case`border-bottom`:return Mc.getBorderBottom(this.properties);case`border-left`:return Mc.getBorderLeft(this.properties);case`border-color`:return Mc.getBorderColor(this.properties);case`border-style`:return Mc.getBorderStyle(this.properties);case`border-width`:return Mc.getBorderWidth(this.properties);case`border-radius`:return Mc.getBorderRadius(this.properties);case`border-image`:return Mc.getBorderImage(this.properties);case`outline`:return Mc.getOutline(this.properties);case`background`:return Mc.getBackground(this.properties);case`background-position`:return Mc.getBackgroundPosition(this.properties);case`flex`:return Mc.getFlex(this.properties);case`font`:return Mc.getFont(this.properties)}return this.properties[e]||null}remove(e){switch(delete this.properties[e],delete this.definedPropertyNames[e],e){case`border`:delete this.properties[`border-top-width`],delete this.properties[`border-right-width`],delete this.properties[`border-bottom-width`],delete this.properties[`border-left-width`],delete this.properties[`border-top-style`],delete this.properties[`border-right-style`],delete this.properties[`border-bottom-style`],delete this.properties[`border-left-style`],delete this.properties[`border-top-color`],delete this.properties[`border-right-color`],delete this.properties[`border-bottom-color`],delete this.properties[`border-left-color`],delete this.properties[`border-image-source`],delete this.properties[`border-image-slice`],delete this.properties[`border-image-width`],delete this.properties[`border-image-outset`],delete this.properties[`border-image-repeat`];break;case`border-top`:delete this.properties[`border-top-width`],delete this.properties[`border-top-style`],delete this.properties[`border-top-color`],delete this.properties[`border-image-source`],delete this.properties[`border-image-slice`],delete this.properties[`border-image-width`],delete this.properties[`border-image-outset`],delete this.properties[`border-image-repeat`];break;case`border-right`:delete this.properties[`border-right-width`],delete this.properties[`border-right-style`],delete this.properties[`border-right-color`],delete this.properties[`border-image-source`],delete this.properties[`border-image-slice`],delete this.properties[`border-image-width`],delete this.properties[`border-image-outset`],delete this.properties[`border-image-repeat`];break;case`border-bottom`:delete this.properties[`border-bottom-width`],delete this.properties[`border-bottom-style`],delete this.properties[`border-bottom-color`],delete this.properties[`border-image-source`],delete this.properties[`border-image-slice`],delete this.properties[`border-image-width`],delete this.properties[`border-image-outset`],delete this.properties[`border-image-repeat`];break;case`border-left`:delete this.properties[`border-left-width`],delete this.properties[`border-left-style`],delete this.properties[`border-left-color`],delete this.properties[`border-image-source`],delete this.properties[`border-image-slice`],delete this.properties[`border-image-width`],delete this.properties[`border-image-outset`],delete this.properties[`border-image-repeat`];break;case`border-width`:delete this.properties[`border-top-width`],delete this.properties[`border-right-width`],delete this.properties[`border-bottom-width`],delete this.properties[`border-left-width`];break;case`border-style`:delete this.properties[`border-top-style`],delete this.properties[`border-right-style`],delete this.properties[`border-bottom-style`],delete this.properties[`border-left-style`];break;case`border-color`:delete this.properties[`border-top-color`],delete this.properties[`border-right-color`],delete this.properties[`border-bottom-color`],delete this.properties[`border-left-color`];break;case`border-image`:delete this.properties[`border-image-source`],delete this.properties[`border-image-slice`],delete this.properties[`border-image-width`],delete this.properties[`border-image-outset`],delete this.properties[`border-image-repeat`];break;case`border-radius`:delete this.properties[`border-top-left-radius`],delete this.properties[`border-top-right-radius`],delete this.properties[`border-bottom-right-radius`],delete this.properties[`border-bottom-left-radius`];break;case`outline`:delete this.properties[`outline-color`],delete this.properties[`outline-style`],delete this.properties[`outline-width`];break;case`background`:delete this.properties[`background-color`],delete this.properties[`background-image`],delete this.properties[`background-repeat`],delete this.properties[`background-attachment`],delete this.properties[`background-position-x`],delete this.properties[`background-position-y`],delete this.properties[`background-size`],delete this.properties[`background-origin`],delete this.properties[`background-clip`];break;case`background-position`:delete this.properties[`background-position-x`],delete this.properties[`background-position-y`];break;case`flex`:delete this.properties[`flex-grow`],delete this.properties[`flex-shrink`],delete this.properties[`flex-basis`];break;case`font`:delete this.properties[`font-style`],delete this.properties[`font-variant`],delete this.properties[`font-weight`],delete this.properties[`font-stretch`],delete this.properties[`font-size`],delete this.properties[`line-height`],delete this.properties[`font-family`];break;case`padding`:delete this.properties[`padding-top`],delete this.properties[`padding-right`],delete this.properties[`padding-bottom`],delete this.properties[`padding-left`];break;case`margin`:delete this.properties[`margin-top`],delete this.properties[`margin-right`],delete this.properties[`margin-bottom`],delete this.properties[`margin-left`];break}}set(e,t,n){if(t===null){this.remove(e);return}let r=null;switch(e){case`border`:r=q.getBorder(t,n);break;case`border-top`:r=q.getBorderTop(t,n);break;case`border-right`:r=q.getBorderRight(t,n);break;case`border-bottom`:r=q.getBorderBottom(t,n);break;case`border-left`:r=q.getBorderLeft(t,n);break;case`border-width`:r=q.getBorderWidth(t,n);break;case`border-style`:r=q.getBorderStyle(t,n);break;case`border-color`:r=q.getBorderColor(t,n);break;case`border-image`:r=q.getBorderImage(t,n);break;case`border-image-source`:r=q.getBorderImageSource(t,n);break;case`border-image-slice`:r=q.getBorderImageSlice(t,n);break;case`border-image-width`:r=q.getBorderImageWidth(t,n);break;case`border-image-outset`:r=q.getBorderImageOutset(t,n);break;case`border-image-repeat`:r=q.getBorderImageRepeat(t,n);break;case`border-top-width`:r=q.getBorderTopWidth(t,n);break;case`border-right-width`:r=q.getBorderRightWidth(t,n);break;case`border-bottom-width`:r=q.getBorderBottomWidth(t,n);break;case`border-left-width`:r=q.getBorderLeftWidth(t,n);break;case`border-top-color`:r=q.getBorderTopColor(t,n);break;case`border-right-color`:r=q.getBorderRightColor(t,n);break;case`border-bottom-color`:r=q.getBorderBottomColor(t,n);break;case`border-left-color`:r=q.getBorderLeftColor(t,n);break;case`border-top-style`:r=q.getBorderTopStyle(t,n);break;case`border-right-style`:r=q.getBorderRightStyle(t,n);break;case`border-bottom-style`:r=q.getBorderBottomStyle(t,n);break;case`border-left-style`:r=q.getBorderLeftStyle(t,n);break;case`border-radius`:r=q.getBorderRadius(t,n);break;case`border-top-left-radius`:r=q.getBorderTopLeftRadius(t,n);break;case`border-top-right-radius`:r=q.getBorderTopRightRadius(t,n);break;case`border-bottom-right-radius`:r=q.getBorderBottomRightRadius(t,n);break;case`border-bottom-left-radius`:r=q.getBorderBottomLeftRadius(t,n);break;case`border-collapse`:r=q.getBorderCollapse(t,n);break;case`outline`:r=q.getOutline(t,n);break;case`outline-width`:r=q.getOutlineWidth(t,n);break;case`outline-style`:r=q.getOutlineStyle(t,n);break;case`outline-color`:r=q.getOutlineColor(t,n);break;case`letter-spacing`:r=q.getLetterSpacing(t,n);break;case`word-spacing`:r=q.getWordSpacing(t,n);break;case`clear`:r=q.getClear(t,n);break;case`clip`:r=q.getClip(t,n);break;case`css-float`:r=q.getCSSFloat(t,n);break;case`float`:r=q.getFloat(t,n);break;case`display`:r=q.getDisplay(t,n);break;case`direction`:r=q.getDirection(t,n);break;case`flex`:r=q.getFlex(t,n);break;case`flex-shrink`:r=q.getFlexShrink(t,n);break;case`flex-grow`:r=q.getFlexGrow(t,n);break;case`flex-basis`:r=q.getFlexBasis(t,n);break;case`padding`:r=q.getPadding(t,n);break;case`padding-top`:r=q.getPaddingTop(t,n);break;case`padding-right`:r=q.getPaddingRight(t,n);break;case`padding-bottom`:r=q.getPaddingBottom(t,n);break;case`padding-left`:r=q.getPaddingLeft(t,n);break;case`margin`:r=q.getMargin(t,n);break;case`margin-top`:r=q.getMarginTop(t,n);break;case`margin-right`:r=q.getMarginRight(t,n);break;case`margin-bottom`:r=q.getMarginBottom(t,n);break;case`margin-left`:r=q.getMarginLeft(t,n);break;case`background`:r=q.getBackground(t,n);break;case`background-image`:r=q.getBackgroundImage(t,n);break;case`background-color`:r=q.getBackgroundColor(t,n);break;case`background-repeat`:r=q.getBackgroundRepeat(t,n);break;case`background-attachment`:r=q.getBackgroundAttachment(t,n);break;case`background-position`:r=q.getBackgroundPosition(t,n);break;case`width`:r=q.getWidth(t,n);break;case`height`:r=q.getHeight(t,n);break;case`top`:r=q.getTop(t,n);break;case`right`:r=q.getRight(t,n);break;case`bottom`:r=q.getBottom(t,n);break;case`left`:r=q.getLeft(t,n);break;case`font`:r=q.getFont(t,n);break;case`font-style`:r=q.getFontStyle(t,n);break;case`font-variant`:r=q.getFontVariant(t,n);break;case`font-weight`:r=q.getFontWeight(t,n);break;case`font-stretch`:r=q.getFontStretch(t,n);break;case`font-size`:r=q.getFontSize(t,n);break;case`line-height`:r=q.getLineHeight(t,n);break;case`text-indent`:r=q.getTextIndent(t,n);break;case`font-family`:r=q.getFontFamily(t,n);break;case`color`:r=q.getColor(t,n);break;case`flood-color`:r=q.getFloodColor(t,n);break;case`text-transform`:r=q.getTextTransform(t,n);break;case`visibility`:r=q.getVisibility(t,n);break;case`aspect-ratio`:r=q.getAspectRatio(t,n);break;default:let i=t.trim();if(i){let t=K.getGlobal(i);r={[e]:{value:t||i,important:n}}}break}r!==null&&Object.keys(r).length>0&&(this.definedPropertyNames[e]=!0,Object.assign(this.properties,r))}clone(){let e=this.constructor,t=new e;return t.properties=JSON.parse(JSON.stringify(this.properties)),t.definedPropertyNames=Object.assign({},this.definedPropertyNames),t}size(){return Object.keys(this.properties).length}item(e){return Object.keys(this.properties)[e]||``}toString(){let e=[],t=this.clone(),n={};for(let e of Fc)for(let r of e)if(Array.isArray(r)){let e=!1;for(let i of r){let r=t.get(i);r&&(n[i]=r,t.remove(i),e=!0)}if(e)break}else{let e=t.get(r);if(e){n[r]=e,t.remove(r);break}}for(let e of Object.keys(t.properties))n[e]=t.get(e);for(let t of Object.keys(this.definedPropertyNames)){let r=n[t];r&&(e.push(`${t}: ${r.value}${r.important?` !important`:``};`),delete n[t])}for(let t of Object.keys(n)){let r=n[t];r&&e.push(`${t}: ${r.value}${r.important?` !important`:``};`)}return e.join(` `)}},Lc={default:`display: inline;`,A:``,ABBR:``,ADDRESS:`display: block;`,AREA:``,ARTICLE:`display: block;`,ASIDE:`display: block;`,AUDIO:`display: none;`,B:``,BASE:`display: none;`,BDI:``,BDO:``,BLOCKQUAOTE:``,BODY:`display: block;`,TEMPLATE:`display: none;`,FORM:`display: block;`,INPUT:`display: inline-block;`,TEXTAREA:`display: inline-block;`,SCRIPT:`display: none;`,IMG:``,LINK:`display: none;`,STYLE:`display: none;`,LABEL:``,SLOT:`display: contents;`,SVG:``,CIRCLE:``,ELLIPSE:``,LINE:``,PATH:``,POLYGON:``,POLYLINE:``,RECT:``,STOP:``,USE:``,META:`display: none;`,BLOCKQUOTE:`display: block;`,BR:``,BUTTON:`display: inline-block;`,CANVAS:``,CAPTION:`display: table-caption;`,CITE:``,CODE:``,COL:`display: table-column;`,COLGROUP:`display: table-column-group;`,DATA:``,DATALIST:`display: none;`,DD:`display: block;`,DEL:``,DETAILS:`display: block;`,DFN:``,DIALOG:{default:`display: none;`,open:`display: block;`},DIV:`display: block;`,DL:`display: block;`,DT:`display: block;`,EM:``,EMBED:``,FIELDSET:`display: block;`,FIGCAPTION:`display: block;`,FIGURE:`display: block;`,FOOTER:`display: block;`,H1:`display: block;`,H2:`display: block;`,H3:`display: block;`,H4:`display: block;`,H5:`display: block;`,H6:`display: block;`,HEAD:`display: none;`,HEADER:`display: block;`,HGROUP:`display: block;`,HR:`display: block;`,HTML:`display: block;direction: ltr;font: 16px "Times New Roman";`,I:``,IFRAME:``,INS:``,KBD:``,LEGEND:`display: block;`,LI:`display: list-item;`,MAIN:`display: block;`,MAP:``,MARK:``,MATH:``,MENU:`display: block;`,MENUITEM:``,METER:`display: inline-block;`,NAV:`display: block;`,NOSCRIPT:``,OBJECT:``,OL:`display: block;`,OPTGROUP:`display: block;`,OPTION:`display: block;`,OUTPUT:`unicode-bidi: isolate;`,P:`display: block;`,PARAM:`display: none;`,PICTURE:``,PRE:`display: block;`,PROGRESS:`display: inline-block;`,Q:``,RB:``,RP:`display: none;`,RT:``,RTC:``,RUBY:``,S:``,SAMP:``,SECTION:`display: block;`,SELECT:`display: inline-block;`,SMALL:``,SOURCE:``,SPAN:``,STRONG:``,SUB:``,SUMMARY:`display: block;`,SUP:``,TABLE:`display: table;`,TBODY:`display: table-row-group;`,TD:`display: table-cell;`,TFOOT:`display: table-footer-group;`,TH:`display: table-cell;`,THEAD:`display: table-header-group;`,TIME:``,TITLE:`display: none;`,TR:`display: table-row;`,TRACK:``,U:``,UL:`display: block;`,VAR:``,VIDEO:``,WBR:``},Rc={"border-collapse":!0,"border-spacing":!0,"caption-side":!0,color:!0,cursor:!0,direction:!0,"empty-cells":!0,"font-family":!0,"font-size":!0,"font-style":!0,"font-variant":!0,"font-weight":!0,"font-size-adjust":!0,"font-stretch":!0,font:!0,"letter-spacing":!0,"line-height":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,"list-style":!0,orphans:!0,quotes:!0,"tab-size":!0,"text-align":!0,"text-align-last":!0,"text-decoration-color":!0,"text-indent":!0,"text-justify":!0,"text-shadow":!0,"text-transform":!0,visibility:!0,"white-space":!0,widows:!0,"word-break":!0,"word-spacing":!0,"word-wrap":!0},zc=`background-position-x.background-position-y.background-size.border-image-outset.border-top-width.border-right-width.border-bottom-width.border-left-width.border-top-left-radius.border-top-right-radius.border-bottom-right-radius.border-bottom-left-radius.border-image-width.clip.font-size.padding-top.padding-right.padding-bottom.padding-left.margin-top.margin-right.margin-bottom.margin-left.width.height.min-width.min-height.max-width.max-height.top.right.bottom.left.outline-width.outline-offset.letter-spacing.word-spacing.text-indent.line-height`.split(`.`),Bc=class{target;classes;cache=new Map;constructor(e,t){this.target=e,this.classes=t}bind(e){if(this.cache.has(e)||e===Symbol.iterator||e===`constructor`)return;this.cache.set(e,!0);let t=this.target;if(e in t)for(let n of this.classes){let r=Object.getOwnPropertyDescriptor(n.prototype,e);if(r){if(typeof r.value==`function`){if(r.value.toString().startsWith(`class `))return;Object.defineProperty(t,e,{...r,value:r.value.bind(t)})}else r.get!==void 0&&Object.defineProperty(t,e,{...r,get:r.get?.bind(t),set:r.set?.bind(t)});return}}}preventBinding(e){this.cache.set(e,!0)}},Vc=class e{[A];[ar];constructor(t,n){if(t!==N)throw TypeError(`Illegal constructor`);this[A]=n;let r=new Bc(this,this.constructor===e?[e]:[this.constructor,e]),i=new Proxy(this,{get:(e,t)=>{if(t===`length`)return n.length;if(t in e||typeof t==`symbol`)return r.bind(t),e[t];if(t===``)return;let i=Number(t);if(!isNaN(i))return n[i]},set(e,t,n){if(r.bind(t),typeof t==`symbol`)return e[t]=n,!0;let i=Number(t);return isNaN(i)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(){return Object.keys(n)},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let r=Number(t);return!isNaN(r)&&r>=0&&r<n.length},defineProperty(e,t,n){return r.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let r=Number(t);if(!isNaN(r)&&n[r])return{value:n[r],writable:!1,enumerable:!0,configurable:!0}}});return this[ar]=i,i}get length(){return this[A].length}get[Symbol.toStringTag](){return`NodeList`}toLocaleString(){return`[object NodeList]`}toString(){return`[object NodeList]`}item(e){let t=this[A];return e>=0&&t[e]?t[e]:null}[Symbol.iterator](){return this[A][Symbol.iterator]()}values(){return this[A].values()}entries(){return this[A].entries()}forEach(e,t){let n=this[A],r=this[ar]??this;for(let i=0,a=n.length;i<a;i++){let a=n[i];e.call(t??a[b],a,i,r)}}keys(){return this[A].keys()}},Hc;(function(e){e.none=`none`,e.descendant=`descendant`,e.child=`child`,e.adjacentSibling=`adjacentSibling`,e.subsequentSibling=`subsequentSibling`})(Hc||={});var Uc=Hc,Wc=class{tagName;id;classNames;attributes;pseudos;isPseudoElement;combinator;constructor(e){this.tagName=e?.tagName||null,this.id=e?.id||null,this.classNames=e?.classNames||null,this.attributes=e?.attributes||null,this.pseudos=e?.pseudos||null,this.isPseudoElement=e?.isPseudoElement||!1,this.combinator=e?.combinator||Uc.none}match(e,t,n){let r=0;if(this.isPseudoElement)return null;if(this.tagName){if(this.tagName!==`*`&&this.tagName!==t[w].toUpperCase())return null;r+=1}if(this.id){if(this.id!==t.id)return null;r+=100}if(this.classNames){let e=this.matchClass(t);if(!e)return null;r+=e.priorityWeight}if(this.attributes){let e=this.matchAttributes(t);if(!e)return null;r+=e.priorityWeight}if(this.pseudos){let i=this.matchPseudo(e,t,n);if(!i)return null;r+=i.priorityWeight}return{priorityWeight:r}}matchPseudo(e,t,n){let r=t[S],i=t[S]?t[S][Yn]:[];if(!this.pseudos)return{priorityWeight:0};let a=0;for(let o of this.pseudos){switch(o.name){case`not`:case`nth-child`:case`nth-of-type`:case`nth-last-child`:case`nth-last-of-type`:case`is`:case`where`:if(!o.arguments){if(n)return null;throw new t[b].DOMException(`Failed to execute 'matches' on '${t.constructor.name}': '${this.getSelectorString()}' is not a valid selector.`)}break}if(!r)switch(o.name){case`first-child`:case`last-child`:case`only-child`:case`first-of-type`:case`last-of-type`:case`only-of-type`:case`nth-child`:case`nth-of-type`:case`nth-last-child`:case`nth-last-of-type`:return null}let s=this.matchPseudoItem(e,t,i,o,n);if(!s)return null;a+=s.priorityWeight}return{priorityWeight:a}}matchPseudoItem(e,t,n,r,i){let a=this.getRootElement(e);switch(r.name){case`first-child`:return n[0]===t?{priorityWeight:10}:null;case`last-child`:return n.length&&n[n.length-1]===t?{priorityWeight:10}:null;case`only-child`:return n.length===1&&n[0]===t?{priorityWeight:10}:null;case`first-of-type`:for(let e of n)if(e[w]===t[w])return e===t?{priorityWeight:10}:null;return null;case`last-of-type`:for(let e=n.length-1;e>=0;e--){let r=n[e];if(r[w]===t[w])return r===t?{priorityWeight:10}:null}return null;case`only-of-type`:let o=!1;for(let e of n)if(e[w]===t[w]){if(o||e!==t)return null;o=!0}return o?{priorityWeight:10}:null;case`checked`:return t[w]===`INPUT`&&t.checked?{priorityWeight:10}:null;case`disabled`:return`disabled`in t&&t.hasAttribute(`disabled`)?{priorityWeight:10}:null;case`empty`:return t[Yn].length?null:{priorityWeight:10};case`root`:return a&&t===a?{priorityWeight:10}:null;case`not`:for(let n of r.selectorItems)if(n.match(e,t))return null;return{priorityWeight:10};case`nth-child`:let s=-1;if(r.selectorItems?.[0]&&!r.selectorItems[0].match(e,t))return null;for(let i=0,a=n.length;i<a;i++)if((!r.selectorItems?.[0]||r.selectorItems[0].match(e,n[i]))&&s++,n[i]===t)return s!==-1&&r.nthFunction(s+1)?{priorityWeight:10}:null;return null;case`nth-of-type`:let c=-1;for(let e=0,i=n.length;e<i;e++)if(n[e][w]===t[w]&&c++,n[e]===t)return c!==-1&&r.nthFunction(c+1)?{priorityWeight:10}:null;return null;case`nth-last-child`:let l=-1;if(r.selectorItems?.[0]&&!r.selectorItems[0].match(e,t))return null;for(let i=n.length-1;i>=0;i--)if((!r.selectorItems?.[0]||r.selectorItems[0].match(e,n[i]))&&l++,n[i]===t)return l!==-1&&r.nthFunction(l+1)?{priorityWeight:10}:null;return null;case`nth-last-of-type`:let u=-1;for(let e=n.length-1;e>=0;e--)if(n[e][w]===t[w]&&u++,n[e]===t)return u!==-1&&r.nthFunction(u+1)?{priorityWeight:10}:null;return null;case`target`:let d=t[g].location.hash;return d&&t.isConnected&&t.id===d.slice(1)?{priorityWeight:10}:null;case`is`:let f=0;if(!r.selectorItems)return null;for(let n of r.selectorItems){let r=n.match(e,t);r&&f<r.priorityWeight&&(f=r.priorityWeight)}return f?{priorityWeight:f}:null;case`where`:if(!r.selectorItems)return null;for(let n of r.selectorItems)if(n.match(e,t))return{priorityWeight:0};return null;case`has`:let p=0;if(r.arguments&&r.selectorItems)if(r.arguments[0]===`+`){let n=t.nextElementSibling;if(!n)return null;for(let t of r.selectorItems){let r=t.match(e,n);r&&p<r.priorityWeight&&(p=r.priorityWeight)}}else if(r.arguments[0]===`>`)for(let n of r.selectorItems)for(let r of t[Yn]){let t=n.match(e,r);if(t&&p<t.priorityWeight){p=t.priorityWeight;break}}else for(let n of r.selectorItems){let r=this.matchChildOfElement(e,n,t,i);r&&p<r.priorityWeight&&(p=r.priorityWeight)}return p?{priorityWeight:p}:null;case`focus`:case`focus-visible`:return t[g].activeElement===t?{priorityWeight:10}:null;case`scope`:return e&&e===t?{priorityWeight:10}:null;default:return null}}matchAttributes(e){if(!this.attributes)return null;let t=0;for(let n of this.attributes){let r=e[Ot].getNamedItem(n.name);if(!r||(t+=10,n.value!==null&&(r[v]===null||n.regExp&&!n.regExp.test(r[v])||!n.regExp&&n.value!==r[v])))return null}return{priorityWeight:t}}matchClass(e){if(!this.classNames)return null;let t=0;for(let n of this.classNames){if(!e.classList.contains(n))return null;t+=10}return{priorityWeight:t}}matchChildOfElement(e,t,n,r){for(let i of n[Yn]){let n=t.match(e,i,r);if(n)return n;let a=this.matchChildOfElement(e,t,i,r);if(a)return a}return null}getSelectorString(){return`${this.tagName?this.tagName.toLowerCase():``}${this.id?`#${this.id}`:``}${this.classNames?`.${this.classNames.join(`.`)}`:``}${this.attributes?this.attributes.map(e=>`[${e.name}${e.value?`${e.operator||``}="${e.value}"`:``}]`).join(``):``}${this.pseudos?this.pseudos.map(e=>`:${e.name}${e.arguments?`(${e.arguments})`:``}`).join(``):``}`}getRootElement(e){return e?.[g]?.documentElement||e?.[b].document?.documentElement||null}};const Gc=/(\s*[\s,+>~]\s*)|([\[\]\(\)"'])/g,Kc=/(\*)|([a-zA-Z0-9\u00A0-\uFFFF-]+)|#(([a-zA-Z0-9\u00A0-\uFFFF_-]|\\.)+)|\.(([a-zA-Z0-9\u00A0-\uFFFF_-]|\\.)+)|\[(([a-zA-Z0-9-_]|\\.)+)\]|\[(([a-zA-Z0-9-_]|\\.)+)\s*([~|^$*]{0,1})\s*=\s*("([^"]*)"|'([^']*)')\s*(s|i){0,1}\]|\[(([a-zA-Z0-9-_]|\\.)+)\s*([~|^$*]{0,1})\s*=\s*(([a-zA-Z0-9\u00A0-\uFFFF_¤£-]|\\.)+)\]|:([a-zA-Z-]+)\s*\(.+\)|:([a-zA-Z-]+)|::([a-zA-Z-]+)/g,qc=/:([a-zA-Z-]+)|([()])/g,Jc=/\\/g,Yc=/\\([0-9a-fA-F]{1,6})\s?|\\(.)/g,Xc=/[.*+?^${}()|[\]\\]/g,Zc={odd:e=>(e+1)%2==0,even:e=>(e+1)%2!=0,alwaysFalse:()=>!1},Qc=/ /g;var $c=class e{window;scope;ignoreErrors;constructor(e){this.window=e.window,this.scope=e.scope,this.ignoreErrors=e.ignoreErrors??!1}getSelectorItem(e){return this.getSelectorGroups(e)[0][0]}getSelectorGroups(e){e=e.trim();let t=this.window[ss].get(e);if(t)return t;let n=this.getSelectorGroupsUncached(e);return this.window[ss].set(e,n),n}getSelectorGroupsUncached(e){let t=[],n=[t],r=new RegExp(Gc),i={parentheses:0,brackets:0,doubleApostrophe:0,singleApostrophe:0},a=this.scope.nodeType===U.documentNode?`Document`:`Element`,o=new this.window.DOMException(`Failed to execute 'querySelectorAll' on '${a}': '${e}' is not a valid selector.`),s=null,c=0,l=null,u=Uc.none;for(;s=r.exec(e);)if(s[1]){if(i.parentheses===0&&i.brackets===0&&i.singleApostrophe===0&&i.doubleApostrophe===0){let i=e.substring(c,s.index).trim();switch(s[1].trim()){case`,`:if(l=this.getSelectorGroupItem(i,u),!l){if(this.ignoreErrors)return[];throw o}t.push(l),t=[],n.push(t),u=Uc.none;break;case`>`:if(l=this.getSelectorGroupItem(i,u),!l){if(this.ignoreErrors)return[];throw o}t.push(l),u=Uc.child;break;case`+`:if(l=this.getSelectorGroupItem(i,u),!l){if(this.ignoreErrors)return[];throw o}t.push(l),u=Uc.adjacentSibling;break;case`~`:if(l=this.getSelectorGroupItem(i,u),!l){if(this.ignoreErrors)return[];throw o}t.push(l),u=Uc.subsequentSibling;break;case``:if(l=this.getSelectorGroupItem(i,u),!l){if(this.ignoreErrors)return[];throw o}t.push(l),u=Uc.descendant;break}c=r.lastIndex}}else switch(s[2]){case`(`:i.singleApostrophe===0&&i.doubleApostrophe===0&&i.parentheses++;break;case`)`:i.singleApostrophe===0&&i.doubleApostrophe===0&&i.parentheses--;break;case`[`:i.singleApostrophe===0&&i.doubleApostrophe===0&&i.brackets++;break;case`]`:i.singleApostrophe===0&&i.doubleApostrophe===0&&i.brackets--;break;case`"`:i.singleApostrophe===0&&(i.doubleApostrophe=i.doubleApostrophe===1?0:1);break;case`'`:i.doubleApostrophe===0&&(i.singleApostrophe=i.singleApostrophe===1?0:1);break}if(l=this.getSelectorGroupItem(e.substring(c),u),!l||i.parentheses!==0||i.brackets!==0||i.singleApostrophe!==0||i.doubleApostrophe!==0){if(this.ignoreErrors)return[];throw o}return u===Uc.none&&t.length>0?n.push([l]):t.push(l),n}getSelectorGroupItem(t,n){if(t=t.trim(),!t)return null;if(t===`*`)return new Wc({tagName:`*`,combinator:n});let r=new RegExp(Kc),i=new Wc({combinator:n}),a,o=0;for(;a=r.exec(t);){if(t.substring(o,a.index).trim()!==``)return null;if(a[1])i.tagName=`*`;else if(a[2])i.tagName=a[2].toUpperCase();else if(a[3])i.id=a[3].replace(Jc,``);else if(a[5])i.classNames=i.classNames||[],i.classNames.push(a[5].replace(Jc,``));else if(a[7])i.attributes=i.attributes||[],i.attributes.push({name:a[7].replace(Jc,``),operator:null,value:null,modifier:null,regExp:null});else if(a[9]&&(a[13]!==void 0||a[14]!==void 0)){let t=a[13]??a[14],n=e.cssUnescape(t);i.attributes=i.attributes||[],i.attributes.push({name:a[9].replace(Jc,``),operator:a[11]||null,value:n,modifier:a[15]||null,regExp:this.getAttributeRegExp({operator:a[11],value:n,modifier:a[15]})})}else if(a[16]&&a[19]!==void 0){let t=e.cssUnescape(a[19]);i.attributes=i.attributes||[],i.attributes.push({name:a[16].replace(Jc,``),operator:a[18]||null,value:t,modifier:null,regExp:this.getAttributeRegExp({operator:a[18],value:t})})}else if(a[21]){let e=new RegExp(qc),t=null,n=null,r=0,o=-1;for(;t=e.exec(a[0]);)if(t[1])r===0&&(n=t[1]);else if(t[2]){if(t[2]===`(`)r===0&&(o=e.lastIndex),r++;else if(t[2]===`)`){if(r--,r<0)return null;if(r===0){if(o===-1||!n)return null;i.pseudos=i.pseudos||[],i.pseudos.push(this.getPseudo(n,a[0].substring(o,t.index))),n=null,o=-1}}}}else a[22]?(i.pseudos=i.pseudos||[],i.pseudos.push(this.getPseudo(a[22],null))):a[23]&&(i.isPseudoElement=!0);o=r.lastIndex}return o<t.length?null:i}getAttributeRegExp(e){let t=e.modifier===`i`?`i`:``;if(!e.operator||!e.value)return null;let n=e.value.replace(Xc,`\\$&`);switch(e.operator){case`~`:return RegExp(`(^|\\s)${n}(\\s|$)`,t);case`|`:return RegExp(`^${n}[- ]|^${n}$`,t);case`^`:return RegExp(`^${n}`,t);case`$`:return RegExp(`${n}$`,t);case`*`:return RegExp(`${n}`,t);default:return null}}getPseudo(e,t){let n=e.toLowerCase();if(t&&=t.trim(),!t)return{name:n,arguments:null,selectorItems:null,nthFunction:null};switch(n){case`nth-last-child`:case`nth-child`:let e=t.indexOf(` of `),r=e===-1?t:t.substring(0,e),i=e===-1?null:this.getSelectorItem(t.substring(e+4).trim());return{name:n,arguments:t,selectorItems:i?[i]:null,nthFunction:this.getPseudoNthFunction(r)};case`nth-of-type`:case`nth-last-of-type`:return{name:n,arguments:t,selectorItems:null,nthFunction:this.getPseudoNthFunction(t)};case`not`:let a=[];for(let e of this.getSelectorGroups(t))e[0]&&a.push(e[0]);return{name:n,arguments:t,selectorItems:a,nthFunction:null};case`is`:case`where`:let o=[];for(let e of this.getSelectorGroups(t))e[0]&&o.push(e[0]);return{name:n,arguments:t,selectorItems:o,nthFunction:null};case`has`:let s=[];if(!t.includes(`:has(`)){let e=t;t[0]===`+`?e=t.replace(`+`,``):t[0]===`>`&&(e=t.replace(`>`,``));for(let t of this.getSelectorGroups(e))t[0]&&s.push(t[0])}return{name:n,arguments:t||``,selectorItems:s,nthFunction:null};default:return{name:n,arguments:t,selectorItems:null,nthFunction:null}}}getPseudoNthFunction(e){if(!e)return null;if(e===`odd`)return Zc.odd;if(e===`even`)return Zc.even;let t=e.replace(Qc,``).split(`n`),n=parseInt(t[0],10)||0;if(t[0]==`-`&&(n=-1),t.length===1)return e=>e==n;let r=parseInt(t[1],10)||0;return t[0]==`+`&&(r=1),n>=1||n<=-1?n>=1?Math.abs(n)===1?e=>e>r-1:e=>e>r-1&&(e+-1*r)%n===0:Math.abs(n)===1?e=>e<r+1:e=>e<r+1&&(e+-1*r)%n===0:t[0]?e=>e===r:e=>e>r-1}static cssUnescape(e){return e.replace(Yc,(e,t,n)=>t?String.fromCodePoint(parseInt(t,16)):n)}};const el=/^[.#\[]?\d|[.#]$/;var J=class{static querySelectorAll(e,t){let n=e[b];if(t===``)throw new n.DOMException(`Failed to execute 'querySelectorAll' on '${e.constructor.name}': The provided selector is empty.`);if(typeof t==`function`)throw new n.DOMException(`Failed to execute 'querySelectorAll' on '${e.constructor.name}': '${t}' is not a valid selector.`);if(typeof t==`symbol`)throw new n.TypeError(`Failed to execute 'querySelectorAll' on '${e.constructor.name}': Cannot convert a Symbol value to a string`);if(t=String(t),el.test(t))throw new n.DOMException(`Failed to execute 'querySelectorAll' on '${e.constructor.name}': '${t}' is not a valid selector.`);let r=e[M].querySelectorAll,i=r.get(t);if(i){if(i.result!==null){let e=i.result.deref();if(e)return e}r.delete(t)}let a=e[C]===U.documentNode?e.documentElement:e,o=new $c({window:n,scope:a}).getSelectorGroups(t),s=[],c=new Vc(N,s),l=new Map,u=[],d={result:new WeakRef(c)};e[M].querySelectorAll.set(t,d),e[x]&&(e[g]||e)[Xn].push(d);for(let t of o){let n=e[C]===U.elementNode?e:null,r=e[C]===U.elementNode?[e]:e[Yn],i=this.findAll({scope:a,rootElement:n,children:r,selectorItems:t,cachedItem:d});for(let e of i)l.has(e.documentPosition)||(l.set(e.documentPosition,e.element),u.push(e.documentPosition))}let f=u.sort();for(let e=0,t=f.length;e<t;e++)s.push(l.get(f[e]));return c}static querySelector(e,t){let n=e[b];if(t===``)throw new n.DOMException(`Failed to execute 'querySelector' on '${e.constructor.name}': The provided selector is empty.`);if(typeof t==`function`)throw new n.DOMException(`Failed to execute 'querySelector' on '${e.constructor.name}': '${t}' is not a valid selector.`);if(typeof t==`symbol`)throw new n.TypeError(`Failed to execute 'querySelector' on '${e.constructor.name}': Cannot convert a Symbol value to a string`);if(t=String(t),el.test(t))throw new n.DOMException(`Failed to execute 'querySelector' on '${e.constructor.name}': '${t}' is not a valid selector.`);let r=e[M].querySelector.get(t);if(r){if(r.result!==null){if(!r.result.element)return null;let e=r.result.element.deref();if(e)return e}e[M].querySelector.delete(t)}let i={result:{element:null}};e[M].querySelector.set(t,i),e[x]&&(e[g]||e)[Xn].push(i);let a=null,o=new Map,s=e[C]===U.documentNode?e.documentElement:e;for(let r of new $c({window:n,scope:s}).getSelectorGroups(t)){let t=e[C]===U.elementNode?e:null,n=e[C]===U.elementNode?[e]:e[Yn],c=this.findFirst({scope:s,rootElement:t,children:n,selectorItems:r,cachedItem:i});c&&!o.has(c.documentPosition)&&(o.set(c.documentPosition,!0),(!a||c.documentPosition<a.documentPosition)&&(a=c))}let c=a?.element||null;return i.result={element:c?new WeakRef(c):null},c}static matches(e,t,n){let r=n?.ignoreErrors,i=e[b];if(t===`*`)return{priorityWeight:1};if(t===``){if(r)return null;throw new i.DOMException(`Failed to execute 'matches' on '${e.constructor.name}': The provided selector is empty.`)}if(typeof t==`function`){if(r)return null;throw new i.DOMException(`Failed to execute 'matches' on '${e.constructor.name}': '${t}' is not a valid selector.`)}if(typeof t==`symbol`){if(r)return null;throw new i.TypeError(`Cannot convert a Symbol value to a string`)}if(t=String(t),el.test(t)){if(r)return null;throw new i.DOMException(`Failed to execute 'matches' on '${e.constructor.name}': '${t}' is not a valid selector.`)}let a=e[M].matches.get(t);if(a){if(a.result!==null)return a.result.match;e[M].matches.delete(t)}let o={result:{match:null}};e[M].matches.set(t,o),e[x]&&(e[g]||e)[Xn].push(o);let s=n?.scope||e,c=s[C]===U.documentNode?s.documentElement:s;for(let a of new $c({ignoreErrors:n?.ignoreErrors,window:i,scope:c}).getSelectorGroups(t)){let t=this.matchSelector({scope:c,element:e,selectorItems:a.slice().reverse(),cachedItem:o,ignoreErrors:r});if(t)return o.result.match=t,t}return null}static matchSelector(e,t=null,n=0){let{scope:r,element:i,selectorItems:a,cachedItem:o,ignoreErrors:s}=e,c=a[0];if(!c)return null;let l=c.match(r,i,s);if(l){if(a.length===1)return{priorityWeight:n+l.priorityWeight};switch(c.combinator){case Uc.adjacentSibling:let e=i.previousElementSibling;if(e){e[Xn].push(o);let t=this.matchSelector({scope:r,element:e,selectorItems:a.slice(1),cachedItem:o,ignoreErrors:s},c,n+l.priorityWeight);if(t)return t}break;case Uc.none:case Uc.child:case Uc.descendant:let t=i.parentElement;if(t){t[Xn].push(o);let e=this.matchSelector({scope:r,element:t,selectorItems:a.slice(1),cachedItem:o,ignoreErrors:s},c,n+l.priorityWeight);if(e)return e}break;case Uc.subsequentSibling:let u=i.parentElement;if(u){let e=u[Yn],t=e.indexOf(i);u[Xn].push(o);for(let i=t-1;i>=0;i--){let t=e[i];t[Xn].push(o);let u=this.matchSelector({scope:r,element:t,selectorItems:a.slice(1),cachedItem:o,ignoreErrors:s},c,n+l.priorityWeight);if(u)return u}}break}}if(t?.combinator===Uc.none||t?.combinator===Uc.descendant){let e=i.parentElement;if(e)return this.matchSelector({scope:r,element:e,selectorItems:a,cachedItem:o,ignoreErrors:s},t,n)}return null}static findAll(e,t){let{scope:n,rootElement:r,children:i,selectorItems:a,cachedItem:o}=e,s=a[0],c=a[1],l=[];if(!s)return[];for(let e=0,u=i.length;e<u;e++){let u=i[e],d=u[Yn],f=(t?t+`>`:``)+String.fromCharCode(e);if(u[Xn].push(o),s.match(n,u))if(!c)r!==u&&l.push({documentPosition:f,element:u});else switch(c.combinator){case Uc.adjacentSibling:let e=u.nextElementSibling;e&&(l=l.concat(this.findAll({scope:n,rootElement:r,children:[e],selectorItems:a.slice(1),cachedItem:o},f)));break;case Uc.none:case Uc.descendant:case Uc.child:l=l.concat(this.findAll({scope:n,rootElement:r,children:d,selectorItems:a.slice(1),cachedItem:o},f));break;case Uc.subsequentSibling:let t=i.indexOf(u);for(let e=t+1;e<i.length;e++){let t=i[e];l=l.concat(this.findAll({scope:n,rootElement:r,children:[t],selectorItems:a.slice(1),cachedItem:o},f))}break}(s.combinator===Uc.none||s.combinator===Uc.descendant)&&d.length&&(l=l.concat(this.findAll({scope:n,rootElement:r,children:d,selectorItems:a,cachedItem:o},f)))}return l}static findFirst(e,t){let{scope:n,rootElement:r,children:i,selectorItems:a,cachedItem:o}=e,s=a[0],c=a[1];if(!s)return null;for(let e=0,l=i.length;e<l;e++){let l=i[e],u=l[Yn],d=(t?t+`>`:``)+String.fromCharCode(e);if(l[Xn].push(o),s.match(n,l)){if(c)switch(c.combinator){case Uc.adjacentSibling:let e=l.nextElementSibling;if(e){let t=this.findFirst({scope:n,rootElement:r,children:[e],selectorItems:a.slice(1),cachedItem:o},d);if(t)return t}break;case Uc.none:case Uc.descendant:case Uc.child:let t=this.findFirst({scope:n,rootElement:r,children:u,selectorItems:a.slice(1),cachedItem:o},d);if(t)return t;break;case Uc.subsequentSibling:let s=i.indexOf(l);for(let e=s+1;e<i.length;e++){let t=i[e],s=this.findFirst({scope:n,rootElement:r,children:[t],selectorItems:a.slice(1),cachedItem:o},d);if(s)return s}break}else if(r!==l)return{documentPosition:d,element:l}}if((s.combinator===Uc.none||s.combinator===Uc.descendant)&&u.length){let e=this.findFirst({scope:n,rootElement:r,children:u,selectorItems:a,cachedItem:o},d);if(e)return e}}return null}},tl=class{static toPixels(e){let t=parseFloat(e.value),n=e.value.replace(t.toString(),``);if(isNaN(t))return null;switch(n){case`px`:return t;case`rem`:return this.round(t*parseFloat(e.rootFontSize));case`em`:return this.round(t*parseFloat(e.parentFontSize));case`vw`:return this.round(t*e.window.innerWidth/100);case`vh`:return this.round(t*e.window.innerHeight/100);case`%`:return e.parentSize!==void 0&&e.parentSize!==null?this.round(t*parseFloat(e.parentSize)/100):null;case`vmin`:return this.round(t*Math.min(e.window.innerWidth,e.window.innerHeight)/100);case`vmax`:return t*Math.max(e.window.innerWidth,e.window.innerHeight)/100;case`cm`:return this.round(t*37.7812);case`mm`:return this.round(t*3.7781);case`in`:return this.round(t*96);case`pt`:return this.round(t*1.3281);case`pc`:return this.round(t*16);case`Q`:return this.round(t*.945);default:return null}}static round(e){return Math.round(e*1e4)/1e4}},Y=class{static[Zr]=new Map;static[Qr]=0;#e;constructor(e){this.#e=e}getSettings(){return this.getBrowserFrame()?.page.context.browser.settings||null}getBrowser(){return this.getBrowserFrame()?.page.context.browser||null}getBrowserPage(){return this.getBrowserFrame()?.page||null}getBrowserContext(){return this.getBrowserFrame()?.page.context||null}getBrowserFrame(){return this.#e&&this.constructor[Zr].get(this.#e[Re])||null}getAsyncTaskManager(){return this.getBrowserFrame()?.[fe]||null}static setWindowBrowserFrameRelation(e,t){let n=this[Zr];e[Re]===-1&&(e[Re]=this[Qr],this[Qr]++),n.set(e[Re],t)}static removeWindowBrowserFrameRelation(e){this[Zr].delete(e[Re])}},nl=class{[Ke]={capturing:new Map,bubbling:new Map};[Ge]={capturing:new Map,bubbling:new Map};get[Symbol.toStringTag](){return`EventTarget`}addEventListener(e,t,n){n=typeof n==`boolean`?{capture:n}:n||{};let r=n.capture?`capturing`:`bubbling`,i=this[Ke][r].get(e),a;i?a=this[Ge][r].get(e):(i=[],a=[],this[Ke][r].set(e,i),this[Ge][r].set(e,a)),!i.includes(t)&&(i.push(t),a.push(n),n.signal&&!n.signal.aborted&&n.signal.addEventListener(`abort`,()=>{this.removeEventListener(e,t)}))}removeEventListener(e,t){let n=this[Ke].bubbling.get(e);if(n){let r=n.indexOf(t);if(r!==-1){n.splice(r,1),this[Ge].bubbling.get(e).splice(r,1);return}}let r=this[Ke].capturing.get(e);if(r){let n=r.indexOf(t);n!==-1&&(r.splice(n,1),this[Ge].capturing.get(e).splice(n,1))}}dispatchEvent(e){if(!(e instanceof W))throw new this[b].TypeError(`Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'.`);return!e[Oo]&&(e[qr]!==`load`||!e[dt])?(e[Oo]=!0,e[dt]=this[ar]||this,this.#e(e),e[Oo]=!1,!(e[Ur]&&e[Wr])):(this.#t(e),!(e[Ur]&&e[Wr]))}attachEvent(e,t){this.addEventListener(e.replace(`on`,``),t)}detachEvent(e,t){this.removeEventListener(e.replace(`on`,``),t)}[Me](){this[Ke].capturing.clear(),this[Ke].bubbling.clear(),this[Ge].capturing.clear(),this[Ge].bubbling.clear()}#e(e){let t=e.composedPath();e[Gr]=Es.capturing;for(let n=t.length-1;n>=0;n--)if(e[ke]=t[n],t[n].dispatchEvent(e),e[Qe]||e[ze]){e[Gr]=Es.none,e[ke]=null;return}if(e[Gr]=Es.atTarget,e[ke]=this[ar]||this,e[dt].dispatchEvent(e),e[Gr]=Es.bubbling,e[Hr]&&!e[Qe]&&!e[ze]){for(let n=1,r=t.length;n<r;n++)if(e[ke]=t[n],t[n].dispatchEvent(e),e[Qe]||e[ze]){e[Gr]=Es.none,e[ke]=null;return}}e[Gr]=Es.none,e[ke]=null}#t(e){let t=this[b],n=t?new Y(t).getSettings():null,r=e.eventPhase===Es.capturing?`capturing`:`bubbling`,i=this[Ke][r].get(e.type)?.slice();if(i&&i.length){let a=this[Ge][r].get(e.type).slice();for(let r=0,o=i.length;r<o;r++){let s=i[r],c=a[r];if(c?.passive&&(e[Ue]=!0),t&&(this!==t||e.type!==`error`)&&!n?.disableErrorCapturing&&n?.errorCapture===Ls.tryAndCatch)if(s.handleEvent){let n;try{n=s.handleEvent.call(s,e)}catch(e){t[zo](e)}n instanceof Promise&&n.catch(e=>t[zo](e))}else{let n;try{n=s.call(this,e)}catch(e){t[zo](e)}n instanceof Promise&&n.catch(e=>t[zo](e))}else s.handleEvent?s.handleEvent.call(s,e):s.call(this,e);if(e[Ue]=!1,c?.once&&(i.splice(r,1),a.splice(r,1),this.removeEventListener(e.type,s),r--,o--),e[ze])return}}if(e.eventPhase!==Es.capturing){let r=`on`+e.type.toLowerCase(),i=this[V],a=!i&&Object.hasOwn(this,r)&&this.constructor.name!==`EventTarget`;if(i||a){let a=i?.get(r)??this[r];if(typeof a==`function`)if(t&&(this!==t||e.type!==`error`)&&!n?.disableErrorCapturing&&n?.errorCapture===Ls.tryAndCatch){let n;try{n=a(e)}catch(e){t[zo](e)}n instanceof Promise&&n.catch(e=>t[zo](e))}else a(e)}}}},rl=class extends W{matches;media;constructor(e,t=null){super(e,t),this.matches=t?.matches??!1,this.media=t?.media??``}},il;(function(e){e.all=`all`,e.print=`print`,e.screen=`screen`})(il||={});var al=il,ol=class{mediaTypes;not;rules;ranges;rootFontSize=null;window;constructor(e){this.window=e.window,this.rootFontSize=e.rootFontSize||null,this.mediaTypes=e.mediaTypes||[],this.not=e.not||!1,this.rules=e.rules||[],this.ranges=e.ranges||[]}toString(){return`${this.not?`not `:``}${this.mediaTypes.join(`, `)}${(this.not||this.mediaTypes.length>0)&&this.ranges.length?` and `:``}${this.ranges.map(e=>`(${e.before?`${e.before.value} ${e.before.operator} `:``}${e.type}${e.after?` ${e.after.operator} ${e.after.value}`:``})`).join(` and `)}${(this.not||this.mediaTypes.length>0)&&this.rules.length?` and `:``}${this.rules.map(e=>e.value?`(${e.name}: ${e.value})`:`(${e.name})`).join(` and `)}`}matches(){return this.not?!this.matchesAll():this.matchesAll()}matchesAll(){if(this.mediaTypes.length){let e=!1;for(let t of this.mediaTypes)if(this.matchesMediaType(t)){e=!0;break}if(!e)return!1}for(let e of this.rules)if(!this.matchesRule(e))return!1;for(let e of this.ranges)if(!this.matchesRange(e))return!1;return!0}matchesMediaType(e){return e===al.all?!0:e===new Y(this.window).getSettings()?.device.mediaType}matchesRange(e){let t=e.type===`width`?this.window.innerWidth:this.window.innerHeight;if(e.before){let n=this.toPixels(e.before.value);if(n===null)return!1;switch(e.before.operator){case`<`:if(n>=t)return!1;break;case`<=`:if(n>t)return!1;break;case`>`:if(n<=t)return!1;break;case`>=`:if(n<t)return!1;break}}if(e.after){let n=this.toPixels(e.after.value);if(n===null)return!1;switch(e.after.operator){case`<`:if(t>=n)return!1;break;case`<=`:if(t>n)return!1;break;case`>`:if(t<=n)return!1;break;case`>=`:if(t<n)return!1;break}}return!0}matchesRule(e){let t=new Y(this.window).getSettings();if(!t)return!1;if(!e.value){switch(e.name){case`min-width`:case`max-width`:case`min-height`:case`max-height`:case`width`:case`height`:case`orientation`:case`prefers-color-scheme`:case`hover`:case`any-hover`:case`any-pointer`:case`pointer`:case`display-mode`:case`min-aspect-ratio`:case`max-aspect-ratio`:case`aspect-ratio`:return!0;case`prefers-reduced-motion`:return t.device.prefersReducedMotion===`reduce`;case`forced-colors`:return t.device.forcedColors===`active`}return!1}switch(e.name){case`min-width`:let n=this.toPixels(e.value);return n!==null&&this.window.innerWidth>=n;case`max-width`:let r=this.toPixels(e.value);return r!==null&&this.window.innerWidth<=r;case`min-height`:let i=this.toPixels(e.value);return i!==null&&this.window.innerHeight>=i;case`max-height`:let a=this.toPixels(e.value);return a!==null&&this.window.innerHeight<=a;case`width`:let o=this.toPixels(e.value);return o!==null&&this.window.innerWidth===o;case`height`:let s=this.toPixels(e.value);return s!==null&&this.window.innerHeight===s;case`orientation`:return e.value===`landscape`?this.window.innerWidth>this.window.innerHeight:this.window.innerWidth<this.window.innerHeight;case`prefers-color-scheme`:return e.value===t.device.prefersColorScheme;case`prefers-reduced-motion`:return e.value===t.device.prefersReducedMotion;case`forced-colors`:return(e.value===`none`||e.value===`active`)&&e.value===t.device.forcedColors;case`any-hover`:case`hover`:return e.value===`none`?this.window.navigator.maxTouchPoints>0:e.value===`hover`?this.window.navigator.maxTouchPoints===0:!1;case`any-pointer`:case`pointer`:return e.value===`none`?!1:e.value===`coarse`?this.window.navigator.maxTouchPoints>0:e.value===`fine`?this.window.navigator.maxTouchPoints===0:!1;case`display-mode`:return e.value===`browser`;case`min-aspect-ratio`:case`max-aspect-ratio`:case`aspect-ratio`:let c=e.value.split(`/`),l=parseInt(c[0],10),u=parseInt(c[1],10);if(isNaN(l)||isNaN(u))return!1;switch(e.name){case`min-aspect-ratio`:return l/u<=this.window.innerWidth/this.window.innerHeight;case`max-aspect-ratio`:return l/u>=this.window.innerWidth/this.window.innerHeight;case`aspect-ratio`:return l/u===this.window.innerWidth/this.window.innerHeight}}return!1}toPixels(e){return!new Y(this.window).getSettings()?.disableComputedStyleRendering&&e.endsWith(`em`)?(this.rootFontSize=this.rootFontSize||parseFloat(this.window.getComputedStyle(this.window.document.documentElement).fontSize),tl.toPixels({window:this.window,value:e,rootFontSize:this.rootFontSize,parentFontSize:this.rootFontSize})):tl.toPixels({window:this.window,value:e,rootFontSize:16,parentFontSize:16})}};const sl=/(not|only|all|screen|print)|\(([^\)]+)(\)){0,1}|(,)| +(or|and) +/g,cl=/[<>]/,ll=/(?:([0-9]+[a-z]+) *(<|<=|>|>=)){0,1} *(width|height) *(?:(<|<=|>|>=) *([0-9]+[a-z]+)){0,1}/;var ul=class{static parse(e){let t=new ol({window:e.window,rootFontSize:e.rootFontSize}),n=[t],r=new RegExp(sl),i=null;for(;i=r.exec(e.mediaQuery.toLowerCase());)if(i[4]===`,`||i[5]===`or`)t=new ol({window:e.window,rootFontSize:e.rootFontSize}),n.push(t);else if(i[1]===`all`||i[1]===`screen`||i[1]===`print`)t.mediaTypes.push(i[1]);else if(i[1]===`not`)t.not=!0;else if(i[2]){let n=cl.test(i[2])?i[2].match(ll):null;if(n&&(n[1]||n[5]))t.ranges.push({before:n[1]?{value:n[1],operator:n[2]}:null,type:n[3],after:n[5]?{value:n[5],operator:n[4]}:null});else{let[n,r]=i[2].split(`:`),a=r?r.trim():null;if(!a&&!i[3])return[new ol({window:e.window,rootFontSize:e.rootFontSize,not:!0,mediaTypes:[al.all]})];t.rules.push({name:n.trim(),value:a})}}return n}},dl=class extends nl{onchange=null;#e;#t=null;#n;#r=null;constructor(e){super(),this.#e=e.window,this.#n=e.media,this.#r=e.rootFontSize||null}get media(){return this.#t=this.#t||ul.parse({window:this.#e,mediaQuery:this.#n,rootFontSize:this.#r}),this.#t.map(e=>e.toString()).join(`, `)}get matches(){this.#t=this.#t||ul.parse({window:this.#e,mediaQuery:this.#n,rootFontSize:this.#r});for(let e of this.#t)if(!e.matches())return!1;return!0}addListener(e){this.addEventListener(`change`,e)}removeListener(e){this.removeEventListener(`change`,e)}addEventListener(e,t){if(super.addEventListener(e,t),e===`change`){let e=!1,n=()=>{let t=this.matches;t!==e&&(e=t,this.dispatchEvent(new rl(`change`,{matches:t,media:this.media})))};t[_t]=n,this.#e.addEventListener(`resize`,n)}}removeEventListener(e,t){super.removeEventListener(e,t),e===`change`&&t[_t]&&this.#e.removeEventListener(`resize`,t[_t])}},fl=class extends Ks{[Ho]=[];get cssRules(){return this[Ho]}insertRule(e,t){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'insertRule' on '${this.constructor.name}': 1 argument required, but only 0 present.`);let n=this[Xo].parseFromString(e);if(n.length===0||n.length>1)throw new this[b].DOMException(`Failed to execute 'insertRule' on '${this.constructor.name}': Failed to parse the rule '${e}'.`,H.syntaxError);if(t!==void 0){if(t=Number(t),isNaN(t)||t>this.cssRules.length)throw new this[b].DOMException(`Failed to execute 'insertRule' on '${this.constructor.name}': The index provided (${t}) is larger than the maximum index (${this.cssRules.length}).`,H.indexSizeError);return this.cssRules.splice(t,0,n[0]),t}let r=this.cssRules.length;return this.cssRules.unshift(n[0]),r}deleteRule(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'deleteRule' on '${this.constructor.name}': 1 argument required, but only 0 present.`);if(e=Number(e),isNaN(e)||e<0||e>=this.cssRules.length)throw new this[b].DOMException(`Failed to execute 'deleteRule' on '${this.constructor.name}': the index (${e}) is greater than the length of the rule list.`,H.indexSizeError);this.cssRules.splice(e,1)}},pl=class extends fl{[_]=``;[m]=``;[Qo]=``;get type(){return G.containerRule}get cssText(){let e=``;for(let t of this[Ho])e+=`
|
|
7
|
-
`+t.cssText;return e+=`
|
|
8
|
-
`,`@${this[Qo]}scope${this[_]?` (${this[_]})`:``}${this[m]?` to (${this[m]})`:``} {${e}}`}get start(){return this[_]}get end(){return this[m]}};const ml=/[0-9.]+(px|rem|em|vw|vh|%|vmin|vmax|cm|mm|in|pt|pc|Q)/g,hl=/:host\s*\(([^)]+)\)|:host-context\s*\(([^)]+)\)/,gl=/var\( *(--[^), ]+)\)/,_l=/var\( *(--[^), ]+), *([^), ]+)\)/;var vl=class{element;constructor(e){this.element=e}getComputedStyle(){let e=[],t=[],n={element:this.element,cssTexts:[]},r=[],i=[];if(!this.element[x])return new Ic;let a=this.element[M].computedStyle;if(a?.result){let e=a.result.deref();if(e)return e}for(;n.element;)if(n.element[C]===U.elementNode&&(n.element.getRootNode()[C]===U.documentNode?e.unshift(n):r.unshift(n),n.element.shadowRoot&&i.push(n),t.unshift(n)),n.element===this.element[g]){let t=this.getStyleSheets(this.element[g]);for(let n of t)this.parseCSSRules({elements:e,cssRules:n.cssRules});for(let e of i){let t=this.getStyleSheets(e.element.shadowRoot);for(let n of t)this.parseCSSRules({elements:[],cssRules:n.cssRules,hostElement:e})}n={element:null,cssTexts:[]}}else if(n.element[C]===U.documentFragmentNode&&n.element.host){let e=n.element,t=this.getStyleSheets(e);n={element:e.host,cssTexts:[]};for(let e of t)this.parseCSSRules({elements:r,cssRules:e.cssRules,hostElement:n});for(let e of i){let t=this.getStyleSheets(e.element.shadowRoot);for(let n of t)this.parseCSSRules({elements:[],cssRules:n.cssRules,hostElement:e})}i=[],r=[]}else n={element:n.element[S],cssTexts:[]};let o=t[t.length-1],s=new Ic,c={},l=16,u=16;for(let e of t){e.cssTexts.sort((e,t)=>e.priorityWeight-t.priorityWeight);let t=Lc[e.element[w]],n=``;if(t)if(typeof t==`string`)n+=t;else for(let r of Object.keys(t))(r===`default`||e.element[r])&&(n+=t[r]);for(let t of e.cssTexts)n+=t.cssText;let r=e.element.getAttribute(`style`);r&&(n+=r);let i=Pc.parse(n),a=i.rules;Object.assign(c,i.properties);for(let{name:t,value:n,important:r}of a)if(Rc[t]||e===o){let i=this.parseCSSVariablesInValue(n.trim(),c);if(i&&(!s.get(t)?.important||r)&&(s.set(t,i,r),t===`font`||t===`font-size`)){let t=s.properties[`font-size`];if(t!==null){let n=this.parseMeasurementsInValue({value:t.value,rootFontSize:l,parentFontSize:u,parentSize:u});e.element[w]===`HTML`?l=n:e!==o&&(u=n)}}}}for(let e of zc){let t=s.properties[e];t&&(t.value=this.parseMeasurementsInValue({value:t.value,rootFontSize:l,parentFontSize:u,parentSize:e===`font-size`?u:null}))}let d={result:new WeakRef(s)};return this.element[M].computedStyle=d,this.element[g][Qn].push(d),s}getStyleSheets(e){if(!e)return[];let t=e.querySelectorAll(`style,link[rel="stylesheet"]`),n=[];for(let e of t){let t=e.sheet;t&&n.push(t)}return e.adoptedStyleSheets&&(n=n.concat(e.adoptedStyleSheets)),n}parseCSSRules(e){if(!e.hostElement&&!e.elements.length)return;let t=this.element[b];for(let n of e.cssRules)if(n.type===G.styleRule){let t=n.selectorText;if(t)if(t[0]===`:`&&t.startsWith(`:host`)){if(e.hostElement){let r=!0;if(t!==`:host`){let i=t.match(hl);if(i)if(J.matches(e.hostElement.element,i[1]||i[2],{ignoreErrors:!0,scope:e.scopeElement?.element})){let i=t?.replace(hl,``).trim();if(i&&i[0]!==`:`){r=!1;for(let t of e.elements){let r=J.matches(t.element,i,{ignoreErrors:!0,scope:e.scopeElement?.element});r&&t.cssTexts.push({cssText:n[De],priorityWeight:10+r.priorityWeight})}}}else r=!1}r&&e.hostElement.cssTexts.push({cssText:n[De],priorityWeight:10})}}else for(let r of e.elements){let i=J.matches(r.element,t,{ignoreErrors:!0,scope:e.scopeElement?.element});i&&r.cssTexts.push({cssText:n[De],priorityWeight:i.priorityWeight})}}else if(n.type===G.mediaRule&&new dl({window:t,media:n.conditionText,rootFontSize:this.element[w]===`HTML`?16:null}).matches)this.parseCSSRules({elements:e.elements,cssRules:n.cssRules,hostElement:e.hostElement,scopeElement:e.scopeElement});else if(n.type===G.supportsRule)t.CSS.supports(n.conditionText)&&this.parseCSSRules({elements:e.elements,cssRules:n.cssRules,hostElement:e.hostElement,scopeElement:e.scopeElement});else if(n.type===G.containerRule&&n instanceof pl){let t=[],r=null;for(let i of e.elements)if(r){if(n[m]&&J.matches(i.element,n[m],{ignoreErrors:!0,scope:r.element}))break;t.push(i)}else J.matches(i.element,n[_]||`:root`,{ignoreErrors:!0})&&(r=i,t.push(i));t.length&&this.parseCSSRules({elements:t,cssRules:n.cssRules,hostElement:e.hostElement,scopeElement:r})}}parseCSSVariablesInValue(e,t){let n=e,r;for(;(r=n.match(gl))!=null;)n=n.replace(r[0],t[r[1]]||``);for(;(r=n.match(_l))!==null;)n=n.replace(r[0],t[r[1]]||r[2]);return n}parseMeasurementsInValue(e){if(new Y(this.element[b]).getSettings()?.disableComputedStyleRendering)return e.value;let t=new RegExp(ml),n=e.value,r;for(;(r=t.exec(e.value))!==null;)if(r[1]!==`px`){let t=tl.toPixels({window:this.element[b],value:r[0],rootFontSize:e.rootFontSize,parentFontSize:e.parentFontSize,parentSize:e.parentSize});t!==null&&(n=n.replace(r[0],t+`px`))}return n}},yl=class{parentRule=null;[b];#e;#t;#n={attributeValue:null,propertyManager:null};constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this.#e=n?.element||null,this.#t=n?.element?!!n?.computed:!1}get 0(){return this.item(0)||void 0}get 1(){return this.item(1)||void 0}get 2(){return this.item(2)||void 0}get 3(){return this.item(3)||void 0}get 4(){return this.item(4)||void 0}get 5(){return this.item(5)||void 0}get 6(){return this.item(6)||void 0}get 7(){return this.item(7)||void 0}get 8(){return this.item(8)||void 0}get 9(){return this.item(9)||void 0}get 10(){return this.item(10)||void 0}get 11(){return this.item(11)||void 0}get 12(){return this.item(12)||void 0}get 13(){return this.item(13)||void 0}get 14(){return this.item(14)||void 0}get 15(){return this.item(15)||void 0}get 16(){return this.item(16)||void 0}get 17(){return this.item(17)||void 0}get 18(){return this.item(18)||void 0}get 19(){return this.item(19)||void 0}get 20(){return this.item(20)||void 0}get 21(){return this.item(21)||void 0}get 22(){return this.item(22)||void 0}get 23(){return this.item(23)||void 0}get 24(){return this.item(24)||void 0}get 25(){return this.item(25)||void 0}get 26(){return this.item(26)||void 0}get 27(){return this.item(27)||void 0}get 28(){return this.item(28)||void 0}get 29(){return this.item(29)||void 0}get 30(){return this.item(30)||void 0}get 31(){return this.item(31)||void 0}get 32(){return this.item(32)||void 0}get 33(){return this.item(33)||void 0}get 34(){return this.item(34)||void 0}get 35(){return this.item(35)||void 0}get 36(){return this.item(36)||void 0}get 37(){return this.item(37)||void 0}get 38(){return this.item(38)||void 0}get 39(){return this.item(39)||void 0}get 40(){return this.item(40)||void 0}get 41(){return this.item(41)||void 0}get 42(){return this.item(42)||void 0}get 43(){return this.item(43)||void 0}get 44(){return this.item(44)||void 0}get 45(){return this.item(45)||void 0}get 46(){return this.item(46)||void 0}get 47(){return this.item(47)||void 0}get 48(){return this.item(48)||void 0}get 49(){return this.item(49)||void 0}get 50(){return this.item(50)||void 0}get 51(){return this.item(51)||void 0}get 52(){return this.item(52)||void 0}get 53(){return this.item(53)||void 0}get 54(){return this.item(54)||void 0}get 55(){return this.item(55)||void 0}get 56(){return this.item(56)||void 0}get 57(){return this.item(57)||void 0}get 58(){return this.item(58)||void 0}get 59(){return this.item(59)||void 0}get 60(){return this.item(60)||void 0}get 61(){return this.item(61)||void 0}get 62(){return this.item(62)||void 0}get 63(){return this.item(63)||void 0}get 64(){return this.item(64)||void 0}get 65(){return this.item(65)||void 0}get 66(){return this.item(66)||void 0}get 67(){return this.item(67)||void 0}get 68(){return this.item(68)||void 0}get 69(){return this.item(69)||void 0}get 70(){return this.item(70)||void 0}get 71(){return this.item(71)||void 0}get 72(){return this.item(72)||void 0}get 73(){return this.item(73)||void 0}get 74(){return this.item(74)||void 0}get 75(){return this.item(75)||void 0}get 76(){return this.item(76)||void 0}get 77(){return this.item(77)||void 0}get 78(){return this.item(78)||void 0}get 79(){return this.item(79)||void 0}get 80(){return this.item(80)||void 0}get 81(){return this.item(81)||void 0}get 82(){return this.item(82)||void 0}get 83(){return this.item(83)||void 0}get 84(){return this.item(84)||void 0}get 85(){return this.item(85)||void 0}get 86(){return this.item(86)||void 0}get 87(){return this.item(87)||void 0}get 88(){return this.item(88)||void 0}get 89(){return this.item(89)||void 0}get 90(){return this.item(90)||void 0}get 91(){return this.item(91)||void 0}get 92(){return this.item(92)||void 0}get 93(){return this.item(93)||void 0}get 94(){return this.item(94)||void 0}get 95(){return this.item(95)||void 0}get 96(){return this.item(96)||void 0}get 97(){return this.item(97)||void 0}get 98(){return this.item(98)||void 0}get 99(){return this.item(99)||void 0}get 100(){return this.item(100)||void 0}get 101(){return this.item(101)||void 0}get 102(){return this.item(102)||void 0}get 103(){return this.item(103)||void 0}get 104(){return this.item(104)||void 0}get 105(){return this.item(105)||void 0}get 106(){return this.item(106)||void 0}get 107(){return this.item(107)||void 0}get 108(){return this.item(108)||void 0}get 109(){return this.item(109)||void 0}get 110(){return this.item(110)||void 0}get 111(){return this.item(111)||void 0}get 112(){return this.item(112)||void 0}get 113(){return this.item(113)||void 0}get 114(){return this.item(114)||void 0}get 115(){return this.item(115)||void 0}get 116(){return this.item(116)||void 0}get 117(){return this.item(117)||void 0}get 118(){return this.item(118)||void 0}get 119(){return this.item(119)||void 0}get 120(){return this.item(120)||void 0}get 121(){return this.item(121)||void 0}get 122(){return this.item(122)||void 0}get 123(){return this.item(123)||void 0}get 124(){return this.item(124)||void 0}get 125(){return this.item(125)||void 0}get 126(){return this.item(126)||void 0}get 127(){return this.item(127)||void 0}get 128(){return this.item(128)||void 0}get 129(){return this.item(129)||void 0}get 130(){return this.item(130)||void 0}get 131(){return this.item(131)||void 0}get 132(){return this.item(132)||void 0}get 133(){return this.item(133)||void 0}get 134(){return this.item(134)||void 0}get 135(){return this.item(135)||void 0}get 136(){return this.item(136)||void 0}get 137(){return this.item(137)||void 0}get 138(){return this.item(138)||void 0}get 139(){return this.item(139)||void 0}get 140(){return this.item(140)||void 0}get 141(){return this.item(141)||void 0}get 142(){return this.item(142)||void 0}get 143(){return this.item(143)||void 0}get 144(){return this.item(144)||void 0}get 145(){return this.item(145)||void 0}get 146(){return this.item(146)||void 0}get 147(){return this.item(147)||void 0}get 148(){return this.item(148)||void 0}get 149(){return this.item(149)||void 0}get 150(){return this.item(150)||void 0}get 151(){return this.item(151)||void 0}get 152(){return this.item(152)||void 0}get 153(){return this.item(153)||void 0}get 154(){return this.item(154)||void 0}get 155(){return this.item(155)||void 0}get 156(){return this.item(156)||void 0}get 157(){return this.item(157)||void 0}get 158(){return this.item(158)||void 0}get 159(){return this.item(159)||void 0}get 160(){return this.item(160)||void 0}get 161(){return this.item(161)||void 0}get 162(){return this.item(162)||void 0}get 163(){return this.item(163)||void 0}get 164(){return this.item(164)||void 0}get 165(){return this.item(165)||void 0}get 166(){return this.item(166)||void 0}get 167(){return this.item(167)||void 0}get 168(){return this.item(168)||void 0}get 169(){return this.item(169)||void 0}get 170(){return this.item(170)||void 0}get 171(){return this.item(171)||void 0}get 172(){return this.item(172)||void 0}get 173(){return this.item(173)||void 0}get 174(){return this.item(174)||void 0}get 175(){return this.item(175)||void 0}get 176(){return this.item(176)||void 0}get 177(){return this.item(177)||void 0}get 178(){return this.item(178)||void 0}get 179(){return this.item(179)||void 0}get 180(){return this.item(180)||void 0}get 181(){return this.item(181)||void 0}get 182(){return this.item(182)||void 0}get 183(){return this.item(183)||void 0}get 184(){return this.item(184)||void 0}get 185(){return this.item(185)||void 0}get 186(){return this.item(186)||void 0}get 187(){return this.item(187)||void 0}get 188(){return this.item(188)||void 0}get 189(){return this.item(189)||void 0}get 190(){return this.item(190)||void 0}get 191(){return this.item(191)||void 0}get 192(){return this.item(192)||void 0}get 193(){return this.item(193)||void 0}get 194(){return this.item(194)||void 0}get 195(){return this.item(195)||void 0}get 196(){return this.item(196)||void 0}get 197(){return this.item(197)||void 0}get 198(){return this.item(198)||void 0}get 199(){return this.item(199)||void 0}get 200(){return this.item(200)||void 0}get 201(){return this.item(201)||void 0}get 202(){return this.item(202)||void 0}get 203(){return this.item(203)||void 0}get 204(){return this.item(204)||void 0}get 205(){return this.item(205)||void 0}get 206(){return this.item(206)||void 0}get 207(){return this.item(207)||void 0}get 208(){return this.item(208)||void 0}get 209(){return this.item(209)||void 0}get 210(){return this.item(210)||void 0}get 211(){return this.item(211)||void 0}get 212(){return this.item(212)||void 0}get 213(){return this.item(213)||void 0}get 214(){return this.item(214)||void 0}get 215(){return this.item(215)||void 0}get 216(){return this.item(216)||void 0}get 217(){return this.item(217)||void 0}get 218(){return this.item(218)||void 0}get 219(){return this.item(219)||void 0}get 220(){return this.item(220)||void 0}get 221(){return this.item(221)||void 0}get 222(){return this.item(222)||void 0}get 223(){return this.item(223)||void 0}get 224(){return this.item(224)||void 0}get 225(){return this.item(225)||void 0}get 226(){return this.item(226)||void 0}get 227(){return this.item(227)||void 0}get 228(){return this.item(228)||void 0}get 229(){return this.item(229)||void 0}get 230(){return this.item(230)||void 0}get 231(){return this.item(231)||void 0}get 232(){return this.item(232)||void 0}get 233(){return this.item(233)||void 0}get 234(){return this.item(234)||void 0}get 235(){return this.item(235)||void 0}get 236(){return this.item(236)||void 0}get 237(){return this.item(237)||void 0}get 238(){return this.item(238)||void 0}get 239(){return this.item(239)||void 0}get 240(){return this.item(240)||void 0}get 241(){return this.item(241)||void 0}get 242(){return this.item(242)||void 0}get 243(){return this.item(243)||void 0}get 244(){return this.item(244)||void 0}get 245(){return this.item(245)||void 0}get 246(){return this.item(246)||void 0}get 247(){return this.item(247)||void 0}get 248(){return this.item(248)||void 0}get 249(){return this.item(249)||void 0}get 250(){return this.item(250)||void 0}get 251(){return this.item(251)||void 0}get 252(){return this.item(252)||void 0}get 253(){return this.item(253)||void 0}get 254(){return this.item(254)||void 0}get 255(){return this.item(255)||void 0}get 256(){return this.item(256)||void 0}get 257(){return this.item(257)||void 0}get 258(){return this.item(258)||void 0}get 259(){return this.item(259)||void 0}get 260(){return this.item(260)||void 0}get 261(){return this.item(261)||void 0}get 262(){return this.item(262)||void 0}get 263(){return this.item(263)||void 0}get 264(){return this.item(264)||void 0}get 265(){return this.item(265)||void 0}get 266(){return this.item(266)||void 0}get 267(){return this.item(267)||void 0}get 268(){return this.item(268)||void 0}get 269(){return this.item(269)||void 0}get 270(){return this.item(270)||void 0}get 271(){return this.item(271)||void 0}get 272(){return this.item(272)||void 0}get 273(){return this.item(273)||void 0}get 274(){return this.item(274)||void 0}get 275(){return this.item(275)||void 0}get 276(){return this.item(276)||void 0}get 277(){return this.item(277)||void 0}get 278(){return this.item(278)||void 0}get 279(){return this.item(279)||void 0}get 280(){return this.item(280)||void 0}get 281(){return this.item(281)||void 0}get 282(){return this.item(282)||void 0}get 283(){return this.item(283)||void 0}get 284(){return this.item(284)||void 0}get 285(){return this.item(285)||void 0}get 286(){return this.item(286)||void 0}get 287(){return this.item(287)||void 0}get 288(){return this.item(288)||void 0}get 289(){return this.item(289)||void 0}get 290(){return this.item(290)||void 0}get 291(){return this.item(291)||void 0}get 292(){return this.item(292)||void 0}get 293(){return this.item(293)||void 0}get 294(){return this.item(294)||void 0}get 295(){return this.item(295)||void 0}get 296(){return this.item(296)||void 0}get 297(){return this.item(297)||void 0}get 298(){return this.item(298)||void 0}get 299(){return this.item(299)||void 0}get 300(){return this.item(300)||void 0}get 301(){return this.item(301)||void 0}get 302(){return this.item(302)||void 0}get 303(){return this.item(303)||void 0}get 304(){return this.item(304)||void 0}get 305(){return this.item(305)||void 0}get 306(){return this.item(306)||void 0}get 307(){return this.item(307)||void 0}get 308(){return this.item(308)||void 0}get 309(){return this.item(309)||void 0}get 310(){return this.item(310)||void 0}get 311(){return this.item(311)||void 0}get 312(){return this.item(312)||void 0}get 313(){return this.item(313)||void 0}get 314(){return this.item(314)||void 0}get 315(){return this.item(315)||void 0}get 316(){return this.item(316)||void 0}get 317(){return this.item(317)||void 0}get 318(){return this.item(318)||void 0}get 319(){return this.item(319)||void 0}get 320(){return this.item(320)||void 0}get 321(){return this.item(321)||void 0}get 322(){return this.item(322)||void 0}get 323(){return this.item(323)||void 0}get 324(){return this.item(324)||void 0}get 325(){return this.item(325)||void 0}get 326(){return this.item(326)||void 0}get 327(){return this.item(327)||void 0}get 328(){return this.item(328)||void 0}get 329(){return this.item(329)||void 0}get 330(){return this.item(330)||void 0}get 331(){return this.item(331)||void 0}get 332(){return this.item(332)||void 0}get 333(){return this.item(333)||void 0}get 334(){return this.item(334)||void 0}get 335(){return this.item(335)||void 0}get 336(){return this.item(336)||void 0}get 337(){return this.item(337)||void 0}get 338(){return this.item(338)||void 0}get 339(){return this.item(339)||void 0}get 340(){return this.item(340)||void 0}get 341(){return this.item(341)||void 0}get 342(){return this.item(342)||void 0}get 343(){return this.item(343)||void 0}get 344(){return this.item(344)||void 0}get 345(){return this.item(345)||void 0}get 346(){return this.item(346)||void 0}get 347(){return this.item(347)||void 0}get 348(){return this.item(348)||void 0}get 349(){return this.item(349)||void 0}get 350(){return this.item(350)||void 0}get 351(){return this.item(351)||void 0}get 352(){return this.item(352)||void 0}get 353(){return this.item(353)||void 0}get 354(){return this.item(354)||void 0}get 355(){return this.item(355)||void 0}get 356(){return this.item(356)||void 0}get 357(){return this.item(357)||void 0}get 358(){return this.item(358)||void 0}get 359(){return this.item(359)||void 0}get 360(){return this.item(360)||void 0}get 361(){return this.item(361)||void 0}get 362(){return this.item(362)||void 0}get 363(){return this.item(363)||void 0}get 364(){return this.item(364)||void 0}get 365(){return this.item(365)||void 0}get 366(){return this.item(366)||void 0}get 367(){return this.item(367)||void 0}get 368(){return this.item(368)||void 0}get 369(){return this.item(369)||void 0}get 370(){return this.item(370)||void 0}get 371(){return this.item(371)||void 0}get 372(){return this.item(372)||void 0}get 373(){return this.item(373)||void 0}get 374(){return this.item(374)||void 0}get 375(){return this.item(375)||void 0}get 376(){return this.item(376)||void 0}get 377(){return this.item(377)||void 0}get 378(){return this.item(378)||void 0}get 379(){return this.item(379)||void 0}get 380(){return this.item(380)||void 0}get 381(){return this.item(381)||void 0}get 382(){return this.item(382)||void 0}get 383(){return this.item(383)||void 0}get 384(){return this.item(384)||void 0}get 385(){return this.item(385)||void 0}get 386(){return this.item(386)||void 0}get 387(){return this.item(387)||void 0}get 388(){return this.item(388)||void 0}get 389(){return this.item(389)||void 0}get 390(){return this.item(390)||void 0}get 391(){return this.item(391)||void 0}get 392(){return this.item(392)||void 0}get 393(){return this.item(393)||void 0}get accentColor(){return this.getPropertyValue(`accent-color`)}set accentColor(e){this.setProperty(`accent-color`,e)}get appRegion(){return this.getPropertyValue(`app-region`)}set appRegion(e){this.setProperty(`app-region`,e)}get alignContent(){return this.getPropertyValue(`align-content`)}set alignContent(e){this.setProperty(`align-content`,e)}get alignItems(){return this.getPropertyValue(`align-items`)}set alignItems(e){this.setProperty(`align-items`,e)}get alignSelf(){return this.getPropertyValue(`align-self`)}set alignSelf(e){this.setProperty(`align-self`,e)}get alignmentBaseline(){return this.getPropertyValue(`alignment-baseline`)}set alignmentBaseline(e){this.setProperty(`alignment-baseline`,e)}get all(){return this.getPropertyValue(`all`)}set all(e){this.setProperty(`all`,e)}get animation(){return this.getPropertyValue(`animation`)}set animation(e){this.setProperty(`animation`,e)}get animationDelay(){return this.getPropertyValue(`animation-delay`)}set animationDelay(e){this.setProperty(`animation-delay`,e)}get animationDirection(){return this.getPropertyValue(`animation-direction`)}set animationDirection(e){this.setProperty(`animation-direction`,e)}get animationDuration(){return this.getPropertyValue(`animation-duration`)}set animationDuration(e){this.setProperty(`animation-duration`,e)}get animationFillMode(){return this.getPropertyValue(`animation-fill-mode`)}set animationFillMode(e){this.setProperty(`animation-fill-mode`,e)}get animationIterationCount(){return this.getPropertyValue(`animation-iteration-count`)}set animationIterationCount(e){this.setProperty(`animation-iteration-count`,e)}get animationName(){return this.getPropertyValue(`animation-name`)}set animationName(e){this.setProperty(`animation-name`,e)}get animationPlayState(){return this.getPropertyValue(`animation-play-state`)}set animationPlayState(e){this.setProperty(`animation-play-state`,e)}get animationTimingFunction(){return this.getPropertyValue(`animation-timing-function`)}set animationTimingFunction(e){this.setProperty(`animation-timing-function`,e)}get appearance(){return this.getPropertyValue(`appearance`)}set appearance(e){this.setProperty(`appearance`,e)}get backdropFilter(){return this.getPropertyValue(`backdrop-filter`)}set backdropFilter(e){this.setProperty(`backdrop-filter`,e)}get backfaceVisibility(){return this.getPropertyValue(`backface-visibility`)}set backfaceVisibility(e){this.setProperty(`backface-visibility`,e)}get background(){return this.getPropertyValue(`background`)}set background(e){this.setProperty(`background`,e)}get backgroundAttachment(){return this.getPropertyValue(`background-attachment`)}set backgroundAttachment(e){this.setProperty(`background-attachment`,e)}get backgroundBlendMode(){return this.getPropertyValue(`background-blend-mode`)}set backgroundBlendMode(e){this.setProperty(`background-blend-mode`,e)}get backgroundClip(){return this.getPropertyValue(`background-clip`)}set backgroundClip(e){this.setProperty(`background-clip`,e)}get backgroundColor(){return this.getPropertyValue(`background-color`)}set backgroundColor(e){this.setProperty(`background-color`,e)}get backgroundImage(){return this.getPropertyValue(`background-image`)}set backgroundImage(e){this.setProperty(`background-image`,e)}get backgroundOrigin(){return this.getPropertyValue(`background-origin`)}set backgroundOrigin(e){this.setProperty(`background-origin`,e)}get backgroundPosition(){return this.getPropertyValue(`background-position`)}set backgroundPosition(e){this.setProperty(`background-position`,e)}get backgroundPositionX(){return this.getPropertyValue(`background-position-x`)}set backgroundPositionX(e){this.setProperty(`background-position-x`,e)}get backgroundPositionY(){return this.getPropertyValue(`background-position-y`)}set backgroundPositionY(e){this.setProperty(`background-position-y`,e)}get backgroundRepeat(){return this.getPropertyValue(`background-repeat`)}set backgroundRepeat(e){this.setProperty(`background-repeat`,e)}get backgroundRepeatX(){return this.getPropertyValue(`background-repeat-x`)}set backgroundRepeatX(e){this.setProperty(`background-repeat-x`,e)}get backgroundRepeatY(){return this.getPropertyValue(`background-repeat-y`)}set backgroundRepeatY(e){this.setProperty(`background-repeat-y`,e)}get backgroundSize(){return this.getPropertyValue(`background-size`)}set backgroundSize(e){this.setProperty(`background-size`,e)}get baselineShift(){return this.getPropertyValue(`baseline-shift`)}set baselineShift(e){this.setProperty(`baseline-shift`,e)}get blockSize(){return this.getPropertyValue(`block-size`)}set blockSize(e){this.setProperty(`block-size`,e)}get border(){return this.getPropertyValue(`border`)}set border(e){this.setProperty(`border`,e)}get borderBlockEnd(){return this.getPropertyValue(`border-block-end`)}set borderBlockEnd(e){this.setProperty(`border-block-end`,e)}get borderBlockEndColor(){return this.getPropertyValue(`border-block-end-color`)}set borderBlockEndColor(e){this.setProperty(`border-block-end-color`,e)}get borderBlockEndStyle(){return this.getPropertyValue(`border-block-end-style`)}set borderBlockEndStyle(e){this.setProperty(`border-block-end-style`,e)}get borderBlockEndWidth(){return this.getPropertyValue(`border-block-end-width`)}set borderBlockEndWidth(e){this.setProperty(`border-block-end-width`,e)}get borderBlockStart(){return this.getPropertyValue(`border-block-start`)}set borderBlockStart(e){this.setProperty(`border-block-start`,e)}get borderBlockStartColor(){return this.getPropertyValue(`border-block-start-color`)}set borderBlockStartColor(e){this.setProperty(`border-block-start-color`,e)}get borderBlockStartStyle(){return this.getPropertyValue(`border-block-start-style`)}set borderBlockStartStyle(e){this.setProperty(`border-block-start-style`,e)}get borderBlockStartWidth(){return this.getPropertyValue(`border-block-start-width`)}set borderBlockStartWidth(e){this.setProperty(`border-block-start-width`,e)}get borderBottom(){return this.getPropertyValue(`border-bottom`)}set borderBottom(e){this.setProperty(`border-bottom`,e)}get borderBottomColor(){return this.getPropertyValue(`border-bottom-color`)}set borderBottomColor(e){this.setProperty(`border-bottom-color`,e)}get borderBottomLeftRadius(){return this.getPropertyValue(`border-bottom-left-radius`)}set borderBottomLeftRadius(e){this.setProperty(`border-bottom-left-radius`,e)}get borderBottomRightRadius(){return this.getPropertyValue(`border-bottom-right-radius`)}set borderBottomRightRadius(e){this.setProperty(`border-bottom-right-radius`,e)}get borderBottomStyle(){return this.getPropertyValue(`border-bottom-style`)}set borderBottomStyle(e){this.setProperty(`border-bottom-style`,e)}get borderBottomWidth(){return this.getPropertyValue(`border-bottom-width`)}set borderBottomWidth(e){this.setProperty(`border-bottom-width`,e)}get borderCollapse(){return this.getPropertyValue(`border-collapse`)}set borderCollapse(e){this.setProperty(`border-collapse`,e)}get borderColor(){return this.getPropertyValue(`border-color`)}set borderColor(e){this.setProperty(`border-color`,e)}get borderImage(){return this.getPropertyValue(`border-image`)}set borderImage(e){this.setProperty(`border-image`,e)}get borderImageOutset(){return this.getPropertyValue(`border-image-outset`)}set borderImageOutset(e){this.setProperty(`border-image-outset`,e)}get borderImageRepeat(){return this.getPropertyValue(`border-image-repeat`)}set borderImageRepeat(e){this.setProperty(`border-image-repeat`,e)}get borderImageSlice(){return this.getPropertyValue(`border-image-slice`)}set borderImageSlice(e){this.setProperty(`border-image-slice`,e)}get borderImageSource(){return this.getPropertyValue(`border-image-source`)}set borderImageSource(e){this.setProperty(`border-image-source`,e)}get borderImageWidth(){return this.getPropertyValue(`border-image-width`)}set borderImageWidth(e){this.setProperty(`border-image-width`,e)}get borderInlineEnd(){return this.getPropertyValue(`border-inline-end`)}set borderInlineEnd(e){this.setProperty(`border-inline-end`,e)}get borderInlineEndColor(){return this.getPropertyValue(`border-inline-end-color`)}set borderInlineEndColor(e){this.setProperty(`border-inline-end-color`,e)}get borderInlineEndStyle(){return this.getPropertyValue(`border-inline-end-style`)}set borderInlineEndStyle(e){this.setProperty(`border-inline-end-style`,e)}get borderInlineEndWidth(){return this.getPropertyValue(`border-inline-end-width`)}set borderInlineEndWidth(e){this.setProperty(`border-inline-end-width`,e)}get borderInlineStart(){return this.getPropertyValue(`border-inline-start`)}set borderInlineStart(e){this.setProperty(`border-inline-start`,e)}get borderInlineStartColor(){return this.getPropertyValue(`border-inline-start-color`)}set borderInlineStartColor(e){this.setProperty(`border-inline-start-color`,e)}get borderInlineStartStyle(){return this.getPropertyValue(`border-inline-start-style`)}set borderInlineStartStyle(e){this.setProperty(`border-inline-start-style`,e)}get borderInlineStartWidth(){return this.getPropertyValue(`border-inline-start-width`)}set borderInlineStartWidth(e){this.setProperty(`border-inline-start-width`,e)}get borderLeft(){return this.getPropertyValue(`border-left`)}set borderLeft(e){this.setProperty(`border-left`,e)}get borderLeftColor(){return this.getPropertyValue(`border-left-color`)}set borderLeftColor(e){this.setProperty(`border-left-color`,e)}get borderLeftStyle(){return this.getPropertyValue(`border-left-style`)}set borderLeftStyle(e){this.setProperty(`border-left-style`,e)}get borderLeftWidth(){return this.getPropertyValue(`border-left-width`)}set borderLeftWidth(e){this.setProperty(`border-left-width`,e)}get borderRadius(){return this.getPropertyValue(`border-radius`)}set borderRadius(e){this.setProperty(`border-radius`,e)}get borderRight(){return this.getPropertyValue(`border-right`)}set borderRight(e){this.setProperty(`border-right`,e)}get borderRightColor(){return this.getPropertyValue(`border-right-color`)}set borderRightColor(e){this.setProperty(`border-right-color`,e)}get borderRightStyle(){return this.getPropertyValue(`border-right-style`)}set borderRightStyle(e){this.setProperty(`border-right-style`,e)}get borderRightWidth(){return this.getPropertyValue(`border-right-width`)}set borderRightWidth(e){this.setProperty(`border-right-width`,e)}get borderSpacing(){return this.getPropertyValue(`border-spacing`)}set borderSpacing(e){this.setProperty(`border-spacing`,e)}get borderStyle(){return this.getPropertyValue(`border-style`)}set borderStyle(e){this.setProperty(`border-style`,e)}get borderTop(){return this.getPropertyValue(`border-top`)}set borderTop(e){this.setProperty(`border-top`,e)}get borderTopColor(){return this.getPropertyValue(`border-top-color`)}set borderTopColor(e){this.setProperty(`border-top-color`,e)}get borderTopLeftRadius(){return this.getPropertyValue(`border-top-left-radius`)}set borderTopLeftRadius(e){this.setProperty(`border-top-left-radius`,e)}get borderTopRightRadius(){return this.getPropertyValue(`border-top-right-radius`)}set borderTopRightRadius(e){this.setProperty(`border-top-right-radius`,e)}get borderTopStyle(){return this.getPropertyValue(`border-top-style`)}set borderTopStyle(e){this.setProperty(`border-top-style`,e)}get borderTopWidth(){return this.getPropertyValue(`border-top-width`)}set borderTopWidth(e){this.setProperty(`border-top-width`,e)}get borderWidth(){return this.getPropertyValue(`border-width`)}set borderWidth(e){this.setProperty(`border-width`,e)}get borderEndEndRadius(){return this.getPropertyValue(`border-end-end-radius`)}set borderEndEndRadius(e){this.setProperty(`border-end-end-radius`,e)}get borderEndStartRadius(){return this.getPropertyValue(`border-end-start-radius`)}set borderEndStartRadius(e){this.setProperty(`border-end-start-radius`,e)}get borderStartEndRadius(){return this.getPropertyValue(`border-start-end-radius`)}set borderStartEndRadius(e){this.setProperty(`border-start-end-radius`,e)}get borderStartStartRadius(){return this.getPropertyValue(`border-start-start-radius`)}set borderStartStartRadius(e){this.setProperty(`border-start-start-radius`,e)}get bottom(){return this.getPropertyValue(`bottom`)}set bottom(e){this.setProperty(`bottom`,e)}get boxShadow(){return this.getPropertyValue(`box-shadow`)}set boxShadow(e){this.setProperty(`box-shadow`,e)}get boxSizing(){return this.getPropertyValue(`box-sizing`)}set boxSizing(e){this.setProperty(`box-sizing`,e)}get breakAfter(){return this.getPropertyValue(`break-after`)}set breakAfter(e){this.setProperty(`break-after`,e)}get breakBefore(){return this.getPropertyValue(`break-before`)}set breakBefore(e){this.setProperty(`break-before`,e)}get breakInside(){return this.getPropertyValue(`break-inside`)}set breakInside(e){this.setProperty(`break-inside`,e)}get bufferedRendering(){return this.getPropertyValue(`buffered-rendering`)}set bufferedRendering(e){this.setProperty(`buffered-rendering`,e)}get captionSide(){return this.getPropertyValue(`caption-side`)}set captionSide(e){this.setProperty(`caption-side`,e)}get caretColor(){return this.getPropertyValue(`caret-color`)}set caretColor(e){this.setProperty(`caret-color`,e)}get clear(){return this.getPropertyValue(`clear`)}set clear(e){this.setProperty(`clear`,e)}get clip(){return this.getPropertyValue(`clip`)}set clip(e){this.setProperty(`clip`,e)}get clipPath(){return this.getPropertyValue(`clip-path`)}set clipPath(e){this.setProperty(`clip-path`,e)}get clipRule(){return this.getPropertyValue(`clip-rule`)}set clipRule(e){this.setProperty(`clip-rule`,e)}get color(){return this.getPropertyValue(`color`)}set color(e){this.setProperty(`color`,e)}get colorInterpolation(){return this.getPropertyValue(`color-interpolation`)}set colorInterpolation(e){this.setProperty(`color-interpolation`,e)}get colorInterpolationFilters(){return this.getPropertyValue(`color-interpolation-filters`)}set colorInterpolationFilters(e){this.setProperty(`color-interpolation-filters`,e)}get colorRendering(){return this.getPropertyValue(`color-rendering`)}set colorRendering(e){this.setProperty(`color-rendering`,e)}get colorScheme(){return this.getPropertyValue(`color-scheme`)}set colorScheme(e){this.setProperty(`color-scheme`,e)}get columnCount(){return this.getPropertyValue(`column-count`)}set columnCount(e){this.setProperty(`column-count`,e)}get columnFill(){return this.getPropertyValue(`column-fill`)}set columnFill(e){this.setProperty(`column-fill`,e)}get columnGap(){return this.getPropertyValue(`column-gap`)}set columnGap(e){this.setProperty(`column-gap`,e)}get columnRule(){return this.getPropertyValue(`column-rule`)}set columnRule(e){this.setProperty(`column-rule`,e)}get columnRuleColor(){return this.getPropertyValue(`column-rule-color`)}set columnRuleColor(e){this.setProperty(`column-rule-color`,e)}get columnRuleStyle(){return this.getPropertyValue(`column-rule-style`)}set columnRuleStyle(e){this.setProperty(`column-rule-style`,e)}get columnRuleWidth(){return this.getPropertyValue(`column-rule-width`)}set columnRuleWidth(e){this.setProperty(`column-rule-width`,e)}get columnSpan(){return this.getPropertyValue(`column-span`)}set columnSpan(e){this.setProperty(`column-span`,e)}get columnWidth(){return this.getPropertyValue(`column-width`)}set columnWidth(e){this.setProperty(`column-width`,e)}get columns(){return this.getPropertyValue(`columns`)}set columns(e){this.setProperty(`columns`,e)}get contain(){return this.getPropertyValue(`contain`)}set contain(e){this.setProperty(`contain`,e)}get containIntrinsicSize(){return this.getPropertyValue(`contain-intrinsic-size`)}set containIntrinsicSize(e){this.setProperty(`contain-intrinsic-size`,e)}get content(){return this.getPropertyValue(`content`)}set content(e){this.setProperty(`content`,e)}get contentVisibility(){return this.getPropertyValue(`content-visibility`)}set contentVisibility(e){this.setProperty(`content-visibility`,e)}get counterIncrement(){return this.getPropertyValue(`counter-increment`)}set counterIncrement(e){this.setProperty(`counter-increment`,e)}get counterReset(){return this.getPropertyValue(`counter-reset`)}set counterReset(e){this.setProperty(`counter-reset`,e)}get counterSet(){return this.getPropertyValue(`counter-set`)}set counterSet(e){this.setProperty(`counter-set`,e)}get containIntrinsicBlockSize(){return this.getPropertyValue(`contain-intrinsic-block-size`)}set containIntrinsicBlockSize(e){this.setProperty(`contain-intrinsic-block-size`,e)}get containIntrinsicHeight(){return this.getPropertyValue(`contain-intrinsic-height`)}set containIntrinsicHeight(e){this.setProperty(`contain-intrinsic-height`,e)}get containIntrinsicInlineSize(){return this.getPropertyValue(`contain-intrinsic-inline-size`)}set containIntrinsicInlineSize(e){this.setProperty(`contain-intrinsic-inline-size`,e)}get containIntrinsicWidth(){return this.getPropertyValue(`contain-intrinsic-width`)}set containIntrinsicWidth(e){this.setProperty(`contain-intrinsic-width`,e)}get cssFloat(){return this.getPropertyValue(`css-float`)}set cssFloat(e){this.setProperty(`css-float`,e)}get cursor(){return this.getPropertyValue(`cursor`)}set cursor(e){this.setProperty(`cursor`,e)}get cx(){return this.getPropertyValue(`cx`)}set cx(e){this.setProperty(`cx`,e)}get cy(){return this.getPropertyValue(`cy`)}set cy(e){this.setProperty(`cy`,e)}get d(){return this.getPropertyValue(`d`)}set d(e){this.setProperty(`d`,e)}get direction(){return this.getPropertyValue(`direction`)}set direction(e){this.setProperty(`direction`,e)}get display(){return this.getPropertyValue(`display`)}set display(e){this.setProperty(`display`,e)}get dominantBaseline(){return this.getPropertyValue(`dominant-baseline`)}set dominantBaseline(e){this.setProperty(`dominant-baseline`,e)}get emptyCells(){return this.getPropertyValue(`empty-cells`)}set emptyCells(e){this.setProperty(`empty-cells`,e)}get fill(){return this.getPropertyValue(`fill`)}set fill(e){this.setProperty(`fill`,e)}get fillOpacity(){return this.getPropertyValue(`fill-opacity`)}set fillOpacity(e){this.setProperty(`fill-opacity`,e)}get fillRule(){return this.getPropertyValue(`fill-rule`)}set fillRule(e){this.setProperty(`fill-rule`,e)}get filter(){return this.getPropertyValue(`filter`)}set filter(e){this.setProperty(`filter`,e)}get flex(){return this.getPropertyValue(`flex`)}set flex(e){this.setProperty(`flex`,e)}get flexBasis(){return this.getPropertyValue(`flex-basis`)}set flexBasis(e){this.setProperty(`flex-basis`,e)}get flexDirection(){return this.getPropertyValue(`flex-direction`)}set flexDirection(e){this.setProperty(`flex-direction`,e)}get flexFlow(){return this.getPropertyValue(`flex-flow`)}set flexFlow(e){this.setProperty(`flex-flow`,e)}get flexGrow(){return this.getPropertyValue(`flex-grow`)}set flexGrow(e){this.setProperty(`flex-grow`,e)}get flexShrink(){return this.getPropertyValue(`flex-shrink`)}set flexShrink(e){this.setProperty(`flex-shrink`,e)}get flexWrap(){return this.getPropertyValue(`flex-wrap`)}set flexWrap(e){this.setProperty(`flex-wrap`,e)}get float(){return this.getPropertyValue(`float`)}set float(e){this.setProperty(`float`,e)}get floodColor(){return this.getPropertyValue(`flood-color`)}set floodColor(e){this.setProperty(`flood-color`,e)}get floodOpacity(){return this.getPropertyValue(`flood-opacity`)}set floodOpacity(e){this.setProperty(`flood-opacity`,e)}get font(){return this.getPropertyValue(`font`)}set font(e){this.setProperty(`font`,e)}get fontDisplay(){return this.getPropertyValue(`font-display`)}set fontDisplay(e){this.setProperty(`font-display`,e)}get fontFamily(){return this.getPropertyValue(`font-family`)}set fontFamily(e){this.setProperty(`font-family`,e)}get fontFeatureSettings(){return this.getPropertyValue(`font-feature-settings`)}set fontFeatureSettings(e){this.setProperty(`font-feature-settings`,e)}get fontKerning(){return this.getPropertyValue(`font-kerning`)}set fontKerning(e){this.setProperty(`font-kerning`,e)}get fontOpticalSizing(){return this.getPropertyValue(`font-optical-sizing`)}set fontOpticalSizing(e){this.setProperty(`font-optical-sizing`,e)}get fontSize(){return this.getPropertyValue(`font-size`)}set fontSize(e){this.setProperty(`font-size`,e)}get fontStretch(){return this.getPropertyValue(`font-stretch`)}set fontStretch(e){this.setProperty(`font-stretch`,e)}get fontStyle(){return this.getPropertyValue(`font-style`)}set fontStyle(e){this.setProperty(`font-style`,e)}get fontVariant(){return this.getPropertyValue(`font-variant`)}set fontVariant(e){this.setProperty(`font-variant`,e)}get fontVariantCaps(){return this.getPropertyValue(`font-variant-caps`)}set fontVariantCaps(e){this.setProperty(`font-variant-caps`,e)}get fontVariantEastAsian(){return this.getPropertyValue(`font-variant-east-asian`)}set fontVariantEastAsian(e){this.setProperty(`font-variant-east-asian`,e)}get fontVariantLigatures(){return this.getPropertyValue(`font-variant-ligatures`)}set fontVariantLigatures(e){this.setProperty(`font-variant-ligatures`,e)}get fontVariantNumeric(){return this.getPropertyValue(`font-variant-numeric`)}set fontVariantNumeric(e){this.setProperty(`font-variant-numeric`,e)}get fontVariationSettings(){return this.getPropertyValue(`font-variation-settings`)}set fontVariationSettings(e){this.setProperty(`font-variation-settings`,e)}get fontPalette(){return this.getPropertyValue(`font-palette`)}set fontPalette(e){this.setProperty(`font-palette`,e)}get fontSynthesisSmallCaps(){return this.getPropertyValue(`font-synthesis-small-caps`)}set fontSynthesisSmallCaps(e){this.setProperty(`font-synthesis-small-caps`,e)}get fontSynthesisStyle(){return this.getPropertyValue(`font-synthesis-style`)}set fontSynthesisStyle(e){this.setProperty(`font-synthesis-style`,e)}get fontSynthesisWeight(){return this.getPropertyValue(`font-synthesis-weight`)}set fontSynthesisWeight(e){this.setProperty(`font-synthesis-weight`,e)}get fontWeight(){return this.getPropertyValue(`font-weight`)}set fontWeight(e){this.setProperty(`font-weight`,e)}get gap(){return this.getPropertyValue(`gap`)}set gap(e){this.setProperty(`gap`,e)}get grid(){return this.getPropertyValue(`grid`)}set grid(e){this.setProperty(`grid`,e)}get gridArea(){return this.getPropertyValue(`grid-area`)}set gridArea(e){this.setProperty(`grid-area`,e)}get gridAutoColumns(){return this.getPropertyValue(`grid-auto-columns`)}set gridAutoColumns(e){this.setProperty(`grid-auto-columns`,e)}get gridAutoFlow(){return this.getPropertyValue(`grid-auto-flow`)}set gridAutoFlow(e){this.setProperty(`grid-auto-flow`,e)}get gridAutoRows(){return this.getPropertyValue(`grid-auto-rows`)}set gridAutoRows(e){this.setProperty(`grid-auto-rows`,e)}get gridColumn(){return this.getPropertyValue(`grid-column`)}set gridColumn(e){this.setProperty(`grid-column`,e)}get gridColumnEnd(){return this.getPropertyValue(`grid-column-end`)}set gridColumnEnd(e){this.setProperty(`grid-column-end`,e)}get gridColumnGap(){return this.getPropertyValue(`grid-column-gap`)}set gridColumnGap(e){this.setProperty(`grid-column-gap`,e)}get gridColumnStart(){return this.getPropertyValue(`grid-column-start`)}set gridColumnStart(e){this.setProperty(`grid-column-start`,e)}get gridGap(){return this.getPropertyValue(`grid-gap`)}set gridGap(e){this.setProperty(`grid-gap`,e)}get gridRow(){return this.getPropertyValue(`grid-row`)}set gridRow(e){this.setProperty(`grid-row`,e)}get gridRowEnd(){return this.getPropertyValue(`grid-row-end`)}set gridRowEnd(e){this.setProperty(`grid-row-end`,e)}get gridRowGap(){return this.getPropertyValue(`grid-row-gap`)}set gridRowGap(e){this.setProperty(`grid-row-gap`,e)}get gridRowStart(){return this.getPropertyValue(`grid-row-start`)}set gridRowStart(e){this.setProperty(`grid-row-start`,e)}get gridTemplate(){return this.getPropertyValue(`grid-template`)}set gridTemplate(e){this.setProperty(`grid-template`,e)}get gridTemplateAreas(){return this.getPropertyValue(`grid-template-areas`)}set gridTemplateAreas(e){this.setProperty(`grid-template-areas`,e)}get gridTemplateColumns(){return this.getPropertyValue(`grid-template-columns`)}set gridTemplateColumns(e){this.setProperty(`grid-template-columns`,e)}get gridTemplateRows(){return this.getPropertyValue(`grid-template-rows`)}set gridTemplateRows(e){this.setProperty(`grid-template-rows`,e)}get height(){return this.getPropertyValue(`height`)}set height(e){this.setProperty(`height`,e)}get hyphens(){return this.getPropertyValue(`hyphens`)}set hyphens(e){this.setProperty(`hyphens`,e)}get imageOrientation(){return this.getPropertyValue(`image-orientation`)}set imageOrientation(e){this.setProperty(`image-orientation`,e)}get imageRendering(){return this.getPropertyValue(`image-rendering`)}set imageRendering(e){this.setProperty(`image-rendering`,e)}get inherits(){return this.getPropertyValue(`inherits`)}set inherits(e){this.setProperty(`inherits`,e)}get initialValue(){return this.getPropertyValue(`initial-value`)}set initialValue(e){this.setProperty(`initial-value`,e)}get inlineSize(){return this.getPropertyValue(`inline-size`)}set inlineSize(e){this.setProperty(`inline-size`,e)}get isolation(){return this.getPropertyValue(`isolation`)}set isolation(e){this.setProperty(`isolation`,e)}get insetBlockEnd(){return this.getPropertyValue(`inset-block-end`)}set insetBlockEnd(e){this.setProperty(`inset-block-end`,e)}get insetBlockStart(){return this.getPropertyValue(`inset-block-start`)}set insetBlockStart(e){this.setProperty(`inset-block-start`,e)}get insetInlineEnd(){return this.getPropertyValue(`inset-inline-end`)}set insetInlineEnd(e){this.setProperty(`inset-inline-end`,e)}get insetInlineStart(){return this.getPropertyValue(`inset-inline-start`)}set insetInlineStart(e){this.setProperty(`inset-inline-start`,e)}get justifyContent(){return this.getPropertyValue(`justify-content`)}set justifyContent(e){this.setProperty(`justify-content`,e)}get justifyItems(){return this.getPropertyValue(`justify-items`)}set justifyItems(e){this.setProperty(`justify-items`,e)}get justifySelf(){return this.getPropertyValue(`justify-self`)}set justifySelf(e){this.setProperty(`justify-self`,e)}get left(){return this.getPropertyValue(`left`)}set left(e){this.setProperty(`left`,e)}get letterSpacing(){return this.getPropertyValue(`letter-spacing`)}set letterSpacing(e){this.setProperty(`letter-spacing`,e)}get lightingColor(){return this.getPropertyValue(`lighting-color`)}set lightingColor(e){this.setProperty(`lighting-color`,e)}get lineBreak(){return this.getPropertyValue(`line-break`)}set lineBreak(e){this.setProperty(`line-break`,e)}get lineHeight(){return this.getPropertyValue(`line-height`)}set lineHeight(e){this.setProperty(`line-height`,e)}get listStyle(){return this.getPropertyValue(`list-style`)}set listStyle(e){this.setProperty(`list-style`,e)}get listStyleImage(){return this.getPropertyValue(`list-style-image`)}set listStyleImage(e){this.setProperty(`list-style-image`,e)}get listStylePosition(){return this.getPropertyValue(`list-style-position`)}set listStylePosition(e){this.setProperty(`list-style-position`,e)}get listStyleType(){return this.getPropertyValue(`list-style-type`)}set listStyleType(e){this.setProperty(`list-style-type`,e)}get margin(){return this.getPropertyValue(`margin`)}set margin(e){this.setProperty(`margin`,e)}get marginBlockEnd(){return this.getPropertyValue(`margin-block-end`)}set marginBlockEnd(e){this.setProperty(`margin-block-end`,e)}get marginBlockStart(){return this.getPropertyValue(`margin-block-start`)}set marginBlockStart(e){this.setProperty(`margin-block-start`,e)}get marginBottom(){return this.getPropertyValue(`margin-bottom`)}set marginBottom(e){this.setProperty(`margin-bottom`,e)}get marginInlineEnd(){return this.getPropertyValue(`margin-inline-end`)}set marginInlineEnd(e){this.setProperty(`margin-inline-end`,e)}get marginInlineStart(){return this.getPropertyValue(`margin-inline-start`)}set marginInlineStart(e){this.setProperty(`margin-inline-start`,e)}get marginLeft(){return this.getPropertyValue(`margin-left`)}set marginLeft(e){this.setProperty(`margin-left`,e)}get marginRight(){return this.getPropertyValue(`margin-right`)}set marginRight(e){this.setProperty(`margin-right`,e)}get marginTop(){return this.getPropertyValue(`margin-top`)}set marginTop(e){this.setProperty(`margin-top`,e)}get marker(){return this.getPropertyValue(`marker`)}set marker(e){this.setProperty(`marker`,e)}get markerEnd(){return this.getPropertyValue(`marker-end`)}set markerEnd(e){this.setProperty(`marker-end`,e)}get markerMid(){return this.getPropertyValue(`marker-mid`)}set markerMid(e){this.setProperty(`marker-mid`,e)}get markerStart(){return this.getPropertyValue(`marker-start`)}set markerStart(e){this.setProperty(`marker-start`,e)}get mask(){return this.getPropertyValue(`mask`)}set mask(e){this.setProperty(`mask`,e)}get maskType(){return this.getPropertyValue(`mask-type`)}set maskType(e){this.setProperty(`mask-type`,e)}get maxBlockSize(){return this.getPropertyValue(`max-block-size`)}set maxBlockSize(e){this.setProperty(`max-block-size`,e)}get maxHeight(){return this.getPropertyValue(`max-height`)}set maxHeight(e){this.setProperty(`max-height`,e)}get maxInlineSize(){return this.getPropertyValue(`max-inline-size`)}set maxInlineSize(e){this.setProperty(`max-inline-size`,e)}get maxWidth(){return this.getPropertyValue(`max-width`)}set maxWidth(e){this.setProperty(`max-width`,e)}get maxZoom(){return this.getPropertyValue(`max-zoom`)}set maxZoom(e){this.setProperty(`max-zoom`,e)}get minBlockSize(){return this.getPropertyValue(`min-block-size`)}set minBlockSize(e){this.setProperty(`min-block-size`,e)}get minHeight(){return this.getPropertyValue(`min-height`)}set minHeight(e){this.setProperty(`min-height`,e)}get minInlineSize(){return this.getPropertyValue(`min-inline-size`)}set minInlineSize(e){this.setProperty(`min-inline-size`,e)}get minWidth(){return this.getPropertyValue(`min-width`)}set minWidth(e){this.setProperty(`min-width`,e)}get minZoom(){return this.getPropertyValue(`min-zoom`)}set minZoom(e){this.setProperty(`min-zoom`,e)}get mixBlendMode(){return this.getPropertyValue(`mix-blend-mode`)}set mixBlendMode(e){this.setProperty(`mix-blend-mode`,e)}get objectFit(){return this.getPropertyValue(`object-fit`)}set objectFit(e){this.setProperty(`object-fit`,e)}get objectPosition(){return this.getPropertyValue(`object-position`)}set objectPosition(e){this.setProperty(`object-position`,e)}get offset(){return this.getPropertyValue(`offset`)}set offset(e){this.setProperty(`offset`,e)}get offsetDistance(){return this.getPropertyValue(`offset-distance`)}set offsetDistance(e){this.setProperty(`offset-distance`,e)}get offsetPath(){return this.getPropertyValue(`offset-path`)}set offsetPath(e){this.setProperty(`offset-path`,e)}get offsetRotate(){return this.getPropertyValue(`offset-rotate`)}set offsetRotate(e){this.setProperty(`offset-rotate`,e)}get opacity(){return this.getPropertyValue(`opacity`)}set opacity(e){this.setProperty(`opacity`,e)}get order(){return this.getPropertyValue(`order`)}set order(e){this.setProperty(`order`,e)}get orientation(){return this.getPropertyValue(`orientation`)}set orientation(e){this.setProperty(`orientation`,e)}get orphans(){return this.getPropertyValue(`orphans`)}set orphans(e){this.setProperty(`orphans`,e)}get outline(){return this.getPropertyValue(`outline`)}set outline(e){this.setProperty(`outline`,e)}get outlineColor(){return this.getPropertyValue(`outline-color`)}set outlineColor(e){this.setProperty(`outline-color`,e)}get outlineOffset(){return this.getPropertyValue(`outline-offset`)}set outlineOffset(e){this.setProperty(`outline-offset`,e)}get outlineStyle(){return this.getPropertyValue(`outline-style`)}set outlineStyle(e){this.setProperty(`outline-style`,e)}get outlineWidth(){return this.getPropertyValue(`outline-width`)}set outlineWidth(e){this.setProperty(`outline-width`,e)}get overflow(){return this.getPropertyValue(`overflow`)}set overflow(e){this.setProperty(`overflow`,e)}get overflowAnchor(){return this.getPropertyValue(`overflow-anchor`)}set overflowAnchor(e){this.setProperty(`overflow-anchor`,e)}get overflowWrap(){return this.getPropertyValue(`overflow-wrap`)}set overflowWrap(e){this.setProperty(`overflow-wrap`,e)}get overflowX(){return this.getPropertyValue(`overflow-x`)}set overflowX(e){this.setProperty(`overflow-x`,e)}get overflowY(){return this.getPropertyValue(`overflow-y`)}set overflowY(e){this.setProperty(`overflow-y`,e)}get overscrollBehavior(){return this.getPropertyValue(`overscroll-behavior`)}set overscrollBehavior(e){this.setProperty(`overscroll-behavior`,e)}get overscrollBehaviorBlock(){return this.getPropertyValue(`overscroll-behavior-block`)}set overscrollBehaviorBlock(e){this.setProperty(`overscroll-behavior-block`,e)}get overscrollBehaviorInline(){return this.getPropertyValue(`overscroll-behavior-inline`)}set overscrollBehaviorInline(e){this.setProperty(`overscroll-behavior-inline`,e)}get overscrollBehaviorX(){return this.getPropertyValue(`overscroll-behavior-x`)}set overscrollBehaviorX(e){this.setProperty(`overscroll-behavior-x`,e)}get overscrollBehaviorY(){return this.getPropertyValue(`overscroll-behavior-y`)}set overscrollBehaviorY(e){this.setProperty(`overscroll-behavior-y`,e)}get overflowClipMargin(){return this.getPropertyValue(`overflow-clip-margin`)}set overflowClipMargin(e){this.setProperty(`overflow-clip-margin`,e)}get padding(){return this.getPropertyValue(`padding`)}set padding(e){this.setProperty(`padding`,e)}get paddingBlockEnd(){return this.getPropertyValue(`padding-block-end`)}set paddingBlockEnd(e){this.setProperty(`padding-block-end`,e)}get paddingBlockStart(){return this.getPropertyValue(`padding-block-start`)}set paddingBlockStart(e){this.setProperty(`padding-block-start`,e)}get paddingBottom(){return this.getPropertyValue(`padding-bottom`)}set paddingBottom(e){this.setProperty(`padding-bottom`,e)}get paddingInlineEnd(){return this.getPropertyValue(`padding-inline-end`)}set paddingInlineEnd(e){this.setProperty(`padding-inline-end`,e)}get paddingInlineStart(){return this.getPropertyValue(`padding-inline-start`)}set paddingInlineStart(e){this.setProperty(`padding-inline-start`,e)}get paddingLeft(){return this.getPropertyValue(`padding-left`)}set paddingLeft(e){this.setProperty(`padding-left`,e)}get paddingRight(){return this.getPropertyValue(`padding-right`)}set paddingRight(e){this.setProperty(`padding-right`,e)}get paddingTop(){return this.getPropertyValue(`padding-top`)}set paddingTop(e){this.setProperty(`padding-top`,e)}get page(){return this.getPropertyValue(`page`)}set page(e){this.setProperty(`page`,e)}get pageBreakAfter(){return this.getPropertyValue(`page-break-after`)}set pageBreakAfter(e){this.setProperty(`page-break-after`,e)}get pageBreakBefore(){return this.getPropertyValue(`page-break-before`)}set pageBreakBefore(e){this.setProperty(`page-break-before`,e)}get pageBreakInside(){return this.getPropertyValue(`page-break-inside`)}set pageBreakInside(e){this.setProperty(`page-break-inside`,e)}get pageOrientation(){return this.getPropertyValue(`page-orientation`)}set pageOrientation(e){this.setProperty(`page-orientation`,e)}get paintOrder(){return this.getPropertyValue(`paint-order`)}set paintOrder(e){this.setProperty(`paint-order`,e)}get perspective(){return this.getPropertyValue(`perspective`)}set perspective(e){this.setProperty(`perspective`,e)}get perspectiveOrigin(){return this.getPropertyValue(`perspective-origin`)}set perspectiveOrigin(e){this.setProperty(`perspective-origin`,e)}get placeContent(){return this.getPropertyValue(`place-content`)}set placeContent(e){this.setProperty(`place-content`,e)}get placeItems(){return this.getPropertyValue(`place-items`)}set placeItems(e){this.setProperty(`place-items`,e)}get placeSelf(){return this.getPropertyValue(`place-self`)}set placeSelf(e){this.setProperty(`place-self`,e)}get pointerEvents(){return this.getPropertyValue(`pointer-events`)}set pointerEvents(e){this.setProperty(`pointer-events`,e)}get position(){return this.getPropertyValue(`position`)}set position(e){this.setProperty(`position`,e)}get quotes(){return this.getPropertyValue(`quotes`)}set quotes(e){this.setProperty(`quotes`,e)}get r(){return this.getPropertyValue(`r`)}set r(e){this.setProperty(`r`,e)}get resize(){return this.getPropertyValue(`resize`)}set resize(e){this.setProperty(`resize`,e)}get right(){return this.getPropertyValue(`right`)}set right(e){this.setProperty(`right`,e)}get rowGap(){return this.getPropertyValue(`row-gap`)}set rowGap(e){this.setProperty(`row-gap`,e)}get rubyPosition(){return this.getPropertyValue(`ruby-position`)}set rubyPosition(e){this.setProperty(`ruby-position`,e)}get rx(){return this.getPropertyValue(`rx`)}set rx(e){this.setProperty(`rx`,e)}get ry(){return this.getPropertyValue(`ry`)}set ry(e){this.setProperty(`ry`,e)}get scrollBehavior(){return this.getPropertyValue(`scroll-behavior`)}set scrollBehavior(e){this.setProperty(`scroll-behavior`,e)}get scrollMargin(){return this.getPropertyValue(`scroll-margin`)}set scrollMargin(e){this.setProperty(`scroll-margin`,e)}get scrollMarginBlock(){return this.getPropertyValue(`scroll-margin-block`)}set scrollMarginBlock(e){this.setProperty(`scroll-margin-block`,e)}get scrollMarginBlockEnd(){return this.getPropertyValue(`scroll-margin-block-end`)}set scrollMarginBlockEnd(e){this.setProperty(`scroll-margin-block-end`,e)}get scrollMarginBlockStart(){return this.getPropertyValue(`scroll-margin-block-start`)}set scrollMarginBlockStart(e){this.setProperty(`scroll-margin-block-start`,e)}get scrollMarginBottom(){return this.getPropertyValue(`scroll-margin-bottom`)}set scrollMarginBottom(e){this.setProperty(`scroll-margin-bottom`,e)}get scrollMarginInline(){return this.getPropertyValue(`scroll-margin-inline`)}set scrollMarginInline(e){this.setProperty(`scroll-margin-inline`,e)}get scrollMarginInlineEnd(){return this.getPropertyValue(`scroll-margin-inline-end`)}set scrollMarginInlineEnd(e){this.setProperty(`scroll-margin-inline-end`,e)}get scrollMarginInlineStart(){return this.getPropertyValue(`scroll-margin-inline-start`)}set scrollMarginInlineStart(e){this.setProperty(`scroll-margin-inline-start`,e)}get scrollMarginLeft(){return this.getPropertyValue(`scroll-margin-left`)}set scrollMarginLeft(e){this.setProperty(`scroll-margin-left`,e)}get scrollMarginRight(){return this.getPropertyValue(`scroll-margin-right`)}set scrollMarginRight(e){this.setProperty(`scroll-margin-right`,e)}get scrollMarginTop(){return this.getPropertyValue(`scroll-margin-top`)}set scrollMarginTop(e){this.setProperty(`scroll-margin-top`,e)}get scrollPadding(){return this.getPropertyValue(`scroll-padding`)}set scrollPadding(e){this.setProperty(`scroll-padding`,e)}get scrollPaddingBlock(){return this.getPropertyValue(`scroll-padding-block`)}set scrollPaddingBlock(e){this.setProperty(`scroll-padding-block`,e)}get scrollPaddingBlockEnd(){return this.getPropertyValue(`scroll-padding-block-end`)}set scrollPaddingBlockEnd(e){this.setProperty(`scroll-padding-block-end`,e)}get scrollPaddingBlockStart(){return this.getPropertyValue(`scroll-padding-block-start`)}set scrollPaddingBlockStart(e){this.setProperty(`scroll-padding-block-start`,e)}get scrollPaddingBottom(){return this.getPropertyValue(`scroll-padding-bottom`)}set scrollPaddingBottom(e){this.setProperty(`scroll-padding-bottom`,e)}get scrollPaddingInline(){return this.getPropertyValue(`scroll-padding-inline`)}set scrollPaddingInline(e){this.setProperty(`scroll-padding-inline`,e)}get scrollPaddingInlineEnd(){return this.getPropertyValue(`scroll-padding-inline-end`)}set scrollPaddingInlineEnd(e){this.setProperty(`scroll-padding-inline-end`,e)}get scrollPaddingInlineStart(){return this.getPropertyValue(`scroll-padding-inline-start`)}set scrollPaddingInlineStart(e){this.setProperty(`scroll-padding-inline-start`,e)}get scrollPaddingLeft(){return this.getPropertyValue(`scroll-padding-left`)}set scrollPaddingLeft(e){this.setProperty(`scroll-padding-left`,e)}get scrollPaddingRight(){return this.getPropertyValue(`scroll-padding-right`)}set scrollPaddingRight(e){this.setProperty(`scroll-padding-right`,e)}get scrollPaddingTop(){return this.getPropertyValue(`scroll-padding-top`)}set scrollPaddingTop(e){this.setProperty(`scroll-padding-top`,e)}get scrollSnapAlign(){return this.getPropertyValue(`scroll-snap-align`)}set scrollSnapAlign(e){this.setProperty(`scroll-snap-align`,e)}get scrollSnapStop(){return this.getPropertyValue(`scroll-snap-stop`)}set scrollSnapStop(e){this.setProperty(`scroll-snap-stop`,e)}get scrollSnapType(){return this.getPropertyValue(`scroll-snap-type`)}set scrollSnapType(e){this.setProperty(`scroll-snap-type`,e)}get shapeImageThreshold(){return this.getPropertyValue(`shape-image-threshold`)}set shapeImageThreshold(e){this.setProperty(`shape-image-threshold`,e)}get shapeMargin(){return this.getPropertyValue(`shape-margin`)}set shapeMargin(e){this.setProperty(`shape-margin`,e)}get shapeOutside(){return this.getPropertyValue(`shape-outside`)}set shapeOutside(e){this.setProperty(`shape-outside`,e)}get shapeRendering(){return this.getPropertyValue(`shape-rendering`)}set shapeRendering(e){this.setProperty(`shape-rendering`,e)}get size(){return this.getPropertyValue(`size`)}set size(e){this.setProperty(`size`,e)}get speak(){return this.getPropertyValue(`speak`)}set speak(e){this.setProperty(`speak`,e)}get src(){return this.getPropertyValue(`src`)}set src(e){this.setProperty(`src`,e)}get stopColor(){return this.getPropertyValue(`stop-color`)}set stopColor(e){this.setProperty(`stop-color`,e)}get stopOpacity(){return this.getPropertyValue(`stop-opacity`)}set stopOpacity(e){this.setProperty(`stop-opacity`,e)}get stroke(){return this.getPropertyValue(`stroke`)}set stroke(e){this.setProperty(`stroke`,e)}get strokeDasharray(){return this.getPropertyValue(`stroke-dasharray`)}set strokeDasharray(e){this.setProperty(`stroke-dasharray`,e)}get strokeDashoffset(){return this.getPropertyValue(`stroke-dashoffset`)}set strokeDashoffset(e){this.setProperty(`stroke-dashoffset`,e)}get strokeLinecap(){return this.getPropertyValue(`stroke-linecap`)}set strokeLinecap(e){this.setProperty(`stroke-linecap`,e)}get strokeLinejoin(){return this.getPropertyValue(`stroke-linejoin`)}set strokeLinejoin(e){this.setProperty(`stroke-linejoin`,e)}get strokeMiterlimit(){return this.getPropertyValue(`stroke-miterlimit`)}set strokeMiterlimit(e){this.setProperty(`stroke-miterlimit`,e)}get strokeOpacity(){return this.getPropertyValue(`stroke-opacity`)}set strokeOpacity(e){this.setProperty(`stroke-opacity`,e)}get strokeWidth(){return this.getPropertyValue(`stroke-width`)}set strokeWidth(e){this.setProperty(`stroke-width`,e)}get syntax(){return this.getPropertyValue(`syntax`)}set syntax(e){this.setProperty(`syntax`,e)}get scrollbarGutter(){return this.getPropertyValue(`scrollbar-gutter`)}set scrollbarGutter(e){this.setProperty(`scrollbar-gutter`,e)}get tabSize(){return this.getPropertyValue(`tab-size`)}set tabSize(e){this.setProperty(`tab-size`,e)}get tableLayout(){return this.getPropertyValue(`table-layout`)}set tableLayout(e){this.setProperty(`table-layout`,e)}get textAlign(){return this.getPropertyValue(`text-align`)}set textAlign(e){this.setProperty(`text-align`,e)}get textAlignLast(){return this.getPropertyValue(`text-align-last`)}set textAlignLast(e){this.setProperty(`text-align-last`,e)}get textAnchor(){return this.getPropertyValue(`text-anchor`)}set textAnchor(e){this.setProperty(`text-anchor`,e)}get textCombineUpright(){return this.getPropertyValue(`text-combine-upright`)}set textCombineUpright(e){this.setProperty(`text-combine-upright`,e)}get textDecoration(){return this.getPropertyValue(`text-decoration`)}set textDecoration(e){this.setProperty(`text-decoration`,e)}get textDecorationColor(){return this.getPropertyValue(`text-decoration-color`)}set textDecorationColor(e){this.setProperty(`text-decoration-color`,e)}get textDecorationLine(){return this.getPropertyValue(`text-decoration-line`)}set textDecorationLine(e){this.setProperty(`text-decoration-line`,e)}get textDecorationSkipInk(){return this.getPropertyValue(`text-decoration-skip-ink`)}set textDecorationSkipInk(e){this.setProperty(`text-decoration-skip-ink`,e)}get textDecorationStyle(){return this.getPropertyValue(`text-decoration-style`)}set textDecorationStyle(e){this.setProperty(`text-decoration-style`,e)}get textIndent(){return this.getPropertyValue(`text-indent`)}set textIndent(e){this.setProperty(`text-indent`,e)}get textOrientation(){return this.getPropertyValue(`text-orientation`)}set textOrientation(e){this.setProperty(`text-orientation`,e)}get textOverflow(){return this.getPropertyValue(`text-overflow`)}set textOverflow(e){this.setProperty(`text-overflow`,e)}get textRendering(){return this.getPropertyValue(`text-rendering`)}set textRendering(e){this.setProperty(`text-rendering`,e)}get textShadow(){return this.getPropertyValue(`text-shadow`)}set textShadow(e){this.setProperty(`text-shadow`,e)}get textSizeAdjust(){return this.getPropertyValue(`text-size-adjust`)}set textSizeAdjust(e){this.setProperty(`text-size-adjust`,e)}get textTransform(){return this.getPropertyValue(`text-transform`)}set textTransform(e){this.setProperty(`text-transform`,e)}get textUnderlinePosition(){return this.getPropertyValue(`text-underline-position`)}set textUnderlinePosition(e){this.setProperty(`text-underline-position`,e)}get top(){return this.getPropertyValue(`top`)}set top(e){this.setProperty(`top`,e)}get touchAction(){return this.getPropertyValue(`touch-action`)}set touchAction(e){this.setProperty(`touch-action`,e)}get transform(){return this.getPropertyValue(`transform`)}set transform(e){this.setProperty(`transform`,e)}get transformBox(){return this.getPropertyValue(`transform-box`)}set transformBox(e){this.setProperty(`transform-box`,e)}get transformOrigin(){return this.getPropertyValue(`transform-origin`)}set transformOrigin(e){this.setProperty(`transform-origin`,e)}get transformStyle(){return this.getPropertyValue(`transform-style`)}set transformStyle(e){this.setProperty(`transform-style`,e)}get transition(){return this.getPropertyValue(`transition`)}set transition(e){this.setProperty(`transition`,e)}get transitionDelay(){return this.getPropertyValue(`transition-delay`)}set transitionDelay(e){this.setProperty(`transition-delay`,e)}get transitionDuration(){return this.getPropertyValue(`transition-duration`)}set transitionDuration(e){this.setProperty(`transition-duration`,e)}get transitionProperty(){return this.getPropertyValue(`transition-property`)}set transitionProperty(e){this.setProperty(`transition-property`,e)}get transitionTimingFunction(){return this.getPropertyValue(`transition-timing-function`)}set transitionTimingFunction(e){this.setProperty(`transition-timing-function`,e)}get textEmphasisColor(){return this.getPropertyValue(`text-emphasis-color`)}set textEmphasisColor(e){this.setProperty(`text-emphasis-color`,e)}get textEmphasisPosition(){return this.getPropertyValue(`text-emphasis-position`)}set textEmphasisPosition(e){this.setProperty(`text-emphasis-position`,e)}get textEmphasisStyle(){return this.getPropertyValue(`text-emphasis-style`)}set textEmphasisStyle(e){this.setProperty(`text-emphasis-style`,e)}get unicodeBidi(){return this.getPropertyValue(`unicode-bidi`)}set unicodeBidi(e){this.setProperty(`unicode-bidi`,e)}get unicodeRange(){return this.getPropertyValue(`unicode-range`)}set unicodeRange(e){this.setProperty(`unicode-range`,e)}get userSelect(){return this.getPropertyValue(`user-select`)}set userSelect(e){this.setProperty(`user-select`,e)}get userZoom(){return this.getPropertyValue(`user-zoom`)}set userZoom(e){this.setProperty(`user-zoom`,e)}get vectorEffect(){return this.getPropertyValue(`vector-effect`)}set vectorEffect(e){this.setProperty(`vector-effect`,e)}get verticalAlign(){return this.getPropertyValue(`vertical-align`)}set verticalAlign(e){this.setProperty(`vertical-align`,e)}get visibility(){return this.getPropertyValue(`visibility`)}set visibility(e){this.setProperty(`visibility`,e)}get whiteSpace(){return this.getPropertyValue(`white-space`)}set whiteSpace(e){this.setProperty(`white-space`,e)}get widows(){return this.getPropertyValue(`widows`)}set widows(e){this.setProperty(`widows`,e)}get width(){return this.getPropertyValue(`width`)}set width(e){this.setProperty(`width`,e)}get willChange(){return this.getPropertyValue(`will-change`)}set willChange(e){this.setProperty(`will-change`,e)}get wordBreak(){return this.getPropertyValue(`word-break`)}set wordBreak(e){this.setProperty(`word-break`,e)}get wordSpacing(){return this.getPropertyValue(`word-spacing`)}set wordSpacing(e){this.setProperty(`word-spacing`,e)}get wordWrap(){return this.getPropertyValue(`word-wrap`)}set wordWrap(e){this.setProperty(`word-wrap`,e)}get writingMode(){return this.getPropertyValue(`writing-mode`)}set writingMode(e){this.setProperty(`writing-mode`,e)}get x(){return this.getPropertyValue(`x`)}set x(e){this.setProperty(`x`,e)}get y(){return this.getPropertyValue(`y`)}set y(e){this.setProperty(`y`,e)}get zIndex(){return this.getPropertyValue(`z-index`)}set zIndex(e){this.setProperty(`z-index`,e)}get zoom(){return this.getPropertyValue(`zoom`)}set zoom(e){this.setProperty(`zoom`,e)}get containerType(){return this.getPropertyValue(`container-type`)}set containerType(e){this.setProperty(`container-type`,e)}get containerName(){return this.getPropertyValue(`container-name`)}set containerName(e){this.setProperty(`container-name`,e)}get aspectRatio(){return this.getPropertyValue(`aspect-ratio`)}set aspectRatio(e){this.setProperty(`aspect-ratio`,e)}get length(){return this.#r().size()}get cssText(){return this.#e&&this.#t?``:this.#r().toString()}set cssText(e){if(this.#t)throw new this[b].DOMException(`Failed to execute 'cssText' on 'CSSStyleDeclaration': These styles are computed, and the properties are therefore read-only.`,H.domException);this.#e?(this.#n.propertyManager=new Ic({cssText:e}),this.#n.attributeValue=e,this.#e.setAttribute(`style`,this.#n.propertyManager.toString())):this.#n.propertyManager=new Ic({cssText:e})}item(e){return this.#r().item(e)}setProperty(e,t,n){if(this.#t)throw new this[b].DOMException(`Failed to execute 'setProperty' on 'CSSStyleDeclaration': These styles are computed, and therefore the '${e}' property is read-only.`,H.domException);if(n!==``&&n!==void 0&&n!==`important`)return;let r=String(t).trim(),i=this.#r();r?i.set(e,r,!!n):i.remove(e),this.#e&&(this.#n.attributeValue=i.toString(),this.#n.attributeValue?this.#e.setAttribute(`style`,this.#n.attributeValue):this.#e.removeAttribute(`style`))}removeProperty(e){if(this.#t)throw new this[b].DOMException(`Failed to execute 'removeProperty' on 'CSSStyleDeclaration': These styles are computed, and therefore the '${e}' property is read-only.`,H.domException);let t=this.#r();t.remove(e),this.#e&&(this.#n.attributeValue=t.toString(),this.#n.attributeValue?this.#e.setAttribute(`style`,this.#n.attributeValue):this.#e.removeAttribute(`style`))}getPropertyValue(e){return this.#r().get(e)?.value||``}getPropertyPriority(e){return this.#r().get(e)?.important?`important`:``}#r(){let e=this.#e,t=this.#n;if(!e)return t.propertyManager||=new Ic,t.propertyManager;if(this.#t)return new vl(e).getComputedStyle();let n=e.getAttribute(`style`)||``;return t.attributeValue!==n&&(t.propertyManager=new Ic({cssText:n})),t.propertyManager}},bl=class extends fl{[Go]=``;get conditionText(){return this[Go]}},xl=class extends bl{[qr]=G.containerRule;[Qo]=``;get type(){return G.containerRule}get cssText(){let e=``;for(let t of this[Ho])e+=`
|
|
9
|
-
`+t.cssText;return e+=`
|
|
10
|
-
`,`@${this[Qo]}container ${this[Go]} {${e}}`}},Sl=class extends Ks{[De]=``;#e=null;get type(){return G.fontFaceRule}get cssText(){return`@font-face { ${this.style.cssText} }`}get style(){return this.#e||(this.#e=new yl(N,this[b]),this.#e.parentRule=this,this.#e.cssText=this[De]),this.#e}},Cl=class extends Ks{[Ko]=``;[De]=``;#e=null;get type(){return G.keyframeRule}get cssText(){return`${this[Ko]} { ${this.style.cssText} }`}get style(){return this.#e||(this.#e=new yl(N,this[b]),this.#e.parentRule=this,this.#e.cssText=this[De]),this.#e}get keyText(){return this[Ko]}};const wl=/^(from|to|[0-9]{1,3}%)\s*{([^}]*)}$/;var Tl=class extends Ks{[Ho]=[];[E]=``;[Qo]=``;get type(){return G.keyframesRule}get cssText(){let e=``;for(let t of this[Ho])e+=`
|
|
11
|
-
`+t.cssText;return e+=`
|
|
12
|
-
`,`@${this[Qo]}keyframes ${this[E]} { ${e}}`}get cssRules(){return this[Ho]}get name(){return this[E]}get length(){return this[Ho].length}appendRule(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'appendRule' on 'CSSKeyframesRule': 1 argument required, but only 0 present.`);let t=String(e).trim().match(wl);if(!t)throw new this[b].DOMException(`Invalid or unexpected token`,H.syntaxError);let n=new Cl(N,this[b],this[Xo]),r=t[1].trim();r===`from`?r=`0%`:r===`to`&&(r=`100%`),n[Uo]=this,n[Ko]=r,n[De]=t[2].trim(),this[Ho].push(n)}deleteRule(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'deleteRule' on 'CSSKeyframesRule': 1 argument required, but only 0 present.`);for(let t=0,n=this[Ho].length;t<n;t++)if(this[Ho][t][Ko]===e){this[Ho].splice(t,1);return}}findRule(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'findRule' on 'CSSKeyframesRule': 1 argument required, but only 0 present.`);for(let t=0,n=this[Ho].length;t<n;t++)if(this[Ho][t][Ko]===e)return this[Ho][t];return null}};const El=/\s*,\s*/;var Dl=class e{[Zo];constructor(t,n){if(t!==N)throw TypeError(`Illegal constructor`);this[Zo]=n;let r=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t in e||typeof t==`symbol`)return r.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){return r.bind(t),(t in e||typeof t==`symbol`)&&(e[t]=n),!0},deleteProperty(e,t){return(t in e||typeof t==`symbol`)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(typeof t==`symbol`)return!1;if(t in e)return!0;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return r.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get mediaText(){return this[Zo][Go]}set mediaText(e){this[Zo][Go]=e===null?``:String(e).split(El).join(`, `)}item(e){return this[P]()[Number(e)]||null}appendMedium(e){let t=this[P]();t.indexOf(e)===-1&&(t.push(e),this[Zo][Go]=t.join(`, `))}deleteMedium(e){let t=this[P](),n=t.indexOf(e);n!==-1&&(t.splice(n,1),this[Zo][Go]=t.join(`, `))}[P](){return this[Zo][Go].trim()?this[Zo][Go].split(El):[]}},Ol=class extends bl{[qo]=new Dl(N,this);get type(){return G.mediaRule}get cssText(){let e=``;for(let t of this[Ho])e+=`
|
|
13
|
-
`+t.cssText;return e+=e?`
|
|
14
|
-
`:` `,`@media ${this.conditionText} {${e}}`}get media(){return this[qo]}get conditionText(){return this.media.mediaText}},kl=class{#e;constructor(e){this.#e=e}get value(){return this.#e}set value(e){this.#e=e}},Al=class{#e;#t;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this.#e=t,this.#t=n}toString(){return this.#e.getPropertyValue(this.#t)}},jl=class{[ut];constructor(e,t){if(e!==N)throw TypeError(`Illegal constructor`);this[ut]=t}get size(){return this[ut].length}[Symbol.iterator](){return this.entries()}entries(){let e=this[ut].length,t=Array(e);for(let n=0;n<e;n++){let e=this[ut][n];t[n]=[e,[new kl(this[ut].getPropertyValue(e))]]}return t.values()}values(){let e=this[ut].length,t=Array(e);for(let n=0;n<e;n++){let e=this[ut][n];t[n]=[new kl(this[ut].getPropertyValue(e))]}return t.values()}keys(){let e=this[ut].length,t=Array(e);for(let n=0;n<e;n++)t[n]=this[ut][n];return t.values()}get(e){return new Al(N,this[ut],e)}getAll(e){return[new Al(N,this[ut],e)]}has(e){return!!this[ut].getPropertyValue(e)}},Ml=class extends jl{append(e,t){this[ut].setProperty(e,t)}clear(){this[ut].cssText=``}delete(e){this[ut].removeProperty(e)}set(e,t){this[ut].setProperty(e,t)}},Nl=class extends fl{[Jo]=null;[Yo]=``;[De]=``;#e=null;get type(){return G.styleRule}get cssText(){return`${this[Yo]} { ${this.style.cssText} }`}get styleMap(){return this[Jo]||(this[Jo]=new Ml(N,this.style)),this[Jo]}get selectorText(){return this[Yo]}get style(){return this.#e||(this.#e=new yl(N,this[b]),this.#e.parentRule=this,this.#e.cssText=this[De]),this.#e}},Pl=class extends bl{[qr]=G.supportsRule;[Qo]=``;get type(){return G.supportsRule}get cssText(){let e=``;for(let t of this[Ho])e+=`
|
|
15
|
-
`+t.cssText;return e+=`
|
|
16
|
-
`,`@${this[Qo]}supports ${this.conditionText} {${e}}`}},Fl={html:`http://www.w3.org/1999/xhtml`,svg:`http://www.w3.org/2000/svg`,mathML:`http://www.w3.org/1998/Math/MathML`,xml:`http://www.w3.org/XML/1998/namespace`,xlink:`http://www.w3.org/1999/xlink`,xmlns:`http://www.w3.org/2000/xmlns/`};const Il=new Map,Ll=new Map,Rl=/[A-Z]/g,zl=/[a-z]/g;var Bl=class{static asciiLowerCase(e){let t=Il.get(e);if(t)return t;let n=e.replace(Rl,e=>String.fromCharCode(e.charCodeAt(0)+32));return Il.set(e,n),n}static asciiUpperCase(e){let t=Ll.get(e);if(t)return t;let n=e.replace(zl,e=>String.fromCharCode(e.charCodeAt(0)-32));return Ll.set(e,n),n}};const Vl=`[-_.]|[0-9]|[a-z]|·|[À-Ö]|[Ø-ö]|[ø-ͽ]|[Ϳ-]|[-]|[‿-⁀]|[⁰-]|[Ⰰ-]|[、-]|[豈-﷏]|[ﷰ-�]|[𐀀-]`,Hl=RegExp(`^[a-z](${Vl})*-(${Vl})*$`,`u`),Ul=[`annotation-xml`,`color-profile`,`font-face`,`font-face-src`,`font-face-uri`,`font-face-format`,`font-face-name`,`missing-glyph`];var Wl=class{static isValidCustomElementName(e){return Hl.test(e)&&!Ul.includes(e)}},Gl=class{[tt]=new Map;[wn]=new Map;[ge]=new Map;[Yr]=!1;#e;constructor(e){if(!e)throw TypeError(`Illegal constructor`);this.#e=e}define(e,t,n){if(this[Yr])return;if(!Wl.isValidCustomElementName(e))throw new this.#e.DOMException(`Failed to execute 'define' on 'CustomElementRegistry': "${e}" is not a valid custom element name`);if(this[tt].has(e))throw new this.#e.DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(this[wn].has(t))throw new this.#e.DOMException(`Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry`);let r=Bl.asciiUpperCase(e);t.prototype[b]=this.#e,t.prototype[g]=this.#e.document,t.prototype[w]=r,t.prototype[k]=e,t.prototype[T]=Fl.html;let i=new Set,a=t.observedAttributes;if(Array.isArray(a))for(let e of a)i.add(String(e).toLowerCase());this[tt].set(e,{elementClass:t,extends:n&&n.extends?n.extends.toLowerCase():null,observedAttributes:i,lifecycleCallbacks:{connectedCallback:t.prototype.connectedCallback,disconnectedCallback:t.prototype.disconnectedCallback,attributeChangedCallback:t.prototype.attributeChangedCallback}}),this[wn].set(t,e);let o=this[ge].get(e);if(o){this[ge].delete(e);for(let e of o)e()}}get(e){return this[tt].get(e)?.elementClass}upgrade(e){}whenDefined(e){return this[Yr]?Promise.reject(new this.#e.DOMException(`Failed to execute 'whenDefined' on 'CustomElementRegistry': The custom element registry has been destroyed.`)):Wl.isValidCustomElementName(e)?this.get(e)?Promise.resolve():new Promise(t=>{let n=this[ge].get(e);n?n.push(t):this[ge].set(e,[t])}):Promise.reject(new this.#e.DOMException(`Failed to execute 'whenDefined' on 'CustomElementRegistry': Invalid custom element name: "${e}"`))}getName(e){return this[wn].get(e)||null}[Me](){this[Yr]=!0;for(let e of this[tt].values())e.elementClass.prototype[b]=null,e.elementClass.prototype[g]=null,e.elementClass.prototype[w]=null,e.elementClass.prototype[k]=null,e.elementClass.prototype[T]=null;this[tt]=new Map,this[wn]=new Map,this[ge]=new Map}},Kl=class{kind;type;#e=null;constructor(e,t=``){this.kind=typeof e==`string`?`string`:`file`,this.type=this.kind===`string`?t:e.type,this.#e=e}getAsFile(){return this.kind===`string`?null:this.#e}getAsString(e){this.kind===`file`&&e(``),e(this.#e)}},ql=class extends Rs{lastModified;name;constructor(e,t,n){if(arguments.length<2)throw TypeError(`Failed to construct 'File': 2 arguments required, but only `+arguments.length+` present.`);super(e,n),this.name=t,this.lastModified=n&&n.lastModified?n.lastModified:Date.now()}},Jl=class extends Array{add(e,t){if(e instanceof ql){this.push(new Kl(e));return}if(!t)throw TypeError(`Failed to execute 'add' on 'DataTransferItemList': parameter 1 is not of type 'File'.`);this.push(new Kl(e,t))}remove(e){this.splice(e,1)}clear(){for(;this.length;)this.pop()}},Yl=class{dropEffect=`none`;effectAllowed=`none`;items=new Jl;get files(){let e=[];for(let t of this.items)if(t.kind===`file`){let n=t.getAsFile();n&&e.push(n)}return e}get types(){return this.items.map(e=>e.type)}clearData(){this.items.clear()}setData(e,t){for(let n=0,r=this.items.length;n<r;n++)if(this.items[n].type===e){this.items[n]=new Kl(t,e);return}this.items.add(t,e)}getData(e){let t=this.#e(e);for(let e=0,n=this.items.length;e<n;e++)if(this.#e(this.items[e].type)===t){let t=``;return this.items[e].getAsString(e=>t=e),t}return``}#e(e){let t=e.toLowerCase();return t===`text`?`text/plain`:t===`url`?`text/uri-list`:t}setDragImage(){throw Error(`Not implemented.`)}},Xl=class{identifier;target;clientX;clientY;screenX;screenY;pageX;pageY;radiusX;radiusY;rotationAngle;force;constructor(e){this.identifier=e.identifier,this.target=e.target,this.clientX=e.clientX??0,this.clientY=e.clientY??0,this.screenX=e.screenX??0,this.screenY=e.screenY??0,this.pageX=e.pageX??0,this.pageY=e.pageY??0,this.radiusX=e.radiusX??0,this.radiusY=e.radiusY??0,this.rotationAngle=e.rotationAngle??0,this.force=e.force??0}},Zl=class extends W{static NONE=0;static CAPTURING_PHASE=1;static AT_TARGET=2;static BUBBLING_PHASE=3;detail;layerX=0;layerY=0;pageX=0;pageY=0;view;constructor(e,t=null){super(e,t),this.detail=t?.detail??0,this.view=t?.view??null}},Ql=class extends W{animationName;elapsedTime;pseudoElement;constructor(e,t=null){super(e,t),this.animationName=t?.animationName??``,this.elapsedTime=t?.elapsedTime??0,this.pseudoElement=t?.pseudoElement??``}},$l=class extends W{clipboardData;constructor(e,t=null){super(e,t),this.clipboardData=t?.clipboardData??null}},eu=class extends W{[Jr];constructor(e,t=null){super(e,t),this[Jr]=t?.detail??null}get detail(){return this[Jr]}initCustomEvent(e,t=!1,n=!1,r=null){this[qr]=e,this[Hr]=t,this[Ur]=n,this[Jr]=r}},tu=class extends Zl{message;filename;lineno;colno;error;constructor(e,t=null){super(e,t),this.message=t?.message??``,this.filename=t?.filename??``,this.lineno=t?.lineno??0,this.colno=t?.colno??0,this.error=t?.error??null}},nu=class extends Zl{relatedTarget;constructor(e,t=null){super(e,t),this.relatedTarget=t?.relatedTarget??null}},ru=class extends W{newURL;oldURL;constructor(e,t=null){super(e,t),this.newURL=t?.newURL??``,this.oldURL=t?.oldURL??``}},iu=class extends Zl{data;dataTransfer;inputType;isComposing;constructor(e,t=null){super(e,t),this.data=t?.data??``,this.dataTransfer=t?.dataTransfer??null,this.inputType=t?.inputType??``,this.isComposing=t?.isComposing??!1}},au=class extends Zl{static DOM_KEY_LOCATION_STANDARD=0;static DOM_KEY_LOCATION_LEFT=1;static DOM_KEY_LOCATION_RIGHT=2;static DOM_KEY_LOCATION_NUMPAD=3;altKey;code;ctrlKey;isComposing;key;location;metaKey;repeat;shiftKey;keyCode;which;constructor(e,t=null){super(e,t),this.altKey=t?.altKey??!1,this.code=t?.code??``,this.ctrlKey=t?.ctrlKey??!1,this.isComposing=t?.isComposing??!1,this.key=t?.key??``,this.location=t?.location??0,this.metaKey=t?.metaKey??!1,this.repeat=t?.repeat??!1,this.shiftKey=t?.shiftKey??!1,this.keyCode=t?.keyCode??0,this.which=t?.which??t?.keyCode??0}getModifierState(e){if(arguments.length<1)throw TypeError(`Failed to execute 'getModifierState' on 'KeyboardEvent': 1 argument required, but only 0 present.`);switch(String(e).toLowerCase()){case`alt`:case`altgraph`:return this.altKey;case`control`:return this.ctrlKey;case`meta`:return this.metaKey;case`shift`:return this.shiftKey;default:return!1}}},ou=class extends W{data;origin;lastEventId;source;ports;constructor(e,t=null){super(e,t),this.data=t?.data??null,this.origin=t?.origin??``,this.lastEventId=t?.lastEventId??``,this.source=t?.source??null,this.ports=t?.ports??[]}},su=class extends Zl{altKey;button;buttons;clientX;clientY;ctrlKey;metaKey;movementX;movementY;offsetX;offsetY;region;relatedTarget;screenX;screenY;shiftKey;constructor(e,t=null){super(e,t),this.altKey=t?.altKey??!1,this.button=t?.button??0,this.buttons=t?.buttons??0,this.clientX=t?.clientX??0,this.clientY=t?.clientY??0,this.ctrlKey=t?.ctrlKey??!1,this.metaKey=t?.metaKey??!1,this.movementX=t?.movementX??0,this.movementY=t?.movementY??0,this.offsetX=t?.offsetX??0,this.offsetY=t?.offsetY??0,this.region=t?.region??``,this.relatedTarget=t?.relatedTarget??null,this.screenX=t?.screenX??0,this.screenY=t?.screenY??0,this.shiftKey=t?.shiftKey??!1}},cu=class extends su{pointerId;width;height;pressure;tangentialPressure;tiltX;tiltY;twist;altitudeAngle;azimuthAngle;pointerType;isPrimary;coalescedEvents;predictedEvents;constructor(e,t=null){super(e,t),this.pointerId=t?.pointerId??0,this.width=t?.width??1,this.height=t?.height??1,this.pressure=t?.pressure??0,this.tangentialPressure=t?.tangentialPressure??0,this.tiltX=t?.tiltX??0,this.tiltY=t?.tiltY??0,this.twist=t?.twist??0,this.altitudeAngle=t?.altitudeAngle??0,this.azimuthAngle=t?.azimuthAngle??0,this.pointerType=t?.pointerType??``,this.isPrimary=t?.isPrimary??!1,this.coalescedEvents=t?.coalescedEvents??[],this.predictedEvents=t?.predictedEvents??[]}getCoalescedEvents=()=>this.coalescedEvents;getPredictedEvents=()=>this.predictedEvents},lu=class extends W{lengthComputable;loaded;total;constructor(e,t=null){super(e),this.lengthComputable=t?.lengthComputable??!1,this.loaded=t?.loaded??0,this.total=t?.total??0}},uu=class extends W{key;oldValue;newValue;url;storageArea;constructor(e,t=null){super(e),this.key=t?.key??null,this.oldValue=t?.oldValue??null,this.newValue=t?.newValue??null,this.url=t?.url??``,this.storageArea=t?.storageArea??null}},du=class extends W{submitter;constructor(e,t=null){super(e,t),this.submitter=t?.submitter??null}},fu=class extends Zl{altKey;changedTouches;ctrlKey;metaKey;shiftKey;targetTouches;touches;constructor(e,t=null){super(e,t),this.altKey=t?.altKey??!1,this.changedTouches=t?.changedTouches??[],this.ctrlKey=t?.ctrlKey??!1,this.metaKey=t?.metaKey??!1,this.shiftKey=t?.shiftKey??!1,this.targetTouches=t?.targetTouches??[],this.touches=t?.touches??[]}},pu=class extends Zl{static DOM_DELTA_PIXEL=0;static DOM_DELTA_LINE=1;static DOM_DELTA_PAGE=2;deltaX;deltaY;deltaZ;deltaMode;constructor(e,t=null){super(e,t),this.deltaX=t?.deltaX??0,this.deltaY=t?.deltaY??0,this.deltaZ=t?.deltaZ??0,this.deltaMode=t?.deltaMode??0}},mu=class extends p{constructor(e,t){try{super(e,t)}catch(e){throw super(`about:blank`),this[b]?new this[b].TypeError(`Invalid URL`):e}}static createObjectURL(e){if(e instanceof Rs){let t=new r([e[me]],{type:e.type});return super.createObjectURL(t)}return super.createObjectURL(e)}};const hu=/^(about|blob|data):$/,gu=[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`];var _u=class{static prepareRequest(e,t){t.referrerPolicy||(t[No]=`strict-origin-when-cross-origin`),t.referrer&&t.referrer!==`no-referrer`?t[et]=this.getSentReferrer(e,t):t[et]=`no-referrer`}static getInitialReferrer(e,t){if(t===``||t===`no-referrer`||t===`client`)return t;if(t){let n=t instanceof mu?t:new mu(t,e.location.href);return n.origin===e.location.origin?n:`client`}return`client`}static getReferrerPolicyFromHeader(e){let t=e.get(`Referrer-Policy`);if(!t)return``;let n=t.split(/[,\s]+/),r=``;for(let e of n)e&&gu.includes(e)&&(r=e);return r}static getSentReferrer(e,t){if(t.referrer===`about:client`&&e.origin===`null`)return`no-referrer`;let n=new mu(t.url),r=t.referrer===`about:client`?new mu(e.href):new mu(t.referrer);if(hu.test(r.protocol))return`no-referrer`;switch(r.username=``,r.password=``,r.hash=``,t.referrerPolicy){case`no-referrer`:return`no-referrer`;case`origin`:return new mu(r.origin);case`unsafe-url`:return r;case`strict-origin`:return this.isURLPotentiallyTrustWorthy(r)&&!this.isURLPotentiallyTrustWorthy(n)?`no-referrer`:new mu(r.origin);case`strict-origin-when-cross-origin`:return r.origin===n.origin?r:this.isURLPotentiallyTrustWorthy(r)&&!this.isURLPotentiallyTrustWorthy(n)?`no-referrer`:new mu(r.origin);case`same-origin`:return r.origin===n.origin?r:`no-referrer`;case`origin-when-cross-origin`:return r.origin===n.origin?r:new mu(r.origin);case`no-referrer-when-downgrade`:return this.isURLPotentiallyTrustWorthy(r)&&!this.isURLPotentiallyTrustWorthy(n)?`no-referrer`:r}return`no-referrer`}static isURLPotentiallyTrustWorthy(e){return/^about:(blank|srcdoc)$/.test(e.href)||e.protocol===`data:`||/^(blob|filesystem):$/.test(e.protocol)?!0:this.isOriginPotentiallyTrustWorthy(e)}static isOriginPotentiallyTrustWorthy(e){if(/^(http|ws)s:$/.test(e.protocol))return!0;let t=e.host.replace(/(^\[)|(]$)/g,``),n=oe(t);return n===4&&/^127\./.test(t)||n===6&&/^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(t)?!0:e.host===`localhost`||e.host.endsWith(`.localhost`)?!1:e.protocol===`file:`}},vu=class{static parse(e){if(!/^data:/i.test(e))throw TypeError('`uri` does not appear to be a Data URI (must begin with "data:")');e=e.replace(/\r?\n/g,``);let t=e.indexOf(`,`);if(t===-1||t<=4)throw TypeError(`malformed data: URI`);let n=e.substring(5,t).split(`;`),r=``,i=!1,a=n[0]||`text/plain`;for(let e=1;e<n.length;e++)n[e]===`base64`?i=!0:n[e]&&(a+=`;${n[e]}`,n[e].indexOf(`charset=`)===0&&(r=n[e].substring(8)));!n[0]&&!r.length&&(a+=`;charset=US-ASCII`,r=`US-ASCII`);let o=i?`base64`:`ascii`,s=unescape(e.substring(t+1)),c=Buffer.from(s,o);return{type:a,charset:r,buffer:c}}},yu=class{static isCORS(e,t){return e=typeof e==`string`?new p(e):e,t=typeof t==`string`?new p(t):t,t.protocol===`about:`||t.protocol===`javascript:`?!1:e.hostname!==t.hostname&&!e.hostname.endsWith(t.hostname)||e.protocol!==t.protocol}},bu;(function(e){e[e.boundary=0]=`boundary`,e[e.headerStart=2]=`headerStart`,e[e.header=3]=`header`,e[e.data=5]=`data`})(bu||={});const xu={lf:10,cr:13};var Su=class{formData;boundary;boundaryIndex=0;state=bu.boundary;data={contentDisposition:null,value:[],contentType:null,header:``};constructor(e,t){let n=`--${t}`;this.boundary=new Uint8Array(n.length),this.formData=new e.FormData;for(let e=0,t=n.length;e<t;e++)this.boundary[e]=n.charCodeAt(e)}write(e){let t,n;for(let r=0,i=e.length;r<i;r++)switch(t=e[r],n=e[r+1],this.state){case bu.boundary:t===this.boundary[this.boundaryIndex]?this.boundaryIndex++:this.boundaryIndex=0,this.boundaryIndex===this.boundary.length&&(this.state=bu.headerStart,this.boundaryIndex=0);break;case bu.headerStart:n!==xu.cr&&n!==xu.lf&&(this.data.header=``,this.state=e[r-2]===xu.lf?bu.data:bu.header);break;case bu.header:if(t===xu.cr){if(this.data.header){let e=this.data.header.split(`:`);if(e.length>1){let t=e[0].toLowerCase(),n=e[1].trim();switch(t){case`content-disposition`:this.data.contentDisposition=this.getContentDisposition(n);break;case`content-type`:this.data.contentType=n;break}}}this.state=bu.headerStart}else this.data.header+=String.fromCharCode(t);break;case bu.data:t===this.boundary[this.boundaryIndex]?this.boundaryIndex++:this.boundaryIndex=0,this.boundaryIndex===this.boundary.length?(this.state=bu.headerStart,this.data.value.length&&(this.appendFormData(this.data.contentDisposition.name,Buffer.from(this.data.value.slice(0,-(this.boundary.length+1))),this.data.contentDisposition.filename,this.data.contentType),this.data.value=[],this.data.contentDisposition=null,this.data.contentType=null),this.boundaryIndex=0):this.data.value.push(t);break}}end(){return this.data.contentDisposition&&this.data.value.length&&this.appendFormData(this.data.contentDisposition.name,Buffer.from(this.data.value.slice(0,-2)),this.data.contentDisposition.filename,this.data.contentType),this.formData}appendFormData(e,t,n,r){t.length&&(n?this.formData.append(e,new ql([t],n,{type:r})):this.formData.append(e,t.toString()))}getContentDisposition(e){let t=/([a-z]+) *= *"([^"]+)"/g,n={},r;for(;r=t.exec(e);)n[r[1]]=r[2];return n}},Cu=class{#e;#t=null;constructor(e){this.#e=e}get readableStream(){return this.#t||=this.#e(),this.#t}},wu=class{static async streamToFormData(e,t,n){if(!/multipart/i.test(n))throw new e.DOMException(`Failed to build FormData object: The "content-type" header isn't of type "multipart/form-data".`,H.invalidStateError);let r=t.body;if(!r)throw new e.DOMException(`Failed to build FormData object: The response body is null.`,H.invalidStateError);let a=n.match(/boundary=(?:"([^"]+)"|([^;]+))/i);if(!a)throw new e.DOMException(`Failed to build FormData object: The "content-type" header doesn't contain any multipart boundary.`,H.invalidStateError);let o=r.getReader(),s=new Su(e,a[1]||a[2]),c=[],l,u=await o.read();for(;!u.done;){if(t[fn])throw t[fn];if(t[Xr])throw new e.DOMException(`Failed to read response body: The stream was aborted.`,H.abortError);s.write(u.value),u=await o.read()}try{l=typeof c[0]==`string`?i.from(c.join(``)):i.concat(c,0)}catch(t){throw new e.DOMException(`Could not create Buffer from response body. Error: ${t.message}.`,H.invalidStateError)}return{formData:s.end(),buffer:l}}static formDataToStream(e){let t=`----HappyDOMFormDataBoundary`+Math.random().toString(36),n=[],r=`--${t}\r\nContent-Disposition: form-data; name="`;for(let[t,a]of e)typeof a==`string`?n.push(i.from(`${r}${this.escapeName(t)}"\r\n\r\n${a.replace(/\r(?!\n)|(?<!\r)\n/g,`\r
|
|
17
|
-
`)}\r\n`)):(n.push(i.from(`${r}${this.escapeName(t)}"; filename="${this.escapeName(a.name,!0)}"\r\nContent-Type: ${a.type||`application/octet-stream`}\r\n\r\n`)),n.push(a[me]),n.push(i.from(`\r
|
|
18
|
-
`)));n.push(i.from(`--${t}--\r\n`));let a=i.concat(n);return{contentType:`multipart/form-data; boundary=${t}`,contentLength:a.length,buffer:a,stream:new Cu(()=>new se({start(e){e.enqueue(a),e.close()}}))}}static escapeName(e,t=!1){return(t?e:e.replace(/\r?\n|\r/g,`\r
|
|
19
|
-
`)).replace(/\n/g,`%0A`).replace(/\r/g,`%0D`).replace(/"/g,`%22`)}},Tu=class{#e=[];constructor(e,t){if(!e)return;if(t){let n=e[ar]?e[ar]:e;if(t.form!==n)throw new this[b].DOMException(`The specified element is not owned by this form element`,H.notFoundError);if(!(t[w]===`INPUT`&&(t.type===`submit`||t.type===`image`)||t[w]===`BUTTON`&&t.type===`submit`))throw new this[b].TypeError(`The specified element is not a submit button`)}let n=e[tr]();for(let e of n){let n=e.name;if(n)switch(e[w]){case`INPUT`:if(e.disabled)break;switch(e.type){case`file`:if(e[$t].length===0)this.append(n,new ql([],``,{type:`application/octet-stream`}));else for(let t of e[$t])this.append(n,t);break;case`checkbox`:case`radio`:e.checked&&this.append(n,e.value);break;case`submit`:case`reset`:case`button`:e===t&&e.value&&this.append(n,e.value);break;default:this.append(n,e.value);break}break;case`BUTTON`:e===t&&e.value&&this.append(n,e.value);break;case`TEXTAREA`:case`SELECT`:this.append(n,e.value);break}}}forEach(e,t){for(let n of this.#e)e.call(t,n.value,n.name,this)}append(e,t,n){if(n&&!(t instanceof Rs))throw new this[b].TypeError(`Failed to execute "append" on "FormData": parameter 2 is not of type "Blob".`);this.#e.push({name:e,value:this.#t(t,n)})}delete(e){let t=[];for(let n of this.#e)n.name!==e&&t.push(n);this.#e=t}get(e){for(let t of this.#e)if(t.name===e)return t.value;return null}getAll(e){let t=[];for(let n of this.#e)n.name===e&&t.push(n.value);return t}has(e){for(let t of this.#e)if(t.name===e)return!0;return!1}set(e,t,n){for(let r of this.#e)if(r.name===e){r.value=this.#t(t,n);return}this.append(e,t)}*keys(){for(let e of this.#e)yield e.name}*values(){for(let e of this.#e)yield e.value}*entries(){for(let e of this.#e)yield[e.name,e.value]}*[Symbol.iterator](){for(let e of this.#e)yield[e.name,e.value]}#t(e,t){if(e instanceof ql){if(t){let n=new ql([],t,{type:e.type,lastModified:e.lastModified});return n[me]=e[me],n}return e}if(e instanceof Rs){let t=new ql([],`blob`,{type:e.type});return t[me]=e[me],t}return String(e)}},Eu=class{static getBodyStream(e){if(e==null)return{stream:null,buffer:null,contentType:null,contentLength:null};if(e instanceof ee){let t=i.from(e.toString());return{buffer:t,stream:this.getReadableStream(t),contentType:`application/x-www-form-urlencoded;charset=UTF-8`,contentLength:t.length}}else if(e instanceof Rs){let t=e[me];return{buffer:t,stream:this.getReadableStream(t),contentType:e.type,contentLength:e.size}}else if(i.isBuffer(e))return{buffer:e,stream:this.getReadableStream(e),contentType:null,contentLength:e.length};else if(e instanceof ArrayBuffer){let t=i.from(e);return{buffer:t,stream:this.getReadableStream(t),contentType:null,contentLength:e.byteLength}}else if(ArrayBuffer.isView(e)){let t=i.from(e.buffer,e.byteOffset,e.byteLength);return{buffer:t,stream:this.getReadableStream(t),contentType:null,contentLength:e.byteLength}}else if(e instanceof se)return{buffer:null,stream:new Cu(()=>e),contentType:null,contentLength:null};else if(e instanceof Tu)return wu.formDataToStream(e);let t=i.from(String(e));return{buffer:t,stream:this.getReadableStream(t),contentType:`text/plain;charset=UTF-8`,contentLength:t.length}}static cloneBodyStream(e,t){if(t.bodyUsed)throw new e.DOMException(`Failed to clone body stream of request: Request body is already used.`,H.invalidStateError);if(t.body===null||t.body===void 0)return null;if(t[me])return this.getReadableStream(t[me]).readableStream;if(t.body[Tn]){let e=new u.PassThrough,n=new u.PassThrough;return t.body[Tn].pipe(e),t.body[Tn].pipe(n),t[jo]=new Cu(()=>this.nodeToWebStream(e)),this.nodeToWebStream(n)}let[n,r]=t.body.tee();return t[jo]=new Cu(()=>n),r}static async consumeBodyStream(e,t){let n=t.body;if(n===null||!(n instanceof se))return i.alloc(0);if(t[fn])throw t[fn];let r=n.getReader(),a=[],o=0;try{let n=await r.read();for(;!n.done;){if(t[fn])throw t[fn];if(t[Xr])throw new e.DOMException(`Failed to read response body: The stream was aborted.`,H.abortError);let i=n.value;o+=i.length,a.push(i),n=await r.read()}}catch(t){throw t instanceof _s?t:new e.DOMException(`Failed to read response body. Error: ${t.message}.`,H.encodingError)}try{return typeof a[0]==`string`?i.from(a.join(``)):i.concat(a,o)}catch(t){throw new e.DOMException(`Could not create Buffer from response body. Error: ${t.message}.`,H.invalidStateError)}}static nodeToWebStream(e){let t=new se({start(t){e.on(`data`,e=>{t.enqueue(e)}),e.on(`end`,()=>{t.close()}),e.on(`error`,e=>{t.error(e)})}});return t[Tn]=e,t}static getReadableStream(e){return new Cu(()=>new se({start(t){t.enqueue(e),t.close()}}))}};const Du=[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`],Ou=[`error`,`manual`,`follow`],ku=[`data:`,`http:`,`https:`],Au=[`TRACE`,`TRACK`,`CONNECT`],ju=/^[A-Z]+$/;var Mu=class{static validateMethod(e){if(!e.method||Au.includes(e.method))throw new _s(`'${e.method||``}' is not a valid HTTP method.`,H.invalidStateError);if(!ju.test(e.method))throw new _s(`'${e.method}' HTTP method is unsupported.`,H.invalidStateError)}static validateBody(e){if(e.body&&(e.method===`GET`||e.method===`HEAD`))throw new _s(`Request with GET/HEAD method cannot have body.`,H.invalidStateError)}static validateURL(e){if(e.username!==``||e.password!==``)throw new _s(`${e} is an url with embedded credentials.`,H.notSupportedError)}static validateReferrerPolicy(e){if(!Du.includes(e))throw new _s(`Invalid referrer policy "${e}".`,H.syntaxError)}static validateRedirect(e){if(!Ou.includes(e))throw new _s(`Invalid redirect "${e}".`,H.syntaxError)}static validateSchema(e){if(!ku.includes(e[gt].protocol))throw new _s(`Failed to fetch from "${e.url}": URL scheme "${e[gt].protocol.replace(/:$/,``)}" is not supported.`,H.notSupportedError)}},Nu=class{static stringToCookie(e,t){let n=t.split(`;`),r=n.shift();if(!r)return null;let i=r.indexOf(`=`),a=i===-1?r.trim():r.slice(0,i).trim(),o=i===-1?null:r.slice(i+1).trim(),s=Object.assign({},us,{key:a,value:o,originURL:e});if(!s.key)return null;for(let e of n){let t=e.indexOf(`=`),n=t===-1?e.trim().toLowerCase():e.slice(0,t).trim().toLowerCase(),r=t===-1?``:e.slice(t+1).trim();switch(n){case`expires`:s.expires=new Date(r);break;case`max-age`:s.expires=new Date(parseInt(r,10)*1e3+Date.now());break;case`domain`:s.domain=r;break;case`path`:s.path=r[0]===`/`?r:`/${r}`;break;case`httponly`:s.httpOnly=!0;break;case`secure`:s.secure=!0;break;case`samesite`:switch(r.toLowerCase()){case`strict`:s.sameSite=ls.strict;break;case`lax`:s.sameSite=ls.lax;break;case`none`:s.sameSite=ls.none}break}}let c=s.key.toLowerCase();return c.startsWith(`__secure-`)&&!s.secure||c.startsWith(`__host-`)&&(!s.secure||s.path!==`/`||s.domain)?null:s}static cookiesToString(e){let t=[];for(let n of e)n.value===null?t.push(n.key):t.push(`${n.key}=${n.value}`);return t.join(`; `)}};const Pu=[`accept-charset`,`accept-encoding`,`access-control-request-headers`,`access-control-request-method`,`connection`,`content-length`,`content-transfer-encoding`,`cookie`,`cookie2`,`date`,`dnt`,`expect`,`host`,`keep-alive`,`origin`,`referer`,`te`,`trailer`,`transfer-encoding`,`upgrade`,`via`];var Fu=class{static removeForbiddenHeaders(e){for(let t of Object.keys(e[Pe]))(Pu.includes(t)||t.startsWith(`proxy-`)||t.startsWith(`sec-`))&&delete e[Pe][t]}static isHeaderForbidden(e){return Pu.includes(e.toLowerCase())}static getRequestHeaders(e){let t=new e.window.Headers(e.baseHeaders);e.request.headers.forEach((e,n)=>{t.set(n,e)});let n=new p(e.window.location.href),r=yu.isCORS(n,e.request[gt]);if(t.set(`Accept-Encoding`,`gzip, deflate, br`),t.set(`Connection`,`close`),t.has(`User-Agent`)||t.set(`User-Agent`,e.window.navigator.userAgent),e.request[et]instanceof p&&t.set(`Referer`,e.request[et].href),e.request.credentials===`include`||e.request.credentials===`same-origin`&&!r){let n=e.browserFrame.page.context.cookieContainer.getCookies(e.request[gt],!1);n.length>0&&t.set(`Cookie`,Nu.cookiesToString(n))}else t.delete(`Cookie`),t.delete(`Cookie2`);t.has(`Accept`)||t.set(`Accept`,`*/*`),!t.has(`Content-Length`)&&e.request[Te]!==null&&t.set(`Content-Length`,String(e.request[Te])),!t.has(`Content-Type`)&&e.request[Ee]&&t.set(`Content-Type`,e.request[Ee]),r&&t.set(`Origin`,n.origin);let i={};for(let e of Object.values(t[Pe]))i[e.name]=e.value.join(`, `);return i}},Iu=class e{[Ta];[jo];[xn]=`cors`;[wr];[Mo];[No];[Po];[Fo]=!1;[Io];[Xr]=!1;[fn]=null;[Te]=null;[Ee]=null;[et]=`client`;[gt];[pe];constructor(t,n){let r=this[b];if(!r)throw TypeError(`Failed to construct 'Request': 'Request' was constructed outside a Window context.`);if(typeof t!=`string`&&!t)throw new r.TypeError(`Failed to construct 'Request': 1 argument required, only 0 present.`);if(this[Ta]=(n?.method||t.method||`GET`).toUpperCase(),n?.mode)switch(n.mode){case`navigate`:case`websocket`:throw new r.DOMException(`Failed to construct 'Request': Cannot construct a Request with a RequestInit whose mode member is set as '${n.mode}'.`,H.securityError);case`same-origin`:case`no-cors`:case`cors`:this[xn]=n.mode;break;default:throw new r.DOMException(`Failed to construct 'Request': The provided value '${n.mode}' is not a valid enum value of type RequestMode.`,H.syntaxError)}else t instanceof e&&(this[xn]=t.mode);let{stream:i,buffer:a,contentType:o,contentLength:s}=Eu.getBodyStream(t instanceof e&&(t[pe]||t.body)?t[pe]||Eu.cloneBodyStream(r,t):n?.body??null);if(this[pe]=a,this[jo]=i,this[Io]=n?.credentials||t.credentials||`same-origin`,this[wr]=new this[b].Headers(n?.headers||t.headers||{}),Fu.removeForbiddenHeaders(this.headers),s?this[Te]=s:!this.body&&(this.method===`POST`||this.method===`PUT`)&&(this[Te]=0),o?(this.headers.has(`Content-Type`)||this.headers.set(`Content-Type`,o),this[Ee]=o):t instanceof e&&t[Ee]&&(this[Ee]=t[Ee]),this[Mo]=n?.redirect||t.redirect||`follow`,this[No]=(n?.referrerPolicy||t.referrerPolicy||``).toLowerCase(),this[Po]=n?.signal||t.signal||new r.AbortSignal,this[et]=_u.getInitialReferrer(r,n?.referrer!==null&&n?.referrer!==void 0?n?.referrer:t.referrer),t instanceof p)this[gt]=t;else try{t instanceof e&&t.url?this[gt]=new p(t.url,r.location.href):this[gt]=new p(t,r.location.href)}catch{throw new r.DOMException(`Failed to construct 'Request': Invalid URL "${t}" on document location '${r.location}'.${r.location.origin===`null`?` Relative URLs are not permitted on current document location.`:``}`,H.notSupportedError)}Mu.validateMethod(this),Mu.validateBody(this),Mu.validateURL(this[gt]),Mu.validateReferrerPolicy(this.referrerPolicy),Mu.validateRedirect(this.redirect)}get method(){return this[Ta]}get body(){return this[jo]?.readableStream||null}get mode(){return this[xn]}get headers(){return this[wr]}get redirect(){return this[Mo]}get referrerPolicy(){return this[No]}get signal(){return this[Po]}get bodyUsed(){return this[Fo]}get credentials(){return this[Io]}get referrer(){return!this[et]||this[et]===`no-referrer`?``:this[et]===`client`?`about:client`:this[et].toString()}get url(){return this[gt].href}get[Symbol.toStringTag](){return`Request`}async arrayBuffer(){let e=this[b];if(this[Fo])throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getAsyncTaskManager();this[Fo]=!0;let n=t.startTask(()=>{this[Xr]=!0,this.signal[ue]()}),r;try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw t.endTask(n),e}return t.endTask(n),r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}async blob(){let e=this.headers.get(`Content-Type`)||``;return new Rs([await this.arrayBuffer()],{type:e})}async buffer(){let e=this[b];if(this[Fo])throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getAsyncTaskManager();this[Fo]=!0;let n=t.startTask(()=>{this[Xr]=!0,this.signal[ue]()}),r;try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw t.endTask(n),e}return t.endTask(n),r}async text(){let e=this[b];if(this[Fo])throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getAsyncTaskManager();this[Fo]=!0;let n=t.startTask(()=>{this[Xr]=!0,this.signal[ue]()}),r;try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw t.endTask(n),e}return t.endTask(n),new TextDecoder().decode(r)}async json(){let e=await this.text();return JSON.parse(e)}async formData(){let e=this[b],t=new Y(e).getAsyncTaskManager(),n=this.headers.get(`Content-Type`)??this[Ee];if(this.body&&n&&/multipart/i.test(n)){if(this[Fo])throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);this[Fo]=!0;let r=t.startTask(()=>{this[Xr]=!0,this.signal[ue]()}),i;try{i=(await wu.streamToFormData(e,this,n)).formData}catch(e){throw t.endTask(r),e}return t.endTask(r),i}if(n?.startsWith(`application/x-www-form-urlencoded`)){let t=new URLSearchParams(await this.text()),n=new e.FormData;for(let[e,r]of t)n.append(e,r);return n}throw new e.DOMException(`Failed to construct FormData object: The "content-type" header is neither "application/x-www-form-urlencoded" nor "multipart/form-data".`,H.invalidStateError)}clone(){return new this[b].Request(this)}};const Lu=[301,302,303,307,308];var Ru=class{bodyUsed=!1;redirected=!1;type=`basic`;url=``;status;statusText;ok;headers;[he]=null;[me]=null;[$o]=null;[Xr]=!1;[fn]=null;[jo]=null;constructor(e,t){if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);if(this.status=t?.status===void 0?200:t.status,this.statusText=t?.statusText||``,this.ok=this.status>=200&&this.status<300,this.headers=new this[b].Headers(t?.headers),this.headers.delete(`Set-Cookie`),this.headers.delete(`Set-Cookie2`),e){let{stream:t,buffer:n,contentType:r}=Eu.getBodyStream(e);this[jo]=t,n&&(this[me]=n),r&&!this.headers.has(`Content-Type`)&&this.headers.set(`Content-Type`,r)}}get[Symbol.toStringTag](){return`Response`}get body(){return this[jo]?.readableStream||null}async arrayBuffer(){let e=this[b];if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getBrowserFrame();if(!t)return new ArrayBuffer(0);let n=t[fe];this.bodyUsed=!0;let r=this[me];if(!r){let t=n.startTask(()=>{this[Xr]=!0});try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw n.endTask(t),e}n.endTask(t)}return this.#e(r),r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}async blob(){let e=this.headers.get(`Content-Type`)||``;return new Rs([await this.arrayBuffer()],{type:e})}async buffer(){let e=this[b];if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getBrowserFrame();if(!t)return i.alloc(0);let n=t[fe];this.bodyUsed=!0;let r=this[me];if(!r){let t=n.startTask(()=>{this[Xr]=!0});try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw n.endTask(t),e}n.endTask(t)}return this.#e(r),r}async text(){let e=this[b];if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);let t=new Y(e).getBrowserFrame();if(!t)return``;let n=t[fe];this.bodyUsed=!0;let r=this[me];if(!r){let t=n.startTask(()=>{this[Xr]=!0});try{r=await Eu.consumeBodyStream(e,this)}catch(e){throw n.endTask(t),e}n.endTask(t)}return this.#e(r),new TextDecoder().decode(r)}async json(){let e=await this.text();return JSON.parse(e)}async formData(){let e=this[b],t=new Y(e).getBrowserFrame();if(!t)return new e.FormData;let n=t[fe],r=this.headers.get(`Content-Type`);if(r&&this.body&&/multipart/i.test(r)){if(this.bodyUsed)throw new e.DOMException(`Body has already been used for "${this.url}".`,H.invalidStateError);this.bodyUsed=!0;let i=t[fe].startTask(()=>{this[Xr]=!0}),a,o;try{let t=await wu.streamToFormData(e,this,r);a=t.formData,o=t.buffer}catch(e){throw n.endTask(i),e}return this.#e(o),n.endTask(i),a}if(r?.startsWith(`application/x-www-form-urlencoded`)){let t=new ee(await this.text()),n=new e.FormData;for(let[e,r]of t)n.append(e,r);return n}throw new e.DOMException(`Failed to build FormData object: The "content-type" header is neither "application/x-www-form-urlencoded" nor "multipart/form-data".`,H.invalidStateError)}clone(){let e=this[b],t=Eu.cloneBodyStream(e,this),n=new e.Response(t,{status:this.status,statusText:this.statusText,headers:this.headers});return n[he]=this[he],n[me]=this[me],n.ok=this.ok,n.redirected=this.redirected,n.type=this.type,n.url=this.url,n}#e(e){this[me]=e,this[he]?.response?.waitingForBody&&(this[he].response.body=e,this[he].response.waitingForBody=!1)}static redirect(e,t=302){let n=this[b];if(!Lu.includes(t))throw new n.DOMException(`Failed to create redirect response: Invalid redirect status code.`,H.invalidStateError);return new n.Response(null,{headers:{location:new mu(e).toString()},status:t})}static error(){let e=new this[b].Response(null,{status:0,statusText:``});return e.type=`error`,e}static json(e,t){let n=this[b],r=JSON.stringify(e);if(r===void 0)throw new n.TypeError(`data is not JSON serializable`);let i=new n.Headers(t&&t.headers);return i.has(`Content-Type`)||i.set(`Content-Type`,`application/json`),new n.Response(r,{status:200,...t,headers:i})}};const zu=[301,302,303,307,308];var Bu=class{static isRedirect(e){return zu.includes(e)}static isMaxRedirectsReached(e){return e>=20}},Vu=class{static parseResponseHeaders(e){let t=new e.browserFrame.window.Headers,n=null;for(let r of e.rawHeaders)if(!n)n=r;else{let i=n.toLowerCase();if(i===`set-cookie`||i===`set-cookie2`){let t=Nu.stringToCookie(e.requestURL,r);t&&e.browserFrame.page.context.cookieContainer.addCookies([t])}else t.append(n,r);n=null}return t}},Hu={cert:`-----BEGIN CERTIFICATE-----
|
|
20
|
-
MIIDYzCCAkugAwIBAgIUJRKB/H66hpet1VfUlm0CiXqePA4wDQYJKoZIhvcNAQEL
|
|
21
|
-
BQAwQTELMAkGA1UEBhMCU0UxDjAMBgNVBAgMBVNrYW5lMQ4wDAYDVQQHDAVNYWxt
|
|
22
|
-
bzESMBAGA1UECgwJSGFwcHkgRE9NMB4XDTIyMTAxMTIyMDM0OVoXDTMyMTAwODIy
|
|
23
|
-
MDM0OVowQTELMAkGA1UEBhMCU0UxDjAMBgNVBAgMBVNrYW5lMQ4wDAYDVQQHDAVN
|
|
24
|
-
YWxtbzESMBAGA1UECgwJSGFwcHkgRE9NMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
|
|
25
|
-
MIIBCgKCAQEAqerQSQEg/SxVxRiwlItithr5e5EMZo1nsqt/xOxagbmpW3IEmt0j
|
|
26
|
-
bpbH7iEF4DDEo7KAOwUCOwVWeFxRoag8lG2ax48wrgjlCna45XDn0Xeg1ARajL04
|
|
27
|
-
gs46HZ0VrzIloVGfln0zgt/Vum5BNqs9Oc5fQoBmoP3cAn3dn4ZVcP0AKthtcyPl
|
|
28
|
-
q2DuNRN0PV0D2RtMSiAy9l1Ko6N5x+sAeClDyOL+sTDLngZBVeZyOKt9Id15S8Zt
|
|
29
|
-
XtA6VMgHnnF3jChn7pag77rsd/y5iANAVNZYqRl+Eg7xaDcsvbgH46UBOrBcB39Q
|
|
30
|
-
tTh5Mtjoxep5e3ZDFG+kQ1HUE+iz5O5n0wIDAQABo1MwUTAdBgNVHQ4EFgQU69s9
|
|
31
|
-
YSobG/m2SN4L/7zTaF7iDbwwHwYDVR0jBBgwFoAU69s9YSobG/m2SN4L/7zTaF7i
|
|
32
|
-
DbwwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAi/WUXx2oal8L
|
|
33
|
-
YnPlIuKfh49n/K18wXSYG//oFYwxfVxqpYH8hUiXVm/GUcXCxS++hUkaKLqXmH9q
|
|
34
|
-
MKJiCrZr3vS+2nsBKopkICu/TLdROl0sAI9lByfnEbfSAzjxe1IWJdK8NdY0y5m5
|
|
35
|
-
9pEr/URVIAp/CxrneyASb4q0Jg5To3FR7vYc+2X6wZn0MundKMg6Dp9/A37jiF3l
|
|
36
|
-
Tt/EJp299YZcsUzh+LnRuggRjnoOVu1aLcLFlaUiwZfy9m8mLG6B/mdW/qNzNMh9
|
|
37
|
-
Oqvg1zfGdpz/4D/2UUUBn6pq1vbsoAaF3OesoA3mfDcegDf/H9woJlpT0Wql+e68
|
|
38
|
-
Y3FblSokcA==
|
|
39
|
-
-----END CERTIFICATE-----`,key:`-----BEGIN PRIVATE KEY-----
|
|
40
|
-
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCp6tBJASD9LFXF
|
|
41
|
-
GLCUi2K2Gvl7kQxmjWeyq3/E7FqBualbcgSa3SNulsfuIQXgMMSjsoA7BQI7BVZ4
|
|
42
|
-
XFGhqDyUbZrHjzCuCOUKdrjlcOfRd6DUBFqMvTiCzjodnRWvMiWhUZ+WfTOC39W6
|
|
43
|
-
bkE2qz05zl9CgGag/dwCfd2fhlVw/QAq2G1zI+WrYO41E3Q9XQPZG0xKIDL2XUqj
|
|
44
|
-
o3nH6wB4KUPI4v6xMMueBkFV5nI4q30h3XlLxm1e0DpUyAeecXeMKGfulqDvuux3
|
|
45
|
-
/LmIA0BU1lipGX4SDvFoNyy9uAfjpQE6sFwHf1C1OHky2OjF6nl7dkMUb6RDUdQT
|
|
46
|
-
6LPk7mfTAgMBAAECggEAKkwTkTjAt4UjzK56tl+EMQTB+ep/hb/JgoaChci4Nva6
|
|
47
|
-
m9LkJpDJ0yuhlTuPNOGu8XjrxsVWas7HWarRf0Zb3i7yip6wZYI9Ub+AA015x4DZ
|
|
48
|
-
/i0fRU2NFbK0cM67qSL4jxG8gj+kZP3HPGNZxHwX/53JxMolwgmvjMc8NgvAlSFd
|
|
49
|
-
NnV9h4xtbhUh1NGS5zmP3iU2rwnE8JrIEzwy6axLom7nekAgkdcbAr0UoBs8gcgH
|
|
50
|
-
aYNhU4Gz3tGcZZ0IXAfT/bJIH1Ko8AGv4pssWc3BXcmmNdm/+kzvHIxEIV7Qegmo
|
|
51
|
-
XG1ZyZCyD/0b4/3e8ySDBEDqwR+HeyTW2isWG2agAQKBgQDp44aTwr3dkIXY30xv
|
|
52
|
-
FPfUOipg/B49dWnffYJ9MWc1FT9ijNPAngWSk0EIiEQIazICcUBI4Yji6/KeyqLJ
|
|
53
|
-
GdLpDi1CkKqtyh73mjELinYp3EUQgEa77aQogGa2+nMOVfu+O5CtloUrv/A18jX3
|
|
54
|
-
+VEyaEASK0fWmnSI0OdlxQHIAQKBgQC5+xOls2F3MlKASvWRLlnW1wHqlDTtVoYg
|
|
55
|
-
5Nh8syZH4Ci2UH8tON3A5/7SWNM0t1cgV6Cw4zW8Z2spgIT/W0iYYrQ4hHL1xdCu
|
|
56
|
-
+CxL1km4Gy8Uwpsd+KdFahFqF/XTmLzW0HXLxWSK0fTwmdV0SFrKF3MXfTCU2AeZ
|
|
57
|
-
jJoMFb6P0wKBgQC3Odw6s0vkYAzLGhuZxfZkVvDOK5RRF0NKpttr0iEFL9EJFkPo
|
|
58
|
-
2KKK8jr3QTDy229BBJGUxsJi6u6VwS8HlehpVQbV59kd7oKV/EBBx0XMg1fDlopT
|
|
59
|
-
PNbmN7i/zbIG4AsoOyebJZjL7kBzMn1e9vzKHWtcEHXlw/hZGja8vjooAQKBgAeg
|
|
60
|
-
xK2HLfg1mCyq5meN/yFQsENu0LzrT5UJzddPgcJw7zqLEqxIKNBAs7Ls8by3yFsL
|
|
61
|
-
PQwERa/0jfCl1M6kb9XQNpQa2pw6ANUsWKTDpUJn2wZ+9N3F1RaDwzMWyH5lRVmK
|
|
62
|
-
M0qoTfdjpSg5Jwgd75taWt4bxGJWeflSSv8z5R0BAoGAWL8c527AbeBvx2tOYKkD
|
|
63
|
-
2TFranvANNcoMrbeviZSkkGvMNDP3p8b6juJwXOIeWNr8q4vFgCzLmq6d1/9gYm2
|
|
64
|
-
3XJwwyD0LKlqzkBrrKU47qrnmMosUrIRlrAzd3HbShOptxc6Iz2apSaUDKGKXkaw
|
|
65
|
-
gl5OpEjeliU7Mus0BVS858g=
|
|
66
|
-
-----END PRIVATE KEY-----`};const Uu=`<html><head><title>Happy DOM Virtual Server - 404 Not Found</title></head><body><h1>Happy DOM Virtual Server - 404 Not Found</h1></body></html>`;var Wu=class{static getFilepath(e,t){let n=new Y(e).getSettings();if(!n||!n.fetch.virtualServers&&!n.module.resolveNodeModules)return null;if(n.fetch.virtualServers)for(let r of n.fetch.virtualServers){let n=null;if(typeof r.url==`string`){let i=new URL(r.url[r.url.length-1]===`/`?r.url.slice(0,-1):r.url,e.location.origin===`null`?void 0:e.location.origin);t.startsWith(i.href)&&(n=i)}else if(r.url instanceof RegExp){let i=t.match(r.url);i&&(n=new URL(i[0][i[0].length-1]===`/`?i[0].slice(0,-1):i[0],e.location.origin))}if(n){let e=t.slice(n.href.length).split(`?`)[0].split(`#`)[0];return f.join(f.resolve(r.directory),e.replaceAll(`/`,f.sep))}}if(n.module.resolveNodeModules){let r=n.module.resolveNodeModules.url,i=new URL(r[r.length-1]===`/`?r.slice(0,-1):r,e.location.origin);if(t.startsWith(i.href)){let e=t.slice(i.href.length).split(`?`)[0].split(`#`)[0];return f.join(f.resolve(n.module.resolveNodeModules.directory),e.replaceAll(`/`,f.sep))}}return null}static getNotFoundResponse(e){return new e.Response(Uu,{status:404,statusText:`Not Found`,headers:{"Content-Type":`text/html`}})}static getNotFoundSyncResponse(e,t){return{status:404,statusText:`Not Found`,ok:!1,url:t,redirected:!1,headers:new e.Headers({"Content-Type":`text/html`}),body:Buffer.from(Uu),[$o]:null}}},Gu=class{static getKey(e){return JSON.stringify({url:e.url,destination:e.destination,mode:e.mode,credentialsMode:e.credentialsMode})}};const Ku=i.from(`0\r
|
|
67
|
-
\r
|
|
68
|
-
`);var qu=class e{reject=null;resolve=null;listeners={onSignalAbort:this.onSignalAbort.bind(this)};isChunkedTransfer=!1;isProperLastChunkReceived=!1;previousChunk=null;nodeRequest=null;nodeResponse=null;response=null;responseHeaders=null;interceptor;requestHeaders;request;redirectCount=0;disableCache;disableSameOriginPolicy;disablePreload;#e;#t;#n=null;constructor(e){this.#e=e.browserFrame,this.#t=e.window,this.#n=e.unfilteredHeaders??null,this.request=typeof e.url==`string`||e.url instanceof p?new e.window.Request(e.url,e.init):e.url,e.contentType&&(this.request[Ee]=e.contentType),this.redirectCount=e.redirectCount??0,this.disableCache=e.disableCache??!1,this.disableSameOriginPolicy=e.disableSameOriginPolicy??this.#e.page.context.browser.settings.fetch.disableSameOriginPolicy??!1,this.interceptor=this.#e.page.context.browser.settings.fetch.interceptor,this.requestHeaders=this.#e.page.context.browser.settings.fetch.requestHeaders,this.disablePreload=e.disablePreload??!1}async send(){if(!(this.request instanceof Iu)||!(this.request[gt]instanceof p))throw new this.#t.DOMException(`Unknown request object. Request object must be an instance of Request.`,H.invalidStateError);if(_u.prepareRequest(new p(this.#t.location.href),this.request),this.requestHeaders){for(let e of this.requestHeaders)if(!e.url||(typeof e.url==`string`?e.url.startsWith(this.request.url):this.request.url.match(e.url)))for(let[t,n]of Object.entries(e.headers))this.request.headers.set(t,n)}if(this.interceptor?.beforeAsyncRequest){let e=this.#e[fe].startTask(),t=await this.interceptor.beforeAsyncRequest({request:this.request,window:this.#t});if(this.#e[fe].endTask(e),t instanceof Ru)return t}if(Mu.validateSchema(this.request),this.request.signal[Xr])throw this.request.signal[Vo]===void 0?new this.#t.DOMException(`signal is aborted without reason`,H.abortError):this.request.signal[Vo];if(this.request[gt].protocol===`data:`){let e=vu.parse(this.request.url);this.response=new this.#t.Response(e.buffer,{headers:{"Content-Type":e.type}});let t=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:this.response,request:this.request}):void 0;return t instanceof Ru?t:this.response}if(this.request[gt].protocol===`http:`&&this.#t.location.protocol===`https:`)throw new this.#t.DOMException(`Mixed Content: The page at '${this.#t.location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,H.securityError);if(!this.disableCache){let e=await this.getCachedResponse();if(e)return e}if(!this.disablePreload){let e=Gu.getKey({url:this.request.url,destination:`fetch`,mode:this.request.mode,credentialsMode:this.request.credentials}),t=this.#t.document[Ao].get(e);if(t){if(this.#t.document[Ao].delete(e),t.response)return t.response;let n=this.#e[fe].startTask(),r=await t.onResponseAvailable();return this.#e[fe].endTask(n),r}}let e=await this.getVirtualServerResponse();if(e)return e;if(!this.disableSameOriginPolicy&&!await this.compliesWithCrossOriginPolicy())throw this.#e.page.console.warn(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`),new this.#t.DOMException(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`,H.networkError);return await this.sendRequest()}async getCachedResponse(){if(this.disableCache)return null;let t=this.#e.page.context.responseCache.get(this.request);if(!t||t.response.waitingForBody)return null;if(t.state===hs.stale){let n=new this.#t.Headers(t.request.headers);if(t.etag)n.set(`If-None-Match`,t.etag);else{if(!t.lastModified)return null;n.set(`If-Modified-Since`,new Date(t.lastModified).toUTCString())}let r=new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{headers:n,method:t.request.method},disableCache:!0,disableSameOriginPolicy:!0});if(t.etag||!t.staleWhileRevalidate){let e=await r.send(),n=e.status===304?null:await e.buffer();if(t=this.#e.page.context.responseCache.add(this.request,{...e,body:n,waitingForBody:!1}),e.status!==304){let r=new this.#t.Response(n,{status:e.status,statusText:e.statusText,headers:e.headers});return r.url=e.url,r[he]=t,r}}else r.send().then(e=>{e.buffer().then(t=>{this.#e.page.context.responseCache.add(this.request,{...e,body:t,waitingForBody:!1})})})}if(!t||t.response.waitingForBody)return null;let n=new this.#t.Response(t.response.body,{status:t.response.status,statusText:t.response.statusText,headers:t.response.headers});return n.url=t.response.url,n[he]=t,n}async getVirtualServerResponse(){let e=Wu.getFilepath(this.#t,this.request.url);if(!e)return null;let t=this.#e[fe].startTask();if(this.request.method!==`GET`){this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundResponse(this.#t),n=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await e,request:this.request}):void 0;return this.#e[fe].endTask(t),n instanceof Ru?n:e}let n;try{e=(await d.promises.stat(e)).isDirectory()?f.join(e,`index.html`):e,n=await d.promises.readFile(e)}catch{this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundResponse(this.#t),n=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await e,request:this.request}):void 0;return this.#e[fe].endTask(t),n instanceof Ru?n:e}let r=new this.#t.ReadableStream({start:e=>{this.#t.queueMicrotask(()=>{e.enqueue(n),e.close()})}}),i=new this.#t.Response(r);i[me]=n,i[$o]=e,i.url=this.request.url;let a=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await i,request:this.request}):void 0;this.#e[fe].endTask(t);let o=a instanceof Ru?a:i,s={...o,body:n,waitingForBody:!1,virtual:!0};return i[he]=this.#e.page.context.responseCache.add(this.request,s),o}async compliesWithCrossOriginPolicy(){if(this.disableSameOriginPolicy||!yu.isCORS(this.#t.location.href,this.request[gt]))return!0;let t=this.#e.page.context.preflightResponseCache.get(this.request);if(t)return!(t.allowOrigin!==`*`&&t.allowOrigin!==this.#t.location.origin||t.allowMethods.length!==0&&!t.allowMethods.includes(this.request.method));let n=[];for(let[e]of this.request.headers)n.push(e.toLowerCase());let r=new this.#t.Headers({"Access-Control-Request-Method":this.request.method,Origin:this.#t.location.origin});n.length>0&&r.set(`Access-Control-Request-Headers`,n.slice().sort().join(`,`));let i=await new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{method:`OPTIONS`},disableCache:!0,disableSameOriginPolicy:!0,unfilteredHeaders:r}).send();if(!i.ok)return!1;let a=i.headers.get(`Access-Control-Allow-Origin`);if(!a||a!==`*`&&a!==this.#t.location.origin)return!1;let o=[];if(i.headers.has(`Access-Control-Allow-Methods`)){let e=i.headers.get(`Access-Control-Allow-Methods`);if(e!==`*`)for(let t of e.split(`,`))o.push(t.trim().toUpperCase())}return!(o.length!==0&&!o.includes(this.request.method))}sendRequest(){return new Promise((e,t)=>{let n=this.#e[fe].startTask(()=>this.onAsyncTaskManagerAbort());if(this.resolve)throw new this.#t.Error(`Fetch already sent.`);this.resolve=async t=>{!this.disableCache&&t instanceof Ru&&this.#e.page&&this.#e.page.context&&(t[he]=this.#e.page.context.responseCache.add(this.request,{...t,headers:this.responseHeaders,body:t[me],waitingForBody:!t[me]&&!!t.body}));let r=this.interceptor?.afterAsyncResponse?await this.interceptor.afterAsyncResponse({window:this.#t,response:await t,request:this.request}):void 0;this.#e[fe].endTask(n);let i=r instanceof Ru?r:t;i instanceof Ru&&!i.ok&&this.#e.page.console.error(`${this.request.method} ${this.request.url} ${i.status} (${i.statusText})`),e(i)},this.reject=e=>{this.#e[fe].endTask(n),t(e)},this.request.signal.addEventListener(`abort`,this.listeners.onSignalAbort);let r=(this.request[gt].protocol===`https:`?ae:ie).request;this.nodeRequest=r(this.request[gt].href,{method:this.request.method,headers:Fu.getRequestHeaders({browserFrame:this.#e,window:this.#t,request:this.request,baseHeaders:this.#n}),agent:!1,rejectUnauthorized:!this.#e.page.context.browser.settings.fetch.disableStrictSSL,key:this.request[gt].protocol===`https:`?Hu.key:void 0,cert:this.request[gt].protocol===`https:`?Hu.cert:void 0}),this.nodeRequest.on(`error`,this.onError.bind(this)),this.nodeRequest.on(`socket`,this.onSocket.bind(this)),this.nodeRequest.on(`response`,this.onResponse.bind(this)),this.request.body===null?this.nodeRequest.end():u.pipeline(this.request.body,this.nodeRequest,e=>{e&&this.onError(e)})})}onSocket(e){let t=()=>{if(this.isChunkedTransfer&&!this.isProperLastChunkReceived){let e=new this.#t.DOMException(`Premature close.`,H.networkError);this.request[fn]=e,this.response&&(this.response[fn]=e,this.response.body&&!this.response.body.locked&&this.response.body.cancel(e))}},n=e=>{this.isProperLastChunkReceived=i.compare(e.slice(-5),Ku)===0,!this.isProperLastChunkReceived&&this.previousChunk&&(this.isProperLastChunkReceived=i.compare(this.previousChunk.slice(-3),Ku.slice(0,3))===0&&i.compare(e.slice(-2),Ku.slice(3))===0),this.previousChunk=e};e.prependListener(`close`,t),e.on(`data`,n),this.nodeRequest.on(`close`,()=>{e.removeListener(`close`,t),e.removeListener(`data`,n)})}onSignalAbort(e){this.finalizeRequest(),this.abort(e.target?.reason)}onError(e){this.finalizeRequest(),this.#e.page.console.error(e),this.reject(new this.#t.DOMException(`Failed to execute "fetch()" on "Window" with URL "${this.request.url}": ${e.message}`,H.networkError))}onAsyncTaskManagerAbort(){let e=new this.#t.DOMException(`The operation was aborted.`,H.abortError);this.request[Xr]=!0,this.request[fn]=e,this.response&&(this.response[Xr]=!0,this.response[fn]=e),this.listeners.onSignalAbort&&this.request.signal.removeEventListener(`abort`,this.listeners.onSignalAbort),this.nodeRequest&&!this.nodeRequest.destroyed&&this.nodeRequest.destroy(e),this.nodeResponse&&!this.nodeResponse.destroyed&&this.nodeResponse.destroy(e),this.response&&this.response.body&&(this.response.body.locked||this.response.body.cancel(e))}onResponse(e){if(this.isChunkedTransfer=e.headers[`transfer-encoding`]===`chunked`&&!e.headers[`content-length`],this.nodeRequest.setTimeout(0),this.responseHeaders=Vu.parseResponseHeaders({browserFrame:this.#e,requestURL:this.request[gt],rawHeaders:e.rawHeaders}),this.handleRedirectResponse(e,this.responseHeaders))return;e.once(`end`,()=>this.request.signal.removeEventListener(`abort`,this.listeners.onSignalAbort));let t=u.pipeline(e,new u.PassThrough,e=>{}),n={status:e.statusCode,statusText:e.statusMessage,headers:this.responseHeaders},r=this.responseHeaders.get(`Content-Encoding`);if(this.request.method===`HEAD`||r===null||e.statusCode===204||e.statusCode===304){this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}if(r===`gzip`||r===`x-gzip`){let e={flush:l.constants.Z_SYNC_FLUSH,finishFlush:l.constants.Z_SYNC_FLUSH};t=u.pipeline(t,l.createGunzip(e),e=>{}),this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}if(r===`deflate`||r===`x-deflate`){let r=u.pipeline(e,new u.PassThrough,e=>{});r.on(`data`,e=>{t=(e[0]&15)==8?u.pipeline(t,l.createInflate(),e=>{}):u.pipeline(t,l.createInflateRaw(),e=>{}),this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response)}),r.on(`end`,()=>{this.response||(this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response))});return}if(r===`br`){t=u.pipeline(t,l.createBrotliDecompress(),e=>{}),this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response);return}this.response=new this.#t.Response(Eu.nodeToWebStream(t),n),this.response.redirected=this.redirectCount>0,this.response.url=this.request.url,this.resolve(this.response)}handleRedirectResponse(t,n){if(!Bu.isRedirect(t.statusCode))return!1;switch(this.request.redirect){case`error`:return this.finalizeRequest(),this.reject(new this.#t.DOMException(`URI requested responds with a redirect, redirect mode is set to "error": ${this.request.url}`,H.abortError)),!0;case`manual`:return!1;case`follow`:let r=n.get(`Location`),i=t.statusCode===303||(t.statusCode===301||t.statusCode===302)&&this.request.method===`POST`,a=null;if(r!==null)try{a=new p(r,this.request.url)}catch{return this.finalizeRequest(),this.reject(new this.#t.DOMException(`URI requested responds with an invalid redirect URL: ${r}`,H.uriMismatchError)),!0}if(a===null)return!1;if(Bu.isMaxRedirectsReached(this.redirectCount))return this.finalizeRequest(),this.reject(new this.#t.DOMException(`Maximum redirects reached at: ${this.request.url}`,H.networkError)),!0;let o=new this.#t.Headers(this.request.headers),s={method:this.request.method,signal:this.request.signal,referrer:this.request.referrer,referrerPolicy:this.request.referrerPolicy,credentials:this.request.credentials,headers:o,body:this.request[pe]};if((this.request.credentials===`omit`||this.request.credentials===`same-origin`&&yu.isCORS(this.#t.location.href,a))&&(o.delete(`cookie`),o.delete(`cookie2`)),this.request.signal[Xr])return this.abort(this.request.signal[Vo]),!0;i&&(s.method=`GET`,s.body=void 0,o.delete(`Content-Length`),o.delete(`Content-Type`));let c=_u.getReferrerPolicyFromHeader(o);c&&(s.referrerPolicy=c);let l=new e({browserFrame:this.#e,window:this.#t,url:a,init:s,redirectCount:this.redirectCount+1,disableSameOriginPolicy:this.disableSameOriginPolicy,contentType:i?null:this.request[Ee]});return this.finalizeRequest(),l.send().then(e=>this.resolve(e)).catch(e=>this.reject(e)),!0;default:return this.finalizeRequest(),this.reject(new this.#t.DOMException(`Redirect option '${this.request.redirect}' is not a valid value of TRequestRedirect`)),!0}}finalizeRequest(){this.request.signal.removeEventListener(`abort`,this.listeners.onSignalAbort),this.nodeRequest?.destroy()}abort(e){let t=new this.#t.DOMException(`The operation was aborted.`+(e?` `+e.toString():``),H.abortError);this.request[Xr]=!0,this.request[fn]=t,this.response&&(this.response[Xr]=!0,this.response[fn]=t),this.nodeRequest&&!this.nodeRequest.destroyed&&this.nodeRequest.destroy(t),this.nodeResponse&&!this.nodeResponse.destroyed&&this.nodeResponse.destroy(t),this.response&&this.response.body&&(this.response.body.locked||this.response.body.cancel(t)),this.reject&&this.reject(e===void 0?t:e)}},Ju;(function(e){e.auto=`auto`,e.manual=`manual`})(Ju||={});var Yu=Ju,Xu=class{static getRelativeURL(e,t){if(t=t?String(t):`about:blank`,t.startsWith(`about:`)||t.startsWith(`javascript:`))return new p(t);try{return new p(t,e.window[En].href)}catch{return new p(`about:blank`)}}},Zu=class{#e;#t;constructor(e,t){if(!e)throw TypeError(`Illegal constructor`);this.#e=e,this.#t=t}get length(){return this.#e?.[Dn].items.length||0}get state(){return this.#e?.[Dn].currentItem.state||null}get scrollRestoration(){return this.#e?.[Dn].currentItem.scrollRestoration||Yu.auto}set scrollRestoration(e){switch(e){case Yu.auto:case Yu.manual:let t=this.#e?.[Dn].currentItem;t&&(t.scrollRestoration=e);break}}back(){this.#t.closed||this.#e?.goBack()}forward(){this.#t.closed||this.#e?.goForward()}go(e){this.#t.closed||this.#e?.goSteps(e)}pushState(e,t,n){if(!this.#e||this.#t.closed)return;let r=this.#e?.[Dn];if(!r)return;if(arguments.length<2)throw new this.#t.TypeError(`Failed to execute 'pushState' on 'History': 2 arguments required, but only ${arguments.length} present.`);let i=this.#t[En],a=n?Xu.getRelativeURL(this.#e,n):i;if(n&&a.origin!==i.origin)throw new this.#t.DOMException(`Failed to execute 'pushState' on 'History': A history state object with URL '${n.toString()}' cannot be created in a document with origin '${i.origin}' and URL '${i.href}'.`,H.securityError);r.currentItem.popState=!0,r.push({title:this.#t.document.title,href:a.href,state:e,popState:!0,scrollRestoration:r.currentItem.scrollRestoration,method:r.currentItem.method||`GET`,formData:r.currentItem.formData||null}),i[Cn](this.#e,r.currentItem.href)}replaceState(e,t,n){if(!this.#e||this.#t.closed)return;let r=this.#e?.[Dn];if(!r)return;if(arguments.length<2)throw new this.#t.TypeError(`Failed to execute 'pushState' on 'History': 2 arguments required, but only ${arguments.length} present.`);let i=this.#t[En],a=n?Xu.getRelativeURL(this.#e,n):i;if(n&&a.origin!==i.origin)throw new this.#t.DOMException(`Failed to execute 'pushState' on 'History': A history state object with URL '${n.toString()}' cannot be created in a document with origin '${i.origin}' and URL '${i.href}'.`,H.securityError);r.replace({title:this.#t.document.title,href:a.href,state:e,popState:r.currentItem.popState,scrollRestoration:r.currentItem.scrollRestoration,method:r.currentItem.method,formData:r.currentItem.formData}),n&&i[Cn](this.#e,r.currentItem.href)}[Me](){this.#e=null}},Qu=class{#e;#t;constructor(e,t){this.#e=e,this.#t=t||{}}observe(e){}disconnect(){}unobserve(e){}takeRecords(){return[]}},$u=class{boundingClientRect=null;intersectionRatio=0;intersectionRect=null;isIntersecting=!1;rootBounds=null;target=null;time=0;constructor(e){Object.assign(this,e)}},ed=class{[Symbol.toStringTag]=`Location`;#e;#t;#n=null;#r=[];constructor(e,t){if(!e)throw TypeError(`Illegal constructor`);this.#e=e,this.#t=new URL(t)}get hash(){return this.#t.hash}set hash(e){let t=this.#e?.[Dn];if(!t||!this.#e)return;let n=new URL(this.#t.href),r=this.#t.hash;n.hash=e,n.hash!==r&&(t.currentItem.popState=!0,t.push({title:``,href:n.href,state:t.currentItem.state,popState:!0,scrollRestoration:Yu.manual,method:t.currentItem.method,formData:t.currentItem.formData||null}),this[Cn](this.#e,n.href))}get host(){return this.#t.host}set host(e){let t=new URL(this.#t.href);t.host=e,this.href=t.href}get hostname(){return this.#t.hostname}set hostname(e){let t=new URL(this.#t.href);t.hostname=e,this.href=t.href}get href(){return this.#t.href}set href(e){this.#e&&this.#e.goto(e).catch(e=>{if(this.#e?.page?.console)this.#e.page.console.error(e);else throw e})}get origin(){return this.#t.origin}get pathname(){return this.#t.pathname}set pathname(e){let t=new URL(this.#t.href);t.pathname=e,this.href=t.href}get port(){return this.#t.port}set port(e){let t=new URL(this.#t.href);t.port=e,this.href=t.href}get protocol(){return this.#t.protocol}set protocol(e){let t=new URL(this.#t.href);t.protocol=e,this.href=t.href}get search(){return this.#t.search}set search(e){let t=new URL(this.#t.href);t.search=e,this.href=t.href}replace(e){this.href=String(e)}assign(e){this.href=String(e)}reload(){this.#e&&this.#e.goto(this.href).catch(e=>{if(this.#e?.page.console)this.#e.page.console.error(e);else throw e})}[Cn](e,t){if(!this.#e)return;if(this.#e!==e)throw Error(`Failed to set URL. Browser frame mismatch.`);let n=this.#t.href,r=this.#t.hash;if(this.#t.href=t,this.#t.hash!==r){let e=this.#t.href;this.#r.push(new ru(`hashchange`,{oldURL:n,newURL:e})),this.#e?.window?.document?.[Kn](),this.#n&&this.#e.window?.clearTimeout(this.#n),this.#n=this.#e.window?.setTimeout(()=>{let e=this.#r;this.#r=[];for(let t of e)this.#e?.window?.dispatchEvent(t)})}}[Me](){this.#n&&this.#e?.window?.clearTimeout(this.#n),this.#e=null}toString(){return this.#t.toString()}},td=class{type;target;addedNodes;removedNodes;previousSibling;nextSibling;attributeName;attributeNamespace;oldValue;constructor(e){this.type=e.type,this.target=e.target,this.addedNodes=e.addedNodes||[],this.removedNodes=e.removedNodes||[],this.previousSibling=e.previousSibling||null,this.nextSibling=e.nextSibling||null,this.attributeName=e.attributeName||null,this.attributeNamespace=e.attributeNamespace||null,this.oldValue=e.oldValue||null}},nd=class{description;enabledPlugin;suffixes;type;constructor(e,t,n,r){this.description=e,this.enabledPlugin=t,this.suffixes=n,this.type=r}toString(){return`[object MimeType]`}},rd=class{length;constructor(e){for(let t=0,n=e.length;t<n;t++)this[t]=e[t],this[e[t].type]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}toString(){return`[object MimeTypeArray]`}},id=class{length;constructor(e){for(let t=0,n=e.length;t<n;t++)this[t]=e[t],this[e[t].name]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}refresh(){}toString(){return`[object PluginArray]`}},ad;(function(e){e.geolocation=`geolocation`,e.notifications=`notifications`,e.push=`push`,e.midi=`midi`,e.camera=`camera`,e.microphone=`microphone`,e.backgroundFetch=`background-fetch`,e.backgroundSync=`background-sync`,e.persistentStorage=`persistent-storage`,e.ambientLightSensor=`ambient-light-sensor`,e.accelerometer=`accelerometer`,e.gyroscope=`gyroscope`,e.magnetometer=`magnetometer`,e.screenWakeLock=`screen-wake-lock`,e.nfc=`nfc`,e.displayCapture=`display-capture`,e.accessibilityEvents=`accessibility-events`,e.clipboardRead=`clipboard-read`,e.clipboardWrite=`clipboard-write`,e.paymentHandler=`payment-handler`,e.idleDetection=`idle-detection`,e.periodicBackgroundSync=`periodic-background-sync`,e.systemWakeLock=`system-wake-lock`,e.storageAccess=`storage-access`,e.windowManagement=`window-management`,e.windowPlacement=`window-placement`,e.localFonts=`local-fonts`,e.topLevelStorageAccess=`top-level-storage-access`})(ad||={});var od=ad,sd=class{#e={};#t;constructor(e){e?.document,this.#t=e}async query(e){let t=e?.name;if(t&&this.#e[t])return this.#e[t];if(!Object.values(od).includes(t))throw Error(`Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': The provided value '${t}' is not a valid enum value of type PermissionName.`);return this.#e[t]=new this.#t.PermissionStatus(`granted`),this.#e[t]}},cd=class{#e;#t;#n;constructor(e){if(!e)throw TypeError(`Invalid constructor`);this.#e=e,this.#t=new zs(e),this.#n=new sd(e)}get cookieEnabled(){return!0}get credentials(){return null}get geolocation(){return null}get language(){return`en-US`}get languages(){return[`en-US`,`en`]}get locks(){return null}get maxTouchPoints(){return new Y(this.#e).getSettings()?.navigator.maxTouchPoints||0}get hardwareConcurrency(){return 8}get appCodeName(){return`Mozilla`}get appName(){return`Netscape`}get appVersion(){let e=this.userAgent,t=e.indexOf(`/`);return t>-1?e.substring(t+1):``}get platform(){let e=this.userAgent,t=e.indexOf(`(`),n=e.indexOf(`)`);return t>-1&&n>-1?e.substring(t+1,n):``}get product(){return`Gecko`}get productSub(){return`20100101`}get vendor(){return``}get vendorSub(){return``}get userAgent(){return new Y(this.#e).getSettings()?.navigator.userAgent||``}get onLine(){return!0}get permissions(){return this.#n}get clipboard(){return this.#t}get webdriver(){return!0}get doNotTrack(){return`unspecified`}get mimeTypes(){return new rd([])}get plugins(){return new id([])}sendBeacon(e,t){return this.#e.fetch(e,{method:`POST`,body:t}),!0}toString(){return`[object Navigator]`}},ld=class{length=0;description;filename;name;constructor(e,t,n,r){this.description=t,this.filename=n,this.name=r;for(let t=0,n=e.length;t<n;t++)this[t]=e[t],this[e[t].type]=e[t];this.length=e.length}item(e){return this[e]||null}namedItem(e){return this[e]||null}toString(){return`[object Plugin]`}},ud;(function(e){e[e.disconnect=1]=`disconnect`,e[e.preceding=2]=`preceding`,e[e.following=4]=`following`,e[e.contains=8]=`contains`,e[e.containedBy=16]=`containedBy`,e[e.implementationSpecific=32]=`implementationSpecific`})(ud||={});var dd=ud,fd=class e{static isTextNode(e){return e?.[C]===U.textNode}static isInclusiveAncestor(e,t,n=!1){if(e===null||t===null)return!1;if(e===t)return!0;if(!e[j].length||n&&t[x]!==e[x])return!1;if(n&&e===t[g]&&t[x])return!0;let r=t[S];for(;r;){if(e===r)return!0;if(e[S]===r[S])return!1;r=r[S]?r[S]:n&&r.host?r.host:null}return!1}static isFollowing(e,t){if(e===t)return!1;let n=t;for(;n;)if(n=this.following(n),n===e)return!0;return!1}static getNodeLength(e){switch(e[C]){case U.documentTypeNode:return 0;case U.textNode:case U.processingInstructionNode:case U.commentNode:return e.data.length;default:return e[j].length}}static following(e,t){let n=e.firstChild;if(n)return n;let r=e;for(;r;){if(r===t)return null;let e=r.nextSibling;if(e)return e;r=r[S]}return null}static nextDescendantNode(e){for(;e&&!e.nextSibling;)e=e[S];return e?e.nextSibling:null}static attributeListsEqual(e,t){let n=Array.from(e[Ot][A].values()),r=Array.from(t[Ot][A].values());for(let e of n){let t=!1;for(let n of r)if(e[T]===n[T]&&e.localName===n.localName&&e[v]===n[v]){t=!0;break}if(!t)return!1}return!0}static isEqualNode(t,n){if(t[C]!==n[C])return!1;switch(t[C]){case U.documentTypeNode:let e=t,r=n;if(e.name!==r.name||e.publicId!==r.publicId||e.systemId!==r.systemId)return!1;break;case U.elementNode:let i=t,a=n;if(i[T]!==a[T]||i[Ct]!==a[Ct]||i[k]!==a[k]||i[Ot][A].size!==a[Ot][A].size)return!1;break;case U.attributeNode:let o=t,s=n;if(o[T]!==s[T]||o.localName!==s.localName||o[v]!==s[v])return!1;break;case U.processingInstructionNode:let c=t,l=n;if(c.target!==l.target||c.data!==l.data)return!1;break;case U.textNode:case U.commentNode:let u=t,d=n;if(u.data!==d.data)return!1;break}if(t[C]===U.elementNode&&!e.attributeListsEqual(t,n)||t[j].length!==n[j].length)return!1;for(let r=0;r<t[j].length;r++){let i=t[j][r],a=n[j][r];if(!e.isEqualNode(i,a))return!1}return!0}},pd;(function(e){e.attributes=`attributes`,e.characterData=`characterData`,e.childList=`childList`})(pd||={});var md=pd,hd=class{static ownerDocuments=[];static createNode(e,t,...n){return t.prototype[b]||this.ownerDocuments.push(e),new t(...n)}static pullOwnerDocument(){return this.ownerDocuments.pop()||null}},gd=class e extends nl{static ELEMENT_NODE=U.elementNode;static ATTRIBUTE_NODE=U.attributeNode;static TEXT_NODE=U.textNode;static CDATA_SECTION_NODE=U.cdataSectionNode;static COMMENT_NODE=U.commentNode;static DOCUMENT_NODE=U.documentNode;static DOCUMENT_TYPE_NODE=U.documentTypeNode;static DOCUMENT_FRAGMENT_NODE=U.documentFragmentNode;static PROCESSING_INSTRUCTION_NODE=U.processingInstructionNode;static DOCUMENT_POSITION_CONTAINED_BY=dd.containedBy;static DOCUMENT_POSITION_CONTAINS=dd.contains;static DOCUMENT_POSITION_DISCONNECTED=dd.disconnect;static DOCUMENT_POSITION_FOLLOWING=dd.following;static DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=dd.implementationSpecific;static DOCUMENT_POSITION_PRECEDING=dd.preceding;[x]=!1;[S]=null;[it]=null;[Wn]=null;[ft]=null;[Le]=null;[at]=null;[Xe]=[];[j]=[];[Yn]=[];[ve]=null;[xr]=null;[M]={querySelector:new Map,querySelectorAll:new Map,matches:new Map,elementsByTagName:new Map,elementsByTagNameNS:new Map,elementByTagName:new Map,elementById:new Map,computedStyle:null};[Xn]=[];constructor(){if(super(),this[b])this[g]=this[b].document;else{let e=hd.pullOwnerDocument();if(!e)throw TypeError(`Illegal constructor`);this[g]=e,this[b]=e[b]}}get[Symbol.toStringTag](){return this.constructor.name}get isConnected(){return this[x]}get ownerDocument(){return this[g]}get parentNode(){return this[S]}get nodeType(){return this[C]}get childNodes(){return this[ve]||(this[ve]=new Vc(N,this[j])),this[ve]}get textContent(){return``}set textContent(e){}get nodeValue(){return null}set nodeValue(e){}get nodeName(){return``}get previousSibling(){if(this[S]){let e=this[S][j],t=e.indexOf(this[ar]||this);if(t>0)return e[t-1]}return null}get nextSibling(){if(this[S]){let e=this[S][j],t=e.indexOf(this[ar]||this);if(t>-1&&t+1<e.length)return e[t+1]}return null}get firstChild(){let e=this[j];return e.length>0?e[0]:null}get lastChild(){let e=this[j];return e.length>0?e[e.length-1]:null}get parentElement(){let e=this[S];for(;e&&e[C]!==U.elementNode;)e=e[S];return e}get baseURI(){let e=this[g].querySelector(`base`);return e?e.href:this[b].location.href}hasChildNodes(){return this[j].length>0}contains(e){if(e===void 0)return!1;let t=this[ar]||this;return fd.isInclusiveAncestor(t,e)}getRootNode(e){if(this[x])return this[it]&&!e?.composed?this[it]:this[g];let t=this;for(;t[S];)t=t[S];return t}cloneNode(e=!1){return this[Nn](e)}appendChild(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendChild' on 'Node': 1 argument required, but only 0 present`);return this[Pn](e)}removeChild(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeChild' on 'Node': 1 argument required, but only 0 present`);return this[Fn](e)}insertBefore(e,t){if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertBefore' on 'Node': 2 arguments required, but only ${arguments.length} present.`);return this[In](e,t)}replaceChild(e,t){if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceChild' on 'Node': 2 arguments required, but only ${arguments.length} present.`);return this[Ln](e,t)}[Nn](e=!1){let t=hd.createNode(this[g],this.constructor);if(t[j].length){let e=t[j];for(;e.length;)t.removeChild(e[0])}if(e)for(let e of this[j]){let n=e.cloneNode(!0);n[S]=t,t[j].push(n),n[C]===U.elementNode&&t[Yn].push(n)}return t}[Pn](e,t=!1){e[ar]&&(e=e[ar]);let n=this[ar]||this;if(!t){if(e===n)throw new this[b].DOMException(`Failed to execute 'appendChild' on 'Node': Not possible to append a node as a child of itself.`);if(fd.isInclusiveAncestor(e,n,!0))throw new this[b].DOMException(`Failed to execute 'appendChild' on 'Node': The new node is a parent of the node to insert to.`,H.domException)}if(e[C]===U.documentFragmentNode){let t=e[j];for(;t.length;)this.appendChild(t[0]);return e}e[S]&&e[S][Fn](e),e[S]=n,e[Kn](),this[j].push(e),e[C]===U.elementNode&&this[Yn].push(e),e[xe]();for(let t of this[Xe])t.options?.subtree&&t.callback.deref()&&e[Ye](t);return this[mt](new td({target:n,type:md.childList,addedNodes:[e]})),e}[Fn](e){e[ar]&&(e=e[ar]);let t=this[j].indexOf(e);if(t===-1)throw new this[b].DOMException(`Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.`);let n=e.previousSibling,r=e.nextSibling;if(e[S]=null,e[Kn](),this[j].splice(t,1),e[C]===U.elementNode){let t=this[Yn].indexOf(e);t!==-1&&this[Yn].splice(t,1)}if(e[xr]){let t=e[xr][br].indexOf(e);t!==-1&&e[xr][br].splice(t,1),e[xr]=null}e[Se]();for(let t of this[Xe])t.options?.subtree&&t.callback.deref()&&e[pt](t);return this[mt](new td({target:this[ar]||this,type:md.childList,removedNodes:[e],previousSibling:n,nextSibling:r})),e}[In](e,t,n=!1){if(e[ar]&&(e=e[ar]),t&&t[ar]&&(t=t[ar]),e===t)return e;let r=this[ar]||this;if(!n){if(e===r)throw new this[b].DOMException(`Failed to execute 'insertBefore' on 'Node': Not possible to insert a node as a child of itself.`);if(fd.isInclusiveAncestor(e,r,!0))throw new this[b].DOMException(`Failed to execute 'insertBefore' on 'Node': The new node is a parent of the node to insert to.`,H.domException)}if(e[C]===U.documentFragmentNode){let n=e[j];for(;n.length>0;)this[In](n[0],t,!0);return e}if(!t)return this[Pn](e,!0),e;let i=this[j];if(!i.includes(t))throw new this[b].DOMException(`Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.`);e[S]&&e[S][Fn](e),e[S]=r,e[Kn]();let a=i.indexOf(t);if(e[C]===U.elementNode){let n=this[Yn];if(t[C]===U.elementNode)n.splice(n.indexOf(t),0,e);else{let t=!1;for(let r=a,o=i.length;r<o;r++)if(i[r][C]===U.elementNode){n.splice(n.indexOf(i[r]),0,e),t=!0;break}t||n.push(e)}}i.splice(a,0,e),e[xe]();for(let t of this[Xe])t.options?.subtree&&t.callback.deref()&&e[Ye](t);return this[mt](new td({target:r,type:md.childList,addedNodes:[e]})),e}[Ln](e,t){return this.insertBefore(e,t),this.removeChild(t),t}isEqualNode(e){return fd.isEqualNode(this,e)}toString(){return`[object ${this.constructor.name}]`}[Ye](e){if(this[Xe].push(e),e.options.subtree)for(let t of this[j])t[Ye](e)}[pt](e){let t=this[Xe].indexOf(e);if(t!==-1&&this[Xe].splice(t,1),e.options.subtree)for(let t of this[j])t[pt](e)}[mt](e){this[Kn]();let t=this[Xe];if(t.length)for(let n=0,r=t.length;n<r;n++){let i=t[n],a=i.callback.deref();if(a)switch(e.type){case md.childList:i.options.childList&&a(e);break;case md.attributes:i.options.attributes&&(!i.options.attributeFilter||i.options.attributeFilter.includes(e.attributeName))&&a(e);break;case md.characterData:i.options?.characterData&&a(e);break}else t.splice(n,1),n--,r--}}[Kn](){let e=this[M];if(e.querySelector.size){for(let t of e.querySelector.values())t.result&&=null;e.querySelector=new Map}if(e.querySelectorAll.size){for(let t of e.querySelectorAll.values())t.result&&=null;e.querySelectorAll=new Map}if(e.matches.size){for(let t of e.matches.values())t.result&&=null;e.matches=new Map}if(e.elementsByTagName.size){for(let t of e.elementsByTagName.values())t.result&&=null;e.elementsByTagName=new Map}if(e.elementsByTagNameNS.size){for(let t of e.elementsByTagNameNS.values())t.result&&=null;e.elementsByTagNameNS=new Map}if(e.elementByTagName.size){for(let t of e.elementByTagName.values())t.result&&=null;e.elementByTagName=new Map}if(e.elementById.size){for(let t of e.elementById.values())t.result&&=null;e.elementById=new Map}let t=this[Xn];if(t.length){for(let e of t)e.result=null;this[Xn]=[]}let n=this[g];if(n&&n[Qn].length){for(let e of n[Qn])e.result=null;n[Qn]=[]}}[xe](){let e=this[S],t=e||this[Sn],n=!1,r=!1;if(!this[x]&&t[x]?(this[x]=!0,n=!0):this[x]&&!t[x]&&(this[x]=!1,r=!0),this[g]=t[g]||t,this[b]=t[b]||t[je],e){this[C]!==U.documentFragmentNode&&(this[it]=e[it]);let t=this[w];e[Wn]&&t!==`STYLE`&&(this[Wn]=e[Wn]),e[ft]&&t!==`TEXTAREA`&&(this[ft]=e[ft]),e[Le]&&t!==`FORM`&&(this[Le]=e[Le]),e[at]&&t!==`SELECT`&&(this[at]=e[at])}let i=this[j].slice();for(let e=0,t=i.length;e<t;e++)i[e][S]=this,i[e][xe]();this[lt]&&this[lt][xe](),n?this[Ce]():r&&this[we]()}[Se](){this[C]!==U.documentFragmentNode&&(this[it]=null);let e=this[w];e!==`STYLE`&&(this[Wn]=null),e!==`TEXTAREA`&&(this[ft]=null),e!==`FORM`&&(this[Le]=null),e!==`SELECT`&&(this[at]=null),this[x]&&(this[x]=!1,this[we]());let t=this[j].slice();for(let e=0,n=t.length;e<n;e++)t[e][xe]();this[lt]&&this[lt][Se]()}[Ce](){this[lt]&&this[lt][Ce]()}[we](){this[g][de]===this&&(this[g][Kn](),this[g][de]=null),this[lt]&&this[lt][we]()}[Me](){super[Me](),this[x]=!1;for(let e=0,t=this[j].length;e<t;e++)this[j][e][Me]();this[Xe]=[],this[S]=null,this[it]=null,this[Wn]=null,this[ft]=null,this[Le]=null,this[at]=null,this[Xe]=[],this[j]=[],this[Yn]=[],this[ve]=null,this[xr]=null,this[Kn]()}compareDocumentPosition(t){if(this===t)return 0;let n=t,r=this[ar]||this,i=null,a=null;if(n[C]===U.attributeNode&&(i=n,n=i[Ze]),r[C]===U.attributeNode&&(a=r,r=a[Ze],i!==null&&n!==null&&r===n))for(let t of r[Ot][A].values()){if(fd.isEqualNode(t,i))return e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;if(fd.isEqualNode(t,a))return e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_FOLLOWING}let o=[],s=r;for(;s;){if(s===n)return e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;o.push(s),s=s[S]}let c=[],l=n;for(;l;){if(l===r)return e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING;c.push(l),l=l[S]}let u=(e,t)=>e[e.length-1-t],d=u(o,0);if(!d||d!==u(c,0))return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_FOLLOWING;let f=0,p=Math.min(o.length,c.length);for(let e=0;e<p&&u(o,e)===u(c,e);++e)f=e;let ee=u(o,f),te=0,ne=-1,re=-1,ie=u(o,f+1),ae=u(c,f+1),oe=e=>{for(let t of e){if(oe(t[j]),t===ie?ne=te:t===ae&&(re=te),ne!==-1&&re!==-1)break;te++}};return oe(ee[j]),re<ne?e.DOCUMENT_POSITION_PRECEDING:e.DOCUMENT_POSITION_FOLLOWING}normalize(){let e=this.firstChild;for(;e;){if(fd.isTextNode(e)){for(;fd.isTextNode(e.nextSibling);)e.data+=e.nextSibling.data,e.nextSibling.remove();if(!e.data.length){let t=e;e=e.nextSibling,t.remove();continue}}else e.normalize();e=e.nextSibling}}isSameNode(e){return this===e}};gd.prototype.ELEMENT_NODE=U.elementNode,gd.prototype.ATTRIBUTE_NODE=U.attributeNode,gd.prototype.TEXT_NODE=U.textNode,gd.prototype.CDATA_SECTION_NODE=U.cdataSectionNode,gd.prototype.COMMENT_NODE=U.commentNode,gd.prototype.DOCUMENT_NODE=U.documentNode,gd.prototype.DOCUMENT_TYPE_NODE=U.documentTypeNode,gd.prototype.DOCUMENT_FRAGMENT_NODE=U.documentFragmentNode,gd.prototype.PROCESSING_INSTRUCTION_NODE=U.processingInstructionNode,gd.prototype.DOCUMENT_POSITION_CONTAINED_BY=dd.containedBy,gd.prototype.DOCUMENT_POSITION_CONTAINS=dd.contains,gd.prototype.DOCUMENT_POSITION_DISCONNECTED=dd.disconnect,gd.prototype.DOCUMENT_POSITION_FOLLOWING=dd.following,gd.prototype.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=dd.implementationSpecific,gd.prototype.DOCUMENT_POSITION_PRECEDING=dd.preceding;var _d=class extends gd{[C]=U.attributeNode;[T]=null;[E]=null;[k]=null;[Ct]=null;[v]=null;[zt]=!0;[Ze]=null;get specified(){return this[zt]}get ownerElement(){return this[Ze]}get value(){return this[v]}set value(e){this[v]=e}get name(){return this[E]||``}get localName(){return this[k]||``}get prefix(){return this[Ct]}get textContent(){return this[v]||``}get namespaceURI(){return this[T]}[Nn](e=!1){let t=super[Nn](e);return t[T]=this[T],t[E]=this[E],t[k]=this[k],t[Ct]=this[Ct],t[v]=this[v],t[zt]=this[zt],t}},vd=class{static appendData(e,t){e.data+=t}static deleteData(e,t,n){e.data=e.data.substring(0,t)+e.data.substring(t+n)}static insertData(e,t,n){e.data=e.data.substring(0,t)+n+e.data.substring(t)}static replaceData(e,t,n,r){e.data=e.data.substring(0,t)+r+e.data.substring(t+n)}static substringData(e,t,n){return e.data.substring(t,t+n)}},yd=class{static previousElementSibling(e){let t=e.previousSibling;for(;t&&t[C]!==U.elementNode;)t=t.previousSibling;return t}static nextElementSibling(e){let t=e.nextSibling;for(;t&&t[C]!==U.elementNode;)t=t.nextSibling;return t}},bd=class{static remove(e){e[S]&&e[S].removeChild(e)}static replaceWith(e,...t){let n=e[S];if(n){for(let r of t)r instanceof gd?n.insertBefore(r,e):n.insertBefore(n[g].createTextNode(String(r)),e);n.removeChild(e)}}static before(e,...t){let n=e[S];if(n)for(let r of t)r instanceof gd?n.insertBefore(r,e):n.insertBefore(n[g].createTextNode(String(r)),e)}static after(e,...t){let n=e[S];if(!n)return;let r=e.nextSibling;for(let e of t){let t=e instanceof gd?e:n[g].createTextNode(String(e));r?n.insertBefore(t,r):n.appendChild(t)}}},xd=class extends gd{[Ae]=``;constructor(e){super(),this[Ae]=e===void 0?``:String(e)}get length(){return this[Ae].length}get data(){return this[Ae]}set data(e){let t=this[Ae];this[Ae]=String(e),this[mt](new td({target:this,type:md.characterData,oldValue:t}))}get textContent(){return this[Ae]}set textContent(e){this.data=e}get nodeValue(){return this[Ae]}set nodeValue(e){this.textContent=e}get previousElementSibling(){return yd.previousElementSibling(this)}get nextElementSibling(){return yd.nextElementSibling(this)}appendData(e){vd.appendData(this,e)}deleteData(e,t){vd.deleteData(this,e,t)}insertData(e,t){vd.insertData(this,e,t)}replaceData(e,t,n){vd.replaceData(this,e,t,n)}substringData(e,t){return vd.substringData(this,e,t)}remove(){bd.remove(this)}replaceWith(...e){bd.replaceWith(this,...e)}before(...e){bd.before(this,...e)}after(...e){bd.after(this,...e)}[Nn](e=!1){let t=super[Nn](e);return t[Ae]=this[Ae],t}},Sd=class extends gd{[C]=U.documentTypeNode;[E]=``;[Ut]=``;[Wt]=``;get name(){return this[E]}get publicId(){return this[Ut]}get systemId(){return this[Wt]}get nodeName(){return this.name}toString(){return`[object DocumentType]`}[Nn](e=!1){let t=super[Nn](e);return t[E]=this[E],t[Ut]=this[Ut],t[Wt]=this[Wt],t}},Cd;(function(e){e.loading=`loading`,e.interactive=`interactive`,e.complete=`complete`})(Cd||={});var wd=Cd,Td=class{#e;constructor(e){this.#e=new Ns(e)}waitUntilComplete(){return this.#e.waitUntilComplete()}startTask(){return this.#e.startTask()}endTask(e){this.#e.endTask(e)}destroy(){return this.#e.destroy()}},Ed=class e{[D]=0;[O]=0;[y]=0;[h]=0;constructor(e,t,n,r){this[D]=e==null?0:Number(e),this[O]=t==null?0:Number(t),this[y]=n==null?0:Number(n),this[h]=r==null?0:Number(r)}get x(){return this[D]}get y(){return this[O]}get width(){return this[y]}get height(){return this[h]}get top(){return Math.min(this[O],this[O]+this[h])}get right(){return Math.max(this[D],this[D]+this[y])}get bottom(){return Math.max(this[O],this[O]+this[h])}get left(){return Math.min(this[D],this[D]+this[y])}toJSON(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}}static fromRect(t){return new e(t.x,t.y,t.width,t.height)}},Dd=class e extends Ed{set x(e){this[D]=e}get x(){return this[D]}set y(e){this[O]=e}get y(){return this[O]}set width(e){this[y]=e}get width(){return this[y]}set height(e){this[h]=e}get height(){return this[h]}static fromRect(t){return new e(t.x,t.y,t.width,t.height)}};const Od=/[\t\f\n\r ]+/;var kd=class e{[Ze];[cr];[M]={items:[],attributeValue:``};[Bo];[ar];constructor(t,n,r,i){if(t!==N)throw TypeError(`Illegal constructor`);this[Ze]=n,this[cr]=r,this[Bo]=i||[];let a=new Bc(this,[e]),o=new Proxy(this,{get:(e,t)=>{if(t===`length`)return e[sr]().length;if(t in e||typeof t==`symbol`)return a.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[sr]()[n]},set(e,t,n){if(a.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[sr]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[sr]().length},defineProperty(e,t,n){return a.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[sr]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}});return this[ar]=o,o}get length(){return this[sr]().length}set value(e){this[Ze].setAttribute(this[cr],e)}get value(){return this[Ze].getAttribute(this[cr])||``}[Symbol.iterator](){return this[sr]().values()}item(e){let t=this[sr]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}replace(e,t){let n=this[sr]().slice(),r=n.indexOf(e);return r===-1?!1:(n[r]=t,this[Ze].setAttribute(this[cr],n.join(` `)),!0)}supports(e){return this[Bo].includes(e)}values(){return this[sr]().values()}entries(){return this[sr]().entries()}forEach(e,t){let n=t??this[Ze][b],r=this[sr](),i=this[ar]??this;for(let t=0,a=r.length;t<a;t++)e.call(n,r[t],t,i)}keys(){return this[sr]().keys()}add(...e){let t=this[sr]().slice(),n=new Set(t);for(let r of e)n.has(r)||(n.add(r),t.push(r));this[Ze].setAttribute(this[cr],t.join(` `))}remove(...e){let t=this[sr](),n=new Set(e),r=t.filter(e=>!n.has(e));this[Ze].setAttribute(this[cr],r.join(` `))}contains(e){return this[sr]().includes(e)}toggle(e,t){let n;return n=t===void 0?!this.contains(e):t,n?(this.add(e),!0):(this.remove(e),!1)}[sr](){let e=this[Ze].getAttribute(this[cr])??``,t=this[M];if(t.attributeValue===e)return t.items;let n=[],r=e.trim();if(r)for(let e of r.split(Od))n.includes(e)||n.push(e);return t.attributeValue=e,t.items=n,n}toString(){return this.value||``}},Ad=class e{[$n];constructor(t,n){if(t!==N)throw TypeError(`Illegal constructor`);this[$n]=n;let r=new Bc(this,this.constructor===e?[e]:[this.constructor,e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`)return n().length;if(t in e||typeof t==`symbol`)return r.bind(t),e[t];let i=Number(t);return isNaN(i)?e.namedItem(t)||void 0:n()[i]},set(e,t,n){if(r.bind(t),typeof t==`symbol`)return e[t]=n,!0;let i=Number(t);return isNaN(i)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(){let e=[],t=n();for(let n=0;n<t.length;n++){let r=t[n],i=r.getAttribute(`id`)||r.getAttribute(`name`);e.push(String(n)),i&&e.push(i)}return e},has(e,t){if(t in e)return!0;let r=n(),i=Number(t);if(!isNaN(i)&&i>=0&&i<r.length)return!0;t=String(t);for(let e=0;e<r.length;e++){let n=r[e],i=n.getAttribute(`id`)||n.getAttribute(`name`);if(i&&i===t)return!0}return!1},defineProperty(e,t,n){return r.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let r=n(),i=Number(t);if(!isNaN(i)&&i>=0&&i<r.length)return{value:r[i],writable:!1,enumerable:!0,configurable:!0};for(let e=0;e<r.length;e++){let n=r[e],i=n.getAttribute(`id`)||n.getAttribute(`name`);if(i&&i===t)return{value:n,writable:!1,enumerable:!0,configurable:!0}}}})}get length(){return this[$n]().length}get[Symbol.toStringTag](){return this.constructor.name}toLocaleString(){return`[object ${this.constructor.name}]`}toString(){return`[object ${this.constructor.name}]`}item(e){let t=this[$n]();return e>=0&&t[e]?t[e]:null}[Symbol.iterator](){return this[$n]()[Symbol.iterator]()}namedItem(e){let t=this[$n]();e=String(e);for(let n of t)if(n.getAttribute(`id`)===e||n.getAttribute(`name`)===e)return n;return null}},jd=class{static append(e,...t){for(let n of t)n instanceof gd?e.appendChild(n):e.appendChild(e[g].createTextNode(String(n)))}static prepend(e,...t){let n=e.firstChild;for(let r of t)r instanceof gd?e.insertBefore(r,n):e.insertBefore(e[g].createTextNode(String(r)),n)}static replaceChildren(e,...t){let n=e[j];for(;n.length;)e.removeChild(n[0]);this.append(e,...t)}static getElementsByClassName(e,t){return new Ad(N,()=>J.querySelectorAll(e,`.${t.replace(/\s+/gm,`.`)}`)[A])}static getElementsByTagName(e,t){let n=t.toUpperCase(),r=t===`*`,i=(e,t)=>{let a=[];for(let o of e[Yn]){(r||o[w].toUpperCase()===n)&&a.push(o),o[Xn].push(t);for(let e of i(o,t))a.push(e)}return a};return new Ad(N,()=>{let n=e[M].elementsByTagName,r=n.get(t);if(r?.result){let e=r.result.deref();if(e)return e}let a={result:null},o=i(e,a);return a.result=new WeakRef(o),n.set(t,a),o})}static getElementsByTagNameNS(e,t,n){let r=t===Fl.html&&e[g][Ee]===`text/html`?n.toUpperCase():n,i=n===`*`,a=(e,n)=>{let o=[];for(let s of e[Yn]){(i||s[w]===r)&&s[T]===t&&o.push(s),s[Xn].push(n);for(let e of a(s,n))o.push(e)}return o};return new Ad(N,()=>{let t=e[M].elementsByTagNameNS,r=t.get(n);if(r?.result){let e=r.result.deref();if(e)return e}let i={result:null},o=a(e,i);return i.result=new WeakRef(o),t.set(n,i),o})}static getElementByTagName(e,t){let n=t.toUpperCase(),r=(e,t)=>{for(let i of e[Yn]){if(i[Xn].push(t),i[w]===n)return i;let e=r(i,t);if(e)return e}return null},i=e[M].elementByTagName,a=i.get(t);if(a?.result){let e=a.result.deref();if(e)return e}let o={result:null},s=r(e,o);return o.result=s?new WeakRef(s):{deref:()=>null},i.set(t,o),s}static getElementById(e,t){if(t=String(t),e[C]===gd.DOCUMENT_NODE){let n=e[hr].get(t);return n&&n.elements.length>0?n.elements[0]:null}let n=(e,r)=>{for(let i of e[Yn]){if(i[Xn].push(r),i.getAttribute(`id`)===t)return i;let e=n(i,r);if(e)return e}return null},r=e[M].elementById,i=r.get(t);if(i?.result){let e=i.result.deref();if(e)return e}let a={result:null},o=n(e,a);return a.result=o?new WeakRef(o):{deref:()=>null},r.set(t,a),o}},Md=class extends Array{constructor(e){if(super(),e!==1&&e!==N)throw TypeError(`Illegal constructor`)}item(e){return this[e]??null}},Nd=class{[ir]=new Map;[qe]=new Map;[A]=new Map;constructor(e){this[Ze]=e}get length(){return this[A].size}get[Symbol.toStringTag](){return`NamedNodeMap`}toString(){return`[object NamedNodeMap]`}[Symbol.iterator](){return this[A].values()}item(e){let t=Array.from(this[A].values());return e>=0&&t[e]?t[e]:null}getNamedItem(e){return e=String(e),this[Ze][T]===Fl.html&&this[Ze][g][Ee]===`text/html`?this[qe].get(Bl.asciiLowerCase(e))?.[0]||null:this[qe].get(e)?.[0]||null}getNamedItemNS(e,t){let n=this[ir].get(`${e||``}:${t}`);return n&&(!n[Ct]||n[T])?n:null}setNamedItem(e){return this[or](e)}setNamedItemNS(e){return this[or](e)}removeNamedItem(e){let t=this.getNamedItem(e);if(!t)throw new this[Ze][b].DOMException(`Failed to execute 'removeNamedItem' on 'NamedNodeMap': No item with name '${e}' was found.`,H.notFoundError);return this[Hn](t),t}removeNamedItemNS(e,t){let n=this.getNamedItemNS(e,t);if(!n)throw new this[Ze][b].DOMException(`Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': No item with name '${t}' in namespace '${e}' was found.`,H.notFoundError);return this[Hn](n),n}[or](e,t=!1){if(e[Ze]!==null&&e[Ze]!==this[Ze])throw new this[Ze][b].DOMException(`The attribute is in use.`,H.inUseAttributeError);e[Ze]=this[Ze];let n=this.getNamedItemNS(e[T],e[k])||null,r=this[qe].get(e[E]);if(n===e)return e;if(this[ir].set(`${e[T]||``}:${e[k]}`,e),this[A].set(`${e[T]||``}:${e[E]}`,e),!r?.length)this[qe].set(e[E],[e]);else{let t=r.indexOf(n);t!==-1&&r.splice(t,1),r.push(e)}return t||this[Ze][qn](e,n),n}[Hn](e,t=!1){e[Ze]=null,this[ir].delete(`${e[T]||``}:${e[k]}`),this[A].delete(`${e[T]||``}:${e[E]}`);let n=this[qe].get(e[E]);if(n?.length){let t=n.indexOf(e);t!==-1&&n.splice(t,1),n.length||this[qe].delete(e[E])}t||this[Ze][Jn](e)}},Pd=class{static createProxy(e){let t=new Bc(this,[Nd]);return new Proxy(e,{get:(n,r)=>{if(r===`length`)return e[A].size;if(r in n||typeof r==`symbol`)return t.bind(r),n[r];let i=Number(r);return isNaN(i)?n.getNamedItem(r)||void 0:n.item(i)},set(e,n,r){if(t.bind(n),typeof n==`symbol`)return e[n]=r,!0;let i=Number(n);return isNaN(i)&&(e[n]=r),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(){let t=Array.from(e[A].keys());for(let n=0,r=e[A].size;n<r;n++)t.push(String(n));return t},has(t,n){if(typeof n==`symbol`)return!1;if(n in t||e[A].has(n))return!0;let r=Number(n);return!isNaN(r)&&r>=0&&r<e[A].size},defineProperty(e,n,r){return t.preventBinding(n),n in e?(Object.defineProperty(e,n,r),!0):!1},getOwnPropertyDescriptor(t,n){if(n in t||typeof n==`symbol`)return;let r=Number(n);if(!isNaN(r)){if(r>=0){let e=t.item(r);if(e)return{value:e,writable:!1,enumerable:!0,configurable:!0}}return}let i=e[A].get(n);if(i)return{value:i,writable:!1,enumerable:!0,configurable:!0}}})}},Fd;(function(e){e.rawText=`rawText`,e.noSelfDescendants=`noSelfDescendants`,e.noFirstLevelSelfDescendants=`noFirstLevelSelfDescendants`,e.noForbiddenFirstLevelDescendants=`noForbiddenFirstLevelDescendants`,e.noDescendants=`noDescendants`,e.permittedDescendants=`permittedDescendants`,e.textOrComments=`textOrComments`,e.anyDescendants=`anyDescendants`})(Fd||={});var X=Fd,Id={a:{className:`HTMLAnchorElement`,contentModel:X.noSelfDescendants},abbr:{className:`HTMLElement`,contentModel:X.anyDescendants},address:{className:`HTMLElement`,contentModel:X.anyDescendants},area:{className:`HTMLAreaElement`,contentModel:X.noDescendants},article:{className:`HTMLElement`,contentModel:X.anyDescendants},aside:{className:`HTMLElement`,contentModel:X.anyDescendants},audio:{className:`HTMLAudioElement`,contentModel:X.anyDescendants},b:{className:`HTMLElement`,contentModel:X.anyDescendants},base:{className:`HTMLBaseElement`,contentModel:X.noDescendants},bdi:{className:`HTMLElement`,contentModel:X.anyDescendants},bdo:{className:`HTMLElement`,contentModel:X.anyDescendants},body:{className:`HTMLBodyElement`,contentModel:X.anyDescendants},template:{className:`HTMLTemplateElement`,contentModel:X.anyDescendants},form:{className:`HTMLFormElement`,contentModel:X.anyDescendants},input:{className:`HTMLInputElement`,contentModel:X.noDescendants},textarea:{className:`HTMLTextAreaElement`,contentModel:X.anyDescendants},script:{className:`HTMLScriptElement`,contentModel:X.rawText},img:{className:`HTMLImageElement`,contentModel:X.noDescendants},link:{className:`HTMLLinkElement`,contentModel:X.noDescendants},style:{className:`HTMLStyleElement`,contentModel:X.rawText},label:{className:`HTMLLabelElement`,contentModel:X.anyDescendants},slot:{className:`HTMLSlotElement`,contentModel:X.anyDescendants},meta:{className:`HTMLMetaElement`,contentModel:X.noDescendants},blockquote:{className:`HTMLQuoteElement`,contentModel:X.anyDescendants},br:{className:`HTMLBRElement`,contentModel:X.noDescendants},button:{className:`HTMLButtonElement`,contentModel:X.anyDescendants},canvas:{className:`HTMLCanvasElement`,contentModel:X.anyDescendants},caption:{className:`HTMLTableCaptionElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`table`,`tbody`,`thead`,`tfoot`,`tr`,`td`,`th`,`col`,`colgroup`],permittedParents:[`table`]},cite:{className:`HTMLElement`,contentModel:X.anyDescendants},code:{className:`HTMLElement`,contentModel:X.anyDescendants},col:{className:`HTMLTableColElement`,contentModel:X.noDescendants,permittedParents:[`colgroup`]},colgroup:{className:`HTMLTableColElement`,contentModel:X.permittedDescendants,permittedDescendants:[`col`]},data:{className:`HTMLDataElement`,contentModel:X.anyDescendants},datalist:{className:`HTMLDataListElement`,contentModel:X.anyDescendants},dd:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`dt`,`dd`]},del:{className:`HTMLModElement`,contentModel:X.anyDescendants},details:{className:`HTMLDetailsElement`,contentModel:X.anyDescendants},dfn:{className:`HTMLElement`,contentModel:X.anyDescendants},dialog:{className:`HTMLDialogElement`,contentModel:X.anyDescendants},div:{className:`HTMLDivElement`,contentModel:X.anyDescendants},dl:{className:`HTMLDListElement`,contentModel:X.anyDescendants},dt:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`dt`,`dd`]},em:{className:`HTMLElement`,contentModel:X.anyDescendants},embed:{className:`HTMLEmbedElement`,contentModel:X.noDescendants},fieldset:{className:`HTMLFieldSetElement`,contentModel:X.anyDescendants},figcaption:{className:`HTMLElement`,contentModel:X.anyDescendants},figure:{className:`HTMLElement`,contentModel:X.anyDescendants},footer:{className:`HTMLElement`,contentModel:X.anyDescendants},h1:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h2:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h3:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h4:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h5:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},h6:{className:`HTMLHeadingElement`,contentModel:X.noFirstLevelSelfDescendants},head:{className:`HTMLHeadElement`,contentModel:X.anyDescendants},header:{className:`HTMLElement`,contentModel:X.anyDescendants},hgroup:{className:`HTMLElement`,contentModel:X.anyDescendants},hr:{className:`HTMLHRElement`,contentModel:X.noDescendants},html:{className:`HTMLHtmlElement`,contentModel:X.anyDescendants},i:{className:`HTMLElement`,contentModel:X.anyDescendants},iframe:{className:`HTMLIFrameElement`,contentModel:X.anyDescendants},ins:{className:`HTMLModElement`,contentModel:X.anyDescendants},kbd:{className:`HTMLElement`,contentModel:X.anyDescendants},legend:{className:`HTMLLegendElement`,contentModel:X.anyDescendants},li:{className:`HTMLLIElement`,contentModel:X.noFirstLevelSelfDescendants},main:{className:`HTMLElement`,contentModel:X.anyDescendants},map:{className:`HTMLMapElement`,contentModel:X.anyDescendants},mark:{className:`HTMLElement`,contentModel:X.anyDescendants},menu:{className:`HTMLMenuElement`,contentModel:X.anyDescendants},meter:{className:`HTMLMeterElement`,contentModel:X.anyDescendants},nav:{className:`HTMLElement`,contentModel:X.anyDescendants},noscript:{className:`HTMLElement`,contentModel:X.anyDescendants},object:{className:`HTMLObjectElement`,contentModel:X.anyDescendants},ol:{className:`HTMLOListElement`,contentModel:X.anyDescendants},optgroup:{className:`HTMLOptGroupElement`,contentModel:X.noFirstLevelSelfDescendants},option:{className:`HTMLOptionElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`option`,`optgroup`]},output:{className:`HTMLOutputElement`,contentModel:X.anyDescendants},p:{className:`HTMLParagraphElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:`address.article.aside.blockquote.details.dialog.div.dl.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.main.menu.nav.ol.p.pre.section.table.ul`.split(`.`)},param:{className:`HTMLParamElement`,contentModel:X.noDescendants},picture:{className:`HTMLPictureElement`,contentModel:X.anyDescendants},pre:{className:`HTMLPreElement`,contentModel:X.anyDescendants},progress:{className:`HTMLProgressElement`,contentModel:X.anyDescendants},q:{className:`HTMLQuoteElement`,contentModel:X.anyDescendants},rb:{className:`HTMLElement`,contentModel:X.anyDescendants},rp:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`rp`,`rt`]},rt:{className:`HTMLElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`rp`,`rt`]},rtc:{className:`HTMLElement`,contentModel:X.anyDescendants},ruby:{className:`HTMLElement`,contentModel:X.anyDescendants},s:{className:`HTMLElement`,contentModel:X.anyDescendants},samp:{className:`HTMLElement`,contentModel:X.anyDescendants},section:{className:`HTMLElement`,contentModel:X.anyDescendants},select:{className:`HTMLSelectElement`,contentModel:X.anyDescendants},small:{className:`HTMLElement`,contentModel:X.anyDescendants},source:{className:`HTMLSourceElement`,contentModel:X.noDescendants},span:{className:`HTMLSpanElement`,contentModel:X.anyDescendants},strong:{className:`HTMLElement`,contentModel:X.anyDescendants},sub:{className:`HTMLElement`,contentModel:X.anyDescendants},summary:{className:`HTMLElement`,contentModel:X.anyDescendants},sup:{className:`HTMLElement`,contentModel:X.anyDescendants},table:{className:`HTMLTableElement`,contentModel:X.permittedDescendants,permittedDescendants:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`],moveForbiddenDescendant:{exclude:[]}},tbody:{className:`HTMLTableSectionElement`,contentModel:X.permittedDescendants,permittedDescendants:[`tr`],permittedParents:[`table`],moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`]}},td:{className:`HTMLTableCellElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`td`,`th`,`tr`,`tbody`,`tfoot`,`thead`],permittedParents:[`tr`]},tfoot:{className:`HTMLTableSectionElement`,contentModel:X.permittedDescendants,permittedDescendants:[`tr`],permittedParents:[`table`],moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`]}},th:{className:`HTMLTableCellElement`,contentModel:X.noForbiddenFirstLevelDescendants,forbiddenDescendants:[`td`,`th`,`tr`,`tbody`,`tfoot`,`thead`],permittedParents:[`tr`]},thead:{className:`HTMLTableSectionElement`,contentModel:X.permittedDescendants,permittedDescendants:[`tr`],permittedParents:[`table`],moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`]}},time:{className:`HTMLTimeElement`,contentModel:X.anyDescendants},title:{className:`HTMLTitleElement`,contentModel:X.anyDescendants},tr:{className:`HTMLTableRowElement`,contentModel:X.permittedDescendants,permittedDescendants:[`td`,`th`],permittedParents:[`tbody`,`tfoot`,`thead`],addPermittedParent:`tbody`,moveForbiddenDescendant:{exclude:[`caption`,`colgroup`,`thead`,`tfoot`,`tbody`,`tr`]}},track:{className:`HTMLTrackElement`,contentModel:X.noDescendants},u:{className:`HTMLElement`,contentModel:X.anyDescendants},ul:{className:`HTMLUListElement`,contentModel:X.anyDescendants},var:{className:`HTMLElement`,contentModel:X.anyDescendants},video:{className:`HTMLVideoElement`,contentModel:X.anyDescendants},wbr:{className:`HTMLElement`,contentModel:X.noDescendants}};const Ld=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Rd=String.fromCodePoint??(e=>{let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t});function zd(e){return e>=55296&&e<=57343||e>1114111?65533:Ld.get(e)??e}function Bd(e){let t=typeof atob==`function`?atob(e):typeof Buffer.from==`function`?Buffer.from(e,`base64`).toString(`binary`):new Buffer(e,`base64`).toString(`binary`),n=t.length&-2,r=new Uint16Array(n/2);for(let e=0,i=0;e<n;e+=2){let n=t.charCodeAt(e),a=t.charCodeAt(e+1);r[i++]=n|a<<8}return r}const Vd=Bd(`QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg`),Hd=Bd(`AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg`);var Ud;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(Ud||={});var Wd;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(Wd||={});function Gd(e){return e>=Wd.ZERO&&e<=Wd.NINE}function Kd(e){return e>=Wd.UPPER_A&&e<=Wd.UPPER_F||e>=Wd.LOWER_A&&e<=Wd.LOWER_F}function qd(e){return e>=Wd.UPPER_A&&e<=Wd.UPPER_Z||e>=Wd.LOWER_A&&e<=Wd.LOWER_Z||Gd(e)}function Jd(e){return e===Wd.EQUALS||qd(e)}var Yd;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Yd||={});var Xd;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Xd||={});var Zd=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Yd.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Xd.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=Yd.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case Yd.EntityStart:return e.charCodeAt(t)===Wd.NUM?(this.state=Yd.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Yd.NamedEntity,this.stateNamedEntity(e,t));case Yd.NumericStart:return this.stateNumericStart(e,t);case Yd.NumericDecimal:return this.stateNumericDecimal(e,t);case Yd.NumericHex:return this.stateNumericHex(e,t);case Yd.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|32)===Wd.LOWER_X?(this.state=Yd.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Yd.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(Gd(n)||Kd(n)){let e=n<=Wd.NINE?n-Wd.ZERO:(n|32)-Wd.LOWER_A+10;this.result=this.result*16+e,this.consumed++,t++}else return this.emitNumericEntity(n,3)}return-1}stateNumericDecimal(e,t){for(;t<e.length;){let n=e.charCodeAt(t);if(Gd(n))this.result=this.result*10+(n-Wd.ZERO),this.consumed++,t++;else return this.emitNumericEntity(n,2)}return-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Wd.SEMI)this.consumed+=1;else if(this.decodeMode===Xd.Strict)return 0;return this.emitCodePoint(zd(this.result),this.consumed),this.errors&&(e!==Wd.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&Ud.VALUE_LENGTH)>>14;for(;t<e.length;){if(i===0&&(r&Ud.FLAG13)!==0){let a=(r&Ud.BRANCH_LENGTH)>>7;if(this.runConsumed===0){let n=r&Ud.JUMP_TABLE;if(e.charCodeAt(t)!==n)return this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<a;){if(t>=e.length)return-1;let r=this.runConsumed-1,i=n[this.treeIndex+1+(r>>1)],a=r%2==0?i&255:i>>8&255;if(e.charCodeAt(t)!==a)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=n[this.treeIndex],i=(r&Ud.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===Wd.SEMI&&i!==0&&(r&Ud.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=$d(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Xd.Attribute&&(i===0||Jd(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Ud.VALUE_LENGTH)>>14,i!==0){if(a===Wd.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Xd.Strict&&(r&Ud.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&Ud.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~(Ud.VALUE_LENGTH|Ud.FLAG13):r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Yd.NamedEntity:return this.result!==0&&(this.decodeMode!==Xd.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Yd.NumericDecimal:return this.emitNumericEntity(0,2);case Yd.NumericHex:return this.emitNumericEntity(0,3);case Yd.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Yd.EntityStart:return 0}}};function Qd(e){let t=``,n=new Zd(e,e=>t+=Rd(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function $d(e,t,n,r){let i=(t&Ud.BRANCH_LENGTH)>>7,a=t&Ud.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=i+1>>1,s=0,c=i-1;for(;s<=c;){let t=s+c>>>1,i=e[n+(t>>1)]>>(t&1)*8&255;if(i<r)s=t+1;else if(i>r)c=t-1;else return e[n+o+t]}return-1}const ef=Qd(Vd),tf=Qd(Hd);function nf(e,t=Xd.Legacy){return ef(e,t)}function rf(e){return ef(e,Xd.Attribute)}function af(e){return tf(e,Xd.Strict)}String.prototype.codePointAt;function of(e,t){return function(n){let r,i=0,a=``;for(;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}const sf=of(/[&<>\u00A0]/g,new Map([[38,`&`],[60,`<`],[62,`>`],[160,` `]])),cf=/[&"<>\t\n\r]/g,lf=/[&"]/g,uf=/&(?:nbsp|lt|gt|amp);/g,df={"&":`&`,'"':`"`,"<":`<`,">":`>`," ":`	`,"\n":`
`,"\r":`
`},ff={"&":`&`,'"':`"`},pf={" ":`\xA0`,"<":`<`,">":`>`,"&":`&`};var mf=class{static encodeXMLAttributeValue(e){return e===null?``:e.replace(cf,e=>df[e])}static decodeXMLAttributeValue(e){return e===null?``:af(e)}static encodeHTMLAttributeValue(e){return e===null?``:e.replace(lf,e=>ff[e])}static decodeHTMLAttributeValue(e){return e===null?``:rf(e)}static encodeTextContent(e){return e===null?``:sf(e)}static decodeTextContent(e){return e===null?``:e.replace(uf,e=>pf[e])}static decodeHTMLEntities(e){return e===null?``:nf(e)}static decodeXMLEntities(e){return e===null?``:af(e)}},hf=class{options={serializableShadowRoots:!1,shadowRoots:null,allShadowRoots:!1,excludeShadowRootTags:null};constructor(e){e&&(e.serializableShadowRoots&&(this.options.serializableShadowRoots=e.serializableShadowRoots),e.shadowRoots&&(this.options.shadowRoots=e.shadowRoots),e.allShadowRoots&&(this.options.allShadowRoots=e.allShadowRoots),e.excludeShadowRootTags&&(this.options.excludeShadowRootTags=e.excludeShadowRootTags))}serializeToString(e){switch(e[C]){case U.elementNode:let t=e,n=t[Ct],r=t[k],i=Id[t[k]],a=n?`${n}:${r}`:r;if(i?.contentModel===X.noDescendants)return`<${a}${this.getAttributes(t)}>`;let o=``;if(t.shadowRoot&&(this.options.allShadowRoots||this.options.serializableShadowRoots&&t.shadowRoot[vr]||this.options.shadowRoots?.includes(t.shadowRoot))&&(!this.options.excludeShadowRootTags||!this.options.excludeShadowRootTags.includes(a))){o+=`<template shadowrootmode="${t.shadowRoot[xn]}"${t.shadowRoot[vr]?` shadowrootserializable=""`:``}>`;for(let e of t.shadowRoot[j])o+=this.serializeToString(e);o+=`</template>`}let s=a===`template`?e.content[j]:e[j];for(let e of s)o+=this.serializeToString(e);return`<${a}${this.getAttributes(t)}>${o}</${a}>`;case gd.DOCUMENT_FRAGMENT_NODE:case gd.DOCUMENT_NODE:let c=``;for(let t of e[j])c+=this.serializeToString(t);return c;case U.commentNode:return`<!--${e.textContent}-->`;case U.processingInstructionNode:return`<!--?${e.target} ${e.textContent}?-->`;case U.textNode:let l=e.parentElement;return l&&Id[l[k]]?.contentModel===X.rawText?e.textContent:mf.encodeTextContent(e.textContent);case U.documentTypeNode:let u=e,d=u.publicId?` PUBLIC`:u.systemId?` SYSTEM`:``,f=u.publicId?` "${u.publicId}"`:``,p=u.systemId?` "${u.systemId}"`:``;return`<!DOCTYPE ${u.name}${d}${f}${p}>`}return``}getAttributes(e){let t=``,n=e[Ot][A];!n.has(`:is`)&&e[We]&&(t+=` is="`+mf.encodeHTMLAttributeValue(e[We])+`"`);for(let e of n.values()){let n=mf.encodeHTMLAttributeValue(e[v]);t+=` `+e[E]+`="`+n+`"`}return t}},gf={svg:{localName:`svg`,className:`SVGSVGElement`},animate:{localName:`animate`,className:`SVGAnimateElement`},animatemotion:{localName:`animateMotion`,className:`SVGAnimateMotionElement`},animatetransform:{localName:`animateTransform`,className:`SVGAnimateTransformElement`},circle:{localName:`circle`,className:`SVGCircleElement`},clippath:{localName:`clipPath`,className:`SVGClipPathElement`},defs:{localName:`defs`,className:`SVGDefsElement`},desc:{localName:`desc`,className:`SVGDescElement`},ellipse:{localName:`ellipse`,className:`SVGEllipseElement`},feblend:{localName:`feBlend`,className:`SVGFEBlendElement`},fecolormatrix:{localName:`feColorMatrix`,className:`SVGFEColorMatrixElement`},fecomponenttransfer:{localName:`feComponentTransfer`,className:`SVGFEComponentTransferElement`},fecomposite:{localName:`feComposite`,className:`SVGFECompositeElement`},feconvolvematrix:{localName:`feConvolveMatrix`,className:`SVGFEConvolveMatrixElement`},fediffuselighting:{localName:`feDiffuseLighting`,className:`SVGFEDiffuseLightingElement`},fedisplacementmap:{localName:`feDisplacementMap`,className:`SVGFEDisplacementMapElement`},fedistantlight:{localName:`feDistantLight`,className:`SVGFEDistantLightElement`},fedropshadow:{localName:`feDropShadow`,className:`SVGFEDropShadowElement`},feflood:{localName:`feFlood`,className:`SVGFEFloodElement`},fefunca:{localName:`feFuncA`,className:`SVGFEFuncAElement`},fefuncb:{localName:`feFuncB`,className:`SVGFEFuncBElement`},fefuncg:{localName:`feFuncG`,className:`SVGFEFuncGElement`},fefuncr:{localName:`feFuncR`,className:`SVGFEFuncRElement`},fegaussianblur:{localName:`feGaussianBlur`,className:`SVGFEGaussianBlurElement`},feimage:{localName:`feImage`,className:`SVGFEImageElement`},femerge:{localName:`feMerge`,className:`SVGFEMergeElement`},femergenode:{localName:`feMergeNode`,className:`SVGFEMergeNodeElement`},femorphology:{localName:`feMorphology`,className:`SVGFEMorphologyElement`},feoffset:{localName:`feOffset`,className:`SVGFEOffsetElement`},fepointlight:{localName:`fePointLight`,className:`SVGFEPointLightElement`},fespecularlighting:{localName:`feSpecularLighting`,className:`SVGFESpecularLightingElement`},fespotlight:{localName:`feSpotLight`,className:`SVGFESpotLightElement`},fetile:{localName:`feTile`,className:`SVGFETileElement`},feturbulence:{localName:`feTurbulence`,className:`SVGFETurbulenceElement`},filter:{localName:`filter`,className:`SVGFilterElement`},foreignobject:{localName:`foreignObject`,className:`SVGForeignObjectElement`},g:{localName:`g`,className:`SVGGElement`},image:{localName:`image`,className:`SVGImageElement`},line:{localName:`line`,className:`SVGLineElement`},lineargradient:{localName:`linearGradient`,className:`SVGLinearGradientElement`},marker:{localName:`marker`,className:`SVGMarkerElement`},mask:{localName:`mask`,className:`SVGMaskElement`},metadata:{localName:`metadata`,className:`SVGMetadataElement`},mpath:{localName:`mpath`,className:`SVGMPathElement`},path:{localName:`path`,className:`SVGPathElement`},pattern:{localName:`pattern`,className:`SVGPatternElement`},polygon:{localName:`polygon`,className:`SVGPolygonElement`},polyline:{localName:`polyline`,className:`SVGPolylineElement`},radialgradient:{localName:`radialGradient`,className:`SVGRadialGradientElement`},rect:{localName:`rect`,className:`SVGRectElement`},script:{localName:`script`,className:`SVGScriptElement`},set:{localName:`set`,className:`SVGSetElement`},stop:{localName:`stop`,className:`SVGStopElement`},style:{localName:`style`,className:`SVGStyleElement`},switch:{localName:`switch`,className:`SVGSwitchElement`},symbol:{localName:`symbol`,className:`SVGSymbolElement`},text:{localName:`text`,className:`SVGTextElement`},textpath:{localName:`textPath`,className:`SVGTextPathElement`},title:{localName:`title`,className:`SVGTitleElement`},tspan:{localName:`tspan`,className:`SVGTSpanElement`},use:{localName:`use`,className:`SVGUseElement`},view:{localName:`view`,className:`SVGViewElement`}};const _f=/<([^\s/!>?]+)|<\/([^\s/!>?]+)\s*>|(<!--)|(-->|--!>)|(<!)|(<\?)|(\/>)|(>)/gm,vf=/\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*([^"'=<>\\`\s]+)|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*"([^"]*)("{0,1})|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)\s*=\s*'([^']*)('{0,1})|\s*([a-zA-Z0-9-_:.$@?\\<\[\]]+)/gm,yf=/"([^"]+)"/gm,bf=/\s+/,xf=/^\s+/;var Sf;(function(e){e.any=`any`,e.startTag=`startTag`,e.comment=`comment`,e.documentType=`documentType`,e.processingInstruction=`processingInstruction`,e.rawTextElement=`rawTextElement`})(Sf||={});var Cf;(function(e){e[e.root=0]=`root`,e[e.doctype=1]=`doctype`,e[e.documentElement=2]=`documentElement`,e[e.head=3]=`head`,e[e.additionalHeadWithoutBody=4]=`additionalHeadWithoutBody`,e[e.body=5]=`body`,e[e.afterBody=6]=`afterBody`})(Cf||={});var wf=class{window;evaluateScripts=!1;isTemplateDocumentFragment=!1;rootNode=null;rootDocument=null;nodeStack=[];tagNameStack=[];documentStructure=null;startTagIndex=0;markupRegExp=null;nextElement=null;currentNode=null;readState=Sf.any;constructor(e,t){this.window=e,t?.evaluateScripts&&(this.evaluateScripts=!0),t?.isTemplateDocumentFragment&&(this.isTemplateDocumentFragment=!0)}parse(e,t){if(this.rootNode=t||this.window.document.createDocumentFragment(),this.rootDocument=this.rootNode[C]===U.documentNode?this.rootNode:this.window.document,this.nodeStack=[this.rootNode],this.tagNameStack=[null],this.currentNode=this.rootNode,this.readState=Sf.any,this.documentStructure=null,this.startTagIndex=0,this.markupRegExp=new RegExp(_f),this.rootNode[C]===U.documentNode){let{doctype:e,documentElement:t,head:n,body:r}=this.rootNode;if(!t||!n||!r)throw Error(`Failed to parse HTML: The root node must have "documentElement", "head" and "body".
|
|
69
|
-
|
|
70
|
-
We should not end up here and it is therefore a bug in Happy DOM. Please report this issue.`);this.documentStructure={nodes:{doctype:e||null,documentElement:t,head:n,body:r},level:Cf.root}}if(this.rootNode instanceof this.window.HTMLHtmlElement){let e=this.rootDocument.createElement(`head`),t=this.rootDocument.createElement(`body`);for(;this.rootNode[j].length>0;)this.rootNode[Fn](this.rootNode[j][this.rootNode[j].length-1]);this.rootNode[Pn](e),this.rootNode[Pn](t),this.documentStructure={nodes:{doctype:null,documentElement:this.rootNode,head:e,body:t},level:Cf.documentElement}}let n,r=0;for(e=String(e);n=this.markupRegExp.exec(e);){switch(this.readState){case Sf.any:n.index!==r&&(n[1]||n[2]||n[3]||n[4]||n[5]!==void 0||n[6])&&this.parsePlainText(e.substring(r,n.index)),n[1]?(this.nextElement=this.getStartTagElement(n[1]),this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.startTag):n[2]?this.parseEndTag(n[2]):n[3]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.comment):n[5]===void 0?n[6]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.processingInstruction):this.parsePlainText(e.substring(r,this.markupRegExp.lastIndex)):(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.documentType);break;case Sf.startTag:if(n[7]||n[8]||n[2])if(this.nextElement){let t=e.substring(this.startTagIndex,n[2]?this.markupRegExp.lastIndex-1:n.index),r=!!n[7];this.parseEndOfStartTag(t,r)}else this.readState=Sf.any;break;case Sf.comment:n[4]&&this.parseComment(e.substring(this.startTagIndex,n.index));break;case Sf.documentType:(n[7]||n[8])&&this.parseDocumentType(e.substring(this.startTagIndex,n.index));break;case Sf.processingInstruction:(n[7]||n[8])&&this.parseComment(`?`+e.substring(this.startTagIndex,n.index));break;case Sf.rawTextElement:n[2]&&this.parseRawTextElementContent(n[2],e.substring(this.startTagIndex,n.index));break}r=this.markupRegExp.lastIndex}return r!==e.length&&this.currentNode&&this.parsePlainText(e.substring(r)),this.rootNode}parsePlainText(e){if(this.documentStructure){let t=this.documentStructure.level,{documentElement:n,head:r,body:i}=this.documentStructure.nodes,a=(this.currentNode===this.rootNode||this.currentNode===n)&&t<Cf.head&&i[Yn].length===0?e.replace(xf,``):e;if(a){let o=this.rootDocument.createTextNode(mf.decodeHTMLEntities(a));this.currentNode===r&&t===Cf.additionalHeadWithoutBody?n[In](o,i,!0):this.currentNode===this.rootNode||this.currentNode===n||this.currentNode===r&&t>=Cf.body?t===Cf.head?n[In](o,i,!0):i.lastChild?.[C]===U.textNode?i.lastChild[Ae]+=e:i[Pn](o,!0):this.currentNode[Pn](o,!0)}}else{let t=this.rootDocument.createTextNode(mf.decodeHTMLEntities(e));this.currentNode[Pn](t,!0)}}parseEndOfStartTag(e,t){if(e&&(!this.documentStructure||this.nextElement!==this.documentStructure.nodes.head||this.documentStructure.level<Cf.body)){let t=new RegExp(vf),n;for(;n=t.exec(e);)if(n[1]&&n[2]||n[3]&&n[5]===`"`||n[6]&&n[8]===`'`||n[9]){let e=n[1]||n[3]||n[6]||n[9]||``,t=n[2]||n[4]||n[7]||``,r=t?mf.decodeHTMLAttributeValue(t):``,i=this.nextElement[Ot];if(this.nextElement[T]===Fl.svg){let t=e.split(`:`),n=null;switch(t[0]){case`xmlns`:n=!t[1]||t[1]===`xlink`?Fl.xmlns:null;break;case`xlink`:n=Fl.xlink;break}if(!i.getNamedItemNS(n,t[1]??e)){let a=hd.createNode(this.rootDocument,this.window.Attr);a[T]=n,a[E]=e,a[k]=n&&t[1]?t[1]:e,a[Ct]=n&&t[1]?t[0]:null,a[v]=r,i[or](a)}}else if(!i.getNamedItem(e)){let t=this.rootDocument.createAttribute(e);t[v]=r,i[or](t)}this.startTagIndex+=n[0].length}else if(!n[1]&&(n[3]&&!n[5]||n[6]&&!n[8]))return}let n=this.nextElement[w],r=n.toLowerCase(),i=Id[r],a=null;for(;a!==this.rootNode;){let e=this.currentNode[w]?.toLowerCase(),t=e?Id[e]:null;if(a===this.currentNode)throw Error(`Failed to parse HTML: The parser is stuck in an infinite loop. Please report this issue.`);if(a=this.currentNode,i?.contentModel===X.noFirstLevelSelfDescendants&&this.tagNameStack[this.tagNameStack.length-1]===n||t?.contentModel===X.textOrComments||t?.contentModel===X.noForbiddenFirstLevelDescendants&&t?.forbiddenDescendants?.includes(r)||t?.contentModel===X.permittedDescendants&&!t?.permittedDescendants?.includes(r)&&(!i||!i.addPermittedParent||Id[i.addPermittedParent].permittedParents&&!Id[i.addPermittedParent].permittedParents.includes(e)||Id[i.addPermittedParent].permittedDescendants&&!Id[i.addPermittedParent].permittedDescendants.includes(r))){if(t?.contentModel===X.permittedDescendants&&t.moveForbiddenDescendant&&!t.moveForbiddenDescendant.exclude.includes(r)){let e=this.currentNode;for(;e&&!(!e.parentNode||!Id[e.parentNode[k]]?.permittedDescendants||Id[e.parentNode[k]]?.permittedDescendants?.includes(r));)e=e.parentNode;e&&e.parentNode?e.parentNode.insertBefore(this.nextElement,e):e.appendChild(this.nextElement),this.startTagIndex=this.markupRegExp.lastIndex,this.readState=Sf.any;return}this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode}else if(i?.contentModel===X.noSelfDescendants&&this.tagNameStack.includes(n))for(;this.currentNode!==this.rootNode;){if(this.currentNode[w]===n){this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode;break}this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode}else if(!this.isTemplateDocumentFragment&&i?.permittedParents&&!i.permittedParents.includes(e)){if(!i.addPermittedParent||Id[i.addPermittedParent].permittedParents&&!Id[i.addPermittedParent].permittedParents.includes(e)||Id[i.addPermittedParent].permittedDescendants&&!Id[i.addPermittedParent].permittedDescendants.includes(r)){this.readState=Sf.any,this.startTagIndex=this.markupRegExp.lastIndex;return}let t=this.rootDocument.createElement(i.addPermittedParent);this.currentNode[Pn](t,!0),this.nodeStack.push(t),this.tagNameStack.push(t[w]),this.currentNode=t}else break}if(this.documentStructure){let{documentElement:e,head:t,body:n}=this.documentStructure.nodes,r=this.documentStructure.level;(!i||i.contentModel!==X.rawText)&&this.nextElement!==e&&this.nextElement!==t&&this.nextElement!==n&&(e&&(this.currentNode===this.rootNode||this.currentNode===e||this.currentNode===t&&r>=Cf.body)?(r<Cf.body&&(this.documentStructure.level=Cf.afterBody),n[Pn](this.nextElement,!0)):this.currentNode[Pn](this.nextElement,!0))}else this.currentNode[Pn](this.nextElement,!0);!this.documentStructure||this.nextElement!==this.documentStructure.nodes.body||this.documentStructure.level<=Cf.body?(this.currentNode=this.nextElement,this.nodeStack.push(this.currentNode),this.tagNameStack.push(n),this.documentStructure&&this.nextElement===this.documentStructure.nodes.body&&(this.documentStructure.level=Cf.afterBody),i?.contentModel===X.noDescendants||t&&this.currentNode[T]===Fl.svg?(this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode,this.readState=Sf.any):this.readState=i?.contentModel===X.rawText?Sf.rawTextElement:Sf.any):this.readState=Sf.any,this.startTagIndex=this.markupRegExp.lastIndex}parseEndTag(e){let t=this.currentNode[T]===Fl.html?Bl.asciiUpperCase(e):gf[Bl.asciiLowerCase(e)]?.localName||e,n=this.tagNameStack.lastIndexOf(t);n!==-1&&(this.nodeStack.splice(n,this.nodeStack.length-n),this.tagNameStack.splice(n,this.tagNameStack.length-n),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode)}parseComment(e){let t=this.rootDocument.createComment(mf.decodeHTMLEntities(e));if(this.documentStructure){let e=this.documentStructure.level,{documentElement:n,head:r,body:i}=this.documentStructure.nodes,a=null;this.currentNode===this.rootNode&&e===Cf.root?a=n:this.currentNode===n&&e===Cf.documentElement?a=r:this.currentNode===n&&e===Cf.head&&(a=i),this.currentNode[In](t,a,!0)}else this.currentNode[Pn](t,!0);this.readState=Sf.any}parseDocumentType(e){let t=mf.decodeHTMLEntities(e);if(this.documentStructure){let{doctype:e}=this.documentStructure.nodes,n=this.getDocumentType(t);n?this.currentNode===this.rootNode&&this.documentStructure.level===Cf.root&&(e?(e[E]=n.name,e[Ut]=n.publicId,e[Wt]=n.systemId):(e=this.rootNode.implementation.createDocumentType(n.name,n.publicId,n.systemId),this.rootNode.insertBefore(e,this.rootNode.documentElement)),this.documentStructure.level=Cf.doctype):this.parseComment(t)}else this.getDocumentType(t)||this.parseComment(t);this.readState=Sf.any}parseRawTextElementContent(e,t){let n=Bl.asciiUpperCase(e);if(n!==this.currentNode[w])return;(n===`SCRIPT`||n===`LINK`)&&(this.currentNode[ts]=!this.evaluateScripts),this.currentNode[Pn](this.rootDocument.createTextNode(t),!0);let r=this.currentNode;if(this.nodeStack.pop(),this.tagNameStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode,this.readState=Sf.any,this.documentStructure){let{documentElement:e,body:t}=this.documentStructure.nodes;e&&(this.currentNode===this.rootNode||this.currentNode===e)?t[Pn](r,!0):this.currentNode[Pn](r,!0)}else this.currentNode[Pn](r,!0)}getStartTagElement(e){let t=Bl.asciiLowerCase(e),n=this.currentNode[T];if(t===`svg`)return this.rootDocument.createElementNS(Fl.svg,`svg`);if(n===Fl.svg)return this.rootDocument.createElementNS(Fl.svg,gf[t]?.localName||e);switch(t){case`html`:return this.documentStructure?(this.documentStructure.level<Cf.documentElement&&(this.documentStructure.level=Cf.documentElement),this.documentStructure.nodes.documentElement??null):null;case`head`:return this.documentStructure?(this.documentStructure.level<Cf.head?this.documentStructure.level=Cf.head:this.documentStructure.level===Cf.head&&(this.documentStructure.level=Cf.additionalHeadWithoutBody),this.documentStructure.nodes.head??null):null;case`body`:return this.documentStructure?(this.documentStructure.level<Cf.body&&(this.documentStructure.level=Cf.body),this.documentStructure.nodes.body??null):null;default:return this.rootDocument.createElementNS(Fl.html,t)}}getDocumentType(e){if(!e.toUpperCase().startsWith(`DOCTYPE`))return null;let t=e.split(bf);if(t.length<=1)return null;let n=t.slice(1).join(` `),r=[],i=new RegExp(yf,`gm`),a=n.toUpperCase().includes(`PUBLIC`),o;for(;o=i.exec(n);)r.push(o[1]);let s=a&&r[0]||``,c=a?r[1]||``:r[0]||``;return{name:t[1].toLowerCase(),publicId:s,systemId:c}}};const Tf=/[\x00-\x1F\x7F\x80-\x9F "\'><=\/\uFDD0-\uFDEF\uFFFE\uFFFF\u1FFFE\u1FFFF\u2FFFE\u2FFFF\u3FFFE\u3FFFF\u4FFFE\u4FFFF\u5FFFE\u5FFFF\u6FFFE\u6FFFF\u7FFFE\u7FFFF\u8FFFE\u8FFFF\u9FFFE\u9FFFF\uAFFFE\uAFFFF\uBFFFE\uBFFFF\uCFFFE\uCFFFF\uDFFFE\uDFFFF\uEFFFE\uEFFFF\uFFFFE\uFFFFF\u10FFFE\u10FFFF]/;var Ef=class{static validateAttributeName(e,t,n){let{method:r,instance:i}=n;if(t===`text/html`){let t=String(e).toLowerCase();if(Tf.test(t)||t.length===0||t[0]===`-`)throw new _s(`Uncaught InvalidCharacterError: Failed to execute '${r}' on '${i}': '${e}' is not a valid attribute name.`,H.invalidCharacterError)}}},Z=class{static getEventListener(e,t){let n=e[V].get(t);if(n)return n;let r=e[g][je];if(!r)return null;let i=new Y(r).getSettings();if(!i||!i.enableJavaScriptEvaluation)return null;let a=e.getAttribute(t);if(!a)return null;let o=`(function anonymous($happy_dom, event) {`;i&&!i.disableErrorCapturing&&i.errorCapture===Ls.tryAndCatch&&(o+=`try {
|
|
71
|
-
`),o+=a,i&&!i.disableErrorCapturing&&i.errorCapture===Ls.tryAndCatch&&(o+=`} catch(e) { $happy_dom.dispatchError(e); }`),o+=`})`;let s=null;try{s=r[Fe](o,{filename:r.location.href}).bind(e,{dispatchError:r[zo].bind(r)})}catch(n){let a=new r.SyntaxError(`Failed to read the '${t}' property from '${e.constructor.name}': ${n.message}`);if(i.disableErrorCapturing||i.errorCapture!==Ls.tryAndCatch)throw a;return r[zo](a),null}return s&&e[V].set(t,s),s}},Df=class extends gd{static[w]=null;static[k]=null;static[T]=null;[be]=null;[We]=null;[C]=U.elementNode;[Ct]=null;[lt]=null;[wt]=0;[Tt]=0;[Et]=0;[Dt]=0;[Ot]=new Nd(this);[kt]=null;[ye]=null;[er]=null;[xt]=new Set;[V]=new Map;constructor(){super(),this[w]||(this[w]=null),this[k]||(this[k]=null),this[T]||(this[T]=null)}get onfullscreenerror(){return Z.getEventListener(this,`onfullscreenerror`)}set onfullscreenerror(e){this[V].set(`onfullscreenerror`,e)}get onfullscreenchange(){return Z.getEventListener(this,`onfullscreenchange`)}set onfullscreenchange(e){this[V].set(`onfullscreenchange`,e)}get onbeforecopy(){return Z.getEventListener(this,`onbeforecopy`)}set onbeforecopy(e){this[V].set(`onbeforecopy`,e)}get onbeforecut(){return Z.getEventListener(this,`onbeforecut`)}set onbeforecut(e){this[V].set(`onbeforecut`,e)}get onbeforepaste(){return Z.getEventListener(this,`onbeforepaste`)}set onbeforepaste(e){this[V].set(`onbeforepaste`,e)}get onsearch(){return Z.getEventListener(this,`onsearch`)}set onsearch(e){this[V].set(`onsearch`,e)}get tagName(){return this[w]}get prefix(){return this[Ct]}get shadowRoot(){let e=this[lt];return e&&e[xn]===`open`?e:null}get scrollHeight(){return this[wt]}get scrollWidth(){return this[Tt]}get scrollTop(){return this[Et]}set scrollTop(e){this[Et]=e}get scrollLeft(){return this[Dt]}set scrollLeft(e){this[Dt]=e}get attributes(){return this[kt]||(this[kt]=Pd.createProxy(this[Ot])),this[kt]}get namespaceURI(){return this[T]}get children(){if(!this[ye]){let e=this[Yn];this[ye]=new Ad(N,()=>e)}return this[ye]}get classList(){return this[be]||(this[be]=new kd(N,this,`class`)),this[be]}set classList(e){this.setAttribute(`class`,e)}get id(){return this.getAttribute(`id`)||``}set id(e){this.setAttribute(`id`,e)}get className(){return this.getAttribute(`class`)||``}set className(e){this.setAttribute(`class`,e)}get nodeName(){return this[w]}get localName(){return this[k]}get role(){return this.getAttribute(`role`)||``}set role(e){this.setAttribute(`role`,e)}get previousElementSibling(){return yd.previousElementSibling(this)}get nextElementSibling(){return yd.nextElementSibling(this)}get textContent(){let e=``;for(let t of this[j])(t[C]===U.elementNode||t[C]===U.textNode)&&(e+=t.textContent);return e}set textContent(e){let t=this[j];for(;t.length;)this.removeChild(t[0]);e&&this.appendChild(this[g].createTextNode(e))}get innerHTML(){return this.getHTML()}set innerHTML(e){let t=this[j];for(;t.length;)this.removeChild(t[0]);new wf(this[b]).parse(e,this)}get outerHTML(){return new hf().serializeToString(this)}set outerHTML(e){let t=new wf(this[b]).parse(e)[j];this.replaceWith(...t)}get childElementCount(){return this[Yn].length}get firstElementChild(){return this[Yn][0]??null}get lastElementChild(){let e=this[Yn];return e[e.length-1]??null}get slot(){return this.getAttributeNS(null,`slot`)||``}set slot(e){this.setAttribute(`slot`,e)}getInnerHTML(e){let t=new hf({allShadowRoots:!!e?.includeShadowRoots}),n=``;for(let e of this[j])n+=t.serializeToString(e);return n}getHTML(e){let t=new hf({serializableShadowRoots:!!e?.serializableShadowRoots,shadowRoots:e?.shadowRoots??null}),n=``;for(let e of this[j])n+=t.serializeToString(e);return n}[Nn](e=!1){let t=super[Nn](e);t[w]=this[w],t[k]=this[k],t[T]=this[T],this[lt]?.[gr]&&(t[lt]=this[lt].cloneNode(e),t[lt][Sn]=t),t[Ot]=new Nd(t);for(let n of this[Ot][A].values())t[Ot].setNamedItem(n.cloneNode(e));return t}remove(){bd.remove(this)}replaceWith(...e){bd.replaceWith(this,...e)}before(...e){bd.before(this,...e)}after(...e){bd.after(this,...e)}append(...e){jd.append(this,...e)}prepend(...e){jd.prepend(this,...e)}replaceChildren(...e){jd.replaceChildren(this,...e)}insertAdjacentElement(e,t){if(e===`beforebegin`){if(!this.parentElement)return null;this.parentElement.insertBefore(t,this)}else if(e===`afterbegin`)this.insertBefore(t,this.firstChild);else if(e===`beforeend`)this.appendChild(t);else if(e===`afterend`){if(!this.parentElement)return null;this.parentElement.insertBefore(t,this.nextSibling)}return t}insertAdjacentHTML(e,t){let n=new wf(this[b]).parse(t)[j];for(;n.length;)this.insertAdjacentElement(e,n[0])}insertAdjacentText(e,t){if(!t)return;let n=this[g].createTextNode(t);this.insertAdjacentElement(e,n)}setAttribute(e,t){if(Ef.validateAttributeName(e,this[g][Ee],{method:`setAttribute`,instance:`Element`}),e=String(e),this[T]===Fl.html){let n=this[g].createAttribute(e);n[v]=String(t),this[Ot][or](n)}else{let n=e.split(`:`),r=null;switch(n[0]){case`xmlns`:r=!n[1]||n[1]===`xlink`?Fl.xmlns:null;break;case`xlink`:r=Fl.xlink;break}let i=hd.createNode(this[g],this[b].Attr);i[T]=r,i[E]=e,i[k]=r&&n[1]?n[1]:e,i[Ct]=r&&n[1]?n[0]:null,i[v]=String(t),this[Ot][or](i)}}setAttributeNS(e,t,n){let r=this[g].createAttributeNS(e,t);if(!e&&r[Ct])throw new this[b].DOMException(`Failed to execute 'setAttributeNS' on 'Element': '' is an invalid namespace for attributes.`,H.namespaceError);r[v]=String(n),this[Ot].setNamedItemNS(r)}getAttributeNames(){let e=[];for(let t of this[Ot][A].values())e.push(t[E]);return e}getAttribute(e){let t=this[Ot].getNamedItem(e);return t?t[v]:null}toggleAttribute(e,t){e=e.toLowerCase();let n=this[Ot].getNamedItem(e);return n?t===!0?!0:(this[Ot][Hn](n),!1):t===!1?!1:(this.setAttribute(e,``),!0)}getAttributeNS(e,t){let n=this.getAttributeNodeNS(e,t);return n?n[v]:null}hasAttribute(e){return!!this.getAttributeNode(e)}hasAttributeNS(e,t){return this[Ot].getNamedItemNS(e,t)!==null}hasAttributes(){return this[Ot][A].size>0}removeAttribute(e){let t=this[Ot].getNamedItem(e);t&&this[Ot][Hn](t)}removeAttributeNS(e,t){let n=this[Ot].getNamedItemNS(e,t);n&&this[Ot][Hn](n)}attachShadow(e){let t=this[b];if(!e)throw new t.TypeError(`Failed to execute 'attachShadow' on 'Element': 1 argument required, but only 0 present.`);if(!e.mode)throw new t.TypeError(`Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': Required member is undefined.`);if(e.mode!==`open`&&e.mode!==`closed`)throw new t.TypeError(`Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': The provided value '${e.mode}' is not a valid enum value of type ShadowRootMode.`);if(this[lt])throw new t.DOMException(`Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.`);let n=hd.createNode(this[g],this[b].ShadowRoot);return this[lt]=n,n[Sn]=this,n[xn]=e.mode,n[gr]=!!e.clonable,n[_r]=!!e.delegateFocus,n[vr]=!!e.serializable,n[yr]=e.slotAssignment===`manual`?`manual`:`named`,n[xe](),this[lt]}toString(){return this.outerHTML}getBoundingClientRect(){return new Dd}getClientRects(){let e=new Md(N);return e.push(this.getBoundingClientRect()),e}setPointerCapture(e){this[xt].add(e)}hasPointerCapture(e){return this[xt].has(e)}releasePointerCapture(e){this[xt].delete(e)}matches(e){return!!J.matches(this,e)}closest(e){let t=this;for(;t;){if(J.matches(t,e))return t;t=t.parentElement}return null}querySelectorAll(e){return J.querySelectorAll(this,e)}querySelector(e){return J.querySelector(this,e)}getElementsByClassName(e){return jd.getElementsByClassName(this,e)}getElementsByTagName(e){return jd.getElementsByTagName(this,e)}getElementsByTagNameNS(e,t){return jd.getElementsByTagNameNS(this,e,t)}setAttributeNode(e){return this[Ot].setNamedItem(e)}setAttributeNodeNS(e){return this[Ot].setNamedItemNS(e)}getAttributeNode(e){return this[Ot].getNamedItem(e)}getAttributeNodeNS(e,t){return this[Ot].getNamedItemNS(e,t)}removeAttributeNode(e){if(e[Ze]!==this)throw new this[b].DOMException(`Failed to execute 'removeAttributeNode' on 'Element': The node provided is owned by another element.`);return this[Ot][Hn](e),e}scroll(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this[b].TypeError(`Failed to execute 'scroll' on 'Element': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};if(n.behavior===`smooth`)this[b].setTimeout(()=>{if(n.top!==void 0){let e=Number(n.top);this.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.scrollLeft=isNaN(e)?0:e}});else{if(n.top!==void 0){let e=Number(n.top);this.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.scrollLeft=isNaN(e)?0:e}}}scrollTo(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this[b].TypeError(`Failed to execute 'scrollTo' on 'Element': The provided value is not of type 'ScrollToOptions'.`);this.scroll(e,t)}scrollBy(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this[b].TypeError(`Failed to execute 'scrollBy' on 'Element': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};this.scroll({left:this.scrollLeft+(n.left??0),top:this.scrollTop+(n.top??0),behavior:n.behavior})}scrollIntoView(e){}[Pn](e,t=!1){let n=super[Pn](e,t);return this.#n(e),n}[Fn](e){let t=super[Fn](e);return this.#n(e),t}[In](e,t,n=!1){let r=super[In](e,t,n);return this.#n(e),r}[qn](e,t){if(!e[E])return;let n=t?t[v]:null;if(e[E]===`slot`&&this[S]&&this[S][lt]){let r=this[S][lt];if(r&&e[v]!==n){if(n!==null&&t){let e=r.querySelector(`slot[name="${t[v]}"]`);e&&e.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}else{let e=r.querySelector(`slot:not([name])`);e&&e.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}let i=r.querySelector(`slot[name="${e[v]}"]`);i&&i.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}}this[e[E]]!==void 0&&e[E][0]===`o`&&e[E][1]===`n`&&this[V].delete(e[E]),e[E]===`id`&&this[x]&&(t?.[v]&&this.#t(t[v]),this.#e(e[v])),this[mt](new td({type:md.attributes,target:this,attributeName:e[E],oldValue:n}))}[Jn](e){if(e[E]===`slot`&&this[S]&&this[S][lt]){let t=this[S][lt],n=t.querySelector(`slot[name="${e[v]}"]`),r=t.querySelector(`slot:not([name])`);n&&n.dispatchEvent(new W(`slotchange`,{bubbles:!0})),r&&r.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}e[E]===`id`&&this[x]&&this.#t(e[v]),this[mt](new td({type:md.attributes,target:this,attributeName:e[E],oldValue:e[v]}))}[Ce](){let e=this.getAttribute(`id`);if(e&&this.#e(e),super[Ce](),this[b][Do].enqueueReaction(this,`connectedCallback`),this[lt])for(let e of this[j])this.#n(e)}[we](){super[we]();let e=this.getAttribute(`id`);e&&this.#t(e),this[b][Do].enqueueReaction(this,`disconnectedCallback`)}[Me](){let e=this.getAttribute(`id`);e&&this.#t(e),this[b][Do].enqueueReaction(this,`disconnectedCallback`),super[Me](),this[lt]&&this[lt][Me](),this[be]=null,this[lt]=null,this[kt]=null,this[ye]=null,this[er]=null,this[V].clear(),this[Ot][ir].clear(),this[Ot][qe].clear(),this[Ot][A].clear()}#e(e){if(!e)return;let t=this[g],n=this[b];if(this[it]&&this[it]!==t)return;t[hr].has(e)||t[hr].set(e,{elements:[],htmlCollection:null});let r=t[hr].get(e);if(!r)return;let i=this[ar]||this;r.elements.push(i),r.elements.length>1?(r.htmlCollection||=new Ad(N,()=>r.elements),(!(e in n)||n[e]===r.elements[0])&&(n[e]=r.htmlCollection)):(!(e in n)||r.htmlCollection!==null&&n[e]===r.htmlCollection)&&(n[e]=i)}#t(e){if(!e)return;let t=this[g],n=this[b];if(this[it]&&this[it]!==t)return;let r=t[hr].get(e);if(!r)return;let i=this[ar]||this,a=r.elements.indexOf(i);a!==-1&&r.elements.splice(a,1),r.elements.length===1?(n[e]===r.htmlCollection&&(n[e]=r.elements[0]),r.htmlCollection=null):r.elements.length||(t[hr].delete(e),(n[e]===i||n[e]===r.htmlCollection)&&delete n[e])}#n(e){let t=this[lt];if(!t||!this[x])return;let n=e.getAttribute?e.getAttribute(`slot`):null;if(n){let e=t.querySelector(`slot[name="${n}"]`);e&&e.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}else if(e[C]!==U.commentNode){let e=t.querySelector(`slot:not([name])`);e&&e.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}}},Of=class{static blur(e){let t=e[ar]||e,n=t[g];if(n[de]!==t||!t[x]||t.disabled)return;let r=n[Je]??null;n[de]=null,n[Kn](),t.dispatchEvent(new nu(`blur`,{relatedTarget:r,bubbles:!1,composed:!0,cancelable:!0})),t.dispatchEvent(new nu(`focusout`,{relatedTarget:r,bubbles:!0,composed:!0,cancelable:!0}))}static focus(e){let t=e[ar]||e,n=t[g];if(n[de]===t||!t[x]||t.disabled||this.isInert(t))return;n[Je]=t;let r=n[de];n[de]!==null&&n[de].blur(),n[Je]=null,n[de]=t,n[Kn](),t.dispatchEvent(new nu(`focus`,{relatedTarget:r,bubbles:!1,composed:!0})),t.dispatchEvent(new nu(`focusin`,{relatedTarget:r,bubbles:!0,composed:!0}))}static isInert(e){let t=e[ar]||e;for(;t&&typeof t.getAttribute==`function`;){if(t.getAttribute(`inert`)!==null)return!0;t=t[S]}return!1}},kf=class{static kebabToCamelCase(e){let t=e.split(`-`);for(let e=0,n=t.length;e<n;e++)t[e]=e>0?t[e].charAt(0).toUpperCase()+t[e].slice(1):t[e];return t.join(``)}static camelCaseToKebab(e){return e.toString().replace(/[A-Z]+(?![a-z])|[A-Z]/g,(e,t)=>(t?`-`:``)+e.toLowerCase())}},Af=class{constructor(e,t){if(e!==N)throw TypeError(`Illegal constructor`);return new Proxy(this,{get(e,n){let r=t.getAttribute(`data-`+kf.camelCaseToKebab(n));if(r!==null)return r},set(e,n,r){return t.setAttribute(`data-`+kf.camelCaseToKebab(n),r),!0},deleteProperty(e,n){return t.removeAttribute(`data-`+kf.camelCaseToKebab(n)),!0},ownKeys(e){let n=[];for(let e of t[Ot][qe].values())e[0][E].startsWith(`data-`)&&n.push(kf.kebabToCamelCase(e[0][E].replace(`data-`,``)));return n},has(e,n){return t.hasAttribute(`data-`+kf.camelCaseToKebab(n))},defineProperty(e,n,r){return r.value===void 0?!1:(t.setAttribute(`data-`+kf.camelCaseToKebab(n),r.value),!0)},getOwnPropertyDescriptor(e,n){let r=t.getAttribute(`data-`+kf.camelCaseToKebab(n));if(r)return{value:r,writable:!0,enumerable:!0,configurable:!0}}})}},Q=class extends Df{static observedAttributes;[At]=``;[jt]=0;[Mt]=0;[Nt]=0;[Pt]=0;[Ft]=0;[It]=0;[Lt]=0;[Rt]=0;[ut]=null;[rr]=null;#e=null;get oncancel(){return Z.getEventListener(this,`oncancel`)}set oncancel(e){this[V].set(`oncancel`,e)}get onerror(){return Z.getEventListener(this,`onerror`)}set onerror(e){this[V].set(`onerror`,e)}get onscroll(){return Z.getEventListener(this,`onscroll`)}set onscroll(e){this[V].set(`onscroll`,e)}get onselect(){return Z.getEventListener(this,`onselect`)}set onselect(e){this[V].set(`onselect`,e)}get onwheel(){return Z.getEventListener(this,`onwheel`)}set onwheel(e){this[V].set(`onwheel`,e)}get oncopy(){return Z.getEventListener(this,`oncopy`)}set oncopy(e){this[V].set(`oncopy`,e)}get oncut(){return Z.getEventListener(this,`oncut`)}set oncut(e){this[V].set(`oncut`,e)}get onpaste(){return Z.getEventListener(this,`onpaste`)}set onpaste(e){this[V].set(`onpaste`,e)}get oncompositionend(){return Z.getEventListener(this,`oncompositionend`)}set oncompositionend(e){this[V].set(`oncompositionend`,e)}get oncompositionstart(){return Z.getEventListener(this,`oncompositionstart`)}set oncompositionstart(e){this[V].set(`oncompositionstart`,e)}get oncompositionupdate(){return Z.getEventListener(this,`oncompositionupdate`)}set oncompositionupdate(e){this[V].set(`oncompositionupdate`,e)}get onblur(){return Z.getEventListener(this,`onblur`)}set onblur(e){this[V].set(`onblur`,e)}get onfocus(){return Z.getEventListener(this,`onfocus`)}set onfocus(e){this[V].set(`onfocus`,e)}get onfocusin(){return Z.getEventListener(this,`onfocusin`)}set onfocusin(e){this[V].set(`onfocusin`,e)}get onfocusout(){return Z.getEventListener(this,`onfocusout`)}set onfocusout(e){this[V].set(`onfocusout`,e)}get onkeydown(){return Z.getEventListener(this,`onkeydown`)}set onkeydown(e){this[V].set(`onkeydown`,e)}get onkeyup(){return Z.getEventListener(this,`onkeyup`)}set onkeyup(e){this[V].set(`onkeyup`,e)}get onauxclick(){return Z.getEventListener(this,`onauxclick`)}set onauxclick(e){this[V].set(`onauxclick`,e)}get onclick(){return Z.getEventListener(this,`onclick`)}set onclick(e){this[V].set(`onclick`,e)}get oncontextmenu(){return Z.getEventListener(this,`oncontextmenu`)}set oncontextmenu(e){this[V].set(`oncontextmenu`,e)}get ondblclick(){return Z.getEventListener(this,`ondblclick`)}set ondblclick(e){this[V].set(`ondblclick`,e)}get onmousedown(){return Z.getEventListener(this,`onmousedown`)}set onmousedown(e){this[V].set(`onmousedown`,e)}get onmouseenter(){return Z.getEventListener(this,`onmouseenter`)}set onmouseenter(e){this[V].set(`onmouseenter`,e)}get onmouseleave(){return Z.getEventListener(this,`onmouseleave`)}set onmouseleave(e){this[V].set(`onmouseleave`,e)}get onmousemove(){return Z.getEventListener(this,`onmousemove`)}set onmousemove(e){this[V].set(`onmousemove`,e)}get onmouseout(){return Z.getEventListener(this,`onmouseout`)}set onmouseout(e){this[V].set(`onmouseout`,e)}get onmouseover(){return Z.getEventListener(this,`onmouseover`)}set onmouseover(e){this[V].set(`onmouseover`,e)}get onmouseup(){return Z.getEventListener(this,`onmouseup`)}set onmouseup(e){this[V].set(`onmouseup`,e)}get ontouchcancel(){return Z.getEventListener(this,`ontouchcancel`)}set ontouchcancel(e){this[V].set(`ontouchcancel`,e)}get ontouchend(){return Z.getEventListener(this,`ontouchend`)}set ontouchend(e){this[V].set(`ontouchend`,e)}get ontouchmove(){return Z.getEventListener(this,`ontouchmove`)}set ontouchmove(e){this[V].set(`ontouchmove`,e)}get ontouchstart(){return Z.getEventListener(this,`ontouchstart`)}set ontouchstart(e){this[V].set(`ontouchstart`,e)}get oninvalid(){return Z.getEventListener(this,`oninvalid`)}set oninvalid(e){this[V].set(`oninvalid`,e)}get onanimationcancel(){return Z.getEventListener(this,`onanimationcancel`)}set onanimationcancel(e){this[V].set(`onanimationcancel`,e)}get onanimationend(){return Z.getEventListener(this,`onanimationend`)}set onanimationend(e){this[V].set(`onanimationend`,e)}get onanimationiteration(){return Z.getEventListener(this,`onanimationiteration`)}set onanimationiteration(e){this[V].set(`onanimationiteration`,e)}get onanimationstart(){return Z.getEventListener(this,`onanimationstart`)}set onanimationstart(e){this[V].set(`onanimationstart`,e)}get onbeforeinput(){return Z.getEventListener(this,`onbeforeinput`)}set onbeforeinput(e){this[V].set(`onbeforeinput`,e)}get oninput(){return Z.getEventListener(this,`oninput`)}set oninput(e){this[V].set(`oninput`,e)}get onchange(){return Z.getEventListener(this,`onchange`)}set onchange(e){this[V].set(`onchange`,e)}get ongotpointercapture(){return Z.getEventListener(this,`ongotpointercapture`)}set ongotpointercapture(e){this[V].set(`ongotpointercapture`,e)}get onlostpointercapture(){return Z.getEventListener(this,`onlostpointercapture`)}set onlostpointercapture(e){this[V].set(`onlostpointercapture`,e)}get onpointercancel(){return Z.getEventListener(this,`onpointercancel`)}set onpointercancel(e){this[V].set(`onpointercancel`,e)}get onpointerdown(){return Z.getEventListener(this,`onpointerdown`)}set onpointerdown(e){this[V].set(`onpointerdown`,e)}get onpointerenter(){return Z.getEventListener(this,`onpointerenter`)}set onpointerenter(e){this[V].set(`onpointerenter`,e)}get onpointerleave(){return Z.getEventListener(this,`onpointerleave`)}set onpointerleave(e){this[V].set(`onpointerleave`,e)}get onpointermove(){return Z.getEventListener(this,`onpointermove`)}set onpointermove(e){this[V].set(`onpointermove`,e)}get onpointerout(){return Z.getEventListener(this,`onpointerout`)}set onpointerout(e){this[V].set(`onpointerout`,e)}get onpointerover(){return Z.getEventListener(this,`onpointerover`)}set onpointerover(e){this[V].set(`onpointerover`,e)}get onpointerup(){return Z.getEventListener(this,`onpointerup`)}set onpointerup(e){this[V].set(`onpointerup`,e)}get ontransitioncancel(){return Z.getEventListener(this,`ontransitioncancel`)}set ontransitioncancel(e){this[V].set(`ontransitioncancel`,e)}get ontransitionend(){return Z.getEventListener(this,`ontransitionend`)}set ontransitionend(e){this[V].set(`ontransitionend`,e)}get ontransitionrun(){return Z.getEventListener(this,`ontransitionrun`)}set ontransitionrun(e){this[V].set(`ontransitionrun`,e)}get ontransitionstart(){return Z.getEventListener(this,`ontransitionstart`)}set ontransitionstart(e){this[V].set(`ontransitionstart`,e)}get accessKey(){return this[At]}set accessKey(e){this[At]=e}get contentEditable(){let e=String(this.getAttribute(`contentEditable`)).toLowerCase();switch(e){case`false`:case`true`:case`plaintext-only`:return e;default:return`inherit`}}set contentEditable(e){switch(e=String(e).toLowerCase(),e){case`false`:case`true`:case`plaintext-only`:case`inherit`:this.setAttribute(`contentEditable`,e);break;default:throw new this[b].SyntaxError(`Failed to set the 'contentEditable' property on 'HTMLElement': The value provided ('${e}') is not one of 'true', 'false', 'plaintext-only', or 'inherit'.`)}}get isContentEditable(){let e=this.contentEditable;return e===`true`||e===`plaintext-only`?!0:e===`inherit`?this[S]?.isContentEditable??!1:!1}get offsetHeight(){return this[jt]}get offsetWidth(){return this[Mt]}get offsetLeft(){return this[Nt]}get offsetTop(){return this[Pt]}get clientHeight(){return this[Ft]}get clientWidth(){return this[It]}get clientLeft(){return this[Lt]}get clientTop(){return this[Rt]}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?-1:t}return-1}set tabIndex(e){let t=Number(e);isNaN(t)?this.setAttribute(`tabindex`,`0`):this.setAttribute(`tabindex`,String(t))}get innerText(){if(!this[x])return this.textContent;let e=``;for(let t of this[j])if(t[C]===U.elementNode){let n=t,r=this[b].getComputedStyle(n);if(n[w]!==`SCRIPT`&&n[w]!==`STYLE`&&n[w]!==`svg`){let t=r.display;if(t!==`none`){let i=r.textTransform,a=n.innerText;(t===`block`||t===`flex`)&&e&&a&&(e+=`
|
|
72
|
-
`);let o=a;switch(i){case`uppercase`:o=o.toUpperCase();break;case`lowercase`:o=o.toLowerCase();break;case`capitalize`:o=o.replace(/(^|\s)\S/g,e=>e.toUpperCase());break}e+=o}}}else t[C]===U.textNode&&(e+=t.textContent.replace(/[\n\r]/,``));return e}set innerText(e){let t=this[j];for(;t.length;)this.removeChild(t[0]);let n=e.split(/[\n\r]/),r=this[g];for(let e=0,t=n.length;e<t;e++)e!==0&&this.appendChild(r.createElement(`br`)),this.appendChild(r.createTextNode(n[e]))}get outerText(){return this.innerText}set outerText(e){if(!this[S])throw new this[b].DOMException(`Failed to set the 'outerHTML' property on 'Element': This element has no parent node.`);let t=e.split(/[\n\r]/);for(let e=0,n=t.length;e<n;e++)e!==0&&this[S].insertBefore(this[g].createElement(`br`),this),this[S].insertBefore(this[g].createTextNode(t[e]),this);this[S].removeChild(this)}get style(){return this[ut]||(this[ut]=new yl(N,this[b],{element:this})),this[ut]}set style(e){this.style.cssText=typeof e==`string`?e:``}get dataset(){return this[rr]??=new Af(N,this)}get dir(){return this.getAttribute(`dir`)||``}set dir(e){this.setAttribute(`dir`,e)}get hidden(){return this.getAttribute(`hidden`)!==null}set hidden(e){e?this.setAttribute(`hidden`,``):this.removeAttribute(`hidden`)}get inert(){return this.getAttribute(`inert`)!==null}set inert(e){e?this.setAttribute(`inert`,``):this.removeAttribute(`inert`)}get lang(){return this.getAttribute(`lang`)||``}set lang(e){this.setAttribute(`lang`,e)}get title(){return this.getAttribute(`title`)||``}set title(e){this.setAttribute(`title`,e)}get popover(){switch(this.getAttribute(`popover`)){case null:return null;case``:case`auto`:return`auto`;case`manual`:return`manual`;default:return`manual`}}set popover(e){if(e===null){this.removeAttribute(`popover`);return}this.setAttribute(`popover`,e)}click(){this.dispatchEvent(new cu(`click`,{bubbles:!0,composed:!0,cancelable:!0}))}blur(){Of.blur(this)}focus(){Of.focus(this)}[Nn](e=!1){let t=super[Nn](e);return t[At]=this[At],t}[Ce](){let e=this[b],t=this[k],n=e.customElements[ge];if(this.constructor===e.HTMLElement&&t.includes(`-`)&&n&&!this.#e){let e=this.#t.bind(this),r=n.get(t);r?r.unshift(e):n.set(t,[e]),this.#e=e}super[Ce]()}[we](){let e=this[b],t=this[k],n=e.customElements[ge];if(this.constructor===e.HTMLElement&&t.includes(`-`)&&n){let e=n.get(t);if(e&&this.#e){let r=e.indexOf(this.#e);r!==-1&&e.splice(r,1),e.length||n.delete(t),this.#e=null}}super[we]()}[qn](e,t){super[qn](e,t),this[b][Do].enqueueReaction(this,`attributeChangedCallback`,[e.name,t?.value??null,e.value])}[Jn](e){super[Jn](e),this[b][Do].enqueueReaction(this,`attributeChangedCallback`,[e.name,e.value,null])}[Me](){super[Me](),this[ut]=null,this[rr]=null}#t(){if(!this[S])return;let e=this[b],t=this[k],n=this[g].createElement(t),r=n[M];n[j]=this[j],n[Yn]=this[Yn],n[ve]=null,n[ye]=null,n[x]=this[x],n[it]=this[it],n[Le]=this[Le],n[S]=this[S],n[at]=this[at],n[ft]=this[ft],n[Xe]=this[Xe],n[We]=this[We],n[M]=this[M],n[Xn]=this[Xn],n[Ot][ir]=this[Ot][ir],n[Ot][qe]=this[Ot][qe],n[Ot][A]=this[Ot][A];for(let e of n[Ot][A].values())e[Ze]=n;this[Kn](),this[j]=[],this[Yn]=[],this[ve]=null,this[ye]=null,this[S]=null,this[it]=null,this[Le]=null,this[at]=null,this[ft]=null,this[Xe]=[],this[We]=null,this[M]=r,this[Xn]=[],this[Ot][ir]=new Map,this[Ot][qe]=new Map,this[Ot][A]=new Map;for(let e of n[j])e[S]=n;let i=n[S][j],a=n[S][Yn];i[i.indexOf(this)]=n,a[a.indexOf(this)]=n;let o=e.customElements[ge],s=o.get(t);if(s&&this.#e){let e=s.indexOf(this.#e);e!==-1&&s.splice(e,1),s.length||o.delete(t),this.#e=null}n[x]&&(n[lt]&&(n[lt][x]=!0),n[Ce]())}},jf=class{element;constructor(e){this.element=e}getOrigin(){try{return new URL(this.getHref()).origin}catch{return``}}getHref(){if(!this.element.hasAttribute(`href`))return``;try{return new URL(this.element.getAttribute(`href`),this.element[g].location.href).href}catch{return this.element.getAttribute(`href`)}}setHref(e){this.element.setAttribute(`href`,e)}getProtocol(){try{return new URL(this.getHref()).protocol}catch{return``}}setProtocol(e){let t;try{t=new URL(this.getHref())}catch{return}t.protocol=e,this.element.setAttribute(`href`,t.href)}getUsername(){try{return new URL(this.getHref()).username}catch{return``}}setUsername(e){let t;try{t=new URL(this.getHref())}catch{return}t.username=e,this.element.setAttribute(`href`,t.href)}getPassword(){try{return new URL(this.getHref()).password}catch{return``}}setPassword(e){let t;try{t=new URL(this.getHref())}catch{return}t.password=e,this.element.setAttribute(`href`,t.href)}getHost(){try{return new URL(this.getHref()).host}catch{return``}}setHost(e){let t;try{t=new URL(this.getHref())}catch{return}t.host=e,this.element.setAttribute(`href`,t.href)}getHostname(){try{return new URL(this.getHref()).hostname}catch{return``}}setHostname(e){let t;try{t=new URL(this.getHref())}catch{return}t.hostname=e,this.element.setAttribute(`href`,t.href)}getPort(){try{return new URL(this.getHref()).port}catch{return``}}setPort(e){let t;try{t=new URL(this.getHref())}catch{return}t.port=e,this.element.setAttribute(`href`,t.href)}getPathname(){try{return new URL(this.getHref()).pathname}catch{return``}}setPathname(e){let t;try{t=new URL(this.getHref())}catch{return}t.pathname=e,this.element.setAttribute(`href`,t.href)}getSearch(){try{return new URL(this.getHref()).search}catch{return``}}setSearch(e){let t;try{t=new URL(this.getHref())}catch{return}t.search=e,this.element.setAttribute(`href`,t.href)}getHash(){let e=this.element.getAttribute(`href`);if(e?.[0]===`#`)return e;let t;try{t=new URL(this.getHref())}catch{return``}return t.hash}setHash(e){let t;try{t=new URL(this.getHref())}catch{return}t.hash=e,this.element.setAttribute(`href`,t.href)}},Mf=class extends Q{[nt]=null;#e=new jf(this);get download(){return this.getAttribute(`download`)||``}set download(e){this.setAttribute(`download`,e)}get hash(){return this.#e.getHash()}set hash(e){this.#e.setHash(e)}get href(){return this.#e.getHref()}set href(e){this.#e.setHref(e)}get hreflang(){return this.getAttribute(`hreflang`)||``}set hreflang(e){this.setAttribute(`hreflang`,e)}get origin(){return this.#e.getOrigin()}get ping(){return this.getAttribute(`ping`)||``}set ping(e){this.setAttribute(`ping`,e)}get protocol(){return this.#e.getProtocol()}set protocol(e){this.#e.setProtocol(e)}get username(){return this.#e.getUsername()}set username(e){this.#e.setUsername(e)}get password(){return this.#e.getPassword()}set password(e){this.#e.setPassword(e)}get pathname(){return this.#e.getPathname()}set pathname(e){this.#e.setPathname(e)}get port(){return this.#e.getPort()}set port(e){this.#e.setPort(e)}get host(){return this.#e.getHost()}set host(e){this.#e.setHost(e)}get hostname(){return this.#e.getHostname()}set hostname(e){this.#e.setHostname(e)}get referrerPolicy(){return this.getAttribute(`referrerPolicy`)||``}set referrerPolicy(e){this.setAttribute(`referrerPolicy`,e)}get rel(){return this.getAttribute(`rel`)||``}set rel(e){this.setAttribute(`rel`,e)}get relList(){return this[nt]||(this[nt]=new kd(N,this,`rel`)),this[nt]}set relList(e){this.setAttribute(`rel`,e)}get search(){return this.#e.getSearch()}set search(e){this.#e.setSearch(e)}get target(){return this.getAttribute(`target`)||``}set target(e){this.setAttribute(`target`,e)}get text(){return this.textContent}set text(e){this.textContent=e}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?0:t}return 0}set tabIndex(e){super.tabIndex=e}toString(){return this.href}dispatchEvent(e){let t=super.dispatchEvent(e);if(!e[Wr]&&e.type===`click`&&e instanceof su&&(e.eventPhase===Es.none||e.eventPhase===Es.bubbling)){let t=this.href;if(t){let n=[];this.relList.contains(`noreferrer`)&&n.push(`noreferrer`),this.relList.contains(`noopener`)&&n.push(`noopener`),this[b].open(t,this.target||`_self`,n.join(`,`)),this[b].closed&&e.stopImmediatePropagation()}}return t}},Nf=class extends Q{[nt]=null;#e=new jf(this);get alt(){return this.getAttribute(`alt`)||``}set alt(e){this.setAttribute(`alt`,e)}get coords(){return this.getAttribute(`coords`)||``}set coords(e){this.setAttribute(`coords`,e)}get shape(){return this.getAttribute(`shape`)||``}set shape(e){this.setAttribute(`shape`,e)}get download(){return this.getAttribute(`download`)||``}set download(e){this.setAttribute(`download`,e)}get referrerPolicy(){return this.getAttribute(`referrerPolicy`)||``}set referrerPolicy(e){this.setAttribute(`referrerPolicy`,e)}get ping(){return this.getAttribute(`ping`)||``}set ping(e){this.setAttribute(`ping`,e)}get rel(){return this.getAttribute(`rel`)||``}set rel(e){this.setAttribute(`rel`,e)}get relList(){return this[nt]||(this[nt]=new kd(N,this,`rel`)),this[nt]}set relList(e){this.setAttribute(`rel`,e)}get target(){return this.getAttribute(`target`)||``}set target(e){this.setAttribute(`target`,e)}get origin(){return this.#e.getOrigin()}get href(){return this.#e.getHref()}set href(e){this.#e.setHref(e)}get protocol(){return this.#e.getProtocol()}set protocol(e){this.#e.setProtocol(e)}get username(){return this.#e.getUsername()}set username(e){this.#e.setUsername(e)}get password(){return this.#e.getPassword()}set password(e){this.#e.setPassword(e)}get host(){return this.#e.getHost()}set host(e){this.#e.setHost(e)}get hostname(){return this.#e.getHostname()}set hostname(e){this.#e.setHostname(e)}get port(){return this.#e.getPort()}set port(e){this.#e.setPort(e)}get pathname(){return this.#e.getPathname()}set pathname(e){this.#e.setPathname(e)}get search(){return this.#e.getSearch()}set search(e){this.#e.setSearch(e)}get hash(){return this.#e.getHash()}set hash(e){this.#e.setHash(e)}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?0:t}return 0}set tabIndex(e){super.tabIndex=e}toString(){return this.href}dispatchEvent(e){let t=super.dispatchEvent(e);if(!e[Wr]&&e[qr]===`click`&&e[Gr]===Es.none&&e instanceof su){let t=this.href;t&&(this[b].open(t,this.target||`_self`),this[b].closed&&e.stopImmediatePropagation())}return t}},Pf=class{constructor(e){if(e!==N)throw TypeError(`Illegal constructor`)}get length(){return 0}get[Symbol.toStringTag](){return`TimeRanges`}toLocaleString(){return`[object TimeRanges]`}toString(){return`[object TimeRanges]`}start(e){return 0}end(e){return 0}},Ff=class extends W{track;constructor(e,t=null){super(e,t),this.track=t?.track??null}},If=class e extends nl{active=!0;id=s.randomUUID();onaddtrack=null;onremovetrack=null;[Rn]=[];constructor(t){if(super(),!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);t!==void 0&&(this[Rn]=t instanceof e?t[Rn].slice():t)}addTrack(e){this[Rn].includes(e)||(this[Rn].push(e),this.dispatchEvent(new Ff(`addtrack`,{track:e})))}clone(){return new this.constructor(this)}getAudioTracks(){return this[Rn].filter(e=>e.kind===`audio`)}getTrackById(e){for(let t of this[Rn])if(t.id===e)return t;return null}getVideoTracks(){return this[Rn].filter(e=>e.kind===`video`)}removeTrack(e){let t=this[Rn].indexOf(e);t!==-1&&(this[Rn].splice(t,1),this.dispatchEvent(new Ff(`removetrack`,{track:e})))}},Lf;(function(e){e.subtitles=`subtitles`,e.captions=`captions`,e.descriptions=`descriptions`,e.chapters=`chapters`,e.metadata=`metadata`})(Lf||={});var Rf=Lf,zf=class extends Q{[tn]=1;[nn]=!0;[rn]=0;[an]=1;[on]=1;[sn]=!1;[cn]=!1;[ln]=!0;[un]=new Pf(N);[dn]=NaN;[fn]=null;[pn]=!1;[mn]=0;[Ht]=0;[gn]=!1;[_n]=new Pf(N);[Ar]=``;[vn]=new Pf(N);[kr]=new this[b].RemotePlayback;[Dr]=null;[Or]=null;[jr]=null;[hn]=[];get onabort(){return Z.getEventListener(this,`onabort`)}set onabort(e){this[V].set(`onabort`,e)}get oncanplay(){return Z.getEventListener(this,`oncanplay`)}set oncanplay(e){this[V].set(`oncanplay`,e)}get oncanplaythrough(){return Z.getEventListener(this,`oncanplaythrough`)}set oncanplaythrough(e){this[V].set(`oncanplaythrough`,e)}get ondurationchange(){return Z.getEventListener(this,`ondurationchange`)}set ondurationchange(e){this[V].set(`ondurationchange`,e)}get onemptied(){return Z.getEventListener(this,`onemptied`)}set onemptied(e){this[V].set(`onemptied`,e)}get onended(){return Z.getEventListener(this,`onended`)}set onended(e){this[V].set(`onended`,e)}get onloadeddata(){return Z.getEventListener(this,`onloadeddata`)}set onloadeddata(e){this[V].set(`onloadeddata`,e)}get onloadedmetadata(){return Z.getEventListener(this,`onloadedmetadata`)}set onloadedmetadata(e){this[V].set(`onloadedmetadata`,e)}get onloadstart(){return Z.getEventListener(this,`onloadstart`)}set onloadstart(e){this[V].set(`onloadstart`,e)}get onpause(){return Z.getEventListener(this,`onpause`)}set onpause(e){this[V].set(`onpause`,e)}get onplay(){return Z.getEventListener(this,`onplay`)}set onplay(e){this[V].set(`onplay`,e)}get onplaying(){return Z.getEventListener(this,`onplaying`)}set onplaying(e){this[V].set(`onplaying`,e)}get onprogress(){return Z.getEventListener(this,`onprogress`)}set onprogress(e){this[V].set(`onprogress`,e)}get onratechange(){return Z.getEventListener(this,`onratechange`)}set onratechange(e){this[V].set(`onratechange`,e)}get onresize(){return Z.getEventListener(this,`onresize`)}set onresize(e){this[V].set(`onresize`,e)}get onseeked(){return Z.getEventListener(this,`onseeked`)}set onseeked(e){this[V].set(`onseeked`,e)}get onseeking(){return Z.getEventListener(this,`onseeking`)}set onseeking(e){this[V].set(`onseeking`,e)}get onstalled(){return Z.getEventListener(this,`onstalled`)}set onstalled(e){this[V].set(`onstalled`,e)}get onsuspend(){return Z.getEventListener(this,`onsuspend`)}set onsuspend(e){this[V].set(`onsuspend`,e)}get ontimeupdate(){return Z.getEventListener(this,`ontimeupdate`)}set ontimeupdate(e){this[V].set(`ontimeupdate`,e)}get onvolumechange(){return Z.getEventListener(this,`onvolumechange`)}set onvolumechange(e){this[V].set(`onvolumechange`,e)}get onwaiting(){return Z.getEventListener(this,`onwaiting`)}set onwaiting(e){this[V].set(`onwaiting`,e)}get buffered(){return this[un]}get duration(){return this[dn]}get error(){return this[fn]}get ended(){return this[pn]}get networkState(){return this[mn]}get readyState(){return this[Ht]}get remote(){return this[kr]}get seeking(){return this[gn]}get seekable(){return this[_n]}get sinkId(){return this[Ar]}get played(){return this[vn]}get autoplay(){return this.getAttribute(`autoplay`)!==null}set autoplay(e){e?this.setAttribute(`autoplay`,``):this.removeAttribute(`autoplay`)}get controls(){return this.getAttribute(`controls`)!==null}set controls(e){e?this.setAttribute(`controls`,``):this.removeAttribute(`controls`)}get loop(){return this.getAttribute(`loop`)!==null}set loop(e){e?this.setAttribute(`loop`,``):this.removeAttribute(`loop`)}get preload(){return this.getAttribute(`preload`)||`auto`}set preload(e){this.setAttribute(`preload`,e)}get src(){if(!this.hasAttribute(`src`))return``;try{return new URL(this.getAttribute(`src`),this[g].location.href).href}catch{return this.getAttribute(`src`)}}set src(e){this.setAttribute(`src`,e),e&&(this.dispatchEvent(new W(`canplay`,{bubbles:!1,cancelable:!1})),this.dispatchEvent(new W(`durationchange`,{bubbles:!1,cancelable:!1})))}get controlsList(){return this[Dr]===null&&(this[Dr]=new kd(N,this,`controlslist`)),this[Dr]}set controlsList(e){this.setAttribute(`controlslist`,e)}get mediaKeys(){return this[Or]}get muted(){return this[sn]?this[sn]:this[cn]?!1:this.getAttribute(`muted`)!==null}set muted(e){this[sn]=!!e,!e&&!this[cn]?this.removeAttribute(`muted`):this.setAttribute(`muted`,``)}get defaultMuted(){return this[cn]}set defaultMuted(e){this[cn]=!!e,!this[cn]&&!this[sn]?this.removeAttribute(`muted`):this.setAttribute(`muted`,``)}get disableRemotePlayback(){return this.getAttribute(`disableremoteplayback`)!==null}set disableRemotePlayback(e){e?this.setAttribute(`disableremoteplayback`,``):this.removeAttribute(`disableremoteplayback`)}get srcObject(){return this[jr]}set srcObject(e){if(e!==null&&!(e instanceof If))throw new this[b].TypeError(`Failed to set the 'srcObject' property on 'HTMLMediaElement': The provided value is not of type 'MediaStream'.`);this[jr]=e}get textTracks(){let e=[];for(let t of this[hn])e.push(t);for(let t of this.querySelectorAll(`track`)[A])e.push(t.track);return new this[b].TextTrackList(N,e)}get currentSrc(){let e=this.src;if(e)return e;let t=this.querySelector(`source`);return t?t.src:``}get volume(){return this[tn]}set volume(e){let t=Number(e);if(isNaN(t))throw new this[b].TypeError(`Failed to set the 'volume' property on 'HTMLMediaElement': The provided double value is non-finite.`);if(t<0||t>1)throw new this[b].DOMException(`Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (${t}) is outside the range [0, 1].`,H.indexSizeError);this[tn]=t}get crossOrigin(){let e=this.getAttribute(`crossorigin`);return e===`use-credentials`?`use-credentials`:e===null?null:`anonymous`}set crossOrigin(e){this.setAttribute(`crossorigin`,e)}get currentTime(){return this[rn]}set currentTime(e){let t=Number(e);if(isNaN(t))throw new this[b].TypeError(`Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.`);this[rn]=t}get playbackRate(){return this[an]}set playbackRate(e){let t=Number(e);if(isNaN(t))throw new this[b].TypeError(`Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided double value is non-finite.`);this[an]=t}get defaultPlaybackRate(){return this[on]}set defaultPlaybackRate(e){let t=Number(e);if(isNaN(t))throw new this[b].TypeError(`Failed to set the 'defaultPlaybackRate' property on 'HTMLMediaElement': The provided double value is non-finite.`);this[on]=t}get preservesPitch(){return this[ln]}set preservesPitch(e){this[ln]=!!e}get paused(){return this[nn]}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?0:t}return 0}set tabIndex(e){super.tabIndex=e}addTextTrack(e,t,n){let r=this[b];if(arguments.length===0)throw new r.TypeError(`Failed to execute 'addTextTrack' on 'HTMLMediaElement': 1 argument required, but only 0 present.`);if(!Rf[e])throw new r.TypeError(`Failed to execute 'addTextTrack' on 'HTMLMediaElement': The provided value '${e}' is not a valid enum value of type TextTrackKind.`);let i=new r.TextTrack(N);return i[Pr]=e,i[Fr]=t||``,i[Ir]=n||``,this[hn].push(i),i}pause(){this[nn]||(this[nn]=!0,this.dispatchEvent(new W(`pause`,{bubbles:!1,cancelable:!1})))}async play(){this[nn]&&(this[nn]=!1,this.dispatchEvent(new W(`play`,{bubbles:!1,cancelable:!1})),this.dispatchEvent(new W(`playing`,{bubbles:!1,cancelable:!1})))}canPlayType(e){return``}fastSeek(e){}load(){this.dispatchEvent(new W(`emptied`,{bubbles:!1,cancelable:!1}))}async setMediaKeys(e){this[Or]=e}async setSinkId(e){this[Ar]=e}captureStream(){return new this[b].MediaStream}[Nn](e=!1){return super[Nn](e)}},Bf=class extends zf{},Vf=class extends Q{get href(){if(!this.hasAttribute(`href`))return this[g].location.href;try{return new URL(this.getAttribute(`href`),this[g].location.href).href}catch{return this.getAttribute(`href`)}}set href(e){this.setAttribute(`href`,e)}get target(){return this.getAttribute(`target`)||``}set target(e){this.setAttribute(`target`,e)}[Nn](e=!1){return super[Nn](e)}},Hf=class extends Q{get onafterprint(){return Z.getEventListener(this,`onafterprint`)}set onafterprint(e){this[V].set(`onafterprint`,e)}get onbeforeprint(){return Z.getEventListener(this,`onbeforeprint`)}set onbeforeprint(e){this[V].set(`onbeforeprint`,e)}get onbeforeunload(){return Z.getEventListener(this,`onbeforeunload`)}set onbeforeunload(e){this[V].set(`onbeforeunload`,e)}get ongamepadconnected(){return Z.getEventListener(this,`ongamepadconnected`)}set ongamepadconnected(e){this[V].set(`ongamepadconnected`,e)}get ongamepaddisconnected(){return Z.getEventListener(this,`ongamepaddisconnected`)}set ongamepaddisconnected(e){this[V].set(`ongamepaddisconnected`,e)}get onhashchange(){return Z.getEventListener(this,`onhashchange`)}set onhashchange(e){this[V].set(`onhashchange`,e)}get onlanguagechange(){return Z.getEventListener(this,`onlanguagechange`)}set onlanguagechange(e){this[V].set(`onlanguagechange`,e)}get onmessage(){return Z.getEventListener(this,`onmessage`)}set onmessage(e){this[V].set(`onmessage`,e)}get onmessageerror(){return Z.getEventListener(this,`onmessageerror`)}set onmessageerror(e){this[V].set(`onmessageerror`,e)}get onoffline(){return Z.getEventListener(this,`onoffline`)}set onoffline(e){this[V].set(`onoffline`,e)}get ononline(){return Z.getEventListener(this,`ononline`)}set ononline(e){this[V].set(`ononline`,e)}get onpagehide(){return Z.getEventListener(this,`onpagehide`)}set onpagehide(e){this[V].set(`onpagehide`,e)}get onpageshow(){return Z.getEventListener(this,`onpageshow`)}set onpageshow(e){this[V].set(`onpageshow`,e)}get onpopstate(){return Z.getEventListener(this,`onpopstate`)}set onpopstate(e){this[V].set(`onpopstate`,e)}get onrejectionhandled(){return Z.getEventListener(this,`onrejectionhandled`)}set onrejectionhandled(e){this[V].set(`onrejectionhandled`,e)}get onstorage(){return Z.getEventListener(this,`onstorage`)}set onstorage(e){this[V].set(`onstorage`,e)}get onunhandledrejection(){return Z.getEventListener(this,`onunhandledrejection`)}set onunhandledrejection(e){this[V].set(`onunhandledrejection`,e)}get onunload(){return Z.getEventListener(this,`onunload`)}set onunload(e){this[V].set(`onunload`,e)}},Uf=class extends Q{};const Wf=/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/,Gf=/^(?:(?:https?|HTTPS?|ftp|FTP):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-zA-Z\u00a1-\uffff0-9]-*)*[a-zA-Z\u00a1-\uffff0-9]+)(?:\.(?:[a-zA-Z\u00a1-\uffff0-9]-*)*[a-zA-Z\u00a1-\uffff0-9]+)*)(?::\d{2,5})?(?:[\/?#]\S*)?$/;var Kf=class{element;constructor(e){this.element=e}get badInput(){return this.element[k]===`input`&&(this.element.type===`number`||this.element.type===`range`)&&this.element.value.length>0&&!/^[-+]?(?:\d+|\d*[.,]\d+)$/.test(this.element.value)}get customError(){return this.element[Gt].length>0}get patternMismatch(){return this.element[k]===`input`&&this.element.hasAttribute(`pattern`)&&this.element.value.length>0&&this.element.value.replace(new RegExp(this.element.getAttribute(`pattern`)),``).length>0}get rangeOverflow(){return this.element[k]===`input`&&this.element.hasAttribute(`max`)&&(this.element.type===`number`||this.element.type===`range`)&&this.element.value.length>0&&Number(this.element.value)>Number(this.element.getAttribute(`max`))}get rangeUnderflow(){return this.element[k]===`input`&&this.element.hasAttribute(`min`)&&(this.element.type===`number`||this.element.type===`range`)&&this.element.value.length>0&&Number(this.element.value)<Number(this.element.getAttribute(`min`))}get stepMismatch(){return this.element[k]===`input`&&(this.element.type===`number`||this.element.type===`range`)&&(this.element.hasAttribute(`step`)&&this.element.getAttribute(`step`)!==`any`&&Number(this.element.value)%Number(this.element.getAttribute(`step`))!==0||!this.element.hasAttribute(`step`)&&Number(this.element.value)%1!=0)}get tooLong(){return(this.element[k]===`input`||this.element[k]===`textarea`)&&this.element.maxLength>0&&this.element.value.length>this.element.maxLength}get tooShort(){return(this.element[k]===`input`||this.element[k]===`textarea`)&&this.element.minLength>0&&this.element.value.length>0&&this.element.value.length<this.element.minLength}get typeMismatch(){return this.element[k]===`input`&&this.element.value.length>0&&(this.element.type===`email`&&!Wf.test(this.element.value)||this.element.type===`url`&&!Gf.test(this.element.value))}get valueMissing(){if(!this.element.required||this.element[k]===`object`||this.element[k]===`output`)return!1;if(this.element[k]===`input`){if(this.element.type===`checkbox`)return!this.element.checked;if(this.element.type===`radio`){if(this.element.checked)return!1;if(!this.element.name)return!0;let e=this.element[Le]||this.element.getRootNode();return!e||!e.querySelector(`input[name="${this.element.name}"]:checked`)}}return this.element.value.length===0}get valid(){return!this.badInput&&!this.customError&&!this.patternMismatch&&!this.rangeOverflow&&!this.rangeUnderflow&&!this.stepMismatch&&!this.tooLong&&!this.tooShort&&!this.typeMismatch&&!this.valueMissing}},qf=class{static getAssociatedLabelElements(e){let t=e.id,n;n=t&&e[x]?(e[it]||e[g]).querySelectorAll(`label[for="${t}"]`)[A]:[];let r=e[S];for(;r;){if(r.tagName===`LABEL`){n.push(r);break}r=r[S]}return new Vc(N,n)}};const Jf=[`submit`,`reset`,`button`,`menu`];var Yf=class extends Q{[Gt]=``;[Kt]=new Kf(this);[Le]=null;[Br]=null;get validationMessage(){return this[Gt]}get validity(){return this[Kt]}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get value(){return this.getAttribute(`value`)||``}set value(e){this.setAttribute(`value`,e)}get disabled(){return this.getAttribute(`disabled`)!==null}set disabled(e){e?this.setAttribute(`disabled`,``):this.removeAttribute(`disabled`)}get type(){let e=this.getAttribute(`type`);return e===null||!Jf.includes(e)?`submit`:e}set type(e){this.setAttribute(`type`,e)}get formAction(){if(!this.hasAttribute(`formaction`))return this[g].location.href;try{return new p(this.getAttribute(`formaction`),this[g].location.href).href}catch{return``}}set formAction(e){this.setAttribute(`formaction`,e)}get formEnctype(){return this.getAttribute(`formenctype`)||``}set formEnctype(e){this.setAttribute(`formenctype`,e)}get formMethod(){return this.getAttribute(`formmethod`)||``}set formMethod(e){this.setAttribute(`formmethod`,e)}get formNoValidate(){return this.getAttribute(`formnovalidate`)!==null}set formNoValidate(e){e?this.setAttribute(`formnovalidate`,``):this.removeAttribute(`formnovalidate`)}get formTarget(){return this.getAttribute(`formtarget`)||``}set formTarget(e){this.setAttribute(`formtarget`,e)}get form(){if(this[Le])return this[Le];let e=this.getAttribute(`form`);return!e||!this[x]?null:this[g].getElementById(e)}get labels(){return qf.getAssociatedLabelElements(this)}get popoverTargetElement(){return this[Br]}set popoverTargetElement(e){if(e!==null&&!(e instanceof Q))throw new this[b].TypeError(`Failed to set the 'popoverTargetElement' property on 'HTMLInputElement': Failed to convert value to 'Element'.`);this[Br]=e}get popoverTargetAction(){let e=this.getAttribute(`popovertargetaction`);return e===null||e!==`hide`&&e!==`show`&&e!==`toggle`?`toggle`:e}set popoverTargetAction(e){this.setAttribute(`popovertargetaction`,e)}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?0:t}return 0}set tabIndex(e){super.tabIndex=e}checkValidity(){let e=this.disabled||this.type===`reset`||this.type===`button`||this[Kt].valid;return e||this.dispatchEvent(new W(`invalid`,{bubbles:!0,cancelable:!0})),e}reportValidity(){return this.checkValidity()}setCustomValidity(e){this[Gt]=String(e)}dispatchEvent(e){if(e.type===`click`&&e instanceof su&&e.eventPhase===Es.none&&this.disabled)return!1;let t=super.dispatchEvent(e);if(!e[Wr]&&e.type===`click`&&e.eventPhase===Es.none&&e instanceof su){let e=this.type;if(e===`submit`||e===`reset`){let t=this.form;t&&(e===`submit`&&this[x]?t.requestSubmit(this):e===`reset`&&t.reset())}}return t}},Xf=class{[os]=null;width;height;constructor(e,t){this.width=e,this.height=t}getContext(e,t){let n=new Y(this[b]).getBrowserFrame();if(!n)throw new this[b].Error(`Failed to execute 'getContext' on 'OffscreenCanvas': Browser frame is not available. This happens when the browser is closing.`);let r=new Y(this[b]).getSettings()?.canvasAdapter;return r?(this[os]=r.getContext({window:this[b],browserFrame:n,canvas:this},e,t),this[os]):null}convertToBlob(e){let t=new Y(this[b]).getBrowserFrame();if(!t)throw new this[b].Error(`Failed to execute 'getContext' on 'OffscreenCanvas': Browser frame is not available. This happens when the browser is closing.`);let n=new Y(this[b]).getSettings()?.canvasAdapter;return n?new Promise((r,i)=>{n.toBlob({window:this[b],browserFrame:t,canvas:this},e=>{e?r(e):i(new this[b].DOMException(`Failed to execute 'convertToBlob' on 'OffscreenCanvas': The canvas could not be converted to a Blob.`,H.encodingError))},e?.type,e?.quality)}):new Promise(t=>{this[b].requestAnimationFrame(()=>t(new Rs([],e)))})}transferToImageBitmap(){if(!new Y(this[b]).getBrowserFrame())throw new this[b].Error(`Failed to execute 'getContext' on 'OffscreenCanvas': Browser frame is not available. This happens when the browser is closing.`);let e=this[b];if(!new Y(e).getSettings()?.canvasAdapter)return new e.ImageBitmap(N,this[b],this);let t=this[os];if(!t)throw new this[b].TypeError(`Failed to execute 'transferToImageBitmap' on 'OffscreenCanvas': Cannot transfer an ImageBitmap from an OffscreenCanvas with no context`);let n=new e.ImageBitmap(N,this[b],this);return t.clearRect(0,0,this.width,this.height),n}};const Zf=`S3F/aBCdEfGHIjKlMnOpQRStUvWxYz1234567890+1AbC2DEf2GHi3jK34le+ab12C3+1aBCdEf==`;var Qf;(function(e){e.none=`none`,e.context=`context`,e.offscreen=`offscreen`})(Qf||={});var $f=class extends Q{#e=Qf.none;#t=null;get oncontextlost(){return Z.getEventListener(this,`oncontextlost`)}set oncontextlost(e){this[V].set(`oncontextlost`,e)}get oncontextrestored(){return Z.getEventListener(this,`oncontextrestored`)}set oncontextrestored(e){this[V].set(`oncontextrestored`,e)}get onwebglcontextcreationerror(){return Z.getEventListener(this,`onwebglcontextcreationerror`)}set onwebglcontextcreationerror(e){this[V].set(`onwebglcontextcreationerror`,e)}get onwebglcontextlost(){return Z.getEventListener(this,`onwebglcontextlost`)}set onwebglcontextlost(e){this[V].set(`onwebglcontextlost`,e)}get onwebglcontextrestored(){return Z.getEventListener(this,`onwebglcontextrestored`)}set onwebglcontextrestored(e){this[V].set(`onwebglcontextrestored`,e)}get width(){let e=this.getAttribute(`width`);if(e===null)return 300;let t=parseInt(e,10);return isNaN(t)?300:t}set width(e){this.setAttribute(`width`,String(e))}get height(){let e=this.getAttribute(`height`);if(e===null)return 150;let t=parseInt(e,10);return isNaN(t)?150:t}set height(e){this.setAttribute(`height`,String(e))}captureStream(e){let t=new this[b].MediaStream,n=new this[b].CanvasCaptureMediaStreamTrack(N,this);return n[Pr]=`video`,n[Bn].deviceId=Zf,n[Bn].aspectRatio.max=this.width,n[Bn].height.max=this.height,n[Bn].width.max=this.width,n[Vn].deviceId=Zf,e!==void 0&&(n[Bn].frameRate.max=e,n[Vn].frameRate=e),t.addTrack(n),t}getContext(e,t){if(this.#e===Qf.offscreen)throw new this[b].DOMException(`Failed to execute 'getContext' on 'HTMLCanvasElement': Cannot get context from a canvas that has transferred its control to offscreen.`,H.invalidStateError);this.#e=Qf.context;let n=new Y(this[b]).getBrowserFrame();if(!n)throw new this[b].Error(`Failed to execute 'getContext' on 'HTMLCanvasElement': Browser frame is not available. This happens when the browser is closing.`);let r=new Y(this[b]).getSettings()?.canvasAdapter;return r?r.getContext({browserFrame:n,window:this[b],canvas:this},e,t):null}toDataURL(e,t){let n=new Y(this[b]).getBrowserFrame();if(!n)throw new this[b].Error(`Failed to execute 'toDataURL' on 'HTMLCanvasElement': Browser frame is not available. This happens when the browser is closing.`);let r=new Y(this[b]).getSettings()?.canvasAdapter;return r?this.#t?r.toDataURL({browserFrame:n,window:this[b],canvas:this.#t},e,t):r.toDataURL({browserFrame:n,window:this[b],canvas:this},e,t):`data:${e||`image/png`};base64,${Buffer.from([]).toString(`base64`)}`}toBlob(e,t,n){let r=new Y(this[b]).getBrowserFrame();if(!r)throw new this[b].Error(`Failed to execute 'toBlob' on 'HTMLCanvasElement': Browser frame is not available. This happens when the browser is closing.`);let i=new Y(this[b]).getSettings()?.canvasAdapter;if(!i){this[b].requestAnimationFrame(()=>e(new Rs([],{type:t||`image/png`})));return}if(this.#t){i.toBlob({browserFrame:r,window:this[b],canvas:this.#t},e,t,n);return}i.toBlob({browserFrame:r,window:this[b],canvas:this},e,t,n)}transferControlToOffscreen(){if(this.#e===Qf.context)throw new this[b].DOMException(`Failed to execute 'transferControlToOffscreen' on 'HTMLCanvasElement': Cannot transfer control from a canvas that has a rendering context.`,H.invalidStateError);if(this.#e===Qf.offscreen)throw new this[b].DOMException(`Failed to execute 'transferControlToOffscreen' on 'HTMLCanvasElement': Cannot transfer control from a canvas for more than one time.`,H.invalidStateError);return this.#e=Qf.offscreen,this.#t=new Xf(this.width,this.height),this.#t}},ep=class extends Q{},tp=class extends Q{get value(){return this.getAttribute(`value`)||``}set value(e){this.setAttribute(`value`,e)}},np=class extends Q{[yn]=null;get options(){return this[yn]||(this[yn]=jd.getElementsByTagName(this,`OPTION`)),this[yn]}},rp=class extends Q{get ontoggle(){return Z.getEventListener(this,`ontoggle`)}set ontoggle(e){this[V].set(`ontoggle`,e)}get open(){return this.getAttribute(`open`)!==null}set open(e){e?this.setAttribute(`open`,``):this.removeAttribute(`open`)}[qn](e,t){super[qn](e,t),e[E]===`open`&&e[v]!==t?.[v]&&this.dispatchEvent(new W(`toggle`))}[Jn](e){super[Jn](e),e&&e[E]===`open`&&this.dispatchEvent(new W(`toggle`))}dispatchEvent(e){let t=super.dispatchEvent(e);if(!e[Wr]&&e.type===`click`&&e.eventPhase===Es.bubbling&&e instanceof su){let t=e[dt];if(t)if(t[k]===`summary`&&t[S]===this)this.open=!this.open;else{let e=t;for(let t of this[Yn])if(t[k]===`summary`){e=t;break}e&&e.contains(t)&&(this.open=!this.open)}}return t}},ip=class extends Q{[qt]=``;get oncancel(){return Z.getEventListener(this,`oncancel`)}set oncancel(e){this[V].set(`oncancel`,e)}get onclose(){return Z.getEventListener(this,`onclose`)}set onclose(e){this[V].set(`onclose`,e)}get returnValue(){return this[qt]}set returnValue(e){this[qt]=String(e)}set open(e){e?this.setAttribute(`open`,``):this.removeAttribute(`open`)}get open(){return this.getAttribute(`open`)!==null}close(e){let t=this.open;this.removeAttribute(`open`),this.returnValue=e===void 0?``:String(e),t&&this.dispatchEvent(new W(`close`))}showModal(){this.setAttribute(`open`,``)}show(){this.setAttribute(`open`,``)}},ap=class extends Q{},op=class extends Q{get height(){return this.getAttribute(`height`)||``}set height(e){this.setAttribute(`height`,e)}get width(){return this.getAttribute(`width`)||``}set width(e){this.setAttribute(`width`,e)}get src(){if(!this.hasAttribute(`src`))return``;try{return new URL(this.getAttribute(`src`),this[g].location.href).href}catch{return this.getAttribute(`src`)}}set src(e){this.setAttribute(`src`,e)}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}},sp=class extends Q{[Jt]=null;[Le]=null;get elements(){return this[Jt]||(this[Jt]=new Ad(N,()=>J.querySelectorAll(this,`input,button,textarea,select`)[A])),this[Jt]}get form(){if(this[Le])return this[Le];let e=this.getAttribute(`form`);return!e||!this[x]?null:this[g].getElementById(e)}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get type(){return`fieldset`}get validationMessage(){return``}get willValidate(){return!1}get disabled(){return this.getAttribute(`disabled`)!==null}set disabled(e){e?this.setAttribute(`disabled`,``):this.removeAttribute(`disabled`)}checkValidity(){return!0}reportValidity(){return!0}setCustomValidity(e){}},cp=class extends Ad{constructor(e,t){super(e,()=>t[tr]()),this[Ze]=t}namedItem(e){return this[Ze][nr](e)}},lp=class{static createChildFrame(e){let t=new e.constructor(e.page);return t.parentFrame=e,e.childFrames.push(t),t}static destroyFrame(e){let t=e.page.context.browser[Ie];return e.closed?Promise.resolve():(e.closed=!0,new Promise((n,r)=>{if(!e.window){n();return}if(e.parentFrame){let t=e.parentFrame.childFrames.indexOf(e);t!==-1&&e.parentFrame.childFrames.splice(t,1)}if(!e.childFrames.length){e[fe].destroy().then(()=>{t&&e.window&&t.disconnect(e.window),e.window={closed:!0},e[yt]=null,e[bt]=null,e[Ke]&&(e[Ke].navigation=[]),n()}).catch(e=>r(e)),e.window&&e.window[Me]();return}Promise.all(e.childFrames.slice().map(e=>this.destroyFrame(e))).then(()=>{e[fe].destroy().then(()=>{t&&e.window&&t.disconnect(e.window),e.window={closed:!0},e[yt]=null,e[bt]=null,e[Ke]&&(e[Ke].navigation=[]),n()}).catch(e=>r(e)),e.window&&e.window[Me]()}).catch(e=>r(e))}))}},up;(function(e){e.anyOrigin=`anyOrigin`,e.sameOrigin=`sameOrigin`,e.strictOrigin=`strictOrigin`})(up||={});var dp=up,fp=class{static validateCrossOriginPolicy(e,t){let n=e.page.context.browser.settings,r=e.page.mainFrame.window.location;return e[yt]?r=e[yt].window.location:e.parentFrame&&(r=e.parentFrame.window.location),!(n.navigation.crossOriginPolicy===dp.sameOrigin&&r.protocol!==`about:`&&t.protocol!==`about:`&&t.protocol!==`javascript:`&&r.origin!==t.origin||n.navigation.crossOriginPolicy===dp.strictOrigin&&r.protocol===`https:`&&t.protocol===`http:`)}static validateFrameNavigation(e){let t=e.page.context.browser.settings;return!(e.page.context.browser.windowClass&&e.page.context===e.page.context.browser.defaultContext&&e.page.context.pages[0]===e.page&&e.page.mainFrame===e||t.navigation.disableMainFrameNavigation&&e.page.mainFrame===e||t.navigation.disableChildFrameNavigation&&e.page.mainFrame!==e||t.navigation.disableChildPageNavigation&&e[yt])}},pp=class e{static async navigate(e){let{windowClass:t,frame:n,url:r,formData:i,method:a,goToOptions:o,disableHistory:s}=e,c=n.page.context.browser[Ie],l=o?.referrer||n.window.location.origin,u=Xu.getRelativeURL(n,r),d=new URL(u.href.split(`#`)[0]),f=new URL(n.url.split(`#`)[0]),p=()=>{let e=n[Ke].navigation;n[Ke].navigation=[];for(let t of e)t()};if(!n.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);if(d.href===f.href&&u.hash&&u.hash!==n.window?.location.hash){let e=n[Dn];return s||(e.currentItem.popState=!0,e.push({title:``,href:u.href,state:null,popState:!0,scrollRestoration:Yu.manual,method:a||(i?`POST`:`GET`),formData:i||null})),n.window.location[Cn](n,u.href),null}if(u.protocol===`javascript:`){if(n&&n.page.context.browser.settings.enableJavaScriptEvaluation){let e=n.window[$e],t=n[fe],r=e.startTask(),i=u.href.replace(`javascript:`,``);await new Promise(e=>{n.window.requestAnimationFrame(()=>{let r=setImmediate(()=>{t.endTask(a),e(null)}),a=t.startTask(()=>()=>{clearImmediate(r),e(null)});n.window[Fe](i,{filename:n.url})})}),e.endTask(r),p()}return null}if(!fp.validateCrossOriginPolicy(n,u))return null;if(!fp.validateFrameNavigation(n))return n.page.context.browser.settings.navigation.disableFallbackToSetURL||n.window.location[Cn](n,u.href),null;s||n[Dn].push({title:``,href:u.href,state:null,popState:!1,scrollRestoration:Yu.auto,method:a||(i?`POST`:`GET`),formData:i||null});let ee=n.window,te=n[fe],ne=ee.innerWidth,re=ee.innerHeight,ie=ee.devicePixelRatio,ae=n.parentFrame?n.parentFrame.window:n.page.mainFrame.window,oe=n.page.mainFrame.window;n[fe]=new Ns(n),n.window=new t(n,{url:u.href,width:ne,height:re}),n.window[dr]=ae,n.window[fr]=oe,n.window.devicePixelRatio=ie,c&&c.observe(n.window),l&&(n.window.document[et]=l);let se=n[fe].startTask(),ce=()=>{te.destroy().then(()=>{c&&c.disconnect(ee),n[fe].endTask(se)}),ee[Me]()};if(n.childFrames.length?Promise.all(n.childFrames.map(e=>lp.destroyFrame(e))).then(ce):ce(),u.protocol===`about:`)return o?.beforeContentCallback&&o.beforeContentCallback(n.window),n.page.context.browser.settings.navigation.beforeContentCallback&&n.page.context.browser.settings.navigation.beforeContentCallback(n.window),await new Promise(e=>n.page.mainFrame.window.requestAnimationFrame(e)),p(),null;let le=n.window[$e],ue=n[fe],de=new n.window.AbortController,pe=setTimeout(()=>{ue.endTimer(pe),de.abort(new n.window.DOMException(`The operation was aborted. Request timed out.`,H.timeoutError))},o?.timeout??3e4);ue.startTimer(pe);let me=le.startTask(),he=()=>{clearTimeout(pe),ue.endTimer(pe),le.endTask(me),p()},ge=new n.window.Headers(o?.headers),_e,ve;o?.hard&&ge.set(`Cache-Control`,`no-cache`);let ye=new qu({browserFrame:n,window:n.window,url:u.href,disableSameOriginPolicy:!0,init:{referrer:l,referrerPolicy:o?.referrerPolicy||`origin`,signal:de.signal,method:a||(i?`POST`:`GET`),headers:ge,body:i}});try{if(_e=await ye.send(),n.parentFrame){let e=n.parentFrame.window.location,t=_e.headers?.get(`X-Frame-Options`)?.toLowerCase(),i=e.origin===u.origin||u.origin===`null`;if(t===`deny`||t===`sameorigin`&&!i)throw Error(`Refused to display '${r}' in a frame because it set 'X-Frame-Options' to '${t}'.`)}ve=await _e.text()}catch(e){throw he(),e}return n.window?(_e.url&&n.window[En][Cn](n,_e.url),_e.ok||n.page.console.error(`GET ${u.href} ${_e.status} (${_e.statusText})`),o?.beforeContentCallback&&o.beforeContentCallback(n.window),n.page.context.browser.settings.navigation.beforeContentCallback&&n.page.context.browser.settings.navigation.beforeContentCallback(n.window),await new Promise(e=>{n.window.requestAnimationFrame(()=>{let t,r=ue.startTask(()=>()=>{clearImmediate(t),e(null)});t=setImmediate(()=>{ue.endTask(r),e(null)}),n.content=ve})}),he(),_e):null}static navigateBack(t){let{windowClass:n,frame:r,goToOptions:i}=t,a=r[Dn],o=a.items[a.items.indexOf(a.currentItem)-1];if(!o)return new Promise(e=>{r.window.requestAnimationFrame(()=>{let t=r[Ke].navigation;r[Ke].navigation=[];for(let e of t)e();e(null)})});let s=new URL(a.currentItem.href).origin,c=new URL(o.href).origin;return a.currentItem=o,!o.popState||s!==c?e.navigate({windowClass:n,frame:r,goToOptions:{...i,referrer:r.url},url:o.href,method:o.method,formData:o.formData,disableHistory:!0}):(r.window.location[Cn](r,o.href),r.window.dispatchEvent(new r.window.PopStateEvent(`popstate`,{state:o.state,hasUAVisualTransition:!1})),Promise.resolve(null))}static navigateForward(t){let{windowClass:n,frame:r,goToOptions:i}=t,a=r[Dn],o=a.items[a.items.indexOf(a.currentItem)+1];if(!o)return new Promise(e=>{r.window.requestAnimationFrame(()=>{let t=r[Ke].navigation;r[Ke].navigation=[];for(let e of t)e();e(null)})});let s=new URL(a.currentItem.href).origin,c=new URL(o.href).origin;return a.currentItem=o,!o.popState||s!==c?e.navigate({windowClass:n,frame:r,goToOptions:{...i,referrer:r.url},url:o.href,method:o.method,formData:o.formData,disableHistory:!0}):(r.window.location[Cn](r,o.href),r.window.dispatchEvent(new r.window.PopStateEvent(`popstate`,{state:o.state,hasUAVisualTransition:!1})),Promise.resolve(null))}static navigateSteps(t){if(!t.steps)return this.reload(t);let{windowClass:n,frame:r,goToOptions:i,steps:a}=t,o=r[Dn],s=o.items.indexOf(o.currentItem),c=s+a,l=o.items[c];if(!l)return new Promise(e=>{r.window.requestAnimationFrame(()=>{let t=r[Ke].navigation;r[Ke].navigation=[];for(let e of t)e();e(null)})});let u=new URL(o.currentItem.href).origin,d=!0;if(a<0){for(let e=s;e>c;e--)if(!o.items[e].popState||u!==new URL(o.items[e].href).origin){d=!1;break}}else for(let e=s;e<c;e++)if(!o.items[e].popState||u!==new URL(o.items[e].href).origin){d=!1;break}return o.currentItem=l,d?(r.window.location[Cn](r,l.href),r.window.dispatchEvent(new r.window.PopStateEvent(`popstate`,{state:l.state,hasUAVisualTransition:!1})),Promise.resolve(null)):e.navigate({windowClass:n,frame:r,goToOptions:{...i,referrer:r.url},url:l.href,method:l.method,formData:l.formData,disableHistory:!0})}static reload(t){let{windowClass:n,frame:r,goToOptions:i}=t,a=r[Dn];return e.navigate({windowClass:n,frame:r,goToOptions:{...i,referrer:r.url},url:a.currentItem.href,method:a.currentItem.method,formData:a.currentItem.formData,disableHistory:!0})}},mp=class extends Vc{get value(){for(let e of this[A])if(e.checked)return e.value;return null}},hp=class e extends Q{[Jt]=null;[ar];constructor(){super();let t=new Bc(this,[e,Q,Df,gd,nl]),n=new Proxy(this,{get:(e,n)=>{if(n===`length`)return e[tr]().length;if(n in e||typeof n==`symbol`)return t.bind(n),e[n];let r=Number(n);return isNaN(r)?e[nr](n)||void 0:e[tr]()[r]},set(e,n,r){if(t.bind(n),typeof n==`symbol`)return e[n]=r,!0;let i=Number(n);return isNaN(i)&&(e[n]=r),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[tr]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=e[tr](),r=Number(t);if(!isNaN(r)&&r>=0&&r<n.length)return!0;t=String(t);for(let e=0;e<n.length;e++){let r=n[e],i=r.getAttribute(`id`)||r.getAttribute(`name`);if(i&&i===t)return!0}return!1},defineProperty(e,n,r){if(t.preventBinding(n),!r.value)return Object.defineProperty(e,n,r),!0;let i=Number(r.value);return isNaN(i)?(Object.defineProperty(e,n,r),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e)return Object.getOwnPropertyDescriptor(e,t);let n=e[tr](),r=Number(t);if(!isNaN(r)&&r>=0&&r<n.length)return{value:n[r],writable:!1,enumerable:!0,configurable:!0};for(let e=0;e<n.length;e++){let r=n[e],i=r.getAttribute(`id`)||r.getAttribute(`name`);if(i&&i===t)return{value:r,writable:!1,enumerable:!0,configurable:!0}}}});return this[ar]=n,this[Le]=n,n}get onformdata(){return Z.getEventListener(this,`onformdata`)}set onformdata(e){this[V].set(`onformdata`,e)}get onreset(){return Z.getEventListener(this,`onreset`)}set onreset(e){this[V].set(`onreset`,e)}get onsubmit(){return Z.getEventListener(this,`onsubmit`)}set onsubmit(e){this[V].set(`onsubmit`,e)}get elements(){return this[Jt]||(this[Jt]=new cp(N,this)),this[Jt]}get length(){return this[tr]().length}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get method(){return this.getAttribute(`method`)||`get`}set method(e){this.setAttribute(`method`,e)}get target(){return this.getAttribute(`target`)||``}set target(e){this.setAttribute(`target`,e)}get action(){if(!this.hasAttribute(`action`))return this[g].location.href;try{return new URL(this.getAttribute(`action`),this[g].location.href).href}catch{return``}}set action(e){this.setAttribute(`action`,e)}get encoding(){return this.getAttribute(`encoding`)||``}set encoding(e){this.setAttribute(`encoding`,e)}get enctype(){return this.getAttribute(`enctype`)||``}set enctype(e){this.setAttribute(`enctype`,e)}get autocomplete(){return this.getAttribute(`autocomplete`)||``}set autocomplete(e){this.setAttribute(`autocomplete`,e)}get acceptCharset(){return this.getAttribute(`acceptcharset`)||``}set acceptCharset(e){this.setAttribute(`acceptcharset`,e)}get noValidate(){return this.getAttribute(`novalidate`)!==null}set noValidate(e){e?this.setAttribute(`novalidate`,``):this.removeAttribute(`novalidate`)}submit(){this.#e()}requestSubmit(e){if(e?.formNoValidate||this.noValidate||this.checkValidity()){let t=new du(`submit`,{bubbles:!0,cancelable:!0,submitter:e||this[ar]});this.dispatchEvent(t),t.defaultPrevented||this.#e(e)}}reset(){for(let e of this[tr]())switch(e[w]){case`TEXTAREA`:e[v]=null;break;case`INPUT`:e[v]=null,e[_e]=null;break;case`OUTPUT`:e.textContent=e[mr];break;case`SELECT`:let t=!1;for(let n of e.options)if(n.hasAttribute(`selected`)){t=!0,n.selected=!0;break}!t&&e.options.length>0&&(e.options[0].selected=!0);break}this.dispatchEvent(new W(`reset`,{bubbles:!0,cancelable:!0}))}checkValidity(){let e={},t=!0;for(let n of this[tr]())n[w]===`INPUT`&&n.type===`radio`&&n.name?e[n.name]||(e[n.name]=!0,n.checkValidity()||(t=!1)):n.checkValidity()||(t=!1);return t}reportValidity(){return this.checkValidity()}[Nn](e=!1){return super[Nn](e)}[tr](){let e=J.querySelectorAll(this,`input,select,textarea,button,fieldset,object,output`)[A].slice();if(this[x]){let t=this.getAttribute(`id`);if(t)for(let n of J.querySelectorAll(this[g],`input[form="${t}"],select[form="${t}"],textarea[form="${t}"],button[form="${t}"],fieldset[form="${t}"],object[form="${t}"],output[form="${t}"]`)[A])e.includes(n)||e.push(n)}return e}[nr](e){let t=this[tr](),n=[];e=String(e);for(let r of t)(r.getAttribute(`id`)===e||r.getAttribute(`name`)===e)&&n.push(r);return n.length?n.length===1?n[0]:new mp(N,n):null}#e(e){let t=e?.formMethod||this.method;if(t===`dialog`){let t=null,n=this;for(;n;){if(n[w]===`DIALOG`){t=n;break}n=n.parentElement}if(t){t.close(e?.value);return}}let n=e?.hasAttribute(`formaction`)&&e?.formAction||this.action,r=new Y(this[b]).getBrowserFrame();if(!r)return;if(!n){this[g].location.hash=`#blocked`;return}let i=new this[b].FormData(this,e),a;switch(e?.formTarget||this.target){default:case`_self`:a=r;break;case`_top`:a=r.page.mainFrame;break;case`_parent`:a=r.parentFrame??r;break;case`_blank`:a=r.page.context.newPage().mainFrame,a[yt]=r;break}if(t===`get`){let e=new URL(n);e.search=``;for(let[t,n]of i)typeof n==`string`&&e.searchParams.append(t,n);pp.navigate({windowClass:this[g][je]?.constructor,frame:a,url:e.href,goToOptions:{referrer:r.page.mainFrame.window.location.origin}});return}pp.navigate({windowClass:this[g][je]?.constructor,frame:a,method:t,url:n,formData:i,goToOptions:{referrer:r.page.mainFrame.window.location.origin}})}},gp=class extends Q{},_p=class extends Q{},vp=class extends Q{},yp=class extends Q{},bp=class extends nl{window=this;location;[ur]=this;#e;constructor(e,t){super(),this[dr]=t??this,this[fr]=t??this,this.location=new Proxy({},{get:()=>{throw new _s(`Blocked a frame with origin "${this.parent.location.origin}" from accessing a cross-origin frame.`,H.securityError)},set:()=>{throw new _s(`Blocked a frame with origin "${this.parent.location.origin}" from accessing a cross-origin frame.`,H.securityError)}}),this.#e=e}get self(){return this[ur]}set self(e){this[ur]=e}get top(){return this[fr]}get parent(){return this[dr]}set parent(e){this[dr]=e}get opener(){return this.#e.opener}get closed(){return this.#e.closed}blur(){this.#e.blur()}focus(){this.#e.focus()}close(){this.#e.close()}postMessage(e,t=`*`,n){this.#e.postMessage(e,t,n)}};const xp=[`allow-downloads`,`allow-forms`,`allow-modals`,`allow-orientation-lock`,`allow-pointer-lock`,`allow-popups`,`allow-popups-to-escape-sandbox`,`allow-presentation`,`allow-same-origin`,`allow-scripts`,`allow-top-navigation`,`allow-top-navigation-by-user-activation`,`allow-top-navigation-to-custom-protocols`];var Sp=class extends Q{[Mn]=null;#e={window:null};#t=null;#n=null;get onload(){return Z.getEventListener(this,`onload`)}set onload(e){this[V].set(`onload`,e)}get onerror(){return Z.getEventListener(this,`onerror`)}set onerror(e){this[V].set(`onerror`,e)}get src(){if(!this.hasAttribute(`src`))return``;try{return new URL(this.getAttribute(`src`),this[g].location.href).href}catch{return this.getAttribute(`src`)}}set src(e){this.setAttribute(`src`,e)}get allow(){return this.getAttribute(`allow`)||``}set allow(e){this.setAttribute(`allow`,e)}get height(){return this.getAttribute(`height`)||``}set height(e){this.setAttribute(`height`,e)}get width(){return this.getAttribute(`width`)||``}set width(e){this.setAttribute(`width`,e)}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get sandbox(){return this[Mn]||(this[Mn]=new kd(N,this,`sandbox`)),this[Mn]}set sandbox(e){this.setAttribute(`sandbox`,e)}get srcdoc(){return this.getAttribute(`srcdoc`)||``}set srcdoc(e){this.setAttribute(`srcdoc`,e)}get referrerPolicy(){return this.getAttribute(`referrerpolicy`)||``}set referrerPolicy(e){this.setAttribute(`referrerpolicy`,e)}get contentDocument(){return this.#e.window?.document??null}get contentWindow(){return this.#e.window}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?0:t}return 0}set tabIndex(e){super.tabIndex=e}[Ce](){super[Ce](),this.#i()}[we](){super[we](),this.#a()}[Nn](e=!1){return super[Nn](e)}[qn](e,t){super[qn](e,t),e[E]===`srcdoc`&&this.#i(),e[E]===`src`&&e[v]&&!this.hasAttribute(`srcdoc`)&&e[v]!==t?.[v]&&this.#i(),e[E]===`sandbox`&&this.#r()}[Jn](e){super[Jn](e),(e[E]===`srcdoc`||e[E]===`src`)&&this.#i()}#r(){let e=this[b],t=[];for(let e of this.sandbox)xp.includes(e)||t.push(e);t.length===1?e.console.error(`Error while parsing the 'sandbox' attribute: '${t[0]}' is an invalid sandbox flag.`):t.length>1&&e.console.error(`Error while parsing the 'sandbox' attribute: '${t.join(`', '`)}' are invalid sandbox flags.`)}#i(){if(!this[x]){this.#a();return}let e=this.getAttribute(`srcdoc`),t=this[b],n=new Y(t).getBrowserFrame();if(!n)return;if(e!==null){if(this.#n===e)return;this.#a(),this.#t=lp.createChildFrame(n),this.#t.url=`about:srcdoc`,this.#e.window=this.#t.window,this.#t.window[fr]=n.window.top,this.#t.window[dr]=n.window,this.#t.window.document.open(),this.#t.window.document.write(e),this.#n=e,this[b].requestAnimationFrame(()=>this.dispatchEvent(new W(`load`)));return}this.#n!==null&&this.#a();let r=n.window.location,i=Xu.getRelativeURL(n,this.src);if(this.#t&&this.#t.window.location.href===i.href)return;if(n.page.context.browser.settings.disableIframePageLoading){let e=new t.DOMException(`Failed to load iframe page "${i.href}". Iframe page loading is disabled.`,H.notSupportedError);n.page.console.error(e),this.dispatchEvent(new W(`error`));return}let a=r.origin===i.origin||i.origin===`null`,o=a?t:new bp(t);this.#t=this.#t??lp.createChildFrame(n),this.#t.window[fr]=o,this.#t.window[dr]=o,this.#t.goto(i.href,{referrer:r.origin,referrerPolicy:this.referrerPolicy}).then(()=>this.dispatchEvent(new W(`load`))).catch(e=>{n.page.console.error(e),this.dispatchEvent(new W(`error`))}),this.#e.window=a?this.#t.window:new bp(this.#t.window,t)}#a(){this.#t&&=(lp.destroyFrame(this.#t),null),this.#e.window=null,this.#n=null}},Cp=t(((e,t)=>{function n(e){return e.toString(`ascii`,0,2)===`BM`}function r(e){return{width:e.readUInt32LE(18),height:Math.abs(e.readInt32LE(22))}}t.exports={detect:n,calculate:r}})),wp=t(((e,t)=>{var n=1,r=6,i=16;function a(e){var t;return e.readUInt16LE(0)===0?(t=e.readUInt16LE(2),t===n):!1}function o(e,t){var n=e.readUInt8(t);return n===0?256:n}function s(e,t){var n=r+t*i;return{width:o(e,n),height:o(e,n+1)}}function c(e){var t=e.readUInt16LE(4),n=s(e,0),r;if(t===1)return n;for(n.images=[{width:n.width,height:n.height}],r=1;r<t;r+=1)n.images.push(s(e,r));return n}t.exports={detect:a,calculate:c}})),Tp=t(((e,t)=>{var n=2;function r(e){var t;return e.readUInt16LE(0)===0?(t=e.readUInt16LE(2),t===n):!1}t.exports={detect:r,calculate:wp().calculate}})),Ep=t(((e,t)=>{function n(e){return e.readUInt32LE(0)===542327876}function r(e){return{height:e.readUInt32LE(12),width:e.readUInt32LE(16)}}t.exports={detect:n,calculate:r}})),Dp=t(((e,t)=>{var n=/^GIF8[79]a/;function r(e){var t=e.toString(`ascii`,0,6);return n.test(t)}function i(e){return{width:e.readUInt16LE(6),height:e.readUInt16LE(8)}}t.exports={detect:r,calculate:i}})),Op=t(((e,t)=>{function n(e){return e.toString(`hex`,0,2)===`ffd8`}function r(e,t){return{height:e.readUInt16BE(t),width:e.readUInt16BE(t+2)}}function i(e,t){if(t>e.length)throw TypeError(`Corrupt JPG, exceeded buffer limits`);if(e[t]!==255)throw TypeError(`Invalid JPG, marker table corrupted`)}function a(e){e=e.slice(4);for(var t,n;e.length;){if(t=e.readUInt16BE(0),i(e,t),n=e[t+1],n===192||n===193||n===194)return r(e,t+5);e=e.slice(t+2)}throw TypeError(`Invalid JPG, no size found`)}t.exports={detect:n,calculate:a}})),kp=t(((e,t)=>{var n=`PNG\r
|
|
73
|
-
|
|
74
|
-
`,r=`IHDR`,i=`CgBI`;function a(e){if(n===e.toString(`ascii`,1,8)){var t=e.toString(`ascii`,12,16);if(t===i&&(t=e.toString(`ascii`,28,32)),t!==r)throw TypeError(`invalid png`);return!0}}function o(e){return e.toString(`ascii`,12,16)===i?{width:e.readUInt32BE(32),height:e.readUInt32BE(36)}:{width:e.readUInt32BE(16),height:e.readUInt32BE(20)}}t.exports={detect:a,calculate:o}})),Ap=t(((e,t)=>{function n(e){return e.toString(`ascii`,0,4)===`8BPS`}function r(e){return{width:e.readUInt32BE(18),height:e.readUInt32BE(14)}}t.exports={detect:n,calculate:r}})),jp=t(((e,t)=>{var n=/<svg[^>]+[^>]*>/;function r(e){return n.test(e)}var i={root:/<svg\s[^>]+>/,width:/\bwidth=(['"])([^%]+?)\1/,height:/\bheight=(['"])([^%]+?)\1/,viewbox:/\bviewBox=(['"])(.+?)\1/};function a(e){var t=e.split(` `);return{width:parseInt(t[2],10),height:parseInt(t[3],10)}}function o(e){var t=e.match(i.width),n=e.match(i.height),r=e.match(i.viewbox);return{width:t&&parseInt(t[2],10),height:n&&parseInt(n[2],10),viewbox:r&&a(r[2])}}function s(e){return{width:e.width,height:e.height}}function c(e){var t=e.viewbox.width/e.viewbox.height;return e.width?{width:e.width,height:Math.floor(e.width/t)}:e.height?{width:Math.floor(e.height*t),height:e.height}:{width:e.viewbox.width,height:e.viewbox.height}}function l(e){var t=e.toString(`utf8`).match(i.root);if(t){var n=o(t[0]);if(n.width&&n.height)return s(n);if(n.viewbox)return c(n)}throw TypeError(`invalid svg`)}t.exports={detect:r,calculate:l}})),Mp=t(((e,t)=>{function n(e){var t=e.toString(`ascii`,0,4)===`RIFF`,n=e.toString(`ascii`,8,12)===`WEBP`,r=e.toString(`ascii`,12,15)===`VP8`;return t&&n&&r}function r(e){var t=e.toString(`ascii`,12,16);if(e=e.slice(20,30),t===`VP8X`){var n=e[0],r=(n&192)==0,s=(n&1)==0;return r&&s?i(e):!1}if(t===`VP8 `&&e[0]!==47)return o(e);var c=e.toString(`hex`,3,6);return t===`VP8L`&&c!==`9d012a`?a(e):!1}function i(e){return{width:1+e.readUIntLE(4,3),height:1+e.readUIntLE(7,3)}}function a(e){return{width:1+((e[2]&63)<<8|e[1]),height:1+((e[4]&15)<<10|e[3]<<2|(e[2]&192)>>6)}}function o(e){return{width:e.readInt16LE(6)&16383,height:e.readInt16LE(8)&16383}}t.exports={detect:n,calculate:r}})),Np=t(((e,t)=>{t.exports={bmp:Cp(),cur:Tp(),dds:Ep(),gif:Dp(),ico:wp(),jpg:Op(),png:kp(),psd:Ap(),svg:jp(),webp:Mp()}})),Pp=t(((e,t)=>{var n=Np();t.exports=function(e){var t,r;for(t in n)if(r=n[t].detect(e),r)return t}})),Fp=e(t(((e,t)=>{var n=Np(),r=Pp();function i(e){var t=r(e);if(t in n){var i=n[t].calculate(e);if(i!==!1)return i.type=t,i}throw TypeError(`unsupported file type: `+t)}t.exports=function(e){if(Buffer.isBuffer(e))return i(e);throw TypeError(`expecting only a buffer as input`)},t.exports.types=Object.keys(n)}))(),1);const Ip=/^\s*data:([^,]+)?,(.*)/;var Lp=class extends Q{[w]=`IMG`;[Yt]=!0;[Xt]=0;[Zt]=0;[Qt]=`auto`;[D]=0;[O]=0;[me]=null;get onload(){return Z.getEventListener(this,`onload`)}set onload(e){this[V].set(`onload`,e)}get onerror(){return Z.getEventListener(this,`onerror`)}set onerror(e){this[V].set(`onerror`,e)}get complete(){return this[Yt]}get naturalHeight(){return this[Xt]}get naturalWidth(){return this[Zt]}get loading(){let e=this.getAttribute(`loading`);return e===`eager`||e===`lazy`?e:`auto`}set loading(e){this.setAttribute(`loading`,e)}get x(){return this[D]}get y(){return this[O]}get decoding(){return this.getAttribute(`decoding`)||`auto`}set decoding(e){this.setAttribute(`decoding`,e)}get crossOrigin(){return this.getAttribute(`crossOrigin`)}set crossOrigin(e){(e===`anonymous`||e===`use-credentials`)&&this.setAttribute(`crossOrigin`,e)}get alt(){return this.getAttribute(`alt`)||``}set alt(e){this.setAttribute(`alt`,e)}get currentSrc(){return this.src}get width(){let e=this.getAttribute(`width`);if(e===null)return this[Zt];let t=parseInt(e,10);return isNaN(t)||t<=0?this[Zt]:t}set width(e){this.setAttribute(`width`,String(e))}get height(){let e=this.getAttribute(`height`);if(e===null)return this[Xt];let t=parseInt(e,10);return isNaN(t)||t<=0?this[Xt]:t}set height(e){this.setAttribute(`height`,String(e))}get isMap(){return this.getAttribute(`ismap`)!==null}set isMap(e){e?this.setAttribute(`ismap`,``):this.removeAttribute(`ismap`)}get referrerPolicy(){return this.getAttribute(`referrerpolicy`)||``}set referrerPolicy(e){this.setAttribute(`referrerpolicy`,e)}get sizes(){return this.getAttribute(`sizes`)||``}set sizes(e){this.setAttribute(`sizes`,e)}get src(){let e=this.getAttribute(`src`);return e&&(this.#e(e)||this.getAttribute(`src`))||``}set src(e){this.setAttribute(`src`,e)}get srcset(){return this.getAttribute(`srcset`)||``}set srcset(e){this.setAttribute(`srcset`,e)}get useMap(){return this.getAttribute(`usemap`)||``}set useMap(e){this.setAttribute(`usemap`,e)}decode(){return Promise.resolve()}[qn](e,t){if(super[qn](e,t),e[E]===`src`){let t=this.#e(e[v]);if(!t){this[Yt]=!0,this[Xt]=0,this[Zt]=0,this.dispatchEvent(new this[b].Event(`error`));return}if(this.#t(t))return;new Y(this[b]).getSettings()?.enableImageFileLoading&&this.#n(this.src)}}[Jn](e){super[Jn](e),e[E]===`src`&&(this[Yt]=!0,this[Xt]=0,this[Zt]=0,this[me]=null)}#e(e){if(e===null)return null;try{return new URL(e,this[g].location.href).href}catch{}return null}#t(e){let t=e.match(Ip);if(t){let e=Buffer.from(t[2],`base64`);this[Yt]=!0,this[me]=e;try{let t=(0,Fp.default)(e);this[Xt]=t.height,this[Zt]=t.width}catch{this[Xt]=0,this[Zt]=0}return this.dispatchEvent(new this[b].Event(`load`)),!0}return!1}async#n(e){this[Yt]=!1,this[Xt]=0,this[Zt]=0,this[me]=null;let t=null,n=null;try{t=await this[b].fetch(e)}catch(e){n=e}if(n||!t?.ok){this[Yt]=!0,this.dispatchEvent(new this[b].Event(`error`)),t?this[b].console.error(`GET ${e} ${t.status} (${t.statusText}).`):n&&this[b].console.error(n);return}let r;try{r=await t.buffer()}catch{this[Yt]=!0,this.dispatchEvent(new this[b].Event(`error`));return}this[Yt]=!0,this[me]=r;try{let e=(0,Fp.default)(r);this[Xt]=e.height,this[Zt]=e.width}catch{this[Xt]=0,this[Zt]=0}this.dispatchEvent(new this[b].Event(`load`))}},Rp=class extends Array{constructor(){super(0)}get[Symbol.toStringTag](){return this.constructor.name}item(e){return this[e]||null}};const zp=/[\n\r]/gm,Bp=e=>e.map(e=>parseInt(e,10));var Vp=class{static sanitize(e,t){switch(e.type){case`password`:case`search`:case`tel`:case`text`:return t.replace(zp,``);case`color`:return/^#[a-fA-F\d]{6}$/.test(t)?t.toLowerCase():`#000000`;case`email`:return e.multiple?t.split(`,`).map(e=>e.trim()).join(`,`):t.trim().replace(zp,``);case`number`:return isNaN(Number.parseFloat(t))?``:t;case`range`:{let n=Number.parseFloat(t),r=parseFloat(e.min)||0,i=parseFloat(e.max)||100;return isNaN(n)?String(i<r?r:(r+i)/2):n<r?String(r):n>i?String(i):t}case`url`:return t.trim().replace(zp,``);case`date`:return this.sanitizeDate(t);case`datetime-local`:{let e=t.match(/^(\d\d\d\d)-(\d\d)-(\d\d)[T ](\d\d):(\d\d)(?::(\d\d)(?:\.(\d{1,3}))?)?$/);if(!e)return``;let n=this.sanitizeDate(t.slice(0,10)),r=this.sanitizeTime(t.slice(11));return n&&r?(e[6]!==void 0&&(r.indexOf(`.`)!==-1&&(r=r.replace(/(?:\.0*|(\.\d+?)0+)$/,`$1`)),r=r.replace(/(\d\d:\d\d)(:00)$/,`$1`)),n+`T`+r):``}case`month`:return t.match(/^(\d\d\d\d)-(\d\d)$/)&&this.parseMonthComponent(t)&&this.checkBoundaries(t,e.min,e.max)?t:``;case`time`:return t=this.sanitizeTime(t),t&&this.checkBoundaries(t,e.min,e.max)?t:``;case`week`:{let n=t.match(/^(\d\d\d\d)-W(\d\d)$/);if(!n)return``;let[r,i]=Bp(n.slice(1,3));if(r<=0||i<1||i>53)return``;let a=this.lastIsoWeekOfYear(r);return i<1||i>52+a||!this.checkBoundaries(t,e.min,e.max)?``:t}}return t}static checkBoundaries(e,t,n){return t&&t>e?!1:!(n&&n<e)}static parseMonthComponent(e){let[t,n]=e.split(`-`),[r,i]=Bp([t,n]);return isNaN(r)||isNaN(i)||r<=0||i<1||i>12?``:e}static lastIsoWeekOfYear=e=>{let t=new Date(+e,11,31),n=(t.getDay()+6)%7;t.setDate(t.getDate()-n+3);let r=t.getTime();return t.setMonth(0,1),t.getDay()!==4&&t.setMonth(0,1+(4-t.getDay()+7)%7),1+Math.ceil((r-t.getTime())/6048e5)};static sanitizeDate(e){let t=e.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!t||!this.parseMonthComponent(e.slice(0,7)))return``;let[n,r,i]=Bp(t.slice(1,4));return i<1||i>31||i>new Date(n,r,0).getDate()?``:e}static sanitizeTime(e){let t=e.match(/^(\d{2}):(\d{2})(?::(\d{2}(?:\.(\d{1,3}))?))?$/);if(!t)return``;let[n,r]=Bp(t.slice(1,3)),i=parseFloat(t[3]||`0`)*1e3;return n>23||r>59||i>59999?``:i===0?`${t[1]}:${t[2]}`:`${t[1]}:${t[2]}${i>=1e4?`:${i/1e3}`:`:0${i/1e3}`}`}},Hp;(function(e){e.preserve=`preserve`,e.select=`select`,e.start=`start`,e.end=`end`})(Hp||={});var Up=Hp,Wp;(function(e){e.none=`none`,e.forward=`forward`,e.backward=`backward`})(Wp||={});var Gp=Wp,Kp=class{static step(e,t,n){switch(e.type){case`number`:return this.getNumberValue(e,t,n);case`date`:case`month`:case`week`:case`time`:case`datetime-local`:case`range`:return null;default:throw new _s(`This form element is not steppable.`)}}static getNumberValue(e,t,n){let r=e.step,i=e.min,a=e.max,o=i===``?null:Number(i),s=a===``?null:Number(a),c=Number(e.value),l=r===``?1:Number(r);if(c=isNaN(c)?0:c,l=isNaN(l)||l===0?1:l,o!==null&&!isNaN(o)&&s!==null&&!isNaN(s)&&(o>s||s<o)||n===0)return e.value;let u=n===void 0?l:Math.ceil(n/l)*l,d=c+u*t,f=o!==null&&!isNaN(o)?o:0;switch(t){case-1:return String(o!==null&&!isNaN(o)&&d<o?o:d+(c-f)%l);case 1:return String(s!==null&&!isNaN(s)&&d>s?f+Math.floor((s-f)/l)*l:d-(c-f)%l)}}},qp=class{static dateIsoWeek(e){e=typeof e==`number`?new Date(e):e,e=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),e.setUTCDate(e.getUTCDate()+4-(e.getUTCDay()||7));let t=new Date(Date.UTC(e.getUTCFullYear(),0,1)),n=Math.ceil(((e-t)/864e5+1)/7);return`${e.getUTCFullYear()}-W${n<10?`0`:``}${n}`}static isoWeekDate(e){let[,t,n]=e.match(/^(\d{4})-W(\d{2})$/)||[];if(!t||!n||Number(n)>53||Number(n)<1)return new Date(`x`);let r=new Date(`${t}-01-01T00:00Z`),i=(new Date(`${t}-01-04T00:00Z`).getUTCDay()+6)%7,a=1+(Number(n)-1)*7-i+3;return r.setUTCDate(a),r.getUTCFullYear()>Number(t)?new Date(`x`):r}};const Jp=new Set([`hidden`,`text`,`search`,`tel`,`url`,`email`,`password`,`date`,`month`,`week`,`time`,`datetime-local`,`number`,`range`,`color`,`checkbox`,`radio`,`file`,`submit`,`image`,`reset`,`button`]);var Yp=class extends Q{[v]=null;[h]=0;[y]=0;[_e]=null;[Gt]=``;[Kt]=new Kf(this);[$t]=new Rp;[Be]=!1;[Le]=null;[Br]=null;#e=null;#t=null;#n=Gp.none;get oninput(){return Z.getEventListener(this,`oninput`)}set oninput(e){this[V].set(`oninput`,e)}get oninvalid(){return Z.getEventListener(this,`oninvalid`)}set oninvalid(e){this[V].set(`oninvalid`,e)}get onselectionchange(){return Z.getEventListener(this,`onselectionchange`)}set onselectionchange(e){this[V].set(`onselectionchange`,e)}get defaultChecked(){return this.hasAttribute(`checked`)}set defaultChecked(e){e?this.setAttribute(`checked`,``):this.removeAttribute(`checked`)}get files(){return this[$t]}set files(e){this[$t]=e}get formAction(){if(!this.hasAttribute(`formaction`))return this[g].location.href;try{return new p(this.getAttribute(`formaction`),this[g].location.href).href}catch{return``}}set formAction(e){this.setAttribute(`formaction`,e)}get formEnctype(){return this.getAttribute(`formenctype`)||``}set formEnctype(e){this.setAttribute(`formenctype`,e)}get formMethod(){return this.getAttribute(`formmethod`)||``}set formMethod(e){this.setAttribute(`formmethod`,e)}get formNoValidate(){return this.getAttribute(`formnovalidate`)!==null}set formNoValidate(e){e?this.setAttribute(`formnovalidate`,``):this.removeAttribute(`formnovalidate`)}get formTarget(){return this.getAttribute(`formtarget`)||``}set formTarget(e){this.setAttribute(`formtarget`,e)}get form(){if(this[Le])return this[Le];let e=this.getAttribute(`form`);return!e||!this[x]?null:this[g].getElementById(e)}get validationMessage(){return this[Gt]}get validity(){return this[Kt]}get height(){return this[h]}set height(e){this[h]=e,this.setAttribute(`height`,String(e))}get width(){return this[y]}set width(e){this[y]=e,this.setAttribute(`width`,String(e))}get size(){let e=this.getAttribute(`size`);return e===null?20:parseInt(e)}set size(e){this.setAttribute(`size`,String(e))}get minLength(){let e=this.getAttribute(`minlength`);return e===null?-1:parseInt(e)}set minLength(e){this.setAttribute(`minlength`,String(e))}get maxLength(){let e=this.getAttribute(`maxlength`);return e===null?-1:parseInt(e)}set maxLength(e){this.setAttribute(`maxlength`,String(e))}get type(){let e=(this.getAttribute(`type`)??``).toLowerCase();return Jp.has(e)?e:`text`}set type(e){this.setAttribute(`type`,e.toLowerCase())}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get alt(){return this.getAttribute(`alt`)||``}set alt(e){this.setAttribute(`alt`,e)}get min(){return this.getAttribute(`min`)||``}set min(e){this.setAttribute(`min`,e)}get max(){return this.getAttribute(`max`)||``}set max(e){this.setAttribute(`max`,e)}get pattern(){return this.getAttribute(`pattern`)||``}set pattern(e){this.setAttribute(`pattern`,e)}get placeholder(){return this.getAttribute(`placeholder`)||``}set placeholder(e){this.setAttribute(`placeholder`,e)}get step(){return this.getAttribute(`step`)||``}set step(e){this.setAttribute(`step`,e)}get inputMode(){return this.getAttribute(`inputmode`)||``}set inputMode(e){this.setAttribute(`inputmode`,e)}get accept(){return this.getAttribute(`accept`)||``}set accept(e){this.setAttribute(`accept`,e)}get allowdirs(){return this.getAttribute(`allowdirs`)||``}set allowdirs(e){this.setAttribute(`allowdirs`,e)}get autocomplete(){return this.getAttribute(`autocomplete`)||``}set autocomplete(e){this.setAttribute(`autocomplete`,e)}get src(){return this.getAttribute(`src`)||``}set src(e){this.setAttribute(`src`,e)}get defaultValue(){return this.getAttribute(`value`)||``}set defaultValue(e){this.setAttribute(`value`,e)}get readOnly(){return this.getAttribute(`readonly`)!==null}set readOnly(e){e?this.setAttribute(`readonly`,``):this.removeAttribute(`readonly`)}get disabled(){return this.getAttribute(`disabled`)!==null}set disabled(e){e?this.setAttribute(`disabled`,``):this.removeAttribute(`disabled`)}get autofocus(){return this.getAttribute(`autofocus`)!==null}set autofocus(e){e?this.setAttribute(`autofocus`,``):this.removeAttribute(`autofocus`)}get required(){return this.getAttribute(`required`)!==null}set required(e){e?this.setAttribute(`required`,``):this.removeAttribute(`required`)}get indeterminate(){return this[Be]}set indeterminate(e){this[Be]=!!e}get multiple(){return this.getAttribute(`multiple`)!==null}set multiple(e){e?this.setAttribute(`multiple`,``):this.removeAttribute(`multiple`)}get checked(){return this[_e]===null?this.getAttribute(`checked`)!==null:this[_e]}set checked(e){this.#i(e)}get value(){switch(this.type){case`hidden`:case`submit`:case`image`:case`reset`:case`button`:return this.getAttribute(`value`)||``;case`checkbox`:case`radio`:let e=this.getAttribute(`value`);return e===null?`on`:e;case`file`:return this[$t].length>0?`/fake/path/`+this[$t][0].name:``}return this[v]===null?this.getAttribute(`value`)||``:this[v]}set value(e){switch(e=e===null?``:String(e),this.type){case`hidden`:case`submit`:case`image`:case`reset`:case`button`:case`checkbox`:case`radio`:this.setAttribute(`value`,e);break;case`file`:if(e!==null&&e!==``)throw new this[b].DOMException(`Input elements of type "file" may only programmatically set the value to empty string.`,H.invalidStateError);this[$t]=new Rp;break;default:let t=this.value;this[v]=Vp.sanitize(this,e),t!==this[v]&&(this.#e=this[v].length,this.#t=this[v].length,this.#n=Gp.none);break}}get selectionStart(){return this.#r()?this.#e===null?this.value.length:this.#e:null}set selectionStart(e){if(!this.#r())throw new this[b].DOMException(`The input element's type (${this.type}) does not support selection.`,H.invalidStateError);this.setSelectionRange(e,Math.max(e,this.selectionEnd),this.#n)}get selectionEnd(){return this.#r()?this.#t===null?this.value.length:this.#t:null}set selectionEnd(e){if(!this.#r())throw new this[b].DOMException(`The input element's type (${this.type}) does not support selection.`,H.invalidStateError);this.setSelectionRange(this.selectionStart,e,this.#n)}get selectionDirection(){return this.#r()?this.#n:null}set selectionDirection(e){if(!this.#r())throw new this[b].DOMException(`The input element's type (${this.type}) does not support selection.`,H.invalidStateError);this.setSelectionRange(this.#e,this.#t,e)}get willValidate(){return this.type!==`hidden`&&this.type!==`reset`&&this.type!==`button`&&!this.disabled&&!this.readOnly}get valueAsDate(){switch(this.type){case`date`:case`month`:return isNaN(new Date(String(this.value)).getTime())?null:new Date(this.value);case`week`:{let e=qp.isoWeekDate(this.value);return isNaN(e.getTime())?null:e}case`time`:{let e=new Date(`1970-01-01T${this.value}Z`);return isNaN(e.getTime())?null:e}default:return null}}set valueAsDate(e){if(![`date`,`month`,`time`,`week`].includes(this.type))throw new this[b].DOMException(`Failed to set the 'valueAsDate' property on 'HTMLInputElement': This input element does not support Date values.`,H.invalidStateError);if(typeof e!=`object`)throw new this[b].TypeError(`Failed to set the 'valueAsDate' property on 'HTMLInputElement': Failed to convert value to 'object'.`);if(e&&!(e instanceof Date))throw new this[b].TypeError(`Failed to set the 'valueAsDate' property on 'HTMLInputElement': The provided value is not a Date.`);if(e===null||isNaN(e.getTime())){this.value=``;return}switch(this.type){case`date`:this.value=e.toISOString().split(`T`)[0];break;case`month`:this.value=e.toISOString().split(`T`)[0].slice(0,-3);break;case`time`:this.value=e.toISOString().split(`T`)[1].slice(0,5);break;case`week`:this.value=qp.dateIsoWeek(e);break}}get valueAsNumber(){let e=this.value;if(!this.type.match(/^(range|number|date|datetime-local|month|time|week)$/)||!e)return NaN;switch(this.type){case`number`:return parseFloat(e);case`range`:{let t=parseFloat(e),n=parseFloat(this.min)||0,r=parseFloat(this.max)||100;return isNaN(t)?r<n?n:(n+r)/2:t<n?n:t>r?r:t}case`date`:return new Date(e).getTime();case`datetime-local`:return new Date(e).getTime()-new Date(e).getTimezoneOffset()*6e4;case`month`:return(new Date(e).getUTCFullYear()-1970)*12+new Date(e).getUTCMonth();case`time`:return new Date(`1970-01-01T`+e).getTime()-new Date(`1970-01-01T00:00:00`).getTime();case`week`:{let t=e.match(/^(\d{4})-W(\d{2})$/);if(!t)return NaN;let n=new Date(Date.UTC(parseInt(t[1],10),0)),r=n.getUTCDay(),i=((r===0?-6:1)-r)*864e5+parseInt(t[2],10)*6048e5;return n.getTime()+i}default:return NaN}}set valueAsNumber(e){switch(this.type){case`number`:case`range`:this.value=Number(e).toString();break;case`date`:case`datetime-local`:{let t=new Date(Number(e));if(isNaN(t.getTime())){this.value=``;break}this.type==`date`?this.value=t.toISOString().slice(0,10):this.value=t.toISOString().slice(0,-1);break}case`month`:!Number.isInteger(e)||e<0?this.value=``:this.value=new Date(Date.UTC(1970,Number(e))).toISOString().slice(0,7);break;case`time`:!Number.isInteger(e)||e<0?this.value=``:this.value=new Date(Number(e)).toISOString().slice(11,-1);break;case`week`:{let t=new Date(Number(e));this.value=isNaN(t.getTime())?``:qp.dateIsoWeek(t);break}default:throw new this[b].DOMException(`Failed to set the 'valueAsNumber' property on 'HTMLInputElement': This input element does not support Number values.`,H.invalidStateError)}}get labels(){return qf.getAssociatedLabelElements(this)}get list(){let e=this.getAttribute(`list`);return e?(this[it]||this[g]).querySelector(`datalist#${e}`):null}get popoverTargetElement(){return this[Br]}set popoverTargetElement(e){if(e!==null&&!(e instanceof Q))throw new this[b].TypeError(`Failed to set the 'popoverTargetElement' property on 'HTMLInputElement': Failed to convert value to 'Element'.`);this[Br]=e}get popoverTargetAction(){let e=this.getAttribute(`popovertargetaction`);return e===null||e!==`hide`&&e!==`show`&&e!==`toggle`?`toggle`:e}set popoverTargetAction(e){this.setAttribute(`popovertargetaction`,e)}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?0:t}return 0}set tabIndex(e){super.tabIndex=e}setCustomValidity(e){this[Gt]=String(e)}select(){this.#r()&&(this.#e=0,this.#t=this.value.length,this.#n=Gp.none,this.dispatchEvent(new W(`select`,{bubbles:!0,cancelable:!1})))}setSelectionRange(e,t,n=`none`){if(!this.#r())throw new this[b].DOMException(`The input element's type (${this.type}) does not support selection.`,H.invalidStateError);this.#t=Math.min(t,this.value.length),this.#e=Math.min(e,this.#t),this.#n=n===Gp.forward||n===Gp.backward?n:Gp.none,this.dispatchEvent(new W(`select`,{bubbles:!0,cancelable:!1}))}setRangeText(e,t=null,n=null,r=Up.preserve){if(!this.#r())throw new this[b].DOMException(`The input element's type (${this.type}) does not support selection.`,H.invalidStateError);if(t===null&&(t=this.#e),n===null&&(n=this.#t),t>n)throw new this[b].DOMException(`The index is not in the allowed range.`,H.invalidStateError);t=Math.min(t,this.value.length),n=Math.min(n,this.value.length);let i=this.value,a=this.#e,o=this.#t;this.value=i.slice(0,t)+e+i.slice(n);let s=t+this.value.length;switch(r){case Up.select:this.setSelectionRange(t,s);break;case Up.start:this.setSelectionRange(t,t);break;case Up.end:this.setSelectionRange(s,s);break;default:let r=e.length-(n-t);a>n?a+=r:a>t&&(a=t),o>n?o+=r:o>t&&(o=s),this.setSelectionRange(a,o);break}}checkValidity(){let e=this.disabled||this.readOnly||this.type===`hidden`||this.type===`reset`||this.type===`button`||this[Kt].valid;return e||this.dispatchEvent(new W(`invalid`,{bubbles:!0,cancelable:!0})),e}reportValidity(){return this.checkValidity()}stepUp(e){let t=Kp.step(this,1,e);t!==null&&(this.value=t)}stepDown(e){let t=Kp.step(this,-1,e);t!==null&&(this.value=t)}[Nn](e=!1){let t=super[Nn](e);return t[v]=this[v],t[h]=this[h],t[y]=this[y],t[$t]=this[$t].slice(),t.#e=this.#e,t.#t=this.#t,t.#n=this.#n,t}dispatchEvent(e){if(e[qr]!==`click`||e[Gr]!==Es.none||!(e instanceof su))return super.dispatchEvent(e);if(this.disabled)return!1;let t=null,n=this[Be],r=this.type;(r===`checkbox`||r===`radio`)&&(t=this.checked,this.#i(r===`checkbox`?!t:!0),r===`checkbox`&&(n=this[Be],this[Be]=!1));let i=super.dispatchEvent(e);if(e[qr]!==`click`||e[Gr]!==Es.none||!(e instanceof su))return i;if(e[Wr])t!==null&&(this.#i(t),this[Be]=n);else{let e=this.type;if(e===`checkbox`&&this[x])this.dispatchEvent(new W(`input`,{bubbles:!0,cancelable:!0})),this.dispatchEvent(new W(`change`,{bubbles:!0,cancelable:!0}));else if(e===`radio`&&!t&&this[x])this.dispatchEvent(new W(`input`,{bubbles:!0,cancelable:!0})),this.dispatchEvent(new W(`change`,{bubbles:!0,cancelable:!0}));else if(e===`submit`||e===`reset`){let t=this.form;t&&(e===`submit`&&this[x]?t.requestSubmit(this):e===`reset`&&t.reset())}}return i}#r(){let e=this.type;return e===`text`||e===`search`||e===`url`||e===`tel`||e===`password`}#i(e){if(this[_e]=e,this[Kn](),e&&this.type===`radio`&&this.name){let e=(this[Le]||this.getRootNode()).querySelectorAll(`input[type="radio"][name="${this.name}"]`);for(let t of e)t!==this&&(t[_e]=!1)}}},Xp=class extends Q{get htmlFor(){let e=this.getAttribute(`for`);return e===null&&e===null?``:e}set htmlFor(e){this.setAttribute(`for`,e)}get control(){let e=this.getAttribute(`for`);if(e!==null){if(!e||!this[x])return null;let t=this[it].getElementById(e);if(t)switch(t[w]){case`INPUT`:return t.type===`hidden`?null:t;case`BUTTON`:case`METER`:case`OUTPUT`:case`PROGRESS`:case`SELECT`:case`TEXTAREA`:return t;default:return null}}return this.querySelector(`button,input:not([type="hidden"]),meter,output,progress,select,textarea`)}get form(){return this.control?.form||null}[Nn](e=!1){return super[Nn](e)}dispatchEvent(e){let t=super.dispatchEvent(e);if(!e[Wr]&&e.type===`click`&&(e.eventPhase===Es.atTarget||e.eventPhase===Es.bubbling)&&e instanceof su){let t=this.control;t&&e.target!==t&&t.dispatchEvent(new su(`click`,{bubbles:!0,cancelable:!0}))}return t}},Zp=class extends Q{get form(){let e=this;for(;e;){if(e instanceof sp)return e.form;e=e.parentNode}return null}},Qp=class extends Q{get value(){if(!this.hasAttribute(`value`))return 0;let e=Number(this.getAttribute(`value`));return isNaN(e)?0:e}set value(e){let t=Number(e);this.setAttribute(`value`,isNaN(t)?`0`:String(t))}},$p=class{static getScript(e){let t={},n=Object.keys(e.headers).sort();for(let r of n)t[r]=e.headers[r];return`
|
|
75
|
-
const sendRequest = require('http${e.url.protocol===`https:`?`s`:``}').request;
|
|
76
|
-
const options = ${JSON.stringify({method:e.method,headers:t,agent:!1,rejectUnauthorized:!e.disableStrictSSL,key:e.url.protocol===`https:`?Hu.key:void 0,cert:e.url.protocol===`https:`?Hu.cert:void 0},null,4)};
|
|
77
|
-
const request = sendRequest(${JSON.stringify(e.url.href)}, options, (incomingMessage) => {
|
|
78
|
-
let data = Buffer.alloc(0);
|
|
79
|
-
incomingMessage.on('data', (chunk) => {
|
|
80
|
-
data = Buffer.concat([data, Buffer.from(chunk)]);
|
|
81
|
-
});
|
|
82
|
-
incomingMessage.on('end', () => {
|
|
83
|
-
console.log(JSON.stringify({
|
|
84
|
-
error: null,
|
|
85
|
-
incomingMessage: {
|
|
86
|
-
statusCode: incomingMessage.statusCode,
|
|
87
|
-
statusMessage: incomingMessage.statusMessage,
|
|
88
|
-
rawHeaders: incomingMessage.rawHeaders,
|
|
89
|
-
data: data.toString('base64')
|
|
90
|
-
}
|
|
91
|
-
}));
|
|
92
|
-
});
|
|
93
|
-
incomingMessage.on('error', (error) => {
|
|
94
|
-
console.log(JSON.stringify({ error: error.message, incomingMessage: null }));
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
request.write(Buffer.from('${e.body?e.body.toString(`base64`):``}', 'base64'));
|
|
98
|
-
request.end();
|
|
99
|
-
`}},em=class e{request;redirectCount=0;disableCache;disableSameOriginPolicy;interceptor;requestHeaders;#e;#t;#n=null;constructor(e){this.#e=e.browserFrame,this.#t=e.window,this.#n=e.unfilteredHeaders??null,this.request=typeof e.url==`string`||e.url instanceof mu?new e.window.Request(e.url,e.init):e.url,e.contentType&&(this.request[Ee]=e.contentType),this.redirectCount=e.redirectCount??0,this.disableCache=e.disableCache??!1,this.disableSameOriginPolicy=e.disableSameOriginPolicy??this.#e.page.context.browser.settings.fetch.disableSameOriginPolicy??!1,this.interceptor=this.#e.page.context.browser.settings.fetch.interceptor,this.requestHeaders=this.#e.page.context.browser.settings.fetch.requestHeaders}send(){if(_u.prepareRequest(new mu(this.#t.location.href),this.request),this.requestHeaders){for(let e of this.requestHeaders)if(!e.url||(typeof e.url==`string`?e.url.startsWith(this.request.url):this.request.url.match(e.url)))for(let[t,n]of Object.entries(e.headers))this.request.headers.set(t,n)}if(this.interceptor?.beforeSyncRequest){let e=this.interceptor.beforeSyncRequest({request:this.request,window:this.#t});if(typeof e==`object`)return e}if(Mu.validateSchema(this.request),this.request.signal[Xr])throw this.request.signal[Vo]===void 0?new this.#t.DOMException(`signal is aborted without reason`,H.abortError):this.request.signal[Vo];if(this.request[gt].protocol===`data:`){let e=vu.parse(this.request.url),t={status:200,statusText:`OK`,ok:!0,url:this.request.url,redirected:!1,headers:new this.#t.Headers({"Content-Type":e.type}),body:e.buffer,[$o]:null},n=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:t,request:this.request}):void 0;return typeof n==`object`?n:t}if(this.request[gt].protocol===`http:`&&this.#t.location.protocol===`https:`)throw new this.#t.DOMException(`Mixed Content: The page at '${this.#t.location.href}' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '${this.request.url}'. This request has been blocked; the content must be served over HTTPS.`,H.securityError);let e=this.getCachedResponse();if(e)return e;let t=this.getVirtualServerResponse();if(t)return t;if(!this.compliesWithCrossOriginPolicy())throw this.#t.console.warn(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`),new this.#t.DOMException(`Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at "${this.request.url}".`,H.networkError);return this.sendRequest()}getCachedResponse(){if(this.disableCache)return null;let t=this.#e.page.context.responseCache.get(this.request);if(!t||t.response.waitingForBody)return null;if(t.state===hs.stale){let n=new this.#t.Headers(t.request.headers);if(t.etag)n.set(`If-None-Match`,t.etag);else{if(!t.lastModified)return null;n.set(`If-Modified-Since`,new Date(t.lastModified).toUTCString())}if(t.etag||!t.staleWhileRevalidate){let r=new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{headers:n,method:t.request.method},disableCache:!0,disableSameOriginPolicy:!0}).send(),i=r.status===304?null:r.body;if(t=this.#e.page.context.responseCache.add(this.request,{...r,body:i,waitingForBody:!1}),r.status!==304)return r}else new qu({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{headers:n,method:t.request.method},disableCache:!0,disableSameOriginPolicy:!0}).send().then(e=>{e.buffer().then(t=>{this.#e.page.context.responseCache.add(this.request,{...e,body:t,waitingForBody:!1})})})}return!t||t.response.waitingForBody?null:{status:t.response.status,statusText:t.response.statusText,ok:!0,url:t.response.url,redirected:!1,headers:t.response.headers,body:t.response.body,[$o]:t.response[$o]||null}}getVirtualServerResponse(){let e=Wu.getFilepath(this.#t,this.request.url);if(!e)return null;if(this.request.method!==`GET`){this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundSyncResponse(this.#t,this.request.url),t=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:e,request:this.request}):void 0;return typeof t==`object`?t:e}let t;try{e=d.statSync(e).isDirectory()?f.join(e,`index.html`):e,t=d.readFileSync(e)}catch{this.#e.page.console.error(`${this.request.method} ${this.request.url} 404 (Not Found)`);let e=Wu.getNotFoundSyncResponse(this.#t,this.request.url),t=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:e,request:this.request}):void 0;return typeof t==`object`?t:e}let n={status:200,statusText:``,ok:!0,url:this.request.url,redirected:!1,headers:new this.#t.Headers,body:t,[$o]:e},r=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:n,request:this.request}):void 0,i=typeof r==`object`?r:n;return this.#e.page.context.responseCache.add(this.request,{...i,waitingForBody:!1,virtual:!0}),i}compliesWithCrossOriginPolicy(){if(this.disableSameOriginPolicy||!yu.isCORS(this.#t.location.href,this.request[gt]))return!0;let t=this.#e.page.context.preflightResponseCache.get(this.request);if(t)return!(t.allowOrigin!==`*`&&t.allowOrigin!==this.#t.location.origin||t.allowMethods.length!==0&&!t.allowMethods.includes(this.request.method));let n=[];for(let[e]of this.request.headers)n.push(e.toLowerCase());let r=new this.#t.Headers({"Access-Control-Request-Method":this.request.method,Origin:this.#t.location.origin});n.length>0&&r.set(`Access-Control-Request-Headers`,n.slice().sort().join(`,`));let i=new e({browserFrame:this.#e,window:this.#t,url:this.request.url,init:{method:`OPTIONS`},disableCache:!0,disableSameOriginPolicy:!0,unfilteredHeaders:r}).send();if(!i.ok)return!1;let a=i.headers.get(`Access-Control-Allow-Origin`);if(!a||a!==`*`&&a!==this.#t.location.origin)return!1;let o=[];if(i.headers.has(`Access-Control-Allow-Methods`)){let e=i.headers.get(`Access-Control-Allow-Methods`);if(e!==`*`)for(let t of e.split(`,`))o.push(t.trim().toUpperCase())}return!(o.length!==0&&!o.includes(this.request.method))}sendRequest(){if(!this.request[pe]&&this.request.body)throw new this.#t.DOMException(`Streams are not supported as request body for synchronous requests.`,H.notSupportedError);let e=$p.getScript({url:this.request[gt],method:this.request.method,headers:Fu.getRequestHeaders({browserFrame:this.#e,window:this.#t,request:this.request,baseHeaders:this.#n}),disableStrictSSL:this.#e.page.context.browser.settings.fetch.disableStrictSSL,body:this.request[pe]}),t=te.execFileSync(process.argv[0],[`-e`,e],{encoding:`buffer`,maxBuffer:1024*1024*1024});if(!t.length)throw new this.#t.DOMException(`Synchronous fetch to "${this.request.url}" failed.`,H.networkError);let{error:n,incomingMessage:r}=JSON.parse(t.toString());if(n)throw new this.#t.DOMException(`Synchronous fetch to "${this.request.url}" failed. Error: ${n}`,H.networkError);let i=Vu.parseResponseHeaders({browserFrame:this.#e,requestURL:this.request[gt],rawHeaders:r.rawHeaders}),a={status:r.statusCode,statusText:r.statusMessage,ok:r.statusCode>=200&&r.statusCode<300,url:this.request.url,redirected:this.redirectCount>0,headers:i,body:this.parseIResponseBody({headers:i,status:r.statusCode,body:Buffer.from(r.data,`base64`)})},o=this.handleRedirectResponse(a)||a;!this.disableCache&&!o.redirected&&this.#e.page.context.responseCache.add(this.request,{status:o.status,statusText:o.statusText,url:o.url,headers:o.headers,body:o.body,waitingForBody:!1});let s=this.interceptor?.afterSyncResponse?this.interceptor.afterSyncResponse({window:this.#t,response:o,request:this.request}):void 0,c=typeof s==`object`?s:o;return c.ok||this.#e.page.console.error(`${this.request.method} ${this.request.url} ${c.status} (${c.statusText})`),c}parseIResponseBody(e){let t=e.headers.get(`Content-Encoding`);if(this.request.method===`HEAD`||t===null||e.status===204||e.status===304)return e.body;try{if(t===`gzip`||t===`x-gzip`)return l.gunzipSync(e.body,{flush:l.constants.Z_SYNC_FLUSH,finishFlush:l.constants.Z_SYNC_FLUSH});if(t===`deflate`||t===`x-deflate`)return l.inflateSync(e.body);if(t===`br`)return l.brotliDecompressSync(e.body)}catch(e){throw new this.#t.DOMException(`Failed to read response body. Error: ${e.message}.`,H.encodingError)}return e.body}handleRedirectResponse(t){if(!Bu.isRedirect(t.status))return null;switch(this.request.redirect){case`error`:throw new this.#t.DOMException(`URI requested responds with a redirect, redirect mode is set to "error": ${this.request.url}`,H.abortError);case`manual`:return null;case`follow`:let n=t.headers.get(`Location`),r=t.status===303||(t.status===301||t.status===302)&&this.request.method===`POST`,i=null;if(n!==null)try{i=new mu(n,this.request.url)}catch{throw new this.#t.DOMException(`URI requested responds with an invalid redirect URL: ${n}`,H.uriMismatchError)}if(i===null)return null;if(Bu.isMaxRedirectsReached(this.redirectCount))throw new this.#t.DOMException(`Maximum redirects reached at: ${this.request.url}`,H.networkError);let a=new this.#t.Headers(this.request.headers),o={method:this.request.method,signal:this.request.signal,referrer:this.request.referrer,referrerPolicy:this.request.referrerPolicy,credentials:this.request.credentials,headers:a,body:this.request[pe]};(this.request.credentials===`omit`||this.request.credentials===`same-origin`&&yu.isCORS(this.#t.location.href,i))&&(a.delete(`cookie`),a.delete(`cookie2`)),r&&(o.method=`GET`,o.body=void 0,a.delete(`Content-Length`),a.delete(`Content-Type`));let s=_u.getReferrerPolicyFromHeader(a);return s&&(o.referrerPolicy=s),new e({browserFrame:this.#e,window:this.#t,url:i,init:o,redirectCount:this.redirectCount+1,contentType:r?null:this.request[Ee]}).send();default:throw new this.#t.DOMException(`Redirect option '${this.request.redirect}' is not a valid value of TRequestRedirect`)}}},tm=class{window;constructor(e){this.window=e}async fetch(e,t,n){let r=new Y(this.window).getBrowserFrame();if(!r)return{content:``,virtualServerFile:null};if(t===`script`||t===`style`){let r=Gu.getKey({url:String(e),destination:t,mode:`cors`,credentialsMode:n?.credentials||`same-origin`}),i=this.window.document[Ao].get(r);if(i){this.window.document[Ao].delete(r);let t=i.response||await i.onResponseAvailable();if(t&&!t.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.response?.status||`0`} ${i.response?.statusText||`Unknown`}.`);return{content:i.response?.[me]?.toString()||``,virtualServerFile:i.response?.[$o]||null}}}let i=await new qu({browserFrame:r,window:this.window,url:e,disableSameOriginPolicy:t===`script`||t===`style`,disablePreload:!0,init:{credentials:n?.credentials,referrerPolicy:n?.referrerPolicy}}).send();if(!i.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.status} ${i.statusText}.`);return{content:await i.text(),virtualServerFile:i[$o]||null}}fetchSync(e,t,n){let r=new Y(this.window).getBrowserFrame();if(!r)return{content:``,virtualServerFile:null};if(t===`script`||t===`style`){let r=Gu.getKey({url:String(e),destination:t,mode:`cors`,credentialsMode:n?.credentials||`same-origin`}),i=this.window.document[Ao].get(r);if(i&&i.response){if(this.window.document[Ao].delete(r),!i.response.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.response.status} ${i.response.statusText}.`);return{content:i.response?.[me]?.toString()||``,virtualServerFile:i.response?.[$o]||null}}}let i=new em({browserFrame:r,window:this.window,url:e,disableSameOriginPolicy:!0,init:{credentials:n?.credentials,referrerPolicy:n?.referrerPolicy}}).send();if(!i.ok)throw new this.window.DOMException(`Failed to perform request to "${new mu(e,this.window.location.href).href}". Status ${i.status} ${i.statusText}.`);return{content:i.body?.toString()||``,virtualServerFile:i[$o]||null}}},nm=class{url;#e;#t;#n=null;constructor(e){this.#e=e.window,this.url=e.url,this.#t=e.source}async evaluate(){if(this.#n)return this.#n;let e=new this.#e.CSSStyleSheet;return e.replaceSync(this.#t),this.#n={default:e},this.#n}async preload(){await this.evaluate()}},rm=class{url;#e;#t;#n=null;constructor(e){this.#e=e.window,this.url=e.url,this.#t=e.source}async evaluate(){if(this.#n)return this.#n;let e;try{e=JSON.parse(this.#t)}catch(e){throw new this.#e.TypeError(`Failed to parse module "${this.url.href}": ${e.message}`)}return this.#n={default:e},this.#n}async preload(){await this.evaluate()}},im=class{url;#e;#t=[];#n=null;constructor(e){this.#e=e.window,this.url=e.url}async evaluate(){throw new this.#e.TypeError(`Unresolved module. We should never end up here.`)}async preload(){throw new this.#e.TypeError(`Unresolved module. We should never end up here.`)}addResolveListener(e,t){if(this.#n){t(this.#n);return}this.#t.push({resolve:e,reject:t})}resolve(e){e&&(this.#n=e);for(let t of this.#t)e?t.reject(e):t.resolve(null)}};const am=[`module`,`main`],om=[`.js`,`.mjs`];var sm=class{static nodeModuleResolveCache=new Map;static packageJsonCache=new Map;static getURL(e,t,n){let r=typeof t==`string`?t:t.href,i=e[Ro],a=this.resolveURL(e,r,n);if(!i)return new p(a,r);if(i.scopes.length){for(let e of i.scopes)if(r.includes(e.scope)){for(let t of e.rules)if(a.startsWith(t.from))return new p(t.to+a.replace(t.from,``),r)}}if(i.imports.length){for(let e of i.imports)if(a.startsWith(e.from))return new p(e.to+a.replace(e.from,``),r)}return new p(a,r)}static clearCache(){this.nodeModuleResolveCache.clear(),this.packageJsonCache.clear()}static resolveURL(e,t,n){let r=new Y(e).getSettings();if(!r)return n;let i=n;return r.module.resolveNodeModules&&(i=this.resolveNodeModuleURL(r.module.resolveNodeModules,n)),r.module.urlResolver&&(i=r.module.urlResolver({url:i,parentURL:t,window:e})),i}static resolveNodeModuleURL(e,t){if(t[0]===`.`||t[0]===`/`||t.startsWith(`http://`)||t.startsWith(`https://`))return t;let n=e.url[e.url.length-1]===`/`?``:`/`,r=`${e.url}${n}`,i=f.resolve(e.directory),a=t.split(`/`),o=this.nodeModuleResolveCache.get(t);if(o)return o;let s=t[0]===`@`?`${a[0]}/${a[1]}`:a[0],c=this.packageJsonCache.get(s);if(!c)try{c=JSON.parse(d.readFileSync(f.join(i,s,`package.json`),`utf-8`)),this.packageJsonCache.set(s,c)}catch{return t}if(t[0]===`@`&&a.length===2||a.length===1){if(c.exports?.[`.`]?.import){let e=`${r}${s}/${c.exports[`.`].import.replace(`./`,``)}`;return this.nodeModuleResolveCache.set(t,e),e}let n=e.mainFields||am;for(let e of n)if(c[e]&&d.existsSync(f.join(i,s,c[e]))){let n=`${r}${t}/${c[e]}`;return this.nodeModuleResolveCache.set(t,n),n}return t}let l=a.slice(t[0]===`@`?2:1).join(`/`);if(c.exports)for(let e of Object.keys(c.exports)){let n=Array.isArray(c.exports[e].import)?c.exports[e].import[0]:c.exports[e].import;if(n){let i=RegExp(`^${e.replace(`./`,``).replace(/\./g,`\\.`).replace(/\*/g,`(.*)`)}$`),a=l.match(i);if(a){let e=`${r}${s}/${n.replace(`./`,``).replace(`*`,a[1])}`;return this.nodeModuleResolveCache.set(t,e),e}}}if(!t.endsWith(`.js`)&&!t.endsWith(`.mjs`)){for(let e of om)if(d.existsSync(f.join(i,`${t}${e}`))){let n=`${r}${t}${e}`;return this.nodeModuleResolveCache.set(t,n),n}}else if(d.existsSync(f.join(i,t))){let e=`${r}${t}`;return this.nodeModuleResolveCache.set(t,e),e}return t}};const cm=/import\.meta\.([a-zA-Z]+)|import\s*["']([^"']+)["'];{0,1}|import\s*\(([^)]+)\)|(import[\s{])|[\s}]from\s*["']([^"']+)["'](\s+with\s*{\s*type\s*:\s*["']([^"']+)["']\s*}){0,1}([;\s]*)|export(\s+[a-zA-Z0-9-_$]+\s+|\s+\*\s+|\s+\*\s+as\s+["'a-zA-Z0-9-_$]+\s+|\s*{[^}]+}\s*)from\s*["']([^"']+)["']|export\s*(default\s+){0,1}(async\s+){0,1}(function\*{0,1}|class)\s*([^({\s]+)|(export\s*default\s*)|export\s*{([^}]+)}|export\s+(var|let|const)\s+([^=;]+)(=|;)/gm,lm=/(\/)|(\(|\))|({|})|(\[|\])|(\${)|(`)|(')|(")|(\n)/gm,um=/{([^}]+)}|\*\s+as\s+([a-zA-Z0-9-_$]+)|([a-zA-Z0-9-_$]+)/gm,dm=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/,fm=/['"`(){}\s;=><\[\]+-,:&]/,pm=/['"`({};=><\[+-,:&]/,mm=/\/\*|\*\//gm,hm=/export\s*/,gm=/export\s*default\s*/,_m=/;\s*$/;var vm=class{window;debug=!1;count={comment:0,singleLineComment:0,parentheses:0,curlyBraces:0,squareBrackets:0,regExp:0,regExpSquareBrackets:0,escapeTemplateString:0,simpleString:0,doubleString:0};debugCount={comment:[],singleLineComment:[],parentheses:[],curlyBraces:[],squareBrackets:[],regExp:[],regExpSquareBrackets:[],escapeTemplateString:[],simpleString:[],doubleString:[]};templateString=[];constructor(e){this.window=e}compile(e,t,n=null){let r=new Y(this.window).getBrowserContext();if(!r)return{imports:[],execute:async()=>{}};let i=r.browser.settings;if(!i.module.disableCache&&n){let t=r[as].get(e);if(t)return{imports:t.imports,execute:this.window[Fe](t.code,{filename:n})}}this.reset();let a=new RegExp(cm),o=[],s=[],c=this.count,l=``,u=``,d=``,f=null,p,ee,te=!0,ne=0,re=-1;for(;f=a.exec(t);){if(p=t[f.index-1]||` `,ee=t.substring(ne,f.index),this.parseSyntax(ee,ne),re===-1&&(l+=ee),te=c.comment===0&&c.singleLineComment===0&&c.parentheses===0&&c.curlyBraces===0&&c.squareBrackets===0&&c.regExp===0&&c.simpleString===0&&c.doubleString===0&&this.templateString.length===0,f[1]&&c.simpleString===0&&c.doubleString===0&&c.comment===0&&c.singleLineComment===0&&c.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&fm.test(this.getNonSpacePrecedingToken(t,f.index)))l+=`$happy_dom.importMeta.${f[1]}`;else if(f[2]&&te&&fm.test(p))o.push({url:sm.getURL(this.window,e,f[2]).href,type:`esm`});else if(f[3]&&c.simpleString===0&&c.doubleString===0&&c.comment===0&&c.singleLineComment===0&&c.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&fm.test(p))l+=`$happy_dom.dynamicImport(${f[3]})`;else if(f[4]&&te&&fm.test(p)){if(re!==-1)throw new this.window.TypeError(`Failed to parse module: Unexpected import statement in "${e}"`);re=f.index+f[0].length-1}else if(f[5]&&te&&re!==-1){let n=sm.getURL(this.window,e,f[5]).href,r=t.substring(re,f.index+1),i=new RegExp(um),a=null;for(;a=i.exec(r);)if(a[1]){let e=this.removeMultilineComments(a[1]).split(/\s*,\s*/),t=[];for(let n of e){let e=n.trim().split(/\s+as\s+/),r=(e[1]||e[0]).replace(/["']/g,``),i=e[0].replace(/["']/g,``);r&&i&&(i===r?t.push({name:i}):t.push({name:i,alias:r}))}(!f[7]||f[7]===`esm`)&&s.push({url:n,properties:t}),u+=`let {${t.map(e=>e.alias?`"${e.name}": ${e.alias}`:e.name).join(`, `)}} = $happy_dom.imports.get('${n}')${f[8]}`}else a[2]?u+=`const ${a[2]} = $happy_dom.imports.get('${n}')${f[8]}`:a[3]&&((!f[7]||f[7]===`esm`)&&s.push({url:n,properties:[{name:`default`,alias:a[3]}]}),u+=`let ${a[3]} = $happy_dom.imports.get('${n}').default${f[8]}`);re=-1,o.push({url:n,type:f[7]||`esm`})}else if(f[9]&&f[10]&&te&&fm.test(p)){let t=sm.getURL(this.window,e,f[10]).href,n=f[9].trim();if(n===`*`)l+=`Object.assign($happy_dom.exports, $happy_dom.imports.get('${t}'))`,o.push({url:t,type:`esm`});else if(n[0]===`*`){let e=n.split(/\s+as\s+/);if(e.length===2){let n=e[1].replace(/["']/g,``);l+=`$happy_dom.exports['${n}'] = $happy_dom.imports.get('${t}')`,o.push({url:t,type:`esm`})}}else if(n[0]===`{`){let e=this.removeMultilineComments(n).slice(1,-1).split(/\s*,\s*/),r=[];for(let n of e){let e=n.trim().split(/\s+as\s+/),i=(e[1]||e[0]).replace(/["']/g,``),a=e[0].replace(/["']/g,``);i&&a&&r.push(`$happy_dom.exports['${i}'] = $happy_dom.imports.get('${t}')['${a}']`)}l+=r.join(`;
|
|
100
|
-
`),o.push({url:t,type:`esm`})}}else if(f[13]&&f[14]&&te&&fm.test(p)){let t=f[14].replace(`*`,``);if(t)f[11]?(l+=f[0].replace(gm,``),d+=`$happy_dom.exports.default = ${t};\n`):(l+=f[0].replace(hm,``),d+=`$happy_dom.exports['${t}'] = ${t};\n`);else if(f[11])l+=`$happy_dom.exports.default = ${f[12]||``}${f[13]}${t?` `:``}${f[14]}`;else throw new this.window.SyntaxError(`Failed to parse module: Missing function or class name in export statement in "${e}"`)}else if(f[15]&&te&&fm.test(p))l+=`$happy_dom.exports.default = `;else if(f[16]&&te&&fm.test(p)){let e=this.removeMultilineComments(f[16]).split(/\s*,\s*/),t=[];for(let n of e){let e=n.trim().split(/\s+as\s+/),r=(e[1]||e[0]).replace(/["']/g,``),i=e[0].replace(/["']/g,``);r&&i&&dm.test(i)&&t.push(`$happy_dom.exports['${r}'] = ${i}`)}l+=t.join(`;
|
|
101
|
-
`)}else if(f[17]&&te&&fm.test(p))if(f[19]===`=`){let e=this.removeMultilineComments(f[18]).trim();if(e[0]===`{`&&e[e.length-1]===`}`||e[0]===`[`&&e[e.length-1]===`]`){let t=e.slice(1,-1).split(/\s*,\s*/);for(let e of t){let t=e.trim().split(/\s*:\s*/),n=(t[1]||t[0]).replace(/["']/g,``);n&&(d+=`$happy_dom.exports['${n}'] = ${n};\n`)}l+=f[0].replace(hm,``)}else l+=f[0].replace(hm,``),d+=`$happy_dom.exports['${e}'] = ${e};\n`}else{l+=f[0].replace(hm,``);let e=this.removeMultilineComments(f[18]).split(`,`);for(let t of e){let e=t.trim();d+=`$happy_dom.exports['${e}'] = ${e};\n`}}else if(re!==-1){let e=t.substring(re,f.index+1);l+=e,this.parseSyntax(e,re)}else l+=f[0],this.parseSyntax(f[0],f.index);ne=a.lastIndex}if(this.debug)return{imports:o,execute:async()=>{}};if(u&&!_m.test(u)&&(u=`\n${u};`),u=!i.disableErrorCapturing&&i.errorCapture===Ls.tryAndCatch?`(async function anonymous($happy_dom) { try {`+u:`(async function anonymous($happy_dom) {`+u,l=u+l,ne===0?l+=t:l+=t.substring(ne),l+=`
|
|
102
|
-
`+d,s.length>0){l+=`$happy_dom.addCircularImportResolver(() => {
|
|
103
|
-
`;for(let e of s)for(let t of e.properties)t.alias?l+=`${t.alias} = $happy_dom.imports.get('${e.url}')['${t.name}'];\n`:l+=`${t.name} = $happy_dom.imports.get('${e.url}')['${t.name}'];\n`;l+=`});`}!i.disableErrorCapturing&&i.errorCapture===Ls.tryAndCatch&&(l+=`} catch(e) { $happy_dom.dispatchError(e); }`),l+=`})`;let ie;try{ie=this.window[Fe](l,{filename:n||e})}catch(r){let a=this.getError(e,t,n),s=a?new this.window.SyntaxError(`Failed to parse module in '${e}'. Execution error: ${r.message}. Compile error: ${a}`):r;if(r.message=`Failed to parse module in '${n}': ${s.message}`,i.disableErrorCapturing||i.errorCapture!==Ls.tryAndCatch)throw s;return this.window[zo](s),{imports:o,execute:async()=>{}}}return!i.module.disableCache&&n&&r[as].set(e,{imports:o,code:l}),{imports:o,execute:ie}}parseSyntax(e,t){let n=new RegExp(lm),r=this.count,i=this.debug,a=this.debugCount,o=null,s,c;for(t++;o=n.exec(e);)s=e[o.index-1]||` `,c=s===`\\`&&e[o.index-2]!==`\\`,o[1]?r.simpleString===0&&r.doubleString===0&&r.singleLineComment===0&&r.regExpSquareBrackets===0&&(this.templateString.length===0||this.templateString[0]>0)&&(r.comment===1?s===`*`&&(r.comment=0,i&&(a.comment.length=0)):r.regExp===0?e[o.index+1]===`*`?(r.comment=1,i&&(a.comment=[t+o.index])):e[o.index+1]===`/`?(r.singleLineComment=1,i&&(a.singleLineComment=[t+o.index])):pm.test(this.getNonSpacePrecedingToken(e,o.index))&&(r.regExp=1,i&&(a.regExp=[t+o.index])):c||(r.regExp=0,i&&(a.regExp.length=0))):o[2]?r.simpleString===0&&r.doubleString===0&&r.regExp===0&&r.comment===0&&r.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(o[2]===`(`?(r.parentheses++,i&&a.parentheses.push(t+o.index)):o[2]===`)`&&r.parentheses>0&&(r.parentheses--,i&&a.parentheses.pop())):o[3]?r.simpleString===0&&r.doubleString===0&&r.regExp===0&&r.comment===0&&r.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(o[3]===`{`?(this.templateString.length&&this.templateString[0]++,r.curlyBraces++,i&&a.curlyBraces.push(t+o.index)):o[3]===`}`&&(this.templateString.length&&this.templateString[0]>0&&this.templateString[0]--,r.curlyBraces>0&&(r.curlyBraces--,i&&a.curlyBraces.pop()))):o[4]?r.simpleString===0&&r.doubleString===0&&r.comment===0&&r.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(r.regExp===1?c||(o[4]===`[`&&r.regExpSquareBrackets===0?(r.regExpSquareBrackets=1,i&&(a.regExpSquareBrackets=[t+o.index])):o[4]===`]`&&r.regExpSquareBrackets===1&&(r.regExpSquareBrackets=0,i&&(a.regExpSquareBrackets.length=0))):o[4]===`[`?(r.squareBrackets++,i&&a.squareBrackets.push(t+o.index)):o[4]===`]`&&r.squareBrackets>0&&(r.squareBrackets--,i&&a.squareBrackets.pop())):o[5]?r.simpleString===0&&r.doubleString===0&&r.comment===0&&r.singleLineComment===0&&r.regExp===0&&!c&&this.templateString[0]===0&&(this.templateString[0]=1,r.curlyBraces++,i&&a.curlyBraces.push(t+o.index)):o[6]?r.simpleString===0&&r.doubleString===0&&r.comment===0&&r.singleLineComment===0&&r.regExp===0&&!c&&(this.templateString?.[0]===0?this.templateString.shift():this.templateString.unshift(0)):o[7]?r.doubleString===0&&r.comment===0&&r.singleLineComment===0&&r.regExp===0&&!c&&(this.templateString.length===0||this.templateString[0]>0)&&(r.simpleString===0?(r.simpleString=1,i&&(a.simpleString=[t+o.index])):(r.simpleString=0,i&&(a.simpleString.length=0))):o[8]?r.simpleString===0&&r.comment===0&&r.singleLineComment===0&&r.regExp===0&&!c&&(this.templateString.length===0||this.templateString[0]>0)&&(r.doubleString===0?(r.doubleString=1,i&&(a.doubleString=[t+o.index])):(r.doubleString=0,i&&(a.doubleString.length=0))):o[9]&&(r.singleLineComment=0,i&&(a.singleLineComment.length=0))}getError(e,t,n){if(this.count.comment===0&&this.count.singleLineComment===0&&this.count.parentheses===0&&this.count.curlyBraces===0&&this.count.squareBrackets===0&&this.count.regExp===0&&this.count.regExpSquareBrackets===0&&this.count.simpleString===0&&this.count.doubleString===0)return null;this.debug||(this.debug=!0,this.compile(e,t,n));let r=this.debugCount;if(r.comment.length>0){let{line:e,column:n}=this.getLineAndColumn(t,r.comment[0]);return`Missing end of comment on line ${e} and column ${n}`}else if(r.regExp.length>0){let{line:e,column:n}=this.getLineAndColumn(t,r.regExp[0]);return`Missing end of regular expression on line ${e} and column ${n}`}else if(r.regExpSquareBrackets.length>0){let{line:e,column:n}=this.getLineAndColumn(t,r.regExpSquareBrackets[0]);return`Missing end of regular expression square brackets on line ${e} and column ${n}`}else if(r.simpleString.length>0){let{line:e,column:n}=this.getLineAndColumn(t,r.simpleString[0]);return`Missing end of single quote string on line ${e} and column ${n}`}else if(r.doubleString.length>0){let{line:e,column:n}=this.getLineAndColumn(t,r.doubleString[0]);return`Missing end of double quote string on line ${e} and column ${n}`}else if(r.parentheses.length>0){let{line:e,column:n}=this.getLineAndColumn(t,r.parentheses[0]);return`Missing end of parentheses on line ${e} and column ${n}`}else if(r.curlyBraces.length>0){let{line:e,column:n}=this.getLineAndColumn(t,r.curlyBraces[0]);return`Missing end of curly braces on line ${e} and column ${n}`}else if(r.squareBrackets.length>0){let{line:e,column:n}=this.getLineAndColumn(t,r.squareBrackets[0]);return`Missing end of square brackets on line ${e} and column ${n}`}else if(r.escapeTemplateString.length>0){let{line:e,column:n}=this.getLineAndColumn(t,r.escapeTemplateString[0]);return`Missing end of escaped template string on line ${e} and column ${n}`}return null}getLineAndColumn(e,t){let n=e.substring(0,t).split(`
|
|
104
|
-
`);return{line:n.length,column:n[n.length-1].length}}getNonSpacePrecedingToken(e,t){t--;let n=e[t];for(;n===` `||n===`
|
|
105
|
-
`||n===` `;)t--,n=e[t];return n||`;`}removeMultilineComments(e){let t=new RegExp(mm),n,r=0,i=0,a=``;for(;n=t.exec(e);)r===0&&(a+=e.substring(i,n.index)),n[0]===`/*`?r++:n[0]===`*/`&&r>0&&r--,i=t.lastIndex;return a+=e.substring(i),a}reset(){this.count={comment:0,singleLineComment:0,parentheses:0,curlyBraces:0,squareBrackets:0,regExp:0,regExpSquareBrackets:0,escapeTemplateString:0,simpleString:0,doubleString:0},this.debugCount={comment:[],singleLineComment:[],parentheses:[],curlyBraces:[],squareBrackets:[],regExp:[],regExpSquareBrackets:[],escapeTemplateString:[],simpleString:[],doubleString:[]},this.templateString=[]}};const ym={imports:[],execute:async()=>{}};var bm=class e{url;[b];#e;#t;#n=!1;#r=null;#i=null;#a=null;#o;constructor(e){this[b]=e.window,this.url=e.url,this.#e=e.source,this.#t=e.sourceURL||null,this.#o=e.factory}async evaluate(t=[],n=null){if(this.#a)return t.includes(this.url.href)?(n&&this.#a.push(n),this.#i):new Promise(e=>{this.#a.push(e)});if(this.#i)return this.#i;let r=this.#s(),i=[],a=this[b];if(!new Y(a).getBrowserFrame())return{};let o={};this.#i=o,this.#a=[];for(let e of r.imports)i.push(this.#o.getModule(e.url,{with:{type:e.type}}));let s=new Map,c=null,l=()=>{c&&c()};if(i.length){let n=await Promise.all(i),r=[...t,this.url.href];for(let t of n)if(t instanceof e){let e=await t.evaluate(r,l);s.set(t.url.href,e)}else{let e=await t.evaluate();s.set(t.url.href,e)}}let u=this.url.href;r.execute({dispatchError:a[zo].bind(a),dynamicImport:this.#o.importModule.bind(this.#o),importMeta:{url:u,resolve:e=>new p(e,u).href},imports:s,exports:o,addCircularImportResolver:e=>c=e});let d=this.#a;this.#a=null;for(let e of d)e(o);return o}async preload(){if(this.#n)return;this.#n=!0;let e=this.#s(),t=[],n=this[b];if(!new Y(n).getBrowserFrame())return;for(let n of e.imports)t.push(this.#o.getModule(n.url,{with:{type:n.type}}));let r=await Promise.all(t),i=[];for(let e of r)i.push(e.preload());await Promise.all(i)}#s(){if(this.#r)return this.#r;this.#r=ym;let e=new vm(this[b]);return this.#r=e.compile(this.url.href,this.#e,this.#t),this.#r}},xm=class e{window;parentURL;constructor(e,t){this.window=e,this.parentURL=t}async getModule(t,n){let r=this.window,i=this.parentURL,a=sm.getURL(r,i,t),o=a.href,s=n?.with?.type||`esm`;if(s!==`esm`&&s!==`css`&&s!==`json`)throw new r.TypeError(`Failed to import module "${a}" from "${i}": Unknown type "${s}"`);let c=r[ko][s].get(o);if(c)return c instanceof im?(await new Promise((e,t)=>{c.addResolveListener(e,t)}),r[ko][s].get(o)):c;if(!new Y(r).getBrowserFrame())throw new r.TypeError(`Failed to import module "${a}" from "${i}": Window is closed and is no longer attached to a frame`);let l=new im({window:r,url:a}),u=r[$e],d=u.startTask();r[ko][s].set(o,l);let f=new tm(r),p;try{p=await f.fetch(a,`module`)}catch(e){throw u.endTask(d),l.resolve(e),e}u.endTask(d);let ee;switch(s){case`json`:ee=new rm({window:r,url:a,source:p.content});break;case`css`:ee=new nm({window:r,url:a,source:p.content});break;case`esm`:ee=new bm({window:r,url:a,source:p.content,sourceURL:p.virtualServerFile||o,factory:new e(r,a)});break}return r[ko][s].set(o,ee),l.resolve(),ee}async importModule(e,t){let n=new Y(this.window).getBrowserFrame();if(!n)return{};let r=n[fe],i=r?.startTask(),a=await(await this.getModule(e,t)).evaluate();return r.endTask(i),a}},Sm=class{integrityMetadata=null;response=null;error=null;#e=null;onResponseAvailable(){return new Promise((e,t)=>{this.#e={resolve:e,reject:t}})}responseAvailable(e,t){this.response=t,this.error=e,this.#e&&(e?this.#e.reject(e):t?this.#e.resolve(t):this.#e.reject(Error(`Response is null`)))}},Cm=class extends Q{[en]=null;[ts]=!1;[nt]=null;#e=null;get onerror(){return Z.getEventListener(this,`onerror`)}set onerror(e){this[V].set(`onerror`,e)}get onload(){return Z.getEventListener(this,`onload`)}set onload(e){this[V].set(`onload`,e)}get sheet(){return this[en]}get relList(){return this[nt]||(this[nt]=new kd(N,this,`rel`,[`stylesheet`,`modulepreload`,`preload`])),this[nt]}set relList(e){this.setAttribute(`rel`,e)}get as(){return this.getAttribute(`as`)||``}set as(e){this.setAttribute(`as`,e)}get crossOrigin(){return this.getAttribute(`crossorigin`)||``}set crossOrigin(e){this.setAttribute(`crossorigin`,e)}get href(){if(!this.hasAttribute(`href`))return``;try{return new URL(this.getAttribute(`href`),this[g].location.href).href}catch{return this.getAttribute(`href`)}}set href(e){this.setAttribute(`href`,e)}get hreflang(){return this.getAttribute(`hreflang`)||``}set hreflang(e){this.setAttribute(`hreflang`,e)}get media(){return this.getAttribute(`media`)||``}set media(e){this.setAttribute(`media`,e)}get referrerPolicy(){return this.getAttribute(`referrerPolicy`)||``}set referrerPolicy(e){this.setAttribute(`referrerPolicy`,e)}get rel(){return this.getAttribute(`rel`)||``}set rel(e){this.setAttribute(`rel`,e)}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}[Ce](){super[Ce]();let e=this.getAttribute(`rel`),t=this.getAttribute(`href`);if(e&&t)switch(e){case`stylesheet`:this.#r(t);break;case`modulepreload`:this.#t(t);break;case`preload`:this.#n(t);break}}[qn](e,t){if(super[qn](e,t),e[E]===`rel`||e[E]===`href`){let e=this.getAttribute(`rel`),t=this.getAttribute(`href`);if(e&&t)switch(e){case`stylesheet`:this.#r(t);break;case`modulepreload`:this.#t(t);break;case`preload`:this.#n(t);break}}}async#t(e){let t=this[b],n=new Y(t).getBrowserFrame(),r=new Y(t).getSettings();if(!n||!r||!this[x]||r.disableJavaScriptFileLoading||!r.enableJavaScriptEvaluation)return;let i=new xm(t,t.location);if(r.disableErrorCapturing||r.errorCapture!==Ls.tryAndCatch)await(await i.getModule(e)).preload();else try{await(await i.getModule(e)).preload()}catch(e){n.page.console.error(e),t[zo](e);return}}async#n(e){let t=this[b],n=new Y(t).getBrowserFrame(),r=this.as;if(!n||!this[x]||r!==`script`&&r!==`style`&&r!==`fetch`)return;let i=n.page.context.browser.settings;if(r===`script`&&(i.disableJavaScriptFileLoading||!i.enableJavaScriptEvaluation)||r===`style`&&i.disableCSSFileLoading)return;let a=new URL(e,t.location.href).href,o=Gu.getKey({url:a,destination:r,mode:`cors`,credentialsMode:this.crossOrigin===`use-credentials`?`include`:`same-origin`});if(t.document[Ao].has(o))return;let s=new Sm;t.document[Ao].set(o,s);let c=new qu({browserFrame:n,window:t,url:a,disableSameOriginPolicy:r===`script`||r===`style`,disablePreload:!0,init:{credentials:this.crossOrigin===`use-credentials`?`include`:`same-origin`}});try{let e=await c.send();e[me]||await e.buffer(),s.responseAvailable(null,e)}catch(e){s.responseAvailable(e,null),t.document[Ao].delete(o),n.page.console.error(`Failed to preload resource "${a}": ${e.message}`)}}async#r(e){let t=this[b],n=new Y(t).getBrowserFrame();if(!n||e===null)return;let r=n.page.context.browser.settings;if(this[ts]||!this[x])return;let i;try{i=new URL(e,t.location.href).href}catch{return}if(this.#e===i)return;if(r&&r.disableCSSFileLoading){if(r.handleDisabledFileLoadingAsSuccess)this.dispatchEvent(new W(`load`));else{let e=new t.DOMException(`Failed to load external stylesheet "${i}". CSS file loading is disabled.`,H.notSupportedError);n.page.console.error(e),this.dispatchEvent(new W(`error`))}return}let a=new tm(t),o=t[$e];this.#e=i;let s=o.startTask(),c=null,l=null;try{c=await a.fetch(i,`style`,{credentials:this.crossOrigin===`use-credentials`?`include`:`same-origin`})}catch(e){l=e}if(o.endTask(s),l)n.page.console.error(l),this.dispatchEvent(new W(`error`));else{let e=new this[g][b].CSSStyleSheet;e.replaceSync(c.content),this[en]=e;let t=this[g];if(t){for(let e of t[Qn])e.result=null;t[Qn]=[]}this.dispatchEvent(new W(`load`))}}},wm=class extends Q{[pr]=null;get areas(){return this[pr]||(this[pr]=jd.getElementsByTagName(this,`area`)),this[pr]}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}},Tm=class extends Array{constructor(e){if(super(),e!==1&&e!==N)throw TypeError(`Illegal constructor`)}getCueById(e){for(let t of this)if(t.id===e)return t;return null}},Em=class extends Q{},Dm=class extends Q{get content(){return this.getAttribute(`content`)||``}set content(e){this.setAttribute(`content`,e)}get httpEquiv(){return this.getAttribute(`http-equiv`)||``}set httpEquiv(e){this.setAttribute(`http-equiv`,e)}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get scheme(){return this.getAttribute(`scheme`)||``}set scheme(e){this.setAttribute(`scheme`,e)}},Om=class extends Q{get high(){if(!this.hasAttribute(`high`))return 1;let e=parseFloat(this.getAttribute(`high`)||``);return isNaN(e)||e>1?1:e<0?0:e}set high(e){if(e=typeof e==`number`?e:Number(e),isNaN(e))throw new this[b].TypeError(`Failed to set the 'high' property on 'HTMLMeterElement': The provided double value is non-finite.`);this.setAttribute(`high`,String(e))}get low(){if(!this.hasAttribute(`low`))return 0;let e=parseFloat(this.getAttribute(`low`)||``);return isNaN(e)||e<0?0:e>1?1:e}set low(e){if(e=typeof e==`number`?e:Number(e),isNaN(e))throw new this[b].TypeError(`Failed to set the 'low' property on 'HTMLMeterElement': The provided double value is non-finite.`);this.setAttribute(`low`,String(e))}get max(){if(!this.hasAttribute(`max`))return 1;let e=parseFloat(this.getAttribute(`max`)||``);return isNaN(e)||e>1?1:e<0?0:e}set max(e){if(e=typeof e==`number`?e:Number(e),isNaN(e))throw new this[b].TypeError(`Failed to set the 'max' property on 'HTMLMeterElement': The provided double value is non-finite.`);this.setAttribute(`max`,String(e))}get min(){if(!this.hasAttribute(`min`))return 0;let e=parseFloat(this.getAttribute(`min`)||``);return isNaN(e)||e<0?0:e>1?1:e}set min(e){if(e=typeof e==`number`?e:Number(e),isNaN(e))throw new this[b].TypeError(`Failed to set the 'min' property on 'HTMLMeterElement': The provided double value is non-finite.`);this.setAttribute(`min`,String(e))}get optimum(){if(!this.hasAttribute(`optimum`))return .5;let e=parseFloat(this.getAttribute(`optimum`)||``);return isNaN(e)?.5:e<0?0:e>1?1:e}set optimum(e){if(e=typeof e==`number`?e:Number(e),isNaN(e))throw new this[b].TypeError(`Failed to set the 'optimum' property on 'HTMLMeterElement': The provided double value is non-finite.`);this.setAttribute(`optimum`,String(e))}get value(){if(!this.hasAttribute(`value`))return 0;let e=parseFloat(this.getAttribute(`value`)||``);return isNaN(e)||e<0?0:e>1?1:e}set value(e){if(e=typeof e==`number`?e:Number(e),isNaN(e))throw new this[b].TypeError(`Failed to set the 'value' property on 'HTMLMeterElement': The provided double value is non-finite.`);this.setAttribute(`value`,String(e))}get labels(){return qf.getAssociatedLabelElements(this)}},km=class extends Q{get cite(){if(!this.hasAttribute(`cite`))return``;try{return new URL(this.getAttribute(`cite`),this[g].location.href).href}catch{return this.getAttribute(`cite`)}}set cite(e){this.setAttribute(`cite`,e)}get dateTime(){return this.getAttribute(`datetime`)||``}set dateTime(e){this.setAttribute(`datetime`,e)}},Am=class extends Q{get reversed(){return this.getAttribute(`reversed`)!==null}set reversed(e){e?this.setAttribute(`reversed`,``):this.removeAttribute(`reversed`)}get start(){if(!this.hasAttribute(`start`))return 1;let e=Number(this.getAttribute(`start`)||``);return isNaN(e)?1:e}set start(e){typeof e!=`number`&&(e=Number(e)),isNaN(e)&&(e=0),this.setAttribute(`start`,String(e))}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}},jm=class extends Q{[Le]=null;[Gt]=``;[Kt]=new Kf(this);get contentDocument(){return null}get contentWindow(){return null}get data(){if(!this.hasAttribute(`data`))return``;try{return new URL(this.getAttribute(`data`),this[g].location.href).href}catch{return this.getAttribute(`data`)}}set data(e){this.setAttribute(`data`,e)}get form(){if(this[Le])return this[Le];let e=this.getAttribute(`form`);return!e||!this[x]?null:this[g].getElementById(e)}get height(){return this.getAttribute(`height`)||``}set height(e){this.setAttribute(`height`,e)}get width(){return this.getAttribute(`width`)||``}set width(e){this.setAttribute(`width`,e)}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}get validationMessage(){return this[Gt]}get validity(){return this[Kt]}get willValidate(){return!1}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?0:t}return 0}set tabIndex(e){super.tabIndex=e}checkValidity(){return!0}reportValidity(){return this.checkValidity()}setCustomValidity(e){this[Gt]=String(e)}},Mm=class extends Q{get label(){return this.getAttribute(`label`)||``}set label(e){e?this.setAttribute(`label`,e):this.removeAttribute(`label`)}get disabled(){return this.getAttribute(`disabled`)!==null}set disabled(e){e?this.setAttribute(`disabled`,``):this.removeAttribute(`disabled`)}},Nm=class extends Q{[ot]=!1;[Ne]=!1;[at]=null;get text(){return this.innerText}set text(e){this.innerText=e}get index(){return this[at]?J.querySelectorAll(this[at],`option`)[A].indexOf(this):0}get form(){return this[at]?.form||null}get selected(){return this[ot]}set selected(e){let t=this[at];this[Ne]=!0,this[ot]=!!e,t&&t[ht](this[ot]?this:null)}get disabled(){return this.getAttribute(`disabled`)!==null}set disabled(e){e?this.setAttribute(`disabled`,``):this.removeAttribute(`disabled`)}get value(){return this.getAttribute(`value`)??this.textContent}set value(e){this.setAttribute(`value`,e)}[qn](e,t){if(super[qn](e,t),!this[Ne]&&e[E]===`selected`&&t?.[v]!==e[v]){let e=this[at];this[ot]=!0,e&&e[ht](this)}}[Jn](e){if(super[Jn](e),e&&!this[Ne]&&e[E]===`selected`){let e=this[at];this[ot]=!1,e&&e[ht]()}}[xe](){super[xe](),this[at]&&this[at][ht]()}[Se](){this[at]&&this[at][ht](),super[Se]()}},Pm=class extends Q{[Le]=null;[Gt]=``;[Kt]=new Kf(this);[mr]=``;get defaultValue(){return this[mr]}set defaultValue(e){this[mr]=e}get form(){if(this[Le])return this[Le];let e=this.getAttribute(`form`);return!e||!this[x]?null:this[g].getElementById(e)}get htmlFor(){return this.getAttribute(`for`)||``}set htmlFor(e){this.setAttribute(`for`,e)}get labels(){return qf.getAssociatedLabelElements(this)}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get value(){return this.textContent||``}set value(e){this.textContent=e}get type(){return`output`}get validationMessage(){return this[Gt]}get validity(){return this[Kt]}get willValidate(){return!1}checkValidity(){return!0}reportValidity(){return this.checkValidity()}setCustomValidity(e){this[Gt]=String(e)}},Fm=class extends Q{},Im=class extends Q{},Lm=class extends Q{},Rm=class extends Q{},zm=class extends Q{get max(){if(!this.hasAttribute(`max`))return 1;let e=parseFloat(this.getAttribute(`max`)||``);return isNaN(e)||e<0?1:e}set max(e){if(e=typeof e==`number`?e:Number(e),isNaN(e))throw new this[b].TypeError(`Failed to set the 'max' property on 'HTMLProgressElement': The provided double value is non-finite.`);this.setAttribute(`max`,e<0?`1`:String(e))}get value(){if(!this.hasAttribute(`value`))return 0;let e=parseFloat(this.getAttribute(`value`)||``);return isNaN(e)||e<0?0:e}set value(e){if(e=typeof e==`number`?e:Number(e),isNaN(e))throw new this[b].TypeError(`Failed to set the 'value' property on 'HTMLProgressElement': The provided double value is non-finite.`);this.setAttribute(`value`,e<0?`0`:String(e))}get position(){return this.hasAttribute(`value`)?this.value/this.max:-1}get labels(){return qf.getAssociatedLabelElements(this)}},Bm=class extends Q{get cite(){if(!this.hasAttribute(`cite`))return``;try{return new URL(this.getAttribute(`cite`),this[g].location.href).href}catch{return this.getAttribute(`cite`)}}set cite(e){this.setAttribute(`cite`,e)}};const Vm=/import\s*\(([^)]+)\)/gm,Hm=/(\/)|(\(|\))|({|})|(\[|\])|(\${)|(`)|(')|(")|(\n)/gm,Um=/['"`(){}\s;=><\[\]+-,:&]/,Wm=/['"`({};=><\[+-,:&]/;var Gm=class{window;count={comment:0,singleLineComment:0,parentheses:0,curlyBraces:0,squareBrackets:0,regExp:0,regExpSquareBrackets:0,escapeTemplateString:0,simpleString:0,doubleString:0};templateString=[];constructor(e){this.window=e}compile(e,t){let n=new Y(this.window).getSettings();if(!n)return{execute:()=>{}};let r=new RegExp(Vm),i=this.count,a=`(function anonymous($happy_dom) {`,o=null,s,c,l=0;for(!n.disableErrorCapturing&&n.errorCapture===Ls.tryAndCatch&&(a+=`try {`);o=r.exec(t);)s=t[o.index-1]||` `,c=t.substring(l,o.index),this.parseSyntax(c,l),a+=c,o[1]&&i.simpleString===0&&i.doubleString===0&&i.comment===0&&i.singleLineComment===0&&i.regExp===0&&(this.templateString.length===0||this.templateString[0]>0)&&Um.test(s)?a+=`$happy_dom.dynamicImport(${o[1]})`:(a+=o[0],this.parseSyntax(o[0],o.index)),l=r.lastIndex;l===0?a+=t:a+=t.substring(l),!n.disableErrorCapturing&&n.errorCapture===Ls.tryAndCatch&&(a+=`} catch (error) { $happy_dom.dispatchError(error); }`),a+=`})`;try{return{execute:this.window[Fe](a,{filename:e})}}catch(t){if(t.message=`Failed to parse JavaScript in '${e}': ${t.message}`,n.disableErrorCapturing||n.errorCapture!==Ls.tryAndCatch)throw t;return this.window[zo](t),{execute:()=>{}}}}parseSyntax(e,t){let n=new RegExp(Hm),r=this.count,i=null,a,o;for(t++;i=n.exec(e);)a=e[i.index-1]||` `,o=a===`\\`&&e[i.index-2]!==`\\`,i[1]?r.simpleString===0&&r.doubleString===0&&r.singleLineComment===0&&r.regExpSquareBrackets===0&&(this.templateString.length===0||this.templateString[0]>0)&&(r.comment===1?a===`*`&&(r.comment=0):r.regExp===0?e[i.index+1]===`*`?r.comment=1:e[i.index+1]===`/`?r.singleLineComment=1:Wm.test(this.getNonSpacePrecedingToken(e,i.index))&&(r.regExp=1):o||(r.regExp=0)):i[2]?r.simpleString===0&&r.doubleString===0&&r.regExp===0&&r.comment===0&&r.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(i[2]===`(`?r.parentheses++:i[2]===`)`&&r.parentheses>0&&r.parentheses--):i[3]?r.simpleString===0&&r.doubleString===0&&r.regExp===0&&r.comment===0&&r.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(i[3]===`{`?(this.templateString.length&&this.templateString[0]++,r.curlyBraces++):i[3]===`}`&&(this.templateString.length&&this.templateString[0]>0&&this.templateString[0]--,r.curlyBraces>0&&r.curlyBraces--)):i[4]?r.simpleString===0&&r.doubleString===0&&r.comment===0&&r.singleLineComment===0&&(this.templateString.length===0||this.templateString[0]>0)&&(r.regExp===1?o||(i[4]===`[`&&r.regExpSquareBrackets===0?r.regExpSquareBrackets=1:i[4]===`]`&&r.regExpSquareBrackets===1&&(r.regExpSquareBrackets=0)):i[4]===`[`?r.squareBrackets++:i[4]===`]`&&r.squareBrackets>0&&r.squareBrackets--):i[5]?r.simpleString===0&&r.doubleString===0&&r.comment===0&&r.singleLineComment===0&&r.regExp===0&&!o&&this.templateString[0]===0&&(this.templateString[0]=1,r.curlyBraces++):i[6]?r.simpleString===0&&r.doubleString===0&&r.comment===0&&r.singleLineComment===0&&r.regExp===0&&!o&&(this.templateString?.[0]===0?this.templateString.shift():this.templateString.unshift(0)):i[7]?r.doubleString===0&&r.comment===0&&r.singleLineComment===0&&r.regExp===0&&!o&&(this.templateString.length===0||this.templateString[0]>0)&&(r.simpleString===0?r.simpleString=1:r.simpleString=0):i[8]?r.simpleString===0&&r.comment===0&&r.singleLineComment===0&&r.regExp===0&&!o&&(this.templateString.length===0||this.templateString[0]>0)&&(r.doubleString===0?r.doubleString=1:r.doubleString=0):i[9]&&(r.singleLineComment=0)}getNonSpacePrecedingToken(e,t){t--;let n=e[t];for(;n===` `||n===`
|
|
106
|
-
`||n===` `;)t--,n=e[t];return n||`;`}},Km=class extends Q{[ts]=!1;[Lo]=null;#e=null;get onerror(){return Z.getEventListener(this,`onerror`)}set onerror(e){this[V].set(`onerror`,e)}get onload(){return Z.getEventListener(this,`onload`)}set onload(e){this[V].set(`onload`,e)}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}get blocking(){return this[Lo]||(this[Lo]=new kd(N,this,`blocking`)),this[Lo]}set blocking(e){this.setAttribute(`blocking`,e)}get crossOrigin(){return this.getAttribute(`crossorigin`)||``}set crossOrigin(e){this.setAttribute(`crossorigin`,e)}get fetchPriority(){let e=this.getAttribute(`fetchpriority`);switch(e){case`high`:case`low`:case`normal`:return e;default:return`auto`}}set fetchPriority(e){this.setAttribute(`fetchpriority`,e)}get noModule(){return this.getAttribute(`nomodule`)!==null}set noModule(e){e?this.setAttribute(`nomodule`,``):this.removeAttribute(`nomodule`)}get integrity(){return this.getAttribute(`integrity`)||``}set integrity(e){this.setAttribute(`integrity`,e)}get referrerPolicy(){let e=this.getAttribute(`referrerpolicy`);switch(e){case`no-referrer`:case`no-referrer-when-downgrade`:case`same-origin`:case`origin`:case`strict-origin`:case`origin-when-cross-origin`:case`strict-origin-when-cross-origin`:case`unsafe-url`:return e;default:return``}}set referrerPolicy(e){this.setAttribute(`referrerpolicy`,e)}get src(){if(!this.hasAttribute(`src`))return``;try{return new URL(this.getAttribute(`src`),this[g].location.href).href}catch{return this.getAttribute(`src`)}}set src(e){this.setAttribute(`src`,e)}get charset(){return this.getAttribute(`charset`)||``}set charset(e){this.setAttribute(`charset`,e)}get lang(){return this.getAttribute(`lang`)||``}set lang(e){this.setAttribute(`lang`,e)}get async(){return this.getAttribute(`async`)!==null}set async(e){e?this.setAttribute(`async`,``):this.removeAttribute(`async`)}get defer(){return this.getAttribute(`defer`)!==null}set defer(e){e?this.setAttribute(`defer`,``):this.removeAttribute(`defer`)}get text(){return this.textContent}set text(e){this.textContent=e}[Nn](e=!1){return super[Nn](e)}[Ce](){let e=new Y(this[b]).getSettings();if(super[Ce](),this[ts])return;let t=this.getAttribute(`src`);if(t!==null)this.getAttribute(`type`)===`module`?this.#i(t):this.#a(t);else if(e&&e.enableJavaScriptEvaluation){let e=this.textContent,t=this.getAttribute(`type`);e&&(t===`module`?this.#t(e):t===`importmap`?this.#n(e):(t===null||t===`application/x-ecmascript`||t===`application/x-javascript`||t.startsWith(`text/javascript`))&&this.#r(e))}}[qn](e,t){super[qn](e,t),e[E]===`src`&&e[v]!==null&&this[x]&&(this.getAttribute(`type`)===`module`?this.#i(e[v]):this.#a(e[v]))}#t(e){let t=this[g].location,n=this[b],r=new Y(n).getSettings();if(!new Y(n).getBrowserFrame()||!r||!r.enableJavaScriptEvaluation)return;this[g][Oe]=this;let i=new bm({window:n,url:t,source:e,factory:new xm(n,t)});r.disableErrorCapturing||r.errorCapture!==Ls.tryAndCatch?i.evaluate():i.evaluate().catch(e=>{n[zo](e)}),this[g][Oe]=null,this.dispatchEvent(new W(`load`))}async#n(e){let t=this[b],n=new Y(t).getSettings();if(!new Y(t).getBrowserFrame()||!n||t[Ro]||!n.enableJavaScriptEvaluation)return;let r;if(n.disableErrorCapturing||n.errorCapture!==Ls.tryAndCatch)r=JSON.parse(e);else try{r=JSON.parse(e)}catch(e){t[zo](e);return}if(r.imports||r.scopes){let e={imports:[],scopes:[]};if(r.imports)for(let t of Object.keys(r.imports))e.imports.push({from:t,to:r.imports[t]});if(r.scopes)for(let t of Object.keys(r.scopes)){let n={scope:t,rules:[]};for(let e of Object.keys(r.scopes[t])){let i=r.scopes[t][e];n.rules.push({from:e,to:i})}e.scopes.push(n)}t[Ro]=e}}#r(e){let t=this[b];if(!new Y(t).getSettings())return;this[g][Oe]=this;let n=new Gm(t).compile(t.location.href,e),r=new xm(t,t.location);n.execute({dynamicImport:r.importModule.bind(r),dispatchError:t[zo].bind(t)}),this[g][Oe]=null}async#i(e){let t=this[b],n=new Y(t).getBrowserFrame(),r=new Y(t).getSettings();if(!n||!r||!e||!this[x]||this.getAttribute(`type`)!==`module`)return;if(r&&(r.disableJavaScriptFileLoading||!r.enableJavaScriptEvaluation)){if(r.handleDisabledFileLoadingAsSuccess)this.dispatchEvent(new W(`load`));else{let r=new t.DOMException(`Failed to load module "${e}". JavaScript file loading is disabled.`,H.notSupportedError);n.page.console.error(r),this.dispatchEvent(new W(`error`))}return}let i=new xm(t,t.location);if(r.disableErrorCapturing||r.errorCapture!==Ls.tryAndCatch)await(await i.getModule(e)).evaluate();else try{await(await i.getModule(e)).evaluate()}catch(e){n.page.console.error(e),this.dispatchEvent(new W(`error`));return}this.dispatchEvent(new W(`load`))}async#a(e){let t=this[b],n=new Y(t).getBrowserFrame();if(!n)return;let r=n.page.context.browser.settings,i=this.getAttribute(`type`);if(!e||!this[x]||i!==null&&i!==`application/x-ecmascript`&&i!==`application/x-javascript`&&!i.startsWith(`text/javascript`))return;let a;try{a=new URL(e,t.location.href)}catch{return}let o=a.toString();if(this.#e===o)return;if(r&&(r.disableJavaScriptFileLoading||!r.enableJavaScriptEvaluation)){if(r.handleDisabledFileLoadingAsSuccess)this.dispatchEvent(new W(`load`));else{let e=new t.DOMException(`Failed to load script "${a}". JavaScript file loading is disabled.`,H.notSupportedError);n.page.console.error(e),this.dispatchEvent(new W(`error`))}return}this.#e=o;let s=new tm(t),c=this.getAttribute(`async`)!==null||this.getAttribute(`defer`)!==null,l=null;if(c){let e=t[$e],r=e.startTask();try{l=await s.fetch(o,`script`,{credentials:this.crossOrigin===`use-credentials`?`include`:`same-origin`,referrerPolicy:this.referrerPolicy})}catch(t){n.page.console.error(t),this.dispatchEvent(new W(`error`)),e.endTask(r);return}e.endTask(r)}else try{l=s.fetchSync(o,`script`,{credentials:this.crossOrigin===`use-credentials`?`include`:`same-origin`,referrerPolicy:this.referrerPolicy})}catch(e){n.page.console.error(e),this.dispatchEvent(new W(`error`));return}this[g][Oe]=this;let u=new Gm(t).compile(l.virtualServerFile||o,l.content),d=new xm(t,t.location);u.execute({dynamicImport:d.importModule.bind(d),dispatchError:t[zo].bind(t)}),this[g][Oe]=null,this.dispatchEvent(new W(`load`))}static supports(e){switch(e){case`classic`:case`module`:case`importmap`:return!0;default:return!1}}},qm=class extends Ad{constructor(e,t){super(e,()=>J.querySelectorAll(t,`option`)[A]),this[Ze]=t}get selectedIndex(){return this[Ze].selectedIndex}set selectedIndex(e){this[Ze].selectedIndex=e}add(e,t){this[Ze].add(e,t)}remove(e){this[Ze].remove(e)}},Jm=class e extends Q{[Gt]=``;[Kt]=new Kf(this);[yn]=null;[Un]=null;[lr]=-1;[ar];constructor(){super();let t=new Bc(this,[e,Q,Df,gd,nl]),n=new Proxy(this,{get:(e,n)=>{if(n in e||typeof n==`symbol`)return t.bind(n),e[n];let r=Number(n);if(!isNaN(r))return J.querySelectorAll(e,`option`)[A][r]},set(e,n,r){if(t.bind(n),typeof n==`symbol`)return e[n]=r,!0;let i=Number(n);if(isNaN(i))return e[n]=r,!0;if(!r||!(r instanceof Nm))throw new e[b].Error(`TypeError: Failed to set an indexed property [${i}] on 'HTMLSelectElement': parameter 2 is not of type 'HTMLOptionElement'.`);let a=J.querySelectorAll(e,`option`)[A],o=e[j];for(;o.length;)e[Fn](o[0]);for(let t=0;t<=i;t++)t===i?e[Pn](r):a[t]?e[Pn](a[t]):e[Pn](e[g].createElement(`option`));return!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(J.querySelectorAll(e,`option`)[A])},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return isNaN(n)?!1:!!J.querySelectorAll(e,`option`)[A][n]},defineProperty(e,n,r){t.preventBinding(n);let i=Number(n);if(isNaN(i))return Object.defineProperty(e,n,r),!0;if(!r.value||!(r.value instanceof Nm))throw new e[b].Error(`TypeError: Failed to set an indexed property [${i}] on 'HTMLSelectElement': parameter 2 is not of type 'HTMLOptionElement'.`);let a=J.querySelectorAll(e,`option`)[A],o=e[j];for(;o.length;)e[Fn](o[0]);for(let t=0;t<=i;t++)t===i?e[Pn](r.value):a[t]?e[Pn](a[t]):e[Pn](e[g].createElement(`option`));return!0},getOwnPropertyDescriptor(e,t){if(t in e)return Object.getOwnPropertyDescriptor(e,t);let n=Number(t);if(isNaN(n))return;let r=J.querySelectorAll(e,`option`)[A];if(r[n])return{value:r[n],writable:!0,enumerable:!0,configurable:!0}}});return this[ar]=n,this[at]=n,n}get onchange(){return Z.getEventListener(this,`onchange`)}set onchange(e){this[V].set(`onchange`,e)}get oninput(){return Z.getEventListener(this,`oninput`)}set oninput(e){this[V].set(`oninput`,e)}get length(){return J.querySelectorAll(this,`option`)[A].length}get options(){return this[yn]||(this[yn]=new qm(N,this)),this[yn]}get validationMessage(){return this[Gt]}get validity(){return this[Kt]}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get disabled(){return this.getAttribute(`disabled`)!==null}set disabled(e){e?this.setAttribute(`disabled`,``):this.removeAttribute(`disabled`)}get multiple(){return this.getAttribute(`multiple`)!==null}set multiple(e){e?this.setAttribute(`multiple`,``):this.removeAttribute(`multiple`)}get autofocus(){return this.getAttribute(`autofocus`)!==null}set autofocus(e){e?this.setAttribute(`autofocus`,``):this.removeAttribute(`autofocus`)}get required(){return this.getAttribute(`required`)!==null}set required(e){e?this.setAttribute(`required`,``):this.removeAttribute(`required`)}get type(){return this.hasAttributeNS(null,`multiple`)?`select-multiple`:`select-one`}get value(){let e=J.querySelectorAll(this,`option`)[A];for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n[ot])return n.value}return``}set value(e){let t=J.querySelectorAll(this,`option`)[A];this[lr]=-1;for(let n=0,r=t.length;n<r;n++){let r=t[n];r.value===e?(r[ot]=!0,r[Ne]=!0,this[lr]=n):r[ot]=!1}}get selectedIndex(){return this[lr]}set selectedIndex(e){if(e=Number(e),isNaN(e))return;let t=J.querySelectorAll(this,`option`)[A];if(this[lr]=-1,typeof e==`number`&&!isNaN(e)){for(let e=0,n=t.length;e<n;e++)t[e][ot]=!1;let n=t[e];n&&(n[ot]=!0,n[Ne]=!0,this[lr]=e)}}get selectedOptions(){return this[Un]||(this[Un]=new Ad(N,()=>{let e=J.querySelectorAll(this,`option`)[A];if(e[Un])return e[Un];let t=[];for(let n=0,r=e.length;n<r;n++){let r=e[n];r[ot]&&t.push(r)}return e[Un]=t,t})),this[Un]}get labels(){return qf.getAssociatedLabelElements(this)}get form(){if(this[Le])return this[Le];let e=this.getAttribute(`form`);return!e||!this[x]?null:this[g].getElementById(e)}get willValidate(){return this.type!==`hidden`&&this.type!==`reset`&&this.type!==`button`&&!this.disabled}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?0:t}return 0}set tabIndex(e){super.tabIndex=e}item(e){return this.options.item(e)}add(e,t){let n=J.querySelectorAll(this,`option`)[A];if(!t&&t!==0){let t=this[j];for(;t.length;)this[Fn](t[0]);for(let e of n)this[Pn](e);this[Pn](e);return}let r=this[b];if(typeof t!=`number`){if(!(t instanceof Nm))throw new r.DOMException(`Failed to execute 'add' on 'HTMLFormElement': The node before which the new node is to be inserted before is not an 'HTMLOptionElement'.`);t=n.indexOf(t)}if(!n[t])throw new r.DOMException(`Failed to execute 'add' on 'HTMLFormElement': The node before which the new node is to be inserted before is not a child of this node.`);let i=this[j];for(;i.length;)this[Fn](i[0]);for(let r=0,i=n.length;r<i;r++)r===t&&this[Pn](e),this[Pn](n[r])}remove(e){if(typeof e==`number`){let t=J.querySelectorAll(this,`option`)[A];if(!t[e])return;let n=this[j];for(;n.length;)this[Fn](n[0]);for(let n=0,r=t.length;n<r;n++)n!==e&&this[Pn](t[n])}else super.remove()}setCustomValidity(e){this[Gt]=String(e)}checkValidity(){let e=this.disabled||this[Kt].valid;return e||this.dispatchEvent(new W(`invalid`,{bubbles:!0,cancelable:!0})),e}reportValidity(){return this.checkValidity()}[ht](e){let t=this.hasAttribute(`multiple`),n=J.querySelectorAll(this,`option`)[A],r=[];if(e&&(this[lr]=-1),!t)for(let t=0,i=n.length;t<i;t++){let i=n[t];e&&(i[ot]=i===e,i===e&&(this[lr]=t)),i[ot]&&r.push(i)}if(this.#e()===1&&!r.length){this[lr]=-1;for(let e=0,t=n.length;e<t;e++){let t=n[e],r=t[S],i=t.hasAttributeNS(null,`disabled`);if(r&&r[C]===U.elementNode&&r[w]===`OPTGROUP`&&r.hasAttributeNS(null,`disabled`)&&(i=!0),!i){t[ot]=!0,this[lr]=e;break}}}else if(r.length>=2){this[lr]=-1;for(let e=0,t=n.length;e<t;e++)n[e][ot]=e===r.length-1,e===r.length-1&&(this[lr]=e)}}#e(){if(this.hasAttributeNS(null,`size`)){let e=parseInt(this.getAttribute(`size`));if(!isNaN(e)&&e>=0)return e}return this.hasAttributeNS(null,`multiple`)?4:1}},Ym,Xm=class extends Q{[br]=[];get onslotchange(){return Z.getEventListener(this,`onslotchange`)}set onslotchange(e){this[V].set(`onslotchange`,e)}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}assign(...e){let t=this.getRootNode();if(t?.[yr]!==`manual`)return;let n=t.host;if(n){for(let t of e)if(t instanceof gd&&n[j].includes(t)&&t[C]!==U.commentNode){if(t[xr]){let e=t[xr][br].indexOf(t);e!==-1&&t[xr][br].splice(e,1)}t[xr]=this,this[br].push(t)}}}assignedNodes(e){return this.#e(this.name,e)}assignedElements(e){return this.#t(this.name,e)}[Nn](e=!1){return super[Nn](e)}[qn](e,t){if(super[qn](e,t),e[E]===`name`&&e[v]!==t?.[v]){let n=this.#e(t?.[v]),r=this.#e(e.value);if(n.length!==r.length)this.dispatchEvent(new W(`slotchange`,{bubbles:!0}));else for(let e=0,t=r.length;e<t;e++)if(n[e]!==r[e]){this.dispatchEvent(new W(`slotchange`,{bubbles:!0}));break}}}[Jn](e){super[Jn](e),e[E]===`name`&&e[v]&&this.#e(e.value).length>0&&this.dispatchEvent(new W(`slotchange`,{bubbles:!0}))}#e(e,t){let n=this.getRootNode();if(!n?.host)return[];if(n[yr]===`manual`)return this[br];let r=n.host,i=!!t?.flatten,a=[];for(let n of r[j]){let r=n.slot;if(e&&r&&r===e||!e&&!r)if(i&&n instanceof Ym)for(let e of n.assignedNodes(t))a.push(e);else a.push(n)}return a}#t(e,t){let n=this.getRootNode();if(!n?.host)return[];if(n[yr]===`manual`){let e=[];for(let t of this[br])t instanceof Df&&e.push(t);return e}let r=n.host,i=!!t?.flatten,a=[];for(let n of r[Yn]){let r=n.slot;if(e&&r===e||!e&&!r)if(i&&n instanceof Ym)for(let e of n.assignedElements(t))a.push(e);else a.push(n)}return a}};Ym=Xm;var Zm=class extends Q{get height(){let e=Number(this.getAttribute(`height`));return isNaN(e)||e<0?0:e}set height(e){let t=Number(e);this.setAttribute(`height`,isNaN(t)||t<0?`0`:String(t))}get width(){let e=Number(this.getAttribute(`width`));return isNaN(e)||e<0?0:e}set width(e){let t=Number(e);this.setAttribute(`width`,isNaN(t)||t<0?`0`:String(t))}get media(){return this.getAttribute(`media`)||``}set media(e){this.setAttribute(`media`,e)}get sizes(){return this.getAttribute(`sizes`)||``}set sizes(e){this.setAttribute(`sizes`,e)}get src(){if(!this.hasAttribute(`src`))return``;try{return new URL(this.getAttribute(`src`),this[g].location.href).href}catch{return this.getAttribute(`src`)||``}}set src(e){this.setAttribute(`src`,e)}get srcset(){return this.getAttribute(`srcset`)||``}set srcset(e){this.setAttribute(`srcset`,e)}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}},Qm=class extends Q{},$m=class extends Q{[en]=null;[Wn]=this;[Vi]=!1;get media(){return this.getAttribute(`media`)||``}set media(e){this.setAttribute(`media`,e)}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}get disabled(){return this[Vi]}set disabled(e){this[Vi]=!!e}get sheet(){return this[x]?(this[en]||(this[en]=new this[g][b].CSSStyleSheet,this[en].replaceSync(this.textContent)),this[en]):null}[we](){super[we](),this[en]=null}[Me](){super[Me](),this[en]=null}[Gn](){this[en]&&this[en].replaceSync(this.textContent)}},eh=class extends Q{},th=class extends Q{get abbr(){return this.getAttribute(`abbr`)||``}set abbr(e){this.setAttribute(`abbr`,e)}get cellIndex(){let e=this.parentNode;for(;e;){if(e[w]===`TR`)return J.querySelectorAll(e,`td,th`)[A].indexOf(this);e=e.parentNode}return-1}get colSpan(){let e=Number(this.getAttribute(`colspan`));return isNaN(e)||e<1?1:e}set colSpan(e){let t=Number(e);this.setAttribute(`colspan`,isNaN(t)||t<1?`1`:String(t))}get headers(){return this.getAttribute(`headers`)||``}set headers(e){this.setAttribute(`headers`,String(e))}get rowSpan(){let e=Number(this.getAttribute(`rowspan`));return isNaN(e)||e<1?1:e}set rowSpan(e){let t=Number(e);this.setAttribute(`rowspan`,isNaN(t)||t<1?`1`:String(t))}get scope(){return this.getAttribute(`scope`)||``}set scope(e){this.setAttribute(`scope`,e)}},nh=class extends Q{},rh=class extends Q{insertRow(e=-1){typeof e!=`number`&&(e=-1);let t=J.querySelectorAll(this,`tr`)[A];if(e<-1)throw new this[b].DOMException(`Failed to execute 'insertRow' on 'HTMLTableSectionElement': The index provided (${e}) is less than -1.`,H.indexSizeError);if(e>t.length)throw new this[b].DOMException(`Failed to execute 'insertRow' on 'HTMLTableSectionElement': The index provided (${e}) is greater than the number of rows (${t.length}).`,H.indexSizeError);let n=this[g].createElement(`tr`);return e===-1||e===t.length?this.appendChild(n):this.insertBefore(n,t[e]),n}deleteRow(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'deleteRow' on 'HTMLTableSectionElement': 1 argument required, but only 0 present.`);if(typeof e!=`number`&&(e=-1),e<-1)throw new this[b].DOMException(`Failed to execute 'deleteRow' on 'HTMLTableSectionElement': The index provided (${e}) is less than -1.`,H.indexSizeError);let t=J.querySelectorAll(this,`tr`)[A];if(e>=t.length)throw new this[b].DOMException(`Failed to execute 'deleteRow' on 'HTMLTableSectionElement': The index provided (${e}) is greater than the number of rows in the table (${t.length}).`,H.indexSizeError);e===-1&&(e=t.length-1),t[e].remove()}},ih=class extends Q{[Cr]=null;[Tr]=null;get caption(){return J.querySelector(this,`caption`)}set caption(e){if(e){if(!(e instanceof eh))throw new this[b].TypeError(`Failed to set the 'caption' property on 'HTMLTableElement': Failed to convert value to 'HTMLTableCaptionElement'.`);this.caption?.remove(),this.insertBefore(e,this.firstChild)}else this.caption?.remove()}get tHead(){return J.querySelector(this,`thead`)}set tHead(e){if(e){if(!(e instanceof rh))throw new this[b].TypeError(`Failed to set the 'tHead' property on 'HTMLTableElement': Failed to convert value to 'HTMLTableSectionElement'.`);this.tHead?.remove();let t=!1;for(let n of this[Yn])if(n[w]!==`CAPTION`&&n[w]!==`COLGROUP`){this.insertBefore(e,n),t=!0;break}t||this.appendChild(e)}else this.tHead?.remove()}get tFoot(){return J.querySelector(this,`tfoot`)}set tFoot(e){if(e){if(!(e instanceof rh))throw new this[b].TypeError(`Failed to set the 'tFoot' property on 'HTMLTableElement': Failed to convert value to 'HTMLTableSectionElement'.`);this.tFoot?.remove();let t=!1;for(let n of this[Yn])if(n[w]!==`CAPTION`&&n[w]!==`COLGROUP`&&n[w]!==`THEAD`){this.insertBefore(e,n),t=!0;break}t||this.appendChild(e)}else this.tFoot?.remove()}get rows(){return this[Cr]||(this[Cr]=new Ad(N,()=>J.querySelectorAll(this,`tr`)[A])),this[Cr]}get tBodies(){return this[Tr]||(this[Tr]=new Ad(N,()=>J.querySelectorAll(this,`tbody`)[A])),this[Tr]}createTHead(){let e=this.tHead;if(e)return e;let t=this[g].createElement(`thead`);return this.tHead=t,t}deleteTHead(){this.tHead=null}createTFoot(){let e=this.tFoot;if(e)return e;let t=this[g].createElement(`tfoot`);return this.tFoot=t,t}deleteTFoot(){this.tFoot=null}createTBody(){let e=J.querySelectorAll(this,`tbody`)[A],t=this[g].createElement(`tbody`);if(e.length>0){let n=e[e.length-1];return n.parentNode?.insertBefore(t,n.nextSibling),t}return this.appendChild(t),t}createCaption(){let e=this.caption;if(e)return e;let t=this[g].createElement(`caption`);return this.caption=t,t}deleteCaption(){this.caption=null}insertRow(e=-1){typeof e!=`number`&&(e=-1);let t=J.querySelectorAll(this,`tr`)[A];if(e<-1)throw new this[b].DOMException(`Failed to execute 'insertRow' on 'HTMLTableElement': The index provided (${e}) is less than -1.`,H.indexSizeError);if(e>t.length)throw new this[b].DOMException(`Failed to execute 'insertRow' on 'HTMLTableElement': The index provided (${e}) is greater than the number of rows (${t.length}).`,H.indexSizeError);let n=this[g].createElement(`tr`);if(e===-1||e===t.length){let e=J.querySelector(this,`tbody`);if(e)e.appendChild(n);else{let e=this[g].createElement(`tbody`);e.appendChild(n),this.appendChild(e)}return n}return t[e].parentNode?.insertBefore(n,t[e]),n}deleteRow(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'deleteRow' on 'HTMLTableElement': 1 argument required, but only 0 present.`);if(typeof e!=`number`&&(e=-1),e<-1)throw new this[b].DOMException(`Failed to execute 'deleteRow' on 'HTMLTableElement': The index provided (${e}) is less than -1.`,H.indexSizeError);let t=J.querySelectorAll(this,`tr`)[A];if(e>=t.length)throw new this[b].DOMException(`Failed to execute 'deleteRow' on 'HTMLTableElement': The index provided (${e}) is greater than the number of rows in the table (${t.length}).`,H.indexSizeError);e===-1&&(e=t.length-1),t[e].remove()}},ah=class extends Q{[Sr]=null;get cells(){return this[Sr]||(this[Sr]=new Ad(N,()=>J.querySelectorAll(this,`td,th`)[A])),this[Sr]}get rowIndex(){let e=this.parentNode;for(;e;){if(e[w]===`TABLE`)return J.querySelectorAll(e,`tr`)[A].indexOf(this);e=e.parentNode}return-1}get sectionRowIndex(){let e=this.parentNode;for(;e;){if(e instanceof rh)return J.querySelectorAll(e,`tr`)[A].indexOf(this);e=e.parentNode}return-1}insertCell(e=-1){typeof e!=`number`&&(e=-1);let t=J.querySelectorAll(this,`td,th`)[A];if(e<-1)throw new this[b].DOMException(`Failed to execute 'insertCell' on 'HTMLTableRowElement': The index provided (${e}) is less than -1.`,H.indexSizeError);if(e>t.length)throw new this[b].DOMException(`Failed to execute 'insertCell' on 'HTMLTableRowElement': The index provided (${e}) is greater than the number of cells (${t.length}).`,H.indexSizeError);let n=this[g].createElement(`td`);return e===-1||e===t.length?(this.appendChild(n),n):(t[e].parentNode?.insertBefore(n,t[e]),n)}deleteCell(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'deleteCell' on 'HTMLTableRowElement': 1 argument required, but only 0 present.`);if(typeof e!=`number`&&(e=-1),e<-1)throw new this[b].DOMException(`Failed to execute 'deleteCell' on 'HTMLTableRowElement': The index provided (${e}) is less than -1.`,H.indexSizeError);let t=J.querySelectorAll(this,`td,th`)[A];if(e>=t.length)throw new this[b].DOMException(`Failed to execute 'deleteCell' on 'HTMLTableRowElement': The index provided (${e}) is greater than the number of cells in the row (${t.length}).`,H.indexSizeError);e===-1&&(e=t.length-1),t[e].remove()}},oh=class extends Q{[bn]=this[g].createDocumentFragment();get content(){return this[bn]}get innerHTML(){return this.getHTML()}set innerHTML(e){let t=this[bn],n=t[j];for(;n.length;)t.removeChild(n[0]);new wf(this[b],{isTemplateDocumentFragment:!0}).parse(e,this[bn])}get firstChild(){return this[bn].firstChild}get lastChild(){return this[bn].lastChild}getInnerHTML(e){let t=new hf,n=this[bn],r=``;for(let e of n[j])r+=t.serializeToString(e);return r}getHTML(e){let t=new hf,n=this[bn],r=``;for(let e of n[j])r+=t.serializeToString(e);return r}[Pn](e,t=!1){return this[bn][Pn](e,t)}[Fn](e){return this[bn][Fn](e)}[In](e,t,n=!1){return this[bn][In](e,t,n)}[Ln](e,t){return this[bn][Ln](e,t)}[Nn](e=!1){let t=super[Nn](e);return t[bn]=this[bn].cloneNode(e),t}},sh=class extends Q{type=`textarea`;[Gt]=``;[Kt]=new Kf(this);[v]=null;[ft]=this;[Le]=null;#e=null;#t=null;#n=Gp.none;get oninput(){return Z.getEventListener(this,`oninput`)}set oninput(e){this[V].set(`oninput`,e)}get onselectionchange(){return Z.getEventListener(this,`onselectionchange`)}set onselectionchange(e){this[V].set(`onselectionchange`,e)}get validationMessage(){return this[Gt]}get validity(){return this[Kt]}get defaultValue(){return this.textContent}set defaultValue(e){this.textContent=e}get minLength(){let e=this.getAttribute(`minlength`);return e===null?-1:parseInt(e)}set minLength(e){this.setAttribute(`minlength`,String(e))}get maxLength(){let e=this.getAttribute(`maxlength`);return e===null?-1:parseInt(e)}set maxLength(e){this.setAttribute(`maxlength`,String(e))}get name(){return this.getAttribute(`name`)||``}set name(e){this.setAttribute(`name`,e)}get placeholder(){return this.getAttribute(`placeholder`)||``}set placeholder(e){this.setAttribute(`placeholder`,e)}get inputMode(){return this.getAttribute(`inputmode`)||``}set inputMode(e){this.setAttribute(`inputmode`,e)}get cols(){return this.getAttribute(`cols`)||``}set cols(e){this.setAttribute(`cols`,e)}get rows(){return this.getAttribute(`rows`)||``}set rows(e){this.setAttribute(`rows`,e)}get autocomplete(){return this.getAttribute(`autocomplete`)||``}set autocomplete(e){this.setAttribute(`autocomplete`,e)}get readOnly(){return this.getAttribute(`readonly`)!==null}set readOnly(e){e?this.setAttribute(`readonly`,``):this.removeAttribute(`readonly`)}get disabled(){return this.getAttribute(`disabled`)!==null}set disabled(e){e?this.setAttribute(`disabled`,``):this.removeAttribute(`disabled`)}get autofocus(){return this.getAttribute(`autofocus`)!==null}set autofocus(e){e?this.setAttribute(`autofocus`,``):this.removeAttribute(`autofocus`)}get required(){return this.getAttribute(`required`)!==null}set required(e){e?this.setAttribute(`required`,``):this.removeAttribute(`required`)}get value(){return this[v]===null?this.textContent:this[v]}set value(e){let t=this[v];this[v]=e,t!==this[v]&&(this.#e=this[v].length,this.#t=this[v].length,this.#n=Gp.none)}get selectionStart(){return this.#e===null?this.value.length:this.#e}set selectionStart(e){this.setSelectionRange(e,Math.max(e,this.selectionEnd),this.#n)}get selectionEnd(){return this.#t===null?this.value.length:this.#t}set selectionEnd(e){this.setSelectionRange(this.selectionStart,e,this.#n)}get selectionDirection(){return this.#n}set selectionDirection(e){this.setSelectionRange(this.selectionStart,this.selectionEnd,e)}get form(){if(this[Le])return this[Le];let e=this.getAttribute(`form`);return!e||!this[x]?null:this[g].getElementById(e)}get textLength(){return this.value.length}get labels(){return qf.getAssociatedLabelElements(this)}get tabIndex(){let e=this.getAttribute(`tabindex`);if(e!==null){let t=Number(e);return isNaN(t)?0:t}return 0}set tabIndex(e){super.tabIndex=e}select(){this.#e=0,this.#t=this.value.length,this.#n=Gp.none,this.dispatchEvent(new W(`select`,{bubbles:!0,cancelable:!1}))}setSelectionRange(e,t,n=`none`){this.#t=Math.min(t,this.value.length),this.#e=Math.min(e,this.selectionEnd),this.#n=n===Gp.forward||n===Gp.backward?n:Gp.none,this.dispatchEvent(new W(`select`,{bubbles:!0,cancelable:!1}))}setRangeText(e,t=null,n=null,r=Up.preserve){if(t===null&&(t=this.#e===null?0:this.#e),n===null&&(n=this.#t===null?this.value.length:this.#t),t>n)throw new this[b].DOMException(`The index is not in the allowed range.`,H.invalidStateError);t=Math.min(t,this.value.length),n=Math.min(n,this.value.length);let i=this.value,a=this.#e===null?0:this.#e,o=this.#t===null?this.value.length:this.#t;this.value=i.slice(0,t)+e+i.slice(n);let s=t+this.value.length;switch(r){case Up.select:this.setSelectionRange(t,s);break;case Up.start:this.setSelectionRange(t,t);break;case Up.end:this.setSelectionRange(s,s);break;default:let r=e.length-(n-t);a>n?a+=r:a>t&&(a=t),o>n?o+=r:o>t&&(o=s),this.setSelectionRange(a,o);break}}setCustomValidity(e){this[Gt]=String(e)}checkValidity(){let e=this.disabled||this.readOnly||this[Kt].valid;return e||this.dispatchEvent(new W(`invalid`,{bubbles:!0,cancelable:!0})),e}reportValidity(){return this.checkValidity()}[Nn](e=!1){let t=super[Nn](e);return t[v]=this[v],t.#e=this.#e,t.#t=this.#t,t.#n=this.#n,t}[rt](){this[v]===null&&(this.#e=null,this.#t=null,this.#n=Gp.none)}},ch=class extends Q{get dateTime(){return this.getAttribute(`dateTime`)||``}set dateTime(e){this.setAttribute(`dateTime`,e)}},lh=class extends Q{get text(){let e=``;for(let t of this[j])t[C]===U.textNode&&(e+=t.textContent);return e}set text(e){this.textContent=e}get innerHTML(){return this.getHTML()}set innerHTML(e){this.textContent=e}},uh=class extends Q{get oncuechange(){return Z.getEventListener(this,`oncuechange`)}set oncuechange(e){this[V].set(`oncuechange`,e)}get kind(){let e=this.getAttribute(`kind`);return e===null?Rf.subtitles:Rf[e]?e:Rf.metadata}set kind(e){Rf[e]||(e=Rf.metadata),this.setAttribute(`kind`,e)}get src(){if(!this.hasAttribute(`src`))return``;try{return new URL(this.getAttribute(`src`),this[g].location.href).href}catch{return this.getAttribute(`src`)||``}}set src(e){this.setAttribute(`src`,e)}get srclang(){return this.getAttribute(`srclang`)||``}set srclang(e){this.setAttribute(`srclang`,e)}get label(){return this.getAttribute(`label`)||``}set label(e){this.setAttribute(`label`,e)}get default(){return this.hasAttribute(`default`)}set default(e){e?this.setAttribute(`default`,``):this.removeAttribute(`default`)}get readyState(){return 0}get track(){let e=new this[b].TextTrack(N);return e[Pr]=this.kind,e[Fr]=this.label,e[Ir]=this.srclang,e[xn]=this.default?`showing`:`disabled`,e[Lr]=this.id,e}},dh=class extends Q{},fh=class extends Q{},ph=class extends zf{},mh=class extends xd{[C]=U.processingInstructionNode;[dt]=``;get target(){return this[dt]}},hh=class extends gd{[ye]=null;[it]=this;[C]=U.documentFragmentNode;get children(){if(!this[ye]){let e=this[Yn];this[ye]=new Ad(N,()=>e)}return this[ye]}get childElementCount(){return this[Yn].length}get firstElementChild(){return this[Yn][0]??null}get lastElementChild(){let e=this[Yn];return e[e.length-1]??null}get textContent(){let e=``;for(let t of this[j])(t[C]===U.elementNode||t[C]===U.textNode)&&(e+=t.textContent);return e}set textContent(e){let t=this[j];for(;t.length;)this.removeChild(t[0]);e&&this.appendChild(this[g].createTextNode(e))}append(...e){jd.append(this,...e)}prepend(...e){jd.prepend(this,...e)}replaceChildren(...e){jd.replaceChildren(this,...e)}querySelectorAll(e){return J.querySelectorAll(this,e)}querySelector(e){return J.querySelector(this,e)}getElementById(e){return jd.getElementById(this,e)}},gh=class extends hh{[Bt]=[];[xn]=`open`;[Sn]=null;[gr]=!1;[_r]=!1;[vr]=!1;[yr]=`named`;[V]=new Map;get onslotchange(){return this[V].get(`onslotchange`)??null}set onslotchange(e){this[V].set(`onslotchange`,e)}get mode(){return this[xn]}get host(){return this[Sn]}get clonable(){return this[gr]}get delegatesFocus(){return this[_r]}get serializable(){return this[vr]}get slotAssignment(){return this[yr]}get fullscreenElement(){return null}get pictureInPictureElement(){return null}get pointerLockElement(){return null}get innerHTML(){let e=new hf,t=``;for(let n of this[j])t+=e.serializeToString(n);return t}set innerHTML(e){let t=this[j];for(;t.length;)this.removeChild(t[0]);new wf(this[b]).parse(e,this)}get adoptedStyleSheets(){return this[Bt]}set adoptedStyleSheets(e){this[Bt]=e}get activeElement(){let e=this[g][de],t=e?.getRootNode();if(!t||t===this[g])return null;if(t===this)return e;for(;t&&t!==this;)e=t.host,t=e.getRootNode();return e}getAnimations(){return[]}setHTMLUnsafe(e){let t=this[j];for(;t.length;)this.removeChild(t[0]);new wf(this[b]).parse(e,this)}toString(){return this.innerHTML}[Nn](e=!1){let t=super[Nn](e);return t[xn]=this[xn],t[gr]=this[gr],t[_r]=this[_r],t[vr]=this[vr],t[yr]=this[yr],t}},_h=class extends Df{[ut]=null;#e=null;get onabort(){return Z.getEventListener(this,`onabort`)}set onabort(e){this[V].set(`onabort`,e)}get onanimationend(){return Z.getEventListener(this,`onanimationend`)}set onanimationend(e){this[V].set(`onanimationend`,e)}get onanimationiteration(){return Z.getEventListener(this,`onanimationiteration`)}set onanimationiteration(e){this[V].set(`onanimationiteration`,e)}get onanimationstart(){return Z.getEventListener(this,`onanimationstart`)}set onanimationstart(e){this[V].set(`onanimationstart`,e)}get onauxclick(){return Z.getEventListener(this,`onauxclick`)}set onauxclick(e){this[V].set(`onauxclick`,e)}get onblur(){return Z.getEventListener(this,`onblur`)}set onblur(e){this[V].set(`onblur`,e)}get oncancel(){return Z.getEventListener(this,`oncancel`)}set oncancel(e){this[V].set(`oncancel`,e)}get oncanplay(){return Z.getEventListener(this,`oncanplay`)}set oncanplay(e){this[V].set(`oncanplay`,e)}get oncanplaythrough(){return Z.getEventListener(this,`oncanplaythrough`)}set oncanplaythrough(e){this[V].set(`oncanplaythrough`,e)}get onchange(){return Z.getEventListener(this,`onchange`)}set onchange(e){this[V].set(`onchange`,e)}get onclick(){return Z.getEventListener(this,`onclick`)}set onclick(e){this[V].set(`onclick`,e)}get onclose(){return Z.getEventListener(this,`onclose`)}set onclose(e){this[V].set(`onclose`,e)}get oncontextmenu(){return Z.getEventListener(this,`oncontextmenu`)}set oncontextmenu(e){this[V].set(`oncontextmenu`,e)}get oncopy(){return Z.getEventListener(this,`oncopy`)}set oncopy(e){this[V].set(`oncopy`,e)}get oncuechange(){return Z.getEventListener(this,`oncuechange`)}set oncuechange(e){this[V].set(`oncuechange`,e)}get oncut(){return Z.getEventListener(this,`oncut`)}set oncut(e){this[V].set(`oncut`,e)}get ondblclick(){return Z.getEventListener(this,`ondblclick`)}set ondblclick(e){this[V].set(`ondblclick`,e)}get ondrag(){return Z.getEventListener(this,`ondrag`)}set ondrag(e){this[V].set(`ondrag`,e)}get ondragend(){return Z.getEventListener(this,`ondragend`)}set ondragend(e){this[V].set(`ondragend`,e)}get ondragenter(){return Z.getEventListener(this,`ondragenter`)}set ondragenter(e){this[V].set(`ondragenter`,e)}get ondragleave(){return Z.getEventListener(this,`ondragleave`)}set ondragleave(e){this[V].set(`ondragleave`,e)}get ondragover(){return Z.getEventListener(this,`ondragover`)}set ondragover(e){this[V].set(`ondragover`,e)}get ondragstart(){return Z.getEventListener(this,`ondragstart`)}set ondragstart(e){this[V].set(`ondragstart`,e)}get ondrop(){return Z.getEventListener(this,`ondrop`)}set ondrop(e){this[V].set(`ondrop`,e)}get ondurationchange(){return Z.getEventListener(this,`ondurationchange`)}set ondurationchange(e){this[V].set(`ondurationchange`,e)}get onemptied(){return Z.getEventListener(this,`onemptied`)}set onemptied(e){this[V].set(`onemptied`,e)}get onended(){return Z.getEventListener(this,`onended`)}set onended(e){this[V].set(`onended`,e)}get onerror(){return Z.getEventListener(this,`onerror`)}set onerror(e){this[V].set(`onerror`,e)}get onfocus(){return Z.getEventListener(this,`onfocus`)}set onfocus(e){this[V].set(`onfocus`,e)}get onformdata(){return Z.getEventListener(this,`onformdata`)}set onformdata(e){this[V].set(`onformdata`,e)}get ongotpointercapture(){return Z.getEventListener(this,`ongotpointercapture`)}set ongotpointercapture(e){this[V].set(`ongotpointercapture`,e)}get oninput(){return Z.getEventListener(this,`oninput`)}set oninput(e){this[V].set(`oninput`,e)}get oninvalid(){return Z.getEventListener(this,`oninvalid`)}set oninvalid(e){this[V].set(`oninvalid`,e)}get onkeydown(){return Z.getEventListener(this,`onkeydown`)}set onkeydown(e){this[V].set(`onkeydown`,e)}get onkeypress(){return Z.getEventListener(this,`onkeypress`)}set onkeypress(e){this[V].set(`onkeypress`,e)}get onkeyup(){return Z.getEventListener(this,`onkeyup`)}set onkeyup(e){this[V].set(`onkeyup`,e)}get onload(){return Z.getEventListener(this,`onload`)}set onload(e){this[V].set(`onload`,e)}get onloadeddata(){return Z.getEventListener(this,`onloadeddata`)}set onloadeddata(e){this[V].set(`onloadeddata`,e)}get onloadedmetadata(){return Z.getEventListener(this,`onloadedmetadata`)}set onloadedmetadata(e){this[V].set(`onloadedmetadata`,e)}get onloadstart(){return Z.getEventListener(this,`onloadstart`)}set onloadstart(e){this[V].set(`onloadstart`,e)}get onlostpointercapture(){return Z.getEventListener(this,`onlostpointercapture`)}set onlostpointercapture(e){this[V].set(`onlostpointercapture`,e)}get onmousedown(){return Z.getEventListener(this,`onmousedown`)}set onmousedown(e){this[V].set(`onmousedown`,e)}get onmouseenter(){return Z.getEventListener(this,`onmouseenter`)}set onmouseenter(e){this[V].set(`onmouseenter`,e)}get onmouseleave(){return Z.getEventListener(this,`onmouseleave`)}set onmouseleave(e){this[V].set(`onmouseleave`,e)}get onmousemove(){return Z.getEventListener(this,`onmousemove`)}set onmousemove(e){this[V].set(`onmousemove`,e)}get onmouseout(){return Z.getEventListener(this,`onmouseout`)}set onmouseout(e){this[V].set(`onmouseout`,e)}get onmouseover(){return Z.getEventListener(this,`onmouseover`)}set onmouseover(e){this[V].set(`onmouseover`,e)}get onmouseup(){return Z.getEventListener(this,`onmouseup`)}set onmouseup(e){this[V].set(`onmouseup`,e)}get onmousewheel(){return Z.getEventListener(this,`onmousewheel`)}set onmousewheel(e){this[V].set(`onmousewheel`,e)}get onpaste(){return Z.getEventListener(this,`onpaste`)}set onpaste(e){this[V].set(`onpaste`,e)}get onpause(){return Z.getEventListener(this,`onpause`)}set onpause(e){this[V].set(`onpause`,e)}get onplay(){return Z.getEventListener(this,`onplay`)}set onplay(e){this[V].set(`onplay`,e)}get onplaying(){return Z.getEventListener(this,`onplaying`)}set onplaying(e){this[V].set(`onplaying`,e)}get onpointercancel(){return Z.getEventListener(this,`onpointercancel`)}set onpointercancel(e){this[V].set(`onpointercancel`,e)}get onpointerdown(){return Z.getEventListener(this,`onpointerdown`)}set onpointerdown(e){this[V].set(`onpointerdown`,e)}get onpointerenter(){return Z.getEventListener(this,`onpointerenter`)}set onpointerenter(e){this[V].set(`onpointerenter`,e)}get onpointerleave(){return Z.getEventListener(this,`onpointerleave`)}set onpointerleave(e){this[V].set(`onpointerleave`,e)}get onpointermove(){return Z.getEventListener(this,`onpointermove`)}set onpointermove(e){this[V].set(`onpointermove`,e)}get onpointerout(){return Z.getEventListener(this,`onpointerout`)}set onpointerout(e){this[V].set(`onpointerout`,e)}get onpointerover(){return Z.getEventListener(this,`onpointerover`)}set onpointerover(e){this[V].set(`onpointerover`,e)}get onpointerrawupdate(){return Z.getEventListener(this,`onpointerrawupdate`)}set onpointerrawupdate(e){this[V].set(`onpointerrawupdate`,e)}get onpointerup(){return Z.getEventListener(this,`onpointerup`)}set onpointerup(e){this[V].set(`onpointerup`,e)}get onprogress(){return Z.getEventListener(this,`onprogress`)}set onprogress(e){this[V].set(`onprogress`,e)}get onratechange(){return Z.getEventListener(this,`onratechange`)}set onratechange(e){this[V].set(`onratechange`,e)}get onreset(){return Z.getEventListener(this,`onreset`)}set onreset(e){this[V].set(`onreset`,e)}get onresize(){return Z.getEventListener(this,`onresize`)}set onresize(e){this[V].set(`onresize`,e)}get onscroll(){return Z.getEventListener(this,`onscroll`)}set onscroll(e){this[V].set(`onscroll`,e)}get onscrollend(){return Z.getEventListener(this,`onscrollend`)}set onscrollend(e){this[V].set(`onscrollend`,e)}get onscrollsnapchange(){return Z.getEventListener(this,`onscrollsnapchange`)}set onscrollsnapchange(e){this[V].set(`onscrollsnapchange`,e)}get onscrollsnapchanging(){return Z.getEventListener(this,`onscrollsnapchanging`)}set onscrollsnapchanging(e){this[V].set(`onscrollsnapchanging`,e)}get onsecuritypolicyviolation(){return Z.getEventListener(this,`onsecuritypolicyviolation`)}set onsecuritypolicyviolation(e){this[V].set(`onsecuritypolicyviolation`,e)}get onseeked(){return Z.getEventListener(this,`onseeked`)}set onseeked(e){this[V].set(`onseeked`,e)}get onseeking(){return Z.getEventListener(this,`onseeking`)}set onseeking(e){this[V].set(`onseeking`,e)}get onselect(){return Z.getEventListener(this,`onselect`)}set onselect(e){this[V].set(`onselect`,e)}get onselectionchange(){return Z.getEventListener(this,`onselectionchange`)}set onselectionchange(e){this[V].set(`onselectionchange`,e)}get onselectstart(){return Z.getEventListener(this,`onselectstart`)}set onselectstart(e){this[V].set(`onselectstart`,e)}get onslotchange(){return Z.getEventListener(this,`onslotchange`)}set onslotchange(e){this[V].set(`onslotchange`,e)}get onstalled(){return Z.getEventListener(this,`onstalled`)}set onstalled(e){this[V].set(`onstalled`,e)}get onsubmit(){return Z.getEventListener(this,`onsubmit`)}set onsubmit(e){this[V].set(`onsubmit`,e)}get onsuspend(){return Z.getEventListener(this,`onsuspend`)}set onsuspend(e){this[V].set(`onsuspend`,e)}get ontimeupdate(){return Z.getEventListener(this,`ontimeupdate`)}set ontimeupdate(e){this[V].set(`ontimeupdate`,e)}get ontoggle(){return Z.getEventListener(this,`ontoggle`)}set ontoggle(e){this[V].set(`ontoggle`,e)}get ontransitioncancel(){return Z.getEventListener(this,`ontransitioncancel`)}set ontransitioncancel(e){this[V].set(`ontransitioncancel`,e)}get ontransitionend(){return Z.getEventListener(this,`ontransitionend`)}set ontransitionend(e){this[V].set(`ontransitionend`,e)}get ontransitionrun(){return Z.getEventListener(this,`ontransitionrun`)}set ontransitionrun(e){this[V].set(`ontransitionrun`,e)}get ontransitionstart(){return Z.getEventListener(this,`ontransitionstart`)}set ontransitionstart(e){this[V].set(`ontransitionstart`,e)}get onvolumechange(){return Z.getEventListener(this,`onvolumechange`)}set onvolumechange(e){this[V].set(`onvolumechange`,e)}get onwaiting(){return Z.getEventListener(this,`onwaiting`)}set onwaiting(e){this[V].set(`onwaiting`,e)}get onwheel(){return Z.getEventListener(this,`onwheel`)}set onwheel(e){this[V].set(`onwheel`,e)}get ownerSVGElement(){let e=this[S];for(;e;){if(e[k]===`svg`)return e;e=e[S]}return null}get viewportElement(){return this.ownerSVGElement}get dataset(){return this.#e??=new Af(N,this)}get style(){return this[ut]||(this[ut]=new yl(N,this[b],{element:this})),this[ut]}get tabIndex(){let e=this.getAttribute(`tabindex`);return e===null?-1:Number(e)}set tabIndex(e){e===-1?this.removeAttribute(`tabindex`):this.setAttribute(`tabindex`,String(e))}blur(){Of.blur(this)}focus(){Of.focus(this)}},vh=class{observe(){}unobserve(){}disconnect(){}},yh=class extends nl{width=1024;height=768;availWidth=1024;availHeight=768;colorDepth=24;pixelDepth=24;onchange=null},bh=class extends yh{availLeft=0;availTop=0;left=0;top=0;isPrimary=!0;isInternal=!0;devicePixelRatio=1;label=``},xh=class extends nl{currentScreen;screens;oncurrentscreenchange=null;onscreenschange=null;constructor(){super();let e=new bh;this.currentScreen=e,this.screens=[e]}},Sh=class{static compareBoundaryPointsPosition(e,t){if(e.node===t.node)return e.offset===t.offset?0:e.offset<t.offset?-1:1;if(fd.isFollowing(e.node,t.node))return this.compareBoundaryPointsPosition(t,e)===-1?1:-1;if(fd.isInclusiveAncestor(e.node,t.node)){let n=t.node;for(;n[S]!==e.node;)n=n[S];if(n[S][j].indexOf(n)<e.offset)return 1}return-1}static validateBoundaryPoint(e){if(e.node[C]===U.documentTypeNode)throw new _s(`DocumentType Node can't be used as boundary point.`,H.invalidNodeTypeError);if(e.offset>fd.getNodeLength(e.node))throw new _s(`Offset out of bound.`,H.indexSizeError)}static isContained(e,t){return this.compareBoundaryPointsPosition({node:e,offset:0},{node:t.startContainer,offset:t.startOffset})===1&&this.compareBoundaryPointsPosition({node:e,offset:fd.getNodeLength(e)},{node:t.endContainer,offset:t.endOffset})===-1}static isPartiallyContained(e,t){return fd.isInclusiveAncestor(e,t.startContainer)&&!fd.isInclusiveAncestor(e,t.endContainer)||!fd.isInclusiveAncestor(e,t.startContainer)&&fd.isInclusiveAncestor(e,t.endContainer)}},Ch;(function(e){e[e.forwards=1]=`forwards`,e[e.backwards=-1]=`backwards`,e[e.directionless=0]=`directionless`})(Ch||={});var wh=Ch,Th=class{#e;#t=null;#n=wh.directionless;constructor(e){this.#e=e}get rangeCount(){return+!!this.#t}get isCollapsed(){return this.#t===null||this.#t.collapsed}get type(){return this.#t?this.#t.collapsed?`Caret`:`Range`:`None`}get anchorNode(){return this.#t?this.#n===wh.forwards?this.#t.startContainer:this.#t.endContainer:null}get anchorOffset(){return this.#t?this.#n===wh.forwards?this.#t.startOffset:this.#t.endOffset:0}get baseNode(){return this.anchorNode}get baseOffset(){return this.anchorOffset}get focusNode(){return this.#t?this.#n===wh.forwards?this.#t.endContainer:this.#t.startContainer:null}get focusOffset(){return this.#t?this.#n===wh.forwards?this.#t.endOffset:this.#t.startOffset:0}get extentNode(){return this.focusNode}get extentOffset(){return this.focusOffset}addRange(e){if(!e)throw new this.#e[b].TypeError(`Failed to execute addRange on Selection. Parameter 1 is not of type Range.`);!this.#t&&e[g]===this.#e&&this.#r(e)}getRangeAt(e){if(!this.#t||e!==0)throw new this.#e[b].DOMException(`Invalid range index.`,H.indexSizeError);return this.#t}removeRange(e){if(this.#t!==e)throw new this.#e[b].DOMException(`Invalid range.`,H.notFoundError);this.#r(null)}removeAllRanges(){this.#r(null)}empty(){this.removeAllRanges()}collapse(e,t){if(e===null){this.removeAllRanges();return}if(e[C]===U.documentTypeNode)throw new this.#e[b].DOMException(`DocumentType Node can't be used as boundary point.`,H.invalidNodeTypeError);if(t>fd.getNodeLength(e))throw new this.#e[b].DOMException(`Invalid range index.`,H.indexSizeError);if(e!==this.#e&&e[g]!==this.#e)return;let n=new this.#e[b].Range;n[_].node=e,n[_].offset=t,n[m].node=e,n[m].offset=t,this.#r(n)}setPosition(e,t){this.collapse(e,t)}collapseToEnd(){if(this.#t===null)throw new this.#e[b].DOMException(`There is no selection to collapse.`,H.invalidStateError);let{node:e,offset:t}=this.#t[m],n=new this.#e[b].Range;n[_].node=e,n[_].offset=t,n[m].node=e,n[m].offset=t,this.#r(n)}collapseToStart(){if(!this.#t)throw new this.#e[b].DOMException(`There is no selection to collapse.`,H.invalidStateError);let{node:e,offset:t}=this.#t[_],n=new this.#e[b].Range;n[_].node=e,n[_].offset=t,n[m].node=e,n[m].offset=t,this.#r(n)}containsNode(e,t=!1){if(!this.#t||e[g]!==this.#e)return!1;let n=Sh.compareBoundaryPointsPosition(this.#t[_],{node:e,offset:0})===-1,r=Sh.compareBoundaryPointsPosition(this.#t[m],{node:e,offset:fd.getNodeLength(e)})===1;return t?n||r:n&&r}deleteFromDocument(){this.#t&&this.#t.deleteContents()}extend(e,t){if(e!==this.#e&&e[g]!==this.#e)return;if(!this.#t)throw new this.#e[b].DOMException(`There is no selection to extend.`,H.invalidStateError);let n=this.anchorNode,r=this.anchorOffset,i=new this.#e[b].Range;i[_].node=e,i[_].offset=0,i[m].node=e,i[m].offset=0,e[g]===this.#t[g]?Sh.compareBoundaryPointsPosition({node:n,offset:r},{node:e,offset:t})<=0?(i[_].node=n,i[_].offset=r,i[m].node=e,i[m].offset=t):(i[_].node=e,i[_].offset=t,i[m].node=n,i[m].offset=r):(i[_].offset=t,i[m].offset=t),this.#r(i),this.#n=Sh.compareBoundaryPointsPosition({node:e,offset:t},{node:n,offset:r})===-1?wh.backwards:wh.forwards}selectAllChildren(e){if(e[C]===U.documentTypeNode)throw new this.#e[b].DOMException(`DocumentType Node can't be used as boundary point.`,H.invalidNodeTypeError);if(e!==this.#e&&e[g]!==this.#e)return;let t=e[j].length,n=new this.#e[b].Range;n[_].node=e,n[_].offset=0,n[m].node=e,n[m].offset=t,this.#r(n)}setBaseAndExtent(e,t,n,r){if(t>fd.getNodeLength(e)||r>fd.getNodeLength(n))throw new this.#e[b].DOMException(`Invalid anchor or focus offset.`,H.indexSizeError);if(e!==this.#e&&e[g]!==this.#e||n!==this.#e&&n[g]!==this.#e)return;let i={node:e,offset:t},a={node:n,offset:r},o=new this.#e[b].Range;Sh.compareBoundaryPointsPosition(i,a)===-1?(o[_]=i,o[m]=a):(o[_]=a,o[m]=i),this.#r(o),this.#n=Sh.compareBoundaryPointsPosition(a,i)===-1?wh.backwards:wh.forwards}toString(){return this.#t?this.#t.toString():``}#r(e){let t=this.#t;this.#t=e,this.#n=e===null?wh.directionless:wh.forwards,t!==this.#t&&this.#e.dispatchEvent(new W(`selectionchange`))}},Eh=class e{[Ae]={};constructor(){let t=this[Ae],n=new Bc(this,[e]);return new Proxy(this,{get:(e,r)=>{if(r in e||typeof r==`symbol`)return n.bind(r),e[r];if(r in t)return t[r]},set(e,r,i){return n.bind(r),r in e||typeof r==`symbol`||(t[String(r)]=String(i)),!0},deleteProperty(e,n){return n in t?(delete t[String(n)],!0):!1},ownKeys(){return Object.keys(t)},has(e,n){return n in e||n in t},defineProperty(e,r,i){return n.preventBinding(r),r in e?(Object.defineProperty(e,r,i),!0):i.value===void 0?!1:(t[String(r)]=String(i.value),!0)},getOwnPropertyDescriptor(e,n){if(n in e)return;let r=t[String(n)];if(r!==void 0)return{value:r,writable:!0,enumerable:!0,configurable:!0}}})}get length(){return Object.keys(this[Ae]).length}key(e){let t=Object.keys(this[Ae])[e];return t===void 0?null:t}setItem(e,t){this[Ae][e]=String(t)}getItem(e){return this[Ae][e]===void 0?null:this[Ae][e]}removeItem(e){delete this[Ae][e]}clear(){let e=this[Ae];for(let t of Object.keys(e))delete e[t]}},Dh={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:-1,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048},Oh={1:Dh.SHOW_ELEMENT,2:Dh.SHOW_ATTRIBUTE,3:Dh.SHOW_TEXT,4:Dh.SHOW_CDATA_SECTION,5:Dh.SHOW_ENTITY_REFERENCE,6:Dh.SHOW_PROCESSING_INSTRUCTION,7:Dh.SHOW_PROCESSING_INSTRUCTION,8:Dh.SHOW_COMMENT,9:Dh.SHOW_DOCUMENT,10:Dh.SHOW_DOCUMENT_TYPE,11:Dh.SHOW_DOCUMENT_FRAGMENT,12:Dh.SHOW_NOTATION},kh;(function(e){e.first=`first`,e.last=`last`})(kh||={});var Ah;(function(e){e.next=`next`,e.previous=`previous`})(Ah||={});var jh=class{root;whatToShow=-1;filter=null;#e=null;constructor(e,t=-1,n=null){if(!(e instanceof gd))throw new _s(`Parameter 1 was not of type Node.`);this.root=e,this.whatToShow=t,this.filter=n,this.#e=e}get currentNode(){return this.#e}set currentNode(e){if(!(e instanceof gd))throw new this.root[b].TypeError(`Failed to set the 'currentNode' property on 'TreeWalker': Failed to convert value to 'Node'.`);this.#e=e}parentNode(){let e=this.#e;for(;e!==null&&e!==this.root;)if(e=e.parentNode,e!==null&&this[Eo](e)===Dh.FILTER_ACCEPT)return this.#e=e,this.#e;return null}firstChild(){return this.#t(kh.first)}lastChild(){return this.#t(kh.last)}nextSibling(){return this.#n(Ah.next)}previousSibling(){return this.#n(Ah.previous)}previousNode(){let e=this.#e;for(;e!==this.root;){let t=e?.previousSibling||null;for(;t!==null;){let e=t,n=this[Eo](e);for(;n!==Dh.FILTER_REJECT&&e[j].length;)e=e.lastChild,n=this[Eo](e);if(n===Dh.FILTER_ACCEPT)return this.#e=e,e;t=e.previousSibling}if(e===this.root||e.parentNode===null)return null;if(e=e.parentNode,this[Eo](e)===Dh.FILTER_ACCEPT)return this.#e=e,e}return null}nextNode(){let e=this.#e,t=Dh.FILTER_ACCEPT;if(e===null)return null;for(;;){for(;t!==Dh.FILTER_REJECT&&e[j].length;)if(e=e.firstChild,t=this[Eo](e),t===Dh.FILTER_ACCEPT)return this.#e=e,e;for(;e!==null;){if(e===this.root)return null;let t=e.nextSibling;if(t!==null){e=t;break}e=e.parentNode}if(e===null)return null;if(t=this[Eo](e),t===Dh.FILTER_ACCEPT)return this.#e=e,e}}[Eo](e){let t=Oh[e.nodeType];return t&&(this.whatToShow&t)==0?Dh.FILTER_SKIP:typeof this.filter==`function`?this.filter(e):this.filter?this.filter.acceptNode(e):Dh.FILTER_ACCEPT}#t(e){let t=this.#e;if(!t)return null;for(t=e===kh.first?t.firstChild:t.lastChild;t!==null;){let n=this[Eo](t);if(n===Dh.FILTER_ACCEPT)return this.#e=t,t;if(n===Dh.FILTER_SKIP){let n=e===kh.first?t.firstChild:t.lastChild;if(n!==null){t=n;continue}}for(;t!==null;){let n=e===kh.first?t.nextSibling:t.previousSibling;if(n!==null){t=n;break}let r=t.parentNode;if(r===null||r===this.root||r===this.#e)return null;t=r}}return null}#n(e){let t=this.#e;if(!t||t===this.root)return null;for(;;){let n=e===Ah.next?t.nextSibling:t.previousSibling;for(;n!==null;){let t=n,r=this[Eo](t);if(r===Dh.FILTER_ACCEPT)return this.#e=t,t;n=e===Ah.next?t.firstChild:t.lastChild,(r===Dh.FILTER_REJECT||n===null)&&(n=e===Ah.next?t.nextSibling:t.previousSibling)}if(t=t.parentNode,t===null||t===this.root||this[Eo](t)===Dh.FILTER_ACCEPT)return null}}},Mh=class{#e;#t=-1;#n=null;#r;#i=!0;constructor(e,t=-1,n=null){this.#e=e,this.#t=t,this.#n=n,this.#r=new jh(e,t,n)}get root(){return this.#e}get whatToShow(){return this.#t}get filter(){return this.#n}nextNode(){return this.#i?(this.#i=!1,this.#r[Eo](this.#e)===Dh.FILTER_ACCEPT?this.#e:this.#r.nextNode()):this.#r.nextNode()}previousNode(){return this.#r.previousNode()}},Nh=class{serializeToString(e){return this.#e(e)}#e(e,t=null,n=null){switch(e[C]){case U.elementNode:let r=e,i=r[k],a=``,o=this.#t(r,n),s=r[T]===Fl.html?r[Ct]:this.#n(r,o),c=`${s?s+`:`:``}${i}`,l=s?t:r[T]||t,u=this.#r(r,s,t,n),d=l===Fl.html&&i===`template`?e.content[j]:e[j];for(let e of d)a+=this.#e(e,l,o);return!a&&l===Fl.html&&Id[i.toLowerCase()]?.contentModel===X.noDescendants?`<${c}${u} />`:!a&&l!==Fl.html?`<${c}${u}/>`:`<${c}${u}>${a}</${c}>`;case gd.DOCUMENT_FRAGMENT_NODE:case gd.DOCUMENT_NODE:let f=``;e[To]&&(f+=this.#e(e[To],t,new Map(n)));for(let r of e[j])f+=this.#e(r,t,new Map(n));return f;case U.commentNode:return`<!--${e.textContent}-->`;case U.processingInstructionNode:return`<?${e.target} ${e.textContent}?>`;case U.textNode:let p=e.parentElement;return p&&Id[p[k]]?.contentModel===X.rawText?e.textContent:mf.encodeTextContent(e.textContent);case U.documentTypeNode:let ee=e,te=ee.publicId?` PUBLIC`:ee.systemId?` SYSTEM`:``,ne=ee.publicId?` "${ee.publicId}"`:``,re=ee.systemId?` "${ee.systemId}"`:``;return`<!DOCTYPE ${ee.name}${te}${ne}${re}>`}return``}#t(e,t){let n=new Map(t);for(let t of e[Ot][A].values())t[T]===Fl.xmlns&&t[Ct]&&n.set(t[v],t[k]);return n}#n(e,t){if(e[Ct]&&!e[T])throw Error(`Element has a prefix but no namespace.`);if(!e[Ct]||!t)return null;let n=t.get(e[T]);if(n)return n;let r=new Set(t.values());if(r.has(e[Ct])){let n=1;for(;r.has(`n`+n);)n++;return t.set(e[T],`n`+n),`n`+n}return t.set(e[T],e[Ct]),e[Ct]}#r(e,t,n,r){let i=``,a=``,o=new Set;for(let n of e[Ot][A].values())n[T]===Fl.xmlns?t&&n[k]===t&&e[T]?(a+=` xmlns:${t}="${mf.encodeXMLAttributeValue(e[T])}"`,o.add(e[T])):!t&&n[E]===`xmlns`&&e[T]?(a+=` xmlns="${mf.encodeXMLAttributeValue(e[T])}"`,o.add(e[T])):(a+=` ${n[E]}="${mf.encodeXMLAttributeValue(n[v])}"`,o.add(n[v])):i+=` ${n[E]}="${mf.encodeXMLAttributeValue(n[v])}"`;return e[T]&&n!==e[T]&&!o.has(e[T])&&(t&&!r?.has(e[T])?a+=` xmlns:${t}="${mf.encodeXMLAttributeValue(e[T])}"`:!t&&n!==e[T]&&(a+=` xmlns="${mf.encodeXMLAttributeValue(e[T])}"`)),a+i}},Ph=new le(`
|
|
107
|
-
this.ArrayBuffer = globalThis.ArrayBuffer;
|
|
108
|
-
this.Boolean = globalThis.Boolean;
|
|
109
|
-
this.DataView = globalThis.DataView;
|
|
110
|
-
this.Date = globalThis.Date;
|
|
111
|
-
this.Error = globalThis.Error;
|
|
112
|
-
this.EvalError = globalThis.EvalError;
|
|
113
|
-
this.Float32Array = globalThis.Float32Array;
|
|
114
|
-
this.Float64Array = globalThis.Float64Array;
|
|
115
|
-
this.GLOBAL = globalThis.GLOBAL;
|
|
116
|
-
this.Infinity = globalThis.Infinity;
|
|
117
|
-
this.Int16Array = globalThis.Int16Array;
|
|
118
|
-
this.Int32Array = globalThis.Int32Array;
|
|
119
|
-
this.Int8Array = globalThis.Int8Array;
|
|
120
|
-
this.Intl = globalThis.Intl;
|
|
121
|
-
this.JSON = globalThis.JSON;
|
|
122
|
-
this.Map = globalThis.Map;
|
|
123
|
-
this.Math = globalThis.Math;
|
|
124
|
-
this.NaN = globalThis.NaN;
|
|
125
|
-
this.Number = globalThis.Number;
|
|
126
|
-
this.Promise = globalThis.Promise;
|
|
127
|
-
this.RangeError = globalThis.RangeError;
|
|
128
|
-
this.ReferenceError = globalThis.ReferenceError;
|
|
129
|
-
this.RegExp = globalThis.RegExp;
|
|
130
|
-
this.Reflect = globalThis.Reflect;
|
|
131
|
-
this.Set = globalThis.Set;
|
|
132
|
-
this.Symbol = globalThis.Symbol;
|
|
133
|
-
this.SyntaxError = globalThis.SyntaxError;
|
|
134
|
-
this.String = globalThis.String;
|
|
135
|
-
this.TypeError = globalThis.TypeError;
|
|
136
|
-
this.URIError = globalThis.URIError;
|
|
137
|
-
this.Uint16Array = globalThis.Uint16Array;
|
|
138
|
-
this.Uint32Array = globalThis.Uint32Array;
|
|
139
|
-
this.Uint8Array = globalThis.Uint8Array;
|
|
140
|
-
this.Uint8ClampedArray = globalThis.Uint8ClampedArray;
|
|
141
|
-
this.WeakMap = globalThis.WeakMap;
|
|
142
|
-
this.WeakSet = globalThis.WeakSet;
|
|
143
|
-
this.decodeURI = globalThis.decodeURI;
|
|
144
|
-
this.decodeURIComponent = globalThis.decodeURIComponent;
|
|
145
|
-
this.encodeURI = globalThis.encodeURI;
|
|
146
|
-
this.encodeURIComponent = globalThis.encodeURIComponent;
|
|
147
|
-
this.eval = globalThis.eval;
|
|
148
|
-
this.escape = globalThis.escape;
|
|
149
|
-
this.global = globalThis.global;
|
|
150
|
-
this.isFinite = globalThis.isFinite;
|
|
151
|
-
this.isNaN = globalThis.isNaN;
|
|
152
|
-
this.parseFloat = globalThis.parseFloat;
|
|
153
|
-
this.parseInt = globalThis.parseInt;
|
|
154
|
-
this.root = globalThis.root;
|
|
155
|
-
this.undefined = globalThis.undefined;
|
|
156
|
-
this.unescape = globalThis.unescape;
|
|
157
|
-
this.AbortController = globalThis.AbortController;
|
|
158
|
-
this.AbortSignal = globalThis.AbortSignal;
|
|
159
|
-
this.Array = globalThis.Array;
|
|
160
|
-
this.Object = globalThis.Object;
|
|
161
|
-
this.Function = globalThis.Function;
|
|
162
|
-
`),Fh=class{static openPage(e,t){let n=this.getWindowFeatures(t?.features||``),r=t?.target===void 0?null:String(t.target),i=new p(e.window.location.href),a=Xu.getRelativeURL(e,t?.url),o=e.window,s;if(e.window!==o)return null;switch(r){case`_self`:s=e;break;case`_top`:s=e.page.mainFrame;break;case`_parent`:s=e.parentFrame??e;break;default:s=e.page.context.newPage().mainFrame,s[yt]=e;break}if(s.goto(a.href,{referrer:n.noreferrer?void 0:e.window.location.origin,referrerPolicy:n.noreferrer?`no-referrer`:void 0}).catch(e=>{s.page.console.error(e)}),a.protocol===`javascript:`)return s.window;if(s===e&&e.window===o)return null;n.popup&&r!==`_self`&&r!==`_top`&&r!==`_parent`&&(s[St]=!0,(n?.width||n?.height)&&s.page.setViewport({width:n?.width,height:n?.height}),n?.left&&(s.window.screenLeft=n.left,s.window.screenX=n.left),n?.top&&(s.window.screenTop=n.top,s.window.screenY=n.top)),r&&r!==`_self`&&r!==`_top`&&r!==`_parent`&&r!==`_blank`&&(s.window.name=r);let c=yu.isCORS(i,s.url);return!n.noopener&&!n.noreferrer&&e.window&&s[yt]&&s.window!==e.window&&(s[bt]=c?new bp(e.window):e.window),n.noopener||n.noreferrer?null:c?new bp(s.window,e.window):s.window}static getWindowFeatures(e){let t=e.split(`,`),n={popup:!1,width:0,height:0,left:0,top:0,noopener:!1,noreferrer:!1};for(let e of t){let[t,r]=e.split(`=`);switch(t){case`popup`:n.popup=!r||r===`yes`||r===`1`||r===`true`;break;case`width`:case`innerWidth`:n.width=parseInt(r,10);break;case`height`:case`innerHeight`:n.height=parseInt(r,10);break;case`left`:case`screenX`:n.left=parseInt(r,10);break;case`top`:case`screenY`:n.top=parseInt(r,10);break;case`noopener`:n.noopener=!0;break;case`noreferrer`:n.noreferrer=!0;break}}return n}},Ih=class{#e;constructor(e){this.#e=e}createDocument(e,t,n){if(arguments.length<2)throw new this.#e[b].TypeError(`Failed to execute 'createDocument' on 'DOMImplementation': 2 arguments required, but only ${arguments.length} present.`);switch(t=t===null?``:String(t),t.split(`:`).pop()){case`svg`:case`xml`:return new this.#e[b].XMLDocument;default:return new this.#e[b].HTMLDocument}}createHTMLDocument(){return new this.#e[b].HTMLDocument}createDocumentType(e,t,n){let r=hd.createNode(this.#e,Sd);return r[E]=e,r[Ut]=t,r[Wt]=n,r}},Lh;(function(e){e.hidden=`hidden`,e.visible=`visible`,e.prerender=`prerender`})(Lh||={});var Rh=Lh;const zh=/^[a-z][a-z0-9-]+$/;var Bh=class extends gd{[ye]=null;[de]=null;[Je]=null;[Oe]=null;[it]=this;[Ve]=!0;[He]=!1;[C]=U.documentNode;[x]=!0;[Bt]=[];[Vt]=new Ih(this);[Ht]=wd.interactive;[et]=``;[je]=null;[Zn]=null;[Qn]=[];[g]=null;[hr]=new Map;[Ee]=`text/html`;[To]=null;[Ao]=new Map;[V]=new Map;[st]=null;get onreadystatechange(){return this[V].get(`onreadystatechange`)??null}set onreadystatechange(e){this[V].set(`onreadystatechange`,e)}get onpointerlockchange(){return this[V].get(`onpointerlockchange`)??null}set onpointerlockchange(e){this[V].set(`onpointerlockchange`,e)}get onpointerlockerror(){return this[V].get(`onpointerlockerror`)??null}set onpointerlockerror(e){this[V].set(`onpointerlockerror`,e)}get onbeforecopy(){return this[V].get(`onbeforecopy`)??null}set onbeforecopy(e){this[V].set(`onbeforecopy`,e)}get onbeforecut(){return this[V].get(`onbeforecut`)??null}set onbeforecut(e){this[V].set(`onbeforecut`,e)}get onbeforepaste(){return this[V].get(`onbeforepaste`)??null}set onbeforepaste(e){this[V].set(`onbeforepaste`,e)}get onfreeze(){return this[V].get(`onfreeze`)??null}set onfreeze(e){this[V].set(`onfreeze`,e)}get onprerenderingchange(){return this[V].get(`onprerenderingchange`)??null}set onprerenderingchange(e){this[V].set(`onprerenderingchange`,e)}get onresume(){return this[V].get(`onresume`)??null}set onresume(e){this[V].set(`onresume`,e)}get onsearch(){return this[V].get(`onsearch`)??null}set onsearch(e){this[V].set(`onsearch`,e)}get onvisibilitychange(){return this[V].get(`onvisibilitychange`)??null}set onvisibilitychange(e){this[V].set(`onvisibilitychange`,e)}get onfullscreenchange(){return this[V].get(`onfullscreenchange`)??null}set onfullscreenchange(e){this[V].set(`onfullscreenchange`,e)}get onfullscreenerror(){return this[V].get(`onfullscreenerror`)??null}set onfullscreenerror(e){this[V].set(`onfullscreenerror`,e)}get onwebkitfullscreenchange(){return this[V].get(`onwebkitfullscreenchange`)??null}set onwebkitfullscreenchange(e){this[V].set(`onwebkitfullscreenchange`,e)}get onwebkitfullscreenerror(){return this[V].get(`onwebkitfullscreenerror`)??null}set onwebkitfullscreenerror(e){this[V].set(`onwebkitfullscreenerror`,e)}get onbeforexrselect(){return this[V].get(`onbeforexrselect`)??null}set onbeforexrselect(e){this[V].set(`onbeforexrselect`,e)}get onabort(){return this[V].get(`onabort`)??null}set onabort(e){this[V].set(`onabort`,e)}get onbeforeinput(){return this[V].get(`onbeforeinput`)??null}set onbeforeinput(e){this[V].set(`onbeforeinput`,e)}get onbeforematch(){return this[V].get(`onbeforematch`)??null}set onbeforematch(e){this[V].set(`onbeforematch`,e)}get onbeforetoggle(){return this[V].get(`onbeforetoggle`)??null}set onbeforetoggle(e){this[V].set(`onbeforetoggle`,e)}get onblur(){return this[V].get(`onblur`)??null}set onblur(e){this[V].set(`onblur`,e)}get oncancel(){return this[V].get(`oncancel`)??null}set oncancel(e){this[V].set(`oncancel`,e)}get oncanplay(){return this[V].get(`oncanplay`)??null}set oncanplay(e){this[V].set(`oncanplay`,e)}get oncanplaythrough(){return this[V].get(`oncanplaythrough`)??null}set oncanplaythrough(e){this[V].set(`oncanplaythrough`,e)}get onchange(){return this[V].get(`onchange`)??null}set onchange(e){this[V].set(`onchange`,e)}get onclick(){return this[V].get(`onclick`)??null}set onclick(e){this[V].set(`onclick`,e)}get onclose(){return this[V].get(`onclose`)??null}set onclose(e){this[V].set(`onclose`,e)}get oncontentvisibilityautostatechange(){return this[V].get(`oncontentvisibilityautostatechange`)??null}set oncontentvisibilityautostatechange(e){this[V].set(`oncontentvisibilityautostatechange`,e)}get oncontextlost(){return this[V].get(`oncontextlost`)??null}set oncontextlost(e){this[V].set(`oncontextlost`,e)}get oncontextmenu(){return this[V].get(`oncontextmenu`)??null}set oncontextmenu(e){this[V].set(`oncontextmenu`,e)}get oncontextrestored(){return this[V].get(`oncontextrestored`)??null}set oncontextrestored(e){this[V].set(`oncontextrestored`,e)}get oncuechange(){return this[V].get(`oncuechange`)??null}set oncuechange(e){this[V].set(`oncuechange`,e)}get ondblclick(){return this[V].get(`ondblclick`)??null}set ondblclick(e){this[V].set(`ondblclick`,e)}get ondrag(){return this[V].get(`ondrag`)??null}set ondrag(e){this[V].set(`ondrag`,e)}get ondragend(){return this[V].get(`ondragend`)??null}set ondragend(e){this[V].set(`ondragend`,e)}get ondragenter(){return this[V].get(`ondragenter`)??null}set ondragenter(e){this[V].set(`ondragenter`,e)}get ondragleave(){return this[V].get(`ondragleave`)??null}set ondragleave(e){this[V].set(`ondragleave`,e)}get ondragover(){return this[V].get(`ondragover`)??null}set ondragover(e){this[V].set(`ondragover`,e)}get ondragstart(){return this[V].get(`ondragstart`)??null}set ondragstart(e){this[V].set(`ondragstart`,e)}get ondrop(){return this[V].get(`ondrop`)??null}set ondrop(e){this[V].set(`ondrop`,e)}get ondurationchange(){return this[V].get(`ondurationchange`)??null}set ondurationchange(e){this[V].set(`ondurationchange`,e)}get onemptied(){return this[V].get(`onemptied`)??null}set onemptied(e){this[V].set(`onemptied`,e)}get onended(){return this[V].get(`onended`)??null}set onended(e){this[V].set(`onended`,e)}get onerror(){return this[V].get(`onerror`)??null}set onerror(e){this[V].set(`onerror`,e)}get onfocus(){return this[V].get(`onfocus`)??null}set onfocus(e){this[V].set(`onfocus`,e)}get onformdata(){return this[V].get(`onformdata`)??null}set onformdata(e){this[V].set(`onformdata`,e)}get oninput(){return this[V].get(`oninput`)??null}set oninput(e){this[V].set(`oninput`,e)}get oninvalid(){return this[V].get(`oninvalid`)??null}set oninvalid(e){this[V].set(`oninvalid`,e)}get onkeydown(){return this[V].get(`onkeydown`)??null}set onkeydown(e){this[V].set(`onkeydown`,e)}get onkeypress(){return this[V].get(`onkeypress`)??null}set onkeypress(e){this[V].set(`onkeypress`,e)}get onkeyup(){return this[V].get(`onkeyup`)??null}set onkeyup(e){this[V].set(`onkeyup`,e)}get onload(){return this[V].get(`onload`)??null}set onload(e){this[V].set(`onload`,e)}get onloadeddata(){return this[V].get(`onloadeddata`)??null}set onloadeddata(e){this[V].set(`onloadeddata`,e)}get onloadedmetadata(){return this[V].get(`onloadedmetadata`)??null}set onloadedmetadata(e){this[V].set(`onloadedmetadata`,e)}get onloadstart(){return this[V].get(`onloadstart`)??null}set onloadstart(e){this[V].set(`onloadstart`,e)}get onmousedown(){return this[V].get(`onmousedown`)??null}set onmousedown(e){this[V].set(`onmousedown`,e)}get onmouseenter(){return this[V].get(`onmouseenter`)??null}set onmouseenter(e){this[V].set(`onmouseenter`,e)}get onmouseleave(){return this[V].get(`onmouseleave`)??null}set onmouseleave(e){this[V].set(`onmouseleave`,e)}get onmousemove(){return this[V].get(`onmousemove`)??null}set onmousemove(e){this[V].set(`onmousemove`,e)}get onmouseout(){return this[V].get(`onmouseout`)??null}set onmouseout(e){this[V].set(`onmouseout`,e)}get onmouseover(){return this[V].get(`onmouseover`)??null}set onmouseover(e){this[V].set(`onmouseover`,e)}get onmouseup(){return this[V].get(`onmouseup`)??null}set onmouseup(e){this[V].set(`onmouseup`,e)}get onmousewheel(){return this[V].get(`onmousewheel`)??null}set onmousewheel(e){this[V].set(`onmousewheel`,e)}get onpause(){return this[V].get(`onpause`)??null}set onpause(e){this[V].set(`onpause`,e)}get onplay(){return this[V].get(`onplay`)??null}set onplay(e){this[V].set(`onplay`,e)}get onplaying(){return this[V].get(`onplaying`)??null}set onplaying(e){this[V].set(`onplaying`,e)}get onprogress(){return this[V].get(`onprogress`)??null}set onprogress(e){this[V].set(`onprogress`,e)}get onratechange(){return this[V].get(`onratechange`)??null}set onratechange(e){this[V].set(`onratechange`,e)}get onreset(){return this[V].get(`onreset`)??null}set onreset(e){this[V].set(`onreset`,e)}get onresize(){return this[V].get(`onresize`)??null}set onresize(e){this[V].set(`onresize`,e)}get onscroll(){return this[V].get(`onscroll`)??null}set onscroll(e){this[V].set(`onscroll`,e)}get onsecuritypolicyviolation(){return this[V].get(`onsecuritypolicyviolation`)??null}set onsecuritypolicyviolation(e){this[V].set(`onsecuritypolicyviolation`,e)}get onseeked(){return this[V].get(`onseeked`)??null}set onseeked(e){this[V].set(`onseeked`,e)}get onseeking(){return this[V].get(`onseeking`)??null}set onseeking(e){this[V].set(`onseeking`,e)}get onselect(){return this[V].get(`onselect`)??null}set onselect(e){this[V].set(`onselect`,e)}get onslotchange(){return this[V].get(`onslotchange`)??null}set onslotchange(e){this[V].set(`onslotchange`,e)}get onstalled(){return this[V].get(`onstalled`)??null}set onstalled(e){this[V].set(`onstalled`,e)}get onsubmit(){return this[V].get(`onsubmit`)??null}set onsubmit(e){this[V].set(`onsubmit`,e)}get onsuspend(){return this[V].get(`onsuspend`)??null}set onsuspend(e){this[V].set(`onsuspend`,e)}get ontimeupdate(){return this[V].get(`ontimeupdate`)??null}set ontimeupdate(e){this[V].set(`ontimeupdate`,e)}get ontoggle(){return this[V].get(`ontoggle`)??null}set ontoggle(e){this[V].set(`ontoggle`,e)}get onvolumechange(){return this[V].get(`onvolumechange`)??null}set onvolumechange(e){this[V].set(`onvolumechange`,e)}get onwaiting(){return this[V].get(`onwaiting`)??null}set onwaiting(e){this[V].set(`onwaiting`,e)}get onwebkitanimationend(){return this[V].get(`onwebkitanimationend`)??null}set onwebkitanimationend(e){this[V].set(`onwebkitanimationend`,e)}get onwebkitanimationiteration(){return this[V].get(`onwebkitanimationiteration`)??null}set onwebkitanimationiteration(e){this[V].set(`onwebkitanimationiteration`,e)}get onwebkitanimationstart(){return this[V].get(`onwebkitanimationstart`)??null}set onwebkitanimationstart(e){this[V].set(`onwebkitanimationstart`,e)}get onwebkittransitionend(){return this[V].get(`onwebkittransitionend`)??null}set onwebkittransitionend(e){this[V].set(`onwebkittransitionend`,e)}get onwheel(){return this[V].get(`onwheel`)??null}set onwheel(e){this[V].set(`onwheel`,e)}get onauxclick(){return this[V].get(`onauxclick`)??null}set onauxclick(e){this[V].set(`onauxclick`,e)}get ongotpointercapture(){return this[V].get(`ongotpointercapture`)??null}set ongotpointercapture(e){this[V].set(`ongotpointercapture`,e)}get onlostpointercapture(){return this[V].get(`onlostpointercapture`)??null}set onlostpointercapture(e){this[V].set(`onlostpointercapture`,e)}get onpointerdown(){return this[V].get(`onpointerdown`)??null}set onpointerdown(e){this[V].set(`onpointerdown`,e)}get onpointermove(){return this[V].get(`onpointermove`)??null}set onpointermove(e){this[V].set(`onpointermove`,e)}get onpointerrawupdate(){return this[V].get(`onpointerrawupdate`)??null}set onpointerrawupdate(e){this[V].set(`onpointerrawupdate`,e)}get onpointerup(){return this[V].get(`onpointerup`)??null}set onpointerup(e){this[V].set(`onpointerup`,e)}get onpointercancel(){return this[V].get(`onpointercancel`)??null}set onpointercancel(e){this[V].set(`onpointercancel`,e)}get onpointerover(){return this[V].get(`onpointerover`)??null}set onpointerover(e){this[V].set(`onpointerover`,e)}get onpointerout(){return this[V].get(`onpointerout`)??null}set onpointerout(e){this[V].set(`onpointerout`,e)}get onpointerenter(){return this[V].get(`onpointerenter`)??null}set onpointerenter(e){this[V].set(`onpointerenter`,e)}get onpointerleave(){return this[V].get(`onpointerleave`)??null}set onpointerleave(e){this[V].set(`onpointerleave`,e)}get onselectstart(){return this[V].get(`onselectstart`)??null}set onselectstart(e){this[V].set(`onselectstart`,e)}get onselectionchange(){return this[V].get(`onselectionchange`)??null}set onselectionchange(e){this[V].set(`onselectionchange`,e)}get onanimationend(){return this[V].get(`onanimationend`)??null}set onanimationend(e){this[V].set(`onanimationend`,e)}get onanimationiteration(){return this[V].get(`onanimationiteration`)??null}set onanimationiteration(e){this[V].set(`onanimationiteration`,e)}get onanimationstart(){return this[V].get(`onanimationstart`)??null}set onanimationstart(e){this[V].set(`onanimationstart`,e)}get ontransitionrun(){return this[V].get(`ontransitionrun`)??null}set ontransitionrun(e){this[V].set(`ontransitionrun`,e)}get ontransitionstart(){return this[V].get(`ontransitionstart`)??null}set ontransitionstart(e){this[V].set(`ontransitionstart`,e)}get ontransitionend(){return this[V].get(`ontransitionend`)??null}set ontransitionend(e){this[V].set(`ontransitionend`,e)}get ontransitioncancel(){return this[V].get(`ontransitioncancel`)??null}set ontransitioncancel(e){this[V].set(`ontransitioncancel`,e)}get oncopy(){return this[V].get(`oncopy`)??null}set oncopy(e){this[V].set(`oncopy`,e)}get oncut(){return this[V].get(`oncut`)??null}set oncut(e){this[V].set(`oncut`,e)}get onpaste(){return this[V].get(`onpaste`)??null}set onpaste(e){this[V].set(`onpaste`,e)}get onscrollend(){return this[V].get(`onscrollend`)??null}set onscrollend(e){this[V].set(`onscrollend`,e)}get onscrollsnapchange(){return this[V].get(`onscrollsnapchange`)??null}set onscrollsnapchange(e){this[V].set(`onscrollsnapchange`,e)}get onscrollsnapchanging(){return this[V].get(`onscrollsnapchanging`)??null}set onscrollsnapchanging(e){this[V].set(`onscrollsnapchanging`,e)}get adoptedStyleSheets(){return this[Bt]}set adoptedStyleSheets(e){this[Bt]=e}get implementation(){return this[Vt]}get readyState(){return this[Ht]}get referrer(){return this[et]}get defaultView(){return this[je]}get children(){if(!this[ye]){let e=this[Yn];this[ye]=new Ad(N,()=>e)}return this[ye]}get charset(){return this.characterSet}get characterSet(){return J.querySelector(this,`meta[charset]`)?.getAttributeNS(null,`charset`)||`UTF-8`}get title(){let e=jd.getElementByTagName(this,`title`);return e?e.text.trim():``}set title(e){let t=jd.getElementByTagName(this,`title`);if(t)t.textContent=e;else{let t=this.createElement(`title`);t.textContent=e,this.head.appendChild(t)}}get links(){return J.querySelectorAll(this,`a[href],area[href]`)}get forms(){return this[Zn]||(this[Zn]=jd.getElementsByTagName(this,`form`)),this[Zn]}get childElementCount(){return this[Yn].length}get firstElementChild(){return this[Yn][0]??null}get lastElementChild(){let e=this[Yn];return e[e.length-1]??null}get cookie(){let e=new Y(this[b]).getBrowserFrame();return e?Nu.cookiesToString(e.page.context.cookieContainer.getCookies(this[b].location,!0)):``}set cookie(e){let t=new Y(this[b]).getBrowserFrame();if(!t)return;let n=Nu.stringToCookie(this[b].location,e);n&&t.page.context.cookieContainer.addCookies([n])}get nodeName(){return`#document`}get documentElement(){return this[Yn][0]??null}get doctype(){for(let e of this[j])if(e instanceof Sd)return e;return null}get body(){let e=this.documentElement;return e?jd.getElementByTagName(e,`body`):null}get head(){let e=this.documentElement;return e?jd.getElementByTagName(e,`head`):null}get styleSheets(){let e=J.querySelectorAll(this,`link[rel="stylesheet"][href],style`),t=[];for(let n of e){let e=n.sheet;e&&t.push(e)}return t}get activeElement(){if(this[de]&&!this[de][x]&&(this[de]=null),this[de]){let e=this[de].getRootNode(),t=this[de];for(;e!==this;)t=e.host,e=t?t.getRootNode():this;return t}return this[de]||this.body||this.documentElement||null}get scrollingElement(){return this.documentElement}get location(){return this[b].location}get scripts(){return this.getElementsByTagName(`script`)}get baseURI(){let e=jd.getElementByTagName(this,`base`);return e?e.href:this[b].location.href}get URL(){return this[b].location.href}get documentURI(){return this.URL}get domain(){return this[b].location.hostname}get visibilityState(){return this.defaultView?Rh.visible:Rh.hidden}get hidden(){return!this.defaultView}get currentScript(){return this[Oe]}get contentType(){return this[Ee]}append(...e){jd.append(this,...e)}prepend(...e){jd.prepend(this,...e)}replaceChildren(...e){jd.replaceChildren(this,...e)}querySelectorAll(e){return J.querySelectorAll(this,e)}querySelector(e){return J.querySelector(this,e)}queryCommandSupported(e){if(!arguments.length)throw new this[b].TypeError(`Failed to execute 'queryCommandSupported' on 'Document': 1 argument required, but only 0 present.`);return!0}getElementsByClassName(e){return jd.getElementsByClassName(this,e)}getElementsByTagName(e){return jd.getElementsByTagName(this,e)}getElementsByTagNameNS(e,t){return jd.getElementsByTagNameNS(this,e,t)}getElementById(e){return jd.getElementById(this,e)}getElementsByName(e){return J.querySelectorAll(this,`[name="${e}"]`)}write(e){if(this[Ve]||this[He]){this[Ve]&&(this[He]||this.open(),this[Ve]=!1);let{documentElement:t,head:n,body:r}=this;(!t||!n||!r)&&this.open(),this[Ve]=!1,this[He]=!1,new wf(this[b],{evaluateScripts:!0}).parse(e,this)}else new wf(this[b],{evaluateScripts:!0}).parse(e,this.body)}open(){this[He]=!0;for(let e of this[Ke].bubbling.keys()){let t=this[Ke].bubbling.get(e);if(t)for(let n of t)this.removeEventListener(e,n)}for(let e of this[Ke].capturing.keys()){let t=this[Ke].capturing.get(e);if(t)for(let n of t)this.removeEventListener(e,n)}let e=this[j];for(;e.length;)this.removeChild(e[0]);let t=this[Vt].createDocumentType(`html`,``,``),n=this.createElement(`html`),r=this.createElement(`body`),i=this.createElement(`head`);return this.appendChild(t),this.appendChild(n),n.appendChild(i),n.appendChild(r),this}close(){}createElement(e,t){return this.createElementNS(Fl.html,Bl.asciiLowerCase(String(e)),t)}createElementNS(e,t,n){let r=this[b];if(t=String(t),!t)throw new r.DOMException(`Failed to execute 'createElementNS' on 'Document': The qualified name provided is empty.`);let i=t.split(`:`),a=i[1]??i[0],o=i[1]?i[0]:null;switch(e){case Fl.svg:let i=gf[t.toLowerCase()],s=i&&i.localName===t?r[i.className]:r.SVGElement,c=hd.createNode(this,s);return c[w]=t,c[k]=a,c[Ct]=o,c[T]=e,c[We]=n&&n.is?String(n.is):null,c;case Fl.html:let l=r.customElements[tt]?.get(n&&n.is?String(n.is):t);if(l){let r=new l.elementClass;return r[w]=Bl.asciiUpperCase(t),r[k]=a,r[Ct]=o,r[T]=e,r[We]=n&&n.is?String(n.is):null,r}let u=Id[t]?r[Id[t].className]:null;if(u){let r=hd.createNode(this,u);return r[w]=Bl.asciiUpperCase(t),r[k]=a,r[Ct]=o,r[T]=e,r[We]=n&&n.is?String(n.is):null,r}let d=t.includes(`-`)?r.HTMLElement:r.HTMLUnknownElement,f=hd.createNode(this,d);return f[w]=Bl.asciiUpperCase(t),f[k]=a,f[Ct]=o,f[T]=e,f[We]=n&&n.is?String(n.is):null,f;default:let p=hd.createNode(this,Df);return p[w]=t,p[k]=a,p[Ct]=o,p[T]=e,p[We]=n&&n.is?String(n.is):null,p}}createTextNode(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'createTextNode' on 'Document': 1 argument required, but only ${arguments.length} present.`);return hd.createNode(this,this[b].Text,String(e))}createComment(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'createComment' on 'Document': 1 argument required, but only ${arguments.length} present.`);return hd.createNode(this,this[b].Comment,String(e))}createDocumentFragment(){return hd.createNode(this,this[b].DocumentFragment)}createNodeIterator(e,t=-1,n=null){return new Mh(e,t,n)}createTreeWalker(e,t=-1,n=null){return new jh(e,t,n)}createEvent(e){return typeof this[b][e]==`function`?new this[b][e](`init`):new W(`init`)}createAttribute(e){let t=hd.createNode(this,this[b].Attr),n=Bl.asciiLowerCase(e),r=n.split(`:`);return t[E]=n,t[k]=r[1]??n,t[Ct]=r[1]?r[0]:null,t}createAttributeNS(e,t){let n=hd.createNode(this,this[b].Attr),r=t.split(`:`);if(n[T]=e,n[E]=t,n[k]=r[1]??t,n[Ct]=r[1]?r[0]:null,!e&&n[Ct])throw new this[b].DOMException(`Failed to execute 'createAttributeNS' on 'Document': The namespace URI provided ('${e||``}') is not valid for the qualified name provided ('${t}').`,H.namespaceError);return n}importNode(e,t=!1){if(!(e instanceof gd))throw new this[b].DOMException(`Parameter 1 was not of type Node.`);let n=e.cloneNode(t);return this.#e(n),n}createRange(){return new this[b].Range}adoptNode(e){if(!(e instanceof gd))throw new this[b].DOMException(`Parameter 1 was not of type Node.`);let t=e[S]?e[S].removeChild(e):e,n=this;return Object.defineProperty(t,`ownerDocument`,{value:n}),t}getSelection(){return this[st]||(this[st]=new Th(this)),this[st]}hasFocus(){return!!this.activeElement}createProcessingInstruction(e,t){if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'createProcessingInstruction' on 'Document': 2 arguments required, but only ${arguments.length} present.`);if(e=String(e),t=String(t),!e||!zh.test(e))throw new this[b].DOMException(`Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('${e}') is not a valid name.`);if(t.includes(`?>`))throw new this[b].DOMException(`Failed to execute 'createProcessingInstruction' on 'Document': The data provided ('?>') contains '?>'`);let n=hd.createNode(this,this[b].ProcessingInstruction);return n[Ae]=t,n[dt]=e,n}elementFromPoint(e,t){return null}[Me](){super[Me](),this[ye]=null,this[de]=null,this[Je]=null,this[Oe]=null,this[je]=null,this[Bt]=[],this[Zn]=null,this[Qn]=[],this[hr].clear(),this[To]=null,this[Ao].clear(),this[V].clear(),this[st]=null}#e(e){e[g]=this;for(let t of e[j])this.#e(t)}},Vh=class extends Bh{constructor(){super();let e=this.createElement(`html`),t=this.createElement(`body`),n=this.createElement(`head`);this.appendChild(e),e.appendChild(n),e.appendChild(t)}[Pn](e,t=!1){if(e[C]===U.textNode)throw new this[b].Error(`Failed to execute 'appendChild' on 'Node': Nodes of type '#text' may not be inserted inside nodes of type '#document'.`);if(e[C]===U.documentFragmentNode)return e;if(e[C]===U.elementNode&&this[Yn].length!==0)throw new this[b].Error(`Failed to execute 'appendChild' on 'Node': Only one element on document allowed.`);return super[Pn](e,t)}[In](e,t,n=!1){if(e[C]===U.textNode)throw new this[b].Error(`Failed to execute 'insertBefore' on 'Node': Nodes of type '#text' may not be inserted inside nodes of type '#document'.`);if(e[C]===U.documentFragmentNode)return e;if(e[C]===U.elementNode&&this[Yn].length!==0)throw new this[b].Error(`Failed to execute 'insertBefore' on 'Node': Only one element on document allowed.`);return super[In](e,t,n)}},Hh=class extends Bh{[Ee]=`application/xml`},Uh=class extends xd{[C]=U.textNode;[ft]=null;[Wn]=null;get nodeName(){return`#text`}get wholeText(){if(!this[S])return this[Ae];let e=``;for(let t=this.previousSibling;fd.isTextNode(t);t=t.previousSibling)e=t.data+e;e+=this[Ae];for(let t=this.nextSibling;fd.isTextNode(t);t=t.nextSibling)e+=t.data;return e}get data(){return this[Ae]}set data(e){super.data=e,this[ft]&&this[ft][rt](),this[Wn]&&this[Wn][Gn]()}splitText(e){let t=this[Ae].length;if(e<0||e>t)throw new this[b].DOMException(`The index is not in the allowed range.`,H.indexSizeError);let n=t-e,r=this.substringData(e,n),i=this[g].createTextNode(r);return this[S]!==null&&this[S].insertBefore(i,this.nextSibling),this.replaceData(e,n,``),i}toString(){return`[object Text]`}[Nn](e=!1){return super[Nn](e)}[xe](){super[xe](),this[ft]&&this[ft][rt](),this[Wn]&&this[Ae]&&this[Wn][Gn]()}[Se](){this[ft]&&this[ft][rt](),this[Wn]&&this[Ae]&&this[Wn][Gn](),super[Se]()}},Wh=class extends xd{[C]=U.commentNode;get nodeName(){return`#comment`}toString(){return`[object Comment]`}[Nn](e=!1){return super[Nn](e)}},Gh=class extends Lp{[w]=`IMG`;[k]=`img`;[T]=Fl.html;constructor(e=null,t=null){super(),e!==null&&(this.width=e),t!==null&&(this.height=t)}},Kh=class extends Bf{[w]=`AUDIO`;[k]=`audio`;[T]=Fl.html;constructor(e=null){super(),e!==null&&(this.src=e)}},qh=class{target;options;mutationListener;#e;#t;#n;#r=[];#i=!1;#a=!1;constructor(e){this.options=e.options,this.target=e.target,this.mutationListener={options:e.options,callback:new WeakRef(e=>this.report(e))},this.#e=e.window,this.#t=e.observer,this.#n=e.callback}report(e){this.#i||(this.#r.push(e),!this.#a&&(this.#e.queueMicrotask(()=>{if(this.#i)return;this.#a=!1;let e=this.#r;e?.length>0&&(this.#r=[],this.#n(e,this.#t))}),this.#a=!0))}takeRecords(){if(this.#i)return[];let e=this.#r;return this.#r=[],e}destroy(){this.#i||(this.#i=!0,this.options=null,this.target=null,this.mutationListener=null,this.#e=null,this.#t=null,this.#n=null,this.#r=null)}},Jh=class{#e;#t=[];#n=!1;constructor(e){if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);this.#e=e}observe(e,t){if(this.#n)return;if(!e)throw new this[b].TypeError(`Failed to execute 'observe' on 'MutationObserver': The first parameter "target" should be of type "Node".`);if(t&&(t.attributeFilter||t.attributeOldValue)){if(t.attributes===void 0&&(t=Object.assign({},t,{attributes:!0,attributeFilter:t.attributeFilter,attributeOldValue:t.attributeOldValue})),!t.attributes&&t.attributeOldValue)throw new this[b].TypeError(`Failed to execute 'observe' on 'MutationObserver': The options object may only set 'attributeOldValue' to true when 'attributes' is true or not present.`);if(!t.attributes&&t.attributeFilter)throw new this[b].TypeError(`Failed to execute 'observe' on 'MutationObserver': The options object may only set 'attributeFilter' when 'attributes' is true or not present.`)}if(t&&t.characterDataOldValue&&(t.characterData===void 0&&(t=Object.assign({},t,{characterData:!0,characterDataOldValue:t.characterDataOldValue})),!t.characterData&&t.characterDataOldValue))throw new this[b].TypeError(`Failed to execute 'observe' on 'MutationObserver': The options object may only set 'characterDataOldValue' to true when 'characterData' is true or not present.`);if(!t||!t.childList&&!t.attributes&&!t.characterData)throw new this[b].TypeError(`Failed to execute 'observe' on 'MutationObserver': The options object must set at least one of 'attributes', 'characterData', or 'childList' to true.`);t=Object.assign({},t,{attributeFilter:t.attributeFilter?t.attributeFilter.map(e=>e.toLowerCase()):null});for(let n of this.#t)if(n.target===e){n.options=t;return}let n=new qh({window:this[b],options:t,callback:this.#e.bind(this),observer:this,target:e});this.#t.push(n),this[b][vt].includes(this)||this[b][vt].push(this),e[Ye](n.mutationListener)}disconnect(){if(this.#t.length===0)return;for(let e of this.#t)e.target[pt](e.mutationListener),e.destroy();this.#t=[];let e=this[b][vt],t=e.indexOf(this);t!==-1&&e.splice(t,1)}takeRecords(){let e=[];for(let t of this.#t)e=e.concat(t.takeRecords());return e}[Me](){this.#n=!0,this.disconnect()}},Yh=class extends nl{postMessage(e,t){}start(){}close(){}};const Xh=/\/\*[\s\S]*?\*\//gm;var Zh=class{#e;constructor(e){this.#e=e}parseFromString(e){let t=this.#e,n=t[b],r=e.replace(Xh,``),i=[],a=/{|}/gm,o=[],s=null,c=0,l;for(;l=a.exec(r);){if(l[0]===`{`){let e=r.substring(c,l.index).trim();if(e[0]===`@`){let r=e.split(` `),a=r[0],o=r.slice(1).join(` `).trim();switch(a){case`@keyframes`:case`@-webkit-keyframes`:let e=new Tl(N,n,this);e[Qo]=a===`@-webkit-keyframes`?`-webkit-`:``,e[E]=o,e[Wo]=t,s?(s.type===G.mediaRule||s.type===G.containerRule||s.type===G.supportsRule)&&s.cssRules.push(e):i.push(e),s=e;break;case`@media`:let r=o.split(`,`),c=new Ol(N,n,this);for(let e of r)c.media.appendMedium(e.trim());c[Wo]=t,s?(s.type===G.mediaRule||s.type===G.containerRule||s.type===G.supportsRule)&&s.cssRules.push(c):i.push(c),s=c;break;case`@container`:case`@-webkit-container`:let l=new xl(N,n,this);l[Qo]=a===`@-webkit-container`?`-webkit-`:``,l[Go]=o,l[Wo]=t,s?(s.type===G.mediaRule||s.type===G.containerRule||s.type===G.supportsRule)&&s.cssRules.push(l):i.push(l),s=l;break;case`@supports`:case`@-webkit-supports`:let u=new Pl(N,n,this);u[Qo]=a===`@-webkit-supports`?`-webkit-`:``,u[Go]=o,u[Wo]=t,s?(s.type===G.mediaRule||s.type===G.containerRule||s.type===G.supportsRule)&&s.cssRules.push(u):i.push(u),s=u;break;case`@font-face`:let d=new Sl(N,n,this);d[De]=o,d[Wo]=t,s?(s.type===G.mediaRule||s.type===G.containerRule||s.type===G.supportsRule)&&s.cssRules.push(d):i.push(d),s=d;break;case`@scope`:case`@-webkit-scope`:let f=new pl(N,n,this);if(f[Qo]=a===`@-webkit-scope`?`-webkit-`:``,f[Wo]=t,o){let e=o.split(/\s+to\s+/);e[0]&&e[0][0]===`(`&&e[0][e[0].length-1]===`)`&&(f[_]=e[0].slice(1,-1)),e[1]&&e[1][0]===`(`&&e[1][e[1].length-1]===`)`&&(f[m]=e[1].slice(1,-1))}s?(s.type===G.mediaRule||s.type===G.containerRule||s.type===G.supportsRule)&&s.cssRules.push(f):i.push(f),s=f;break;default:let p=new Nl(N,n,this);p[Wo]=t,s=p;break}}else if(s&&s.type===G.keyframesRule){let r=new Cl(N,n,this),i=e.trim();i===`from`?i=`0%`:i===`to`&&(i=`100%`),r[Ko]=i,r[Wo]=t,r[Uo]=s,s.cssRules.push(r),s=r}else if(s&&(s.type===G.mediaRule||s.type===G.containerRule||s.type===G.supportsRule)){if(this.validateSelectorText(e)){let r=new Nl(N,n,this);r[Yo]=e,r[Wo]=t,r[Uo]=s,s.cssRules.push(r),s=r}}else if(this.validateSelectorText(e)){let r=new Nl(N,n,this);r[Yo]=e,r[Wo]=t,r[Uo]=s,s||i.push(r),s=r}s&&o.push(s)}else{if(s){let e=r.substring(c,l.index).trim().replace(/([^;])$/,`$1;`);switch(s.type){case G.fontFaceRule:case G.keyframeRule:case G.styleRule:s[De]=e;break}}o.pop(),s=o[o.length-1]||null}c=l.index+1}return i}validateSelectorText(e){let t=this.#e[b];return new $c({window:t,scope:t.document,ignoreErrors:!0}).getSelectorGroups(e).length>0}},Qh=class{cssRules=[];media;title;alternate;disabled;#e=null;constructor(e){this.media=e&&e.media?e.media:``,this.title=e&&e.title?e.title:``,this.alternate=e&&e.alternate?e.alternate:!1,this.disabled=e&&e.disabled?e.disabled:!1}insertRule(e,t){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'insertRule' on 'CSSStyleSheet': 1 argument required, but only 0 present.`);let n=new Zh(this).parseFromString(e);if(n.length===0||n.length>1)throw new this[b].DOMException(`Failed to execute 'insertRule' on 'CSSStyleSheet': Failed to parse the rule '${e}'.`,H.syntaxError);if(t!==void 0){if(t>this.cssRules.length)throw new this[b].DOMException(`Failed to execute 'insertRule' on 'CSSStyleSheet': The index provided (${t}) is larger than the maximum index (${this.cssRules.length-1}).`,H.indexSizeError);return this.cssRules.splice(t,0,n[0]),t}let r=this.cssRules.length;return this.cssRules.push(n[0]),r}deleteRule(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'deleteRule' on 'CSSStyleSheet': 1 argument required, but only 0 present.`);this.cssRules.splice(e,1)}async replace(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'replace' on 'CSSStyleSheet': 1 argument required, but only 0 present.`);this.replaceSync(e)}replaceSync(e){if(arguments.length===0)throw new this[b].TypeError(`Failed to execute 'replaceSync' on 'CSSStyleSheet': 1 argument required, but only 0 present.`);this.#e!==e&&(this.#e=e,this.cssRules=new Zh(this).parseFromString(e))}},$h=class extends nl{[V]=new Map;get onloadstart(){return this[V].get(`onloadstart`)??null}set onloadstart(e){this[V].set(`onloadstart`,e)}get onprogress(){return this[V].get(`onprogress`)??null}set onprogress(e){this[V].set(`onprogress`,e)}get onabort(){return this[V].get(`onabort`)??null}set onabort(e){this[V].set(`onabort`,e)}get onerror(){return this[V].get(`onerror`)??null}set onerror(e){this[V].set(`onerror`,e)}get onload(){return this[V].get(`onload`)??null}set onload(e){this[V].set(`onload`,e)}get ontimeout(){return this[V].get(`ontimeout`)??null}set ontimeout(e){this[V].set(`ontimeout`,e)}get onloadend(){return this[V].get(`onloadend`)??null}set onloadend(e){this[V].set(`onloadend`,e)}},eg=class extends $h{},tg=class{signal=new this[b].AbortSignal;abort(e){this.signal[ue](e)}},ng=class extends nl{[Xr]=!1;[Vo]=void 0;onabort=null;constructor(){if(super(),!this[b])throw TypeError(`Failed to construct 'AbortSignal': Illegal constructor`)}get[Symbol.toStringTag](){return`AbortSignal`}get aborted(){return this[Xr]}set aborted(e){}get reason(){return this[Vo]}set reason(e){}[ue](e){this.aborted||(this[Vo]=e===void 0?new this[b].DOMException(`signal is aborted without reason`,H.abortError):e,this[Xr]=!0,this.dispatchEvent(new W(`abort`)))}throwIfAborted(){if(this.aborted)throw this.reason}static abort(e){let t=new this;return t[Vo]=e===void 0?new this[b].DOMException(`signal is aborted without reason`,H.abortError):e,t[Xr]=!0,t}static timeout(e){let t=this[b],n=new this;return t.setTimeout(()=>{n[ue](new t.DOMException(`signal timed out`,H.timeoutError))},e),n}static any(e){for(let t of e)if(t[Xr])return this.abort(t[Vo]);let t=new this,n=new Map,r=()=>{for(let t of e)t.removeEventListener(`abort`,n.get(t))};for(let i of e){let e=()=>{r(),t[ue](i[Vo])};n.set(i,e),i.addEventListener(`abort`,e)}return t}},rg=class extends nl{state;onchange=null;constructor(e=`granted`){super(),this.state=e}},ig;(function(e){e[e.unsent=0]=`unsent`,e[e.opened=1]=`opened`,e[e.headersReceived=2]=`headersReceived`,e[e.loading=3]=`loading`,e[e.done=4]=`done`})(ig||={});var ag=ig,og;(function(e){e.arraybuffer=`arraybuffer`,e.blob=`blob`,e.document=`document`,e.json=`json`,e.text=`text`})(og||={});var sg=og,cg=class{static parse(e){if(!e.data)return``;switch(e.responseType){case sg.arraybuffer:let t=new ArrayBuffer(e.data.length),n=new Uint8Array(t);return n.set(e.data),n;case sg.blob:try{return new e.window.Blob([new Uint8Array(e.data)],{type:e.contentType||``})}catch{}return null;case sg.document:let r=new e.window.DOMParser;try{return r.parseFromString(e.data.toString(),`application/xml`)}catch{}return null;case sg.json:try{return JSON.parse(e.data.toString())}catch{}return null;case sg.text:default:return e.data.toString()}}},lg=class extends $h{static UNSENT=ag.unsent;static OPENED=ag.opened;static HEADERS_RECEIVED=ag.headersReceived;static LOADING=ag.loading;static DONE=ag.done;upload=new this[b].XMLHttpRequestUpload;withCredentials=!1;#e=!0;#t=null;#n=!1;#r=null;#i=null;#a=``;#o=null;#s=Buffer.from([]);#c=ag.unsent;#l=null;constructor(){if(super(),!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get status(){return this.#i?.status||0}get statusText(){return this.#i?.statusText||``}get response(){return this.#i?this.#o:``}get responseText(){if(this.responseType!==sg.text&&this.responseType!==``)throw new this[b].DOMException(`Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was '${this.responseType}').`,H.invalidStateError);return this.#o===null?this.readyState===ag.headersReceived||this.readyState===ag.loading?this.#s.toString()??``:``:this.#o}get responseXML(){if(this.responseType!==sg.document&&this.responseType!==``)throw new this[b].DOMException(`Failed to read the 'responseXML' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'document' (was '${this.responseType}').`,H.invalidStateError);return this.responseType===``?null:this.#o}get responseURL(){return this.#i?.url||``}get readyState(){return this.#c}set responseType(e){if(this.readyState!==ag.opened&&this.readyState!==ag.unsent)throw new this[b].DOMException(`Failed to set the 'responseType' property on 'XMLHttpRequest': The object's state must be OPENED or UNSENT.`,H.invalidStateError);if(!this.#e)throw new this[b].DOMException(`Failed to set the 'responseType' property on 'XMLHttpRequest': The response type cannot be changed for synchronous requests made from a document.`,H.invalidStateError);this.#a=e}get responseType(){return this.#a}open(e,t,n=!0,r,i){let a=this[b];if(!n&&this.responseType&&this.responseType!==sg.text)throw new a.DOMException(`Failed to execute 'open' on 'XMLHttpRequest': Synchronous requests from a document must not set a response type.`,H.invalidAccessError);let o=new this[b].Headers;if(r){let e=Buffer.from(`${r}:${i||``}`);o.set(`Authorization`,`Basic `+e.toString(`base64`))}this.#e=n,this.#n=!1,this.#i=null,this.#o=null,this.#s=Buffer.from([]),this.#t=new a.AbortController,this.#r=new a.Request(t,{method:e,headers:o,signal:this.#t.signal,credentials:this.withCredentials?`include`:`same-origin`}),this.#c=ag.opened}setRequestHeader(e,t){if(this.readyState!==ag.opened)throw new this[b].DOMException(`Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.`,H.invalidStateError);return Fu.isHeaderForbidden(e)?!1:(this.#r.headers.set(e,t),!0)}getResponseHeader(e){return this.#i?.headers.get(e)??null}getAllResponseHeaders(){if(!this.#i)return``;let e=[];for(let[t,n]of this.#i?.headers){let r=t.toLowerCase();r!==`set-cookie`&&r!==`set-cookie2`&&e.push(`${t}: ${n}`)}return e.join(`\r
|
|
163
|
-
`)}send(e){let t=this[b];if(this.readyState!=ag.opened)throw new this[b].DOMException(`Failed to execute 'send' on 'XMLHttpRequest': Connection must be opened before send() is called.`,H.invalidStateError);typeof e==`object`&&e&&e[C]===U.documentNode&&(e=new t.XMLSerializer().serializeToString(e)),this.#e?this.#u(e).catch(e=>{throw e}):this.#d(e)}abort(){this.#n||(this.#n=!0,this.#t.abort())}overrideMimeType(e){if(this.readyState===ag.loading||this.readyState===ag.done)throw new this[b].DOMException(`Failed to execute 'overrideMimeType' on 'XMLHttpRequest': MIME type cannot be overridden when the request state is LOADING or DONE.`,H.invalidStateError);this.#l=e}async#u(e){let t=this[b],n=new Y(t).getBrowserFrame();if(!n)return;let r=n[fe],i=r.startTask(()=>this.abort());this.#c=ag.loading,this.#f(new W(`readystatechange`)),this.#f(new W(`loadstart`)),e&&(this.#r=new t.Request(this.#r.url,{method:this.#r.method,headers:this.#r.headers,signal:this.#t.signal,credentials:this.#r.credentials,body:e})),this.#t.signal.addEventListener(`abort`,()=>{this.#n=!0,this.#c=ag.unsent,this.#f(new W(`abort`)),this.#f(new W(`loadend`)),this.#f(new W(`readystatechange`)),r.endTask(i)});let a=e=>{if(e instanceof _s&&e.name===H.abortError){if(this.#n)return;this.#c=ag.unsent,this.#f(new W(`abort`))}else this.#c=ag.done,this.#f(new tu(`error`,{error:e,message:e.message}));this.#f(new W(`loadend`)),this.#f(new W(`readystatechange`)),r.endTask(i)},o=new qu({browserFrame:n,window:t,url:this.#r.url,init:this.#r});try{this.#i=await o.send()}catch(e){a(e);return}this.#c=ag.headersReceived,this.#f(new W(`readystatechange`));let s=this.#i.headers.get(`Content-Length`),c=s!==null&&!isNaN(Number(s))?Number(s):null,l=0;if(this.#i.body){let e;try{for await(let t of this.#i.body){let n=typeof t==`string`?Buffer.from(t):t;this.#s=Buffer.concat([this.#s,n]),l+=t.length;try{this.#f(new lu(`progress`,{lengthComputable:c!==null,loaded:l,total:c===null?0:c}))}catch(t){throw e=t,t}}}catch(t){if(t===e)throw t;a(t);return}}this.#o=cg.parse({window:t,responseType:this.#a,data:this.#s,contentType:this.#l||this.#i.headers.get(`Content-Type`)||this.#r.headers.get(`Content-Type`)}),this.#c=ag.done,this.#s=Buffer.from([]),r.endTask(i),this.#f(new W(`readystatechange`)),this.#f(new W(`load`)),this.#f(new W(`loadend`))}#d(e){let t=this[b],n=new Y(t).getBrowserFrame();if(!n)return;e&&(this.#r=new t.Request(this.#r.url,{method:this.#r.method,headers:this.#r.headers,signal:this.#t.signal,credentials:this.#r.credentials,body:e})),this.#c=ag.loading;let r=new em({browserFrame:n,window:t,url:this.#r.url,init:this.#r});try{this.#i=r.send()}catch(e){this.#c=ag.done,this.#f(new tu(`error`,{error:e,message:e.message})),this.#f(new W(`loadend`)),this.#f(new W(`readystatechange`));return}this.#c=ag.headersReceived,this.#o=cg.parse({window:t,responseType:this.#a,data:this.#i.body,contentType:this.#l||this.#i.headers.get(`Content-Type`)||this.#r.headers.get(`Content-Type`)}),this.#c=ag.done,this.#f(new W(`readystatechange`)),this.#f(new W(`load`)),this.#f(new W(`loadend`))}#f(e){let t=new Y(this[b]).getBrowserFrame();if(!t?.page?.context?.browser?.settings?.errorCapture)return;let n=t.page.context.browser.settings,r=n.errorCapture;n.errorCapture=Ls.tryAndCatch,this.dispatchEvent(e),n.errorCapture=r}};const ug=/<([^\s/!>?]+)|<\/([^\s/!>?]+)\s*>|(<!--)|(-->)|(<!)|(<\?)|(\/>)|(>)/gm,dg=/\s*([a-zA-Z0-9-_:]+)\s*=\s*"([^"]*)("{0,1})|\s*([a-zA-Z0-9-_:]+)\s*=\s*'([^']*)('{0,1})/gm,fg=/^\s*([a-zA-Z0-9-_:]+)$/,pg=/version="[^"]+"/,mg=/"([^"]+)"/gm,hg=/\s+/,gg=/\n/g;var _g;(function(e){e.any=`any`,e.startTag=`startTag`,e.comment=`comment`,e.documentType=`documentType`,e.processingInstruction=`processingInstruction`,e.error=`error`})(_g||={});const vg=Object.values(Fl);var yg=class{window;rootNode=null;nodeStack=[];tagNameStack=[];defaultNamespaceStack=null;namespacePrefixStack=null;startTagIndex=0;markupRegExp=null;lastIndex=0;errorIndex=0;nextElement=null;nextTagName=null;currentNode=null;readState=_g.any;errorMessage=null;constructor(e){this.window=e}parse(e){this.rootNode=new this.window.XMLDocument,this.nodeStack=[this.rootNode],this.tagNameStack=[null],this.currentNode=this.rootNode,this.readState=_g.any,this.defaultNamespaceStack=[null],this.namespacePrefixStack=[null],this.startTagIndex=0,this.errorIndex=0,this.errorMessage=null,this.markupRegExp=new RegExp(ug,`gm`),this.lastIndex=0;let t;for(this.rootNode[je]=this.window,e=String(e);t=this.markupRegExp.exec(e);){switch(this.readState){case _g.any:t.index!==this.lastIndex&&(t[1]||t[2]||t[3]||t[4]||t[5]!==void 0||t[6])&&this.parsePlainText(e.substring(this.lastIndex,t.index)),t[1]?this.parseStartTag(t[1]):t[2]?this.parseEndTag(t[2])||(this.errorMessage=`Opening and ending tag mismatch: ${this.tagNameStack[this.tagNameStack.length-1]} line ${e.substring(0,this.startTagIndex).split(`
|
|
164
|
-
`).length} and ${t[2]}\n`,this.errorIndex=this.markupRegExp.lastIndex,this.readState=_g.error,this.removeOverflowingTextNodes()):t[3]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=_g.comment):t[5]===void 0?t[6]?(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=_g.processingInstruction):this.parsePlainText(e.substring(this.lastIndex,this.markupRegExp.lastIndex)):(this.startTagIndex=this.markupRegExp.lastIndex,this.readState=_g.documentType);break;case _g.startTag:if(t[7]||t[8]){let n=e.substring(this.startTagIndex,t[2]?this.markupRegExp.lastIndex-1:t.index),r=!!t[7];this.parseEndOfStartTag(n,r)}else this.errorMessage=t[2]&&this.lastIndex!==this.startTagIndex?`Unescaped '<' not allowed in attributes values
|
|
165
|
-
`:`error parsing attribute name
|
|
166
|
-
`,this.errorIndex=t.index,this.readState=_g.error,this.removeOverflowingTextNodes();break;case _g.comment:t[4]&&this.parseComment(e.substring(this.startTagIndex,t.index));break;case _g.documentType:(t[7]||t[8])&&this.parseDocumentType(e.substring(this.startTagIndex,t.index));break;case _g.processingInstruction:(t[7]||t[8])&&this.parseProcessingInstruction(e.substring(this.startTagIndex,t.index));break;case _g.error:return this.parseError(e.slice(0,this.errorIndex),this.errorMessage),this.rootNode}this.lastIndex=this.markupRegExp.lastIndex}return this.readState===_g.error?(this.parseError(e.slice(0,this.errorIndex),this.errorMessage),this.rootNode):this.readState===_g.comment?(this.parseError(e,`Comment not terminated
|
|
167
|
-
`),this.removeOverflowingTextNodes(),this.rootNode):this.rootNode[Yn].length===0?(this.parseError(``,`Start tag expected, '<' not found`),this.rootNode):(this.lastIndex!==e.length&&this.currentNode&&this.parsePlainText(e.substring(this.lastIndex)),this.nodeStack.length===1||this.parseError(e,this.nextElement?`attributes construct error
|
|
168
|
-
`:`Premature end of data in tag article line 1
|
|
169
|
-
`),this.rootNode)}parsePlainText(e){this.currentNode===this.rootNode?e.replace(hg,``)&&(this.errorMessage=`Extra content at the end of the document
|
|
170
|
-
`,this.errorIndex=this.lastIndex,this.readState=_g.error):e.includes(` `)?(this.errorMessage=`Entity 'nbsp' not defined
|
|
171
|
-
`,this.errorIndex=this.lastIndex+e.indexOf(` `)+6,this.readState=_g.error):this.currentNode[Pn](this.rootNode.createTextNode(mf.decodeXMLEntities(e)),!0)}parseProcessingInstruction(e){let t=this.markupRegExp,n=e.split(hg),r=e[e.length-1]===`?`;if(n[0]===`xml`)if(this.currentNode!==this.rootNode||this.rootNode[j].length!==0||n.length===1)this.errorMessage=`XML declaration allowed only at the start of the document
|
|
172
|
-
`,this.errorIndex=t.lastIndex-e.length+2,this.readState=_g.error,this.removeOverflowingTextNodes();else if(!pg.test(n[1]))this.errorMessage=`Malformed declaration expecting version
|
|
173
|
-
`,this.errorIndex=t.lastIndex-e.length+3,this.readState=_g.error;else if(!r)this.errorMessage=`Blank needed here
|
|
174
|
-
`,this.errorIndex=t.lastIndex-1,this.readState=_g.error;else{let e=n[0],t=n.slice(1).join(` `).slice(0,-1);this.rootNode[To]=this.rootNode.createProcessingInstruction(e,t),this.readState=_g.any}else if(n.length===1&&!r)this.errorMessage=`ParsePI: PI processing-instruction space expected
|
|
175
|
-
`,this.errorIndex=t.lastIndex-1,this.readState=_g.error;else if(n.length>1&&!r)this.errorMessage=`ParsePI: PI processing-instruction never end ...
|
|
176
|
-
`,this.errorIndex=t.lastIndex-1,this.readState=_g.error;else{let e=n[0],t=n.slice(1).join(` `).slice(0,-1);this.currentNode[Pn](this.rootNode.createProcessingInstruction(e,t),!0),this.readState=_g.any}}parseComment(e){this.currentNode!==this.rootNode&&this.currentNode[Pn](this.rootNode.createComment(mf.decodeXMLEntities(e)),!0),this.readState=_g.any}parseDocumentType(e){let t=this.markupRegExp;if(this.currentNode===this.rootNode&&this.rootNode[j].length===0){let n=this.getDocumentType(mf.decodeXMLEntities(e));n?.name?(this.rootNode[Pn](this.window.document.implementation.createDocumentType(n.name,n.publicId,n.systemId),!0),this.readState=_g.any):n?(this.errorMessage=`xmlParseDocTypeDecl : no DOCTYPE name
|
|
177
|
-
`,this.errorIndex=t.lastIndex-e.length-2,this.readState=_g.error):(this.errorMessage=`StartTag: invalid element name
|
|
178
|
-
`,this.errorIndex=t.lastIndex-e.length-2,this.readState=_g.error)}else this.currentNode===this.rootNode&&this.rootNode[Yn].length===1?(this.errorMessage=`Extra content at the end of the document
|
|
179
|
-
`,this.errorIndex=t.lastIndex-e.length-2,this.readState=_g.error):(this.errorMessage=`StartTag: invalid element name
|
|
180
|
-
`,this.errorIndex=t.lastIndex-e.length-2,this.readState=_g.error)}parseStartTag(e){let t=e.split(`:`),n=this.namespacePrefixStack,r=this.defaultNamespaceStack;t.length>1?this.nextElement=this.rootNode.createElementNS(n[n.length-1]?.get(t[0])||null,e):this.nextElement=this.rootNode.createElementNS(r[r.length-1]||null,e),n.push(new Map(n[n.length-1])),this.nextTagName=e,this.startTagIndex=this.markupRegExp.lastIndex,this.readState=_g.startTag}parseEndOfStartTag(e,t){let n=this.namespacePrefixStack[this.namespacePrefixStack.length-1];if(e){let t=new RegExp(dg,`gm`),r,i=0;for(;r=t.exec(e);){let a=e.substring(i,r.index).replace(hg,``);if(a.length){let e=a.match(fg);this.errorMessage=e?`Specification mandates value for attribute ${e[1]}\n`:`attributes construct error
|
|
181
|
-
`,this.errorIndex=this.startTagIndex,this.readState=_g.error,this.removeOverflowingTextNodes();return}if(r[1]&&r[3]===`"`||r[4]&&r[6]===`'`){let e=r[1]??r[4],t=r[2]??r[5],i=t?mf.decodeXMLAttributeValue(t.replace(gg,` `)):``,a=this.nextElement[Ot],o=e.split(`:`);if(o.length>2||o.length===2&&(!o[0]||!o[1])){this.errorMessage=`Failed to parse QName '${e}'\n`,this.errorIndex=this.startTagIndex+r.index+r[0].split(`=`)[0].length,this.readState=_g.error;return}let s=null;switch(o[0]){case`xmlns`:s=Fl.xmlns;break;case`xlink`:s=Fl.xlink;break}if(a.getNamedItemNS(s,o[1]??e))this.errorMessage=`Attribute ${e} redefined\n`,this.errorIndex=this.startTagIndex,this.readState=_g.error;else{let t=hd.createNode(this.rootNode,this.window.Attr);if(t[T]=s,t[E]=e,t[k]=s&&o[1]?o[1]:e,t[Ct]=s&&o[1]?o[0]:null,t[v]=i,a[or](t),t[Ct]===`xmlns`)n.set(t[k],i),this.nextElement[Ct]===t[k]&&(this.nextElement[T]=i);else if(e===`xmlns`&&!this.nextElement[Ct])if(vg.includes(i)){this.nextElement=this.rootNode.createElementNS(i,this.nextElement[w]),this.nextElement[Ot]=a,a[Ze]=this.nextElement;for(let e of a[A].values())e[Ze]=this.nextElement}else this.nextElement[T]=i}this.startTagIndex+=r[0].length}else if(r[1]&&r[3]!==`"`||r[4]&&r[6]!==`'`)return;i=t.lastIndex}let a=e.substring(i).replace(hg,``);if(a.length){let e=a.match(fg);e?(this.errorMessage=`Specification mandates value for attribute ${e[1]}\n`,this.errorIndex=this.markupRegExp.lastIndex-2):(this.errorMessage=`attributes construct error
|
|
182
|
-
`,this.errorIndex=this.startTagIndex),this.readState=_g.error,this.removeOverflowingTextNodes();return}}if(this.nextElement[Ct]&&!this.nextElement[T]){this.errorMessage=`Namespace prefix ${this.nextElement[Ct]} on name is not defined\n`,this.errorIndex=this.lastIndex,this.readState=_g.error;return}if(this.currentNode===this.rootNode&&this.rootNode[Yn].length!==0){this.errorMessage=`Extra content at the end of the document
|
|
183
|
-
`,this.errorIndex=this.lastIndex-this.nextElement[w].length-1,this.readState=_g.error;return}this.currentNode[Pn](this.nextElement,!0),t||(this.currentNode=this.nextElement,this.nodeStack.push(this.currentNode),this.tagNameStack.push(this.nextTagName),this.currentNode[T]&&!this.currentNode[Ct]?this.defaultNamespaceStack.push(this.currentNode[T]):this.defaultNamespaceStack.push(this.defaultNamespaceStack[this.defaultNamespaceStack.length-1])),this.nextElement=null,this.nextTagName=null,this.readState=_g.any,this.startTagIndex=this.markupRegExp.lastIndex}parseEndTag(e){return this.tagNameStack[this.tagNameStack.length-1]===e?(this.nodeStack.pop(),this.tagNameStack.pop(),this.namespacePrefixStack.pop(),this.defaultNamespaceStack.pop(),this.currentNode=this.nodeStack[this.nodeStack.length-1]||this.rootNode,!0):!1}parseError(e,t){let n=this.rootNode.documentElement;if(!n){let e=this.rootNode.createElementNS(Fl.html,`html`),t=this.rootNode.createElementNS(Fl.html,`body`);e.appendChild(t),n=t,this.rootNode[Pn](e,!0)}let r=e.split(`
|
|
184
|
-
`),i=r[r.length-1].length+1,a=`error on line ${r.length} at column ${i}: ${t||`Unknown error`}`,o=this.rootNode.createElementNS(Fl.html,`parsererror`);o.setAttribute(`style`,`display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black`),o.innerHTML=`<h3>This page contains the following errors:</h3><div style="font-family:monospace;font-size:12px">${a}</div><h3>Below is a rendering of the page up to the first error.</h3>`,n.insertBefore(o,n.firstChild)}removeOverflowingTextNodes(){if(this.currentNode&&this.currentNode!==this.rootNode)for(;this.currentNode.lastChild?.[C]===gd.TEXT_NODE;)this.currentNode.removeChild(this.currentNode.lastChild)}getDocumentType(e){if(!e.toUpperCase().startsWith(`DOCTYPE`))return null;let t=e.split(hg);if(t.length<=1)return null;let n=t.slice(1).join(` `),r=[],i=new RegExp(mg,`gm`),a=n.toUpperCase().includes(`PUBLIC`),o;for(;o=i.exec(n);)r.push(o[1]);let s=a&&r[0]||``,c=a?r[1]||``:r[0]||``;return{name:t[1].toLowerCase(),publicId:s,systemId:c}}},bg=class{parseFromString(e,t){if(!t)throw new this[b].DOMException(`Second parameter "mimeType" is mandatory.`);let n=this[b];switch(t){case`text/html`:let r=new n.HTMLDocument;return r[je]=n,new wf(this[b]).parse(e,r);case`image/svg+xml`:case`text/xml`:case`application/xml`:case`application/xhtml+xml`:return new yg(this[b]).parse(e);default:throw new n.DOMException(`Unknown mime type "${t}".`)}}},xg;(function(e){e[e.endToEnd=2]=`endToEnd`,e[e.endToStart=3]=`endToStart`,e[e.startToEnd=1]=`startToEnd`,e[e.startToStart=0]=`startToStart`})(xg||={});var Sg=xg,Cg=class{static END_TO_END=Sg.endToEnd;static END_TO_START=Sg.endToStart;static START_TO_END=Sg.startToEnd;static START_TO_START=Sg.startToStart;END_TO_END=Sg.endToEnd;END_TO_START=Sg.endToStart;START_TO_END=Sg.startToEnd;START_TO_START=Sg.startToStart;[_];[m];[g];constructor(){let e=this[b];if(!e)throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`);this[g]=e.document,this[_]={node:e.document,offset:0},this[m]={node:e.document,offset:0}}get startContainer(){return this[_].node}get endContainer(){return this[m].node}get startOffset(){if(this[_].offset>0){let e=fd.getNodeLength(this[_].node);this[_].offset>e&&(this[_].offset=e)}return this[_].offset}get endOffset(){if(this[m].offset>0){let e=fd.getNodeLength(this[m].node);this[m].offset>e&&(this[m].offset=e)}return this[m].offset}get collapsed(){return this[_].node===this[m].node&&this.startOffset===this.endOffset}get commonAncestorContainer(){let e=this[_].node;for(;e;){if(fd.isInclusiveAncestor(e,this[m].node))return e;e=e[S]}return null}collapse(e=!1){e?this[m]=Object.assign({},this[_]):this[_]=Object.assign({},this[m])}compareBoundaryPoints(e,t){if(e!==Sg.startToStart&&e!==Sg.startToEnd&&e!==Sg.endToEnd&&e!==Sg.endToStart)throw new this[b].DOMException(`The comparison method provided must be one of '${Sg.startToStart}', '${Sg.startToEnd}', '${Sg.endToEnd}' or '${Sg.endToStart}'.`,H.notSupportedError);if(this[g]!==t[g])throw new this[b].DOMException(`The two Ranges are not in the same tree.`,H.wrongDocumentError);let n={node:null,offset:0},r={node:null,offset:0};switch(e){case Sg.startToStart:n.node=this[_].node,n.offset=this.startOffset,r.node=t[_].node,r.offset=t.startOffset;break;case Sg.startToEnd:n.node=this[m].node,n.offset=this.endOffset,r.node=t[_].node,r.offset=t.startOffset;break;case Sg.endToEnd:n.node=this[m].node,n.offset=this.endOffset,r.node=t[m].node,r.offset=t.endOffset;break;case Sg.endToStart:n.node=this[_].node,n.offset=this.startOffset,r.node=t[m].node,r.offset=t.endOffset;break}return Sh.compareBoundaryPointsPosition(n,r)}comparePoint(e,t){if(e[g]!==this[g])throw new this[b].DOMException(`The two Ranges are not in the same tree.`,H.wrongDocumentError);Sh.validateBoundaryPoint({node:e,offset:t});let n={node:e,offset:t};return Sh.compareBoundaryPointsPosition(n,{node:this[_].node,offset:this.startOffset})===-1?-1:+(Sh.compareBoundaryPointsPosition(n,{node:this[m].node,offset:this.endOffset})===1)}cloneContents(){let e=this[b],t=this[g].createDocumentFragment(),n=this.startOffset,r=this.endOffset;if(this.collapsed)return t;if(this[_].node===this[m].node&&(this[_].node[C]===U.textNode||this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode)){let e=this[_].node.cloneNode(!1);return e[Ae]=e.substringData(n,r-n),t.appendChild(e),t}let i=this[_].node;for(;!fd.isInclusiveAncestor(i,this[m].node);)i=i[S];let a=null;if(!fd.isInclusiveAncestor(this[_].node,this[m].node)){let e=i.firstChild;for(;!a;)Sh.isPartiallyContained(e,this)&&(a=e),e=e.nextSibling}let o=null;if(!fd.isInclusiveAncestor(this[m].node,this[_].node)){let e=i.lastChild;for(;!o;)Sh.isPartiallyContained(e,this)&&(o=e),e=e.previousSibling}let s=[];for(let t of i[j])if(Sh.isContained(t,this)){if(t[C]===U.documentTypeNode)throw new e.DOMException(`Invalid document type element.`,H.hierarchyRequestError);s.push(t)}if(a!==null&&(a[C]===U.textNode||a[C]===U.processingInstructionNode||a[C]===U.commentNode)){let e=this[_].node.cloneNode(!1);e[Ae]=e.substringData(n,fd.getNodeLength(this[_].node)-n),t.appendChild(e)}else if(a!==null){let r=a.cloneNode();t.appendChild(r);let i=new e.Range;i[_].node=this[_].node,i[_].offset=n,i[m].node=a,i[m].offset=fd.getNodeLength(a);let o=i.cloneContents();r.appendChild(o)}for(let e of s){let n=e.cloneNode(!0);t.appendChild(n)}if(o!==null&&(o[C]===U.textNode||o[C]===U.processingInstructionNode||o[C]===U.commentNode)){let e=this[m].node.cloneNode(!1);e[Ae]=e.substringData(0,r),t.appendChild(e)}else if(o!==null){let n=o.cloneNode(!1);t.appendChild(n);let i=new e.Range;i[_].node=o,i[_].offset=0,i[m].node=this[m].node,i[m].offset=r;let a=i.cloneContents();n.appendChild(a)}return t}cloneRange(){let e=new this[b].Range;return e[_].node=this[_].node,e[_].offset=this[_].offset,e[m].node=this[m].node,e[m].offset=this[m].offset,e}createContextualFragment(e){return new wf(this[b]).parse(e)}deleteContents(){let e=this.startOffset,t=this.endOffset;if(this.collapsed)return;if(this[_].node===this[m].node&&(this[_].node[C]===U.textNode||this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode)){this[_].node.replaceData(e,t-e,``);return}let n=[],r=this[_].node,i=fd.nextDescendantNode(this[m].node);for(;r&&r!==i;)Sh.isContained(r,this)&&!Sh.isContained(r[S],this)&&n.push(r),r=fd.following(r);let a,o;if(fd.isInclusiveAncestor(this[_].node,this[m].node))a=this[_].node,o=e;else{let e=this[_].node;for(;e&&!fd.isInclusiveAncestor(e[S],this[m].node);)e=e[S];a=e[S],o=e[S][j].indexOf(e)+1}(this[_].node[C]===U.textNode||this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode)&&this[_].node.replaceData(this.startOffset,fd.getNodeLength(this[_].node)-this.startOffset,``);for(let e of n)e[S].removeChild(e);(this[m].node[C]===U.textNode||this[m].node[C]===U.processingInstructionNode||this[m].node[C]===U.commentNode)&&this[m].node.replaceData(0,t,``),this[_].node=a,this[_].offset=o,this[m].node=a,this[m].offset=o}detach(){}extractContents(){let e=this[b],t=this[g].createDocumentFragment(),n=this.startOffset,r=this.endOffset;if(this.collapsed)return t;if(this[_].node===this[m].node&&(this[_].node[C]===U.textNode||this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode)){let e=this[_].node.cloneNode(!1);return e[Ae]=e.substringData(n,r-n),t.appendChild(e),this[_].node.replaceData(n,r-n,``),t}let i=this[_].node;for(;!fd.isInclusiveAncestor(i,this[m].node);)i=i[S];let a=null;if(!fd.isInclusiveAncestor(this[_].node,this[m].node)){let e=i.firstChild;for(;!a;)Sh.isPartiallyContained(e,this)&&(a=e),e=e.nextSibling}let o=null;if(!fd.isInclusiveAncestor(this[m].node,this[_].node)){let e=i.lastChild;for(;!o;)Sh.isPartiallyContained(e,this)&&(o=e),e=e.previousSibling}let s=[];for(let e of i[j])if(Sh.isContained(e,this)){if(e[C]===U.documentTypeNode)throw new this[b].DOMException(`Invalid document type element.`,H.hierarchyRequestError);s.push(e)}let c,l;if(fd.isInclusiveAncestor(this[_].node,this[m].node))c=this[_].node,l=n;else{let e=this[_].node;for(;e&&!fd.isInclusiveAncestor(e[S],this[m].node);)e=e[S];c=e[S],l=e[S][j].indexOf(e)+1}if(a!==null&&(a[C]===U.textNode||a[C]===U.processingInstructionNode||a[C]===U.commentNode)){let e=this[_].node.cloneNode(!1);e[Ae]=e.substringData(n,fd.getNodeLength(this[_].node)-n),t.appendChild(e),this[_].node.replaceData(n,fd.getNodeLength(this[_].node)-n,``)}else if(a!==null){let r=a.cloneNode(!1);t.appendChild(r);let i=new e.Range;i[_].node=this[_].node,i[_].offset=n,i[m].node=a,i[m].offset=fd.getNodeLength(a);let o=i.extractContents();r.appendChild(o)}for(let e of s)t.appendChild(e);if(o!==null&&(o[C]===U.textNode||o[C]===U.processingInstructionNode||o[C]===U.commentNode)){let e=this[m].node.cloneNode(!1);e[Ae]=e.substringData(0,r),t.appendChild(e),this[m].node.replaceData(0,r,``)}else if(o!==null){let n=o.cloneNode(!1);t.appendChild(n);let i=new e.Range;i[_].node=o,i[_].offset=0,i[m].node=this[m].node,i[m].offset=r;let a=i.extractContents();n.appendChild(a)}return this[_].node=c,this[_].offset=l,this[m].node=c,this[m].offset=l,t}getBoundingClientRect(){return new Dd}getClientRects(){return new Md(N)}isPointInRange(e,t=0){if(e[g]!==this[g])return!1;let n={node:e,offset:t};return Sh.validateBoundaryPoint(n),!(Sh.compareBoundaryPointsPosition(n,{node:this[_].node,offset:this.startOffset})===-1||Sh.compareBoundaryPointsPosition(n,{node:this[m].node,offset:this.endOffset})===1)}insertNode(e){if(this[_].node[C]===U.processingInstructionNode||this[_].node[C]===U.commentNode||this[_].node[C]===U.textNode&&!this[_].node[S]||e===this[_].node)throw new this[b].DOMException(`Invalid start node.`,H.hierarchyRequestError);let t=this[_].node[C]===U.textNode?this[_].node:this[_].node[j][this.startOffset]||null,n=t?t[S]:this[_].node;this[_].node[C]===U.textNode&&(t=this[_].node.splitText(this.startOffset)),e===t&&(t=t.nextSibling);let r=e[S];r&&r.removeChild(e);let i=t?t[S][j].indexOf(t):fd.getNodeLength(n);i+=e[C]===U.documentFragmentNode?fd.getNodeLength(e):1,n.insertBefore(e,t),this.collapsed&&(this[m].node=n,this[m].offset=i)}intersectsNode(e){if(e[g]!==this[g])return!1;let t=e[S];if(!t)return!0;let n=t[j].indexOf(e);return Sh.compareBoundaryPointsPosition({node:t,offset:n},{node:this[m].node,offset:this.endOffset})===-1&&Sh.compareBoundaryPointsPosition({node:t,offset:n+1},{node:this[_].node,offset:this.startOffset})===1}selectNode(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);let t=e[S][j].indexOf(e);this[_].node=e[S],this[_].offset=t,this[m].node=e[S],this[m].offset=t+1}selectNodeContents(e){if(e[C]===U.documentTypeNode)throw new this[b].DOMException(`DocumentType Node can't be used as boundary point.`,H.invalidNodeTypeError);this[_].node=e,this[_].offset=0,this[m].node=e,this[m].offset=fd.getNodeLength(e)}setEnd(e,t=0){Sh.validateBoundaryPoint({node:e,offset:t});let n={node:e,offset:t};(e[g]!==this[g]||Sh.compareBoundaryPointsPosition(n,{node:this[_].node,offset:this.startOffset})===-1)&&(this[_].node=e,this[_].offset=t),this[m].node=e,this[m].offset=t}setStart(e,t=0){Sh.validateBoundaryPoint({node:e,offset:t});let n={node:e,offset:t};(e[g]!==this[g]||Sh.compareBoundaryPointsPosition(n,{node:this[m].node,offset:this.endOffset})===1)&&(this[m].node=e,this[m].offset=t),this[_].node=e,this[_].offset=t}setEndAfter(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);this.setEnd(e[S],e[S][j].indexOf(e)+1)}setEndBefore(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);this.setEnd(e[S],e[S][j].indexOf(e))}setStartAfter(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);this.setStart(e[S],e[S][j].indexOf(e)+1)}setStartBefore(e){if(!e[S])throw new this[b].DOMException(`The given Node has no parent.`,H.invalidNodeTypeError);this.setStart(e[S],e[S][j].indexOf(e))}surroundContents(e){let t=this.commonAncestorContainer;if(!t)return;let n=fd.nextDescendantNode(t);for(;t&&t!==n;){if(t[C]!==U.textNode&&Sh.isPartiallyContained(t,this))throw new this[b].DOMException(`The Range has partially contains a non-Text node.`,H.invalidStateError);t=fd.following(t)}if(e[C]===U.documentNode||e[C]===U.documentTypeNode||e[C]===U.documentFragmentNode)throw new this[b].DOMException(`Invalid element type.`,H.invalidNodeTypeError);let r=this.extractContents();for(;e.firstChild;)e.removeChild(e.firstChild);this.insertNode(e),e.appendChild(r),this.selectNode(e)}toString(){let e=this.startOffset,t=this.endOffset,n=``;if(this[_].node===this[m].node&&this[_].node[C]===U.textNode)return this[_].node.data.slice(e,t);this[_].node[C]===U.textNode&&(n+=this[_].node.data.slice(e));let r=fd.nextDescendantNode(this[m].node),i=this[_].node;for(;i&&i!==r;)i[C]===U.textNode&&Sh.isContained(i,this)&&(n+=i.data),i=fd.following(i);return this[m].node[C]===U.textNode&&(n+=this[m].node.data.slice(0,t)),n}},wg=class extends nl{id=``;startTime=0;endTime=0;pauseOnExit=!1;[Er]=null;onenter=null;onexit=null;constructor(e){if(super(),e!==N)throw TypeError(`Illegal constructor`);if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get track(){return this[Er]}},Tg=class extends wg{region=null;vertical=``;snapToLines=!0;line=0;lineAlign=``;position=`auto`;positionAlign=`auto`;size=100;align=``;text=``;constructor(e,t,n){super(N);let r=this[b],i=0;if(e!==void 0&&i++,t!==void 0&&i++,n!==void 0&&i++,i<3)throw new r.TypeError(`Failed to construct 'VTTCue': 3 arguments required, but only ${i} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw new r.TypeError(`Failed to construct 'VTTCue': The provided double value is non-finite.`);this.startTime=e,this.endTime=t,this.text=String(n)}getCueAsHTML(){let e=this[b],t=e.document.createDocumentFragment();return t.appendChild(e.document.createTextNode(this.text)),t}},Eg=class extends nl{[Pr]=Rf.subtitles;[Fr]=``;[Ir]=``;[Lr]=``;[xn]=`disabled`;[Mr]=new Tm(N);[Nr]=new Tm(N);oncuechange=null;constructor(e){if(super(),e!==N)throw TypeError(`Illegal constructor`);if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get kind(){return this[Pr]}get label(){return this[Fr]}get language(){return this[Ir]}get id(){return this[Lr]}get mode(){return this[xn]}set mode(e){e!==`disabled`&&e!==`showing`||(this[xn]=e)}get cues(){return this[xn]===`disabled`?null:this[Mr]}get activeCues(){return this[xn]===`disabled`?null:this[Nr]}addCue(e){this[Mr].includes(e)||(e[Er]=this,this[Mr].push(e))}removeCue(e){let t=this[Mr].indexOf(e);t!==-1&&(e[Er]=null,this[Mr].splice(t,1))}},Dg=class e extends nl{[A]=[];onaddtrack=null;onchange=null;onremovetrack=null;constructor(t,n){if(super(),t!==N)throw TypeError(`Illegal constructor`);this[A]=n;let r=new Bc(this,[e,nl]);return new Proxy(this,{get:(e,t)=>{if(t===`length`)return n.length;if(t in e||typeof t==`symbol`)return r.bind(t),e[t];let i=Number(t);if(!isNaN(i))return n[i]},set(e,t,n){if(r.bind(t),typeof t==`symbol`)return e[t]=n,!0;let i=Number(t);return isNaN(i)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(){return Object.keys(n)},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let r=Number(t);return!isNaN(r)&&r>=0&&r<n.length},defineProperty(e,t,n){return r.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let r=Number(t);if(!isNaN(r)&&n[r])return{value:n[r],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[A].length}get[Symbol.toStringTag](){return`TextTrackList`}toLocaleString(){return`[object TextTrackList]`}toString(){return`[object TextTrackList]`}[Symbol.iterator](){return this[A][Symbol.iterator]()}getTrackById(e){for(let t of this[A])if(t.id===e)return t;return null}},Og=class extends nl{[Rr]=`disconnected`;onconnecting=null;onconnect=null;ondisconnect=null;get state(){return this[Rr]}async watchAvailability(){}cancelWatchAvailability(){}prompt(){}},kg=t((e=>{e.removeLeadingAndTrailingHTTPWhitespace=e=>e.replace(/^[ \t\n\r]+/u,``).replace(/[ \t\n\r]+$/u,``),e.removeTrailingHTTPWhitespace=e=>e.replace(/[ \t\n\r]+$/u,``),e.isHTTPWhitespaceChar=e=>e===` `||e===` `||e===`
|
|
185
|
-
`||e===`\r`,e.solelyContainsHTTPTokenCodePoints=e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),e.soleyContainsHTTPQuotedStringTokenCodePoints=e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),e.asciiLowercase=e=>e.replace(/[A-Z]/gu,e=>e.toLowerCase()),e.collectAnHTTPQuotedString=(e,t)=>{let n=``;for(t++;;){for(;t<e.length&&e[t]!==`"`&&e[t]!==`\\`;)n+=e[t],++t;if(t>=e.length)break;let r=e[t];if(++t,r===`\\`){if(t>=e.length){n+=`\\`;break}n+=e[t],++t}else break}return[n,t]}})),Ag=t(((e,t)=>{let{asciiLowercase:n,solelyContainsHTTPTokenCodePoints:r,soleyContainsHTTPQuotedStringTokenCodePoints:i}=kg();t.exports=class{constructor(e){this._map=e}get size(){return this._map.size}get(e){return e=n(String(e)),this._map.get(e)}has(e){return e=n(String(e)),this._map.has(e)}set(e,t){if(e=n(String(e)),t=String(t),!r(e))throw Error(`Invalid MIME type parameter name "${e}": only HTTP token code points are valid.`);if(!i(t))throw Error(`Invalid MIME type parameter value "${t}": only HTTP quoted-string token code points are valid.`);return this._map.set(e,t)}clear(){this._map.clear()}delete(e){return e=n(String(e)),this._map.delete(e)}forEach(e,t){this._map.forEach(e,t)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}})),jg=t(((e,t)=>{let{removeLeadingAndTrailingHTTPWhitespace:n,removeTrailingHTTPWhitespace:r,isHTTPWhitespaceChar:i,solelyContainsHTTPTokenCodePoints:a,soleyContainsHTTPQuotedStringTokenCodePoints:o,asciiLowercase:s,collectAnHTTPQuotedString:c}=kg();t.exports=e=>{e=n(e);let t=0,l=``;for(;t<e.length&&e[t]!==`/`;)l+=e[t],++t;if(l.length===0||!a(l)||t>=e.length)return null;++t;let u=``;for(;t<e.length&&e[t]!==`;`;)u+=e[t],++t;if(u=r(u),u.length===0||!a(u))return null;let d={type:s(l),subtype:s(u),parameters:new Map};for(;t<e.length;){for(++t;i(e[t]);)++t;let n=``;for(;t<e.length&&e[t]!==`;`&&e[t]!==`=`;)n+=e[t],++t;if(n=s(n),t<e.length){if(e[t]===`;`)continue;++t}let l=null;if(e[t]===`"`)for([l,t]=c(e,t);t<e.length&&e[t]!==`;`;)++t;else{for(l=``;t<e.length&&e[t]!==`;`;)l+=e[t],++t;if(l=r(l),l===``)continue}n.length>0&&a(n)&&o(l)&&!d.parameters.has(n)&&d.parameters.set(n,l)}return d}})),Mg=t(((e,t)=>{let{solelyContainsHTTPTokenCodePoints:n}=kg();t.exports=e=>{let t=`${e.type}/${e.subtype}`;if(e.parameters.size===0)return t;for(let[r,i]of e.parameters)t+=`;`,t+=r,t+=`=`,(!n(i)||i.length===0)&&(i=i.replace(/(["\\])/gu,`\\$1`),i=`"${i}"`),t+=i;return t}})),Ng=e(t(((e,t)=>{let n=Ag(),r=jg(),i=Mg(),{asciiLowercase:a,solelyContainsHTTPTokenCodePoints:o}=kg();t.exports=class{constructor(e){e=String(e);let t=r(e);if(t===null)throw Error(`Could not parse MIME type string "${e}"`);this._type=t.type,this._subtype=t.subtype,this._parameters=new n(t.parameters)}static parse(e){try{return new this(e)}catch{return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){if(e=a(String(e)),e.length===0)throw Error(`Invalid type: must be a non-empty string`);if(!o(e))throw Error(`Invalid type ${e}: must contain only HTTP token code points`);this._type=e}get subtype(){return this._subtype}set subtype(e){if(e=a(String(e)),e.length===0)throw Error(`Invalid subtype: must be a non-empty string`);if(!o(e))throw Error(`Invalid subtype ${e}: must contain only HTTP token code points`);this._subtype=e}get parameters(){return this._parameters}toString(){return i(this)}isJavaScript({prohibitParameters:e=!1}={}){switch(this._type){case`text`:switch(this._subtype){case`ecmascript`:case`javascript`:case`javascript1.0`:case`javascript1.1`:case`javascript1.2`:case`javascript1.3`:case`javascript1.4`:case`javascript1.5`:case`jscript`:case`livescript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}case`application`:switch(this._subtype){case`ecmascript`:case`javascript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}default:return!1}}isXML(){return this._subtype===`xml`&&(this._type===`text`||this._type===`application`)||this._subtype.endsWith(`+xml`)}isHTML(){return this._subtype===`html`&&this._type===`text`}}}))(),1),Pg;(function(e){e[e.empty=0]=`empty`,e[e.loading=1]=`loading`,e[e.done=2]=`done`})(Pg||={});var Fg=Pg,Ig;(function(e){e.buffer=`buffer`,e.binaryString=`binaryString`,e.dataURL=`dataURL`,e.text=`text`})(Ig||={});var Lg=Ig,Rg;(function(e){e.abort=`abort`,e.error=`error`,e.load=`load`,e.loadstart=`loadstart`,e.loadend=`loadend`,e.progress=`progress`})(Rg||={});var zg=Rg,Bg=class extends nl{error=null;result=null;readyState=Fg.empty;onabort=null;onerror=null;onload=null;onloadstart=null;onloadend=null;onprogress=null;#e=!1;#t=null;#n=null;constructor(){if(super(),!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}readAsArrayBuffer(e){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.buffer)}readAsBinaryString(e){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsBinaryString' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.binaryString)}readAsDataURL(e){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.dataURL)}readAsText(e,t=null){if(!(e instanceof Rs))throw new this[b].TypeError(`Failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'.`);this.#r(e,Lg.text,t||`UTF-8`)}abort(){let e=this[b];if(this.#t&&e.clearTimeout(this.#t),this.#n&&e.clearTimeout(this.#n),this.readyState===Fg.empty||this.readyState===Fg.done){this.result=null;return}this.readyState===Fg.loading&&(this.readyState=Fg.done,this.result=null),this.#e=!0,this.dispatchEvent(new lu(zg.abort)),this.dispatchEvent(new lu(zg.loadend))}#r(e,t,n=null){let r=this[b];if(this.readyState===Fg.loading)throw new r.DOMException(`The object is in an invalid state.`,H.invalidStateError);this.readyState=Fg.loading,this.#t=r.setTimeout(()=>{if(this.#e){this.#e=!1;return}this.dispatchEvent(new lu(zg.loadstart));let a=e[me];a||=i.alloc(0),this.dispatchEvent(new lu(zg.loadstart,{lengthComputable:!isNaN(e.size),total:e.size,loaded:a.length})),this.#n=r.setTimeout(()=>{if(this.#e){this.#e=!1;return}switch(t){default:case Lg.buffer:this.result=new Uint8Array(a).buffer;break;case Lg.binaryString:this.result=a.toString(`binary`);break;case Lg.dataURL:{let t=Ng.default.parse(e.type)||`application/octet-stream`;this.result=`data:${t};base64,${a.toString(`base64`)}`;break}case Lg.text:this.result=new TextDecoder(n||`UTF-8`).decode(a);break}this.readyState=Fg.done,this.dispatchEvent(new lu(zg.load)),this.dispatchEvent(new lu(zg.loadend))})})}};const Vg={aspectRatio:{max:300,min:.006666666666666667},deviceId:``,facingMode:[],frameRate:{max:60,min:0},height:{max:150,min:1},resizeMode:[`none`,`crop-and-scale`],width:{max:300,min:1}},Hg={deviceId:``,frameRate:60,resizeMode:`none`};var Ug=class extends nl{contentHint=``;enabled=!0;id=s.randomUUID();muted=!1;readyState=`live`;label=``;[Fr]=``;[Pr]=`video`;[zn]={};[Bn]=JSON.parse(JSON.stringify(Vg));[Vn]=JSON.parse(JSON.stringify(Hg));onended=null;onmute=null;onunmute=null;constructor(e){if(super(),e!==N)throw TypeError(`Illegal constructor`);if(!this[b])throw TypeError(`Failed to construct '${this.constructor.name}': '${this.constructor.name}' was constructed outside a Window context.`)}get kind(){return this[Pr]}async applyConstraints(e){this.#e(this[zn],e)}getConstraints(){return this[zn]}getCapabilities(){return this[Bn]}getSettings(){return this[Vn]}clone(){let e=new this.constructor(N);return e[Pr]=this[Pr],e[zn]=this[zn],e[Bn]=this[Bn],e[Vn]=this[Vn],e.contentHint=this.contentHint,e.enabled=this.enabled,e.label=this.label,e.muted=this.muted,e.readyState=this.readyState,e}stop(){this.readyState=`ended`}#e(e,t){for(let n in t)t[n]!==null&&typeof t[n]==`object`&&!Array.isArray(t[n])?(typeof e[n]!=`object`&&(e[n]={}),this.#e(e[n],t[n])):e[n]=t[n]}},Wg=class extends Ug{[zr];constructor(e,t){super(e),this[zr]=t}get canvas(){return this[zr]}requestFrame(){}clone(){let e=super.clone();return e[zr]=this.canvas,e}},Gg;(function(e){e[e.connecting=0]=`connecting`,e[e.open=1]=`open`,e[e.closing=2]=`closing`,e[e.closed=3]=`closed`})(Gg||={});var Kg=Gg;const qg=/^[!#$%&'*+\-.^_`|~\dA-Za-z]+$/;var Jg=class extends nl{static CONNECTING=Kg.connecting;static OPEN=Kg.open;static CLOSING=Kg.closing;static CLOSED=Kg.closed;#e=Kg.closed;#t=``;#n=`blob`;#r=null;#i;[is]=null;constructor(e,t){super();let n=this[b],r;try{r=new URL(e)}catch{throw new n.DOMException(`The URL '${e}' is invalid.`,H.syntaxError)}if(r.protocol!==`ws:`&&r.protocol!==`wss:`)throw new n.DOMException(`The URL's protocol must be either 'ws' or 'wss'. '${r.protocol}' is not allowed.`,H.syntaxError);r.hash&&=``;let i=new Set,a=t===void 0?[]:Array.isArray(t)?t:[t];for(let e of a){if(!this.#d(e))throw new n.DOMException(`The subprotocol '${e}' is invalid.`,H.syntaxError);if(i.has(e))throw new n.DOMException(`The subprotocol '${e}' is duplicated.`,H.syntaxError);i.add(e)}this.#i=r,this.#a(r,a)}get readyState(){return this.#e}get extensions(){return this.#t}get binaryType(){return this.#n}set binaryType(e){e!==`blob`&&e!==`arraybuffer`||(this.#n=e)}get protocol(){return this[is]?.protocol||``}get url(){return this.#i.href}close(e,t){let n=this[b];if(e!==void 0&&e!==1e3&&!(e>=3e3&&e<=4999))throw new n.DOMException(`The code must be either 1000, or between 3000 and 4999. ${e} is neither.`,H.invalidAccessError);if(t!==void 0&&Buffer.byteLength(t,`utf8`)>123)throw new n.DOMException(`The message must not be greater than 123 bytes.`,H.syntaxError);this.#o(e,t?Buffer.from(t):void 0)}send(e){let t=this[b];if(this.#e===Kg.connecting)throw new t.DOMException(`Still in CONNECTING state.`,H.invalidStateError);if(this.#e!==Kg.open)return;if(typeof e==`string`){this[is]?.send(e,{binary:!1});return}let n;n=e instanceof ArrayBuffer?Buffer.from(new Uint8Array(e)):e instanceof Rs?e[me]:e instanceof Buffer?e:ArrayBuffer.isView(e)?Buffer.from(new Uint8Array(e.buffer,e.byteOffset,e.byteLength)):Buffer.from(String(e)),this[is]?.send(n,{binary:!0})}[Me](){super[Me](),this.#o(1001)}#a(e,t){let r=this[b],i=new Y(r).getBrowserContext();if(!i)return;let a=new URL(r.location.href),o=i.cookieContainer.getCookies(a,!1);this.#e=Kg.connecting,this[is]=new n(e,t,{headers:{"user-agent":r.navigator.userAgent,cookie:Nu.cookiesToString(o),origin:a.origin},rejectUnauthorized:!i.browser.settings.fetch.disableStrictSSL}),this[is].once(`open`,()=>{this.#s()}),this[is].on(`message`,this.#l.bind(this)),this[is].once(`close`,(e,t)=>{this.#c(e,t)}),this[is].once(`upgrade`,({headers:e})=>{if(e[`set-cookie`]!==void 0){let t=Array.isArray(e[`set-cookie`])?e[`set-cookie`]:[e[`set-cookie`]];for(let e of t){let t=Nu.stringToCookie(a,e);t&&i.cookieContainer.addCookies([t])}}}),this[is].once(`error`,e=>{this.#r=e}),r[rs].push(this)}#o(e,t){this.readyState===Kg.connecting?this[is]?this[is].terminate():this.#e=Kg.closing:this[is]&&this.readyState===Kg.open&&this[is].close(e,t),this[is]=null}#s(){this[is]?.extensions&&(this.#t=Object.keys(this[is].extensions).join(`, `)),this.#e=Kg.open,this.dispatchEvent(new this[b].Event(`open`))}#c(e,t){let n=this[b],r=n[rs].indexOf(this);r!==-1&&n[rs].splice(r,1),this.#e=Kg.closed,this.dispatchEvent(new this[b].CloseEvent(`close`,{wasClean:this.#r===null,code:e,reason:t.toString()}))}#l(e,t){if(this.#e!==Kg.open)return;let n=this[b],r;if(t)switch(this.binaryType){case`arraybuffer`:r=e instanceof n.ArrayBuffer?e:Array.isArray(e)?this.#u(Buffer.concat(e)):this.#u(e);break;default:Array.isArray(e)||(e=[e]),r=new n.Blob(e);break}else r=String(e);this.dispatchEvent(new n.MessageEvent(`message`,{data:r,origin:this.#i.origin}))}#u(e){let t=new this[b].ArrayBuffer(e.byteLength);return new Uint8Array(t).set(e),t}#d(e){return qg.test(e)}},Yg=class{[Ae];[y];[h];constructor(e,t,n){if(arguments.length<2)throw new this[b].TypeError(`Failed to construct 'ImageData': 2 arguments required, but only ${arguments.length} present.`);if(e instanceof Uint8ClampedArray){if(typeof t!=`number`)throw new this[b].TypeError(`Failed to construct 'ImageData': The width argument must be a number.`);if(n!==void 0&&typeof n!=`number`)throw new this[b].TypeError(`Failed to construct 'ImageData': The height argument must be a number.`);this[Ae]=e,this[y]=t,this[h]=n===void 0?e.length/(t*4):n}else{if(typeof t!=`number`)throw new this[b].TypeError(`Failed to construct 'ImageData': The height argument must be a number.`);this[Ae]=new Uint8ClampedArray(Array(e*t*4).fill(0)),this[y]=e,this[h]=t}}get data(){return this[Ae]}get width(){return this[y]}get height(){return this[h]}};const Xg={a:1,b:0,c:0,d:1,e:0,f:0,m11:1,m12:0,m13:0,m14:0,m21:0,m22:1,m23:0,m24:0,m31:0,m32:0,m33:1,m34:0,m41:0,m42:0,m43:0,m44:1,is2D:!0,isIdentity:!0},Zg=/([a-zA-Z0-9]+)\(([^)]+)\)/gm,Qg=/[\s,]+/;var $g=class e{[Yi]=1;[Xi]=0;[Zi]=0;[Qi]=0;[$i]=0;[ea]=1;[ta]=0;[na]=0;[ra]=0;[ia]=0;[aa]=1;[oa]=0;[sa]=0;[ca]=0;[la]=0;[ua]=1;constructor(e){e&&this[da](e)}get a(){return this[Yi]}get b(){return this[Xi]}get c(){return this[$i]}get d(){return this[ea]}get e(){return this[sa]}get f(){return this[ca]}get m11(){return this[Yi]}get m12(){return this[Xi]}get m13(){return this[Zi]}get m14(){return this[Qi]}get m21(){return this[$i]}get m22(){return this[ea]}get m23(){return this[ta]}get m24(){return this[na]}get m31(){return this[ra]}get m32(){return this[ia]}get m33(){return this[aa]}get m34(){return this[oa]}get m41(){return this[sa]}get m42(){return this[ca]}get m43(){return this[la]}get m44(){return this[ua]}get isIdentity(){return this[Yi]===1&&this[Xi]===0&&this[Zi]===0&&this[Qi]===0&&this[$i]===0&&this[ea]===1&&this[ta]===0&&this[na]===0&&this[ra]===0&&this[ia]===0&&this[aa]===1&&this[oa]===0&&this[sa]===0&&this[ca]===0&&this[la]===0&&this[ua]===1}get is2D(){return this[ra]===0&&this[ia]===0&&this[aa]===1&&this[oa]===0&&this[la]===0&&this[ua]===1}toFloat32Array(e){return Float32Array.from(this[Ki](e))}toFloat64Array(e){return Float64Array.from(this[Ki](e))}toString(){let e=this.is2D,t=this[Ki](e).join(`, `);return`${e?`matrix`:`matrix3d`}(${t})`}toJSON(){let{is2D:e,isIdentity:t}=this;return{m11:this[Yi],m12:this[Xi],m13:this[Zi],m14:this[Qi],m21:this[$i],m22:this[ea],m23:this[ta],m24:this[na],m31:this[ra],m32:this[ia],m33:this[aa],m34:this[oa],m41:this[sa],m42:this[ca],m43:this[la],m44:this[ua],a:this[Yi],b:this[Xi],c:this[$i],d:this[ea],e:this[sa],f:this[ca],is2D:e,isIdentity:t}}multiply(e){let t=new this.constructor(this);return e&&t[ba](e),t}translate(e=0,t=0,n=0){let r=new this.constructor(this);return r[fa](e,t,n),r}scale(e,t,n=1,r=0,i=0,a=0){let o=new this.constructor(this);return o[ha](e,t,n,r,i,a),o}scale3d(e=1,t=0,n=0,r=0){let i=new this.constructor(this);return i[ga](e,t,n,r),i}scaleNonUniform(e=1,t=1){let n=new this.constructor(this);return n[_a](e,t),n}rotateAxisAngle(e=0,t=0,n=0,r=0){let i=new this.constructor(this);return i[ma](e,t,n,r),i}rotate(e=0,t,n){let r=new this.constructor(this);return r[pa](e,t,n),r}rotateFromVector(e=0,t=0){let n=new this.constructor(this);return n[_o](e,t),n}skewX(e){let t=new this.constructor(this);return t[va](e),t}skewY(e){let t=new this.constructor(this);return t[ya](e),t}flipX(){let e=new this.constructor(this);return e[vo](),e}flipY(){let e=new this.constructor(this);return e[yo](),e}inverse(){let e=new this.constructor(this);return e[bo](),e}transformPoint(e){let t=e?.x??0,n=e?.y??0,r=e?.z??0,i=e?.w??1,a=this[Yi]*t+this[$i]*n+this[ra]*r+this[sa]*i,o=this[Xi]*t+this[ea]*n+this[ia]*r+this[ca]*i,s=this[Zi]*t+this[ta]*n+this[aa]*r+this[la]*i,c=this[Qi]*t+this[na]*n+this[oa]*r+this[ua]*i;return new this[b].DOMPoint(a,o,s,c)}[da](e){let t=null;if(typeof e==`string`&&e.length&&e!==`none`)t=this.constructor[qi](e);else if(Array.isArray(e)||e instanceof Float64Array||e instanceof Float32Array)t=this.constructor[Ji](e);else if(typeof e==`object`)t=this.constructor.fromMatrix(e);else return;this[Yi]=t[Yi],this[Xi]=t[Xi],this[Zi]=t[Zi],this[Qi]=t[Qi],this[$i]=t[$i],this[ea]=t[ea],this[ta]=t[ta],this[na]=t[na],this[ra]=t[ra],this[ia]=t[ia],this[aa]=t[aa],this[oa]=t[oa],this[sa]=t[sa],this[ca]=t[ca],this[la]=t[la],this[ua]=t[ua]}[ba](t){if(!t)return;let n=t;n instanceof e||(n?.m11===void 0&&n?.a!==void 0?(n=Object.assign({},Xg,n),n.m11=n.a,n.m12=n.b,n.m21=n.c,n.m22=n.d,n.m41=n.e,n.m42=n.f):n=Object.assign({},Xg,n));let r=this[Yi]*n.m11+this[$i]*n.m12+this[ra]*n.m13+this[sa]*n.m14,i=this[Yi]*n.m21+this[$i]*n.m22+this[ra]*n.m23+this[sa]*n.m24,a=this[Yi]*n.m31+this[$i]*n.m32+this[ra]*n.m33+this[sa]*n.m34,o=this[Yi]*n.m41+this[$i]*n.m42+this[ra]*n.m43+this[sa]*n.m44,s=this[Xi]*n.m11+this[ea]*n.m12+this[ia]*n.m13+this[ca]*n.m14,c=this[Xi]*n.m21+this[ea]*n.m22+this[ia]*n.m23+this[ca]*n.m24,l=this[Xi]*n.m31+this[ea]*n.m32+this[ia]*n.m33+this[ca]*n.m34,u=this[Xi]*n.m41+this[ea]*n.m42+this[ia]*n.m43+this[ca]*n.m44,d=this[Zi]*n.m11+this[ta]*n.m12+this[aa]*n.m13+this[la]*n.m14,f=this[Zi]*n.m21+this[ta]*n.m22+this[aa]*n.m23+this[la]*n.m24,p=this[Zi]*n.m31+this[ta]*n.m32+this[aa]*n.m33+this[la]*n.m34,ee=this[Zi]*n.m41+this[ta]*n.m42+this[aa]*n.m43+this[la]*n.m44,te=this[Qi]*n.m11+this[na]*n.m12+this[oa]*n.m13+this[ua]*n.m14,ne=this[Qi]*n.m21+this[na]*n.m22+this[oa]*n.m23+this[ua]*n.m24,re=this[Qi]*n.m31+this[na]*n.m32+this[oa]*n.m33+this[ua]*n.m34,ie=this[Qi]*n.m41+this[na]*n.m42+this[oa]*n.m43+this[ua]*n.m44;this[Yi]=r,this[Xi]=s,this[Zi]=d,this[Qi]=te,this[$i]=i,this[ea]=c,this[ta]=f,this[na]=ne,this[ra]=a,this[ia]=l,this[aa]=p,this[oa]=re,this[sa]=o,this[ca]=u,this[la]=ee,this[ua]=ie}[fa](e=0,t=0,n=0){let r=this.constructor[Ji]([1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1]);this[ba](r)}[ha](e,t,n=1,r=0,i=0,a=0){e=e===void 0?1:Number(e),t=t===void 0?e:Number(t),(r!==0||i!==0||a!==0)&&this[fa](r,i,a),(e!==1||t!==1||n!==1)&&this[ba](this.constructor[Ji]([e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1])),(r!==0||i!==0||a!==0)&&this[fa](-r,-i,-a)}[ga](e=1,t=0,n=0,r=0){(t!==0||n!==0||r!==0)&&this[fa](t,n,r),e!==1&&this[ba](this.constructor[Ji]([e,0,0,0,0,e,0,0,0,0,e,0,0,0,0,1])),(t!==0||n!==0||r!==0)&&this[fa](-t,-n,-r)}[_a](e=1,t=1){e===1&&t===1||this[ba](this.constructor[Ji]([e,0,0,0,0,t,0,0,0,0,1,0,0,0,0,1]))}[ma](e=0,t=0,n=0,r=0){if(e=Number(e),t=Number(t),n=Number(n),r=Number(r),isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw new this[b].TypeError(`Failed to execute 'rotateAxisAngleSelf' on 'DOMMatrix': The arguments must be numbers.`);let i=Math.hypot(e,t,n);if(i===0)return;i!==1&&(e/=i,t/=i,n/=i);let a=-(r*Math.PI/360),o=this.#e,s=Math.sin(a)*Math.cos(a),c=Math.sin(a)*Math.sin(a),l=o(1-2*(t*t+n*n)*c),u=o(2*(e*t*c+n*s)),d=o(2*(e*n*c-t*s)),f=o(2*(e*t*c-n*s)),p=o(1-2*(e*e+n*n)*c),ee=o(2*(t*n*c+e*s)),te=o(2*(e*n*c+t*s)),ne=o(2*(t*n*c-e*s)),re=o(1-2*(e*e+t*t)*c),ie=this.constructor[Ji]([l,f,te,0,u,p,ne,0,d,ee,re,0,0,0,0,1]);this[ba](ie)}[pa](e=0,t,n){if(t===void 0&&n===void 0&&(n=e,e=0,t=0),t===void 0&&(t=0),n===void 0&&(n=0),e=Number(e),t=Number(t),n=Number(n),isNaN(e)||isNaN(t)||isNaN(n))throw new this[b].TypeError(`Failed to execute 'rotateSelf' on 'DOMMatrix': The arguments must be numbers.`);n!==0&&this[ma](0,0,1,n),t!==0&&this[ma](0,1,0,t),e!==0&&this[ma](1,0,0,e)}[_o](e=0,t=0){e===0&&t===0||this[pa](Math.atan2(t,e)*180/Math.PI)}[va](e){let t=Object.assign({},Xg),n=Math.tan(e*Math.PI/180);t.m21=n,t.c=n,this[ba](t)}[ya](e){let t=Object.assign({},Xg),n=Math.tan(e*Math.PI/180);t.m12=n,t.b=n,this[ba](t)}[vo](){let e=this.constructor[Ji]([-1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);this[ba](e)}[yo](){let e=this.constructor[Ji]([1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1]);this[ba](e)}[bo](){let e=this[ea]*this[aa]*this[ua]-this[ea]*this[oa]*this[la]-this[ia]*this[ta]*this[ua]+this[ia]*this[na]*this[la]+this[ca]*this[ta]*this[oa]-this[ca]*this[na]*this[aa],t=-this[Xi]*this[aa]*this[ua]+this[Xi]*this[oa]*this[la]+this[ia]*this[Zi]*this[ua]-this[ia]*this[Qi]*this[la]-this[ca]*this[Zi]*this[oa]+this[ca]*this[Qi]*this[aa],n=this[Xi]*this[ta]*this[ua]-this[Xi]*this[na]*this[la]-this[ea]*this[Zi]*this[ua]+this[ea]*this[Qi]*this[la]+this[ca]*this[Zi]*this[na]-this[ca]*this[Qi]*this[ta],r=-this[Xi]*this[ta]*this[oa]+this[Xi]*this[na]*this[aa]+this[ea]*this[Zi]*this[oa]-this[ea]*this[Qi]*this[aa]-this[ia]*this[Zi]*this[na]+this[ia]*this[Qi]*this[ta],i=this[Yi]*e+this[$i]*t+this[ra]*n+this[sa]*r;if(i===0){this[Yi]=NaN,this[Xi]=NaN,this[Zi]=NaN,this[Qi]=NaN,this[$i]=NaN,this[ea]=NaN,this[ta]=NaN,this[na]=NaN,this[ra]=NaN,this[ia]=NaN,this[aa]=NaN,this[oa]=NaN,this[sa]=NaN,this[ca]=NaN,this[la]=NaN,this[ua]=NaN;return}let a=-this[$i]*this[aa]*this[ua]+this[$i]*this[oa]*this[la]+this[ra]*this[ta]*this[ua]-this[ra]*this[na]*this[la]-this[sa]*this[ta]*this[oa]+this[sa]*this[na]*this[aa],o=this[Yi]*this[aa]*this[ua]-this[Yi]*this[oa]*this[la]-this[ra]*this[Zi]*this[ua]+this[ra]*this[Qi]*this[la]+this[sa]*this[Zi]*this[oa]-this[sa]*this[Qi]*this[aa],s=-this[Yi]*this[ta]*this[ua]+this[Yi]*this[na]*this[la]+this[$i]*this[Zi]*this[ua]-this[$i]*this[Qi]*this[la]-this[sa]*this[Zi]*this[na]+this[sa]*this[Qi]*this[ta],c=this[Yi]*this[ta]*this[oa]-this[Yi]*this[na]*this[aa]-this[$i]*this[Zi]*this[oa]+this[$i]*this[Qi]*this[aa]+this[ra]*this[Zi]*this[na]-this[ra]*this[Qi]*this[ta],l=this[$i]*this[ia]*this[ua]-this[$i]*this[oa]*this[ca]-this[ra]*this[ea]*this[ua]+this[ra]*this[na]*this[ca]+this[sa]*this[ea]*this[oa]-this[sa]*this[na]*this[ia],u=-this[Yi]*this[ia]*this[ua]+this[Yi]*this[oa]*this[ca]+this[ra]*this[Xi]*this[ua]-this[ra]*this[Qi]*this[ca]-this[sa]*this[Xi]*this[oa]+this[sa]*this[Qi]*this[ia],d=this[Yi]*this[ea]*this[ua]-this[Yi]*this[na]*this[ca]-this[$i]*this[Xi]*this[ua]+this[$i]*this[Qi]*this[ca]+this[sa]*this[Xi]*this[na]-this[sa]*this[Qi]*this[ea],f=-this[Yi]*this[ea]*this[oa]+this[Yi]*this[na]*this[ia]+this[$i]*this[Xi]*this[oa]-this[$i]*this[Qi]*this[ia]-this[ra]*this[Xi]*this[na]+this[ra]*this[Qi]*this[ea],p=-this[$i]*this[ia]*this[la]+this[$i]*this[aa]*this[ca]+this[ra]*this[ea]*this[la]-this[ra]*this[ta]*this[ca]-this[sa]*this[ea]*this[aa]+this[sa]*this[ta]*this[ia],ee=this[Yi]*this[ia]*this[la]-this[Yi]*this[aa]*this[ca]-this[ra]*this[Xi]*this[la]+this[ra]*this[Zi]*this[ca]+this[sa]*this[Xi]*this[aa]-this[sa]*this[Zi]*this[ia],te=-this[Yi]*this[ea]*this[la]+this[Yi]*this[ta]*this[ca]+this[$i]*this[Xi]*this[la]-this[$i]*this[Zi]*this[ca]-this[sa]*this[Xi]*this[ta]+this[sa]*this[Zi]*this[ea],ne=this[Yi]*this[ea]*this[aa]-this[Yi]*this[ta]*this[ia]-this[$i]*this[Xi]*this[aa]+this[$i]*this[Zi]*this[ia]+this[ra]*this[Xi]*this[ta]-this[ra]*this[Zi]*this[ea];this[Yi]=e/i||0,this[Xi]=t/i||0,this[Zi]=n/i||0,this[Qi]=r/i||0,this[$i]=a/i||0,this[ea]=o/i||0,this[ta]=s/i||0,this[na]=c/i||0,this[ra]=l/i||0,this[ia]=u/i||0,this[aa]=d/i||0,this[oa]=f/i||0,this[sa]=p/i||0,this[ca]=ee/i||0,this[la]=te/i||0,this[ua]=ne/i||0}[Ki](e=!1){return e?[this[Yi],this[Xi],this[$i],this[ea],this[sa],this[ca]]:[this[Yi],this[Xi],this[Zi],this[Qi],this[$i],this[ea],this[ta],this[na],this[ra],this[ia],this[aa],this[oa],this[sa],this[ca],this[la],this[ua]]}#e(e,t=0x38d7ea4c68000){return Math.round(e*t)/t}static fromMatrix(t){return t instanceof e||(t?.m11===void 0&&t?.a!==void 0?(t=Object.assign({},Xg,t),t.m11=t.a,t.m12=t.b,t.m21=t.c,t.m22=t.d,t.m41=t.e,t.m42=t.f):t=Object.assign({},Xg,t)),this[Ji]([t.m11,t.m12,t.m13,t.m14,t.m21,t.m22,t.m23,t.m24,t.m31,t.m32,t.m33,t.m34,t.m41,t.m42,t.m43,t.m44])}static fromFloat32Array(e){return this[Ji](e)}static fromFloat64Array(e){return this[Ji](e)}static[Ji](e){if(!(e instanceof Float64Array||e instanceof Float32Array||Array.isArray(e))||e.length!==6&&e.length!==16)throw TypeError(`Failed to execute 'fromArray' on '${this.name}': '${String(e)}' is not a compatible array.`);let t=new this;if(e.length===16){let[n,r,i,a,o,s,c,l,u,d,f,p,ee,te,ne,re]=e;t[Yi]=n,t[Xi]=r,t[Zi]=i,t[Qi]=a,t[$i]=o,t[ea]=s,t[ta]=c,t[na]=l,t[ra]=u,t[ia]=d,t[aa]=f,t[oa]=p,t[sa]=ee,t[ca]=te,t[la]=ne,t[ua]=re}else if(e.length===6){let[n,r,i,a,o,s]=e;t[Yi]=n,t[Xi]=r,t[$i]=i,t[ea]=a,t[sa]=o,t[ca]=s}return t}static[qi](e){if(typeof e!=`string`)throw TypeError(`Failed to execute 'setMatrixValue' on '${this.name}': Expected '${String(e)}' to be a string.`);let t=new this,n=new RegExp(Zg),r;for(;r=n.exec(e);){let e=r[1],n=r[2].split(Qg);for(let e=0,t=n.length;e<t;e++)n[e]=this[xo](n[e]);let[i,a,o,s]=n;switch(e){case`perspective`:!isNaN(i)&&i!==0&&a===void 0&&o===void 0&&(t[oa]=-1/i);break;case`translate`:!isNaN(i)&&o===void 0&&t[fa](i,a||0,0);break;case`translate3d`:!isNaN(i)&&!isNaN(a)&&!isNaN(o)&&t[fa](i,a,o);break;case`translateX`:!isNaN(i)&&a===void 0&&o===void 0&&t[fa](i);break;case`translateY`:!isNaN(i)&&a===void 0&&o===void 0&&t[fa](0,i);break;case`translateZ`:!isNaN(i)&&a===void 0&&o===void 0&&t[fa](0,0,i);break;case`matrix`:case`matrix3d`:(n.length===6||n.length===16)&&t[da](this[Ji](n));break;case`rotate`:case`rotateZ`:!isNaN(i)&&a===void 0&&o===void 0&&t[pa](0,0,i);break;case`rotateX`:!isNaN(i)&&a===void 0&&o===void 0&&t[pa](i,0,0);break;case`rotateY`:!isNaN(i)&&a===void 0&&o===void 0&&t[pa](0,i,0);case`rotate3d`:!isNaN(i)&&!isNaN(a)&&!isNaN(o)&&!isNaN(s)&&t[ma](i,a,o,s);break;case`scale`:!isNaN(i)&&i!==1&&o===void 0&&t[ha](i,isNaN(a)?i:a);break;case`scale3d`:!isNaN(i)&&!isNaN(a)&&!isNaN(o)&&t[ha](i,a,o);break;case`scaleX`:!isNaN(i)&&a===void 0&&o===void 0&&t[ha](i,1,1);break;case`scaleY`:!isNaN(i)&&a===void 0&&o===void 0&&t[ha](1,i,1);break;case`scaleZ`:!isNaN(i)&&a===void 0&&o===void 0&&t[ha](1,1,i);break;case`skew`:isNaN(i)||t[va](i),isNaN(a)||t[ya](a);break;case`skewX`:!isNaN(i)&&a===void 0&&t[va](i);break;case`skewY`:!isNaN(i)&&a===void 0&&t[ya](i);break;default:throw TypeError(`Failed to execute 'setMatrixValue' on '${this.name}': Unknown transform function '${r[1]}'.`)}}return t}static[xo](e){let t=parseFloat(e);switch(e.replace(t.toString(),``)){case`rem`:case`em`:case`vw`:case`vh`:case`%`:case`vmin`:case`vmax`:throw SyntaxError(`Failed to construct '${this.name}': Lengths must be absolute, not relative`);case`rad`:return 180/Math.PI*t;case`turn`:return t*360;case`px`:return t;case`cm`:return t*37.7812;case`mm`:return t*3.7781;case`in`:return t*96;case`pt`:return t*1.3281;case`pc`:return t*16;case`Q`:return t*.945;default:return t}}},e_=class extends $g{get a(){return this[Yi]}set a(e){this[Yi]=e}get b(){return this[Xi]}set b(e){this[Xi]=e}get c(){return this[$i]}set c(e){this[$i]=e}get d(){return this[ea]}set d(e){this[ea]=e}get e(){return this[sa]}set e(e){this[sa]=e}get f(){return this[ca]}set f(e){this[ca]=e}get m11(){return this[Yi]}set m11(e){this[Yi]=e}get m12(){return this[Xi]}set m12(e){this[Xi]=e}get m13(){return this[Zi]}set m13(e){this[Zi]=e}get m14(){return this[Qi]}set m14(e){this[Qi]=e}get m21(){return this[$i]}set m21(e){this[$i]=e}get m22(){return this[ea]}set m22(e){this[ea]=e}get m23(){return this[ta]}set m23(e){this[ta]=e}get m24(){return this[na]}set m24(e){this[na]=e}get m31(){return this[ra]}set m31(e){this[ra]=e}get m32(){return this[ia]}set m32(e){this[ia]=e}get m33(){return this[aa]}set m33(e){this[aa]=e}get m34(){return this[oa]}set m34(e){this[oa]=e}get m41(){return this[sa]}set m41(e){this[sa]=e}get m42(){return this[ca]}set m42(e){this[ca]=e}get m43(){return this[la]}set m43(e){this[la]=e}get m44(){return this[ua]}set m44(e){this[ua]=e}setMatrixValue(e){return this[da](e),this}multiplySelf(e){return this[ba](e),this}translateSelf(e=0,t=0,n=0){return this[fa](e,t,n),this}scaleSelf(e,t,n=1,r=0,i=0,a=0){return this[ha](e,t,n,r,i,a),this}scale3dSelf(e=1,t=0,n=0,r=0){return this[ga](e,t,n,r),this}scaleNonUniformSelf(e=1,t=1){return this[_a](e,t),this}rotateAxisAngleSelf(e=0,t=0,n=0,r=0){return this[ma](e,t,n,r),this}rotateSelf(e=0,t,n){return this[pa](e,t,n),this}rotateFromVectorSelf(e=0,t=0){return this[_o](e,t),this}skewXSelf(e){return this[va](e),this}skewYSelf(e){return this[ya](e),this}flipXSelf(){return this[vo](),this}flipYSelf(){return this[yo](),this}invertSelf(){return this[bo](),this}preMultiplySelf(e){return this[ba](e),this}},t_=class{[D]=0;[O]=0;[Wi]=0;[Gi]=1;constructor(e,t,n,r){this[D]=e==null?0:Number(e),this[O]=t==null?0:Number(t),this[Wi]=n==null?0:Number(n),this[Gi]=r==null?1:Number(r)}get x(){return this[D]}get y(){return this[O]}get z(){return this[Wi]}get w(){return this[Gi]}toJSON(){return{x:this.x,y:this.y,z:this.z,w:this.w}}static fromPoint(e){return e?new this(e.x??null,e.y??null,e.z??null,e.w??null):new this}matrixTransform(e){let t=new this[b].DOMMatrixReadOnly(e),n=this.x*t.m11+this.y*t.m21+this.z*t.m31+this.w*t.m41,r=this.x*t.m12+this.y*t.m22+this.z*t.m32+this.w*t.m42,i=this.x*t.m13+this.y*t.m23+this.z*t.m33+this.w*t.m43,a=this.x*t.m14+this.y*t.m24+this.z*t.m34+this.w*t.m44;return new this.constructor(n,r,i,a)}},n_=class extends t_{set x(e){this[D]=e}get x(){return this[D]}set y(e){this[O]=e}get y(){return this[O]}set z(e){this[Wi]=e}get z(){return this[Wi]}set w(e){this[Gi]=e}get w(){return this[Gi]}},r_=class{static extendClasses(e){class t extends Bh{}t.prototype[b]=e,e.Document=t;class n extends Vh{}n.prototype[b]=e,e.HTMLDocument=n;class r extends Hh{}r.prototype[b]=e,e.XMLDocument=r;class i extends hh{}i.prototype[b]=e,e.DocumentFragment=i;class a extends Uh{}a.prototype[b]=e,e.Text=a;class o extends Wh{}o.prototype[b]=e,e.Comment=o;class s extends Gh{}s.prototype[b]=e,e.Image=s;class c extends Kh{}c.prototype[b]=e,e.Audio=c;class l extends Jh{}l.prototype[b]=e,e.MutationObserver=l;class u extends Yh{}u.prototype[b]=e,e.MessagePort=u;class d extends Qh{}d.prototype[b]=e,e.CSSStyleSheet=d;class f extends _s{}e.DOMException=f;class p extends vs{}p.prototype[b]=e,e.Headers=p;class ee extends Iu{}ee.prototype[b]=e,e.Request=ee;class te extends Ru{}te.prototype[b]=e,te[b]=e,e.Response=te;class ne extends nl{}ne.prototype[b]=e,e.EventTarget=ne;class re extends eg{}re.prototype[b]=e,e.XMLHttpRequestUpload=re;class ie extends $h{}ie.prototype[b]=e,e.XMLHttpRequestEventTarget=ie;class ae extends tg{}ae.prototype[b]=e,e.AbortController=ae;class oe extends ng{}oe.prototype[b]=e,oe[b]=e,e.AbortSignal=oe;class se extends Tu{}se.prototype[b]=e,e.FormData=se;class ce extends rg{}ce.prototype[b]=e,e.PermissionStatus=ce;class le extends lg{}le.prototype[b]=e,e.XMLHttpRequest=le;class ue extends bg{}ue.prototype[b]=e,e.DOMParser=ue;class de extends Cg{}de.prototype[b]=e,e.Range=de;class fe extends Tg{}fe.prototype[b]=e,e.VTTCue=fe;class pe extends Eg{}pe.prototype[b]=e,e.TextTrack=pe;class me extends Dg{}me.prototype[b]=e,e.TextTrackList=me;class he extends wg{}he.prototype[b]=e,e.TextTrackCue=he;class ge extends Og{}ge.prototype[b]=e,e.RemotePlayback=ge;class _e extends Bg{}_e.prototype[b]=e,e.FileReader=_e;class ve extends If{}ve.prototype[b]=e,e.MediaStream=ve;class ye extends Ug{}ye.prototype[b]=e,e.MediaStreamTrack=ye;class be extends Wg{}be.prototype[b]=e,e.CanvasCaptureMediaStreamTrack=be;class xe extends mu{}xe.prototype[b]=e,e.URL=xe;class Se extends Jg{}Se.prototype[b]=e,e.WebSocket=Se;class Ce extends Yg{}Ce.prototype[b]=e,e.ImageData=Ce;class we extends Xf{}we.prototype[b]=e,e.OffscreenCanvas=we;class Te extends $g{}Te.prototype[b]=e,e.DOMMatrixReadOnly=Te;class Ee extends e_{}Ee.prototype[b]=e,e.DOMMatrix=Ee;class De extends t_{}De.prototype[b]=e,e.DOMPointReadOnly=De;class Oe extends n_{}Oe.prototype[b]=e,e.DOMPoint=Oe}};const i_=/[\t\f\n\r ,]+/;var a_=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N||(this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute,t!==N))throw TypeError(`Illegal constructor`);let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){this[M].attributeValue=``,this[M].items=[],this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGStringList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGStringList': 1 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e){this.clear();return}return this[L](e),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGStringList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e)return e;let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),this[L](n.join(` `)),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGStringList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGStringList': 2 arguments required, but only ${arguments.length} present.`);if(e=String(e),!e)return this.removeItem(t);let n=this[P]();t<0?t=0:t>=n.length&&(t=n.length-1);let r=n[t];return n[t]=e,this[L](n.join(` `)),r}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGStringList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGStringList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGStringList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return t.splice(e,1),this[L](t.join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGStringList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGStringList': 1 argument required, but only ${arguments.length} present.`);if(e=String(e),!e)return e;let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),this[L](t.join(` `)),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;let n=[],r=e.trim();if(r)for(let e of r.split(i_))n.includes(e)||n.push(e);return t.attributeValue=e,t.items=n,n}};const o_=/([a-zA-Z0-9]+)\(([^)]+)\)/,s_=/[\s,]+/;var c_=class e{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get a(){return this[Sa]().a}set a(e){if(this[F])return;let t=this[Sa]();t.a=e,this[Ca](t)}get b(){return this[Sa]().b}set b(e){if(this[F])return;let t=this[Sa]();t.b=e,this[Ca](t)}get c(){return this[Sa]().c}set c(e){if(this[F])return;let t=this[Sa]();t.c=e,this[Ca](t)}get d(){return this[Sa]().d}set d(e){if(this[F])return;let t=this[Sa]();t.d=e,this[Ca](t)}get e(){return this[Sa]().e}set e(e){if(this[F])return;let t=this[Sa]();t.e=e,this[Ca](t)}get f(){return this[Sa]().f}set f(e){if(this[F])return;let t=this[Sa]();t.f=e,this[Ca](t)}multiply(t){if(!(t instanceof e))throw new this[b].TypeError(`Failed to execute 'multiply' on 'SVGMatrix': parameter 1 is not of type 'SVGMatrix'.`);let n=this[Sa](),r=new e(N,this[b]);return n.multiplySelf(t[Sa]()),r[Ca](n),r}translate(t=0,n=0){let r=this[Sa](),i=new e(N,this[b]);return r.translateSelf(t,n),i[Ca](r),i}scale(t){let n=this[Sa](),r=new e(N,this[b]);return n.scaleSelf(t),r[Ca](n),r}scaleNonUniform(t=1,n=1){let r=this[Sa](),i=new e(N,this[b]);return r.scaleNonUniformSelf(t,n),i[Ca](r),i}rotate(t){let n=this[Sa](),r=new e(N,this[b]);return n.rotateSelf(t),r[Ca](n),r}rotateFromVector(t=0,n=0){let r=this[Sa](),i=new e(N,this[b]);return r.rotateFromVectorSelf(t,n),i[Ca](r),i}skewX(t){let n=this[Sa](),r=new e(N,this[b]);return n.skewXSelf(t),r[Ca](n),r}skewY(t){let n=this[Sa](),r=new e(N,this[b]);return n.skewYSelf(t),r[Ca](n),r}flipX(){let t=this[Sa](),n=new e(N,this[b]);return t.flipXSelf(),n[Ca](t),n}flipY(){let t=this[Sa](),n=new e(N,this[b]);return t.flipYSelf(),n[Ca](t),n}inverse(){let t=this[Sa](),n=new e(N,this[b]);return t.invertSelf(),n[Ca](t),n}[Sa](){let e=this[I]?this[I]():this[R],t=this[b];if(!e)return new t.DOMMatrix;let n=e.match(o_);if(!n)return new t.DOMMatrix;let r=[];for(let i of n[2].trim().split(s_)){let n=Number(i);if(isNaN(n))throw new t.TypeError(`Failed to parse transform attribute: Expected number, but got "${i}" in "${e}".`);r.push(n)}switch(n[1]){case`matrix`:if(r.length!==6)throw new t.TypeError(`Failed to parse transform attribute: Expected 6 parameters in "${e}".`);return e_[qi](e);case`scale`:case`translate`:if(r.length!==1&&r.length!==2)throw new t.TypeError(`Failed to parse transform attribute: Expected 1 or 2 parameters in "${e}".`);return e_[qi](e);case`skewY`:case`skewX`:if(r.length!==1)throw new t.TypeError(`Failed to parse transform attribute: Expected 1 parameter in "${e}".`);return e_[qi](e);case`rotate`:let n=new t.DOMMatrix;if(r.length!==1&&r.length!==3)throw new t.TypeError(`Failed to parse transform attribute: Expected 1 or 3 parameters in "${e}".`);let[i,a,o]=r;(a||o)&&n.translateSelf(a,o);let s=i*Math.PI/180;return n.multiplySelf(new t.DOMMatrix([Math.cos(s),Math.sin(s),-Math.sin(s),Math.cos(s),0,0])),(a||o)&&n.translateSelf(-a,-o),n;default:throw new this[b].TypeError(`Failed to parse transform attribute: Unknown transformation "${e}".`)}}[Ca](e){this[R]=e.toString().replace(/, /g,` `),this[L]&&this[L](this[R])}},l_;(function(e){e[e.unknown=0]=`unknown`,e[e.matrix=1]=`matrix`,e[e.translate=2]=`translate`,e[e.scale=3]=`scale`,e[e.rotate=4]=`rotate`,e[e.skewX=5]=`skewX`,e[e.skewY=6]=`skewY`})(l_||={});var u_=l_;const d_=/([a-zA-Z0-9]+)\(([^)]+)\)/,f_=/[\s,]+/;var p_=class{static SVG_TRANSFORM_UNKNOWN=u_.unknown;static SVG_TRANSFORM_MATRIX=u_.matrix;static SVG_TRANSFORM_TRANSLATE=u_.translate;static SVG_TRANSFORM_SCALE=u_.scale;static SVG_TRANSFORM_ROTATE=u_.rotate;static SVG_TRANSFORM_SKEWX=u_.skewX;static SVG_TRANSFORM_SKEWY=u_.skewY;[b];[I]=null;[L]=null;[R]=null;[F]=!1;[xa]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get type(){let e=(this[I]?this[I]():this[R])?.match(d_);if(!e)return u_.unknown;switch(e[1]){case`matrix`:return u_.matrix;case`translate`:return u_.translate;case`rotate`:return u_.rotate;case`scale`:return u_.scale;case`skewX`:return u_.skewX;case`skewY`:return u_.skewY}return 0}get angle(){let e=(this[I]?this[I]():this[R])?.match(d_);if(!e)return 0;let t=parseFloat(e[2].trim().split(f_)[0]);if(isNaN(t))return 0;switch(e[1]){case`rotate`:case`skewX`:case`skewY`:return t}return 0}get matrix(){return this[xa]||(this[xa]=new c_(N,this[b],{readOnly:this[F],getAttribute:()=>this[I]?this[I]():this[R],setAttribute:e=>{if(this[R]=e,this[L]){this[L](e);return}}})),this[xa]}setMatrix(e){if(!(e instanceof c_))throw TypeError(`Failed to set the "matrix" property on "SVGTransform": The provided value is not of type "SVGMatrix".`);this[F]||(this[xa]&&(this[xa][I]=null,this[xa][L]=null),e[I]=()=>this[I]?this[I]():this[R],e[L]=e=>{if(this[R]=e,this[L]){this[L](e);return}},this[xa]=e,e[R]!==this[R]&&(this[R]=e[R],this[L]&&this[L](this[R]||``)))}setTranslate(e,t){if(arguments.length<2)throw TypeError(`Failed to execute 'setTranslate' on 'SVGTransform': 2 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw TypeError(`Failed to execute 'setTranslate' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`translate(${e} ${t})`,this[L]&&this[L](this[R]))}setScale(e,t){if(arguments.length<2)throw TypeError(`Failed to execute 'setScale' on 'SVGTransform': 2 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),isNaN(e)||isNaN(t))throw TypeError(`Failed to execute 'setScale' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`scale(${e} ${t})`,this[L]&&this[L](this[R]))}setRotate(e,t,n){if(arguments.length<3)throw TypeError(`Failed to execute 'setRotate' on 'SVGTransform': 3 arguments required, but only ${arguments.length} present.`);if(e=Number(e),t=Number(t),n=Number(n),isNaN(e)||isNaN(t)||isNaN(n))throw TypeError(`Failed to execute 'setRotate' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`rotate(${e} ${t} ${n})`,this[L]&&this[L](this[R]))}setSkewX(e){if(arguments.length<1)throw TypeError(`Failed to execute 'setSkewX' on 'SVGTransform': 1 arguments required, but only ${arguments.length} present.`);if(e=Number(e),isNaN(e))throw TypeError(`Failed to execute 'setSkewX' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`skewX(${e})`,this[L]&&this[L](this[R]))}setSkewY(e){if(arguments.length<1)throw TypeError(`Failed to execute 'setSkewY' on 'SVGTransform': 1 arguments required, but only ${arguments.length} present.`);if(e=Number(e),isNaN(e))throw TypeError(`Failed to execute 'setSkewY' on 'SVGTransform': The provided float value is non-finite.`);this[F]||(this[R]=`skewY(${e})`,this[L]&&this[L](this[R]))}};const m_=/([a-zA-Z0-9]+)\(([^)]+)\)/gm,h_=`matrix(1 0 0 1 0 0)`;var g_=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N)throw TypeError(`Illegal constructor`);this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute;let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){if(this[F])throw new this[b].TypeError(`Failed to execute 'clear' on 'SVGTransformList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;this[M].items=[],this[M].attributeValue=``,this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGTransformList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGTransformList': 1 arguments required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGTransformList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGTransformList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGTransformList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGTransformList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[M].attributeValue=t.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof p_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=new RegExp(m_),t;for(;t=e.exec(r);){let e=new p_(N,this[b],{readOnly:this[F],getAttribute:()=>e[R],setAttribute:()=>{this[M].attributeValue=this[P]().map(e=>e[R]||h_).join(` `),this[L](this[M].attributeValue)}});e[R]=`${t[1]}(${t[2]})`,n.push(e)}}return t.attributeValue=e,t.items=n,n}},__=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new g_(N,this[b],{readOnly:!0,getAttribute:this[I],setAttribute:()=>{}})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new g_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},v_=class extends _h{[$r]=null;[ei]=null;[ti]=null;get oncopy(){return Z.getEventListener(this,`oncopy`)}set oncopy(e){this[V].set(`oncopy`,e)}get oncut(){return Z.getEventListener(this,`oncut`)}set oncut(e){this[V].set(`oncut`,e)}get onpaste(){return Z.getEventListener(this,`onpaste`)}set onpaste(e){this[V].set(`onpaste`,e)}get requiredExtensions(){return this[$r]||(this[$r]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`requiredExtensions`),setAttribute:e=>this.setAttribute(`requiredExtensions`,e)})),this[$r]}get systemLanguage(){return this[ei]||(this[ei]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`systemLanguage`),setAttribute:e=>this.setAttribute(`systemLanguage`,e)})),this[ei]}get transform(){return this[ti]||(this[ti]=new __(N,this[b],{getAttribute:()=>this.getAttribute(`transform`),setAttribute:e=>this.setAttribute(`transform`,e)})),this[ti]}getBBox(){return new Dd}getCTM(){return new this[b].DOMMatrix}getScreenCTM(){return new this[b].DOMMatrix}},y_=class{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get x(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[0]);return isNaN(n)?0:n}set x(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'x' property on 'SVGRect': The object is read-only.`);this[R]=`${String(typeof e==`number`?e:parseFloat(e))} ${this.y} ${this.width} ${this.height}`,this[L]&&this[L](this[R])}get y(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[1]);return isNaN(n)?0:n}set y(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'y' property on 'SVGRect': The object is read-only.`);this[R]=`${this.x} ${String(typeof e==`number`?e:parseFloat(e))} ${this.width} ${this.height}`,this[L]&&this[L](this[R])}get width(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[2]);return isNaN(n)?0:n}set width(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'width' property on 'SVGRect': The object is read-only.`);this[R]=`${this.x} ${this.y} ${String(typeof e==`number`?e:parseFloat(e))} ${this.height}`,this[L]&&this[L](this[R])}get height(){let e=this[I]?this[I]():this[R];if(!e)return 0;let t=e.split(/\s+/),n=Number(t[3]);return isNaN(n)?0:n}set height(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'height' property on 'SVGRect': The object is read-only.`);this[R]=`${this.x} ${this.y} ${this.width} ${String(typeof e==`number`?e:parseFloat(e))}`,this[L]&&this[L](this[R])}};const b_=/[\t\f\n\r, ]+/;var x_=class{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get x(){let e=((this[I]?this[I]():this[R])||``).split(b_);return e[0]?parseFloat(e[0]):0}set x(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'x' property on 'SVGPoint': The object is read-only.`);this[R]=`${e} ${this.y}`,this[L]&&this[L](this[R])}get y(){let e=((this[I]?this[I]():this[R])||``).split(b_);return e[1]?parseFloat(e[1]):0}set y(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'y' property on 'SVGPoint': The object is read-only.`);this[R]=`${this.x} ${e}`,this[L]&&this[L](this[R])}},S_;(function(e){e[e.unknown=0]=`unknown`,e[e.number=1]=`number`,e[e.percentage=2]=`percentage`,e[e.ems=3]=`ems`,e[e.exs=4]=`exs`,e[e.px=5]=`px`,e[e.cm=6]=`cm`,e[e.mm=7]=`mm`,e[e.in=8]=`in`,e[e.pt=9]=`pt`,e[e.pc=10]=`pc`})(S_||={});var C_=S_;const w_=/^(\d+|\d+\.\d+)(px|em|ex|cm|mm|in|pt|pc|%|)$/;var T_=class{static SVG_LENGTHTYPE_UNKNOWN=C_.unknown;static SVG_LENGTHTYPE_NUMBER=C_.number;static SVG_LENGTHTYPE_PERCENTAGE=C_.percentage;static SVG_LENGTHTYPE_EMS=C_.ems;static SVG_LENGTHTYPE_EXS=C_.exs;static SVG_LENGTHTYPE_PX=C_.px;static SVG_LENGTHTYPE_CM=C_.cm;static SVG_LENGTHTYPE_MM=C_.mm;static SVG_LENGTHTYPE_IN=C_.in;static SVG_LENGTHTYPE_PT=C_.pt;static SVG_LENGTHTYPE_PC=C_.pc;[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get unitType(){let e=(this[I]?this[I]()||``:this[R]||``).match(w_);if(!e||isNaN(parseFloat(e[1])))return C_.unknown;switch(e[2]){case``:return C_.number;case`px`:return C_.px;case`cm`:return C_.cm;case`mm`:return C_.mm;case`in`:return C_.in;case`pt`:return C_.pt;case`pc`:return C_.pc;case`em`:case`ex`:case`%`:throw new this[b].TypeError(`Failed to execute 'value' on 'SVGLength': Could not resolve relative length.`);default:return C_.unknown}}get value(){let e=(this[I]?this[I]()||``:this[R]||``).match(w_);if(!e)return 0;let t=parseFloat(e[1]);if(isNaN(t))return 0;switch(e[2]){case``:return t;case`px`:return t;case`cm`:return t/2.54*96;case`mm`:return t/25.4*96;case`in`:return t*96;case`pt`:return t*72;case`pc`:return t*6;case`em`:case`ex`:case`%`:throw new this[b].TypeError(`Failed to execute 'value' on 'SVGLength': Could not resolve relative length.`);default:return 0}}set value(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGLength': The object is read-only.`);if(e=typeof e==`number`?e:parseFloat(String(e)),isNaN(e))throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGLength': The provided float value is non-finite.`);let t=``,n=e;switch(this.unitType){case C_.number:n=e,t=``;break;case C_.px:n=e,t=`px`;break;case C_.cm:n=e/96*2.54,t=`cm`;break;case C_.mm:n=e/96*25.4,t=`mm`;break;case C_.in:n=e/96,t=`in`;break;case C_.pt:n=e/72,t=`pt`;break;case C_.pc:n=e/6,t=`pc`;break;case C_.percentage:case C_.ems:case C_.exs:throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGLength': Could not resolve relative length.`);default:break}this[R]=String(n)+t,this[L]&&this[L](this[R])}get valueAsString(){return this[I]?this[I]()||`0`:this[R]||`0`}get valueInSpecifiedUnits(){let e=this.valueAsString;return parseFloat(e)||0}newValueSpecifiedUnits(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': parameter 1 ('unitType') is not of type 'number'.`);if(t=typeof t==`number`?t:parseFloat(String(t)),isNaN(t))throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': The provided float value is non-finite.`);let n=``;switch(e){case C_.number:n=``;break;case C_.px:n=`px`;break;case C_.cm:n=`cm`;break;case C_.mm:n=`mm`;break;case C_.in:n=`in`;break;case C_.pt:n=`pt`;break;case C_.pc:n=`pc`;break;case C_.ems:case C_.exs:case C_.percentage:throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Could not resolve relative length.`);default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}convertToSpecifiedUnits(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': parameter 1 ('unitType') is not of type 'number'.`);let t=this.value,n=``;switch(e){case C_.number:n=``;break;case C_.px:n=`px`;break;case C_.cm:t=t/96*2.54,n=`cm`;break;case C_.mm:t=t/96*25.4,n=`mm`;break;case C_.in:t/=96,n=`in`;break;case C_.pt:t/=72,n=`pt`;break;case C_.pc:t/=6,n=`pc`;break;case C_.percentage:case C_.ems:case C_.exs:throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.`);default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}},E_;(function(e){e[e.unknown=0]=`unknown`,e[e.unspecified=1]=`unspecified`,e[e.deg=2]=`deg`,e[e.rad=3]=`rad`,e[e.grad=4]=`grad`})(E_||={});var D_=E_;const O_=/^(\d+|\d+\.\d+)(deg|rad|grad|turn|)$/;var k_=class{static SVG_ANGLETYPE_UNKNOWN=D_.unknown;static SVG_ANGLETYPE_UNSPECIFIED=D_.unspecified;static SVG_ANGLETYPE_DEG=D_.deg;static SVG_ANGLETYPE_RAD=D_.rad;static SVG_ANGLETYPE_GRAD=D_.grad;[b];[I]=null;[L]=null;[R]=``;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get unitType(){let e=(this[I]?this[I]():this[R])?.match(O_);if(!e||isNaN(parseFloat(e[1])))return D_.unknown;switch(e[2]){case``:return D_.unspecified;case`deg`:return D_.deg;case`rad`:return D_.rad;case`grad`:return D_.grad;case`turn`:return D_.unknown;default:return D_.unspecified}}get value(){let e=(this[I]?this[I]():this[R])?.match(O_);if(!e)return 0;let t=parseFloat(e[1]);if(isNaN(t))return 0;switch(e[2]){case``:return t;case`deg`:return t;case`rad`:return 180/Math.PI*t;case`grad`:return 180/200*t;case`turn`:return t*360;default:return t}}set value(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGAngle': The object is read-only.`);if(e=typeof e==`number`?e:parseFloat(String(e)),isNaN(e))throw new this[b].TypeError(`Failed to set the 'value' property on 'SVGAngle': The provided float value is non-finite.`);let t=``,n=e;switch(this.unitType){case D_.unspecified:n=e,t=``;break;case D_.deg:n=e,t=`deg`;break;case D_.rad:n=e/(180/Math.PI),t=`rad`;break;case D_.grad:n=e/(180/200),t=`grad`;break;case D_.unknown:n=e/360,t=`turn`;default:break}this[R]=String(n)+t,this[L]&&this[L](this[R])}get valueAsString(){return this[I]?this[I]()||`0`:this[R]||`0`}get valueInSpecifiedUnits(){let e=this.valueAsString;return parseFloat(e)||0}newValueSpecifiedUnits(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': parameter 1 ('unitType') is not of type 'number'.`);if(t=typeof t==`number`?t:parseFloat(t),isNaN(t))throw new this[b].TypeError(`Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.`);let n=``;switch(e){case D_.unspecified:n=``;break;case D_.deg:n=`deg`;break;case D_.rad:n=`rad`;break;case D_.grad:n=`grad`;break;case D_.unknown:n=`turn`;break;default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}convertToSpecifiedUnits(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGAngle': The object is read-only.`);if(typeof e!=`number`)throw new this[b].TypeError(`Failed to execute 'convertToSpecifiedUnits' on 'SVGAngle': parameter 1 ('unitType') is not of type 'number'.`);let t=this.value,n=``;switch(e){case D_.unspecified:n=``;break;case D_.deg:n=`deg`;break;case D_.rad:n=`rad`,t/=180/Math.PI;break;case D_.grad:n=`grad`,t/=180/200;break;case D_.unknown:n=`turn`,t/=360;break;default:break}this[R]=String(t)+n,this[L]&&this[L](this[R])}},A_=class{[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get value(){let e=this[I]?this[I]():this[R];return parseFloat(e||`0`)}set value(e){if(this[F])throw TypeError(`Failed to set the 'value' property on 'SVGNumber': The object is read-only.`);if(isNaN(typeof e==`number`?e:parseFloat(String(e))))throw TypeError(`Failed to set the 'value' property on 'SVGNumber': The provided value is not a number.`);this[R]=String(e),this[L]&&this[L](this[R]||``)}},j_=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new y_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new y_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},M_;(function(e){e[e.unknown=0]=`unknown`,e[e.meet=1]=`meet`,e[e.slice=2]=`slice`})(M_||={});var N_=M_,P_;(function(e){e[e.unknown=0]=`unknown`,e[e.none=1]=`none`,e[e.xMinYMin=2]=`xMinYMin`,e[e.xMidYMin=3]=`xMidYMin`,e[e.xMaxYMin=4]=`xMaxYMin`,e[e.xMinYMid=5]=`xMinYMid`,e[e.xMidYMid=6]=`xMidYMid`,e[e.xMaxYMid=7]=`xMaxYMid`,e[e.xMinYMax=8]=`xMinYMax`,e[e.xMidYMax=9]=`xMidYMax`,e[e.xMaxYMax=10]=`xMaxYMax`})(P_||={});var F_=P_;const I_=Object.values(F_);I_.length=I_.indexOf(0);const L_=Object.values(N_);L_.length=L_.indexOf(0);var R_=class{static SVG_MEETORSLICE_UNKNOWN=N_.unknown;static SVG_MEETORSLICE_MEET=N_.meet;static SVG_MEETORSLICE_SLICE=N_.slice;static SVG_PRESERVEASPECTRATIO_UNKNOWN=F_.unknown;static SVG_PRESERVEASPECTRATIO_NONE=F_.none;static SVG_PRESERVEASPECTRATIO_XMINYMIN=F_.xMinYMin;static SVG_PRESERVEASPECTRATIO_XMIDYMIN=F_.xMidYMin;static SVG_PRESERVEASPECTRATIO_XMAXYMIN=F_.xMaxYMin;static SVG_PRESERVEASPECTRATIO_XMINYMID=F_.xMinYMid;static SVG_PRESERVEASPECTRATIO_XMIDYMID=F_.xMidYMid;static SVG_PRESERVEASPECTRATIO_XMAXYMID=F_.xMaxYMid;static SVG_PRESERVEASPECTRATIO_XMINYMAX=F_.xMinYMax;static SVG_PRESERVEASPECTRATIO_XMIDYMAX=F_.xMidYMax;static SVG_PRESERVEASPECTRATIO_XMAXYMAX=F_.xMaxYMax;[b];[I]=null;[L]=null;[R]=null;[F]=!1;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,n&&(this[F]=!!n.readOnly,this[I]=n.getAttribute||null,this[L]=n.setAttribute||null)}get align(){let e=this[I]?this[I]():this[R];if(!e)return F_.xMidYMid;let t=e.split(/\s+/)[0];return F_[t]===void 0?F_.xMidYMid:F_[t]}set align(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'align' property on 'SVGPreserveAspectRatio': The object is read-only.`);let t=Number(e);if(isNaN(t)||t<1||t>I_.length)throw new this[b].TypeError(`Failed to set the 'align' property on 'SVGPreserveAspectRatio': The alignment provided is invalid.`);this[R]=`${I_[t]} ${L_[this.meetOrSlice]}`,this[L]&&this[L](this[R])}get meetOrSlice(){let e=this[I]?this[I]():this[R];if(!e)return N_.meet;let t=e.split(/\s+/)[1];return!t||N_[t]===void 0?N_.meet:N_[t]}set meetOrSlice(e){if(this[F])throw new this[b].TypeError(`Failed to set the 'meetOrSlice' property on 'SVGPreserveAspectRatio': The object is read-only.`);let t=Number(e);if(isNaN(t)||t<1||t>2)throw new this[b].TypeError(`Failed to set the 'meetOrSlice' property on 'SVGPreserveAspectRatio': The meetOrSlice provided is invalid.`);this[R]=`${I_[this.align]} ${L_[t]}`,this[L]&&this[L](this[R])}},z_=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new R_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new R_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},$=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new T_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new T_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},B_=class extends v_{[mi]=null;[D]=null;[O]=null;[y]=null;[h]=null;[So]=1;[ai]=null;get onafterprint(){return Z.getEventListener(this,`onafterprint`)}set onafterprint(e){this[V].set(`onafterprint`,e)}get onbeforeprint(){return Z.getEventListener(this,`onbeforeprint`)}set onbeforeprint(e){this[V].set(`onbeforeprint`,e)}get onbeforeunload(){return Z.getEventListener(this,`onbeforeunload`)}set onbeforeunload(e){this[V].set(`onbeforeunload`,e)}get ongamepadconnected(){return Z.getEventListener(this,`ongamepadconnected`)}set ongamepadconnected(e){this[V].set(`ongamepadconnected`,e)}get ongamepaddisconnected(){return Z.getEventListener(this,`ongamepaddisconnected`)}set ongamepaddisconnected(e){this[V].set(`ongamepaddisconnected`,e)}get onhashchange(){return Z.getEventListener(this,`onhashchange`)}set onhashchange(e){this[V].set(`onhashchange`,e)}get onlanguagechange(){return Z.getEventListener(this,`onlanguagechange`)}set onlanguagechange(e){this[V].set(`onlanguagechange`,e)}get onmessage(){return Z.getEventListener(this,`onmessage`)}set onmessage(e){this[V].set(`onmessage`,e)}get onmessageerror(){return Z.getEventListener(this,`onmessageerror`)}set onmessageerror(e){this[V].set(`onmessageerror`,e)}get onoffline(){return Z.getEventListener(this,`onoffline`)}set onoffline(e){this[V].set(`onoffline`,e)}get ononline(){return Z.getEventListener(this,`ononline`)}set ononline(e){this[V].set(`ononline`,e)}get onpagehide(){return Z.getEventListener(this,`onpagehide`)}set onpagehide(e){this[V].set(`onpagehide`,e)}get onpageshow(){return Z.getEventListener(this,`onpageshow`)}set onpageshow(e){this[V].set(`onpageshow`,e)}get onpopstate(){return Z.getEventListener(this,`onpopstate`)}set onpopstate(e){this[V].set(`onpopstate`,e)}get onrejectionhandled(){return Z.getEventListener(this,`onrejectionhandled`)}set onrejectionhandled(e){this[V].set(`onrejectionhandled`,e)}get onstorage(){return Z.getEventListener(this,`onstorage`)}set onstorage(e){this[V].set(`onstorage`,e)}get onunhandledrejection(){return Z.getEventListener(this,`onunhandledrejection`)}set onunhandledrejection(e){this[V].set(`onunhandledrejection`,e)}get onunload(){return Z.getEventListener(this,`onunload`)}set onunload(e){this[V].set(`onunload`,e)}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get currentScale(){return this[So]}set currentScale(e){let t=typeof e==`number`?e:parseFloat(String(e));if(isNaN(t))throw this[b].TypeError(`Failed to set the 'currentScale' property on 'SVGSVGElement': The provided float value is non-finite.`);t<1||(this[So]=t)}get currentTranslate(){return new x_(N,this[b])}get viewBox(){return this[ai]||(this[ai]=new j_(N,this[b],{getAttribute:()=>this.getAttribute(`viewBox`),setAttribute:e=>this.setAttribute(`viewBox`,e)})),this[ai]}pauseAnimations(){}unpauseAnimations(){}animationsPaused(){return!1}getCurrentTime(){return 0}setCurrentTime(e){}getIntersectionList(e,t){return new Vc(N,[])}getEnclosureList(e,t){return new Vc(N,[])}checkIntersection(e,t){return!1}checkEnclosure(e,t){return!1}deselectAll(){}createSVGNumber(){return new A_(N,this[b])}createSVGLength(){return new T_(N,this[b])}createSVGAngle(){return new k_(N,this[b])}createSVGPoint(){return new x_(N,this[b])}createSVGMatrix(){return new c_(N,this[b])}createSVGRect(){return new y_(N,this[b])}createSVGTransform(){return new p_(N,this[b])}createSVGTransformFromMatrix(e){let t=new p_(N,this[b]);return t.setMatrix(e),t}getElementsByClassName(e){return jd.getElementsByClassName(this,e)}getElementsByTagName(e){return jd.getElementsByTagName(this,e)}getElementsByTagNameNS(e,t){return jd.getElementsByTagNameNS(this,e,t)}getElementById(e){return jd.getElementById(this,e)}[Nn](e=!1){return super[Nn](e)}},V_=class extends _h{[$r]=null;[ei]=null;get onbegin(){return Z.getEventListener(this,`onbegin`)}set onbegin(e){this[V].set(`onbegin`,e)}get onend(){return Z.getEventListener(this,`onend`)}set onend(e){this[V].set(`onend`,e)}get onrepeat(){return Z.getEventListener(this,`onrepeat`)}set onrepeat(e){this[V].set(`onrepeat`,e)}get requiredExtensions(){return this[$r]||(this[$r]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`requiredExtensions`),setAttribute:e=>this.setAttribute(`requiredExtensions`,e)})),this[$r]}get systemLanguage(){return this[ei]||(this[ei]=new a_(N,this[b],{getAttribute:()=>this.getAttribute(`systemLanguage`),setAttribute:e=>this.setAttribute(`systemLanguage`,e)})),this[ei]}get targetElement(){return null}},H_=class extends V_{},U_=class extends V_{},W_=class extends V_{},G_=class{[b];[I];[L];[mr]=0;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute,this[mr]=n.defaultValue||0}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[I]();if(!e)return this[mr];let t=parseFloat(e);return isNaN(t)?this[mr]:t}set baseVal(e){let t=typeof e==`number`?e:parseFloat(e);if(isNaN(t))throw new this[b].TypeError(`TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The provided float value is non-finite.`);this[L](String(t))}},K_=class extends v_{[ii]=null;get pathLength(){return this[ii]||(this[ii]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pathLength`),setAttribute:e=>this.setAttribute(`pathLength`,e)})),this[ii]}isPointInFill(e){if(!(e instanceof x_))throw TypeError(`Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.`);return!1}isPointInStroke(e){if(!(e instanceof x_))throw TypeError(`Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.`);return!1}getTotalLength(){return 0}getPointAtLength(e){return new x_(N,this[b])}},q_=class extends K_{[yi]=null;[bi]=null;[xi]=null;get cx(){return this[yi]||(this[yi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cx`),setAttribute:e=>this.setAttribute(`cx`,e)})),this[yi]}get cy(){return this[bi]||(this[bi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cy`),setAttribute:e=>this.setAttribute(`cy`,e)})),this[bi]}get r(){return this[xi]||(this[xi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`r`),setAttribute:e=>this.setAttribute(`r`,e)})),this[xi]}},J_=class{[b];[I];[L];[li];[mr];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute,this[li]=n.values,this[mr]=n.defaultValue}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[I]();if(!e)return this[li].indexOf(this[mr])+1;let t=this[li].indexOf(e);if(t===-1){let e=this[li].indexOf(null);return e===-1?0:e+1}return t+1}set baseVal(e){let t=Number(e);if(isNaN(t)&&(t=0),t<1)throw TypeError(`Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided is ${t}, which is not settable.`);if(t>this[li].length)throw TypeError(`Failed to set the 'baseVal' property on 'SVGAnimatedEnumeration': The enumeration value provided (${t}) is larger than the largest allowed value (${this[li].length}).`);let n=this[I](),r=this[li][t-1]===null,i=r?`0`:this[li][t-1];(!n||r&&this[li].includes(n)||!r&&n!==i)&&this[L](i||``)}},Y_=class extends _h{[Si]=null;get clipPathUnits(){return this[Si]||(this[Si]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`clipPathUnits`),setAttribute:e=>this.setAttribute(`clipPathUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Si]}},X_=class extends v_{},Z_=class extends _h{},Q_=class extends K_{[yi]=null;[bi]=null;[_i]=null;[vi]=null;get cx(){return this[yi]||(this[yi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cx`),setAttribute:e=>this.setAttribute(`cx`,e)})),this[yi]}get cy(){return this[bi]||(this[bi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cy`),setAttribute:e=>this.setAttribute(`cy`,e)})),this[bi]}get rx(){return this[_i]||(this[_i]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`rx`),setAttribute:e=>this.setAttribute(`rx`,e)})),this[_i]}get ry(){return this[vi]||(this[vi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`ry`),setAttribute:e=>this.setAttribute(`ry`,e)})),this[vi]}},$_=class{[b];[I];[L];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){return this[I]()||``}set baseVal(e){this[L](String(e))}},ev=class extends _h{static SVG_FEBLEND_MODE_UNKNOWN=0;static SVG_FEBLEND_MODE_NORMAL=1;static SVG_FEBLEND_MODE_MULTIPLY=2;static SVG_FEBLEND_MODE_SCREEN=3;static SVG_FEBLEND_MODE_DARKEN=4;static SVG_FEBLEND_MODE_LIGHTEN=5;static SVG_FEBLEND_MODE_OVERLAY=6;static SVG_FEBLEND_MODE_COLOR_DODGE=7;static SVG_FEBLEND_MODE_COLOR_BURN=8;static SVG_FEBLEND_MODE_HARD_LIGHT=9;static SVG_FEBLEND_MODE_SOFT_LIGHT=10;static SVG_FEBLEND_MODE_DIFFERENCE=11;static SVG_FEBLEND_MODE_EXCLUSION=12;static SVG_FEBLEND_MODE_HUE=13;static SVG_FEBLEND_MODE_SATURATION=14;static SVG_FEBLEND_MODE_COLOR=15;static SVG_FEBLEND_MODE_LUMINOSITY=16;[h]=null;[z]=null;[Da]=null;[xn]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get in2(){return this[Da]||(this[Da]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in2`),setAttribute:e=>this.setAttribute(`in2`,e)})),this[Da]}get mode(){return this[xn]||(this[xn]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`mode`),setAttribute:e=>this.setAttribute(`mode`,e),values:[`normal`,`multiply`,`screen`,`darken`,`lighten`,`overlay`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],defaultValue:`normal`})),this[xn]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}};const tv=/[\t\f\n\r, ]+/;var nv=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N||(this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute,t!==N))throw TypeError(`Illegal constructor`);let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){if(this[F])throw new this[b].TypeError(`Failed to execute 'clear' on 'SVGNumberList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;this[M].items=[],this[M].attributeValue=``,this[L](``)}initialize(e){if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGNumberList': 1 arguments required, but only ${arguments.length} present.`);if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGNumberList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof A_))throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof A_))throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGNumberList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGNumberList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGNumberList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGNumberList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[L](t.map(e=>e[R]||`0`).join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof A_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=r.split(tv);for(let t=0,r=e.length;t<r;t++){let r=new A_(N,this[b],{readOnly:this[F],getAttribute:()=>r[R],setAttribute:()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0`).join(` `),this[L](this[M].attributeValue)}});r[R]=String(parseFloat(e[t])),n.push(r)}}return t.attributeValue=e,t.items=n,n}},rv=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new nv(N,this[b],{readOnly:!0,getAttribute:this[I],setAttribute:()=>{}})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new nv(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},iv=class extends _h{static SVG_FEBLEND_TYPE_UNKNOWN=0;static SVG_FEBLEND_TYPE_MATRIX=1;static SVG_FEBLEND_TYPE_SATURATE=2;static SVG_FEBLEND_TYPE_HUEROTATE=3;static SVG_FEBLEND_TYPE_LUMINANCETOALPHA=4;[h]=null;[z]=null;[Da]=null;[B]=null;[qr]=null;[li]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get in2(){return this[Da]||(this[Da]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in2`),setAttribute:e=>this.setAttribute(`in2`,e)})),this[Da]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`matrix`,`saturate`,`huerotate`,`luminancetoalpha`],defaultValue:`matrix`})),this[qr]}get values(){return this[li]||(this[li]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`values`),setAttribute:e=>this.setAttribute(`values`,e)})),this[li]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},av=class extends _h{[h]=null;[z]=null;[B]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},ov=class extends _h{static SVG_FECOMPOSITE_OPERATOR_UNKNOWN=0;static SVG_FECOMPOSITE_OPERATOR_OVER=1;static SVG_FECOMPOSITE_OPERATOR_IN=2;static SVG_FECOMPOSITE_OPERATOR_OUT=3;static SVG_FECOMPOSITE_OPERATOR_ATOP=4;static SVG_FECOMPOSITE_OPERATOR_XOR=5;static SVG_FECOMPOSITE_OPERATOR_ARITHMETIC=6;[h]=null;[z]=null;[B]=null;[qr]=null;[li]=null;[D]=null;[O]=null;[y]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`over`,`in`,`out`,`atop`,`xor`,`arithmetic`],defaultValue:`over`})),this[qr]}get values(){return this[li]||(this[li]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`values`),setAttribute:e=>this.setAttribute(`values`,e)})),this[li]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},sv=class{[b];[I];[L];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){return this[I]()===`true`}set baseVal(e){this[L](String(typeof e==`boolean`?e:!!e))}},cv=class{[b];[I];[L];constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this.baseVal}set animVal(e){}get baseVal(){let e=this[I]();if(!e)return 0;let t=parseInt(e);return isNaN(t)?0:t}set baseVal(e){let t=parseInt(String(e));if(isNaN(t))throw new this[b].TypeError(`TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedInteger': The provided float value is non-finite.`);this[L](String(t))}},lv=class extends _h{static SVG_EDGEMODE_UNKNOWN=0;static SVG_EDGEMODE_DUPLICATE=1;static SVG_EDGEMODE_WRAP=2;static SVG_EDGEMODE_NONE=3;[Oa]=null;[ka]=null;[Aa]=null;[h]=null;[z]=null;[ja]=null;[Ma]=null;[Na]=null;[Pa]=null;[Fa]=null;[Ia]=null;[B]=null;[La]=null;[Ra]=null;[y]=null;[D]=null;[O]=null;get bias(){return this[Oa]||(this[Oa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`bias`),setAttribute:e=>this.setAttribute(`bias`,e)})),this[Oa]}get divisor(){return this[ka]||(this[ka]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`divisor`),setAttribute:e=>this.setAttribute(`divisor`,e)})),this[ka]}get edgeMode(){return this[Aa]||(this[Aa]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`edgeMode`),setAttribute:e=>this.setAttribute(`edgeMode`,e),values:[`duplicate`,`wrap`,`none`],defaultValue:`duplicate`})),this[Aa]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get kernelMatrix(){return this[ja]||(this[ja]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`kernelMatrix`),setAttribute:e=>this.setAttribute(`kernelMatrix`,e)})),this[ja]}get kernelUnitLengthX(){return this[Ma]||(this[Ma]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthX`),setAttribute:e=>this.setAttribute(`kernelUnitLengthX`,e)})),this[Ma]}get kernelUnitLengthY(){return this[Na]||(this[Na]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthY`),setAttribute:e=>this.setAttribute(`kernelUnitLengthY`,e)})),this[Na]}get orderX(){return this[Pa]||(this[Pa]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`orderX`),setAttribute:e=>this.setAttribute(`orderX`,e)})),this[Pa]}get orderY(){return this[Fa]||(this[Fa]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`orderY`),setAttribute:e=>this.setAttribute(`orderY`,e)})),this[Fa]}get preserveAlpha(){return this[Ia]||(this[Ia]=new sv(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAlpha`),setAttribute:e=>this.setAttribute(`preserveAlpha`,e)})),this[Ia]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get targetX(){return this[La]||(this[La]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`targetX`),setAttribute:e=>this.setAttribute(`targetX`,e)})),this[La]}get targetY(){return this[Ra]||(this[Ra]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`targetY`),setAttribute:e=>this.setAttribute(`targetY`,e)})),this[Ra]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},uv=class extends _h{[za]=null;[h]=null;[z]=null;[Ma]=null;[Na]=null;[B]=null;[Ba]=null;[y]=null;[D]=null;[O]=null;get diffuseConstant(){return this[za]||(this[za]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`diffuseConstant`),setAttribute:e=>this.setAttribute(`diffuseConstant`,e)})),this[za]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get kernelUnitLengthX(){return this[Ma]||(this[Ma]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthX`),setAttribute:e=>this.setAttribute(`kernelUnitLengthX`,e)})),this[Ma]}get kernelUnitLengthY(){return this[Na]||(this[Na]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthY`),setAttribute:e=>this.setAttribute(`kernelUnitLengthY`,e)})),this[Na]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get surfaceScale(){return this[Ba]||(this[Ba]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`surfaceScale`),setAttribute:e=>this.setAttribute(`surfaceScale`,e)})),this[Ba]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},dv=class extends _h{static SVG_CHANNEL_UNKNOWN=0;static SVG_CHANNEL_R=1;static SVG_CHANNEL_G=2;static SVG_CHANNEL_B=3;static SVG_CHANNEL_A=4;[h]=null;[z]=null;[Da]=null;[B]=null;[Va]=null;[y]=null;[D]=null;[Ha]=null;[O]=null;[Ua]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get in2(){return this[Da]||(this[Da]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in2`),setAttribute:e=>this.setAttribute(`in2`,e)})),this[Da]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get scale(){return this[Va]||(this[Va]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`scale`),setAttribute:e=>this.setAttribute(`scale`,e)})),this[Va]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get xChannelSelector(){return this[Ha]||(this[Ha]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`xChannelSelector`),setAttribute:e=>this.setAttribute(`xChannelSelector`,e),values:[`r`,`g`,`b`,`a`],defaultValue:`r`})),this[Ha]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get yChannelSelector(){return this[Ua]||(this[Ua]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`yChannelSelector`),setAttribute:e=>this.setAttribute(`yChannelSelector`,e),values:[`r`,`g`,`b`,`a`],defaultValue:`r`})),this[Ua]}},fv=class extends _h{[Wa]=null;[Ga]=null;get azimuth(){return this[Wa]||(this[Wa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`azimuth`),setAttribute:e=>this.setAttribute(`azimuth`,e)})),this[Wa]}get elevation(){return this[Ga]||(this[Ga]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`elevation`),setAttribute:e=>this.setAttribute(`elevation`,e)})),this[Ga]}},pv=class extends _h{[Ka]=null;[qa]=null;[h]=null;[z]=null;[B]=null;[Ja]=null;[Ya]=null;[y]=null;[D]=null;[O]=null;get dx(){return this[Ka]||(this[Ka]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dx`),setAttribute:e=>this.setAttribute(`dx`,e)})),this[Ka]}get dy(){return this[qa]||(this[qa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dy`),setAttribute:e=>this.setAttribute(`dy`,e)})),this[qa]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get stdDeviationX(){return this[Ja]||(this[Ja]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationX`),setAttribute:e=>this.setAttribute(`stdDeviationX`,e),defaultValue:2})),this[Ja]}get stdDeviationY(){return this[Ya]||(this[Ya]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationY`),setAttribute:e=>this.setAttribute(`stdDeviationY`,e),defaultValue:2})),this[Ya]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}setStdDeviation(e,t){this.stdDeviationX.baseVal=e,this.stdDeviationY.baseVal=t}},mv=class extends _h{[h]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},hv=class extends _h{static SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN=0;static SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY=1;static SVG_FECOMPONENTTRANSFER_TYPE_TABLE=2;static SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE=3;static SVG_FECOMPONENTTRANSFER_TYPE_LINEAR=4;static SVG_FECOMPONENTTRANSFER_TYPE_GAMMA=5;[qr]=null;[Xa]=null;[Za]=null;[Qa]=null;[$a]=null;[eo]=null;[Bi]=null;get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`identity`,`table`,`discrete`,`linear`,`gamma`],defaultValue:`identity`})),this[qr]}get tableValues(){return this[Xa]||(this[Xa]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`tableValues`),setAttribute:e=>this.setAttribute(`tableValues`,e)})),this[Xa]}get slope(){return this[Za]||(this[Za]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`slope`),setAttribute:e=>this.setAttribute(`slope`,e),defaultValue:1})),this[Za]}get intercept(){return this[Qa]||(this[Qa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`intercept`),setAttribute:e=>this.setAttribute(`intercept`,e)})),this[Qa]}get amplitude(){return this[$a]||(this[$a]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`amplitude`),setAttribute:e=>this.setAttribute(`amplitude`,e),defaultValue:1})),this[$a]}get exponent(){return this[eo]||(this[eo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`exponent`),setAttribute:e=>this.setAttribute(`exponent`,e),defaultValue:1})),this[eo]}get offset(){return this[Bi]||(this[Bi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`offset`),setAttribute:e=>this.setAttribute(`offset`,e)})),this[Bi]}},gv=class extends hv{},_v=class extends hv{},vv=class extends hv{},yv=class extends hv{},bv=class extends _h{static SVG_EDGEMODE_UNKNOWN=0;static SVG_EDGEMODE_DUPLICATE=1;static SVG_EDGEMODE_WRAP=2;static SVG_EDGEMODE_NONE=3;[Aa]=null;[h]=null;[z]=null;[B]=null;[Ja]=null;[Ya]=null;[y]=null;[D]=null;[O]=null;get edgeMode(){return this[Aa]||(this[Aa]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`edgeMode`),setAttribute:e=>this.setAttribute(`edgeMode`,e),values:[`duplicate`,`wrap`,`none`],defaultValue:`duplicate`})),this[Aa]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get stdDeviationX(){return this[Ja]||(this[Ja]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationX`)||`2`,setAttribute:e=>this.setAttribute(`stdDeviationX`,e)})),this[Ja]}get stdDeviationY(){return this[Ya]||(this[Ya]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`stdDeviationY`)||`2`,setAttribute:e=>this.setAttribute(`stdDeviationY`,e)})),this[Ya]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}setStdDeviation(e,t){this.stdDeviationX.baseVal=e,this.stdDeviationY.baseVal=t}},xv=class extends _h{[to]=null;[h]=null;[Di]=null;[mi]=null;[B]=null;[y]=null;[D]=null;[O]=null;get crossOrigin(){return this.getAttribute(`crossorigin`)}set crossOrigin(e){this.setAttribute(`crossorigin`,e)}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Sv=class extends _h{[h]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Cv=class extends _h{[z]=null;get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}},wv=class extends _h{static SVG_MORPHOLOGY_OPERATOR_UNKNOWN=0;static SVG_MORPHOLOGY_OPERATOR_ERODE=1;static SVG_MORPHOLOGY_OPERATOR_DILATE=2;[h]=null;[z]=null;[no]=null;[ro]=null;[io]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get operator(){return this[no]||(this[no]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`operator`),setAttribute:e=>this.setAttribute(`operator`,e),values:[`erode`,`dilate`],defaultValue:`erode`})),this[no]}get radiusX(){return this[ro]||(this[ro]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`radiusX`),setAttribute:e=>this.setAttribute(`radiusX`,e)})),this[ro]}get radiusY(){return this[io]||(this[io]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`radiusY`),setAttribute:e=>this.setAttribute(`radiusY`,e)})),this[io]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Tv=class extends _h{[h]=null;[z]=null;[Ka]=null;[qa]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get dx(){return this[Ka]||(this[Ka]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dx`),setAttribute:e=>this.setAttribute(`dx`,e)})),this[Ka]}get dy(){return this[qa]||(this[qa]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`dy`),setAttribute:e=>this.setAttribute(`dy`,e)})),this[qa]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Ev=class extends _h{[D]=null;[O]=null;[Wi]=null;get x(){return this[D]||(this[D]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get z(){return this[Wi]||(this[Wi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`z`),setAttribute:e=>this.setAttribute(`z`,e)})),this[Wi]}},Dv=class extends _h{[h]=null;[z]=null;[Ma]=null;[Na]=null;[B]=null;[ao]=null;[oo]=null;[Ba]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get kernelUnitLengthX(){return this[Ma]||(this[Ma]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthX`),setAttribute:e=>this.setAttribute(`kernelUnitLengthX`,e)})),this[Ma]}get kernelUnitLengthY(){return this[Na]||(this[Na]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`kernelUnitLengthY`),setAttribute:e=>this.setAttribute(`kernelUnitLengthY`,e)})),this[Na]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get specularConstant(){return this[ao]||(this[ao]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`specularConstant`),setAttribute:e=>this.setAttribute(`specularConstant`,e),defaultValue:1})),this[ao]}get specularExponent(){return this[oo]||(this[oo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`specularExponent`),setAttribute:e=>this.setAttribute(`specularExponent`,e),defaultValue:1})),this[oo]}get surfaceScale(){return this[Ba]||(this[Ba]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`surfaceScale`),setAttribute:e=>this.setAttribute(`surfaceScale`,e),defaultValue:1})),this[Ba]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Ov=class extends _h{[D]=null;[O]=null;[Wi]=null;[so]=null;[co]=null;[lo]=null;[oo]=null;[uo]=null;get x(){return this[D]||(this[D]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get z(){return this[Wi]||(this[Wi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`z`),setAttribute:e=>this.setAttribute(`z`,e)})),this[Wi]}get pointsAtX(){return this[so]||(this[so]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pointsAtX`),setAttribute:e=>this.setAttribute(`pointsAtX`,e)})),this[so]}get pointsAtY(){return this[co]||(this[co]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pointsAtY`),setAttribute:e=>this.setAttribute(`pointsAtY`,e)})),this[co]}get pointsAtZ(){return this[lo]||(this[lo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`pointsAtZ`),setAttribute:e=>this.setAttribute(`pointsAtZ`,e)})),this[lo]}get specularExponent(){return this[oo]||(this[oo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`specularExponent`),setAttribute:e=>this.setAttribute(`specularExponent`,e),defaultValue:1})),this[oo]}get limitingConeAngle(){return this[uo]||(this[uo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`limitingConeAngle`),setAttribute:e=>this.setAttribute(`limitingConeAngle`,e)})),this[uo]}},kv=class extends _h{[h]=null;[z]=null;[B]=null;[y]=null;[D]=null;[O]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get in1(){return this[z]||(this[z]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`in`),setAttribute:e=>this.setAttribute(`in`,e)})),this[z]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Av=class extends _h{static SVG_TURBULENCE_TYPE_UNKNOWN=0;static SVG_TURBULENCE_TYPE_FRACTALNOISE=1;static SVG_TURBULENCE_TYPE_TURBULENCE=2;static SVG_STITCHTYPE_UNKNOWN=0;static SVG_STITCHTYPE_STITCH=1;static SVG_STITCHTYPE_NOSTITCH=2;[fo]=null;[po]=null;[h]=null;[mo]=null;[B]=null;[ho]=null;[go]=null;[qr]=null;[y]=null;[D]=null;[O]=null;get baseFrequencyX(){return this[fo]||(this[fo]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`baseFrequencyX`),setAttribute:e=>this.setAttribute(`baseFrequencyX`,e)})),this[fo]}get baseFrequencyY(){return this[po]||(this[po]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`baseFrequencyY`),setAttribute:e=>this.setAttribute(`baseFrequencyY`,e)})),this[po]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get numOctaves(){return this[mo]||(this[mo]=new cv(N,this[b],{getAttribute:()=>this.getAttribute(`numOctaves`),setAttribute:e=>this.setAttribute(`numOctaves`,e)})),this[mo]}get result(){return this[B]||(this[B]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`result`),setAttribute:e=>this.setAttribute(`result`,e)})),this[B]}get seed(){return this[ho]||(this[ho]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`seed`),setAttribute:e=>this.setAttribute(`seed`,e)})),this[ho]}get stitchTiles(){return this[go]||(this[go]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`stitchTiles`),setAttribute:e=>this.setAttribute(`stitchTiles`,e),values:[`stitch`,`noStitch`],defaultValue:`stitch`})),this[go]}get type(){return this[qr]||(this[qr]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`type`),setAttribute:e=>this.setAttribute(`type`,e),values:[`fractalNoise`,`turbulence`],defaultValue:`turbulence`})),this[qr]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},jv=class extends _h{[Di]=null;[Ti]=null;[Ei]=null;[D]=null;[O]=null;[y]=null;[h]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get filterUnits(){return this[Ti]||(this[Ti]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`filterUnits`),setAttribute:e=>this.setAttribute(`filterUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ti]}get primitiveUnits(){return this[Ei]||(this[Ei]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`primitiveUnits`),setAttribute:e=>this.setAttribute(`primitiveUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ei]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Mv=class extends v_{[D]=null;[O]=null;[y]=null;[h]=null;get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Nv=class extends v_{},Pv=class extends v_{[Di]=null;[mi]=null;[D]=null;[O]=null;[y]=null;[h]=null;get crossOrigin(){return this.getAttribute(`crossorigin`)}set crossOrigin(e){this.setAttribute(`crossorigin`,e)}get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get decoding(){let e=this.getAttribute(`decoding`);switch(e){case`sync`:case`async`:case`auto`:return e;default:return`auto`}}set decoding(e){this.setAttribute(`decoding`,e)}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}decode(){return Promise.resolve()}},Fv=class extends K_{[Oi]=null;[ki]=null;[Ai]=null;[ji]=null;get x1(){return this[Oi]||(this[Oi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x1`),setAttribute:e=>this.setAttribute(`x1`,e)})),this[Oi]}get y1(){return this[ki]||(this[ki]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y1`),setAttribute:e=>this.setAttribute(`y1`,e)})),this[ki]}get x2(){return this[Ai]||(this[Ai]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x2`),setAttribute:e=>this.setAttribute(`x2`,e)})),this[Ai]}get y2(){return this[ji]||(this[ji]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y2`),setAttribute:e=>this.setAttribute(`y2`,e)})),this[ji]}},Iv=class extends v_{static SVG_SPREADMETHOD_UNKNOWN=0;static SVG_SPREADMETHOD_PAD=1;static SVG_SPREADMETHOD_REFLECT=2;static SVG_SPREADMETHOD_REPEAT=3;[Di]=null;[Mi]=null;[Ni]=null;[Pi]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get gradientUnits(){return this[Mi]||(this[Mi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`gradientUnits`),setAttribute:e=>this.setAttribute(`gradientUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`objectBoundingBox`})),this[Mi]}get gradientTransform(){return this[Ni]||(this[Ni]=new __(N,this[b],{getAttribute:()=>this.getAttribute(`gradientTransform`),setAttribute:e=>this.setAttribute(`gradientTransform`,e)})),this[Ni]}get spreadMethod(){return this[Pi]||(this[Pi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`spreadMethod`),setAttribute:e=>this.setAttribute(`spreadMethod`,e),values:[`pad`,`reflect`,`repeat`],defaultValue:`pad`})),this[Pi]}},Lv=class extends Iv{[Oi]=null;[ki]=null;[Ai]=null;[ji]=null;get x1(){return this[Oi]||(this[Oi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x1`),setAttribute:e=>this.setAttribute(`x1`,e)})),this[Oi]}get y1(){return this[ki]||(this[ki]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y1`),setAttribute:e=>this.setAttribute(`y1`,e)})),this[ki]}get x2(){return this[Ai]||(this[Ai]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x2`),setAttribute:e=>this.setAttribute(`x2`,e)})),this[Ai]}get y2(){return this[ji]||(this[ji]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y2`),setAttribute:e=>this.setAttribute(`y2`,e)})),this[ji]}},Rv=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new k_(N,this[b],{readOnly:!0,getAttribute:this[I]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new k_(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},zv=class extends _h{static SVG_MARKER_ORIENT_UNKNOWN=0;static SVG_MARKER_ORIENT_AUTO=1;static SVG_MARKER_ORIENT_ANGLE=2;static SVG_MARKERUNITS_UNKNOWN=0;static SVG_MARKERUNITS_USERSPACEONUSE=1;static SVG_MARKERUNITS_STROKEWIDTH=2;SVG_MARKER_ORIENT_UNKNOWN=0;SVG_MARKER_ORIENT_AUTO=1;SVG_MARKER_ORIENT_ANGLE=2;[oi]=null;[si]=null;[ci]=null;[ui]=null;[di]=null;[fi]=null;[pi]=null;[ai]=null;[mi]=null;get markerUnits(){return this[oi]||(this[oi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`markerUnits`),setAttribute:e=>this.setAttribute(`markerUnits`,e),values:[`userSpaceOnUse`,`strokeWidth`],defaultValue:`strokeWidth`})),this[oi]}get markerWidth(){return this[si]||(this[si]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`markerWidth`),setAttribute:e=>this.setAttribute(`markerWidth`,e)})),this[si]}get markerHeight(){return this[ci]||(this[ci]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`markerHeight`),setAttribute:e=>this.setAttribute(`markerHeight`,e)})),this[ci]}get orientType(){return this[ui]||(this[ui]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`orient`),setAttribute:e=>this.setAttribute(`orient`,e),values:[`auto`,null],defaultValue:`auto`})),this[ui]}get orientAngle(){return this[di]||(this[di]=new Rv(N,this[b],{getAttribute:()=>this.getAttribute(`orient`),setAttribute:e=>this.setAttribute(`orient`,e)})),this[di]}get refX(){return this[fi]||(this[fi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`refX`),setAttribute:e=>this.setAttribute(`refX`,e)})),this[fi]}get refY(){return this[pi]||(this[pi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`refY`),setAttribute:e=>this.setAttribute(`refY`,e)})),this[pi]}get viewBox(){return this[ai]||(this[ai]=new j_(N,this[b],{getAttribute:()=>this.getAttribute(`viewBox`),setAttribute:e=>this.setAttribute(`viewBox`,e)})),this[ai]}get preserveAspectRatio(){return this[mi]||(this[mi]=new z_(N,this[b],{getAttribute:()=>this.getAttribute(`preserveAspectRatio`),setAttribute:e=>this.setAttribute(`preserveAspectRatio`,e)})),this[mi]}setOrientToAuto(){this.setAttribute(`orient`,`auto`)}setOrientToAngle(e){this.setAttribute(`orient`,e.valueAsString)}},Bv=class extends _h{[Ci]=null;[wi]=null;[D]=null;[O]=null;[y]=null;[h]=null;get maskUnits(){return this[Ci]||(this[Ci]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`maskUnits`),setAttribute:e=>this.setAttribute(`maskUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ci]}get maskContentUnits(){return this[wi]||(this[wi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`maskContentUnits`),setAttribute:e=>this.setAttribute(`maskContentUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[wi]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}},Vv=class extends _h{},Hv=class extends _h{[Di]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}},Uv=class extends K_{},Wv=class extends _h{[Di]=null;[Fi]=null;[Ii]=null;[Li]=null;[D]=null;[O]=null;[y]=null;[h]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get patternUnits(){return this[Fi]||(this[Fi]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`patternUnits`),setAttribute:e=>this.setAttribute(`patternUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`objectBoundingBox`})),this[Fi]}get patternContentUnits(){return this[Ii]||(this[Ii]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`patternContentUnits`),setAttribute:e=>this.setAttribute(`patternContentUnits`,e),values:[`userSpaceOnUse`,`objectBoundingBox`],defaultValue:`userSpaceOnUse`})),this[Ii]}get patternTransform(){return this[Li]||(this[Li]=new __(N,this[b],{getAttribute:()=>this.getAttribute(`patternTransform`),setAttribute:e=>this.setAttribute(`patternTransform`,e)})),this[Li]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}};const Gv=/[\t\f\n\r, ]+/;var Kv=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N)throw TypeError(`Illegal constructor`);this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute;let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){if(this[F])throw new this[b].TypeError(`Failed to execute 'clear' on 'SVGPointList': The object is read-only.`);for(let e of this[M].items)e[I]=null,e[L]=null;this[M].items=[],this[M].attributeValue=``,this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGPointList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGPointList': 1 arguments required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': 2 arguments required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGPointList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGPointList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGPointList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGPointList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[L](t.map(e=>e[R]||`0 0`).join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': 1 argument required, but only ${arguments.length} present.`);if(!(e instanceof x_))throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=r.split(Gv);for(let t=0,r=e.length;t<r;t+=2){let r=parseFloat(e[t]),i=e[t+1]===void 0?``:` `+parseFloat(e[t+1]),a=new x_(N,this[b],{readOnly:this[F],getAttribute:()=>a[R],setAttribute:()=>{this[M].attributeValue=this[P]().map(e=>e[R]||`0 0`).join(` `),this[L](this[M].attributeValue)}});a[R]=`${r}${i}`,n.push(a)}}return t.attributeValue=e,t.items=n,n}},qv=class extends K_{[hi]=null;[gi]=null;get animatedPoints(){return this[hi]||(this[hi]=new Kv(N,this[b],{readOnly:!0,getAttribute:()=>this.getAttribute(`points`),setAttribute:()=>{}})),this[hi]}get points(){return this[gi]||(this[gi]=new Kv(N,this[b],{getAttribute:()=>this.getAttribute(`points`),setAttribute:e=>this.setAttribute(`points`,e)})),this[gi]}},Jv=class extends K_{[hi]=null;[gi]=null;get animatedPoints(){return this[hi]||(this[hi]=new Kv(N,this[b],{readOnly:!0,getAttribute:()=>this.getAttribute(`points`),setAttribute:()=>{}})),this[hi]}get points(){return this[gi]||(this[gi]=new Kv(N,this[b],{getAttribute:()=>this.getAttribute(`points`),setAttribute:e=>this.setAttribute(`points`,e)})),this[gi]}},Yv=class extends Iv{[yi]=null;[bi]=null;[xi]=null;[Ri]=null;[zi]=null;get cx(){return this[yi]||(this[yi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cx`),setAttribute:e=>this.setAttribute(`cx`,e)})),this[yi]}get cy(){return this[bi]||(this[bi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`cy`),setAttribute:e=>this.setAttribute(`cy`,e)})),this[bi]}get r(){return this[xi]||(this[xi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`r`),setAttribute:e=>this.setAttribute(`r`,e)})),this[xi]}get fx(){return this[Ri]||(this[Ri]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`fx`),setAttribute:e=>this.setAttribute(`fx`,e)})),this[Ri]}get fy(){return this[zi]||(this[zi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`fy`),setAttribute:e=>this.setAttribute(`fy`,e)})),this[zi]}},Xv=class extends K_{[D]=null;[O]=null;[y]=null;[h]=null;[_i]=null;[vi]=null;get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get rx(){return this[_i]||(this[_i]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`rx`),setAttribute:e=>this.setAttribute(`rx`,e)})),this[_i]}get ry(){return this[vi]||(this[vi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`ry`),setAttribute:e=>this.setAttribute(`ry`,e)})),this[vi]}},Zv=class extends v_{[Di]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get type(){return this.getAttribute(`type`)||``}set type(e){this.setAttribute(`type`,e)}},Qv=class extends V_{},$v=class extends _h{[Bi]=null;get offset(){return this[Bi]||(this[Bi]=new G_(N,this[b],{getAttribute:()=>this.getAttribute(`offset`),setAttribute:e=>this.setAttribute(`offset`,e)})),this[Bi]}},ey=class extends _h{[en]=null;[Wn]=this;[Vi]=!1;get media(){return this.getAttribute(`media`)||`all`}set media(e){this.setAttribute(`media`,e)}get type(){return this.getAttribute(`type`)||`text/css`}set type(e){this.setAttribute(`type`,e)}get title(){return this.getAttribute(`title`)||``}set title(e){this.setAttribute(`title`,e)}get disabled(){return this[Vi]}set disabled(e){this[Vi]=!!e}get sheet(){return this[x]?(this[en]||(this[en]=new this[g][b].CSSStyleSheet,this[en].replaceSync(this.textContent)),this[en]):null}[we](){super[we](),this[en]=null}[Me](){super[Me](),this[en]=null}[Gn](){this[en]&&this[en].replaceSync(this.textContent)}},ty=class extends v_{},ny=class extends v_{},ry=class extends v_{static LENGTHADJUST_UNKNOWN=0;static LENGTHADJUST_SPACING=1;static LENGTHADJUST_SPACINGANDGLYPHS=2;[Hi]=null;[Ui]=null;get textLength(){return this[Hi]||(this[Hi]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`textLength`),setAttribute:e=>this.setAttribute(`textLength`,e)})),this[Hi]}get lengthAdjust(){return this[Ui]||(this[Ui]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`lengthAdjust`),setAttribute:e=>this.setAttribute(`lengthAdjust`,e),values:[`spacing`,`spacingAndGlyphs`],defaultValue:`spacing`})),this[Ui]}getNumberOfChars(){return 0}getComputedTextLength(){return 0}getSubStringLength(e,t){return 0}getStartPositionOfChar(e){return new x_(N,this[b])}getEndPositionOfChar(e){return new x_(N,this[b])}getExtentOfChar(e){return new y_(N,this[b])}getRotationOfChar(e){return 0}getCharNumAtPosition(e){return 0}};const iy=/[\t\f\n\r, ]+/;var ay=class e{[b];[I];[L];[F]=!1;[M]={items:[],attributeValue:``};constructor(t,n,r){if(t!==N)throw TypeError(`Illegal constructor`);this[b]=n,this[F]=!!r.readOnly,this[I]=r.getAttribute,this[L]=r.setAttribute;let i=new Bc(this,[e]);return new Proxy(this,{get:(e,t)=>{if(t===`length`||t===`numberOfItems`)return e[P]().length;if(t in e||typeof t==`symbol`)return i.bind(t),e[t];let n=Number(t);if(!isNaN(n))return e[P]()[n]},set(e,t,n){if(i.bind(t),typeof t==`symbol`)return e[t]=n,!0;let r=Number(t);return isNaN(r)&&(e[t]=n),!0},deleteProperty(e,t){if(typeof t==`symbol`)return delete e[t],!0;let n=Number(t);return isNaN(n)&&delete e[t],!0},ownKeys(e){return Object.keys(e[P]())},has(e,t){if(t in e)return!0;if(typeof t==`symbol`)return!1;let n=Number(t);return!isNaN(n)&&n>=0&&n<e[P]().length},defineProperty(e,t,n){return i.preventBinding(t),t in e?(Object.defineProperty(e,t,n),!0):!1},getOwnPropertyDescriptor(e,t){if(t in e||typeof t==`symbol`)return;let n=Number(t),r=e[P]();if(!isNaN(n)&&r[n])return{value:r[n],writable:!1,enumerable:!0,configurable:!0}}})}get length(){return this[P]().length}get numberOfItems(){return this[P]().length}[Symbol.iterator](){return this[P]().values()}clear(){this[L](``)}initialize(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGLengthList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'initialize' on 'SVGLengthList': 1 arguments required, but only ${arguments.length} present.`);for(let e of this[M].items)e[I]=null,e[L]=null;return e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].items=[e],this[M].attributeValue=e[R],this[L](e[R]||``),e}getItem(e){let t=this[P]();return typeof e==`number`?t[e]?t[e]:null:(e=Number(e),e=isNaN(e)?0:e,t[e]?t[e]:null)}insertItemBefore(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGLengthList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only ${arguments.length} present.`);let n=this[P](),r=n.indexOf(e);return r!==-1&&n.splice(r,1),t<0?t=0:t>n.length&&(t=n.length),n.splice(t,0,e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue),e}replaceItem(e,t){if(this[F])throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGLengthList': The object is read-only.`);if(arguments.length<2)throw new this[b].TypeError(`Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only ${arguments.length} present.`);let n=this[P](),r=n.indexOf(e);if(r===t)return e;r!==-1&&n.splice(r,1),t<0?t=0:t>=n.length&&(t=n.length-1),n[t]&&(n[t][I]=null,n[t][L]=null);let i=n[t];return n[t]=e,e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=n.map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue),i}removeItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGLengthList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'removeItem' on 'SVGLengthList': 1 argument required, but only ${arguments.length} present.`);let t=this[P]();if(e=Number(e),isNaN(e)&&(e=0),e>=t.length)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGLengthList': The index provided (${e}) is greater than the maximum bound.`,H.indexSizeError);if(e<0)throw new this[b].DOMException(`Failed to execute 'removeItem' on 'SVGLengthList': The index provided (${e}) is negative.`,H.indexSizeError);let n=t[e];return n&&(n[I]=null,n[L]=null),t.splice(e,1),this[L](t.map(e=>e[R]??`0`).join(` `)),n}appendItem(e){if(this[F])throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGLengthList': The object is read-only.`);if(arguments.length<1)throw new this[b].TypeError(`Failed to execute 'appendItem' on 'SVGLengthList': 1 argument required, but only ${arguments.length} present.`);let t=this[P](),n=t.indexOf(e);return n!==-1&&t.splice(n,1),t.push(e),e[I]=()=>e[R],e[L]=()=>{this[M].attributeValue=this[P]().map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue)},this[M].attributeValue=t.map(e=>e[R]??`0`).join(` `),this[L](this[M].attributeValue),e}[P](){let e=this[I]()??``,t=this[M];if(t.attributeValue===e)return t.items;if(t.items.length)for(let e of t.items)e[I]=null,e[L]=null;let n=[],r=e.trim();if(r){let e=r.split(iy);for(let r=0,i=e.length;r<i;r++){let i=new T_(N,this[b],{readOnly:this[F],getAttribute:()=>i[R],setAttribute:e=>{i[R]=e;let r=n.map(e=>e[R]??`0`).join(` `);t.attributeValue=r,this[L](r)}});i[R]=e[r],n.push(i)}}return t.attributeValue=e,t.items=n,n}},oy=class{[b];[I];[L];[ni]=null;[ri]=null;constructor(e,t,n){if(e!==N)throw TypeError(`Illegal constructor`);this[b]=t,this[I]=n.getAttribute,this[L]=n.setAttribute}get animVal(){return this[ri]||(this[ri]=new ay(N,this[b],{readOnly:!0,getAttribute:this[I],setAttribute:this[L]})),this[ri]}set animVal(e){}get baseVal(){return this[ni]||(this[ni]=new ay(N,this[b],{getAttribute:this[I],setAttribute:this[L]})),this[ni]}set baseVal(e){}},sy=class extends ry{[D]=null;[O]=null;[Ka]=null;[qa]=null;[Co]=null;get x(){return this[D]||(this[D]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get dx(){return this[Ka]||(this[Ka]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`dx`),setAttribute:e=>this.setAttribute(`dx`,e)})),this[Ka]}get dy(){return this[qa]||(this[qa]=new oy(N,this[b],{getAttribute:()=>this.getAttribute(`dy`),setAttribute:e=>this.setAttribute(`dy`,e)})),this[qa]}get rotate(){return this[Co]||(this[Co]=new rv(N,this[b],{getAttribute:()=>this.getAttribute(`rotate`),setAttribute:e=>this.setAttribute(`rotate`,e)})),this[Co]}},cy=class extends sy{},ly=class extends ry{static TEXTPATH_METHODTYPE_UNKNOWN=0;static TEXTPATH_METHODTYPE_ALIGN=1;static TEXTPATH_METHODTYPE_STRETCH=2;static TEXTPATH_SPACINGTYPE_UNKNOWN=0;static TEXTPATH_SPACINGTYPE_AUTO=1;static TEXTPATH_SPACINGTYPE_EXACT=2;[Di]=null;[wa]=null;[Ta]=null;[Ea]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get startOffset(){return this[wa]||(this[wa]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`startOffset`),setAttribute:e=>this.setAttribute(`startOffset`,e)})),this[wa]}get method(){return this[Ta]||(this[Ta]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`method`),setAttribute:e=>this.setAttribute(`method`,e),values:[`align`,`stretch`],defaultValue:`align`})),this[Ta]}get spacing(){return this[Ea]||(this[Ea]=new J_(N,this[b],{getAttribute:()=>this.getAttribute(`spacing`),setAttribute:e=>this.setAttribute(`spacing`,e),values:[`auto`,`exact`],defaultValue:`exact`})),this[Ea]}},uy=class extends _h{},dy=class extends sy{},fy=class extends v_{[Di]=null;[D]=null;[O]=null;[y]=null;[h]=null;get href(){return this[Di]||(this[Di]=new $_(N,this[b],{getAttribute:()=>this.getAttribute(`href`),setAttribute:e=>this.setAttribute(`href`,e)})),this[Di]}get x(){return this[D]||(this[D]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`x`),setAttribute:e=>this.setAttribute(`x`,e)})),this[D]}get y(){return this[O]||(this[O]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`y`),setAttribute:e=>this.setAttribute(`y`,e)})),this[O]}get width(){return this[y]||(this[y]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`width`),setAttribute:e=>this.setAttribute(`width`,e)})),this[y]}get height(){return this[h]||(this[h]=new $(N,this[b],{getAttribute:()=>this.getAttribute(`height`),setAttribute:e=>this.setAttribute(`height`,e)})),this[h]}},py=class extends _h{},my=class{static SVG_UNIT_TYPE_UNKNOWN=0;static SVG_UNIT_TYPE_USERSPACEONUSE=1;static SVG_UNIT_TYPE_OBJECTBOUNDINGBOX=2;SVG_UNIT_TYPE_UNKNOWN=0;SVG_UNIT_TYPE_USERSPACEONUSE=1;SVG_UNIT_TYPE_OBJECTBOUNDINGBOX=2;constructor(e){if(e!==N)throw TypeError(`Illegal constructor`)}},hy=class{window;constructor(e){this.window=e}enqueueReaction(e,t,n){let r=this.window.customElements[tt]?.get(e.localName);if(r&&e[g]===this.window.document)switch(t){case`connectedCallback`:if(r.lifecycleCallbacks.connectedCallback){let t=r.lifecycleCallbacks.connectedCallback?.call(e);if(t instanceof Promise){let e=new Y(this.window).getAsyncTaskManager();if(e){let n=e.startTask();t.then(()=>e.endTask(n)).catch(()=>e.endTask(n))}}}break;case`disconnectedCallback`:r.lifecycleCallbacks.disconnectedCallback&&r.lifecycleCallbacks.disconnectedCallback.call(e);break;case`attributeChangedCallback`:r.lifecycleCallbacks.attributeChangedCallback&&n?.length&&r.observedAttributes.has(n[0])&&r.lifecycleCallbacks.attributeChangedCallback.apply(e,n);break}}},gy=class extends W{state;hasUAVisualTransition;constructor(e,t=null){super(e),this.state=t?.state??null,this.hasUAVisualTransition=t?.hasUAVisualTransition??!1}},_y=class extends W{code;reason;wasClean;constructor(e,t=null){super(e,t),this.code=t?.code??0,this.reason=t?.reason??``,this.wasClean=t?.wasClean??!1}},vy=class e{[zr]=null;[y]=0;[h]=0;[yn]=null;constructor(t,n,r,i,a,o,s,c){if(t!==N)throw TypeError(`Illegal constructor`);let l=null;if(r instanceof e){if(r[zr]===null)throw new n.DOMException(`Failed to execute 'createImageBitmap' on 'Window': The image source is not usable.`,H.invalidStateError);l=r}if(r instanceof Lp){if(!r[me])throw new n.DOMException(`Failed to execute 'createImageBitmap' on 'Window': The image source is not usable.`,H.invalidStateError);l=r}else if(r instanceof ph)throw new n.DOMException(`Failed to execute 'createImageBitmap' on 'Window': HTMLVideoElement is not supported as an image source yet in Happy DOM.`,H.invalidStateError);else (r instanceof $f||r instanceof Xf)&&(l=r);if(l===null)throw new n.TypeError(`Failed to execute 'createImageBitmap' on 'Window': The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.`);this[y]=l.width,this[h]=l.height;let u=0,d=0;if(typeof i==`number`&&typeof a==`number`&&typeof o==`number`&&typeof s==`number`){if(u=i,d=a,this[y]=o,this[h]=s,c!==void 0&&typeof c!=`object`)throw new n.TypeError(`The provided value is not of type 'ImageBitmapOptions'.`);this[yn]=c||null}else if(typeof i==`number`&&typeof a==`number`){if(this[y]=i,this[h]=a,o!==void 0&&typeof o!=`object`)throw new n.TypeError(`The provided value is not of type 'ImageBitmapOptions'.`);this[yn]=o||null}else if(typeof i==`object`)this[yn]=i;else if(i!==void 0)throw new n.TypeError(`Failed to execute 'createImageBitmap' on 'Window': Overload resolution failed.`);let f=new Y(n).getSettings(),p=new n.OffscreenCanvas(this[y],this[h]);f?.canvasAdapter&&(p.getContext(`2d`).drawImage(l,-u,-d,l.width,l.height),this[zr]=p)}get width(){return this[y]}get height(){return this[h]}close(){this[zr]=null,this[yn]=null,this[y]=0,this[h]=0}};const yy={setTimeout:globalThis.setTimeout.bind(globalThis),clearTimeout:globalThis.clearTimeout.bind(globalThis),setInterval:globalThis.setInterval.bind(globalThis),clearInterval:globalThis.clearInterval.bind(globalThis),queueMicrotask:globalThis.queueMicrotask.bind(globalThis),setImmediate:globalThis.setImmediate.bind(globalThis),clearImmediate:globalThis.clearImmediate.bind(globalThis)},by=setTimeout.toString().includes(`new Timeout`),xy=(()=>{try{return Function(`return true;`)(),!0}catch{return!1}})(),Sy=(()=>{try{return globalThis.Function.$UNFROZEN$=!0,delete globalThis.Function.$UNFROZEN$,!0}catch{return!1}})();var Cy=class{constructor(){throw TypeError(`Illegal constructor`)}},wy=class{callback;constructor(e){this.callback=e}},Ty=class e extends nl{Node=gd;Attr=_d;ShadowRoot=gh;ProcessingInstruction=mh;Element=Df;CharacterData=xd;DocumentType=Sd;HTMLAnchorElement=Mf;HTMLButtonElement=Yf;HTMLOptGroupElement=Mm;HTMLOptionElement=Nm;HTMLElement=Q;HTMLUnknownElement=fh;HTMLTemplateElement=oh;HTMLInputElement=Yp;HTMLSelectElement=Jm;HTMLTextAreaElement=sh;HTMLImageElement=Lp;HTMLStyleElement=$m;HTMLLabelElement=Xp;HTMLSlotElement=Xm;HTMLMetaElement=Dm;HTMLMediaElement=zf;HTMLAudioElement=Bf;HTMLVideoElement=ph;HTMLBaseElement=Vf;HTMLDialogElement=ip;HTMLScriptElement=Km;HTMLLinkElement=Cm;HTMLIFrameElement=Sp;HTMLFormElement=hp;HTMLUListElement=dh;HTMLTrackElement=uh;HTMLTableRowElement=ah;HTMLTitleElement=lh;HTMLTimeElement=ch;HTMLTableSectionElement=rh;HTMLTableCellElement=th;HTMLTableElement=ih;HTMLSpanElement=Qm;HTMLSourceElement=Zm;HTMLQuoteElement=Bm;HTMLProgressElement=zm;HTMLPreElement=Rm;HTMLPictureElement=Lm;HTMLParamElement=Im;HTMLParagraphElement=Fm;HTMLOutputElement=Pm;HTMLOListElement=Am;HTMLObjectElement=jm;HTMLMeterElement=Om;HTMLMenuElement=Em;HTMLMapElement=wm;HTMLLIElement=Qp;HTMLLegendElement=Zp;HTMLModElement=km;HTMLHtmlElement=yp;HTMLHRElement=vp;HTMLHeadElement=gp;HTMLHeadingElement=_p;HTMLFieldSetElement=sp;HTMLEmbedElement=op;HTMLDListElement=ep;HTMLDivElement=ap;HTMLDetailsElement=rp;HTMLDataListElement=np;HTMLDataElement=tp;HTMLTableColElement=nh;HTMLTableCaptionElement=eh;HTMLCanvasElement=$f;HTMLBRElement=Uf;HTMLBodyElement=Hf;HTMLAreaElement=Nf;SVGSVGElement=B_;SVGAnimateElement=H_;SVGAnimateMotionElement=U_;SVGAnimateTransformElement=W_;SVGCircleElement=q_;SVGClipPathElement=Y_;SVGDefsElement=X_;SVGDescElement=Z_;SVGEllipseElement=Q_;SVGFEBlendElement=ev;SVGFEColorMatrixElement=iv;SVGFEComponentTransferElement=av;SVGFECompositeElement=ov;SVGFEConvolveMatrixElement=lv;SVGFEDiffuseLightingElement=uv;SVGFEDisplacementMapElement=dv;SVGFEDistantLightElement=fv;SVGFEDropShadowElement=pv;SVGFEFloodElement=mv;SVGFEFuncAElement=gv;SVGFEFuncBElement=_v;SVGFEFuncGElement=vv;SVGFEFuncRElement=yv;SVGFEGaussianBlurElement=bv;SVGFEImageElement=xv;SVGFEMergeElement=Sv;SVGFEMergeNodeElement=Cv;SVGFEMorphologyElement=wv;SVGFEOffsetElement=Tv;SVGFEPointLightElement=Ev;SVGFESpecularLightingElement=Dv;SVGFESpotLightElement=Ov;SVGFETileElement=kv;SVGFETurbulenceElement=Av;SVGFilterElement=jv;SVGForeignObjectElement=Mv;SVGGElement=Nv;SVGImageElement=Pv;SVGLineElement=Fv;SVGLinearGradientElement=Lv;SVGMarkerElement=zv;SVGMaskElement=Bv;SVGMetadataElement=Vv;SVGMPathElement=Hv;SVGPathElement=Uv;SVGPatternElement=Wv;SVGPolygonElement=qv;SVGPolylineElement=Jv;SVGRadialGradientElement=Yv;SVGRectElement=Xv;SVGScriptElement=Zv;SVGSetElement=Qv;SVGStopElement=$v;SVGStyleElement=ey;SVGSwitchElement=ty;SVGSymbolElement=ny;SVGTextElement=cy;SVGTextPathElement=ly;SVGTitleElement=uy;SVGTSpanElement=dy;SVGUseElement=fy;SVGViewElement=py;SVGElement=_h;SVGAnimationElement=V_;SVGComponentTransferFunctionElement=hv;SVGGeometryElement=K_;SVGGradientElement=Iv;SVGTextPositioningElement=sy;SVGGraphicsElement=v_;Event=W;UIEvent=Zl;CustomEvent=eu;CloseEvent=_y;AnimationEvent=Ql;KeyboardEvent=au;MessageEvent=ou;MouseEvent=su;PointerEvent=cu;FocusEvent=nu;WheelEvent=pu;InputEvent=iu;ErrorEvent=tu;StorageEvent=uu;SubmitEvent=du;ProgressEvent=lu;MediaQueryListEvent=rl;HashChangeEvent=ru;ClipboardEvent=$l;TouchEvent=fu;PopStateEvent=gy;Touch=Xl;AudioProcessingEvent=W;BeforeInputEvent=W;BeforeUnloadEvent=W;BlobEvent=W;CompositionEvent=W;CSSFontFaceLoadEvent=W;DeviceLightEvent=W;DeviceMotionEvent=W;DeviceOrientationEvent=W;DeviceProximityEvent=W;DOMTransactionEvent=W;DragEvent=W;EditingBeforeInputEvent=W;FetchEvent=W;GamepadEvent=W;IDBVersionChangeEvent=W;MediaStreamEvent=W;MutationEvent=W;OfflineAudioCompletionEvent=W;OverconstrainedError=W;PageTransitionEvent=W;PaymentRequestUpdateEvent=W;RelatedEvent=W;RTCDataChannelEvent=W;RTCIdentityErrorEvent=W;RTCIdentityEvent=W;RTCPeerConnectionIceEvent=W;SensorEvent=W;SVGEvent=W;SVGZoomEvent=W;TimeEvent=W;TrackEvent=W;TransitionEvent=W;UserProximityEvent=W;WebGLContextEvent=W;TextEvent=W;Permissions=sd;History=Zu;Navigator=cd;Clipboard=zs;TimeRanges=Pf;TextTrackCueList=Tm;ValidityState=Kf;MutationRecord=td;IntersectionObserver=Qu;IntersectionObserverEntry=$u;CSSStyleDeclaration=yl;CSSRule=Ks;CSSContainerRule=xl;CSSFontFaceRule=Sl;CSSKeyframeRule=Cl;CSSKeyframesRule=Tl;CSSMediaRule=Ol;CSSStyleRule=Nl;CSSSupportsRule=Pl;CSSConditionRule=bl;CSSGroupingRule=fl;CSSScopeRule=pl;DOMRect=Dd;DOMRectReadOnly=Ed;Plugin=ld;PluginArray=id;Location=ed;CustomElementRegistry=Gl;ResizeObserver=vh;Blob=Rs;File=ql;Storage=Eh;MimeType=nd;MimeTypeArray=rd;NodeFilter=Dh;ImageBitmap=vy;HTMLCollection=Ad;HTMLFormControlCollection=cp;HTMLOptionsCollection=qm;NodeList=Vc;RadioNodeList=mp;FileList=Rp;Screen=yh;ScreenDetails=xh;ScreenDetailed=bh;NamedNodeMap=Nd;TreeWalker=jh;NodeIterator=Mh;DataTransfer=Yl;DataTransferItem=Kl;DataTransferItemList=Jl;XMLSerializer=Nh;ClipboardItem=Bs;Selection=Th;CSSUnitValue=Us;SVGAngle=k_;SVGAnimatedAngle=Rv;SVGAnimatedBoolean=sv;SVGAnimatedEnumeration=J_;SVGAnimatedInteger=cv;SVGAnimatedLength=$;SVGAnimatedNumber=G_;SVGAnimatedNumberList=rv;SVGAnimatedPreserveAspectRatio=z_;SVGAnimatedRect=j_;SVGAnimatedString=$_;SVGAnimatedTransformList=__;SVGLength=T_;SVGLengthList=ay;SVGMatrix=c_;SVGNumber=A_;SVGNumberList=nv;SVGPoint=x_;SVGPointList=Kv;SVGPreserveAspectRatio=R_;SVGRect=y_;SVGStringList=a_;SVGTransform=p_;SVGTransformList=g_;SVGAnimatedLengthList=oy;SVGUnitTypes=my;StylePropertyMap=Ml;StylePropertyMapReadOnly=jl;MediaList=Dl;CSSKeywordValue=kl;CSSStyleValue=Al;Window=this.constructor;URLSearchParams=ee;WritableStream=u.Writable;ReadableStream=se;TransformStream=u.Transform;PerformanceObserver=re;PerformanceEntry=ne;PerformanceObserverEntryList=Cy;document;customElements=new Gl(this);window=this;globalThis=this;performance=performance;screenLeft=0;screenTop=0;screenX=0;screenY=0;crypto=c;TextEncoder=o;TextDecoder=a;closed=!1;console;name=``;Buffer=i;[vt]=[];[$e];[En];[Dn];[On];[kn];[An];[jn];[ur]=this;[fr]=this;[dr]=this;[b]=this;[es]=this;[Re]=-1;[Do]=new hy(this);[ko]={json:new Map,css:new Map,esm:new Map};[Ro]=null;[rs]=[];[V]=new Map;[ss]=new Map;#e;#t=null;#n=null;#r=null;#i=null;#a=null;#o={timeouts:null};#s=[];#c=[];constructor(e,t){super(),this.#e=e,this[ns](),this.console=e.page.console,this[$e]=new Td(e),this[On]=new cd(this),this[kn]=new yh,this[An]=new Eh,this[jn]=new Eh,this[En]=new ed(this.#e,t?.url??`about:blank`),this[Dn]=new Zu(this.#e,this),e[Dn].currentItem.href=t?.url??`about:blank`,Y.setWindowBrowserFrameRelation(this,this.#e),this[ct](),r_.extendClasses(this),this.document=new this.HTMLDocument,this.document[je]=this;let n=e[fe].startTask(()=>this[$e].destroy());this[$e].waitUntilComplete().then(()=>{e[fe].endTask(n),this.document[Ht]=wd.complete,this.document.dispatchEvent(new W(`readystatechange`));let t=new W(`load`);t[ke]=this,t[dt]=this.document,t[Gr]=Es.atTarget,this.dispatchEvent(t),t[ke]=null,t[Gr]=Es.none,t[Oo]=!1}),this[wo]()}get onsearch(){return this[V].get(`onsearch`)??null}set onsearch(e){this[V].set(`onsearch`,e)}get onappinstalled(){return this[V].get(`onappinstalled`)??null}set onappinstalled(e){this[V].set(`onappinstalled`,e)}get onbeforeinstallprompt(){return this[V].get(`onbeforeinstallprompt`)??null}set onbeforeinstallprompt(e){this[V].set(`onbeforeinstallprompt`,e)}get onabort(){return this[V].get(`onabort`)??null}set onabort(e){this[V].set(`onabort`,e)}get onbeforeinput(){return this[V].get(`onbeforeinput`)??null}set onbeforeinput(e){this[V].set(`onbeforeinput`,e)}get onbeforematch(){return this[V].get(`onbeforematch`)??null}set onbeforematch(e){this[V].set(`onbeforematch`,e)}get onbeforetoggle(){return this[V].get(`onbeforetoggle`)??null}set onbeforetoggle(e){this[V].set(`onbeforetoggle`,e)}get onblur(){return this[V].get(`onblur`)??null}set onblur(e){this[V].set(`onblur`,e)}get oncancel(){return this[V].get(`oncancel`)??null}set oncancel(e){this[V].set(`oncancel`,e)}get oncanplay(){return this[V].get(`oncanplay`)??null}set oncanplay(e){this[V].set(`oncanplay`,e)}get oncanplaythrough(){return this[V].get(`oncanplaythrough`)??null}set oncanplaythrough(e){this[V].set(`oncanplaythrough`,e)}get onchange(){return this[V].get(`onchange`)??null}set onchange(e){this[V].set(`onchange`,e)}get onclick(){return this[V].get(`onclick`)??null}set onclick(e){this[V].set(`onclick`,e)}get onclose(){return this[V].get(`onclose`)??null}set onclose(e){this[V].set(`onclose`,e)}get oncommand(){return this[V].get(`oncommand`)??null}set oncommand(e){this[V].set(`oncommand`,e)}get oncontentvisibilityautostatechange(){return this[V].get(`oncontentvisibilityautostatechange`)??null}set oncontentvisibilityautostatechange(e){this[V].set(`oncontentvisibilityautostatechange`,e)}get oncontextlost(){return this[V].get(`oncontextlost`)??null}set oncontextlost(e){this[V].set(`oncontextlost`,e)}get oncontextmenu(){return this[V].get(`oncontextmenu`)??null}set oncontextmenu(e){this[V].set(`oncontextmenu`,e)}get oncontextrestored(){return this[V].get(`oncontextrestored`)??null}set oncontextrestored(e){this[V].set(`oncontextrestored`,e)}get oncuechange(){return this[V].get(`oncuechange`)??null}set oncuechange(e){this[V].set(`oncuechange`,e)}get ondblclick(){return this[V].get(`ondblclick`)??null}set ondblclick(e){this[V].set(`ondblclick`,e)}get ondrag(){return this[V].get(`ondrag`)??null}set ondrag(e){this[V].set(`ondrag`,e)}get ondragend(){return this[V].get(`ondragend`)??null}set ondragend(e){this[V].set(`ondragend`,e)}get ondragenter(){return this[V].get(`ondragenter`)??null}set ondragenter(e){this[V].set(`ondragenter`,e)}get ondragleave(){return this[V].get(`ondragleave`)??null}set ondragleave(e){this[V].set(`ondragleave`,e)}get ondragover(){return this[V].get(`ondragover`)??null}set ondragover(e){this[V].set(`ondragover`,e)}get ondragstart(){return this[V].get(`ondragstart`)??null}set ondragstart(e){this[V].set(`ondragstart`,e)}get ondrop(){return this[V].get(`ondrop`)??null}set ondrop(e){this[V].set(`ondrop`,e)}get ondurationchange(){return this[V].get(`ondurationchange`)??null}set ondurationchange(e){this[V].set(`ondurationchange`,e)}get onemptied(){return this[V].get(`onemptied`)??null}set onemptied(e){this[V].set(`onemptied`,e)}get onended(){return this[V].get(`onended`)??null}set onended(e){this[V].set(`onended`,e)}get onerror(){return this[V].get(`onerror`)??null}set onerror(e){this[V].set(`onerror`,e)}get onfocus(){return this[V].get(`onfocus`)??null}set onfocus(e){this[V].set(`onfocus`,e)}get onformdata(){return this[V].get(`onformdata`)??null}set onformdata(e){this[V].set(`onformdata`,e)}get oninput(){return this[V].get(`oninput`)??null}set oninput(e){this[V].set(`oninput`,e)}get oninvalid(){return this[V].get(`oninvalid`)??null}set oninvalid(e){this[V].set(`oninvalid`,e)}get onkeydown(){return this[V].get(`onkeydown`)??null}set onkeydown(e){this[V].set(`onkeydown`,e)}get onkeypress(){return this[V].get(`onkeypress`)??null}set onkeypress(e){this[V].set(`onkeypress`,e)}get onkeyup(){return this[V].get(`onkeyup`)??null}set onkeyup(e){this[V].set(`onkeyup`,e)}get onload(){return this[V].get(`onload`)??null}set onload(e){this[V].set(`onload`,e)}get onloadeddata(){return this[V].get(`onloadeddata`)??null}set onloadeddata(e){this[V].set(`onloadeddata`,e)}get onloadedmetadata(){return this[V].get(`onloadedmetadata`)??null}set onloadedmetadata(e){this[V].set(`onloadedmetadata`,e)}get onloadstart(){return this[V].get(`onloadstart`)??null}set onloadstart(e){this[V].set(`onloadstart`,e)}get onmousedown(){return this[V].get(`onmousedown`)??null}set onmousedown(e){this[V].set(`onmousedown`,e)}get onmouseenter(){return this[V].get(`onmouseenter`)??null}set onmouseenter(e){this[V].set(`onmouseenter`,e)}get onmouseleave(){return this[V].get(`onmouseleave`)??null}set onmouseleave(e){this[V].set(`onmouseleave`,e)}get onmousemove(){return this[V].get(`onmousemove`)??null}set onmousemove(e){this[V].set(`onmousemove`,e)}get onmouseout(){return this[V].get(`onmouseout`)??null}set onmouseout(e){this[V].set(`onmouseout`,e)}get onmouseover(){return this[V].get(`onmouseover`)??null}set onmouseover(e){this[V].set(`onmouseover`,e)}get onmouseup(){return this[V].get(`onmouseup`)??null}set onmouseup(e){this[V].set(`onmouseup`,e)}get onmousewheel(){return this[V].get(`onmousewheel`)??null}set onmousewheel(e){this[V].set(`onmousewheel`,e)}get onpause(){return this[V].get(`onpause`)??null}set onpause(e){this[V].set(`onpause`,e)}get onplay(){return this[V].get(`onplay`)??null}set onplay(e){this[V].set(`onplay`,e)}get onplaying(){return this[V].get(`onplaying`)??null}set onplaying(e){this[V].set(`onplaying`,e)}get onprogress(){return this[V].get(`onprogress`)??null}set onprogress(e){this[V].set(`onprogress`,e)}get onratechange(){return this[V].get(`onratechange`)??null}set onratechange(e){this[V].set(`onratechange`,e)}get onreset(){return this[V].get(`onreset`)??null}set onreset(e){this[V].set(`onreset`,e)}get onresize(){return this[V].get(`onresize`)??null}set onresize(e){this[V].set(`onresize`,e)}get onscroll(){return this[V].get(`onscroll`)??null}set onscroll(e){this[V].set(`onscroll`,e)}get onscrollend(){return this[V].get(`onscrollend`)??null}set onscrollend(e){this[V].set(`onscrollend`,e)}get onsecuritypolicyviolation(){return this[V].get(`onsecuritypolicyviolation`)??null}set onsecuritypolicyviolation(e){this[V].set(`onsecuritypolicyviolation`,e)}get onseeked(){return this[V].get(`onseeked`)??null}set onseeked(e){this[V].set(`onseeked`,e)}get onseeking(){return this[V].get(`onseeking`)??null}set onseeking(e){this[V].set(`onseeking`,e)}get onselect(){return this[V].get(`onselect`)??null}set onselect(e){this[V].set(`onselect`,e)}get onslotchange(){return this[V].get(`onslotchange`)??null}set onslotchange(e){this[V].set(`onslotchange`,e)}get onstalled(){return this[V].get(`onstalled`)??null}set onstalled(e){this[V].set(`onstalled`,e)}get onsubmit(){return this[V].get(`onsubmit`)??null}set onsubmit(e){this[V].set(`onsubmit`,e)}get onsuspend(){return this[V].get(`onsuspend`)??null}set onsuspend(e){this[V].set(`onsuspend`,e)}get ontimeupdate(){return this[V].get(`ontimeupdate`)??null}set ontimeupdate(e){this[V].set(`ontimeupdate`,e)}get ontoggle(){return this[V].get(`ontoggle`)??null}set ontoggle(e){this[V].set(`ontoggle`,e)}get onvolumechange(){return this[V].get(`onvolumechange`)??null}set onvolumechange(e){this[V].set(`onvolumechange`,e)}get onwaiting(){return this[V].get(`onwaiting`)??null}set onwaiting(e){this[V].set(`onwaiting`,e)}get onwebkitanimationend(){return this[V].get(`onwebkitanimationend`)??null}set onwebkitanimationend(e){this[V].set(`onwebkitanimationend`,e)}get onwebkitanimationiteration(){return this[V].get(`onwebkitanimationiteration`)??null}set onwebkitanimationiteration(e){this[V].set(`onwebkitanimationiteration`,e)}get onwebkitanimationstart(){return this[V].get(`onwebkitanimationstart`)??null}set onwebkitanimationstart(e){this[V].set(`onwebkitanimationstart`,e)}get onwebkittransitionend(){return this[V].get(`onwebkittransitionend`)??null}set onwebkittransitionend(e){this[V].set(`onwebkittransitionend`,e)}get onwheel(){return this[V].get(`onwheel`)??null}set onwheel(e){this[V].set(`onwheel`,e)}get onauxclick(){return this[V].get(`onauxclick`)??null}set onauxclick(e){this[V].set(`onauxclick`,e)}get ongotpointercapture(){return this[V].get(`ongotpointercapture`)??null}set ongotpointercapture(e){this[V].set(`ongotpointercapture`,e)}get onlostpointercapture(){return this[V].get(`onlostpointercapture`)??null}set onlostpointercapture(e){this[V].set(`onlostpointercapture`,e)}get onpointerdown(){return this[V].get(`onpointerdown`)??null}set onpointerdown(e){this[V].set(`onpointerdown`,e)}get onpointermove(){return this[V].get(`onpointermove`)??null}set onpointermove(e){this[V].set(`onpointermove`,e)}get onpointerup(){return this[V].get(`onpointerup`)??null}set onpointerup(e){this[V].set(`onpointerup`,e)}get onpointercancel(){return this[V].get(`onpointercancel`)??null}set onpointercancel(e){this[V].set(`onpointercancel`,e)}get onpointerover(){return this[V].get(`onpointerover`)??null}set onpointerover(e){this[V].set(`onpointerover`,e)}get onpointerout(){return this[V].get(`onpointerout`)??null}set onpointerout(e){this[V].set(`onpointerout`,e)}get onpointerenter(){return this[V].get(`onpointerenter`)??null}set onpointerenter(e){this[V].set(`onpointerenter`,e)}get onpointerleave(){return this[V].get(`onpointerleave`)??null}set onpointerleave(e){this[V].set(`onpointerleave`,e)}get onselectstart(){return this[V].get(`onselectstart`)??null}set onselectstart(e){this[V].set(`onselectstart`,e)}get onselectionchange(){return this[V].get(`onselectionchange`)??null}set onselectionchange(e){this[V].set(`onselectionchange`,e)}get onanimationcancel(){return this[V].get(`onanimationcancel`)??null}set onanimationcancel(e){this[V].set(`onanimationcancel`,e)}get onanimationend(){return this[V].get(`onanimationend`)??null}set onanimationend(e){this[V].set(`onanimationend`,e)}get onanimationiteration(){return this[V].get(`onanimationiteration`)??null}set onanimationiteration(e){this[V].set(`onanimationiteration`,e)}get onanimationstart(){return this[V].get(`onanimationstart`)??null}set onanimationstart(e){this[V].set(`onanimationstart`,e)}get ontransitionrun(){return this[V].get(`ontransitionrun`)??null}set ontransitionrun(e){this[V].set(`ontransitionrun`,e)}get ontransitionstart(){return this[V].get(`ontransitionstart`)??null}set ontransitionstart(e){this[V].set(`ontransitionstart`,e)}get ontransitionend(){return this[V].get(`ontransitionend`)??null}set ontransitionend(e){this[V].set(`ontransitionend`,e)}get ontransitioncancel(){return this[V].get(`ontransitioncancel`)??null}set ontransitioncancel(e){this[V].set(`ontransitioncancel`,e)}get onbeforexrselect(){return this[V].get(`onbeforexrselect`)??null}set onbeforexrselect(e){this[V].set(`onbeforexrselect`,e)}get onafterprint(){return this[V].get(`onafterprint`)??null}set onafterprint(e){this[V].set(`onafterprint`,e)}get onbeforeprint(){return this[V].get(`onbeforeprint`)??null}set onbeforeprint(e){this[V].set(`onbeforeprint`,e)}get onbeforeunload(){return this[V].get(`onbeforeunload`)??null}set onbeforeunload(e){this[V].set(`onbeforeunload`,e)}get onhashchange(){return this[V].get(`onhashchange`)??null}set onhashchange(e){this[V].set(`onhashchange`,e)}get onlanguagechange(){return this[V].get(`onlanguagechange`)??null}set onlanguagechange(e){this[V].set(`onlanguagechange`,e)}get onmessage(){return this[V].get(`onmessage`)??null}set onmessage(e){this[V].set(`onmessage`,e)}get onmessageerror(){return this[V].get(`onmessageerror`)??null}set onmessageerror(e){this[V].set(`onmessageerror`,e)}get onoffline(){return this[V].get(`onoffline`)??null}set onoffline(e){this[V].set(`onoffline`,e)}get ononline(){return this[V].get(`ononline`)??null}set ononline(e){this[V].set(`ononline`,e)}get onpagehide(){return this[V].get(`onpagehide`)??null}set onpagehide(e){this[V].set(`onpagehide`,e)}get onpageshow(){return this[V].get(`onpageshow`)??null}set onpageshow(e){this[V].set(`onpageshow`,e)}get onpopstate(){return this[V].get(`onpopstate`)??null}set onpopstate(e){this[V].set(`onpopstate`,e)}get onrejectionhandled(){return this[V].get(`onrejectionhandled`)??null}set onrejectionhandled(e){this[V].set(`onrejectionhandled`,e)}get onstorage(){return this[V].get(`onstorage`)??null}set onstorage(e){this[V].set(`onstorage`,e)}get onunhandledrejection(){return this[V].get(`onunhandledrejection`)??null}set onunhandledrejection(e){this[V].set(`onunhandledrejection`,e)}get onunload(){return this[V].get(`onunload`)??null}set onunload(e){this[V].set(`onunload`,e)}get ondevicemotion(){return this[V].get(`ondevicemotion`)??null}set ondevicemotion(e){this[V].set(`ondevicemotion`,e)}get ondeviceorientation(){return this[V].get(`ondeviceorientation`)??null}set ondeviceorientation(e){this[V].set(`ondeviceorientation`,e)}get ondeviceorientationabsolute(){return this[V].get(`ondeviceorientationabsolute`)??null}set ondeviceorientationabsolute(e){this[V].set(`ondeviceorientationabsolute`,e)}get onpointerrawupdate(){return this[V].get(`onpointerrawupdate`)??null}set onpointerrawupdate(e){this[V].set(`onpointerrawupdate`,e)}get onpageswap(){return this[V].get(`onpageswap`)??null}set onpageswap(e){this[V].set(`onpageswap`,e)}get onpagereveal(){return this[V].get(`onpagereveal`)??null}set onpagereveal(e){this[V].set(`onpagereveal`,e)}get onscrollsnapchange(){return this[V].get(`onscrollsnapchange`)??null}set onscrollsnapchange(e){this[V].set(`onscrollsnapchange`,e)}get onscrollsnapchanging(){return this[V].get(`onscrollsnapchanging`)??null}set onscrollsnapchanging(e){this[V].set(`onscrollsnapchanging`,e)}get ongamepadconnected(){return this[V].get(`ongamepadconnected`)??null}set ongamepadconnected(e){this[V].set(`ongamepadconnected`,e)}get ongamepaddisconnected(){return this[V].get(`ongamepaddisconnected`)??null}set ongamepaddisconnected(e){this[V].set(`ongamepaddisconnected`,e)}get self(){return this[ur]}set self(e){this[ur]=e}get top(){return this[fr]}get parent(){return this[dr]}set parent(e){this[dr]=e}get frames(){return this[es]}set frames(e){this[dr]=e}get location(){return this[En]}set location(e){this[En].href=e}get history(){return this[Dn]}get navigator(){return this[On]}get screen(){return this[kn]}get sessionStorage(){return this[An]}get localStorage(){return this[jn]}get opener(){return this.#e[bt]}get scrollX(){return this.document?.documentElement?.scrollLeft??0}get pageXOffset(){return this.scrollX}get scrollY(){return this.document?.documentElement?.scrollTop??0}get pageYOffset(){return this.scrollY}get CSS(){return new Ws}get innerWidth(){return this.#t===null?this.#e.page.viewport.width:this.#t}set innerWidth(e){this.#t=e}get innerHeight(){return this.#n===null?this.#e.page.viewport.height:this.#n}set innerHeight(e){this.#n=e}get outerWidth(){return this.#r===null?this.#e.page.viewport.width:this.#r}set outerWidth(e){this.#r=e}get outerHeight(){return this.#i===null?this.#e.page.viewport.height:this.#i}set outerHeight(e){this.#i=e}get devicePixelRatio(){return this.#a===null?this.#e.page.viewport.devicePixelRatio:this.#a}set devicePixelRatio(e){this.#a=e}getComputedStyle(e){return e[er]=e[er]||new yl(N,this,{element:e,computed:!0}),e[er]}getSelection(){return this.document.getSelection()}scroll(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this.TypeError(`Failed to execute 'scroll' on 'Window': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};if(n.behavior===`smooth`)this.setTimeout(()=>{if(n.top!==void 0){let e=Number(n.top);this.document.documentElement.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.document.documentElement.scrollLeft=isNaN(e)?0:e}});else{if(n.top!==void 0){let e=Number(n.top);this.document.documentElement.scrollTop=isNaN(e)?0:e}if(n.left!==void 0){let e=Number(n.left);this.document.documentElement.scrollLeft=isNaN(e)?0:e}}}scrollTo(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this.TypeError(`Failed to execute 'scrollTo' on 'Window': The provided value is not of type 'ScrollToOptions'.`);this.scroll(e,t)}scrollBy(e,t){if(typeof e!=`object`&&arguments.length===1)throw new this.TypeError(`Failed to execute 'scrollBy' on 'Window': The provided value is not of type 'ScrollToOptions'.`);let n=typeof e==`object`?e:{left:e,top:t};this.scroll({left:this.document.documentElement.scrollLeft+(n.left??0),top:this.document.documentElement.scrollTop+(n.top??0),behavior:n.behavior})}blur(){}focus(){}open(e,t,n){return Fh.openPage(this.#e,{url:e,target:t,features:n})}close(){this.#e.page.mainFrame===this.#e&&this.#e[bt]&&(this[Me](),this.#e.page.close())}matchMedia(e){return new dl({window:this,media:e})}getScreenDetails(){return Promise.resolve(new xh)}setTimeout(e,t=0,...n){if(this.closed)return{};let r=this.#e.page.context.browser.settings;if(r.timer.preventTimerLoops){let e=Error().stack,t=this.#s,n=this.#c,i=t.indexOf(e);if(i!==-1){if(n[i].timeout++,n[i].timeout>=(r.timer.preventTimerLoops===!0?1:r.timer.preventTimerLoops.timeout??1))return{}}else t.push(e),n.push({timeout:0,requestAnimationFrame:0})}if(!t){let t=this.#o;if(!t.timeouts){let e=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch,n=yy.setTimeout(()=>{this.#e[fe].endTimer(n);let r=t.timeouts;t.timeouts=null;for(let t of r)if(e){let e;try{e=t.callback()}catch(e){this[zo](e)}e instanceof Promise&&e.catch(e=>this[zo](e))}else t.callback()},0);t.timeouts=[],this.#e[fe].startTimer(n)}let i=new wy(()=>e(...n));return t.timeouts.push(i),i}let i=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch,a=yy.setTimeout(()=>{if(this.#e[fe].endTimer(a),i){let t;try{t=e(...n)}catch(e){this[zo](e)}t instanceof Promise&&t.catch(e=>this[zo](e))}else e(...n)},r?.timer.maxTimeout!==-1&&t&&t>r?.timer.maxTimeout?r?.timer.maxTimeout:t);return this.#e[fe].startTimer(a),a}clearTimeout(e){if(e&&e instanceof wy){let t=this.#o;if(!t.timeouts)return;let n=t.timeouts.indexOf(e);n!==-1&&t.timeouts.splice(n,1);return}by&&(!e||e.constructor.name!==`Timeout`)||(yy.clearTimeout(e),this.#e[fe].endTimer(e))}setInterval(e,t=0,...n){if(this.closed)return{};let r=this.#e.page.context.browser.settings,i=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch,a=0,o=yy.setInterval(()=>{if(i){let t;try{t=e(...n)}catch(e){this.clearInterval(o),this[zo](e)}t instanceof Promise&&t.catch(e=>{this.clearInterval(o),this[zo](e)})}else e(...n);r?.timer.maxIntervalIterations!==-1&&(a>=r?.timer.maxIntervalIterations&&this.clearInterval(o),a++)},r?.timer.maxIntervalTime!==-1&&t&&t>r?.timer.maxIntervalTime?r?.timer.maxIntervalTime:t);return this.#e[fe].startTimer(o),o}clearInterval(e){by&&(!e||e.constructor.name!==`Timeout`)||(yy.clearInterval(e),this.#e[fe].endTimer(e))}requestAnimationFrame(e){if(this.closed)return{};let t=this.#e.page.context.browser.settings;if(t.timer.preventTimerLoops){let e=Error().stack,n=this.#s,r=this.#c,i=n.indexOf(e);if(i!==-1){if(r[i].requestAnimationFrame++,r[i].requestAnimationFrame>=(t.timer.preventTimerLoops===!0?1:t.timer.preventTimerLoops.requestAnimationFrame??1))return{}}else n.push(e),r.push({timeout:0,requestAnimationFrame:0})}let n=!t||!t.disableErrorCapturing&&t.errorCapture===Ls.tryAndCatch,r=yy.setImmediate(()=>{if(this.#e[fe].endImmediate(r),n){let t;try{t=e(this.performance.now())}catch(e){this[zo](e)}t instanceof Promise&&t.catch(e=>this[zo](e))}else e(this.performance.now())});return this.#e[fe].startImmediate(r),r}cancelAnimationFrame(e){by&&(!e||e.constructor.name!==`Immediate`)||(yy.clearImmediate(e),this.#e[fe].endImmediate(e))}queueMicrotask(e){if(this.closed)return;let t=!1,n=this.#e[fe].startTask(()=>t=!0),r=this.#e.page.context.browser.settings,i=!r||!r.disableErrorCapturing&&r.errorCapture===Ls.tryAndCatch;yy.queueMicrotask(()=>{if(!t)if(this.#e[fe].endTask(n),i){let t;try{t=e()}catch(e){this[zo](e)}t instanceof Promise&&t.catch(e=>this[zo](e))}else e()})}async fetch(e,t){return this.closed?Promise.reject(new this.DOMException(`Failed to execute 'fetch' on 'Window': The window is closed.`,H.invalidStateError)):await new qu({browserFrame:this.#e,window:this,url:e,init:t}).send()}btoa(e){return Fs.btoa(e)}atob(e){return Fs.atob(e)}postMessage(e,t=`*`,n){if(!this.closed){if(t&&t!==`*`&&this.location.origin!==t)throw new this.DOMException(`Failed to execute 'postMessage' on 'Window': The target origin provided ('${t}') does not match the recipient window\'s origin ('${this.location.origin}').`,H.securityError);try{JSON.stringify(e)}catch{throw new this.DOMException(`Failed to execute 'postMessage' on 'Window': The provided message cannot be serialized.`,H.invalidStateError)}this.setTimeout(()=>this.dispatchEvent(new ou(`message`,{data:e,origin:this.#e.parentFrame?this.#e.parentFrame.window.location.origin:this.#e.window.location.origin,source:this.#e.parentFrame?this.#e.parentFrame.window:this.#e.window,lastEventId:``})))}}resizeTo(e,t){if(!this.closed){if(!e||!t)throw new this.DOMException(`Failed to execute 'resizeTo' on 'Window': 2 arguments required, but only ${arguments.length} present.`);this.#e[St]&&this.#e.page.setViewport({width:e,height:t})}}resizeBy(e,t){if(!this.closed){if(!e||!t)throw new this.DOMException(`Failed to execute 'resizeBy' on 'Window': 2 arguments required, but only ${arguments.length} present.`);if(this.#e[St]){let n=this.#e.page.viewport;this.#e.page.setViewport({width:n.width+e,height:n.height+t})}}}async createImageBitmap(e,t,n,r,i,a){return new vy(N,this,e,t,n,r,i,a)}[zo](e){this.#e.page.console.error(e),this.dispatchEvent(new tu(`error`,{message:e.message,error:e}))}[Fe](e,t){return new ce.Script(e,t).runInContext(this)}[ct](){ce.isContext(this)||(ce.createContext(this),Ph.runInContext(this))}[ns](){let e=this.#e;(xy||Sy)&&e.page.context.browser.settings.enableJavaScriptEvaluation&&!e.page.context.browser.settings.suppressInsecureJavaScriptEnvironmentWarning&&!e.page.context.browser.settings.suppressCodeGenerationFromStringsWarning&&console.warn(`
|
|
186
|
-
Warning! Happy DOM has JavaScript evaluation enabled and is running in an insecure environment.
|
|
187
|
-
|
|
188
|
-
A VM Context is not an isolated environment, and if you run untrusted code you are at risk of RCE (Remote Code Execution) attacks. The attacker can escape the VM and run code at process level.
|
|
189
|
-
|
|
190
|
-
It is recommended to disable code generation and freeze all builtins at process level by running node with the flags "--disallow-code-generation-from-strings" and "--frozen-intrinsics". You can suppress this warning by setting "suppressInsecureJavaScriptEnvironmentWarning" to "true" at your own risk.
|
|
191
|
-
|
|
192
|
-
For more information, see https://github.com/capricorn86/happy-dom/wiki/JavaScript-Evaluation-Warning
|
|
193
|
-
|
|
194
|
-
`)}[Me](){if(this.closed)return;super[Me](),this.closed=!0;let e=this[vt];for(let t of e)t[Me]&&t[Me]();this[vt]=[];for(let e of this[rs])e[Me]();this[rs]=[],this.document[Me]();let t=this.document.createElement(`html`),n=this.document.createElement(`head`),r=this.document.createElement(`body`);t.appendChild(n),t.appendChild(r),this.document[Pn](t),this.location[Me]&&this.location[Me](),this.customElements[Me]&&this.customElements[Me](),this.history[Me]&&this.history[Me](),this[ss].clear(),this[ko].json.clear(),this[ko].css.clear(),this[ko].esm.clear(),this.document[Ao].clear(),this.document[de]=null,this.document[Je]=null,this.document[Oe]=null,this.document[st]=null,this[dr]=null,this[fr]=null,Y.removeWindowBrowserFrameRelation(this)}[wo](){for(let t of[e,nl]){let e=Object.getOwnPropertyDescriptors(t.prototype),n=Object.keys(e);for(let t of n){let n=e[t];n.get||n.set?Object.defineProperty(this,t,{...n,get:n.get?.bind(this),set:n.set?.bind(this)}):t!==`constructor`&&typeof n.value==`function`&&!n.value.toString().startsWith(`class `)&&Object.defineProperty(this,t,{...n,value:n.value.bind(this)})}}}},Ey=class{static evaluate(e,t){if(!e.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);return t=typeof t==`string`?new le(t):t,t.runInContext(e.window)}static async evaluateModule(e,t){if(!e.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);let n=e.window;if(t?.code){let e=t.url?new URL(t.url,n.location.href):n.location,r=t.code;switch(t?.type||`esm`){case`esm`:return await new bm({window:n,url:e,source:r,factory:new xm(n,e)}).evaluate();case`json`:return await new rm({window:n,url:e,source:r}).evaluate();case`css`:return await new nm({window:n,url:e,source:r}).evaluate()}}return t?.url?await(await new xm(n,n.location).getModule(t.url,{with:{type:t.type||`esm`}})).evaluate():{}}},Dy=class{currentItem={title:``,href:`about:blank`,state:null,popState:!1,scrollRestoration:Yu.auto,method:`GET`,formData:null};items=[this.currentItem];push(e){let t=this.items.indexOf(this.currentItem);t!==this.items.length-1&&(this.items.length=t+1),this.items.push(e),this.currentItem=e}replace(e){let t=this.items.indexOf(this.currentItem);if(t!==this.items.length-1&&(this.items.length=t+1),t===-1)throw Error(`Current history item not found`);this.currentItem=e,this.items[t]=e}clear(){this.items.length=0,this.currentItem={title:``,href:`about:blank`,state:null,popState:!1,scrollRestoration:Yu.auto,method:`GET`,formData:null},this.items.push(this.currentItem)}},Oy=class{#e;#t={};#n={};#r=0;#i=[];constructor(e){this.#e=e}assert(e,t,...n){e||this.#e.print({type:Os.assert,level:Cs.error,message:[`Assertion failed:`,...t?[t,...n]:n],group:this.#i[this.#i.length-1]||null})}clear(){this.#e.clear()}count(e=`default`){this.#t[e]||(this.#t[e]=0),this.#t[e]++,this.#e.print({type:Os.count,level:Cs.info,message:[`${e}: ${this.#t[e]}`],group:this.#i[this.#i.length-1]||null})}countReset(e=`default`){delete this.#t[e],this.#e.print({type:Os.countReset,level:Cs.warn,message:[`${e}: 0`],group:this.#i[this.#i.length-1]||null})}debug(e,...t){this.#e.print({type:Os.debug,level:Cs.log,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}dir(e){this.#e.print({type:Os.dir,level:Cs.log,message:[e],group:this.#i[this.#i.length-1]||null})}dirxml(e){this.#e.print({type:Os.dirxml,level:Cs.log,message:[e],group:this.#i[this.#i.length-1]||null})}error(e,...t){this.#e.print({type:Os.error,level:Cs.error,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}exception(...e){this.error(...e)}group(e){this.#r++;let t={id:this.#r,label:e||`default`,collapsed:!1,parent:this.#i[this.#i.length-1]||null};this.#i.push(t),this.#e.print({type:Os.group,level:Cs.log,message:[e||`default`],group:t})}groupCollapsed(e){this.#r++;let t={id:this.#r,label:e||`default`,collapsed:!0,parent:this.#i[this.#i.length-1]||null};this.#i.push(t),this.#e.print({type:Os.groupCollapsed,level:Cs.log,message:[e||`default`],group:t})}groupEnd(){this.#i.length!==0&&this.#i.pop()}info(e,...t){this.#e.print({type:Os.info,level:Cs.info,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}log(e,...t){this.#e.print({type:Os.log,level:Cs.log,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}profile(){throw Error(`Method not implemented.`)}profileEnd(){throw Error(`Method not implemented.`)}table(e){this.#e.print({type:Os.table,level:Cs.log,message:[e],group:this.#i[this.#i.length-1]||null})}time(e=`default`){this.#n[e]=performance.now()}timeEnd(e=`default`){let t=this.#n[e];if(t){let n=performance.now()-t;this.#e.print({type:Os.timeEnd,level:Cs.info,message:[`${e}: ${n}ms - timer ended`],group:this.#i[this.#i.length-1]||null})}}timeLog(e=`default`,...t){let n=this.#n[e];if(n){let r=performance.now()-n;this.#e.print({type:Os.timeLog,level:Cs.info,message:[`${e}: ${r}ms`,...t],group:this.#i[this.#i.length-1]||null})}}timeStamp(){throw Error(`Method not implemented.`)}trace(e,...t){this.#e.print({type:Os.trace,level:Cs.log,message:[...e?[e,...t]:t,Error(`stack`).stack.replace(`Error: stack`,``)],group:this.#i[this.#i.length-1]||null})}warn(e,...t){this.#e.print({type:Os.warn,level:Cs.warn,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}},ky=class{static getFrames(e){return this.findFrames(e.mainFrame)}static closePage(e){if(e.closed)return Promise.resolve();e.closed=!0;let t=e.context.pages.indexOf(e);return t!==-1&&e.context.pages.splice(t,1),e.virtualConsolePrinter.close(),lp.destroyFrame(e.mainFrame)}static findFrames(e){let t=[e];for(let n of e.childFrames)t=t.concat(this.findFrames(n));return t}},Ay=class{#e=new Map;get(e){let t=this.#e.get(e.url);return t?t.expires<Date.now()?(this.#e.delete(e.url),null):t:null}add(e,t){if(this.#e.delete(e.url),e.headers.get(`Cache-Control`)?.includes(`no-cache`)||t.status<200||t.status>=300)return null;let n=t.headers.get(`Access-Control-Max-Age`),r=t.headers.get(`Access-Control-Allow-Origin`);if(!n||!r)return null;let i=[];if(t.headers.has(`Access-Control-Allow-Methods`)&&t.headers.get(`Access-Control-Allow-Methods`)!==`*`)for(let e of t.headers.get(`Access-Control-Allow-Methods`).split(`,`))i.push(e.trim().toUpperCase());let a={allowOrigin:r,allowMethods:i,expires:Date.now()+parseInt(n)*1e3};return isNaN(a.expires)||a.expires<Date.now()?null:(this.#e.set(e.url,a),a)}clear(){this.#e.clear()}},jy={disableJavaScriptEvaluation:!1,enableJavaScriptEvaluation:!1,disableJavaScriptFileLoading:!1,disableCSSFileLoading:!1,enableImageFileLoading:!1,disableIframePageLoading:!1,disableComputedStyleRendering:!1,handleDisabledFileLoadingAsSuccess:!1,disableErrorCapturing:!1,errorCapture:Ls.tryAndCatch,enableFileSystemHttpRequests:!1,suppressCodeGenerationFromStringsWarning:!1,suppressInsecureJavaScriptEnvironmentWarning:!1,timer:{maxTimeout:-1,maxIntervalTime:-1,maxIntervalIterations:-1,preventTimerLoops:!1},fetch:{disableSameOriginPolicy:!1,disableStrictSSL:!1,interceptor:null,requestHeaders:null,virtualServers:null},module:{resolveNodeModules:null,urlResolver:null,disableCache:!1},navigation:{disableMainFrameNavigation:!1,disableChildFrameNavigation:!1,disableChildPageNavigation:!1,disableFallbackToSetURL:!1,crossOriginPolicy:dp.anyOrigin,beforeContentCallback:null},navigator:{userAgent:`Mozilla/5.0 (X11; ${process.platform.charAt(0).toUpperCase()+process.platform.slice(1)+` `+process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/${{version:`20.10.6`}.version}`,maxTouchPoints:0},device:{prefersColorScheme:`light`,prefersReducedMotion:`no-preference`,mediaType:`screen`,forcedColors:`none`},debug:{traceWaitUntilComplete:-1},viewport:{width:1024,height:768,devicePixelRatio:1},canvasAdapter:null},My=class{static createSettings(e){return e&&this.validate(jy,e),{...jy,...e,navigation:{...jy.navigation,...e?.navigation},navigator:{...jy.navigator,...e?.navigator},timer:{...jy.timer,...e?.timer},fetch:{...jy.fetch,...e?.fetch},module:{...jy.module,...e?.module},device:{...jy.device,...e?.device},debug:{...jy.debug,...e?.debug},viewport:{...jy.viewport,...e?.viewport},canvasAdapter:e?.canvasAdapter??jy.canvasAdapter}}static validate(e,t,n){for(let r of Object.keys(t)){if(e[r]===void 0){let e=n?n+`.`+r:r;throw Error(`Unknown browser setting "${e}"`)}if(typeof e[r]==`object`&&!Array.isArray(e[r])&&e[r]!==null){let i=n?n+`.`+r:r;if(typeof t[r]!=`object`||Array.isArray(t[r])||t[r]===null)throw Error(`Browser setting "${i}" cannot be null`);this.validate(e[r],t[r],i)}else if((typeof e[r]==`boolean`||typeof e[r]==`number`||typeof e[r]==`string`)&&typeof t[r]!=typeof e[r]&&!(r===`preventTimerLoops`&&typeof t[r]==`object`&&t[r]!==null)){let t=n?n+`.`+r:r;throw Error(`Browser setting "${t}" must be of type "${typeof e[r]}"`)}}}},Ny=class{static listenerCount=0;observedWindows=[];uncaughtExceptionListener=null;uncaughtRejectionListener=null;observe(e){if(this.observedWindows.includes(e))throw Error(`Browser window is already being observed.`);this.observedWindows.push(e),!this.uncaughtExceptionListener&&(this.uncaughtExceptionListener=(e,t)=>{if(t===`unhandledRejection`)return;let n=null;for(let t of this.observedWindows)if(e instanceof t.Error||e instanceof t.DOMException){n=t;break}n?(n.console.error(e),n.dispatchEvent(new n.ErrorEvent(`error`,{error:e,message:e.message}))):process.listenerCount(`uncaughtException`)===this.constructor.listenerCount&&(console.error(e),process.exit(1))},this.uncaughtRejectionListener=e=>{let t=null;for(let n of this.observedWindows)if(e instanceof n.Error||e instanceof n.DOMException){t=n;break}t?(t.console.error(e),t.dispatchEvent(new t.ErrorEvent(`error`,{error:e,message:e.message}))):process.listenerCount(`unhandledRejection`)===this.constructor.listenerCount&&(console.error(e),process.exit(1))},this.constructor.listenerCount++,process.on(`uncaughtException`,this.uncaughtExceptionListener),process.on(`unhandledRejection`,this.uncaughtRejectionListener))}disconnect(e){let t=this.observedWindows.indexOf(e);t!==-1&&(this.observedWindows.splice(t,1),this.observedWindows.length===0&&this.uncaughtExceptionListener&&(this.constructor.listenerCount--,process.off(`uncaughtException`,this.uncaughtExceptionListener),this.uncaughtRejectionListener&&process.off(`unhandledRejection`,this.uncaughtRejectionListener),this.uncaughtExceptionListener=null,this.uncaughtRejectionListener=null))}},Py=class{childFrames=[];parentFrame=null;page;closed=!1;[fe]=new Ns(this);[Ke]={navigation:[]};[yt]=null;[bt]=null;[St]=!1;[Dn]=new Dy;constructor(e){this.page=e,e.context.browser.contexts[0]?.pages[0]?.mainFrame&&(this.window=new this.page.context.browser.windowClass(this),e.context.browser[Ie]&&e.context.browser[Ie].observe(this.window))}get content(){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);return this.window.document.documentElement.outerHTML}set content(e){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);this.window.document[Ve]=!0,this.window.document[He]=!1,this.window.document.open(),this.window.document.write(e)}get url(){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);return this.window.location.href}set url(e){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);this.window[En][Cn](this,Xu.getRelativeURL(this,e).href)}get document(){return this.window?.document??null}async waitUntilComplete(){await Promise.all([this[fe].waitUntilComplete(),...this.childFrames.map(e=>e.waitUntilComplete())])}waitForNavigation(){return new Promise(e=>this[Ke].navigation.push(e))}abort(){return this.childFrames.length?new Promise((e,t)=>{Promise.all(this.childFrames.map(e=>e.abort()).concat([this[fe].abort()])).then(()=>e()).catch(t)}):this[fe].abort()}evaluate(e){return Ey.evaluate(this,e)}evaluateModule(e){return Ey.evaluateModule(this,e)}goto(e,t){return pp.navigate({windowClass:this.page.context.browser.windowClass,frame:this,url:e,goToOptions:t})}goBack(e){return pp.navigateBack({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}goForward(e){return pp.navigateForward({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}goSteps(e,t){return pp.navigateSteps({windowClass:this.page.context.browser.windowClass,frame:this,steps:e,goToOptions:t})}reload(e){return pp.reload({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}},Fy=class{virtualConsolePrinter=new As;mainFrame;context;console;viewport;closed=!1;constructor(e){this.context=e,this.console=e.browser.console??new Oy(this.virtualConsolePrinter),this.mainFrame=new Py(this),this.viewport={width:e.browser.settings.viewport.width,height:e.browser.settings.viewport.height,devicePixelRatio:e.browser.settings.viewport.devicePixelRatio}}get frames(){return ky.getFrames(this)}get content(){return this.mainFrame.content}set content(e){this.mainFrame.content=e}get url(){return this.mainFrame.url}set url(e){this.mainFrame.url=e}close(){return new Promise((e,t)=>{let n=this.context;ky.closePage(this).then(()=>{n.pages[0]===this?n.browser.close().then(e).catch(t):e()}).catch(t)})}waitUntilComplete(){return this.mainFrame.waitUntilComplete()}waitForNavigation(){return this.mainFrame.waitForNavigation()}abort(){return this.mainFrame.abort()}evaluate(e){return this.mainFrame.evaluate(e)}evaluateModule(e){return this.mainFrame.evaluateModule(e)}setViewport(e){let t=Object.assign({},this.viewport);Object.assign(this.viewport,e),(t.width!==this.viewport.width||t.height!==this.viewport.height||t.devicePixelRatio!==this.viewport.devicePixelRatio)&&this.mainFrame.window.dispatchEvent(new W(`resize`))}goto(e,t){return this.mainFrame.goto(e,t)}goBack(e){return this.mainFrame.goBack(e)}goForward(e){return this.mainFrame.goForward(e)}goSteps(e,t){return this.mainFrame.goSteps(e,t)}reload(e){return this.mainFrame.reload(e)}},Iy=class{pages;browser;cookieContainer=new ps;responseCache=new xs;preflightResponseCache=new Ay;closed=!1;[as]=new Map;constructor(e){this.browser=e,this.pages=[],this.pages.push(new Fy(this))}async close(){if(this.closed)return;if(this.browser.contexts[0]===this)throw Error("Cannot close the default context. Use `browser.close()` to close the browser instead.");this.closed=!0,await Promise.all(this.pages.slice().map(e=>e.close()));let e=this.browser,t=e.contexts.indexOf(this);t!==-1&&e.contexts.splice(t,1),this.pages=[],this.cookieContainer.clearCookies(),this.responseCache.clear(),this.preflightResponseCache.clear()}async waitUntilComplete(){await Promise.all(this.pages.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.pages.length){e();return}Promise.all(this.pages.slice().map(e=>e.abort())).then(()=>e()).catch(e=>t(e))})}newPage(){let e=new Fy(this);return this.pages.push(e),e}},Ly=class{contexts;settings;console;windowClass;[Ie]=null;constructor(e,t){this.windowClass=e,this.console=t?.console||null,this.settings=My.createSettings(t?.settings),this.settings.errorCapture===Ls.processLevel&&(this[Ie]=new Ny),this.contexts=[],this.contexts.push(new Iy(this))}get closed(){return this.contexts.length===0}get defaultContext(){if(this.contexts.length===0)throw Error(`No default context. The browser has been closed.`);return this.contexts[0]}async close(){if(this.contexts.length===0)return;let e=this.contexts;this.contexts=[],await Promise.all(e.map(e=>e.close()))}async waitUntilComplete(){await Promise.all(this.contexts.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.contexts.length){e();return}Promise.all(this.contexts.slice().map(e=>e.abort())).then(()=>e()).catch(e=>t(e))})}newIncognitoContext(){throw Error(`Not possible to create a new context on a detached browser.`)}newPage(){if(this.contexts.length===0)throw Error(`No default context. The browser has been closed.`);return this.contexts[0].newPage()}},Ry=class{#e;constructor(e){this.#e=e}get settings(){return this.#e.page.context.browser.settings}get virtualConsolePrinter(){return this.#e.page.virtualConsolePrinter}waitUntilComplete(){return this.#e.waitUntilComplete()}whenAsyncComplete(){return this.waitUntilComplete()}abort(){return this.#e.abort()}cancelAsync(){return this.abort()}close(){return this.#e.page.close()}setURL(e){this.#e.url=e}setViewport(e){this.#e.page.setViewport(e)}setWindowSize(e){this.setViewport({width:e?.width,height:e?.height})}setInnerWidth(e){this.setViewport({width:e})}setInnerHeight(e){this.setViewport({height:e})}},zy=class extends Ty{happyDOM;constructor(e){let t=new Ly(Ty,{console:e?.console,settings:e?.settings}).defaultContext.pages[0],n=t.mainFrame;e&&(e.width||e.height||e.innerWidth||e.innerHeight)&&Object.assign(t.viewport,{width:e.width||e.innerWidth||t.viewport.width,height:e.height||e.innerHeight||t.viewport.height}),super(n,{url:e?.url}),n.window=this,n.page.context.browser[Ie]&&n.page.context.browser[Ie].observe(this),this.happyDOM=new Ry(n)}};export{zy as Window};
|
|
195
|
-
//# sourceMappingURL=lib-TLTWf9qr.mjs.map
|