@openlist-frontend/openlist-frontend 4.0.9 → 4.1.0
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/VERSION +1 -1
- package/dist/assets/{2fa-2cc2atzU.js → 2fa-QoYFzgIF.js} +1 -1
- package/dist/assets/{2fa-legacy-Bv6NDiiZ.js → 2fa-legacy-DAkfvuaM.js} +1 -1
- package/dist/assets/About-B7Kvo1aB.js +1 -0
- package/dist/assets/{About-legacy-QsfCSVxq.js → About-legacy-DVj51Yvw.js} +1 -1
- package/dist/assets/AddOrEdit-BO6ufF5N.js +1 -0
- package/dist/assets/{AddOrEdit-B2PSnD-9.js → AddOrEdit-BnhxwceZ.js} +1 -1
- package/dist/assets/{AddOrEdit-DKPH7EZ_.js → AddOrEdit-DjfJsYrk.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy-DxIDnAk7.js → AddOrEdit-legacy-Bg4C0OQU.js} +1 -1
- package/dist/assets/{AddOrEdit-legacy-COHYBFCt.js → AddOrEdit-legacy-CyctaWfp.js} +1 -1
- package/dist/assets/AddOrEdit-legacy-f8K0IUMl.js +1 -0
- package/dist/assets/Common-Dpk1gc-_.js +1 -0
- package/dist/assets/Common-legacy-BmK8ewzu.js +1 -0
- package/dist/assets/{Copy-CENvweJK.js → Copy-CqqotY0z.js} +1 -1
- package/dist/assets/{Copy-legacy-D_8otiMK.js → Copy-legacy-BruqHTeV.js} +1 -1
- package/dist/assets/Decompress-DLkWzQ3S.js +1 -0
- package/dist/assets/{Decompress-legacy-Dv_Jku2u.js → Decompress-legacy-DAB5qPVJ.js} +1 -1
- package/dist/assets/{DeletePopover-BFBUMopn.js → DeletePopover-CJe1R9Ss.js} +1 -1
- package/dist/assets/{DeletePopover-legacy-BEDnzn-m.js → DeletePopover-legacy-DXKXbGri.js} +1 -1
- package/dist/assets/{File-DOBK5V8m.js → File-Dfqdcr_u.js} +2 -2
- package/dist/assets/{File-legacy-D1ODACuv.js → File-legacy-CQVS1Vpk.js} +1 -1
- package/dist/assets/{Folder-CGWdNP6D.js → Folder-1H_XPHli.js} +3 -3
- package/dist/assets/{Folder-legacy-YsG9JF-C.js → Folder-legacy-DBPPt3z3.js} +2 -2
- package/dist/assets/FolderTree-legacy-BSV4stNN.js +1 -0
- package/dist/assets/FolderTree-tZ6zUZ7j.js +1 -0
- package/dist/assets/Grid-BrJTEWW6.js +1 -0
- package/dist/assets/Grid-legacy-CmmbMWtK.js +1 -0
- package/dist/assets/GridItem-IiSsrrRE.js +1 -0
- package/dist/assets/GridItem-legacy-Dd_rurIk.js +1 -0
- package/dist/assets/{ImageWithError-gG_AK8KG.js → ImageWithError-CSUD2e5_.js} +1 -1
- package/dist/assets/{ImageWithError-legacy-B07XhroH.js → ImageWithError-legacy-bpUxh_rg.js} +1 -1
- package/dist/assets/Images-legacy-Bloy8aMr.js +1 -0
- package/dist/assets/Images-ohOuh-tZ.js +1 -0
- package/dist/assets/Layout-CTXbLLrz.js +6 -0
- package/dist/assets/Layout-legacy-BEddNSfP.js +6 -0
- package/dist/assets/List-CioFfC3F.js +1 -0
- package/dist/assets/List-legacy-3BnwxKd9.js +1 -0
- package/dist/assets/{Messenger-Dmz66wIv.js → Messenger-BwX5Ot-u.js} +1 -1
- package/dist/assets/{Messenger-legacy-DEa2mtGl.js → Messenger-legacy-BdURBipq.js} +1 -1
- package/dist/assets/{Metas-BV8fZzUC.js → Metas-C-KooGDN.js} +1 -1
- package/dist/assets/{Metas-legacy-Dsed9U0b.js → Metas-legacy-DNSLvcPZ.js} +1 -1
- package/dist/assets/{Move-CjmsQ4oK.js → Move-BmKqqWgw.js} +1 -1
- package/dist/assets/{Move-legacy-BJYFMCwm.js → Move-legacy-r10bw0e-.js} +1 -1
- package/dist/assets/Other-DvpG5x28.js +1 -0
- package/dist/assets/Other-legacy-CpHIszvT.js +1 -0
- package/dist/assets/PackageDownload-B9EgcsaJ.js +1 -0
- package/dist/assets/{PackageDownload-legacy-DghWe59X.js → PackageDownload-legacy-DSGHgtWt.js} +1 -1
- package/dist/assets/{Paginator-CfTq8QGy.js → Paginator-DRB7Z41C.js} +1 -1
- package/dist/assets/{Paginator-legacy-BBwW9rLz.js → Paginator-legacy-DTdrq2lp.js} +1 -1
- package/dist/assets/{Password-_jCVU1BX.js → Password-B11wTWqR.js} +1 -1
- package/dist/assets/{Password-legacy-B7VWpO0t.js → Password-legacy-BGfOD_8_.js} +1 -1
- package/dist/assets/{Profile-DQqzso6r.js → Profile-C1cliTl8.js} +1 -1
- package/dist/assets/{Profile-legacy-DxHXHWHS.js → Profile-legacy-GCM5na_Q.js} +1 -1
- package/dist/assets/{PublicKeys-BUewmKb-.js → PublicKeys-Bx-4Shpz.js} +1 -1
- package/dist/assets/{PublicKeys-legacy-L19QKXEm.js → PublicKeys-legacy-Dq05MCbe.js} +1 -1
- package/dist/assets/{ResponsiveGrid-DBqpPiu2.js → ResponsiveGrid-BoOhAULT.js} +1 -1
- package/dist/assets/{ResponsiveGrid-legacy-io27eqXp.js → ResponsiveGrid-legacy-1sf4PYbB.js} +1 -1
- package/dist/assets/{S3-Ue8_AwRX.js → S3-Do-y1BLJ.js} +1 -1
- package/dist/assets/{S3-legacy-BEIExV0a.js → S3-legacy-DpBe-p2k.js} +1 -1
- package/dist/assets/{SettingItem-CoyA-wst.js → SettingItem-CG5PkkHH.js} +1 -1
- package/dist/assets/{SettingItem-legacy-FkrTuUbn.js → SettingItem-legacy-B4Pb_Xz0.js} +1 -1
- package/dist/assets/{Storages-B0zOmRwd.js → Storages-C_m4s20G.js} +1 -1
- package/dist/assets/{Storages-legacy-CBl6TdCy.js → Storages-legacy-DXs5dP9Y.js} +1 -1
- package/dist/assets/{Upload-y6lHsBbS.js → Upload-CKRnF4DO.js} +1 -1
- package/dist/assets/{Upload-9DDOLajr.js → Upload-aH9yNoOD.js} +1 -1
- package/dist/assets/{Upload-legacy-uISx3f64.js → Upload-legacy-CxFEzbZB.js} +1 -1
- package/dist/assets/{Upload-legacy-BX35PWMt.js → Upload-legacy-Duci8WH8.js} +1 -1
- package/dist/assets/Users-BnHY9262.js +1 -0
- package/dist/assets/Users-legacy-_OwnC7o5.js +1 -0
- package/dist/assets/{Wether-enRDnS5x.js → Wether-CG_Kg5-q.js} +1 -1
- package/dist/assets/{Wether-legacy-CUYxMAIK.js → Wether-legacy-Bdidv3LZ.js} +1 -1
- package/dist/assets/{aliyun_office-4kFcJSQ7.js → aliyun_office-B1HBHrPf.js} +1 -1
- package/dist/assets/{aliyun_office-legacy-CeoV_l42.js → aliyun_office-legacy-DTmek5GS.js} +1 -1
- package/dist/{lite/assets/aliyun_video-b2790a1e.js → assets/aliyun_video-U-pLeC7E.js} +1 -1
- package/dist/assets/aliyun_video-legacy-DTBjmE9W.js +1 -0
- package/dist/assets/archive-DOr7Dqax.js +1 -0
- package/dist/assets/archive-legacy-wJmPUETd.js +1 -0
- package/dist/{lite/assets/asciinema-03a03960.js → assets/asciinema-ZQcYEkAW.js} +1 -1
- package/dist/assets/asciinema-legacy-zxAySqsq.js +1 -0
- package/dist/assets/audio-CRzHxaoi.js +1 -0
- package/dist/assets/audio-legacy-Feenv18g.js +1 -0
- package/dist/assets/{backup-restore-C5uaukNL.js → backup-restore-DI3_7B-r.js} +1 -1
- package/dist/assets/{backup-restore-legacy-BNzSREad.js → backup-restore-legacy-Buh90yQQ.js} +1 -1
- package/dist/assets/{entry-CzYCw4_c.js → entry-B8RFtHi3.js} +1 -1
- package/dist/assets/{entry-8adOMWDV.js → entry-B98kaxtp.js} +1 -1
- package/dist/assets/{entry-legacy-BJi3IsKO.js → entry-legacy-ClQCsMpg.js} +1 -1
- package/dist/assets/{entry-legacy-CPgG9LS1.js → entry-legacy-CvWDK9vA.js} +1 -1
- package/dist/assets/flash-06hWdflD.js +1 -0
- package/dist/assets/flash-legacy-CEkIWCeS.js +1 -0
- package/dist/assets/heic-Dcuye9xt.js +1 -0
- package/dist/assets/heic-legacy-C297mKdd.js +1 -0
- package/dist/{lite/assets/helper-59016ddf.js → assets/helper-D_ZwLK_B.js} +1 -1
- package/dist/assets/{helper-CJdkogiC.js → helper-EtkfBFKy.js} +1 -1
- package/dist/assets/{helper-legacy-B4Xut8Z5.js → helper-legacy-BZAtBbx-.js} +1 -1
- package/dist/assets/helper-legacy-Crstiw7Q.js +1 -0
- package/dist/assets/{hls-CdGSrFYh.js → hls-Ct2iKFyb.js} +1 -1
- package/dist/assets/{hls-legacy-BR5PAXA5.js → hls-legacy-D8ZW6jtp.js} +1 -1
- package/dist/{lite/assets/html-a748c03a.js → assets/html-Der_HXVQ.js} +1 -1
- package/dist/assets/{html-legacy-DS9vIClh.js → html-legacy-qRV9zl9j.js} +1 -1
- package/dist/assets/{icon-CgK9sKtW.js → icon-Di-A6oGV.js} +1 -1
- package/dist/assets/{icon-legacy-jbuQXJrW.js → icon-legacy-RrRPpu72.js} +1 -1
- package/dist/assets/image-Dcp8UQSC.js +1 -0
- package/dist/assets/image-legacy-MktRWNPk.js +1 -0
- package/dist/{lite/assets/index-b8211a8c.js → assets/index-39alBTSo.js} +1 -1
- package/dist/assets/{index-BS5bVjs5.js → index-BQ3fKbcZ.js} +1 -1
- package/dist/assets/{index-CSwg5QXS.js → index-BeFrtC4h.js} +6 -6
- package/dist/assets/{index-DOY4u_GJ.js → index-DQgSmKvW.js} +1 -1
- package/dist/{lite/assets/index-dfffd899.js → assets/index-DnhdS7oh.js} +1 -1
- package/dist/assets/{index-DqW5xUnX.js → index-KrJvblBL.js} +1 -1
- package/dist/assets/{index-BJaZW_cl.js → index-U2hEgx40.js} +1 -1
- package/dist/assets/{index-BClBcNEu.js → index-ZTxfPVQc.js} +1 -1
- package/dist/assets/{index-DV8SB530.js → index-cDisVFxX.js} +1 -1
- package/dist/assets/{index-legacy-CDfFAMGs.js → index-legacy--GMgRmYe.js} +1 -1
- package/dist/assets/{index-legacy-CwvCVg8-.js → index-legacy-B1wMIUVA.js} +1 -1
- package/dist/assets/{index-legacy-nH7bmAdo.js → index-legacy-BDBjlhRR.js} +1 -1
- package/dist/assets/{index-legacy-zjwrrR91.js → index-legacy-BDOGUGER.js} +1 -1
- package/dist/assets/{index-legacy-Ctuk5AXi.js → index-legacy-BHlOEqoB.js} +1 -1
- package/dist/assets/{index-legacy-DkZZKHvO.js → index-legacy-BZ7kWilP.js} +1 -1
- package/dist/assets/{index-legacy-C5X1tU4Z.js → index-legacy-BsAqemlM.js} +1 -1
- package/dist/assets/index-legacy-C_fp4R35.js +1 -0
- package/dist/assets/{index-legacy-CtC7fn6O.js → index-legacy-CfXu3iPN.js} +4 -4
- package/dist/assets/index-legacy-CiO_xwp7.js +1 -0
- package/dist/assets/index-uMglY6aV.js +2 -0
- package/dist/assets/{indexes-Ba0IqlDk.js → indexes-DHzNsR3X.js} +1 -1
- package/dist/assets/{indexes-legacy-DOV4Irpp.js → indexes-legacy-CYDIc_-J.js} +1 -1
- package/dist/assets/ipa-Bvq4GufD.js +1 -0
- package/dist/assets/ipa-legacy-CXj6nWH_.js +1 -0
- package/dist/assets/markdown-BTG5QgAB.js +1 -0
- package/dist/assets/markdown-legacy-B4FJ2KYb.js +1 -0
- package/dist/assets/markdown_with_word_wrap-legacy-BfAsPsKl.js +1 -0
- package/dist/assets/markdown_with_word_wrap-sqgjsEFq.js +1 -0
- package/dist/assets/offline_download-DSXlv_fS.js +1 -0
- package/dist/assets/{offline_download-legacy-TAKRiM_z.js → offline_download-legacy-IVHhY0Fl.js} +1 -1
- package/dist/assets/pdf-hzVb4Kgy.js +1 -0
- package/dist/assets/pdf-legacy-WbGyXlrg.js +45 -0
- package/dist/assets/{pdf.worker.min--PgD6g2g.mjs → pdf.worker.min-DbR_HJhJ.js} +4 -4
- package/dist/assets/plist-2Y50jjt-.js +1 -0
- package/dist/assets/plist-legacy-B8d_27Yt.js +1 -0
- package/dist/assets/{style-QIM1DiTv.js → style-Mplh4sB8.js} +1 -1
- package/dist/assets/{style-legacy-DqRFDAwL.js → style-legacy-Cxcb54Ge.js} +1 -1
- package/dist/assets/text-editor-DGAoQNZR.js +1 -0
- package/dist/assets/text-editor-legacy-B2-OWm_i.js +1 -0
- package/dist/assets/{url-BdlNs2qR.js → url-95TlThfV.js} +1 -1
- package/dist/assets/{url-legacy-BObEvUIa.js → url-legacy-BhY0uecs.js} +1 -1
- package/dist/assets/{useTitle-DVdBzpBf.js → useTitle-QM9-qgni.js} +1 -1
- package/dist/assets/{useTitle-legacy-CeyL-0_E.js → useTitle-legacy-D5B3yBZZ.js} +1 -1
- package/dist/assets/video-KiVJHX0P.js +7 -0
- package/dist/assets/video-legacy-BrJOpPW-.js +9 -0
- package/dist/assets/{video360-Ceo5Bzr3.js → video360-HOYCbLmb.js} +1 -1
- package/dist/assets/{video360-legacy-DKyKnnjk.js → video360-legacy-BHwShuvc.js} +1 -1
- package/dist/assets/{video_box-BSgDB9Qt.js → video_box-0_m4vtRE.js} +2 -2
- package/dist/assets/{video_box-legacy-OIbbmS-k.js → video_box-legacy-DVP4wTZQ.js} +1 -1
- package/dist/i18n.tar.gz +0 -0
- package/dist/index.html +11 -11
- package/dist/lite/VERSION +1 -1
- package/dist/lite/assets/2fa-Bpxh448n.js +1 -0
- package/dist/lite/assets/2fa-legacy-DwWWjhKd.js +1 -0
- package/dist/lite/assets/About-ArjASC3Q.js +1 -0
- package/dist/lite/assets/About-legacy-Bj3uriA_.js +1 -0
- package/dist/lite/assets/AddOrEdit-B3LjAnjt.js +1 -0
- package/dist/lite/assets/AddOrEdit-BAx3eDaB.js +1 -0
- package/dist/lite/assets/AddOrEdit-DF0Uwc_L.js +1 -0
- package/dist/lite/assets/AddOrEdit-legacy-BiTUAbBy.js +1 -0
- package/dist/lite/assets/AddOrEdit-legacy-CA9WRPx4.js +1 -0
- package/dist/lite/assets/AddOrEdit-legacy-Dfi2IkNZ.js +1 -0
- package/dist/lite/assets/Common-BzbR55Cb.js +1 -0
- package/dist/lite/assets/Common-legacy-3RN_unfO.js +1 -0
- package/dist/lite/assets/Copy-DiJEbe33.js +1 -0
- package/dist/lite/assets/Copy-legacy-Cde3ux6l.js +1 -0
- package/dist/lite/assets/Decompress-CFzo8jdo.js +1 -0
- package/dist/lite/assets/Decompress-legacy-DsqpmmrM.js +1 -0
- package/dist/lite/assets/{DeletePopover-239d6d9d.js → DeletePopover-Cvk3C2o6.js} +1 -1
- package/dist/lite/assets/DeletePopover-legacy-Dfx3CmJo.js +1 -0
- package/dist/lite/assets/File-cqzoU4-v.js +2 -0
- package/dist/lite/assets/File-legacy-DdJSf0C9.js +1 -0
- package/dist/lite/assets/Folder-Do8UmR7t.js +115 -0
- package/dist/lite/assets/Folder-legacy-CmfB2sKk.js +43 -0
- package/dist/lite/assets/{Folder-6651c4e8.css → Folder-pZUjROFs.css} +1 -1
- package/dist/lite/assets/FolderTree-CFJsWcYU.js +1 -0
- package/dist/lite/assets/FolderTree-legacy-CPmKKEH_.js +1 -0
- package/dist/lite/assets/Grid-Cb4KcOOA.js +1 -0
- package/dist/lite/assets/Grid-legacy-BS9-SmUZ.js +1 -0
- package/dist/lite/assets/GridItem-DWKtcQLG.js +1 -0
- package/dist/lite/assets/GridItem-legacy-D1hKWaXY.js +1 -0
- package/dist/lite/assets/{ImageWithError-7a45dab8.js → ImageWithError-BS_j8_6Y.js} +1 -1
- package/dist/lite/assets/ImageWithError-legacy-Ce8hrBNL.js +1 -0
- package/dist/lite/assets/Images-CMH8hgp4.js +1 -0
- package/dist/lite/assets/Images-legacy-CC9la4S2.js +1 -0
- package/dist/lite/assets/Layout-jFFnLZug.js +6 -0
- package/dist/lite/assets/Layout-legacy-sqNeJgu3.js +6 -0
- package/dist/lite/assets/List-BsIOu856.js +1 -0
- package/dist/lite/assets/List-legacy-Btd-Aw-v.js +1 -0
- package/dist/lite/assets/Messenger-h8Gtjg9d.js +1 -0
- package/dist/lite/assets/Messenger-legacy-MSqQNafv.js +1 -0
- package/dist/lite/assets/Metas-ChO30D8Y.js +1 -0
- package/dist/lite/assets/Metas-legacy-BYtt6Ssn.js +1 -0
- package/dist/lite/assets/Move-JKMnsjzW.js +1 -0
- package/dist/lite/assets/Move-legacy-io1yEHph.js +1 -0
- package/dist/lite/assets/Other-DkvzL5dr.js +1 -0
- package/dist/lite/assets/Other-legacy-en5g3QVf.js +1 -0
- package/dist/lite/assets/PackageDownload-A3XlgYaK.js +1 -0
- package/dist/lite/assets/PackageDownload-legacy-Bsc8kCYa.js +1 -0
- package/dist/lite/assets/{Paginator-c6bbb723.js → Paginator-DYHEaUXh.js} +1 -1
- package/dist/lite/assets/Paginator-legacy-CHY0GWFh.js +1 -0
- package/dist/lite/assets/Password-DFzvuu_a.js +1 -0
- package/dist/lite/assets/Password-legacy-D3G8Nj3a.js +1 -0
- package/dist/lite/assets/{Profile-8e13fe60.js → Profile-D7CiDttN.js} +1 -1
- package/dist/lite/assets/Profile-legacy-CWckDtrc.js +1 -0
- package/dist/lite/assets/PublicKeys-legacy-U88DZl4m.js +1 -0
- package/dist/lite/assets/PublicKeys-wq_H67SA.js +1 -0
- package/dist/lite/assets/ResponsiveGrid-legacy-q5IrbTkd.js +1 -0
- package/dist/lite/assets/ResponsiveGrid-xgt3u3bA.js +1 -0
- package/dist/lite/assets/S3-BbQW41ep.js +1 -0
- package/dist/lite/assets/S3-legacy-DGp5ZhSq.js +1 -0
- package/dist/lite/assets/SettingItem-legacy-DcZ5E_l_.js +1 -0
- package/dist/lite/assets/SettingItem-roKcFMua.js +1 -0
- package/dist/lite/assets/Storages-BaIcw41y.js +1 -0
- package/dist/lite/assets/Storages-legacy-CFy4b4ek.js +1 -0
- package/dist/lite/assets/Upload-DHbPCUwq.js +5 -0
- package/dist/lite/assets/Upload-RIL7iquw.js +1 -0
- package/dist/lite/assets/Upload-legacy-3NfgdpZd.js +1 -0
- package/dist/lite/assets/Upload-legacy-poADpzfh.js +6 -0
- package/dist/lite/assets/Users-BAqP24Qw.js +1 -0
- package/dist/lite/assets/Users-legacy-C0mMiKMz.js +1 -0
- package/dist/lite/assets/Wether-DK3WDUbh.js +1 -0
- package/dist/lite/assets/Wether-legacy-Cavl6pKD.js +1 -0
- package/dist/lite/assets/aliyun_office-DBqDX_hp.js +1 -0
- package/dist/lite/assets/aliyun_office-legacy-_79ghtZB.js +1 -0
- package/dist/lite/assets/aliyun_video-CZcF0Nna.js +1 -0
- package/dist/lite/assets/aliyun_video-legacy-Ct0Zt1SB.js +1 -0
- package/dist/lite/assets/archive-1Ny6qOnL.js +1 -0
- package/dist/lite/assets/archive-legacy-BkYvaOrc.js +1 -0
- package/dist/lite/assets/asciinema-legacy-vQ791H0a.js +1 -0
- package/dist/lite/assets/asciinema-sSQhDJ1O.js +1 -0
- package/dist/lite/assets/audio-CpqrlW8K.js +1 -0
- package/dist/lite/assets/{audio-43f4c02b.css → audio-DVCFhzL6.css} +1 -1
- package/dist/lite/assets/audio-legacy-BXgPWYfA.js +1 -0
- package/dist/lite/assets/{backup-restore-a1922c8b.js → backup-restore-DoLA2IME.js} +1 -1
- package/dist/lite/assets/backup-restore-legacy-DNPfsuAH.js +1 -0
- package/dist/lite/assets/entry-BtEOFyfY.js +1 -0
- package/dist/lite/assets/entry-DtuXLztK.js +1 -0
- package/dist/lite/assets/entry-legacy-BxiK1GJf.js +1 -0
- package/dist/lite/assets/entry-legacy-Du4R67kT.js +1 -0
- package/dist/lite/assets/{flash-9e68a05e.js → flash-Djj83tqh.js} +1 -1
- package/dist/lite/assets/flash-legacy-BRVpO4r6.js +1 -0
- package/dist/lite/assets/heic-NwUjtcuG.js +1 -0
- package/dist/lite/assets/heic-legacy-B3T6GJ6D.js +1 -0
- package/dist/lite/assets/helper-Ch7ToGeM.js +1 -0
- package/dist/lite/assets/helper-DwX_dOuD.js +1 -0
- package/dist/lite/assets/helper-legacy-B5KaTScg.js +1 -0
- package/dist/lite/assets/helper-legacy-DcsEUFIj.js +1 -0
- package/dist/lite/assets/hls-DBosaSUe.js +6 -0
- package/dist/lite/assets/hls-legacy-DgOWpufA.js +8 -0
- package/dist/{assets/html-CBeb2Gu_.js → lite/assets/html-Ba6vHZ_J.js} +1 -1
- package/dist/lite/assets/html-legacy-Mvg6eZYQ.js +1 -0
- package/dist/lite/assets/{icon-cb9eb834.js → icon-ceZ0r1RC.js} +1 -1
- package/dist/lite/assets/icon-legacy-BoOzfCLN.js +1 -0
- package/dist/lite/assets/image-Bu07NFPt.js +1 -0
- package/dist/lite/assets/image-legacy-N3F4kT0B.js +1 -0
- package/dist/lite/assets/index-B_TdULNl.js +21 -0
- package/dist/{assets/index-DNDW0loe.js → lite/assets/index-BcZBdJ0I.js} +1 -1
- package/dist/lite/assets/index-Bn2D_UmB.js +2 -0
- package/dist/lite/assets/index-C3V6yVI8.js +1 -0
- package/dist/lite/assets/{index-a14fae00.js → index-CRXmqRYq.js} +1 -1
- package/dist/lite/assets/{index-6a28cbb7.js → index-C_aiEtJn.js} +1 -1
- package/dist/lite/assets/index-C_jPYH9Z.js +1 -0
- package/dist/{assets/index-C7ih00qx.js → lite/assets/index-Dqq7pWSD.js} +1 -1
- package/dist/lite/assets/{index-67a90f4f.js → index-HMcyQa6d.js} +1 -1
- package/dist/lite/assets/index-e42Miit8.js +14 -0
- package/dist/lite/assets/index-legacy-BVyUBVta.js +1 -0
- package/dist/lite/assets/index-legacy-CLqrKPV_.js +1 -0
- package/dist/lite/assets/index-legacy-CVBschDa.js +1 -0
- package/dist/lite/assets/index-legacy-CzA4JGfb.js +28 -0
- package/dist/lite/assets/index-legacy-D0eoTtsv.js +1 -0
- package/dist/lite/assets/index-legacy-DCVYtsVs.js +1 -0
- package/dist/lite/assets/index-legacy-Dc8ardce.js +1 -0
- package/dist/lite/assets/index-legacy-DrvGupqT.js +1 -0
- package/dist/lite/assets/index-legacy-biWX0Baf.js +1 -0
- package/dist/lite/assets/index-legacy-d-CZR28M.js +18 -0
- package/dist/lite/assets/indexes-CR9gvSWH.js +1 -0
- package/dist/lite/assets/indexes-legacy-DFzWwoPv.js +1 -0
- package/dist/lite/assets/ipa-DwQ4X4s4.js +1 -0
- package/dist/lite/assets/ipa-legacy-BCZ_Zc3J.js +1 -0
- package/dist/lite/assets/item_type-legacy-NfhfVKtF.js +1 -0
- package/dist/lite/assets/markdown-B4ybtoLY.js +1 -0
- package/dist/lite/assets/markdown-legacy-DUdUSvRx.js +1 -0
- package/dist/lite/assets/markdown_with_word_wrap-C6ZJsL5G.js +1 -0
- package/dist/lite/assets/markdown_with_word_wrap-legacy-D6JpLTGQ.js +1 -0
- package/dist/lite/assets/offline_download-B5VAjVkY.js +1 -0
- package/dist/lite/assets/offline_download-legacy-iaAjOlRE.js +1 -0
- package/dist/lite/assets/plist-BPhLI2sw.js +1 -0
- package/dist/lite/assets/plist-legacy-D1tXE2us.js +1 -0
- package/dist/lite/assets/polyfills-legacy-fFt7otW2.js +4 -0
- package/dist/lite/assets/style-DhbY8MLj.js +1 -0
- package/dist/lite/assets/style-legacy-BCQSOKfk.js +1 -0
- package/dist/lite/assets/text-editor-CyJ0Qq4M.js +1 -0
- package/dist/lite/assets/text-editor-legacy-DShJUMbE.js +1 -0
- package/dist/lite/assets/url-CT_IfmFh.js +1 -0
- package/dist/lite/assets/url-legacy-Ct_LVIpR.js +1 -0
- package/dist/lite/assets/useTitle-Eavd_FAg.js +1 -0
- package/dist/lite/assets/useTitle-legacy-mcHxhUhu.js +1 -0
- package/dist/lite/assets/video-DbnoLf1P.js +7 -0
- package/dist/lite/assets/video-legacy-CwAVgHet.js +9 -0
- package/dist/lite/assets/video360-legacy-DXyquQE4.js +16 -0
- package/dist/lite/assets/video360-qu887L1T.js +14 -0
- package/dist/lite/assets/video_box-DtlDzrz5.js +6 -0
- package/dist/lite/assets/video_box-legacy-zTy3pZGq.js +8 -0
- package/dist/lite/assets/webauthn-json.browser-ponyfill-legacy-8XJfKV2b.js +1 -0
- package/dist/lite/i18n.tar.gz +0 -0
- package/dist/lite/index.html +12 -19
- package/dist/lite/static/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/assets/About-Cu11TW0D.js +0 -1
- package/dist/assets/AddOrEdit-B7sPaR10.js +0 -1
- package/dist/assets/AddOrEdit-legacy-BLNrBEUZ.js +0 -1
- package/dist/assets/Common-CrTYhaeL.js +0 -1
- package/dist/assets/Common-legacy-CYNGdYU-.js +0 -1
- package/dist/assets/Decompress-CzLWbcw1.js +0 -1
- package/dist/assets/FolderTree-BopfuzE_.js +0 -1
- package/dist/assets/FolderTree-legacy-DH3Vf9XJ.js +0 -1
- package/dist/assets/Grid-DPqNI8Qb.js +0 -1
- package/dist/assets/Grid-legacy-BgCqAxPk.js +0 -1
- package/dist/assets/GridItem-DKsYPXRd.js +0 -1
- package/dist/assets/GridItem-legacy-B5BlOcYb.js +0 -1
- package/dist/assets/Images-OiLzswiq.js +0 -1
- package/dist/assets/Images-legacy-ByM1mPR1.js +0 -1
- package/dist/assets/Layout-CyS6jJ_b.js +0 -6
- package/dist/assets/Layout-legacy-D9Zk98K6.js +0 -6
- package/dist/assets/List-CZc2zrbB.js +0 -1
- package/dist/assets/List-legacy-CFAZAIBP.js +0 -1
- package/dist/assets/Other-DXc0kpSC.js +0 -1
- package/dist/assets/Other-legacy-38X7w6nZ.js +0 -1
- package/dist/assets/PackageDownload-CwKBLgrB.js +0 -1
- package/dist/assets/Users-BNQGZuWH.js +0 -1
- package/dist/assets/Users-legacy-BINPeiuk.js +0 -1
- package/dist/assets/aliyun_video-CwA2k3Pu.js +0 -1
- package/dist/assets/aliyun_video-legacy-BpsCIyHp.js +0 -1
- package/dist/assets/archive-96T1hx83.js +0 -1
- package/dist/assets/archive-legacy-DNLQfLr5.js +0 -1
- package/dist/assets/asciinema-CyHXgEN-.js +0 -1
- package/dist/assets/asciinema-legacy-t3iZqcax.js +0 -1
- package/dist/assets/audio-DSt_Oo19.js +0 -1
- package/dist/assets/audio-legacy-BhsBrhkI.js +0 -1
- package/dist/assets/flash-Be81XNne.js +0 -1
- package/dist/assets/flash-legacy-CPqjLHQp.js +0 -1
- package/dist/assets/heic-DpvwRot7.js +0 -1
- package/dist/assets/heic-legacy-BoU2N_4X.js +0 -1
- package/dist/assets/helper-Ha9z54Sm.js +0 -1
- package/dist/assets/helper-legacy-CiLX6aDH.js +0 -1
- package/dist/assets/image-DK0tWDig.js +0 -1
- package/dist/assets/image-legacy-BpyMVaKK.js +0 -1
- package/dist/assets/index-D0sWo-se.js +0 -2
- package/dist/assets/index-legacy-BYcwzmYP.js +0 -1
- package/dist/assets/index-legacy-DIduvs2M.js +0 -1
- package/dist/assets/ipa-CThENlHd.js +0 -1
- package/dist/assets/ipa-legacy-ruQ-749T.js +0 -1
- package/dist/assets/markdown-DAEQr1YU.js +0 -1
- package/dist/assets/markdown-legacy-DtXqlrxB.js +0 -1
- package/dist/assets/markdown_with_word_wrap-D_gGyBgt.js +0 -1
- package/dist/assets/markdown_with_word_wrap-legacy-D-tfNhGw.js +0 -1
- package/dist/assets/offline_download--qix7jck.js +0 -1
- package/dist/assets/pdf-DS1TLqP2.js +0 -1
- package/dist/assets/pdf-legacy-BF9lSw5M.js +0 -45
- package/dist/assets/plist-BdQrMloW.js +0 -1
- package/dist/assets/plist-legacy-Dzyq_tdc.js +0 -1
- package/dist/assets/text-editor-BvoSciLk.js +0 -1
- package/dist/assets/text-editor-legacy-AXNOcpgF.js +0 -1
- package/dist/assets/video-legacy-DYsnLlgJ.js +0 -9
- package/dist/assets/video-oPytqEM3.js +0 -7
- package/dist/lite/assets/2fa-d2e88785.js +0 -1
- package/dist/lite/assets/2fa-legacy-300dfa68.js +0 -1
- package/dist/lite/assets/About-e76de340.js +0 -1
- package/dist/lite/assets/About-legacy-79773dac.js +0 -1
- package/dist/lite/assets/AddOrEdit-3d3353a8.js +0 -1
- package/dist/lite/assets/AddOrEdit-807696e5.js +0 -1
- package/dist/lite/assets/AddOrEdit-d6caff63.js +0 -1
- package/dist/lite/assets/AddOrEdit-legacy-8f86f1ff.js +0 -1
- package/dist/lite/assets/AddOrEdit-legacy-9983f6e1.js +0 -1
- package/dist/lite/assets/AddOrEdit-legacy-d0c7c380.js +0 -1
- package/dist/lite/assets/Common-9c9167f7.js +0 -1
- package/dist/lite/assets/Common-legacy-d52fea2b.js +0 -1
- package/dist/lite/assets/Copy-104d7d48.js +0 -1
- package/dist/lite/assets/Copy-legacy-e1bce4e6.js +0 -1
- package/dist/lite/assets/Decompress-62fd7241.js +0 -1
- package/dist/lite/assets/Decompress-legacy-bd78eb4f.js +0 -1
- package/dist/lite/assets/DeletePopover-legacy-f4764c72.js +0 -1
- package/dist/lite/assets/File-9bb7b3b6.js +0 -1
- package/dist/lite/assets/File-legacy-dbaad256.js +0 -1
- package/dist/lite/assets/Folder-80505a0c.js +0 -114
- package/dist/lite/assets/Folder-legacy-dbe7957d.js +0 -49
- package/dist/lite/assets/FolderTree-a7545b65.js +0 -1
- package/dist/lite/assets/FolderTree-legacy-cc6e2591.js +0 -1
- package/dist/lite/assets/Grid-2ea09356.js +0 -1
- package/dist/lite/assets/Grid-legacy-7e146882.js +0 -1
- package/dist/lite/assets/GridItem-a16cc1c5.js +0 -1
- package/dist/lite/assets/GridItem-legacy-3d2048e2.js +0 -1
- package/dist/lite/assets/ImageWithError-legacy-c2f680e8.js +0 -1
- package/dist/lite/assets/Images-137f7509.js +0 -1
- package/dist/lite/assets/Images-legacy-a43b6098.js +0 -1
- package/dist/lite/assets/Layout-ac0937fd.js +0 -5
- package/dist/lite/assets/Layout-legacy-0be654c6.js +0 -6
- package/dist/lite/assets/List-64c7752c.js +0 -1
- package/dist/lite/assets/List-legacy-913c133e.js +0 -1
- package/dist/lite/assets/Messenger-254abffb.js +0 -1
- package/dist/lite/assets/Messenger-legacy-97283620.js +0 -1
- package/dist/lite/assets/Metas-1bad1832.js +0 -1
- package/dist/lite/assets/Metas-legacy-7042cb89.js +0 -1
- package/dist/lite/assets/Other-29b70647.js +0 -1
- package/dist/lite/assets/Other-legacy-607dbff6.js +0 -1
- package/dist/lite/assets/PackageDownload-e264bfda.js +0 -1
- package/dist/lite/assets/PackageDownload-legacy-55a29bc7.js +0 -1
- package/dist/lite/assets/Paginator-legacy-612bab7f.js +0 -1
- package/dist/lite/assets/Password-647ac2f5.js +0 -1
- package/dist/lite/assets/Password-legacy-2e2010d5.js +0 -1
- package/dist/lite/assets/Profile-legacy-93d7fe2b.js +0 -1
- package/dist/lite/assets/PublicKeys-7daab5c3.js +0 -1
- package/dist/lite/assets/PublicKeys-legacy-83570ba5.js +0 -1
- package/dist/lite/assets/ResponsiveGrid-f263846b.js +0 -1
- package/dist/lite/assets/ResponsiveGrid-legacy-a8200443.js +0 -1
- package/dist/lite/assets/S3-40b2a439.js +0 -1
- package/dist/lite/assets/S3-legacy-310983e4.js +0 -1
- package/dist/lite/assets/SettingItem-72aa2179.js +0 -1
- package/dist/lite/assets/SettingItem-legacy-91ff3c53.js +0 -1
- package/dist/lite/assets/Storages-90b21781.js +0 -1
- package/dist/lite/assets/Storages-legacy-49b7b995.js +0 -1
- package/dist/lite/assets/Upload-9447b1be.js +0 -5
- package/dist/lite/assets/Upload-98dd51d8.js +0 -1
- package/dist/lite/assets/Upload-legacy-3b92717c.js +0 -6
- package/dist/lite/assets/Upload-legacy-ac99e541.js +0 -1
- package/dist/lite/assets/Users-30333127.js +0 -1
- package/dist/lite/assets/Users-legacy-0719c277.js +0 -1
- package/dist/lite/assets/Wether-b430b024.js +0 -1
- package/dist/lite/assets/Wether-legacy-274cd4f2.js +0 -1
- package/dist/lite/assets/aliyun_office-b0b45663.js +0 -1
- package/dist/lite/assets/aliyun_office-legacy-2d148972.js +0 -1
- package/dist/lite/assets/aliyun_video-legacy-6a647909.js +0 -1
- package/dist/lite/assets/archive-25c8ef3b.js +0 -1
- package/dist/lite/assets/archive-legacy-348dc806.js +0 -1
- package/dist/lite/assets/asciinema-legacy-1917d686.js +0 -1
- package/dist/lite/assets/audio-ea14d1c5.js +0 -1
- package/dist/lite/assets/audio-legacy-303c3bd9.js +0 -1
- package/dist/lite/assets/backup-restore-legacy-d4b0f25c.js +0 -1
- package/dist/lite/assets/entry-27030f25.js +0 -1
- package/dist/lite/assets/entry-f2e52067.js +0 -1
- package/dist/lite/assets/entry-legacy-a1d93529.js +0 -1
- package/dist/lite/assets/entry-legacy-fd98eab3.js +0 -1
- package/dist/lite/assets/flash-legacy-80373572.js +0 -1
- package/dist/lite/assets/heic-2554ec65.js +0 -1
- package/dist/lite/assets/heic-legacy-2c1c78ca.js +0 -1
- package/dist/lite/assets/helper-af29c315.js +0 -1
- package/dist/lite/assets/helper-legacy-25bddff0.js +0 -1
- package/dist/lite/assets/helper-legacy-94b49e67.js +0 -1
- package/dist/lite/assets/hls-e031156d.js +0 -6
- package/dist/lite/assets/hls-legacy-20bdc1ee.js +0 -8
- package/dist/lite/assets/html-legacy-619368c0.js +0 -1
- package/dist/lite/assets/icon-legacy-eb0f5143.js +0 -1
- package/dist/lite/assets/image-c8b0bac2.js +0 -1
- package/dist/lite/assets/image-legacy-7afc3d49.js +0 -1
- package/dist/lite/assets/index-3f395f83.js +0 -14
- package/dist/lite/assets/index-53a1dd81.js +0 -20
- package/dist/lite/assets/index-83750b21.js +0 -1
- package/dist/lite/assets/index-9d2d674f.js +0 -1
- package/dist/lite/assets/index-b94004c5.js +0 -1
- package/dist/lite/assets/index-legacy-17656f04.js +0 -1
- package/dist/lite/assets/index-legacy-3d6bd4ab.js +0 -1
- package/dist/lite/assets/index-legacy-52bb5f2d.js +0 -1
- package/dist/lite/assets/index-legacy-6dddbd7f.js +0 -18
- package/dist/lite/assets/index-legacy-737b5776.js +0 -1
- package/dist/lite/assets/index-legacy-a79f37d7.js +0 -27
- package/dist/lite/assets/index-legacy-b6946699.js +0 -1
- package/dist/lite/assets/index-legacy-d4734338.js +0 -1
- package/dist/lite/assets/index-legacy-e78804fc.js +0 -1
- package/dist/lite/assets/index-legacy-e78c6961.js +0 -1
- package/dist/lite/assets/indexes-8d6a3830.js +0 -1
- package/dist/lite/assets/indexes-legacy-8aad9cf2.js +0 -1
- package/dist/lite/assets/ipa-14799eac.js +0 -1
- package/dist/lite/assets/ipa-legacy-05317cab.js +0 -1
- package/dist/lite/assets/item_type-legacy-d49ae974.js +0 -1
- package/dist/lite/assets/markdown-438acebf.js +0 -1
- package/dist/lite/assets/markdown-legacy-85cc7347.js +0 -1
- package/dist/lite/assets/markdown_with_word_wrap-02b3d898.js +0 -1
- package/dist/lite/assets/markdown_with_word_wrap-legacy-c80bbc34.js +0 -1
- package/dist/lite/assets/offline_download-64a4f5ec.js +0 -1
- package/dist/lite/assets/offline_download-legacy-13c80c46.js +0 -1
- package/dist/lite/assets/plist-caa63a1c.js +0 -1
- package/dist/lite/assets/plist-legacy-97df7129.js +0 -1
- package/dist/lite/assets/polyfills-legacy-84c7163c.js +0 -1
- package/dist/lite/assets/style-da60bdcd.js +0 -1
- package/dist/lite/assets/style-legacy-56f6ffc2.js +0 -1
- package/dist/lite/assets/text-editor-faffc12e.js +0 -1
- package/dist/lite/assets/text-editor-legacy-c28b9e68.js +0 -1
- package/dist/lite/assets/url-e7419bc0.js +0 -1
- package/dist/lite/assets/url-legacy-c605c2b3.js +0 -1
- package/dist/lite/assets/useTitle-3c39724b.js +0 -1
- package/dist/lite/assets/useTitle-legacy-f359aa82.js +0 -1
- package/dist/lite/assets/video-bdb2443b.js +0 -7
- package/dist/lite/assets/video-legacy-aaca36d8.js +0 -9
- package/dist/lite/assets/video360-8fe849f4.js +0 -14
- package/dist/lite/assets/video360-legacy-60cbacb5.js +0 -16
- package/dist/lite/assets/video_box-cfac536c.js +0 -6
- package/dist/lite/assets/video_box-legacy-6b3ebc5b.js +0 -8
- package/dist/lite/assets/webauthn-json.browser-ponyfill-legacy-456cc8e1.js +0 -1
- /package/dist/lite/assets/{asciinema-9107553b.css → asciinema-CxBn2iyI.css} +0 -0
- /package/dist/lite/assets/{index-c0564af7.css → index-DYLAoZjS.css} +0 -0
- /package/dist/lite/assets/{item_type-32dc6fdf.js → item_type-CV3e5W3l.js} +0 -0
- /package/dist/lite/assets/{lg-f2fe1c00.svg → lg-B0dIV2BS.svg} +0 -0
- /package/dist/lite/assets/{lg-fefc5c0d.woff → lg-CosQH4Cu.woff} +0 -0
- /package/dist/lite/assets/{lg-22b72ba5.ttf → lg-oyjwlqP2.ttf} +0 -0
- /package/dist/lite/assets/{loading-298ad3ff.gif → loading-BZOHaeKn.gif} +0 -0
- /package/dist/lite/assets/{style-a6d16836.css → style-qq4T_k44.css} +0 -0
- /package/dist/lite/assets/{subtitles-octopus-worker-f95f2186.js → subtitles-octopus-worker-BE_B0Qbi.js} +0 -0
- /package/dist/lite/assets/{subtitles-octopus-worker-62892886.wasm → subtitles-octopus-worker-DBPz2dPT.wasm} +0 -0
- /package/dist/lite/assets/{video360-f0192288.css → video360-Cpoa0Nlv.css} +0 -0
- /package/dist/lite/assets/{webauthn-json.browser-ponyfill-29d8152c.js → webauthn-json.browser-ponyfill-CVZeZdny.js} +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Layout-jFFnLZug.js","assets/useTitle-Eavd_FAg.js","assets/index-HMcyQa6d.js","assets/FolderTree-CFJsWcYU.js","assets/index-BcZBdJ0I.js","assets/index-e42Miit8.js","assets/index-Bn2D_UmB.js","assets/index-Dqq7pWSD.js","assets/index-C_jPYH9Z.js","assets/webauthn-json.browser-ponyfill-CVZeZdny.js","assets/index-C_aiEtJn.js","assets/Upload-DHbPCUwq.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
function aM(){import.meta.url,import("_").catch(()=>1),async function*(){}().next()}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();const Be={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return Jd(this.context.count)},getNextContextId(){return Jd(this.context.count++)}};function Jd(e){const t=String(e),n=t.length-1;return Be.context.id+(n?String.fromCharCode(96+n):"")+t}function na(e){Be.context=e}const gp=!1,rE=(e,t)=>e===t,Ir=Symbol("solid-proxy"),pp=typeof Proxy=="function",Jo=Symbol("solid-track"),wl={equals:rE};let jo=null,mp=_p;const fr=1,es=2,xp={owned:null,cleanups:null,context:null,owner:null},ac={};var Ke=null;let _e=null,aE=null,xt=null,Sn=null,pn=null,tu=0;function ra(e,t){const n=xt,r=Ke,a=e.length===0,i=t===void 0?r:t,o=a?xp:{owned:null,cleanups:null,context:i?i.context:null,owner:i},s=a?e:()=>e(()=>Ct(()=>ka(o)));Ke=o,xt=null;try{return er(s,!0)}finally{xt=n,Ke=r}}function Ne(e,t){t=t?Object.assign({},wl,t):wl;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=a=>(typeof a=="function"&&(_e&&_e.running&&_e.sources.has(n)?a=a(n.tValue):a=a(n.value)),vp(n,a));return[yp.bind(n),r]}function Kc(e,t,n){const r=bs(e,t,!0,fr);Qi(r)}function Ln(e,t,n){const r=bs(e,t,!1,fr);Qi(r)}function Kt(e,t,n){mp=dE;const r=bs(e,t,!1,fr),a=ui&&It(ui);a&&(r.suspense=a),(!n||!n.render)&&(r.user=!0),pn?pn.push(r):Qi(r)}function ze(e,t,n){n=n?Object.assign({},wl,n):wl;const r=bs(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,Qi(r),yp.bind(r)}function iE(e){return e&&typeof e=="object"&&"then"in e}function V0(e,t,n){let r,a,i;typeof t=="function"?(r=e,a=t,i={}):(r=!0,a=e,i=t||{});let o=null,s=ac,l=null,u=!1,d=!1,c="initialValue"in i,f=typeof r=="function"&&ze(r);const p=new Set,[g,b]=(i.storage||Ne)(i.initialValue),[m,x]=Ne(void 0),[v,y]=Ne(void 0,{equals:!1}),[w,O]=Ne(c?"ready":"unresolved");Be.context&&(l=Be.getNextContextId(),i.ssrLoadFrom==="initial"?s=i.initialValue:Be.load&&Be.has(l)&&(s=Be.load(l)));function T(B,V,J,ee){return o===B&&(o=null,ee!==void 0&&(c=!0),(B===s||V===s)&&i.onHydrated&&queueMicrotask(()=>i.onHydrated(ee,{value:V})),s=ac,_e&&B&&u?(_e.promises.delete(B),u=!1,er(()=>{_e.running=!0,A(V,J)},!1)):A(V,J)),V}function A(B,V){er(()=>{V===void 0&&b(()=>B),O(V!==void 0?"errored":c?"ready":"unresolved"),x(V);for(const J of p.keys())J.decrement();p.clear()},!1)}function F(){const B=ui&&It(ui),V=g(),J=m();if(J!==void 0&&!o)throw J;return xt&&!xt.user&&B&&Kc(()=>{v(),o&&(B.resolved&&_e&&u?_e.promises.add(o):p.has(B)||(B.increment(),p.add(B)))}),V}function M(B=!0){if(B!==!1&&d)return;d=!1;const V=f?f():r;if(u=_e&&_e.running,V==null||V===!1){T(o,Ct(g));return}_e&&o&&_e.promises.delete(o);let J;const ee=s!==ac?s:Ct(()=>{try{return a(V,{value:g(),refetching:B})}catch(ue){J=ue}});if(J!==void 0){T(o,void 0,cl(J),V);return}else if(!iE(ee))return T(o,ee,void 0,V),ee;return o=ee,"v"in ee?(ee.s===1?T(o,ee.v,void 0,V):T(o,void 0,cl(ee.v),V),ee):(d=!0,queueMicrotask(()=>d=!1),er(()=>{O(c?"refreshing":"pending"),y()},!1),ee.then(ue=>T(ee,ue,void 0,V),ue=>T(ee,void 0,cl(ue),V)))}Object.defineProperties(F,{state:{get:()=>w()},error:{get:()=>m()},loading:{get(){const B=w();return B==="pending"||B==="refreshing"}},latest:{get(){if(!c)return F();const B=m();if(B&&!o)throw B;return g()}}});let D=Ke;return f?Kc(()=>(D=Ke,M(!1))):M(!1),[F,{refetch:B=>q0(D,()=>M(B)),mutate:b}]}function ts(e){return er(e,!1)}function Ct(e){if(xt===null)return e();const t=xt;xt=null;try{return e()}finally{xt=t}}function aa(e,t,n){const r=Array.isArray(e);let a,i=n&&n.defer;return o=>{let s;if(r){s=Array(e.length);for(let u=0;u<e.length;u++)s[u]=e[u]()}else s=e();if(i)return i=!1,o;const l=Ct(()=>t(s,a,o));return a=s,l}}function Rn(e){Kt(()=>Ct(e))}function wt(e){return Ke===null||(Ke.cleanups===null?Ke.cleanups=[e]:Ke.cleanups.push(e)),e}function oE(e,t){jo||(jo=Symbol("error")),Ke=bs(void 0,void 0,!0),Ke.context={...Ke.context,[jo]:[t]},_e&&_e.running&&_e.sources.add(Ke);try{return e()}catch(n){Es(n)}finally{Ke=Ke.owner}}function Yc(){return xt}function Al(){return Ke}function q0(e,t){const n=Ke,r=xt;Ke=e,xt=null;try{return er(t,!0)}catch(a){Es(a)}finally{Ke=n,xt=r}}function bp(e){if(_e&&_e.running)return e(),_e.done;const t=xt,n=Ke;return Promise.resolve().then(()=>{xt=t,Ke=n;let r;return ui&&(r=_e||(_e={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise(a=>r.resolve=a)),r.running=!0),er(e,!1),xt=Ke=null,r?r.done:void 0})}const[sE,ef]=Ne(!1);function Ep(){return[sE,bp]}function lE(e){pn.push.apply(pn,e),e.length=0}function Nt(e,t){const n=Symbol("context");return{id:n,Provider:fE(n),defaultValue:e}}function It(e){let t;return Ke&&Ke.context&&(t=Ke.context[e.id])!==void 0?t:e.defaultValue}function da(e){const t=ze(e),n=ze(()=>Xc(t()));return n.toArray=()=>{const r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}let ui;function uE(){return ui||(ui=Nt())}function yp(){const e=_e&&_e.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===fr)Qi(this);else{const t=Sn;Sn=null,er(()=>Ol(this),!1),Sn=t}if(xt){const t=this.observers?this.observers.length:0;xt.sources?(xt.sources.push(this),xt.sourceSlots.push(t)):(xt.sources=[this],xt.sourceSlots=[t]),this.observers?(this.observers.push(xt),this.observerSlots.push(xt.sources.length-1)):(this.observers=[xt],this.observerSlots=[xt.sources.length-1])}return e&&_e.sources.has(this)?this.tValue:this.value}function vp(e,t,n){let r=_e&&_e.running&&_e.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(_e){const a=_e.running;(a||!n&&_e.sources.has(e))&&(_e.sources.add(e),e.tValue=t),a||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&er(()=>{for(let a=0;a<e.observers.length;a+=1){const i=e.observers[a],o=_e&&_e.running;o&&_e.disposed.has(i)||((o?!i.tState:!i.state)&&(i.pure?Sn.push(i):pn.push(i),i.observers&&Tp(i)),o?i.tState=fr:i.state=fr)}if(Sn.length>1e6)throw Sn=[],new Error},!1)}return t}function Qi(e){if(!e.fn)return;ka(e);const t=tu;tf(e,_e&&_e.running&&_e.sources.has(e)?e.tValue:e.value,t),_e&&!_e.running&&_e.sources.has(e)&&queueMicrotask(()=>{er(()=>{_e&&(_e.running=!0),xt=Ke=e,tf(e,e.tValue,t),xt=Ke=null},!1)})}function tf(e,t,n){let r;const a=Ke,i=xt;xt=Ke=e;try{r=e.fn(t)}catch(o){return e.pure&&(_e&&_e.running?(e.tState=fr,e.tOwned&&e.tOwned.forEach(ka),e.tOwned=void 0):(e.state=fr,e.owned&&e.owned.forEach(ka),e.owned=null)),e.updatedAt=n+1,Es(o)}finally{xt=i,Ke=a}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?vp(e,r,!0):_e&&_e.running&&e.pure?(_e.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function bs(e,t,n,r=fr,a){const i={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:Ke,context:Ke?Ke.context:null,pure:n};return _e&&_e.running&&(i.state=0,i.tState=r),Ke===null||Ke!==xp&&(_e&&_e.running&&Ke.pure?Ke.tOwned?Ke.tOwned.push(i):Ke.tOwned=[i]:Ke.owned?Ke.owned.push(i):Ke.owned=[i]),i}function kl(e){const t=_e&&_e.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===es)return Ol(e);if(e.suspense&&Ct(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<tu);){if(t&&_e.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let a=e,i=n[r+1];for(;(a=a.owner)&&a!==i;)if(_e.disposed.has(a))return}if((t?e.tState:e.state)===fr)Qi(e);else if((t?e.tState:e.state)===es){const a=Sn;Sn=null,er(()=>Ol(e,n[0]),!1),Sn=a}}}function er(e,t){if(Sn)return e();let n=!1;t||(Sn=[]),pn?n=!0:pn=[],tu++;try{const r=e();return cE(n),r}catch(r){n||(pn=null),Sn=null,Es(r)}}function cE(e){if(Sn&&(_p(Sn),Sn=null),e)return;let t;if(_e){if(!_e.promises.size&&!_e.queue.size){const r=_e.sources,a=_e.disposed;pn.push.apply(pn,_e.effects),t=_e.resolve;for(const i of pn)"tState"in i&&(i.state=i.tState),delete i.tState;_e=null,er(()=>{for(const i of a)ka(i);for(const i of r){if(i.value=i.tValue,i.owned)for(let o=0,s=i.owned.length;o<s;o++)ka(i.owned[o]);i.tOwned&&(i.owned=i.tOwned),delete i.tValue,delete i.tOwned,i.tState=0}ef(!1)},!1)}else if(_e.running){_e.running=!1,_e.effects.push.apply(_e.effects,pn),pn=null,ef(!0);return}}const n=pn;pn=null,n.length&&er(()=>mp(n),!1),t&&t()}function _p(e){for(let t=0;t<e.length;t++)kl(e[t])}function dE(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:kl(r)}if(Be.context){if(Be.count){Be.effects||(Be.effects=[]),Be.effects.push(...e.slice(0,n));return}na()}for(Be.effects&&(Be.done||!Be.count)&&(e=[...Be.effects,...e],n+=Be.effects.length,delete Be.effects),t=0;t<n;t++)kl(e[t])}function Ol(e,t){const n=_e&&_e.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){const a=e.sources[r];if(a.sources){const i=n?a.tState:a.state;i===fr?a!==t&&(!a.updatedAt||a.updatedAt<tu)&&kl(a):i===es&&Ol(a,t)}}}function Tp(e){const t=_e&&_e.running;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];(t?!r.tState:!r.state)&&(t?r.tState=es:r.state=es,r.pure?Sn.push(r):pn.push(r),r.observers&&Tp(r))}}function ka(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),r=e.sourceSlots.pop(),a=n.observers;if(a&&a.length){const i=a.pop(),o=n.observerSlots.pop();r<a.length&&(i.sourceSlots[o]=r,a[r]=i,n.observerSlots[r]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)ka(e.tOwned[t]);delete e.tOwned}if(_e&&_e.running&&e.pure)Sp(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)ka(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}_e&&_e.running?e.tState=0:e.state=0}function Sp(e,t){if(t||(e.tState=0,_e.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)Sp(e.owned[n])}function cl(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function nf(e,t,n){try{for(const r of t)r(e)}catch(r){Es(r,n&&n.owner||null)}}function Es(e,t=Ke){const n=jo&&t&&t.context&&t.context[jo],r=cl(e);if(!n)throw r;pn?pn.push({fn(){nf(r,n,t)},state:fr}):nf(r,n,t)}function Xc(e){if(typeof e=="function"&&!e.length)return Xc(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=Xc(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function fE(e,t){return function(r){let a;return Ln(()=>a=Ct(()=>(Ke.context={...Ke.context,[e]:r.value},da(()=>r.children))),void 0),a}}const Qc=Symbol("fallback");function Il(e){for(let t=0;t<e.length;t++)e[t]()}function hE(e,t,n={}){let r=[],a=[],i=[],o=0,s=t.length>1?[]:null;return wt(()=>Il(i)),()=>{let l=e()||[],u=l.length,d,c;return l[Jo],Ct(()=>{let p,g,b,m,x,v,y,w,O;if(u===0)o!==0&&(Il(i),i=[],r=[],a=[],o=0,s&&(s=[])),n.fallback&&(r=[Qc],a[0]=ra(T=>(i[0]=T,n.fallback())),o=1);else if(o===0){for(a=new Array(u),c=0;c<u;c++)r[c]=l[c],a[c]=ra(f);o=u}else{for(b=new Array(u),m=new Array(u),s&&(x=new Array(u)),v=0,y=Math.min(o,u);v<y&&r[v]===l[v];v++);for(y=o-1,w=u-1;y>=v&&w>=v&&r[y]===l[w];y--,w--)b[w]=a[y],m[w]=i[y],s&&(x[w]=s[y]);for(p=new Map,g=new Array(w+1),c=w;c>=v;c--)O=l[c],d=p.get(O),g[c]=d===void 0?-1:d,p.set(O,c);for(d=v;d<=y;d++)O=r[d],c=p.get(O),c!==void 0&&c!==-1?(b[c]=a[d],m[c]=i[d],s&&(x[c]=s[d]),c=g[c],p.set(O,c)):i[d]();for(c=v;c<u;c++)c in b?(a[c]=b[c],i[c]=m[c],s&&(s[c]=x[c],s[c](c))):a[c]=ra(f);a=a.slice(0,o=u),r=l.slice(0)}return a});function f(p){if(i[c]=p,s){const[g,b]=Ne(c);return s[c]=b,t(l[c],g)}return t(l[c])}}}function gE(e,t,n={}){let r=[],a=[],i=[],o=[],s=0,l;return wt(()=>Il(i)),()=>{const u=e()||[],d=u.length;return u[Jo],Ct(()=>{if(d===0)return s!==0&&(Il(i),i=[],r=[],a=[],s=0,o=[]),n.fallback&&(r=[Qc],a[0]=ra(f=>(i[0]=f,n.fallback())),s=1),a;for(r[0]===Qc&&(i[0](),i=[],r=[],a=[],s=0),l=0;l<d;l++)l<r.length&&r[l]!==u[l]?o[l](()=>u[l]):l>=r.length&&(a[l]=ra(c));for(;l<r.length;l++)i[l]();return s=o.length=i.length=d,r=u.slice(0),a=a.slice(0,s)});function c(f){i[l]=f;const[p,g]=Ne(u[l]);return o[l]=g,t(p,l)}}}function _(e,t){return Ct(()=>e(t||{}))}function qs(){return!0}const Zc={get(e,t,n){return t===Ir?n:e.get(t)},has(e,t){return t===Ir?!0:e.has(t)},set:qs,deleteProperty:qs,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:qs,deleteProperty:qs}},ownKeys(e){return e.keys()}};function ic(e){return(e=typeof e=="function"?e():e)?e:{}}function pE(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function K(...e){let t=!1;for(let o=0;o<e.length;o++){const s=e[o];t=t||!!s&&Ir in s,e[o]=typeof s=="function"?(t=!0,ze(s)):s}if(pp&&t)return new Proxy({get(o){for(let s=e.length-1;s>=0;s--){const l=ic(e[s])[o];if(l!==void 0)return l}},has(o){for(let s=e.length-1;s>=0;s--)if(o in ic(e[s]))return!0;return!1},keys(){const o=[];for(let s=0;s<e.length;s++)o.push(...Object.keys(ic(e[s])));return[...new Set(o)]}},Zc);const n={},r=Object.create(null);for(let o=e.length-1;o>=0;o--){const s=e[o];if(!s)continue;const l=Object.getOwnPropertyNames(s);for(let u=l.length-1;u>=0;u--){const d=l[u];if(d==="__proto__"||d==="constructor")continue;const c=Object.getOwnPropertyDescriptor(s,d);if(!r[d])r[d]=c.get?{enumerable:!0,configurable:!0,get:pE.bind(n[d]=[c.get.bind(s)])}:c.value!==void 0?c:void 0;else{const f=n[d];f&&(c.get?f.push(c.get.bind(s)):c.value!==void 0&&f.push(()=>c.value))}}}const a={},i=Object.keys(r);for(let o=i.length-1;o>=0;o--){const s=i[o],l=r[s];l&&l.get?Object.defineProperty(a,s,l):a[s]=l?l.value:void 0}return a}function de(e,...t){if(pp&&Ir in e){const a=new Set(t.length>1?t.flat():t[0]),i=t.map(o=>new Proxy({get(s){return o.includes(s)?e[s]:void 0},has(s){return o.includes(s)&&s in e},keys(){return o.filter(s=>s in e)}},Zc));return i.push(new Proxy({get(o){return a.has(o)?void 0:e[o]},has(o){return a.has(o)?!1:o in e},keys(){return Object.keys(e).filter(o=>!a.has(o))}},Zc)),i}const n={},r=t.map(()=>({}));for(const a of Object.getOwnPropertyNames(e)){const i=Object.getOwnPropertyDescriptor(e,a),o=!i.get&&!i.set&&i.enumerable&&i.writable&&i.configurable;let s=!1,l=0;for(const u of t)u.includes(a)&&(s=!0,o?r[l][a]=i.value:Object.defineProperty(r[l],a,i)),++l;s||(o?n[a]=i.value:Object.defineProperty(n,a,i))}return[...r,n]}function nu(e){let t,n;const r=a=>{const i=Be.context;if(i){const[s,l]=Ne();Be.count||(Be.count=0),Be.count++,(n||(n=e())).then(u=>{!Be.done&&na(i),Be.count--,l(()=>u.default),na()}),t=s}else if(!t){const[s]=V0(()=>(n||(n=e())).then(l=>l.default));t=s}let o;return ze(()=>(o=t())?Ct(()=>{if(!i||Be.done)return o(a);const s=Be.context;na(i);const l=o(a);return na(s),l}):"")};return r.preload=()=>n||((n=e()).then(a=>t=()=>a.default),n),r}let mE=0;function tr(){return Be.context?Be.getNextContextId():"cl-".concat(mE++)}const Cp=e=>"Stale read from <".concat(e,">.");function Zi(e){const t="fallback"in e&&{fallback:()=>e.fallback};return ze(hE(()=>e.each,e.children,t||void 0))}function iM(e){const t="fallback"in e&&{fallback:()=>e.fallback};return ze(gE(()=>e.each,e.children,t||void 0))}function Re(e){const t=e.keyed,n=ze(()=>e.when,void 0,void 0),r=t?n:ze(n,void 0,{equals:(a,i)=>!a==!i});return ze(()=>{const a=r();if(a){const i=e.children;return typeof i=="function"&&i.length>0?Ct(()=>i(t?a:()=>{if(!Ct(r))throw Cp("Show");return n()})):i}return e.fallback},void 0,void 0)}function ru(e){const t=da(()=>e.children),n=ze(()=>{const r=t(),a=Array.isArray(r)?r:[r];let i=()=>{};for(let o=0;o<a.length;o++){const s=o,l=a[o],u=i,d=ze(()=>u()?void 0:l.when,void 0,void 0),c=l.keyed?d:ze(d,void 0,{equals:(f,p)=>!f==!p});i=()=>u()||(c()?[s,d,l]:void 0)}return i});return ze(()=>{const r=n()();if(!r)return e.fallback;const[a,i,o]=r,s=o.children;return typeof s=="function"&&s.length>0?Ct(()=>s(o.keyed?i():()=>{var u;if(((u=Ct(n)())==null?void 0:u[0])!==a)throw Cp("Match");return i()})):s},void 0,void 0)}function ia(e){return e}let Ii;function xE(){Ii&&[...Ii].forEach(e=>e())}function bE(e){let t;Be.context&&Be.load&&(t=Be.load(Be.getContextId()));const[n,r]=Ne(t,void 0);return Ii||(Ii=new Set),Ii.add(r),wt(()=>Ii.delete(r)),ze(()=>{let a;if(a=n()){const i=e.fallback;return typeof i=="function"&&i.length?Ct(()=>i(a,()=>r())):i}return oE(()=>e.children,r)},void 0,void 0)}const EE=Nt();function yE(e){let t=0,n,r,a,i,o;const[s,l]=Ne(!1),u=uE(),d={increment:()=>{++t===1&&l(!0)},decrement:()=>{--t===0&&l(!1)},inFallback:s,effects:[],resolved:!1},c=Al();if(Be.context&&Be.load){const g=Be.getContextId();let b=Be.load(g);if(b&&(typeof b!="object"||b.s!==1?a=b:Be.gather(g)),a&&a!=="$$f"){const[m,x]=Ne(void 0,{equals:!1});i=m,a.then(()=>{if(Be.done)return x();Be.gather(g),na(r),x(),na()},v=>{o=v,x()})}}const f=It(EE);f&&(n=f.register(d.inFallback));let p;return wt(()=>p&&p()),_(u.Provider,{value:d,get children(){return ze(()=>{if(o)throw o;if(r=Be.context,i)return i(),i=void 0;r&&a==="$$f"&&na();const g=ze(()=>e.children);return ze(b=>{const m=d.inFallback(),{showContent:x=!0,showFallback:v=!0}=n?n():{};if((!m||a&&a!=="$$f")&&x)return d.resolved=!0,p&&p(),p=r=a=void 0,lE(d.effects),g();if(v)return p?b:ra(y=>(p=y,r&&(na({id:r.id+"F",count:0}),r=void 0),e.fallback),c)})})}})}const vE=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],_E=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline",...vE]),TE=new Set(["innerHTML","textContent","innerText","children"]),SE=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),CE=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});function wE(e,t){const n=CE[e];return typeof n=="object"?n[t]?n.$:void 0:n}const AE=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),kE=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),OE={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},la=e=>ze(()=>e());function IE(e,t,n){let r=n.length,a=t.length,i=r,o=0,s=0,l=t[a-1].nextSibling,u=null;for(;o<a||s<i;){if(t[o]===n[s]){o++,s++;continue}for(;t[a-1]===n[i-1];)a--,i--;if(a===o){const d=i<r?s?n[s-1].nextSibling:n[i-s]:l;for(;s<i;)e.insertBefore(n[s++],d)}else if(i===s)for(;o<a;)(!u||!u.has(t[o]))&&t[o].remove(),o++;else if(t[o]===n[i-1]&&n[s]===t[a-1]){const d=t[--a].nextSibling;e.insertBefore(n[s++],t[o++].nextSibling),e.insertBefore(n[--i],d),t[a]=n[i]}else{if(!u){u=new Map;let c=s;for(;c<i;)u.set(n[c],c++)}const d=u.get(t[o]);if(d!=null)if(s<d&&d<i){let c=o,f=1,p;for(;++c<a&&c<i&&!((p=u.get(t[c]))==null||p!==d+f);)f++;if(f>d-s){const g=t[o];for(;s<d;)e.insertBefore(n[s++],g)}else e.replaceChild(n[s++],t[o++])}else o++;else t[o++].remove()}}}const rf="_$DX_DELEGATE";function NE(e,t,n,r={}){let a;return ra(i=>{a=i,t===document?e():ua(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{a(),t.textContent=""}}function Bt(e,t,n,r){let a;const i=()=>{const s=document.createElement("template");return s.innerHTML=e,n?s.content.firstChild.firstChild:s.content.firstChild},o=t?()=>Ct(()=>document.importNode(a||(a=i()),!0)):()=>(a||(a=i())).cloneNode(!0);return o.cloneNode=o,o}function wp(e,t=window.document){const n=t[rf]||(t[rf]=new Set);for(let r=0,a=e.length;r<a;r++){const i=e[r];n.has(i)||(n.add(i),t.addEventListener(i,UE))}}function ft(e,t,n){hi(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function LE(e,t,n,r){hi(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}function RE(e,t,n){hi(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function Ap(e,t){hi(e)||(t==null?e.removeAttribute("class"):e.className=t)}function DE(e,t,n,r){if(r)Array.isArray(n)?(e["$$".concat(t)]=n[0],e["$$".concat(t,"Data")]=n[1]):e["$$".concat(t)]=n;else if(Array.isArray(n)){const a=n[0];e.addEventListener(t,n[0]=i=>a.call(e,n[1],i))}else e.addEventListener(t,n,typeof n!="function"&&n)}function PE(e,t,n={}){const r=Object.keys(t||{}),a=Object.keys(n);let i,o;for(i=0,o=a.length;i<o;i++){const s=a[i];!s||s==="undefined"||t[s]||(af(e,s,!1),delete n[s])}for(i=0,o=r.length;i<o;i++){const s=r[i],l=!!t[s];!s||s==="undefined"||n[s]===l||!l||(af(e,s,!0),n[s]=l)}return n}function ME(e,t,n){if(!t)return n?ft(e,"style"):t;const r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let a,i;for(i in n)t[i]==null&&r.removeProperty(i),delete n[i];for(i in t)a=t[i],a!==n[i]&&(r.setProperty(i,a),n[i]=a);return n}function G0(e,t={},n,r){const a={};return r||Ln(()=>a.children=ns(e,t.children,a.children)),Ln(()=>typeof t.ref=="function"&&BE(t.ref,e)),Ln(()=>$E(e,t,n,!0,a,!0)),a}function BE(e,t,n){return Ct(()=>e(t,n))}function ua(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return ns(e,t,r,n);Ln(a=>ns(e,t(),a,n),r)}function $E(e,t,n,r,a={},i=!1){t||(t={});for(const o in a)if(!(o in t)){if(o==="children")continue;a[o]=of(e,o,null,a[o],n,i,t)}for(const o in t){if(o==="children")continue;const s=t[o];a[o]=of(e,o,s,a[o],n,i,t)}}function FE(e){let t,n;return!hi()||!(t=Be.registry.get(n=zE()))?e():(Be.completed&&Be.completed.add(t),Be.registry.delete(n),t)}function hi(e){return!!Be.context&&!Be.done&&(!e||e.isConnected)}function HE(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function af(e,t,n){const r=t.trim().split(/\s+/);for(let a=0,i=r.length;a<i;a++)e.classList.toggle(r[a],n)}function of(e,t,n,r,a,i,o){let s,l,u,d,c;if(t==="style")return ME(e,n,r);if(t==="classList")return PE(e,n,r);if(n===r)return r;if(t==="ref")i||n(e);else if(t.slice(0,3)==="on:"){const f=t.slice(3);r&&e.removeEventListener(f,r,typeof r!="function"&&r),n&&e.addEventListener(f,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const f=t.slice(10);r&&e.removeEventListener(f,r,!0),n&&e.addEventListener(f,n,!0)}else if(t.slice(0,2)==="on"){const f=t.slice(2).toLowerCase(),p=AE.has(f);if(!p&&r){const g=Array.isArray(r)?r[0]:r;e.removeEventListener(f,g)}(p||n)&&(DE(e,f,n,p),p&&wp([f]))}else if(t.slice(0,5)==="attr:")ft(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")RE(e,t.slice(5),n);else if((c=t.slice(0,5)==="prop:")||(u=TE.has(t))||!a&&((d=wE(t,e.tagName))||(l=_E.has(t)))||(s=e.nodeName.includes("-")||"is"in o)){if(c)t=t.slice(5),l=!0;else if(hi(e))return n;t==="class"||t==="className"?Ap(e,n):s&&!l&&!u?e[HE(t)]=n:e[d||t]=n}else{const f=a&&t.indexOf(":")>-1&&OE[t.split(":")[0]];f?LE(e,f,t,n):ft(e,SE[t]||t,n)}return n}function UE(e){if(Be.registry&&Be.events&&Be.events.find(([l,u])=>u===e))return;let t=e.target;const n="$$".concat(e.type),r=e.target,a=e.currentTarget,i=l=>Object.defineProperty(e,"target",{configurable:!0,value:l}),o=()=>{const l=t[n];if(l&&!t.disabled){const u=t["".concat(n,"Data")];if(u!==void 0?l.call(t,u,e):l.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&i(t.host),!0},s=()=>{for(;o()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),Be.registry&&!Be.done&&(Be.done=_$HY.done=!0),e.composedPath){const l=e.composedPath();i(l[0]);for(let u=0;u<l.length-2&&(t=l[u],!!o());u++){if(t._$host){t=t._$host,s();break}if(t.parentNode===a)break}}else s();i(r)}function ns(e,t,n,r,a){const i=hi(e);if(i){!n&&(n=[...e.childNodes]);let l=[];for(let u=0;u<n.length;u++){const d=n[u];d.nodeType===8&&d.data.slice(0,2)==="!$"?d.remove():l.push(d)}n=l}for(;typeof n=="function";)n=n();if(t===n)return n;const o=typeof t,s=r!==void 0;if(e=s&&n[0]&&n[0].parentNode||e,o==="string"||o==="number"){if(i||o==="number"&&(t=t.toString(),t===n))return n;if(s){let l=n[0];l&&l.nodeType===3?l.data!==t&&(l.data=t):l=document.createTextNode(t),n=Ti(e,n,r,l)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||o==="boolean"){if(i)return n;n=Ti(e,n,r)}else{if(o==="function")return Ln(()=>{let l=t();for(;typeof l=="function";)l=l();n=ns(e,l,n,r)}),()=>n;if(Array.isArray(t)){const l=[],u=n&&Array.isArray(n);if(Jc(l,t,n,a))return Ln(()=>n=ns(e,l,n,r,!0)),()=>n;if(i){if(!l.length)return n;if(r===void 0)return n=[...e.childNodes];let d=l[0];if(d.parentNode!==e)return n;const c=[d];for(;(d=d.nextSibling)!==r;)c.push(d);return n=c}if(l.length===0){if(n=Ti(e,n,r),s)return n}else u?n.length===0?sf(e,l,r):IE(e,n,l):(n&&Ti(e),sf(e,l));n=l}else if(t.nodeType){if(i&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=Ti(e,n,r,t);Ti(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function Jc(e,t,n,r){let a=!1;for(let i=0,o=t.length;i<o;i++){let s=t[i],l=n&&n[e.length],u;if(!(s==null||s===!0||s===!1))if((u=typeof s)=="object"&&s.nodeType)e.push(s);else if(Array.isArray(s))a=Jc(e,s,l)||a;else if(u==="function")if(r){for(;typeof s=="function";)s=s();a=Jc(e,Array.isArray(s)?s:[s],Array.isArray(l)?l:[l])||a}else e.push(s),a=!0;else{const d=String(s);l&&l.nodeType===3&&l.data===d?e.push(l):e.push(document.createTextNode(d))}}return a}function sf(e,t,n=null){for(let r=0,a=t.length;r<a;r++)e.insertBefore(t[r],n)}function Ti(e,t,n,r){if(n===void 0)return e.textContent="";const a=r||document.createTextNode("");if(t.length){let i=!1;for(let o=t.length-1;o>=0;o--){const s=t[o];if(a!==s){const l=s.parentNode===e;!i&&!o?l?e.replaceChild(a,s):e.insertBefore(a,n):l&&s.remove()}else i=!0}}else e.insertBefore(a,n);return[a]}function zE(){return Be.getNextContextId()}const kp=!1,jE="http://www.w3.org/2000/svg";function Op(e,t=!1){return t?document.createElementNS(jE,e):document.createElement(e)}function Ra(e){const{useShadow:t}=e,n=document.createTextNode(""),r=()=>e.mount||document.body,a=Al();let i,o=!!Be.context;return Kt(()=>{o&&(Al().user=o=!1),i||(i=q0(a,()=>ze(()=>e.children)));const s=r();if(s instanceof HTMLHeadElement){const[l,u]=Ne(!1),d=()=>u(!0);ra(c=>ua(s,()=>l()?c():i(),null)),wt(d)}else{const l=Op(e.isSVG?"g":"div",e.isSVG),u=t&&l.attachShadow?l.attachShadow({mode:"open"}):l;Object.defineProperty(l,"_$host",{get(){return n.parentNode},configurable:!0}),ua(u,i),s.appendChild(l),e.ref&&e.ref(l),wt(()=>s.removeChild(l))}},void 0,{render:!o}),n}function WE(e,t){const n=ze(e);return ze(()=>{const r=n();switch(typeof r){case"function":return Ct(()=>r(t));case"string":const a=kE.has(r),i=Be.context?FE():Op(r,a);return G0(i,t,a),i}})}function K0(e){const[,t]=de(e,["component"]);return WE(()=>e.component,t)}function VE(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}function qE([e,t],n,r){return[e,r?a=>t(r(a)):t]}function GE(e){if(e==="#")return null;try{return document.querySelector(e)}catch(t){return null}}function KE(e,t){const n=GE("#".concat(e));n?n.scrollIntoView():t&&window.scrollTo(0,0)}function YE(e,t,n,r){let a=!1;const i=s=>typeof s=="string"?{value:s}:s,o=qE(Ne(i(e()),{equals:(s,l)=>s.value===l.value}),void 0,s=>(!a&&t(s),s));return n&&wt(n((s=e())=>{a=!0,o[1](i(s)),a=!1})),{signal:o,utils:r}}function XE(e){if(e){if(Array.isArray(e))return{signal:e}}else return{signal:Ne({value:""})};return e}function QE(){return YE(()=>({value:window.location.pathname+window.location.search+window.location.hash,state:history.state}),({value:e,replace:t,scroll:n,state:r})=>{t?window.history.replaceState(r,"",e):window.history.pushState(r,"",e),KE(window.location.hash.slice(1),n)},e=>VE(window,"popstate",()=>e()),{go:e=>window.history.go(e)})}function ZE(){let e=new Set;function t(a){return e.add(a),()=>e.delete(a)}let n=!1;function r(a,i){if(n)return!(n=!1);const o={to:a,options:i,defaultPrevented:!1,preventDefault:()=>o.defaultPrevented=!0};for(const s of e)s.listener({...o,from:s.location,retry:l=>{l&&(n=!0),s.navigate(a,i)}});return!o.defaultPrevented}return{subscribe:t,confirm:r}}const JE=/^(?:[a-z0-9]+:)?\/\//i,ey=/^\/+|(\/)\/+$/g;function ni(e,t=!1){const n=e.replace(ey,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function dl(e,t,n){if(JE.test(t))return;const r=ni(e),a=n&&ni(n);let i="";return!a||t.startsWith("/")?i=r:a.toLowerCase().indexOf(r.toLowerCase())!==0?i=r+a:i=a,(i||"/")+ni(t,!i)}function ty(e,t){if(e==null)throw new Error(t);return e}function Ip(e,t){return ni(e).replace(/\/*(\*.*)?$/g,"")+ni(t)}function ny(e){const t={};return e.searchParams.forEach((n,r)=>{t[r]=n}),t}function ry(e,t,n){const[r,a]=e.split("/*",2),i=r.split("/").filter(Boolean),o=i.length;return s=>{const l=s.split("/").filter(Boolean),u=l.length-o;if(u<0||u>0&&a===void 0&&!t)return null;const d={path:o?"":"/",params:{}},c=f=>n===void 0?void 0:n[f];for(let f=0;f<o;f++){const p=i[f],g=l[f],b=p[0]===":",m=b?p.slice(1):p;if(b&&oc(g,c(m)))d.params[m]=g;else if(b||!oc(g,p))return null;d.path+="/".concat(g)}if(a){const f=u?l.slice(-u).join("/"):"";if(oc(f,c(a)))d.params[a]=f;else return null}return d}}function oc(e,t){const n=r=>r.localeCompare(e,void 0,{sensitivity:"base"})===0;return t===void 0?!0:typeof t=="string"?n(t):typeof t=="function"?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp?t.test(e):!1}function ay(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce((a,i)=>a+(i.startsWith(":")?2:3),r.length-(n===void 0?0:1))}function Np(e){const t=new Map,n=Al();return new Proxy({},{get(r,a){return t.has(a)||q0(n,()=>t.set(a,ze(()=>e()[a]))),t.get(a)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(e())}})}function iy(e,t){const n=new URLSearchParams(e);Object.entries(t).forEach(([a,i])=>{i==null||i===""?n.delete(a):n.set(a,String(i))});const r=n.toString();return r?"?".concat(r):""}function Lp(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),r=e.slice(t.index+t[0].length);const a=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)a.push(n+=t[1]),r=r.slice(t[0].length);return Lp(r).reduce((i,o)=>[...i,...a.map(s=>s+o)],[])}const oy=100,Rp=Nt(),au=Nt(),Ji=()=>ty(It(Rp),"Make sure your app is wrapped in a <Router />");let rs;const iu=()=>rs||It(au)||Ji().base,sy=e=>{const t=iu();return ze(()=>t.resolvePath(e()))},ly=e=>{const t=Ji();return ze(()=>{const n=e();return n!==void 0?t.renderPath(n):n})},uy=()=>Ji().navigatorFactory(),Dp=()=>Ji().location,cy=()=>Ji().isRouting,dy=()=>iu().params;function fy(e,t="",n){const{component:r,data:a,children:i}=e,o=!i||Array.isArray(i)&&!i.length,s={key:e,element:r?()=>_(r,{}):()=>{const{element:l}=e;return l===void 0&&n?_(n,{}):l},preload:e.component?r.preload:e.preload,data:a};return Pp(e.path).reduce((l,u)=>{for(const d of Lp(u)){const c=Ip(t,d),f=o?c:c.split("/*",1)[0];l.push({...s,originalPath:d,pattern:f,matcher:ry(f,!o,e.matchFilters)})}return l},[])}function hy(e,t=0){return{routes:e,score:ay(e[e.length-1])*1e4-t,matcher(n){const r=[];for(let a=e.length-1;a>=0;a--){const i=e[a],o=i.matcher(n);if(!o)return null;r.unshift({...o,route:i})}return r}}}function Pp(e){return Array.isArray(e)?e:[e]}function Mp(e,t="",n,r=[],a=[]){const i=Pp(e);for(let o=0,s=i.length;o<s;o++){const l=i[o];if(l&&typeof l=="object"&&l.hasOwnProperty("path")){const u=fy(l,t,n);for(const d of u){r.push(d);const c=Array.isArray(l.children)&&l.children.length===0;if(l.children&&!c)Mp(l.children,d.pattern,n,r,a);else{const f=hy([...r],a.length);a.push(f)}r.pop()}}}return r.length?a:a.sort((o,s)=>s.score-o.score)}function gy(e,t){for(let n=0,r=e.length;n<r;n++){const a=e[n].matcher(t);if(a)return a}return[]}function py(e,t){const n=new URL("http://sar"),r=ze(l=>{const u=e();try{return new URL(u,n)}catch(d){return console.error("Invalid path ".concat(u)),l}},n,{equals:(l,u)=>l.href===u.href}),a=ze(()=>r().pathname),i=ze(()=>r().search,!0),o=ze(()=>r().hash),s=ze(()=>"");return{get pathname(){return a()},get search(){return i()},get hash(){return o()},get state(){return t()},get key(){return s()},query:Np(aa(i,()=>ny(r())))}}function my(e,t="",n,r){const{signal:[a,i],utils:o={}}=XE(e),s=o.parsePath||(M=>M),l=o.renderPath||(M=>M),u=o.beforeLeave||ZE(),d=dl("",t),c=void 0;if(d===void 0)throw new Error("".concat(d," is not a valid base path"));d&&!a().value&&i({value:d,replace:!0,scroll:!1});const[f,p]=Ne(!1),g=async M=>{p(!0);try{await bp(M)}finally{p(!1)}},[b,m]=Ne(a().value),[x,v]=Ne(a().state),y=py(b,x),w=[],O={pattern:d,params:{},path:()=>d,outlet:()=>null,resolvePath(M){return dl(d,M)}};if(n)try{rs=O,O.data=n({data:void 0,params:{},location:y,navigate:A(O)})}finally{rs=void 0}function T(M,D,B){Ct(()=>{if(typeof D=="number"){D&&(o.go?u.confirm(D,B)&&o.go(D):console.warn("Router integration does not support relative routing"));return}const{replace:V,resolve:J,scroll:ee,state:ue}={replace:!1,resolve:!0,scroll:!0,...B},me=J?M.resolvePath(D):dl("",D);if(me===void 0)throw new Error("Path '".concat(D,"' is not a routable path"));if(w.length>=oy)throw new Error("Too many redirects");const Le=b();if((me!==Le||ue!==x())&&!kp){if(u.confirm(me,B)){const re=w.push({value:Le,replace:V,scroll:ee,state:x()});g(()=>{m(me),v(ue),xE()}).then(()=>{w.length===re&&F({value:me,state:ue})})}}})}function A(M){return M=M||It(au)||O,(D,B)=>T(M,D,B)}function F(M){const D=w[0];D&&((M.value!==D.value||M.state!==D.state)&&i({...M,replace:D.replace,scroll:D.scroll}),w.length=0)}Ln(()=>{const{value:M,state:D}=a();Ct(()=>{M!==b()&&g(()=>{m(M),v(D)})})});{let M=function(D){if(D.defaultPrevented||D.button!==0||D.metaKey||D.altKey||D.ctrlKey||D.shiftKey)return;const B=D.composedPath().find(Le=>Le instanceof Node&&Le.nodeName.toUpperCase()==="A");if(!B||!B.hasAttribute("link"))return;const V=B.href;if(B.target||!V&&!B.hasAttribute("state"))return;const J=(B.getAttribute("rel")||"").split(/\s+/);if(B.hasAttribute("download")||J&&J.includes("external"))return;const ee=new URL(V);if(ee.origin!==window.location.origin||d&&ee.pathname&&!ee.pathname.toLowerCase().startsWith(d.toLowerCase()))return;const ue=s(ee.pathname+ee.search+ee.hash),me=B.getAttribute("state");D.preventDefault(),T(O,ue,{resolve:!1,replace:B.hasAttribute("replace"),scroll:!B.hasAttribute("noscroll"),state:me&&JSON.parse(me)})};wp(["click"]),document.addEventListener("click",M),wt(()=>document.removeEventListener("click",M))}return{base:O,out:c,location:y,isRouting:f,renderPath:l,parsePath:s,navigatorFactory:A,beforeLeave:u}}function xy(e,t,n,r,a){const{base:i,location:o,navigatorFactory:s}=e,{pattern:l,element:u,preload:d,data:c}=r().route,f=ze(()=>r().path);d&&d();const p={parent:t,pattern:l,get child(){return n()},path:f,params:a,data:t.data,outlet:u,resolvePath(g){return dl(i.path(),g,f())}};if(c)try{rs=p,p.data=c({data:t.data,params:a,location:o,navigate:s(p)})}finally{rs=void 0}return p}var by=Bt("<a link>");const Ey=e=>{const{source:t,url:n,base:r,data:a,out:i}=e,o=t||QE(),s=my(o,r,a);return _(Rp.Provider,{value:s,get children(){return e.children}})},yy=e=>{const t=Ji(),n=iu(),r=da(()=>e.children),a=ze(()=>Mp(r(),Ip(n.pattern,e.base||""),vy)),i=ze(()=>gy(a(),t.location.pathname)),o=Np(()=>{const d=i(),c={};for(let f=0;f<d.length;f++)Object.assign(c,d[f].params);return c});t.out&&t.out.matches.push(i().map(({route:d,path:c,params:f})=>({originalPath:d.originalPath,pattern:d.pattern,path:c,params:f})));const s=[];let l;const u=ze(aa(i,(d,c,f)=>{let p=c&&d.length===c.length;const g=[];for(let b=0,m=d.length;b<m;b++){const x=c&&c[b],v=d[b];f&&x&&v.route.key===x.route.key?g[b]=f[b]:(p=!1,s[b]&&s[b](),ra(y=>{s[b]=y,g[b]=xy(t,g[b-1]||n,()=>u()[b+1],()=>i()[b],o)}))}return s.splice(d.length).forEach(b=>b()),f&&p?f:(l=g[0],g)}));return _(Re,{get when(){return u()&&l},keyed:!0,children:d=>_(au.Provider,{value:d,get children(){return d.outlet()}})})},Gs=e=>{const t=da(()=>e.children);return K(e,{get children(){return t()}})},vy=()=>{const e=iu();return _(Re,{get when(){return e.child},keyed:!0,children:t=>_(au.Provider,{value:t,get children(){return t.outlet()}})})};function oM(e){e=K({inactiveClass:"inactive",activeClass:"active"},e);const[,t]=de(e,["href","state","class","activeClass","inactiveClass","end"]),n=sy(()=>e.href),r=ly(n),a=Dp(),i=ze(()=>{const o=n();if(o===void 0)return!1;const s=ni(o.split(/[?#]/,1)[0]).toLowerCase(),l=ni(a.pathname).toLowerCase();return e.end?s===l:l.startsWith(s)});return(()=>{var o=by();return G0(o,K(t,{get href(){return r()||e.href},get state(){return JSON.stringify(e.state)},get classList(){return{...e.class&&{[e.class]:!0},[e.inactiveClass]:!i(),[e.activeClass]:i(),...t.classList}},get"aria-current"(){return i()?"page":void 0}}),!1,!1),o})()}const Nl=Symbol("store-raw"),Pi=Symbol("store-node"),Zr=Symbol("store-has"),Bp=Symbol("store-self");function $p(e){let t=e[Ir];if(!t&&(Object.defineProperty(e,Ir,{value:t=new Proxy(e,Sy)}),!Array.isArray(e))){const n=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let a=0,i=n.length;a<i;a++){const o=n[a];r[o].get&&Object.defineProperty(e,o,{enumerable:r[o].enumerable,get:r[o].get.bind(t)})}}return t}function ji(e){let t;return e!=null&&typeof e=="object"&&(e[Ir]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function Wi(e,t=new Set){let n,r,a,i;if(n=e!=null&&e[Nl])return n;if(!ji(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let o=0,s=e.length;o<s;o++)a=e[o],(r=Wi(a,t))!==a&&(e[o]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const o=Object.keys(e),s=Object.getOwnPropertyDescriptors(e);for(let l=0,u=o.length;l<u;l++)i=o[l],!s[i].get&&(a=e[i],(r=Wi(a,t))!==a&&(e[i]=r))}return e}function Ll(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function as(e,t,n){if(e[t])return e[t];const[r,a]=Ne(n,{equals:!1,internal:!0});return r.$=a,e[t]=r}function _y(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===Ir||t===Pi||(delete n.value,delete n.writable,n.get=()=>e[Ir][t]),n}function Fp(e){Yc()&&as(Ll(e,Pi),Bp)()}function Ty(e){return Fp(e),Reflect.ownKeys(e)}const Sy={get(e,t,n){if(t===Nl)return e;if(t===Ir)return n;if(t===Jo)return Fp(e),n;const r=Ll(e,Pi),a=r[t];let i=a?a():e[t];if(t===Pi||t===Zr||t==="__proto__")return i;if(!a){const o=Object.getOwnPropertyDescriptor(e,t);Yc()&&(typeof i!="function"||e.hasOwnProperty(t))&&!(o&&o.get)&&(i=as(r,t,i)())}return ji(i)?$p(i):i},has(e,t){return t===Nl||t===Ir||t===Jo||t===Pi||t===Zr||t==="__proto__"?!0:(Yc()&&as(Ll(e,Zr),t)(),t in e)},set(){return!0},deleteProperty(){return!0},ownKeys:Ty,getOwnPropertyDescriptor:_y};function Vi(e,t,n,r=!1){if(!r&&e[t]===n)return;const a=e[t],i=e.length;n===void 0?(delete e[t],e[Zr]&&e[Zr][t]&&a!==void 0&&e[Zr][t].$()):(e[t]=n,e[Zr]&&e[Zr][t]&&a===void 0&&e[Zr][t].$());let o=Ll(e,Pi),s;if((s=as(o,t,a))&&s.$(()=>n),Array.isArray(e)&&e.length!==i){for(let l=e.length;l<i;l++)(s=o[l])&&s.$();(s=as(o,"length",i))&&s.$(e.length)}(s=o[Bp])&&s.$()}function Hp(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const a=n[r];Vi(e,a,t[a])}}function Cy(e,t){if(typeof t=="function"&&(t=t(e)),t=Wi(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){const a=t[n];e[n]!==a&&Vi(e,n,a)}Vi(e,"length",r)}else Hp(e,t)}function Mo(e,t,n=[]){let r,a=e;if(t.length>1){r=t.shift();const o=typeof r,s=Array.isArray(e);if(Array.isArray(r)){for(let l=0;l<r.length;l++)Mo(e,[r[l]].concat(t),n);return}else if(s&&o==="function"){for(let l=0;l<e.length;l++)r(e[l],l)&&Mo(e,[l].concat(t),n);return}else if(s&&o==="object"){const{from:l=0,to:u=e.length-1,by:d=1}=r;for(let c=l;c<=u;c+=d)Mo(e,[c].concat(t),n);return}else if(t.length>1){Mo(e[r],t,[r].concat(n));return}a=e[r],n=[r].concat(n)}let i=t[0];typeof i=="function"&&(i=i(a,n),i===a)||r===void 0&&i==null||(i=Wi(i),r===void 0||ji(a)&&ji(i)&&!Array.isArray(i)?Hp(a,i):Vi(e,r,i))}function Cn(...[e,t]){const n=Wi(e||{}),r=Array.isArray(n),a=$p(n);function i(...o){ts(()=>{r&&o.length===1?Cy(n,o[0]):Mo(n,o)})}return[a,i]}const Rl=new WeakMap,Up={get(e,t){if(t===Nl)return e;const n=e[t];let r;return ji(n)?Rl.get(n)||(Rl.set(n,r=new Proxy(n,Up)),r):n},set(e,t,n){return Vi(e,t,Wi(n)),!0},deleteProperty(e,t){return Vi(e,t,void 0,!0),!0}};function zp(e){return t=>{if(ji(t)){let n;(n=Rl.get(t))||Rl.set(t,n=new Proxy(t,Up)),e(n)}return t}}var St="colors",On="sizes",Ie="space",jp={gap:Ie,gridGap:Ie,columnGap:Ie,gridColumnGap:Ie,rowGap:Ie,gridRowGap:Ie,inset:Ie,insetBlock:Ie,insetBlockEnd:Ie,insetBlockStart:Ie,insetInline:Ie,insetInlineEnd:Ie,insetInlineStart:Ie,margin:Ie,marginTop:Ie,marginRight:Ie,marginBottom:Ie,marginLeft:Ie,marginBlock:Ie,marginBlockEnd:Ie,marginBlockStart:Ie,marginInline:Ie,marginInlineEnd:Ie,marginInlineStart:Ie,padding:Ie,paddingTop:Ie,paddingRight:Ie,paddingBottom:Ie,paddingLeft:Ie,paddingBlock:Ie,paddingBlockEnd:Ie,paddingBlockStart:Ie,paddingInline:Ie,paddingInlineEnd:Ie,paddingInlineStart:Ie,top:Ie,right:Ie,bottom:Ie,left:Ie,scrollMargin:Ie,scrollMarginTop:Ie,scrollMarginRight:Ie,scrollMarginBottom:Ie,scrollMarginLeft:Ie,scrollMarginX:Ie,scrollMarginY:Ie,scrollMarginBlock:Ie,scrollMarginBlockEnd:Ie,scrollMarginBlockStart:Ie,scrollMarginInline:Ie,scrollMarginInlineEnd:Ie,scrollMarginInlineStart:Ie,scrollPadding:Ie,scrollPaddingTop:Ie,scrollPaddingRight:Ie,scrollPaddingBottom:Ie,scrollPaddingLeft:Ie,scrollPaddingX:Ie,scrollPaddingY:Ie,scrollPaddingBlock:Ie,scrollPaddingBlockEnd:Ie,scrollPaddingBlockStart:Ie,scrollPaddingInline:Ie,scrollPaddingInlineEnd:Ie,scrollPaddingInlineStart:Ie,fontSize:"fontSizes",background:St,backgroundColor:St,backgroundImage:St,borderImage:St,border:St,borderBlock:St,borderBlockEnd:St,borderBlockStart:St,borderBottom:St,borderBottomColor:St,borderColor:St,borderInline:St,borderInlineEnd:St,borderInlineStart:St,borderLeft:St,borderLeftColor:St,borderRight:St,borderRightColor:St,borderTop:St,borderTopColor:St,caretColor:St,color:St,columnRuleColor:St,fill:St,outline:St,outlineColor:St,stroke:St,textDecorationColor:St,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:On,minBlockSize:On,maxBlockSize:On,inlineSize:On,minInlineSize:On,maxInlineSize:On,width:On,minWidth:On,maxWidth:On,height:On,minHeight:On,maxHeight:On,flexBasis:On,gridTemplateColumns:On,gridTemplateRows:On,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},wy=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,ys=()=>{const e=Object.create(null);return(t,n,...r)=>{const a=(i=>JSON.stringify(i,wy))(t);return a in e?e[a]:e[a]=n(t,...r)}},fl=Symbol.for("sxs.internal"),Y0=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),lf=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:Ay}=Object.prototype,e0=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),ky=/\s+(?![^()]*\))/,Si=e=>t=>e(...typeof t=="string"?String(t).split(ky):[t]),uf={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:'"'.concat(e,'"')}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:Si((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:Si((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:Si((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:Si((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:Si((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:Si((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},sc=/([\d.]+)([^]*)/,Oy=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(a=>a.includes("&")?a.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(a)?":is(".concat(r,")"):r):r+" "+a)),n),[]):t,Iy=(e,t)=>e in Ny&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,a,i)=>r+(a==="stretch"?"-moz-available".concat(i,";").concat(e0(e),":").concat(r,"-webkit-fill-available"):"-moz-fit-content".concat(i,";").concat(e0(e),":").concat(r,"fit-content"))+i):String(t),Ny={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},ca=e=>e?e+"-":"",Wp=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,a,i,o,s)=>o=="$"==!!i?r:(a||o=="--"?"calc(":"")+"var(--"+(o==="$"?ca(t)+(s.includes("$")?"":ca(n))+s.replace(/\$/g,"-"):s)+")"+(a||o=="--"?"*"+(a||"")+(i||"1")+")":"")),Ly=/\s*,\s*(?![^()]*\))/,Ry=Object.prototype.toString,Ni=(e,t,n,r,a)=>{let i,o,s;const l=(u,d,c)=>{let f,p;const g=b=>{for(f in b){const v=f.charCodeAt(0)===64,y=v&&Array.isArray(b[f])?b[f]:[b[f]];for(p of y){const w=/[A-Z]/.test(x=f)?x:x.replace(/-[^]/g,T=>T[1].toUpperCase()),O=typeof p=="object"&&p&&p.toString===Ry&&(!r.utils[w]||!d.length);if(w in r.utils&&!O){const T=r.utils[w];if(T!==o){o=T,g(T(p)),o=null;continue}}else if(w in uf){const T=uf[w];if(T!==s){s=T,g(T(p)),s=null;continue}}if(v&&(m=f.slice(1)in r.media?"@media "+r.media[f.slice(1)]:f,f=m.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(T,A,F,M,D,B)=>{const V=sc.test(A),J=.0625*(V?-1:1),[ee,ue]=V?[M,A]:[A,M];return"("+(F[0]==="="?"":F[0]===">"===V?"max-":"min-")+ee+":"+(F[0]!=="="&&F.length===1?ue.replace(sc,(me,Le,re)=>Number(Le)+J*(F===">"?1:-1)+re):ue)+(D?") and ("+(D[0]===">"?"min-":"max-")+ee+":"+(D.length===1?B.replace(sc,(me,Le,re)=>Number(Le)+J*(D===">"?-1:1)+re):B):"")+")"})),O){const T=v?c.concat(f):[...c],A=v?[...d]:Oy(d,f.split(Ly));i!==void 0&&a(cf(...i)),i=void 0,l(p,A,T)}else i===void 0&&(i=[[],d,c]),f=v||f.charCodeAt(0)!==36?f:"--".concat(ca(r.prefix)).concat(f.slice(1).replace(/\$/g,"-")),p=O?p:typeof p=="number"?p&&w in Dy?String(p)+"px":String(p):Wp(Iy(w,p==null?"":p),r.prefix,r.themeMap[w]),i[0].push("".concat(v?"".concat(f," "):"".concat(e0(f),":")).concat(p))}}var m,x};g(u),i!==void 0&&a(cf(...i)),i=void 0};l(e,t,n)},cf=(e,t,n)=>"".concat(n.map(r=>"".concat(r,"{")).join("")).concat(t.length?"".concat(t.join(","),"{"):"").concat(e.join(";")).concat(t.length?"}":"").concat(Array(n.length?n.length+1:0).join("}")),Dy={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},df=e=>String.fromCharCode(e+(e>25?39:97)),ri=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=df(n%52)+r;return df(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),Bo=["themed","global","styled","onevar","resonevar","allvar","inline"],Py=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(t){return!1}},My=e=>{let t;const n=()=>{const{cssRules:a}=t.sheet;return[].map.call(a,(i,o)=>{const{cssText:s}=i;let l="";if(s.startsWith("--sxs"))return"";if(a[o-1]&&(l=a[o-1].cssText).startsWith("--sxs")){if(!i.cssRules.length)return"";for(const u in t.rules)if(t.rules[u].group===i)return"--sxs{--sxs:".concat([...t.rules[u].cache].join(" "),"}").concat(s);return i.cssRules.length?"".concat(l).concat(s):""}return s}).join("")},r=()=>{if(t){const{rules:s,sheet:l}=t;if(!l.deleteRule){for(;Object(Object(l.cssRules)[0]).type===3;)l.cssRules.splice(0,1);l.cssRules=[]}for(const u in s)delete s[u]}const a=Object(e).styleSheets||[];for(const s of a)if(Py(s)){for(let l=0,u=s.cssRules;u[l];++l){const d=Object(u[l]);if(d.type!==1)continue;const c=Object(u[l+1]);if(c.type!==4)continue;++l;const{cssText:f}=d;if(!f.startsWith("--sxs"))continue;const p=f.slice(14,-3).trim().split(/\s+/),g=Bo[p[0]];g&&(t||(t={sheet:s,reset:r,rules:{},toString:n}),t.rules[g]={group:c,index:l,cache:new Set(p)})}if(t)break}if(!t){const s=(l,u)=>({type:u,cssRules:[],insertRule(d,c){this.cssRules.splice(c,0,s(d,{import:3,undefined:1}[(d.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return l==="@media{}"?"@media{".concat([].map.call(this.cssRules,d=>d.cssText).join(""),"}"):l}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:o}=t;for(let s=Bo.length-1;s>=0;--s){const l=Bo[s];if(!o[l]){const u=Bo[s+1],d=o[u]?o[u].index:i.cssRules.length;i.insertRule("@media{}",d),i.insertRule("--sxs{--sxs:".concat(s,"}"),d),o[l]={group:i.cssRules[d+1],index:d,cache:new Set([s])}}By(o[l])}};return r(),t},By=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch(a){}}},To=Symbol(),$y=ys(),Fy=(e,t)=>$y(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const a of n)if(a!=null)if(a[fl]){r.type==null&&(r.type=a[fl].type);for(const i of a[fl].composers)r.composers.add(i)}else a.constructor!==Object||a.$$typeof?r.type==null&&(r.type=a):r.composers.add(Hy(a,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),Uy(e,r,t)}),Hy=({variants:e,compoundVariants:t,defaultVariants:n,...r},a)=>{const i="".concat(ca(a.prefix),"c-").concat(ri(r)),o=[],s=[],l=Object.create(null),u=[];for(const f in n)l[f]=String(n[f]);if(typeof e=="object"&&e)for(const f in e){d=l,c=f,Ay.call(d,c)||(l[f]="undefined");const p=e[f];for(const g in p){const b={[f]:String(g)};String(g)==="undefined"&&u.push(f);const m=p[g],x=[b,m,!lf(m)];o.push(x)}}var d,c;if(typeof t=="object"&&t)for(const f of t){let{css:p,...g}=f;p=typeof p=="object"&&p||{};for(const m in g)g[m]=String(g[m]);const b=[g,p,!lf(p)];s.push(b)}return[i,r,o,s,l,u]},Uy=(e,t,n)=>{const[r,a,i,o]=zy(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(c=>{function f(){for(let p=0;p<f[To].length;p++){const[g,b]=f[To][p];c.rules[g].apply(b)}return f[To]=[],null}return f[To]=[],f.rules={},Bo.forEach(p=>f.rules[p]={apply:g=>f[To].push([p,g])}),f})(n):null,l=(s||n).rules,u=".".concat(r).concat(a.length>1?":where(.".concat(a.slice(1).join("."),")"):""),d=c=>{c=typeof c=="object"&&c||jy;const{css:f,...p}=c,g={};for(const x in i)if(delete p[x],x in c){let v=c[x];typeof v=="object"&&v?g[x]={"@initial":i[x],...v}:(v=String(v),g[x]=v!=="undefined"||o.has(x)?v:i[x])}else g[x]=i[x];const b=new Set([...a]);for(const[x,v,y,w]of t.composers){n.rules.styled.cache.has(x)||(n.rules.styled.cache.add(x),Ni(v,[".".concat(x)],[],e,A=>{l.styled.apply(A)}));const O=ff(y,g,e.media),T=ff(w,g,e.media,!0);for(const A of O)if(A!==void 0)for(const[F,M,D]of A){const B="".concat(x,"-").concat(ri(M),"-").concat(F);b.add(B);const V=(D?n.rules.resonevar:n.rules.onevar).cache,J=D?l.resonevar:l.onevar;V.has(B)||(V.add(B),Ni(M,[".".concat(B)],[],e,ee=>{J.apply(ee)}))}for(const A of T)if(A!==void 0)for(const[F,M]of A){const D="".concat(x,"-").concat(ri(M),"-").concat(F);b.add(D),n.rules.allvar.cache.has(D)||(n.rules.allvar.cache.add(D),Ni(M,[".".concat(D)],[],e,B=>{l.allvar.apply(B)}))}}if(typeof f=="object"&&f){const x="".concat(r,"-i").concat(ri(f),"-css");b.add(x),n.rules.inline.cache.has(x)||(n.rules.inline.cache.add(x),Ni(f,[".".concat(x)],[],e,v=>{l.inline.apply(v)}))}for(const x of String(c.className||"").trim().split(/\s+/))x&&b.add(x);const m=p.className=[...b].join(" ");return{type:t.type,className:m,selector:u,props:p,toString:()=>m,deferredInjector:s}};return Y0(d,{className:r,selector:u,[fl]:t,toString:()=>(n.rules.styled.cache.has(r)||d(),r)})},zy=e=>{let t="";const n=[],r={},a=[];for(const[i,,,,o,s]of e){t===""&&(t=i),n.push(i),a.push(...s);for(const l in o){const u=o[l];(r[l]===void 0||u!=="undefined"||s.includes(u))&&(r[l]=u)}}return[t,n,r,new Set(a)]},ff=(e,t,n,r)=>{const a=[];e:for(let[i,o,s]of e){if(s)continue;let l,u=0,d=!1;for(l in i){const c=i[l];let f=t[l];if(f!==c){if(typeof f!="object"||!f)continue e;{let p,g,b=0;for(const m in f){if(c===String(f[m])){if(m!=="@initial"){const x=m.slice(1);(g=g||[]).push(x in n?n[x]:m.replace(/^@media ?/,"")),d=!0}u+=b,p=!0}++b}if(g&&g.length&&(o={["@media "+g.join(", ")]:o}),!p)continue e}}}(a[u]=a[u]||[]).push([r?"cv":"".concat(l,"-").concat(i[l]),o,d])}return a},jy={},Wy=ys(),Vy=(e,t)=>Wy(e,()=>(...n)=>{const r=()=>{for(let a of n){a=typeof a=="object"&&a||{};let i=ri(a);if(!t.rules.global.cache.has(i)){if(t.rules.global.cache.add(i),"@import"in a){let o=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(a["@import"]))s=s.includes('"')||s.includes("'")?s:'"'.concat(s,'"'),t.sheet.insertRule("@import ".concat(s,";"),o++);delete a["@import"]}Ni(a,[],[],e,o=>{t.rules.global.apply(o)})}}return""};return Y0(r,{toString:r})}),qy=ys(),Gy=(e,t)=>qy(e,()=>n=>{const r="".concat(ca(e.prefix),"k-").concat(ri(n)),a=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const i=[];Ni(n,[],[],e,s=>i.push(s));const o="@keyframes ".concat(r,"{").concat(i.join(""),"}");t.rules.global.apply(o)}return r};return Y0(a,{get name(){return a()},toString:a})}),Ky=class{constructor(e,t,n,r){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=n==null?"":String(n),this.prefix=r==null?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+ca(this.prefix)+ca(this.scale)+this.token}toString(){return this.computedValue}},Yy=ys(),Xy=(e,t)=>Yy(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const a=".".concat(n=(n=typeof n=="string"?n:"")||"".concat(ca(e.prefix),"t-").concat(ri(r))),i={},o=[];for(const l in r){i[l]={};for(const u in r[l]){const d="--".concat(ca(e.prefix)).concat(l,"-").concat(u),c=Wp(String(r[l][u]),e.prefix,l);i[l][u]=new Ky(u,c,l,e.prefix),o.push("".concat(d,":").concat(c))}}const s=()=>{if(o.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const l="".concat(r===e.theme?":root,":"",".").concat(n,"{").concat(o.join(";"),"}");t.rules.themed.apply(l)}return n};return{...i,get className(){return s()},selector:a,toString:s}}),Qy=ys(),Zy=e=>{let t=!1;const n=Qy(e,r=>{t=!0;const a="prefix"in(r=typeof r=="object"&&r||{})?String(r.prefix):"",i=typeof r.media=="object"&&r.media||{},o=typeof r.root=="object"?r.root||null:globalThis.document||null,s=typeof r.theme=="object"&&r.theme||{},l={prefix:a,media:i,theme:s,themeMap:typeof r.themeMap=="object"&&r.themeMap||{...jp},utils:typeof r.utils=="object"&&r.utils||{}},u=My(o),d={css:Fy(l,u),globalCss:Vy(l,u),keyframes:Gy(l,u),createTheme:Xy(l,u),reset(){u.reset(),d.theme.toString()},theme:{},sheet:u,config:l,prefix:a,getCssText:u.toString,toString:u.toString};return String(d.theme=d.createTheme(s)),d});return t||n.reset(),n},Ks=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function sM(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var $o={exports:{}};$o.exports;var hf;function Jy(){return hf||(hf=1,function(e,t){var n=200,r="__lodash_hash_undefined__",a=800,i=16,o=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",c="[object Date]",f="[object Error]",p="[object Function]",g="[object GeneratorFunction]",b="[object Map]",m="[object Number]",x="[object Null]",v="[object Object]",y="[object Proxy]",w="[object RegExp]",O="[object Set]",T="[object String]",A="[object Undefined]",F="[object WeakMap]",M="[object ArrayBuffer]",D="[object DataView]",B="[object Float32Array]",V="[object Float64Array]",J="[object Int8Array]",ee="[object Int16Array]",ue="[object Int32Array]",me="[object Uint8Array]",Le="[object Uint8ClampedArray]",re="[object Uint16Array]",Fe="[object Uint32Array]",ke=/[\\^$.*+?()[\]{}|]/g,C=/^\[object .+?Constructor\]$/,R=/^(?:0|[1-9]\d*)$/,xe={};xe[B]=xe[V]=xe[J]=xe[ee]=xe[ue]=xe[me]=xe[Le]=xe[re]=xe[Fe]=!0,xe[s]=xe[l]=xe[M]=xe[d]=xe[D]=xe[c]=xe[f]=xe[p]=xe[b]=xe[m]=xe[v]=xe[w]=xe[O]=xe[T]=xe[F]=!1;var $e=typeof Ks=="object"&&Ks&&Ks.Object===Object&&Ks,bt=typeof self=="object"&&self&&self.Object===Object&&self,nt=$e||bt||Function("return this")(),rt=t&&!t.nodeType&&t,lt=rt&&!0&&e&&!e.nodeType&&e,Et=lt&<.exports===rt,ie=Et&&$e.process,Ce=function(){try{var L=lt&<.require&<.require("util").types;return L||ie&&ie.binding&&ie.binding("util")}catch(H){}}(),Qe=Ce&&Ce.isTypedArray;function ht(L,H,q){switch(q.length){case 0:return L.call(H);case 1:return L.call(H,q[0]);case 2:return L.call(H,q[0],q[1]);case 3:return L.call(H,q[0],q[1],q[2])}return L.apply(H,q)}function Dn(L,H){for(var q=-1,Pe=Array(L);++q<L;)Pe[q]=H(q);return Pe}function xr(L){return function(H){return L(H)}}function We(L,H){return L==null?void 0:L[H]}function fn(L,H){return function(q){return L(H(q))}}var qn=Array.prototype,br=Function.prototype,Xt=Object.prototype,bn=nt["__core-js_shared__"],Pn=br.toString,cn=Xt.hasOwnProperty,kn=function(){var L=/[^.]+$/.exec(bn&&bn.keys&&bn.keys.IE_PROTO||"");return L?"Symbol(src)_1."+L:""}(),nr=Xt.toString,Rr=Pn.call(Object),Q=RegExp("^"+Pn.call(cn).replace(ke,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=Et?nt.Buffer:void 0,I=nt.Symbol,te=nt.Uint8Array;z&&z.allocUnsafe;var oe=fn(Object.getPrototypeOf,Object),we=Object.create,qt=Xt.propertyIsEnumerable,Yt=qn.splice,$t=I?I.toStringTag:void 0,hn=function(){try{var L=Pr(Object,"defineProperty");return L({},"",{}),L}catch(H){}}(),_t=z?z.isBuffer:void 0,rr=Math.max,ct=Date.now,ma=Pr(nt,"Map"),Er=Pr(Object,"create"),Gr=function(){function L(){}return function(H){if(!Fa(H))return{};if(we)return we(H);L.prototype=H;var q=new L;return L.prototype=void 0,q}}();function Kr(L){var H=-1,q=L==null?0:L.length;for(this.clear();++H<q;){var Pe=L[H];this.set(Pe[0],Pe[1])}}function mo(){this.__data__=Er?Er(null):{},this.size=0}function Hs(L){var H=this.has(L)&&delete this.__data__[L];return this.size-=H?1:0,H}function Zu(L){var H=this.__data__;if(Er){var q=H[L];return q===r?void 0:q}return cn.call(H,L)?H[L]:void 0}function Ju(L){var H=this.__data__;return Er?H[L]!==void 0:cn.call(H,L)}function Us(L,H){var q=this.__data__;return this.size+=this.has(L)?0:1,q[L]=Er&&H===void 0?r:H,this}Kr.prototype.clear=mo,Kr.prototype.delete=Hs,Kr.prototype.get=Zu,Kr.prototype.has=Ju,Kr.prototype.set=Us;function ar(L){var H=-1,q=L==null?0:L.length;for(this.clear();++H<q;){var Pe=L[H];this.set(Pe[0],Pe[1])}}function zs(){this.__data__=[],this.size=0}function xo(L){var H=this.__data__,q=ve(H,L);if(q<0)return!1;var Pe=H.length-1;return q==Pe?H.pop():Yt.call(H,q,1),--this.size,!0}function js(L){var H=this.__data__,q=ve(H,L);return q<0?void 0:H[q][1]}function yi(L){return ve(this.__data__,L)>-1}function yr(L,H){var q=this.__data__,Pe=ve(q,L);return Pe<0?(++this.size,q.push([L,H])):q[Pe][1]=H,this}ar.prototype.clear=zs,ar.prototype.delete=xo,ar.prototype.get=js,ar.prototype.has=yi,ar.prototype.set=yr;function Dr(L){var H=-1,q=L==null?0:L.length;for(this.clear();++H<q;){var Pe=L[H];this.set(Pe[0],Pe[1])}}function ec(){this.size=0,this.__data__={hash:new Kr,map:new(ma||ar),string:new Kr}}function tc(L){var H=ir(this,L).delete(L);return this.size-=H?1:0,H}function Ws(L){return ir(this,L).get(L)}function Vs(L){return ir(this,L).has(L)}function E(L,H){var q=ir(this,L),Pe=q.size;return q.set(L,H),this.size+=q.size==Pe?0:1,this}Dr.prototype.clear=ec,Dr.prototype.delete=tc,Dr.prototype.get=Ws,Dr.prototype.has=Vs,Dr.prototype.set=E;function S(L){var H=this.__data__=new ar(L);this.size=H.size}function $(){this.__data__=new ar,this.size=0}function W(L){var H=this.__data__,q=H.delete(L);return this.size=H.size,q}function ae(L){return this.__data__.get(L)}function U(L){return this.__data__.has(L)}function ne(L,H){var q=this.__data__;if(q instanceof ar){var Pe=q.__data__;if(!ma||Pe.length<n-1)return Pe.push([L,H]),this.size=++q.size,this;q=this.__data__=new Dr(Pe)}return q.set(L,H),this.size=q.size,this}S.prototype.clear=$,S.prototype.delete=W,S.prototype.get=ae,S.prototype.has=U,S.prototype.set=ne;function Z(L,H){var q=dt(L),Pe=!q&&pt(L),ut=!q&&!Pe&&or(L),kt=!q&&!Pe&&!ut&&Yd(L),jt=q||Pe||ut||kt,mt=jt?Dn(L.length,String):[],Wt=mt.length;for(var Tr in L)jt&&(Tr=="length"||ut&&(Tr=="offset"||Tr=="parent")||kt&&(Tr=="buffer"||Tr=="byteLength"||Tr=="byteOffset")||ot(Tr,Wt))||mt.push(Tr);return mt}function fe(L,H,q){(q!==void 0&&!Ue(L[H],q)||q===void 0&&!(H in L))&&Ae(L,H,q)}function ye(L,H,q){var Pe=L[H];(!(cn.call(L,H)&&Ue(Pe,q))||q===void 0&&!(H in L))&&Ae(L,H,q)}function ve(L,H){for(var q=L.length;q--;)if(Ue(L[q][0],H))return q;return-1}function Ae(L,H,q){H=="__proto__"&&hn?hn(L,H,{configurable:!0,enumerable:!0,value:q,writable:!0}):L[H]=q}var je=nn();function it(L){return L==null?L===void 0?A:x:$t&&$t in Object(L)?vr(L):At(L)}function Ge(L){return vo(L)&&it(L)==s}function Lt(L){if(!Fa(L)||qe(L))return!1;var H=Ba(L)?Q:C;return H.test(Oe(L))}function En(L){return vo(L)&&$a(L.length)&&!!xe[it(L)]}function yn(L){if(!Fa(L))return rn(L);var H=bo(L),q=[];for(var Pe in L)Pe=="constructor"&&(H||!cn.call(L,Pe))||q.push(Pe);return q}function tn(L,H,q,Pe,ut){L!==H&&je(H,function(kt,jt){if(ut||(ut=new S),Fa(kt))Te(L,H,jt,q,tn,Pe,ut);else{var mt=Pe?Pe(_r(L,jt),kt,jt+"",L,H,ut):void 0;mt===void 0&&(mt=kt),fe(L,jt,mt)}},Xd)}function Te(L,H,q,Pe,ut,kt,jt){var mt=_r(L,q),Wt=_r(H,q),Tr=jt.get(Wt);if(Tr){fe(L,q,Tr);return}var Gn=kt?kt(mt,Wt,q+"",L,H,jt):void 0,_o=Gn===void 0;if(_o){var nc=dt(Wt),rc=!nc&&or(Wt),Zd=!nc&&!rc&&Yd(Wt);Gn=Wt,nc||rc||Zd?dt(mt)?Gn=mt:vn(mt)?Gn=zt(mt):rc?(_o=!1,Gn=Rt(Wt)):Zd?(_o=!1,Gn=gt(Wt)):Gn=[]:Z6(Wt)||pt(Wt)?(Gn=mt,pt(mt)?Gn=J6(mt):(!Fa(mt)||Ba(mt))&&(Gn=xa(Wt))):_o=!1}_o&&(jt.set(Wt,Gn),ut(Gn,Wt,Pe,kt,jt),jt.delete(Wt)),fe(L,q,Gn)}function De(L,H){return Eo(_i(L,H,Qd),L+"")}var Ve=hn?function(L,H){return hn(L,"toString",{configurable:!0,enumerable:!1,value:tE(H),writable:!0})}:Qd;function Rt(L,H){return L.slice()}function Tt(L){var H=new L.constructor(L.byteLength);return new te(H).set(new te(L)),H}function gt(L,H){var q=Tt(L.buffer);return new L.constructor(q,L.byteOffset,L.length)}function zt(L,H){var q=-1,Pe=L.length;for(H||(H=Array(Pe));++q<Pe;)H[q]=L[q];return H}function Gt(L,H,q,Pe){var ut=!q;q||(q={});for(var kt=-1,jt=H.length;++kt<jt;){var mt=H[kt],Wt=void 0;Wt===void 0&&(Wt=L[mt]),ut?Ae(q,mt,Wt):ye(q,mt,Wt)}return q}function yt(L){return De(function(H,q){var Pe=-1,ut=q.length,kt=ut>1?q[ut-1]:void 0,jt=ut>2?q[2]:void 0;for(kt=L.length>3&&typeof kt=="function"?(ut--,kt):void 0,jt&&vi(q[0],q[1],jt)&&(kt=ut<3?void 0:kt,ut=1),H=Object(H);++Pe<ut;){var mt=q[Pe];mt&&L(H,mt,Pe,kt)}return H})}function nn(L){return function(H,q,Pe){for(var ut=-1,kt=Object(H),jt=Pe(H),mt=jt.length;mt--;){var Wt=jt[++ut];if(q(kt[Wt],Wt,kt)===!1)break}return H}}function ir(L,H){var q=L.__data__;return ba(H)?q[typeof H=="string"?"string":"hash"]:q.map}function Pr(L,H){var q=We(L,H);return Lt(q)?q:void 0}function vr(L){var H=cn.call(L,$t),q=L[$t];try{L[$t]=void 0;var Pe=!0}catch(kt){}var ut=nr.call(L);return Pe&&(H?L[$t]=q:delete L[$t]),ut}function xa(L){return typeof L.constructor=="function"&&!bo(L)?Gr(oe(L)):{}}function ot(L,H){var q=typeof L;return H=H==null?o:H,!!H&&(q=="number"||q!="symbol"&&R.test(L))&&L>-1&&L%1==0&&L<H}function vi(L,H,q){if(!Fa(q))return!1;var Pe=typeof H;return(Pe=="number"?vt(q)&&ot(H,q.length):Pe=="string"&&H in q)?Ue(q[H],L):!1}function ba(L){var H=typeof L;return H=="string"||H=="number"||H=="symbol"||H=="boolean"?L!=="__proto__":L===null}function qe(L){return!!kn&&kn in L}function bo(L){var H=L&&L.constructor,q=typeof H=="function"&&H.prototype||Xt;return L===q}function rn(L){var H=[];if(L!=null)for(var q in Object(L))H.push(q);return H}function At(L){return nr.call(L)}function _i(L,H,q){return H=rr(H===void 0?L.length-1:H,0),function(){for(var Pe=arguments,ut=-1,kt=rr(Pe.length-H,0),jt=Array(kt);++ut<kt;)jt[ut]=Pe[H+ut];ut=-1;for(var mt=Array(H+1);++ut<H;)mt[ut]=Pe[ut];return mt[H]=q(jt),ht(L,this,mt)}}function _r(L,H){if(!(H==="constructor"&&typeof L[H]=="function")&&H!="__proto__")return L[H]}var Eo=yo(Ve);function yo(L){var H=0,q=0;return function(){var Pe=ct(),ut=i-(Pe-q);if(q=Pe,ut>0){if(++H>=a)return arguments[0]}else H=0;return L.apply(void 0,arguments)}}function Oe(L){if(L!=null){try{return Pn.call(L)}catch(H){}try{return L+""}catch(H){}}return""}function Ue(L,H){return L===H||L!==L&&H!==H}var pt=Ge(function(){return arguments}())?Ge:function(L){return vo(L)&&cn.call(L,"callee")&&!qt.call(L,"callee")},dt=Array.isArray;function vt(L){return L!=null&&$a(L.length)&&!Ba(L)}function vn(L){return vo(L)&&vt(L)}var or=_t||nE;function Ba(L){if(!Fa(L))return!1;var H=it(L);return H==p||H==g||H==u||H==y}function $a(L){return typeof L=="number"&&L>-1&&L%1==0&&L<=o}function Fa(L){var H=typeof L;return L!=null&&(H=="object"||H=="function")}function vo(L){return L!=null&&typeof L=="object"}function Z6(L){if(!vo(L)||it(L)!=v)return!1;var H=oe(L);if(H===null)return!0;var q=cn.call(H,"constructor")&&H.constructor;return typeof q=="function"&&q instanceof q&&Pn.call(q)==Rr}var Yd=Qe?xr(Qe):En;function J6(L){return Gt(L,Xd(L))}function Xd(L){return vt(L)?Z(L):yn(L)}var eE=yt(function(L,H,q){tn(L,H,q)});function tE(L){return function(){return L}}function Qd(L){return L}function nE(){return!1}e.exports=eE}($o,$o.exports)),$o.exports}var ev=Jy();const gf=vs(ev),tv=()=>{},pf=(e,t)=>t();function Vp(e,t){const n=Ct(e),r=n?[n]:[],{onEnter:a=pf,onExit:i=pf}=t,[o,s]=Ne(t.appear?[]:r),[l]=Ep();let u,d=!1;function c(g,b){if(!g)return b&&b();d=!0,i(g,()=>{ts(()=>{d=!1,s(m=>m.filter(x=>x!==g)),b&&b()})})}function f(g){const b=u;if(!b)return g&&g();u=void 0,s(m=>[b,...m]),a(b,g!=null?g:tv)}const p=t.mode==="out-in"?g=>d||c(g,f):t.mode==="in-out"?g=>f(()=>c(g)):g=>{c(g),f()};return Kc(g=>{const b=e();return Ct(l)?(l(),g):(b!==g&&(u=b,ts(()=>Ct(()=>p(g)))),b)},t.appear?void 0:n),o}function nv(e,t){const n=Ct(e),{onChange:r}=t;let a=new Set(t.appear?void 0:n);const i=new WeakSet,[o,s]=Ne([],{equals:!1}),[l]=Ep(),u=c=>{s(f=>(f.push.apply(f,c),f));for(const f of c)i.delete(f)},d=(c,f,p)=>c.splice(p,0,f);return ze(c=>{const f=o(),p=e();if(p[Jo],Ct(l))return l(),c;if(f.length){const g=c.filter(b=>!f.includes(b));return f.length=0,r({list:g,added:[],removed:[],unchanged:g,finishRemoved:u}),g}return Ct(()=>{const g=new Set(p),b=p.slice(),m=[],x=[],v=[];for(const w of p)(a.has(w)?v:m).push(w);let y=!m.length;for(let w=0;w<c.length;w++){const O=c[w];g.has(O)||(i.has(O)||(x.push(O),i.add(O)),d(b,O,w)),y&&O!==b[w]&&(y=!1)}return!x.length&&y?c:(r({list:b,added:m,removed:x,unchanged:v,finishRemoved:u}),a=g,b)})},t.appear?[]:n.slice())}function rv(e,t,n){if(Be.context){const[r,a]=Ne(e,n);return Rn(()=>a(()=>t())),[r,a]}return Ne(t(),n)}const av=rv,Dl=e=>e instanceof Element;function t0(e,t){if(t(e))return e;if(typeof e=="function"&&!e.length)return t0(e(),t);if(Array.isArray(e)){const n=[];for(const r of e){const a=t0(r,t);a&&(Array.isArray(a)?n.push.apply(n,a):n.push(a))}return n.length?n:null}return null}function iv(e,t=Dl,n=Dl){const r=ze(e),a=ze(()=>t0(r(),t));return a.toArray=()=>{const i=a();return Array.isArray(i)?i:i?[i]:[]},a}function n0(e,t){if(t(e))return e;if(typeof e=="function"&&!e.length)return n0(e(),t);if(Array.isArray(e))for(const n of e){const r=n0(n,t);if(r)return r}return null}function qp(e,t=Dl,n=Dl){const r=ze(e);return ze(()=>n0(r(),t))}function Gp(e){return ze(()=>{const t=e.name||"s";return{enterActive:(e.enterActiveClass||t+"-enter-active").split(" "),enter:(e.enterClass||t+"-enter").split(" "),enterTo:(e.enterToClass||t+"-enter-to").split(" "),exitActive:(e.exitActiveClass||t+"-exit-active").split(" "),exit:(e.exitClass||t+"-exit").split(" "),exitTo:(e.exitToClass||t+"-exit-to").split(" "),move:(e.moveClass||t+"-move").split(" ")}})}function Kp(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function Yp(e,t,n,r){const{onBeforeEnter:a,onEnter:i,onAfterEnter:o}=t;a==null||a(n),n.classList.add(...e.enter),n.classList.add(...e.enterActive),queueMicrotask(()=>{if(!n.parentNode)return r==null?void 0:r();i==null||i(n,()=>s())}),Kp(()=>{n.classList.remove(...e.enter),n.classList.add(...e.enterTo),(!i||i.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))});function s(l){(!l||l.target===n)&&(r==null||r(),n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...e.enterActive),n.classList.remove(...e.enterTo),o==null||o(n))}}function Xp(e,t,n,r){const{onBeforeExit:a,onExit:i,onAfterExit:o}=t;if(!n.parentNode)return r==null?void 0:r();a==null||a(n),n.classList.add(...e.exit),n.classList.add(...e.exitActive),i==null||i(n,()=>s()),Kp(()=>{n.classList.remove(...e.exit),n.classList.add(...e.exitTo),(!i||i.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))});function s(l){(!l||l.target===n)&&(r==null||r(),n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...e.exitActive),n.classList.remove(...e.exitTo),o==null||o(n))}}const ov={inout:"in-out",outin:"out-in"},Da=e=>{const t=Gp(e);return Vp(qp(()=>e.children),{mode:ov[e.mode],appear:e.appear,onEnter(n,r){Yp(t(),e,n,r)},onExit(n,r){Xp(t(),e,n,r)}})},sv=e=>{const t=Gp(e);return nv(iv(()=>e.children).toArray,{appear:e.appear,onChange({added:n,removed:r,finishRemoved:a,list:i}){const o=t();for(const l of n)Yp(o,e,l);const s=[];for(const l of i)l.isConnected&&(l instanceof HTMLElement||l instanceof SVGElement)&&s.push({el:l,rect:l.getBoundingClientRect()});queueMicrotask(()=>{const l=[];for(const{el:u,rect:d}of s)if(u.isConnected){const c=u.getBoundingClientRect(),f=d.left-c.left,p=d.top-c.top;(f||p)&&(u.style.transform="translate(".concat(f,"px, ").concat(p,"px)"),u.style.transitionDuration="0s",l.push(u))}document.body.offsetHeight;for(const u of l){let d=function(c){(c.target===u||/transform$/.test(c.propertyName))&&(u.removeEventListener("transitionend",d),u.classList.remove(...o.move))};u.classList.add(...o.move),u.style.transform=u.style.transitionDuration="",u.addEventListener("transitionend",d)}});for(const l of r)Xp(o,e,l,()=>a([l]))}})};/*!
|
|
3
|
+
* tabbable 5.3.3
|
|
4
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5
|
+
*/var Qp=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Pl=Qp.join(","),Zp=typeof Element>"u",ci=Zp?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,r0=!Zp&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},Jp=function(t,n,r){var a=Array.prototype.slice.apply(t.querySelectorAll(Pl));return n&&ci.call(t,Pl)&&a.unshift(t),a=a.filter(r),a},e1=function e(t,n,r){for(var a=[],i=Array.from(t);i.length;){var o=i.shift();if(o.tagName==="SLOT"){var s=o.assignedElements(),l=s.length?s:o.children,u=e(l,!0,r);r.flatten?a.push.apply(a,u):a.push({scope:o,candidates:u})}else{var d=ci.call(o,Pl);d&&r.filter(o)&&(n||!t.includes(o))&&a.push(o);var c=o.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(o),f=!r.shadowRootFilter||r.shadowRootFilter(o);if(c&&f){var p=e(c===!0?o.children:c.children,!0,r);r.flatten?a.push.apply(a,p):a.push({scope:o,candidates:p})}else i.unshift.apply(i,o.children)}}return a},t1=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},lv=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},n1=function(t){return t.tagName==="INPUT"},uv=function(t){return n1(t)&&t.type==="hidden"},cv=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},dv=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},fv=function(t){if(!t.name)return!0;var n=t.form||r0(t),r=function(s){return n.querySelectorAll('input[type="radio"][name="'+s+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=r(window.CSS.escape(t.name));else try{a=r(t.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var i=dv(a,t.form);return!i||i===t},hv=function(t){return n1(t)&&t.type==="radio"},gv=function(t){return hv(t)&&!fv(t)},mf=function(t){var n=t.getBoundingClientRect(),r=n.width,a=n.height;return r===0&&a===0},pv=function(t,n){var r=n.displayCheck,a=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var i=ci.call(t,"details>summary:first-of-type"),o=i?t.parentElement:t;if(ci.call(o,"details:not([open]) *"))return!0;var s=r0(t).host,l=(s==null?void 0:s.ownerDocument.contains(s))||t.ownerDocument.contains(t);if(!r||r==="full"){if(typeof a=="function"){for(var u=t;t;){var d=t.parentElement,c=r0(t);if(d&&!d.shadowRoot&&a(d)===!0)return mf(t);t.assignedSlot?t=t.assignedSlot:!d&&c!==t.ownerDocument?t=c.host:t=d}t=u}if(l)return!t.getClientRects().length}else if(r==="non-zero-area")return mf(t);return!1},mv=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var a=n.children.item(r);if(a.tagName==="LEGEND")return ci.call(n,"fieldset[disabled] *")?!0:!a.contains(t)}return!0}n=n.parentElement}return!1},Ml=function(t,n){return!(n.disabled||uv(n)||pv(n,t)||cv(n)||mv(n))},a0=function(t,n){return!(gv(n)||t1(n)<0||!Ml(t,n))},xv=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},bv=function e(t){var n=[],r=[];return t.forEach(function(a,i){var o=!!a.scope,s=o?a.scope:a,l=t1(s,o),u=o?e(a.candidates):s;l===0?o?n.push.apply(n,u):n.push(s):r.push({documentOrder:i,tabIndex:l,item:a,isScope:o,content:u})}),r.sort(lv).reduce(function(a,i){return i.isScope?a.push.apply(a,i.content):a.push(i.content),a},[]).concat(n)},Ev=function(t,n){n=n||{};var r;return n.getShadowRoot?r=e1([t],n.includeContainer,{filter:a0.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:xv}):r=Jp(t,n.includeContainer,a0.bind(null,n)),bv(r)},yv=function(t,n){n=n||{};var r;return n.getShadowRoot?r=e1([t],n.includeContainer,{filter:Ml.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=Jp(t,n.includeContainer,Ml.bind(null,n)),r},Ys=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ci.call(t,Pl)===!1?!1:a0(n,t)},vv=Qp.concat("iframe").join(","),lc=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ci.call(t,vv)===!1?!1:Ml(n,t)};/*!
|
|
6
|
+
* focus-trap 6.7.3
|
|
7
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
8
|
+
*/function xf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function _v(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xf(Object(n),!0).forEach(function(r){Tv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Tv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bf=function(){var e=[];return{activateTrap:function(n){if(e.length>0){var r=e[e.length-1];r!==n&&r.pause()}var a=e.indexOf(n);a===-1||e.splice(a,1),e.push(n)},deactivateTrap:function(n){var r=e.indexOf(n);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}}}(),Sv=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Cv=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},wv=function(t){return t.key==="Tab"||t.keyCode===9},Ef=function(t){return setTimeout(t,0)},uc=function(t,n){var r=-1;return t.every(function(a,i){return n(a)?(r=i,!1):!0}),r},So=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return typeof t=="function"?t.apply(void 0,r):t},Xs=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},r1=function(t,n){var r=(n==null?void 0:n.document)||document,a=_v({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),i={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},o,s=function(T,A,F){return T&&T[A]!==void 0?T[A]:a[F||A]},l=function(T){return!!(T&&i.containers.some(function(A){return A.contains(T)}))},u=function(T){var A=a[T];if(typeof A=="function"){for(var F=arguments.length,M=new Array(F>1?F-1:0),D=1;D<F;D++)M[D-1]=arguments[D];A=A.apply(void 0,M)}if(!A){if(A===void 0||A===!1)return A;throw new Error("`".concat(T,"` was specified but was not a node, or did not return a node"))}var B=A;if(typeof A=="string"&&(B=r.querySelector(A),!B))throw new Error("`".concat(T,"` as selector refers to no known node"));return B},d=function(){var T=u("initialFocus");if(T===!1)return!1;if(T===void 0)if(l(r.activeElement))T=r.activeElement;else{var A=i.tabbableGroups[0],F=A&&A.firstTabbableNode;T=F||u("fallbackFocus")}if(!T)throw new Error("Your focus-trap needs to have at least one focusable element");return T},c=function(){if(i.tabbableGroups=i.containers.map(function(T){var A=Ev(T),F=yv(T);if(A.length>0)return{container:T,firstTabbableNode:A[0],lastTabbableNode:A[A.length-1],nextTabbableNode:function(D){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,V=F.findIndex(function(J){return J===D});return B?F.slice(V+1).find(function(J){return Ys(J)}):F.slice(0,V).reverse().find(function(J){return Ys(J)})}}}).filter(function(T){return!!T}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},f=function O(T){if(T!==!1&&T!==r.activeElement){if(!T||!T.focus){O(d());return}T.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=T,Sv(T)&&T.select()}},p=function(T){var A=u("setReturnFocus",T);return A||(A===!1?!1:T)},g=function(T){var A=Xs(T);if(!l(A)){if(So(a.clickOutsideDeactivates,T)){o.deactivate({returnFocus:a.returnFocusOnDeactivate&&!lc(A)});return}So(a.allowOutsideClick,T)||T.preventDefault()}},b=function(T){var A=Xs(T),F=l(A);F||A instanceof Document?F&&(i.mostRecentlyFocusedNode=A):(T.stopImmediatePropagation(),f(i.mostRecentlyFocusedNode||d()))},m=function(T){var A=Xs(T);c();var F=null;if(i.tabbableGroups.length>0){var M=uc(i.tabbableGroups,function(Le){var re=Le.container;return re.contains(A)}),D=M>=0?i.tabbableGroups[M]:void 0;if(M<0)T.shiftKey?F=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:F=i.tabbableGroups[0].firstTabbableNode;else if(T.shiftKey){var B=uc(i.tabbableGroups,function(Le){var re=Le.firstTabbableNode;return A===re});if(B<0&&(D.container===A||lc(A)&&!Ys(A)&&!D.nextTabbableNode(A,!1))&&(B=M),B>=0){var V=B===0?i.tabbableGroups.length-1:B-1,J=i.tabbableGroups[V];F=J.lastTabbableNode}}else{var ee=uc(i.tabbableGroups,function(Le){var re=Le.lastTabbableNode;return A===re});if(ee<0&&(D.container===A||lc(A)&&!Ys(A)&&!D.nextTabbableNode(A))&&(ee=M),ee>=0){var ue=ee===i.tabbableGroups.length-1?0:ee+1,me=i.tabbableGroups[ue];F=me.firstTabbableNode}}}else F=u("fallbackFocus");F&&(T.preventDefault(),f(F))},x=function(T){if(Cv(T)&&So(a.escapeDeactivates,T)!==!1){T.preventDefault(),o.deactivate();return}if(wv(T)){m(T);return}},v=function(T){if(!So(a.clickOutsideDeactivates,T)){var A=Xs(T);l(A)||So(a.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())}},y=function(){if(i.active)return bf.activateTrap(o),i.delayInitialFocusTimer=a.delayInitialFocus?Ef(function(){f(d())}):f(d()),r.addEventListener("focusin",b,!0),r.addEventListener("mousedown",g,{capture:!0,passive:!1}),r.addEventListener("touchstart",g,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",x,{capture:!0,passive:!1}),o},w=function(){if(i.active)return r.removeEventListener("focusin",b,!0),r.removeEventListener("mousedown",g,!0),r.removeEventListener("touchstart",g,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",x,!0),o};return o={activate:function(T){if(i.active)return this;var A=s(T,"onActivate"),F=s(T,"onPostActivate"),M=s(T,"checkCanFocusTrap");M||c(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,A&&A();var D=function(){M&&c(),y(),F&&F()};return M?(M(i.containers.concat()).then(D,D),this):(D(),this)},deactivate:function(T){if(!i.active)return this;clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,w(),i.active=!1,i.paused=!1,bf.deactivateTrap(o);var A=s(T,"onDeactivate"),F=s(T,"onPostDeactivate"),M=s(T,"checkCanReturnFocus");A&&A();var D=s(T,"returnFocus","returnFocusOnDeactivate"),B=function(){Ef(function(){D&&f(p(i.nodeFocusedBeforeActivation)),F&&F()})};return D&&M?(M(p(i.nodeFocusedBeforeActivation)).then(B,B),this):(B(),this)},pause:function(){return i.paused||!i.active?this:(i.paused=!0,w(),this)},unpause:function(){return!i.paused||!i.active?this:(i.paused=!1,c(),y(),this)},updateContainerElements:function(T){var A=[].concat(T).filter(Boolean);return i.containers=A.map(function(F){return typeof F=="string"?r.querySelector(F):F}),i.active&&c(),this}},o.updateContainerElements(t),o},hl={exports:{}},Av=hl.exports,yf;function kv(){return yf||(yf=1,function(e,t){(function(r,a){e.exports=a()})(Av,function(){return function(n){var r={};function a(i){if(r[i])return r[i].exports;var o=r[i]={i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=n,a.c=r,a.d=function(i,o,s){a.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:s})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,o){if(o&1&&(i=a(i)),o&8||o&4&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),o&2&&typeof i!="string")for(var l in i)a.d(s,l,(function(u){return i[u]}).bind(null,l));return s},a.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(o,"a",o),o},a.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},a.p="",a(a.s=0)}([function(n,r,a){a.r(r);var i=function(I){return Array.isArray(I)?I:[I]},o=function(I){return I instanceof Node},s=function(I){return I instanceof NodeList},l=function(I,te){if(I&&te){I=s(I)?I:[I];for(var oe=0;oe<I.length&&te(I[oe],oe,I.length)!==!0;oe++);}},u=function(I){return console.error("[scroll-lock] ".concat(I))},d=function(I){if(Array.isArray(I)){var te=I.join(", ");return te}},c=function(I){var te=[];return l(I,function(oe){return te.push(oe)}),te},f=function(I,te){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:document;if(oe&&c(we.querySelectorAll(te)).indexOf(I)!==-1)return I;for(;(I=I.parentElement)&&c(we.querySelectorAll(te)).indexOf(I)===-1;);return I},p=function(I,te){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:document,we=c(oe.querySelectorAll(te)).indexOf(I)!==-1;return we},g=function(I){if(I){var te=getComputedStyle(I),oe=te.overflow==="hidden";return oe}},b=function(I){if(I){if(g(I))return!0;var te=I.scrollTop;return te<=0}},m=function(I){if(I){if(g(I))return!0;var te=I.scrollTop,oe=I.scrollHeight,we=te+I.offsetHeight;return we>=oe}},x=function(I){if(I){if(g(I))return!0;var te=I.scrollLeft;return te<=0}},v=function(I){if(I){if(g(I))return!0;var te=I.scrollLeft,oe=I.scrollWidth,we=te+I.offsetWidth;return we>=oe}},y=function(I){var te='textarea, [contenteditable="true"]';return p(I,te)},w=function(I){var te='input[type="range"]';return p(I,te)};a.d(r,"disablePageScroll",function(){return D}),a.d(r,"enablePageScroll",function(){return B}),a.d(r,"getScrollState",function(){return V}),a.d(r,"clearQueueScrollLocks",function(){return J}),a.d(r,"getTargetScrollBarWidth",function(){return ee}),a.d(r,"getCurrentTargetScrollBarWidth",function(){return ue}),a.d(r,"getPageScrollBarWidth",function(){return me}),a.d(r,"getCurrentPageScrollBarWidth",function(){return Le}),a.d(r,"addScrollableTarget",function(){return re}),a.d(r,"removeScrollableTarget",function(){return Fe}),a.d(r,"addScrollableSelector",function(){return ke}),a.d(r,"removeScrollableSelector",function(){return C}),a.d(r,"addLockableTarget",function(){return R}),a.d(r,"addLockableSelector",function(){return xe}),a.d(r,"setFillGapMethod",function(){return $e}),a.d(r,"addFillGapTarget",function(){return bt}),a.d(r,"removeFillGapTarget",function(){return nt}),a.d(r,"addFillGapSelector",function(){return rt}),a.d(r,"removeFillGapSelector",function(){return lt}),a.d(r,"refillGaps",function(){return Et});function O(z){for(var I=1;I<arguments.length;I++){var te=arguments[I]!=null?arguments[I]:{},oe=Object.keys(te);typeof Object.getOwnPropertySymbols=="function"&&(oe=oe.concat(Object.getOwnPropertySymbols(te).filter(function(we){return Object.getOwnPropertyDescriptor(te,we).enumerable}))),oe.forEach(function(we){T(z,we,te[we])})}return z}function T(z,I,te){return I in z?Object.defineProperty(z,I,{value:te,enumerable:!0,configurable:!0,writable:!0}):z[I]=te,z}var A=["padding","margin","width","max-width","none"],F=3,M={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:A[0],startTouchY:0,startTouchX:0},D=function(I){M.queue<=0&&(M.scroll=!1,ie(),We()),re(I),M.queue++},B=function(I){M.queue>0&&M.queue--,M.queue<=0&&(M.scroll=!0,Ce(),fn()),Fe(I)},V=function(){return M.scroll},J=function(){M.queue=0},ee=function(I){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o(I)){var oe=I.style.overflowY;te?V()||(I.style.overflowY=I.getAttribute("data-scroll-lock-saved-overflow-y-property")):I.style.overflowY="scroll";var we=ue(I);return I.style.overflowY=oe,we}else return 0},ue=function(I){if(o(I))if(I===document.body){var te=document.documentElement.clientWidth,oe=window.innerWidth,we=oe-te;return we}else{var qt=I.style.borderLeftWidth,Yt=I.style.borderRightWidth;I.style.borderLeftWidth="0px",I.style.borderRightWidth="0px";var $t=I.offsetWidth-I.clientWidth;return I.style.borderLeftWidth=qt,I.style.borderRightWidth=Yt,$t}else return 0},me=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return ee(document.body,I)},Le=function(){return ue(document.body)},re=function(I){if(I){var te=i(I);te.map(function(oe){l(oe,function(we){o(we)?we.setAttribute("data-scroll-lock-scrollable",""):u('"'.concat(we,'" is not a Element.'))})})}},Fe=function(I){if(I){var te=i(I);te.map(function(oe){l(oe,function(we){o(we)?we.removeAttribute("data-scroll-lock-scrollable"):u('"'.concat(we,'" is not a Element.'))})})}},ke=function(I){if(I){var te=i(I);te.map(function(oe){M.scrollableSelectors.push(oe)})}},C=function(I){if(I){var te=i(I);te.map(function(oe){M.scrollableSelectors=M.scrollableSelectors.filter(function(we){return we!==oe})})}},R=function(I){if(I){var te=i(I);te.map(function(oe){l(oe,function(we){o(we)?we.setAttribute("data-scroll-lock-lockable",""):u('"'.concat(we,'" is not a Element.'))})}),V()||ie()}},xe=function(I){if(I){var te=i(I);te.map(function(oe){M.lockableSelectors.push(oe)}),V()||ie(),rt(I)}},$e=function(I){if(I)if(A.indexOf(I)!==-1)M.fillGapMethod=I,Et();else{var te=A.join(", ");u('"'.concat(I,'" method is not available!\nAvailable fill gap methods: ').concat(te,"."))}},bt=function(I){if(I){var te=i(I);te.map(function(oe){l(oe,function(we){o(we)?(we.setAttribute("data-scroll-lock-fill-gap",""),M.scroll||br(we)):u('"'.concat(we,'" is not a Element.'))})})}},nt=function(I){if(I){var te=i(I);te.map(function(oe){l(oe,function(we){o(we)?(we.removeAttribute("data-scroll-lock-fill-gap"),M.scroll||bn(we)):u('"'.concat(we,'" is not a Element.'))})})}},rt=function(I){if(I){var te=i(I);te.map(function(oe){M.fillGapSelectors.indexOf(oe)===-1&&(M.fillGapSelectors.push(oe),M.scroll||qn(oe))})}},lt=function(I){if(I){var te=i(I);te.map(function(oe){M.fillGapSelectors=M.fillGapSelectors.filter(function(we){return we!==oe}),M.scroll||Xt(oe)})}},Et=function(){M.scroll||We()},ie=function(){var I=d(M.lockableSelectors);Qe(I)},Ce=function(){var I=d(M.lockableSelectors);ht(I)},Qe=function(I){var te=document.querySelectorAll(I);l(te,function(oe){Dn(oe)})},ht=function(I){var te=document.querySelectorAll(I);l(te,function(oe){xr(oe)})},Dn=function(I){if(o(I)&&I.getAttribute("data-scroll-lock-locked")!=="true"){var te=window.getComputedStyle(I);I.setAttribute("data-scroll-lock-saved-overflow-y-property",te.overflowY),I.setAttribute("data-scroll-lock-saved-inline-overflow-property",I.style.overflow),I.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",I.style.overflowY),I.style.overflow="hidden",I.setAttribute("data-scroll-lock-locked","true")}},xr=function(I){o(I)&&I.getAttribute("data-scroll-lock-locked")==="true"&&(I.style.overflow=I.getAttribute("data-scroll-lock-saved-inline-overflow-property"),I.style.overflowY=I.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),I.removeAttribute("data-scroll-lock-saved-overflow-property"),I.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),I.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),I.removeAttribute("data-scroll-lock-locked"))},We=function(){M.fillGapSelectors.map(function(I){qn(I)})},fn=function(){M.fillGapSelectors.map(function(I){Xt(I)})},qn=function(I){var te=document.querySelectorAll(I),oe=M.lockableSelectors.indexOf(I)!==-1;l(te,function(we){br(we,oe)})},br=function(I){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o(I)){var oe;if(I.getAttribute("data-scroll-lock-lockable")===""||te)oe=ee(I,!0);else{var we=f(I,d(M.lockableSelectors));oe=ee(we,!0)}I.getAttribute("data-scroll-lock-filled-gap")==="true"&&bn(I);var qt=window.getComputedStyle(I);if(I.setAttribute("data-scroll-lock-filled-gap","true"),I.setAttribute("data-scroll-lock-current-fill-gap-method",M.fillGapMethod),M.fillGapMethod==="margin"){var Yt=parseFloat(qt.marginRight);I.style.marginRight="".concat(Yt+oe,"px")}else if(M.fillGapMethod==="width")I.style.width="calc(100% - ".concat(oe,"px)");else if(M.fillGapMethod==="max-width")I.style.maxWidth="calc(100% - ".concat(oe,"px)");else if(M.fillGapMethod==="padding"){var $t=parseFloat(qt.paddingRight);I.style.paddingRight="".concat($t+oe,"px")}}},Xt=function(I){var te=document.querySelectorAll(I);l(te,function(oe){bn(oe)})},bn=function(I){if(o(I)&&I.getAttribute("data-scroll-lock-filled-gap")==="true"){var te=I.getAttribute("data-scroll-lock-current-fill-gap-method");I.removeAttribute("data-scroll-lock-filled-gap"),I.removeAttribute("data-scroll-lock-current-fill-gap-method"),te==="margin"?I.style.marginRight="":te==="width"?I.style.width="":te==="max-width"?I.style.maxWidth="":te==="padding"&&(I.style.paddingRight="")}},Pn=function(I){Et()},cn=function(I){M.scroll||(M.startTouchY=I.touches[0].clientY,M.startTouchX=I.touches[0].clientX)},kn=function(I){if(!M.scroll){var te=M.startTouchY,oe=M.startTouchX,we=I.touches[0].clientY,qt=I.touches[0].clientX;if(I.touches.length<2){var Yt=d(M.scrollableSelectors),$t={up:te<we,down:te>we,left:oe<qt,right:oe>qt},hn={up:te+F<we,down:te-F>we,left:oe+F<qt,right:oe-F>qt},_t=function rr(ct){var ma=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(ct){var Er=f(ct,Yt,!1);if(w(ct))return!1;if(ma||y(ct)&&f(ct,Yt)||p(ct,Yt)){var Gr=!1;x(ct)&&v(ct)?($t.up&&b(ct)||$t.down&&m(ct))&&(Gr=!0):b(ct)&&m(ct)?($t.left&&x(ct)||$t.right&&v(ct))&&(Gr=!0):(hn.up&&b(ct)||hn.down&&m(ct)||hn.left&&x(ct)||hn.right&&v(ct))&&(Gr=!0),Gr&&(Er?rr(Er,!0):I.cancelable&&I.preventDefault())}else rr(Er)}else I.cancelable&&I.preventDefault()};_t(I.target)}}},nr=function(I){M.scroll||(M.startTouchY=0,M.startTouchX=0)};typeof window<"u"&&window.addEventListener("resize",Pn),typeof document<"u"&&(document.addEventListener("touchstart",cn),document.addEventListener("touchmove",kn,{passive:!1}),document.addEventListener("touchend",nr));var Rr={hide:function(I){u('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),D(I)},show:function(I){u('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),B(I)},toggle:function(I){u('"toggle" is deprecated! Do not use it.'),V()?D():B(I)},getState:function(){return u('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),V()},getWidth:function(){return u('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),me()},getCurrentWidth:function(){return u('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),Le()},setScrollableTargets:function(I){u('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),re(I)},setFillGapSelectors:function(I){u('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),rt(I)},setFillGapTargets:function(I){u('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),bt(I)},clearQueue:function(){u('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),J()}},Q=O({disablePageScroll:D,enablePageScroll:B,getScrollState:V,clearQueueScrollLocks:J,getTargetScrollBarWidth:ee,getCurrentTargetScrollBarWidth:ue,getPageScrollBarWidth:me,getCurrentPageScrollBarWidth:Le,addScrollableSelector:ke,removeScrollableSelector:C,addScrollableTarget:re,removeScrollableTarget:Fe,addLockableSelector:xe,addLockableTarget:R,addFillGapSelector:rt,removeFillGapSelector:lt,addFillGapTarget:bt,removeFillGapTarget:nt,setFillGapMethod:$e,refillGaps:Et,_state:M},Rr);r.default=Q}]).default})}(hl)),hl.exports}var Co=kv();function Oa(e){return e.split("-")[0]}function ou(e){return e.split("-")[1]}function eo(e){return["top","bottom"].includes(Oa(e))?"x":"y"}function X0(e){return e==="y"?"height":"width"}function vf(e,t,n){let{reference:r,floating:a}=e;const i=r.x+r.width/2-a.width/2,o=r.y+r.height/2-a.height/2,s=eo(t),l=X0(s),u=r[l]/2-a[l]/2,d=s==="x";let c;switch(Oa(t)){case"top":c={x:i,y:r.y-a.height};break;case"bottom":c={x:i,y:r.y+r.height};break;case"right":c={x:r.x+r.width,y:o};break;case"left":c={x:r.x-a.width,y:o};break;default:c={x:r.x,y:r.y}}switch(ou(t)){case"start":c[s]-=u*(n&&d?-1:1);break;case"end":c[s]+=u*(n&&d?-1:1)}return c}const Ov=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}=n,s=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=vf(l,r,s),c=r,f={};for(let p=0;p<i.length;p++){const{name:g,fn:b}=i[p],{x:m,y:x,data:v,reset:y}=await b({x:u,y:d,initialPlacement:r,placement:c,strategy:a,middlewareData:f,rects:l,platform:o,elements:{reference:e,floating:t}});u=m!=null?m:u,d=x!=null?x:d,f={...f,[g]:{...f[g],...v}},y&&(typeof y=="object"&&(y.placement&&(c=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):y.rects),{x:u,y:d}=vf(l,c,s)),p=-1)}return{x:u,y:d,placement:c,strategy:a,middlewareData:f}};function Q0(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function is(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function os(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:i,rects:o,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:f=!1,padding:p=0}=t,g=Q0(p),b=s[f?c==="floating"?"reference":"floating":c],m=is(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),x=is(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:c==="floating"?{...o.floating,x:r,y:a}:o.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):o[c]);return{top:m.top-x.top+g.top,bottom:x.bottom-m.bottom+g.bottom,left:m.left-x.left+g.left,right:x.right-m.right+g.right}}const a1=Math.min,_a=Math.max;function i0(e,t,n){return _a(e,a1(t,n))}const i1=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:a,y:i,placement:o,rects:s,platform:l}=t;if(n==null)return{};const u=Q0(r),d={x:a,y:i},c=eo(o),f=X0(c),p=await l.getDimensions(n),g=c==="y"?"top":"left",b=c==="y"?"bottom":"right",m=s.reference[f]+s.reference[c]-d[c]-s.floating[f],x=d[c]-s.reference[c],v=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n)),y=v?c==="y"?v.clientHeight||0:v.clientWidth||0:0,w=m/2-x/2,O=u[g],T=y-p[f]-u[b],A=y/2-p[f]/2+w,F=i0(O,A,T);return{data:{[c]:F,centerOffset:A-F}}}}),Iv={left:"right",right:"left",bottom:"top",top:"bottom"};function Bl(e){return e.replace(/left|right|bottom|top/g,t=>Iv[t])}function Nv(e,t,n){n===void 0&&(n=!1);const r=ou(e),a=eo(e),i=X0(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Bl(o)),{main:o,cross:Bl(o)}}const Lv={start:"end",end:"start"};function _f(e){return e.replace(/start|end/g,t=>Lv[t])}const o1=["top","right","bottom","left"];o1.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const su=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:a,rects:i,initialPlacement:o,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:c,fallbackStrategy:f="bestFit",flipAlignment:p=!0,...g}=e,b=Oa(r),m=c||(b===o||!p?[Bl(o)]:function(F){const M=Bl(F);return[_f(F),M,_f(M)]}(o)),x=[o,...m],v=await os(t,g),y=[];let w=((n=a.flip)==null?void 0:n.overflows)||[];if(u&&y.push(v[b]),d){const{main:F,cross:M}=Nv(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));y.push(v[F],v[M])}if(w=[...w,{placement:r,overflows:y}],!y.every(F=>F<=0)){var O,T;const F=((O=(T=a.flip)==null?void 0:T.index)!=null?O:0)+1,M=x[F];if(M)return{data:{index:F,overflows:w},reset:{placement:M}};let D="bottom";switch(f){case"bestFit":{var A;const B=(A=w.map(V=>[V,V.overflows.filter(J=>J>0).reduce((J,ee)=>J+ee,0)]).sort((V,J)=>V[1]-J[1])[0])==null?void 0:A[0].placement;B&&(D=B);break}case"initialPlacement":D=o}if(r!==D)return{reset:{placement:D}}}return{}}}};function Tf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Sf(e){return o1.some(t=>e[t]>=0)}const s1=function(e){let{strategy:t="referenceHidden",...n}={};return{name:"hide",async fn(r){const{rects:a}=r;switch(t){case"referenceHidden":{const i=Tf(await os(r,{...n,elementContext:"reference"}),a.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Sf(i)}}}case"escaped":{const i=Tf(await os(r,{...n,altBoundary:!0}),a.floating);return{data:{escapedOffsets:i,escaped:Sf(i)}}}default:return{}}}}},lu=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r,placement:a,rects:i,platform:o,elements:s}=t,l=function(u,d,c,f){f===void 0&&(f=!1);const p=Oa(u),g=ou(u),b=eo(u)==="x",m=["left","top"].includes(p)?-1:1,x=f&&b?-1:1,v=typeof c=="function"?c({...d,placement:u}):c;let{mainAxis:y,crossAxis:w,alignmentAxis:O}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return g&&typeof O=="number"&&(w=g==="end"?-1*O:O),b?{x:w*x,y:y*m}:{x:y*m,y:w*x}}(a,i,e,await(o.isRTL==null?void 0:o.isRTL(s.floating)));return{x:n+l.x,y:r+l.y,data:l}}}};function Rv(e){return e==="x"?"y":"x"}const uu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:s={fn:m=>{let{x,y:v}=m;return{x,y:v}}},...l}=e,u={x:n,y:r},d=await os(t,l),c=eo(Oa(a)),f=Rv(c);let p=u[c],g=u[f];if(i){const m=c==="y"?"bottom":"right";p=i0(p+d[c==="y"?"top":"left"],p,p-d[m])}if(o){const m=f==="y"?"bottom":"right";g=i0(g+d[f==="y"?"top":"left"],g,g-d[m])}const b=s.fn({...t,[c]:p,[f]:g});return{...b,data:{x:b.x-n,y:b.y-r}}}}},Dv=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:a,elements:i}=t,{apply:o,...s}=e,l=await os(t,s),u=Oa(n),d=ou(n);let c,f;u==="top"||u==="bottom"?(c=u,f=d===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(f=u,c=d==="end"?"top":"bottom");const p=_a(l.left,0),g=_a(l.right,0),b=_a(l.top,0),m=_a(l.bottom,0),x={height:r.floating.height-(["left","right"].includes(n)?2*(b!==0||m!==0?b+m:_a(l.top,l.bottom)):l[c]),width:r.floating.width-(["top","bottom"].includes(n)?2*(p!==0||g!==0?p+g:_a(l.left,l.right)):l[f])},v=await a.getDimensions(i.floating);o==null||o({...x,...r});const y=await a.getDimensions(i.floating);return v.width!==y.width||v.height!==y.height?{reset:{rects:!0}}:{}}}},l1=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:r,elements:a,rects:i,platform:o,strategy:s}=t,{padding:l=2,x:u,y:d}=e,c=is(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:s}):i.reference),f=(n=await(o.getClientRects==null?void 0:o.getClientRects(a.reference)))!=null?n:[],p=Q0(l),g=await o.getElementRects({reference:{getBoundingClientRect:function(){var b;if(f.length===2&&f[0].left>f[1].right&&u!=null&&d!=null)return(b=f.find(m=>u>m.left-p.left&&u<m.right+p.right&&d>m.top-p.top&&d<m.bottom+p.bottom))!=null?b:c;if(f.length>=2){if(eo(r)==="x"){const T=f[0],A=f[f.length-1],F=Oa(r)==="top",M=T.top,D=A.bottom,B=F?T.left:A.left,V=F?T.right:A.right;return{top:M,bottom:D,left:B,right:V,width:V-B,height:D-M,x:B,y:M}}const m=Oa(r)==="left",x=_a(...f.map(T=>T.right)),v=a1(...f.map(T=>T.left)),y=f.filter(T=>m?T.left===v:T.right===x),w=y[0].top,O=y[y.length-1].bottom;return{top:w,bottom:O,left:v,right:x,width:x-v,height:O-w,x:v,y:w}}return c}},floating:a.floating,strategy:s});return i.reference.x!==g.reference.x||i.reference.y!==g.reference.y||i.reference.width!==g.reference.width||i.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}};function u1(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function fa(e){if(e==null)return window;if(!u1(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function _s(e){return fa(e).getComputedStyle(e)}function oa(e){return u1(e)?"":e?(e.nodeName||"").toLowerCase():""}function Wr(e){return e instanceof fa(e).HTMLElement}function Ia(e){return e instanceof fa(e).Element}function Z0(e){return e instanceof fa(e).ShadowRoot||e instanceof ShadowRoot}function cu(e){const{overflow:t,overflowX:n,overflowY:r}=_s(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function Pv(e){return["table","td","th"].includes(oa(e))}function Cf(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=_s(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function c1(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const wf=Math.min,Wo=Math.max,$l=Math.round;function sa(e,t,n){var r,a,i,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&Wr(e)&&(l=e.offsetWidth>0&&$l(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&$l(s.height)/e.offsetHeight||1);const d=Ia(e)?fa(e):window,c=!c1()&&n,f=(s.left+(c&&(r=(a=d.visualViewport)==null?void 0:a.offsetLeft)!=null?r:0))/l,p=(s.top+(c&&(i=(o=d.visualViewport)==null?void 0:o.offsetTop)!=null?i:0))/u,g=s.width/l,b=s.height/u;return{width:g,height:b,top:p,right:f+g,bottom:p+b,left:f,x:f,y:p}}function Ca(e){return(t=e,(t instanceof fa(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function du(e){return Ia(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function d1(e){return sa(Ca(e)).left+du(e).scrollLeft}function Mv(e,t,n){const r=Wr(t),a=Ca(t),i=sa(e,r&&function(l){const u=sa(l);return $l(u.width)!==l.offsetWidth||$l(u.height)!==l.offsetHeight}(t),n==="fixed");let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((oa(t)!=="body"||cu(a))&&(o=du(t)),Wr(t)){const l=sa(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else a&&(s.x=d1(a));return{x:i.left+o.scrollLeft-s.x,y:i.top+o.scrollTop-s.y,width:i.width,height:i.height}}function f1(e){return oa(e)==="html"?e:e.assignedSlot||e.parentNode||(Z0(e)?e.host:null)||Ca(e)}function Af(e){return Wr(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function o0(e){const t=fa(e);let n=Af(e);for(;n&&Pv(n)&&getComputedStyle(n).position==="static";)n=Af(n);return n&&(oa(n)==="html"||oa(n)==="body"&&getComputedStyle(n).position==="static"&&!Cf(n))?t:n||function(r){let a=f1(r);for(Z0(a)&&(a=a.host);Wr(a)&&!["html","body"].includes(oa(a));){if(Cf(a))return a;a=a.parentNode}return null}(e)||t}function kf(e){if(Wr(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=sa(e);return{width:t.width,height:t.height}}function h1(e){const t=f1(e);return["html","body","#document"].includes(oa(t))?e.ownerDocument.body:Wr(t)&&cu(t)?t:h1(t)}function Fl(e,t){var n;t===void 0&&(t=[]);const r=h1(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=fa(r),o=a?[i].concat(i.visualViewport||[],cu(r)?r:[]):r,s=t.concat(o);return a?s:s.concat(Fl(o))}function Of(e,t,n){return t==="viewport"?is(function(r,a){const i=fa(r),o=Ca(r),s=i.visualViewport;let l=o.clientWidth,u=o.clientHeight,d=0,c=0;if(s){l=s.width,u=s.height;const f=c1();(f||!f&&a==="fixed")&&(d=s.offsetLeft,c=s.offsetTop)}return{width:l,height:u,x:d,y:c}}(e,n)):Ia(t)?function(r,a){const i=sa(r,!1,a==="fixed"),o=i.top+r.clientTop,s=i.left+r.clientLeft;return{top:o,left:s,x:s,y:o,right:s+r.clientWidth,bottom:o+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):is(function(r){var a;const i=Ca(r),o=du(r),s=(a=r.ownerDocument)==null?void 0:a.body,l=Wo(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=Wo(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-o.scrollLeft+d1(r);const c=-o.scrollTop;return _s(s||i).direction==="rtl"&&(d+=Wo(i.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:c}}(Ca(e)))}function Bv(e){const t=Fl(e),n=["absolute","fixed"].includes(_s(e).position)&&Wr(e)?o0(e):e;return Ia(n)?t.filter(r=>Ia(r)&&function(a,i){const o=i==null||i.getRootNode==null?void 0:i.getRootNode();if(a!=null&&a.contains(i))return!0;if(o&&Z0(o)){let s=i;do{if(s&&a===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&oa(r)!=="body"):[]}const $v={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const i=[...n==="clippingAncestors"?Bv(t):[].concat(n),r],o=i[0],s=i.reduce((l,u)=>{const d=Of(t,u,a);return l.top=Wo(d.top,l.top),l.right=wf(d.right,l.right),l.bottom=wf(d.bottom,l.bottom),l.left=Wo(d.left,l.left),l},Of(t,o,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const a=Wr(n),i=Ca(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((a||!a&&r!=="fixed")&&((oa(n)!=="body"||cu(i))&&(o=du(n)),Wr(n))){const l=sa(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-o.scrollLeft+s.x,y:t.y-o.scrollTop+s.y}},isElement:Ia,getDimensions:kf,getOffsetParent:o0,getDocumentElement:Ca,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:Mv(t,o0(n),r),floating:{...kf(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>_s(e).direction==="rtl"};function fu(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=!0,animationFrame:s=!1}=r;let l=!1;const u=a&&!s,d=i&&!s,c=o&&!s,f=u||d?[...Ia(e)?Fl(e):[],...Fl(t)]:[];f.forEach(m=>{u&&m.addEventListener("scroll",n,{passive:!0}),d&&m.addEventListener("resize",n)});let p,g=null;c&&(g=new ResizeObserver(n),Ia(e)&&g.observe(e),g.observe(t));let b=s?sa(e):null;return s&&function m(){if(l)return;const x=sa(e);!b||x.x===b.x&&x.y===b.y&&x.width===b.width&&x.height===b.height||n(),b=x,p=requestAnimationFrame(m)}(),()=>{var m;l=!0,f.forEach(x=>{u&&x.removeEventListener("scroll",n),d&&x.removeEventListener("resize",n)}),(m=g)==null||m.disconnect(),g=null,s&&cancelAnimationFrame(p)}}const hu=(e,t,n)=>Ov(e,t,{platform:$v,...n});var Fv=Object.defineProperty,Hv=Object.defineProperties,Uv=Object.getOwnPropertyDescriptors,If=Object.getOwnPropertySymbols,zv=Object.prototype.hasOwnProperty,jv=Object.prototype.propertyIsEnumerable,Nf=(e,t,n)=>t in e?Fv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ee=(e,t)=>{for(var n in t||(t={}))zv.call(t,n)&&Nf(e,n,t[n]);if(If)for(var n of If(t))jv.call(t,n)&&Nf(e,n,t[n]);return e},jr=(e,t)=>Hv(e,Uv(t));function Wv(e){return typeof e=="number"}function gl(e){return Array.isArray(e)}function gu(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!gl(e)}function wn(e){return typeof e=="function"}function g1(e){return e==null}function Vv(e){return Object.prototype.toString.call(e)==="[object String]"}function qv(e,t){return gu(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}function xn(e,t){return e&&(wn(e)?e(t):e[0](e[1],t)),t==null?void 0:t.defaultPrevented}function Tn(...e){return function(t){e.some(n=>xn(n,t))}}const p1=()=>typeof Storage<"u",m1="hope-ui-color-mode",qi={light:"hope-ui-light",dark:"hope-ui-dark"};function Gv(){if(!p1())return null;try{return localStorage.getItem(m1)}catch(e){return null}}function Kv(e){if(p1())try{localStorage.setItem(m1,e)}catch(t){}}function Yv(e){const t=Gv();return t||(e==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e)}function Xv(e){return e?qi.dark:qi.light}function Qv(e){const t=document.body;t.classList.add(Xv(e)),t.classList.remove(e?qi.light:qi.dark)}const x1={px:"1px","0_5":"0.125rem",1:"0.25rem","1_5":"0.375rem",2:"0.5rem","2_5":"0.625rem",3:"0.75rem","3_5":"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},ki=jr(Ee({},x1),{prose:"65ch",max:"max-content",min:"min-content",full:"100%",screenW:"100vw",screenH:"100vh",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",containerSm:"640px",containerMd:"768px",containerLg:"1024px",containerXl:"1280px",container2xl:"1536px"}),Zv={sm:"(min-width: ".concat(ki.containerSm,")"),md:"(min-width: ".concat(ki.containerMd,")"),lg:"(min-width: ".concat(ki.containerLg,")"),xl:"(min-width: ".concat(ki.containerXl,")"),"2xl":"(min-width: ".concat(ki.container2xl,")"),"reduce-motion":"(prefers-reduced-motion: reduce)",light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"},Jv={bg:e=>({background:e}),bgColor:e=>({backgroundColor:e})},e_={borderX:e=>({borderLeft:e,borderRight:e}),borderY:e=>({borderTop:e,borderBottom:e})},t_={d:e=>({display:e})},n_={m:e=>({margin:e}),mt:e=>({marginTop:e}),mr:e=>({marginRight:e}),marginStart:e=>({marginInlineStart:e}),ms:e=>({marginInlineStart:e}),mb:e=>({marginBottom:e}),ml:e=>({marginLeft:e}),marginEnd:e=>({marginInlineEnd:e}),me:e=>({marginInlineEnd:e}),mx:e=>({marginInlineStart:e,marginInlineEnd:e}),my:e=>({marginTop:e,marginBottom:e}),spaceX:e=>({"& > * + *":{marginLeft:e}}),spaceY:e=>({"& > * + *":{marginTop:e}})},r_={p:e=>({padding:e}),pt:e=>({paddingTop:e}),pr:e=>({paddingRight:e}),paddingStart:e=>({paddingInlineStart:e}),ps:e=>({paddingInlineStart:e}),pb:e=>({paddingBottom:e}),pl:e=>({paddingLeft:e}),pe:e=>({paddingInlineEnd:e}),paddingEnd:e=>({paddingInlineEnd:e}),px:e=>({paddingInlineStart:e,paddingInlineEnd:e}),py:e=>({paddingTop:e,paddingBottom:e})},a_={pos:e=>({position:e})};function Yr(...e){return e.map(t=>"[role=group]".concat(t," &, [data-group]").concat(t," &, .group").concat(t," &")).join(", ")}function Mr(...e){return e.map(t=>"[data-peer]".concat(t," ~ &, .peer").concat(t," ~ &")).join(", ")}const i_={_hover:e=>({"&:hover, &[data-hover]":e}),_active:e=>({"&:active, &[data-active]":e}),_focus:e=>({"&:focus, &[data-focus]":e}),_highlighted:e=>({"&[data-highlighted]":e}),_focusWithin:e=>({"&:focus-within":e}),_focusVisible:e=>({"&:focus-visible":e}),_disabled:e=>({"&[disabled], &[aria-disabled=true], &[data-disabled]":e}),_readOnly:e=>({"&[aria-readonly=true], &[readonly], &[data-readonly]":e}),_before:e=>({"&::before":e}),_after:e=>({"&::after":e}),_empty:e=>({"&:empty":e}),_expanded:e=>({"&[aria-expanded=true], &[data-expanded]":e}),_checked:e=>({"&[aria-checked=true], &[data-checked]":e}),_grabbed:e=>({"&[aria-grabbed=true], &[data-grabbed]":e}),_pressed:e=>({"&[aria-pressed=true], &[data-pressed]":e}),_invalid:e=>({"&[aria-invalid=true], &[data-invalid]":e}),_valid:e=>({"&[data-valid], &[data-state=valid]":e}),_loading:e=>({"&[data-loading], &[aria-busy=true]":e}),_selected:e=>({"&[aria-selected=true], &[data-selected]":e}),_hidden:e=>({"&[hidden], &[data-hidden]":e}),_even:e=>({"&:nth-of-type(even)":e}),_odd:e=>({"&:nth-of-type(odd)":e}),_first:e=>({"&:first-of-type":e}),_last:e=>({"&:last-of-type":e}),_notFirst:e=>({"&:not(:first-of-type)":e}),_notLast:e=>({"&:not(:last-of-type)":e}),_visited:e=>({"&:visited":e}),_activeLink:e=>({"&[aria-current=page]":e}),_activeStep:e=>({"&[aria-current=step]":e}),_indeterminate:e=>({"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]":e}),_groupHover:e=>({[Yr(":hover","[data-hover]")]:e}),_peerHover:e=>({[Mr(":hover","[data-hover]")]:e}),_groupFocus:e=>({[Yr(":focus","[data-focus]")]:e}),_peerFocus:e=>({[Mr(":focus","[data-focus]")]:e}),_groupFocusVisible:e=>({[Yr(":focus-visible")]:e}),_peerFocusVisible:e=>({[Mr(":focus-visible")]:e}),_groupActive:e=>({[Yr(":active","[data-active]")]:e}),_peerActive:e=>({[Mr(":active","[data-active]")]:e}),_groupSelected:e=>({[Yr("[aria-selected=true]","[data-selected]")]:e}),_peerSelected:e=>({[Mr("[aria-selected=true]","[data-selected]")]:e}),_groupDisabled:e=>({[Yr(":disabled","[data-disabled]")]:e}),_peerDisabled:e=>({[Mr(":disabled","[data-disabled]")]:e}),_groupInvalid:e=>({[Yr(":invalid","[data-invalid]")]:e}),_peerInvalid:e=>({[Mr(":invalid","[data-invalid]")]:e}),_groupChecked:e=>({[Yr(":checked","[data-checked]")]:e}),_peerChecked:e=>({[Mr(":checked","[data-checked]")]:e}),_groupFocusWithin:e=>({[Yr(":focus-within")]:e}),_peerFocusWithin:e=>({[Mr(":focus-within")]:e}),_peerPlaceholderShown:e=>({[Mr(":placeholder-shown")]:e}),_placeholder:e=>({"&::placeholder":e}),_placeholderShown:e=>({"&:placeholder-shown":e}),_fullScreen:e=>({"&:fullscreen":e}),_selection:e=>({"&::selection":e}),_mediaDark:e=>({"@media (prefers-color-scheme: dark)":e}),_mediaReduceMotion:e=>({"@media (prefers-reduced-motion: reduce)":e}),_dark:e=>({".hope-ui-dark &":e}),_light:e=>({".hope-ui-light &":e})},o_={borderTopRadius:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),borderRightRadius:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),borderStartRadius:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),borderBottomRadius:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),borderLeftRadius:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),borderEndRadius:e=>({borderStartEndRadius:e,borderEndEndRadius:e}),rounded:e=>({borderRadius:e}),roundedTop:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),roundedRight:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),roundedStart:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),roundedBottom:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),roundedLeft:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),roundedEnd:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},s_={shadow:e=>({boxShadow:e})},l_={w:e=>({width:e}),minW:e=>({minWidth:e}),maxW:e=>({maxWidth:e}),h:e=>({height:e}),minH:e=>({minHeight:e}),maxH:e=>({maxHeight:e}),boxSize:e=>({width:e,height:e})},u_={noOfLines:e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e})},c_=Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee({},Jv),e_),t_),a_),i_),o_),n_),r_),s_),l_),u_),d_={blackAlpha1:"#00000003",blackAlpha2:"#00000007",blackAlpha3:"#0000000c",blackAlpha4:"#00000012",blackAlpha5:"#00000017",blackAlpha6:"#0000001d",blackAlpha7:"#00000024",blackAlpha8:"#00000038",blackAlpha9:"#00000070",blackAlpha10:"#0000007a",blackAlpha11:"#00000090",blackAlpha12:"#000000e8"},f_={whiteAlpha1:"#ffffff00",whiteAlpha2:"#ffffff03",whiteAlpha3:"#ffffff09",whiteAlpha4:"#ffffff0e",whiteAlpha5:"#ffffff16",whiteAlpha6:"#ffffff20",whiteAlpha7:"#ffffff2d",whiteAlpha8:"#ffffff3f",whiteAlpha9:"#ffffff62",whiteAlpha10:"#ffffff72",whiteAlpha11:"#ffffff97",whiteAlpha12:"#ffffffeb"},h_=Ee(Ee({},d_),f_),g_={primary1:"#fafdfe",primary2:"#f2fcfd",primary3:"#e7f9fb",primary4:"#d8f3f6",primary5:"#c4eaef",primary6:"#aadee6",primary7:"#84cdda",primary8:"#3db9cf",primary9:"#05a2c2",primary10:"#0894b3",primary11:"#0c7792",primary12:"#04313c"},p_={accent1:"#fdfcfe",accent2:"#fbfaff",accent3:"#f5f2ff",accent4:"#ede9fe",accent5:"#e4defc",accent6:"#d7cff9",accent7:"#c4b8f3",accent8:"#aa99ec",accent9:"#6e56cf",accent10:"#644fc1",accent11:"#5746af",accent12:"#20134b"},m_={neutral1:"#fbfcfd",neutral2:"#f8f9fa",neutral3:"#f1f3f5",neutral4:"#eceef0",neutral5:"#e6e8eb",neutral6:"#dfe3e6",neutral7:"#d7dbdf",neutral8:"#c1c8cd",neutral9:"#889096",neutral10:"#7e868c",neutral11:"#687076",neutral12:"#11181c"},x_={success1:"#fbfefc",success2:"#f2fcf5",success3:"#e9f9ee",success4:"#ddf3e4",success5:"#ccebd7",success6:"#b4dfc4",success7:"#92ceac",success8:"#5bb98c",success9:"#30a46c",success10:"#299764",success11:"#18794e",success12:"#153226"},b_={info1:"#fbfdff",info2:"#f5faff",info3:"#edf6ff",info4:"#e1f0ff",info5:"#cee7fe",info6:"#b7d9f8",info7:"#96c7f2",info8:"#5eb0ef",info9:"#0091ff",info10:"#0081f1",info11:"#006adc",info12:"#00254d"},E_={warning1:"#fefdfb",warning2:"#fff9ed",warning3:"#fff4d5",warning4:"#ffecbc",warning5:"#ffe3a2",warning6:"#ffd386",warning7:"#f3ba63",warning8:"#ee9d2b",warning9:"#ffb224",warning10:"#ffa01c",warning11:"#ad5700",warning12:"#4e2009"},y_={danger1:"#fffcfc",danger2:"#fff8f8",danger3:"#ffefef",danger4:"#ffe5e5",danger5:"#fdd8d8",danger6:"#f9c6c6",danger7:"#f3aeaf",danger8:"#eb9091",danger9:"#e5484d",danger10:"#dc3d43",danger11:"#cd2b31",danger12:"#381316"},v_={loContrast:"white",background:"$loContrast",focusRing:"#96c7f2",closeButtonHoverBackground:"$blackAlpha4",closeButtonActiveBackground:"$blackAlpha5",progressStripe:"$whiteAlpha6"},__=Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee({},g_),p_),m_),x_),b_),E_),y_),v_),T_={primary1:"#07191d",primary2:"#061e24",primary3:"#072830",primary4:"#07303b",primary5:"#073844",primary6:"#064150",primary7:"#045063",primary8:"#00647d",primary9:"#05a2c2",primary10:"#00b1cc",primary11:"#00c2d7",primary12:"#e1f8fa"},S_={accent1:"#17151f",accent2:"#1c172b",accent3:"#251e40",accent4:"#2c2250",accent5:"#32275f",accent6:"#392c72",accent7:"#443592",accent8:"#5842c3",accent9:"#6e56cf",accent10:"#7c66dc",accent11:"#9e8cfc",accent12:"#f1eefe"},C_={neutral1:"#151718",neutral2:"#1a1d1e",neutral3:"#202425",neutral4:"#26292b",neutral5:"#2b2f31",neutral6:"#313538",neutral7:"#3a3f42",neutral8:"#4c5155",neutral9:"#697177",neutral10:"#787f85",neutral11:"#9ba1a6",neutral12:"#ecedee"},w_={success1:"#0d1912",success2:"#0c1f17",success3:"#0f291e",success4:"#113123",success5:"#133929",success6:"#164430",success7:"#1b543a",success8:"#236e4a",success9:"#30a46c",success10:"#3cb179",success11:"#4cc38a",success12:"#e5fbeb"},A_={info1:"#0f1720",info2:"#0f1b2d",info3:"#10243e",info4:"#102a4c",info5:"#0f3058",info6:"#0d3868",info7:"#0a4481",info8:"#0954a5",info9:"#0091ff",info10:"#369eff",info11:"#52a9ff",info12:"#eaf6ff"},k_={warning1:"#1f1300",warning2:"#271700",warning3:"#341c00",warning4:"#3f2200",warning5:"#4a2900",warning6:"#573300",warning7:"#693f05",warning8:"#824e00",warning9:"#ffb224",warning10:"#ffcb47",warning11:"#f1a10d",warning12:"#fef3dd"},O_={danger1:"#1f1315",danger2:"#291415",danger3:"#3c181a",danger4:"#481a1d",danger5:"#541b1f",danger6:"#671e22",danger7:"#822025",danger8:"#aa2429",danger9:"#e5484d",danger10:"#f2555a",danger11:"#ff6369",danger12:"#feecee"},I_={loContrast:"$neutral1",background:"$loContrast",focusRing:"#0a4481",closeButtonHoverBackground:"$whiteAlpha4",closeButtonActiveBackground:"$whiteAlpha5",progressStripe:"$blackAlpha6"},N_=Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee({},T_),S_),C_),w_),A_),k_),O_),I_),L_={none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},R_={none:"0 0 #0000",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 rgb(0 0 0 / 0.09), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.09), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.09), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.09), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.24)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.06)",outline:"0 0 0 3px $colors$focusRing"},D_={lg:"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},P_={sans:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol","Noto Color Emoji"',serif:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},M_={"2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},B_={hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},$_={normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:2,3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},F_={tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},H_={hide:-1,auto:"auto",base:0,docked:10,sticky:1e3,banner:1100,overlay:1200,modal:1300,dropdown:1400,popover:1500,tooltip:1600,skipLink:1700,notification:1800},U_={colors:Ee(Ee({},h_),__),space:x1,sizes:ki,fonts:P_,fontSizes:M_,fontWeights:B_,letterSpacings:F_,lineHeights:$_,radii:L_,shadows:R_,zIndices:H_},z_={colors:N_,shadows:D_},{theme:j_,css:Y,globalCss:ha,config:lM,createTheme:W_,getCssText:uM,keyframes:to}=Zy({prefix:"hope",themeMap:jr(Ee({},jp),{borderWidth:"sizes",borderTopWidth:"sizes",borderRightWidth:"sizes",borderBottomWidth:"sizes",borderLeftWidth:"sizes",strokeWidth:"sizes"}),theme:U_,media:Zv,utils:c_}),Jt={fade:"hope-modal-fade-transition",fadeInBottom:"hope-modal-fade-in-bottom-transition",scale:"hope-modal-scale-transition"},V_=ha({[".".concat(Jt.fade,"-enter, .").concat(Jt.fade,"-exit-to")]:{opacity:0},[".".concat(Jt.fade,"-enter-to, .").concat(Jt.fade,"-exit")]:{opacity:1},[".".concat(Jt.fade,"-enter-active")]:{transition:"opacity 300ms ease-out"},[".".concat(Jt.fade,"-exit-active")]:{transition:"opacity 200ms ease-in"},[".".concat(Jt.fadeInBottom,"-enter, .").concat(Jt.fadeInBottom,"-exit-to")]:{opacity:0,transform:"translateY(16px)"},[".".concat(Jt.fadeInBottom,"-enter-to, .").concat(Jt.fadeInBottom,"-exit")]:{opacity:1,transform:"translateY(0)"},[".".concat(Jt.fadeInBottom,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[".".concat(Jt.fadeInBottom,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"},[".".concat(Jt.scale,"-enter, .").concat(Jt.scale,"-exit-to")]:{opacity:0,transform:"scale(0.95)"},[".".concat(Jt.scale,"-enter-to, .").concat(Jt.scale,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(Jt.scale,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[".".concat(Jt.scale,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"}}),b1=Y({zIndex:"$overlay",position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"hsl(0 0% 0% / 65%)"}),E1=Y({zIndex:"$modal",position:"fixed",top:0,left:0,display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},outline:"none","&:focus":{outline:"none"}}),q_=Y(E1,{justifyContent:"center",variants:{centered:{true:{alignItems:"center"},false:{alignItems:"flex-start"}},scrollBehavior:{inside:{overflow:"hidden"},outside:{overflow:"auto"}}}}),y1=Y({zIndex:"$modal",position:"relative",display:"flex",flexDirection:"column",width:"100%",outline:"none",boxShadow:"$lg",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),G_=Y(y1,{justifyContent:"center",my:"3.75rem",borderRadius:"$sm",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$sm"},md:{maxWidth:"$md"},lg:{maxWidth:"$lg"},xl:{maxWidth:"$xl"},"2xl":{maxWidth:"$2xl"},"3xl":{maxWidth:"$3xl"},"4xl":{maxWidth:"$4xl"},"5xl":{maxWidth:"$5xl"},"6xl":{maxWidth:"$6xl"},"7xl":{maxWidth:"$7xl"},"8xl":{maxWidth:"$8xl"},full:{maxWidth:"100vw",minHeight:"100vh","@supports(min-height: -webkit-fill-available)":{minHeight:"-webkit-fill-available"},my:0,borderRadius:"$none"}},scrollBehavior:{inside:{maxHeight:"calc(100% - 7.5rem)"},outside:{maxHeight:"none"}}}}),K_=Y({flex:0,pt:"$5",px:"$5",pb:"$3",fontSize:"$lg",fontWeight:"$medium"}),Y_=Y({flex:1,px:"$5",py:"$2",variants:{scrollBehavior:{inside:{overflow:"auto"},outside:{overflow:void 0}}}}),X_=Y({display:"flex",alignItems:"center",justifyContent:"flex-end",pt:"$3",px:"$5",pb:"$5"}),Q_=Y({position:"absolute",top:"$4",insetInlineEnd:"$4"}),st={fade:"hope-drawer-fade-transition",slideInTop:"hope-drawer-slide-in-top-transition",slideInRight:"hope-drawer-slide-in-right-transition",slideInBottom:"hope-drawer-slide-in-bottom-transition",slideInLeft:"hope-drawer-slide-in-left-transition"},Z_=ha({[".".concat(st.fade,"-enter, .").concat(st.fade,"-exit-to")]:{opacity:0},[".".concat(st.fade,"-enter-to, .").concat(st.fade,"-exit")]:{opacity:1},[".".concat(st.fade,"-enter-active, .").concat(st.fade,"-exit-active")]:{transition:"opacity 500ms ease-in-out"},[".".concat(st.slideInTop,"-enter-active, .").concat(st.slideInTop,"-exit-active,\n .").concat(st.slideInRight,"-enter-active, .").concat(st.slideInRight,"-exit-active,\n .").concat(st.slideInBottom,"-enter-active, .").concat(st.slideInBottom,"-exit-active,\n .").concat(st.slideInLeft,"-enter-active, .").concat(st.slideInLeft,"-exit-active")]:{transition:"transform 500ms ease-in-out"},[".".concat(st.slideInTop,"-enter, .").concat(st.slideInTop,"-exit-to")]:{transform:"translateY(-100%)"},[".".concat(st.slideInTop,"-enter-to, .").concat(st.slideInTop,"-exit")]:{transform:"translateY(0)"},[".".concat(st.slideInRight,"-enter, .").concat(st.slideInRight,"-exit-to")]:{transform:"translateX(100%)"},[".".concat(st.slideInRight,"-enter-to, .").concat(st.slideInRight,"-exit")]:{transform:"translateX(0)"},[".".concat(st.slideInBottom,"-enter, .").concat(st.slideInBottom,"-exit-to")]:{transform:"translateY(100%)"},[".".concat(st.slideInBottom,"-enter-to, .").concat(st.slideInBottom,"-exit")]:{transform:"translateY(0)"},[".".concat(st.slideInLeft,"-enter, .").concat(st.slideInLeft,"-exit-to")]:{transform:"translateX(-100%)"},[".".concat(st.slideInLeft,"-enter-to, .").concat(st.slideInLeft,"-exit")]:{transform:"translateX(0)"}}),J_=Y(E1,{overflow:"hidden",variants:{placement:{top:{alignItems:"flex-start",justifyContent:"stretch"},right:{alignItems:"stretch",justifyContent:"flex-end"},bottom:{alignItems:"flex-end",justifyContent:"stretch"},left:{alignItems:"stretch",justifyContent:"flex-start"}}}}),e3=Y(y1,{maxHeight:"100vh",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$md"},md:{maxWidth:"$lg"},lg:{maxWidth:"$2xl"},xl:{maxWidth:"$4xl"},full:{maxWidth:"100vw",height:"100vh"}},placement:{top:{},right:{},bottom:{},left:{}},fullHeight:{true:{height:"100vh"},false:{}}},compoundVariants:[{placement:"top",size:"xs",css:{maxWidth:"100vw"}},{placement:"top",size:"sm",css:{maxWidth:"100vw"}},{placement:"top",size:"md",css:{maxWidth:"100vw"}},{placement:"top",size:"lg",css:{maxWidth:"100vw"}},{placement:"top",size:"xl",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xs",css:{maxWidth:"100vw"}},{placement:"bottom",size:"sm",css:{maxWidth:"100vw"}},{placement:"bottom",size:"md",css:{maxWidth:"100vw"}},{placement:"bottom",size:"lg",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xl",css:{maxWidth:"100vw"}}]}),Ta={scaleTopLeft:"hope-menu-scale-top-left-transition",scaleTopRight:"hope-menu-scale-top-right-transition",scaleBottomLeft:"hope-menu-scale-bottom-left-transition",scaleBottomRight:"hope-menu-scale-bottom-right-transition"};function Qs(e,t){return{[".".concat(e,"-enter, .").concat(e,"-exit-to")]:{opacity:0,transform:"scale(0.8)"},[".".concat(e,"-enter-to, .").concat(e,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(e,"-enter-active")]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[".".concat(e,"-exit-active")]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}}}const t3=ha(Ee(Ee(Ee(Ee({},Qs(Ta.scaleTopLeft,"top left")),Qs(Ta.scaleTopRight,"top right")),Qs(Ta.scaleBottomLeft,"bottom left")),Qs(Ta.scaleBottomRight,"bottom right"))),n3=Y({appearance:"none",display:"inline-flex",alignItems:"center",outline:"none"}),r3=Y({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",minWidth:"$56",overflowY:"auto",outline:"none",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",px:0,py:"$1","&:focus":{outline:"none"}});Y({});Y({display:"flex",alignItems:"center",mx:"$1",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",fontWeight:"$medium",lineHeight:"$4"});function Ha(e){return{color:e.color,"&[data-active]":{backgroundColor:e.bgColorActive}}}const a3=Y({position:"relative",display:"flex",alignItems:"center",mx:"$1",borderRadius:"$sm",py:"$2",px:"$3",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},variants:{colorScheme:{primary:Ha({color:"$primary11",bgColorActive:"$primary3"}),accent:Ha({color:"$accent11",bgColorActive:"$accent3"}),neutral:Ha({color:"$neutral12",bgColorActive:"$neutral4"}),success:Ha({color:"$success11",bgColorActive:"$success3"}),info:Ha({color:"$info11",bgColorActive:"$info3"}),warning:Ha({color:"$warning11",bgColorActive:"$warning3"}),danger:Ha({color:"$danger11",bgColorActive:"$danger3"})}},defaultVariants:{colorScheme:"neutral"}}),i3=Y({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),o3=Y({flexGrow:1}),s3=Y({flexShrink:0,color:"$neutral11",fontSize:"$sm",lineHeight:"$none"}),pu=to({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}});to({from:{opacity:0},to:{opacity:1}});const wr={slideInTop:"hope-notification-slide-in-top-transition",slideInRight:"hope-notification-slide-in-right-transition",slideInBottom:"hope-notification-slide-in-bottom-transition",slideInLeft:"hope-notification-slide-in-left-transition"};function Zs(e){return{[".".concat(e.name,"-enter, .").concat(e.name,"-exit-to")]:{opacity:0,transform:e.enterTransform},[".".concat(e.name,"-enter-to, .").concat(e.name,"-exit")]:{opacity:1,transform:e.leaveTransform},[".".concat(e.name,"-enter-active")]:{transitionProperty:"opacity, transform",transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21)",transitionDuration:"300ms"},[".".concat(e.name,"-exit-active")]:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in",transitionDuration:"200ms"}}}const l3=ha(Ee(Ee(Ee(Ee({},Zs({name:wr.slideInTop,enterTransform:"translateY(-100%)",leaveTransform:"translateY(0)"})),Zs({name:wr.slideInRight,enterTransform:"translateX(100%)",leaveTransform:"translateX(0)"})),Zs({name:wr.slideInBottom,enterTransform:"translateY(100%)",leaveTransform:"translateY(0)"})),Zs({name:wr.slideInLeft,enterTransform:"translateX(-100%)",leaveTransform:"translateX(0)"}))),u3=Y({position:"fixed",zIndex:"$notification",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"$4",width:"calc(100% - 32px)",maxWidth:"$md",variants:{placement:{"top-start":{top:"$4",left:"$4"},top:{top:"$4",left:"50%",transform:"translateX(-50%)"},"top-end":{top:"$4",right:"$4"},"bottom-start":{bottom:"$4",left:"$4"},bottom:{bottom:"$4",left:"50%",transform:"translateX(-50%)"},"bottom-end":{bottom:"$4",right:"$4"}}},defaultVariants:{placement:"top-end"}}),c3=Y({position:"relative",display:"flex",alignItems:"center",width:"100%",maxWidth:"$md",borderRadius:"$sm",border:"1px solid $colors$neutral5",boxShadow:"$lg",backgroundColor:"$loContrast",padding:"$3",fontSize:"$sm",lineHeight:"$5",variants:{status:{success:{},info:{},warning:{},danger:{}}}}),d3=Y({animation:"1s linear infinite ".concat(pu)}),f3=Y({flexShrink:0,variants:{status:{success:{color:"$success9"},info:{color:"$info9"},warning:{color:"$warning9"},danger:{color:"$danger9"}}}}),h3=Y({fontWeight:"$medium"}),g3=Y({display:"inline-block",color:"$neutral11"}),Qa={scale:"hope-popover-scale-transition"},p3=ha({[".".concat(Qa.scale,"-enter, .").concat(Qa.scale,"-exit-to")]:{opacity:0,transform:"scale(0.95)"},[".".concat(Qa.scale,"-enter-to, .").concat(Qa.scale,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(Qa.scale,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease"},[".".concat(Qa.scale,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in-out"}}),m3=Y({zIndex:"$popover",position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",maxWidth:"$xs",outline:"none",boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),x3=Y({display:"flex",alignItems:"center",flex:0,borderColor:"inherit",borderBottomWidth:"1px",px:"$3",py:"$2",fontSize:"$base",fontWeight:"$medium"}),b3=Y({flex:1,px:"$3",py:"$2"});Y({display:"flex",alignItems:"center",borderColor:"inherit",borderTopWidth:"1px",px:"$3",py:"$2"});Y({position:"absolute",top:"$2",insetInlineEnd:"$2"});const E3=Y({zIndex:"$popover",position:"absolute",boxSize:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"inherit",transform:"rotate(45deg)",variants:{popoverPlacement:{left:{borderLeft:0,borderBottom:0},top:{borderLeft:0,borderTop:0},right:{borderTop:0,borderRight:0},bottom:{borderRight:0,borderBottom:0}}}});function Js(e){return{minHeight:e.minHeight,fontSize:e.fontSize,lineHeight:e.lineHeight}}const Fr={xs:Js({fontSize:"$xs",lineHeight:"$4",minHeight:"$6"}),sm:Js({fontSize:"$sm",lineHeight:"$5",minHeight:"$8"}),md:Js({fontSize:"$base",lineHeight:"$6",minHeight:"$10"}),lg:Js({fontSize:"$lg",lineHeight:"$7",minHeight:"$12"})},Lf={"&:disabled":{opacity:.4,cursor:"not-allowed"},"&:focus":{boxShadow:"0 0 0 3px $colors$primary5",borderColor:"$primary8"},"&[aria-invalid=true]":{borderColor:"$danger8"},"&[aria-invalid=true]:focus":{boxShadow:"0 0 0 3px $colors$danger5"}},J0=Y({appearance:"none",position:"relative",width:"100%",minWidth:0,outline:"none",borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"$neutral12",fontSize:"$base",lineHeight:"$base",transition:"color 250ms, border-color 250ms, background-color 250ms, box-shadow 250ms","&[readonly]":{boxShadow:"none !important",userSelect:"all",cursor:"default"},"&::placeholder":{color:"$neutral9",opacity:1},variants:{variant:{outline:Ee({border:"1px solid $neutral7",backgroundColor:"transparent","&:hover":{borderColor:"$neutral8"}},Lf),filled:Ee({border:"1px solid transparent",backgroundColor:"$neutral3","&:hover, &:focus":{backgroundColor:"$neutral4"}},Lf),unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:Ee({},Fr)}});function sr(e){return[{variant:e.variant,size:e.size,css:{px:e.paddingX}},{withLeftElement:!0,variant:e.variant,size:e.size,css:{paddingInlineStart:e.paddingWithElement}},{withRightElement:!0,variant:e.variant,size:e.size,css:{paddingInlineEnd:e.paddingWithElement}}]}const y3=Y(J0,{variants:{withLeftElement:{true:{}},withRightElement:{true:{}},withLeftAddon:{true:{borderLeftRadius:0}},withRightAddon:{true:{borderRightRadius:0}}},compoundVariants:[...sr({variant:"outline",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...sr({variant:"outline",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...sr({variant:"outline",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...sr({variant:"outline",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...sr({variant:"filled",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...sr({variant:"filled",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...sr({variant:"filled",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...sr({variant:"filled",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...sr({variant:"unstyled",size:"xs",paddingX:0,paddingWithElement:"$6"}),...sr({variant:"unstyled",size:"sm",paddingX:0,paddingWithElement:"$8"}),...sr({variant:"unstyled",size:"md",paddingX:0,paddingWithElement:"$10"}),...sr({variant:"unstyled",size:"lg",paddingX:0,paddingWithElement:"$12"})]});Y({position:"relative",display:"flex",width:"100%"});Y({position:"absolute",top:"0",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center",variants:{placement:{left:{insetInlineStart:"0"},right:{insetInlineEnd:"0"}},size:{xs:jr(Ee({},Fr.xs),{width:Fr.xs.minHeight}),sm:jr(Ee({},Fr.sm),{width:Fr.sm.minHeight}),md:jr(Ee({},Fr.md),{width:Fr.md.minHeight}),lg:jr(Ee({},Fr.lg),{width:Fr.lg.minHeight})}}});function lr(e){return{variant:e.variant,size:e.size,css:{px:e.paddingX}}}Y({display:"flex",alignItems:"center",flex:"0 0 auto",width:"auto",whiteSpace:"nowrap",variants:{placement:{left:{marginEnd:"-1px"},right:{marginStart:"-1px"}},variant:{outline:{borderRadius:"$sm",border:"1px solid $neutral7",backgroundColor:"$neutral3",color:"$neutral12"},filled:{borderRadius:"$sm",border:"1px solid transparent",backgroundColor:"$neutral3",color:"$neutral12"},unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:Ee({},Fr)},compoundVariants:[{variant:"outline",placement:"left",css:{borderRightRadius:0,borderInlineEndColor:"transparent"}},{variant:"outline",placement:"right",css:{borderLeftRadius:0,borderInlineStartColor:"transparent"}},{variant:"filled",placement:"left",css:{borderStartEndRadius:0,borderEndEndRadius:0,borderInlineEndColor:"transparent"}},{variant:"filled",placement:"right",css:{borderStartStartRadius:0,borderEndStartRadius:0,borderInlineStartColor:"transparent"}},lr({variant:"outline",size:"xs",paddingX:"$2"}),lr({variant:"outline",size:"sm",paddingX:"$2_5"}),lr({variant:"outline",size:"md",paddingX:"$3"}),lr({variant:"outline",size:"lg",paddingX:"$4"}),lr({variant:"filled",size:"xs",paddingX:"$2"}),lr({variant:"filled",size:"sm",paddingX:"$2_5"}),lr({variant:"filled",size:"md",paddingX:"$3"}),lr({variant:"filled",size:"lg",paddingX:"$4"}),lr({variant:"unstyled",size:"xs",paddingX:0}),lr({variant:"unstyled",size:"sm",paddingX:0}),lr({variant:"unstyled",size:"md",paddingX:0}),lr({variant:"unstyled",size:"lg",paddingX:0})]});const Za={fadeInTop:"hope-select-fade-in-top-transition"},v3=ha({[".".concat(Za.fadeInTop,"-enter, .").concat(Za.fadeInTop,"-exit-to")]:{opacity:0,transform:"translateY(-16px)"},[".".concat(Za.fadeInTop,"-enter-to, .").concat(Za.fadeInTop,"-exit")]:{opacity:1,transform:"translateY(0)"},[".".concat(Za.fadeInTop,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[".".concat(Za.fadeInTop,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}});function cc(e,t,n){return Object.entries({xs:{start:t!=null?t:"$2",end:n!=null?n:"$1"},sm:{start:t!=null?t:"$2_5",end:n!=null?n:"$1_5"},md:{start:t!=null?t:"$3",end:n!=null?n:"$2"},lg:{start:t!=null?t:"$4",end:n!=null?n:"$3"}}).map(([r,a])=>({variant:e,size:r,css:{paddingInlineStart:a.start,paddingInlineEnd:a.end}}))}const _3=Y(J0,{appearance:"none",display:"inline-flex",alignItems:"center",outline:"none",cursor:"pointer","&:focus":{outline:"none"},compoundVariants:[...cc("outline"),...cc("filled"),...cc("unstyled",0,0)]}),v1=Y({flexGrow:1,flexShrink:1,textAlign:"start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),T3=Y({display:"inline-flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",flexGrow:1,flexShrink:1,variants:{size:{xs:{gap:"$0_5",py:"$0_5"},sm:{gap:"$1",py:"$1"},md:{gap:"$1_5",py:"$1_5"},lg:{gap:"$2",py:"$2"}}}}),S3=Y({display:"inline-flex",justifyContent:"center",alignItems:"center",gap:"$0_5",borderRadius:"$sm",py:0,pl:"$2",lineHeight:"$none",variants:{variant:{subtle:{backgroundColor:"$neutral4",color:"$neutral12"},outline:{border:"1px solid $colors$neutral7",backgroundColor:"$loContrast",color:"$neutral12"}},size:{xs:{height:"$4",fontSize:"$2xs"},sm:{height:"$5",fontSize:"$xs"},md:{height:"$6",fontSize:"$sm"},lg:{height:"$7",fontSize:"$base"}}}}),C3=Y({appearance:"none",display:"inline-flex",justifyContent:"center",alignItems:"center",height:"100%",outline:"none",borderRightRadius:"$sm",backgroundColor:"transparent",px:"$1",color:"inherit",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:hover":{backgroundColor:"$neutral7"},"&:focus":{outline:"none",boxShadow:"$outline"}}),w3=Y(v1,{color:"$neutral9",opacity:1}),A3=Y({flexGrow:0,flexShrink:0,marginInlineStart:"auto",color:"$neutral11",fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{opened:{true:{transform:"rotate(-180deg)"}}}}),k3=Y({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",width:"100%",overflow:"hidden",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",padding:0}),O3=Y({position:"relative",display:"flex",flexDirection:"column",maxHeight:"$60",width:"100%",overflowY:"auto",margin:0,padding:"$1",listStyle:"none"});Y({});Y({display:"flex",alignItems:"center",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",lineHeight:"$4"});const I3=Y({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",color:"$neutral12",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},"&[data-active]":{backgroundColor:"$neutral4"}}),N3=Y({display:"inline-flex",alignItems:"center",py:"$2",paddingInlineStart:"$3",paddingInlineEnd:"$6"}),L3=Y({position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",paddingInlineEnd:"$3",color:"$primary10",pointerEvents:"none"}),Ja={scale:"hope-tooltip-scale-transition"},R3=ha({[".".concat(Ja.scale,"-enter, .").concat(Ja.scale,"-exit-to")]:{opacity:0,transform:"scale(0.90)"},[".".concat(Ja.scale,"-enter-to, .").concat(Ja.scale,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(Ja.scale,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease"},[".".concat(Ja.scale,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"150ms",transitionTimingFunction:"ease-in-out"}}),D3=Y({zIndex:"$tooltip",position:"absolute",maxWidth:"$96",boxShadow:"$md",borderRadius:"$sm",backgroundColor:"$neutral12",px:"$2",py:"$1",color:"$neutral1",fontSize:"$sm",fontWeight:"$normal",lineHeight:"$4"}),P3=Y({zIndex:"$tooltip",position:"absolute",boxSize:"8px",backgroundColor:"inherit",transform:"rotate(45deg)"}),M3=ha({"*, ::before, ::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid"},"*":{margin:0},"html, body":{height:"100%"},html:{fontFamily:"$sans",lineHeight:"$base",fontSize:"16px"},body:{backgroundColor:"$background",color:"$neutral12",fontFamily:"inherit",lineHeight:"inherit","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},"h1, h2, h3, h4, h5, h6":{fontSize:"inherit",fontWeight:"inherit"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"img, picture, video, canvas, svg":{display:"block",maxWidth:"100%"},"button, input, textarea, select, optgroup":{fontFamily:"inherit",fontSize:"100%"},"button:focus":{outline:"5px auto -webkit-focus-ring-color"},fieldset:{margin:0,padding:0},"ol, ul":{margin:0,padding:0},a:{backgroundColor:"transparent",color:"inherit",textDecoration:"inherit"}});function Rf(e,t,n){Object.entries(e).forEach(([r,a])=>{if(gu(a))if(r in n){const i=r;n[i]=Ee(Ee({},n[i]),a)}else t[r]=Ee(Ee({},t[r]),a);else t[r]=a})}function B3(e,t){const n={},r={"@sm":{},"@md":{},"@lg":{},"@xl":{},"@2xl":{},"@reduce-motion":{},"@light":{},"@dark":{}};return t==null||t.forEach(a=>a&&Rf(a,n,r)),Object.entries(e).forEach(([a,i])=>{i!=null&&a!=="css"&&(a.startsWith("_")?n[a]=i:gu(i)?Object.keys(i).forEach(o=>{if(o==="@initial")n[a]=i[o];else if(o in r){const s=o;r[s]=jr(Ee({},r[s]),{[a]:i[s]})}}):n[a]=i)}),e.css&&Rf(e.css,n,r),Ee(Ee({},n),r)}function Df(e,t){const n=e==="dark",r=n?qi.dark:qi.light,a=n?gf({},z_,t):t,i=W_(r,a);return gf({},j_,i)}function _1(e,t){return gu(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}const mu=Y({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}),ed=Nt();function $3(){Z_(),t3(),V_(),l3(),p3(),v3(),R3()}function F3(e){var t,n,r,a,i,o,s,l;e=K({enableCssReset:!0},e);const d=Df("light",(n=(t=e.config)==null?void 0:t.lightTheme)!=null?n:{}),c=Df("dark",(a=(r=e.config)==null?void 0:r.darkTheme)!=null?a:{}),f=Yv((o=(i=e.config)==null?void 0:i.initialColorMode)!=null?o:"light"),p=f==="dark"?c:d,[g,b]=Ne(f),[m,x]=Ne(p),v=()=>g()==="dark",y=T=>{b(T),Kv(T)},w=()=>{y(v()?"light":"dark")},O={components:(l=(s=e.config)==null?void 0:s.components)!=null?l:{},theme:m,colorMode:g,setColorMode:y,toggleColorMode:w};return Kt(()=>{x(v()?c:d),Qv(v())}),e.enableCssReset&&M3(),$3(),_(ed.Provider,{value:O,get children(){return e.children}})}function Se(){const e=It(ed);if(!e)throw new Error("[Hope UI]: useStyleConfig must be used within a HopeProvider");return e.components}function T1(){const e=It(ed);if(!e)throw new Error("[Hope UI]: useColorMode must be used within a HopeProvider");return{colorMode:e.colorMode,setColorMode:e.setColorMode,toggleColorMode:e.toggleColorMode}}function xu(e,t){const{colorMode:n}=T1();return()=>n()==="dark"?t:e}function be(e){return".".concat(e)}function le(...e){return e.filter(Boolean).join(" ")}function H3(e,t,n){return(e-t)*100/(n-t)}const U3={border:!0,borderWidth:!0,borderStyle:!0,borderColor:!0,borderTop:!0,borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0,borderRight:!0,borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0,borderBottom:!0,borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0,borderLeft:!0,borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0,borderX:!0,borderY:!0},z3={color:!0,background:!0,bg:!0,backgroundColor:!0,bgColor:!0,opacity:!0},j3={css:!0},W3={alignItems:!0,alignContent:!0,alignSelf:!0,justifyItems:!0,justifyContent:!0,justifySelf:!0,flexDirection:!0,flexWrap:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,order:!0},V3={gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0,gridRow:!0,gridRowStart:!0,gridRowEnd:!0,gridColumn:!0,gridColumnStart:!0,gridColumnEnd:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:!0,rowGap:!0,columnGap:!0},q3={appearance:!0,userSelect:!0,pointerEvents:!0,resize:!0,cursor:!0,outline:!0,outlineOffset:!0,outlineColor:!0},G3={display:!0,d:!0,verticalAlign:!0,overflow:!0,overflowX:!0,overflowY:!0,objectFit:!0,objectPosition:!0},K3={margin:!0,m:!0,marginTop:!0,mt:!0,marginRight:!0,mr:!0,marginStart:!0,ms:!0,marginBottom:!0,mb:!0,marginLeft:!0,ml:!0,marginEnd:!0,me:!0,mx:!0,my:!0},Y3={padding:!0,p:!0,paddingTop:!0,pt:!0,paddingRight:!0,pr:!0,paddingStart:!0,ps:!0,paddingBottom:!0,pb:!0,paddingLeft:!0,pl:!0,paddingEnd:!0,pe:!0,px:!0,py:!0},X3={position:!0,pos:!0,zIndex:!0,top:!0,right:!0,bottom:!0,left:!0},Q3={_hover:!0,_active:!0,_focus:!0,_highlighted:!0,_focusWithin:!0,_focusVisible:!0,_disabled:!0,_readOnly:!0,_before:!0,_after:!0,_empty:!0,_expanded:!0,_checked:!0,_grabbed:!0,_pressed:!0,_invalid:!0,_valid:!0,_loading:!0,_selected:!0,_hidden:!0,_even:!0,_odd:!0,_first:!0,_last:!0,_notFirst:!0,_notLast:!0,_visited:!0,_activeLink:!0,_activeStep:!0,_indeterminate:!0,_groupHover:!0,_peerHover:!0,_groupFocus:!0,_peerFocus:!0,_groupFocusVisible:!0,_peerFocusVisible:!0,_groupActive:!0,_peerActive:!0,_groupSelected:!0,_peerSelected:!0,_groupDisabled:!0,_peerDisabled:!0,_groupInvalid:!0,_peerInvalid:!0,_groupChecked:!0,_peerChecked:!0,_groupFocusWithin:!0,_peerFocusWithin:!0,_peerPlaceholderShown:!0,_placeholder:!0,_placeholderShown:!0,_fullScreen:!0,_selection:!0,_mediaDark:!0,_mediaReduceMotion:!0,_dark:!0,_light:!0},Z3={borderRadius:!0,borderTopRightRadius:!0,borderTopLeftRadius:!0,borderBottomRightRadius:!0,borderBottomLeftRadius:!0,borderTopRadius:!0,borderRightRadius:!0,borderStartRadius:!0,borderBottomRadius:!0,borderLeftRadius:!0,borderEndRadius:!0,rounded:!0,roundedTop:!0,roundedRight:!0,roundedStart:!0,roundedBottom:!0,roundedLeft:!0,roundedEnd:!0},J3={textShadow:!0,boxShadow:!0,shadow:!0},eT={width:!0,w:!0,minWidth:!0,minW:!0,maxWidth:!0,maxW:!0,height:!0,h:!0,minHeight:!0,minH:!0,maxHeight:!0,maxH:!0,boxSize:!0},tT={transform:!0,transformOrigin:!0,clipPath:!0},nT={transition:!0,transitionProperty:!0,transitionTimingFunction:!0,transitionDuration:!0,transitionDelay:!0,animation:!0,willChange:!0},rT={fontFamily:!0,fontSize:!0,fontWeight:!0,lineHeight:!0,letterSpacing:!0,textAlign:!0,fontStyle:!0,textTransform:!0,textDecoration:!0,noOfLines:!0},aT=Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee({},U3),z3),W3),V3),q3),G3),K3),Y3),X3),Z3),J3),eT),tT),nT),rT),Q3),j3),iT=Y({});function oT(e,t){return iT({css:B3(e,t)})}function sT(e){return Object.keys(e).filter(t=>t in aT)}const dc=(e,t)=>{const n=r=>{const a=sT(r),i=K({as:e},r),[o,s,l]=de(i,["as","class","className","__baseStyle"],a),u=ze(()=>[wn(t==null?void 0:t.baseStyle)?t==null?void 0:t.baseStyle(r):t==null?void 0:t.baseStyle,o.__baseStyle]),d=()=>le(t==null?void 0:t.baseClass,o.class,o.className,oT(s,u()));return _(K0,K({get component(){var c;return(c=o.as)!=null?c:"div"},get class(){return d()}},l))};return n.toString=()=>t!=null&&t.baseClass?be(t.baseClass):"",n};function lT(){const e=new Map;return new Proxy(dc,{apply(t,n,r){return dc(...r)},get(t,n){return e.has(n)||e.set(n,dc(n)),e.get(n)}})}const Xe=lT(),Me=Xe.div;Y({borderTopWidth:"1px",borderColor:"$neutral7",overflowAnchor:"none","&:last-of-type":{borderBottomWidth:"1px"}});Y({appearance:"none",display:"flex",alignItems:"center",width:"100%",outline:"none",backgroundColor:"transparent",px:"$4",py:"$2",color:"inherit",fontSize:"$base",lineHeight:"$6",cursor:"pointer",transition:"background-color 250ms","&:disabled":{opacity:.4,cursor:"not-allowed"},"&:hover":{backgroundColor:"$neutral4"},"&:focus":{outline:"none",boxShadow:"$outline"}});Y({flexGrow:0,flexShrink:0,fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{expanded:{true:{transform:"rotate(-180deg)"}},disabled:{true:{opacity:.4}}}});Y({pt:"$2",px:"$4",pb:"$4"});function S1(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function uT(e){var t;if(!S1(e))return!1;const n=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof n.HTMLElement}function Hl(e){var t;return S1(e)&&(t=e.ownerDocument)!=null?t:document}function fc(e,t){const n=e.target;return e.button>0||n&&!Hl(n).body.contains(n)?!1:!(t!=null&&t.contains(n))}function cT(e){const t=Hl(e);return t==null?void 0:t.activeElement}function ai(e,t){return e?e===t||e.contains(t):!1}function Ul(e){var t,n;const r=(t=e.target)!=null?t:e.currentTarget,a=cT(r);return(n=e.relatedTarget)!=null?n:a}function C1(e){return e&&e.clientHeight<e.scrollHeight}function w1(e,t){const{offsetHeight:n,offsetTop:r}=e,{offsetHeight:a,scrollTop:i}=t,o=r<i,s=r+n>i+a;o?t.scrollTo(0,r):s&&t.scrollTo(0,r-a+n)}function bu(e){const t=Object.getOwnPropertyDescriptor(e,"children");return t==null?!1:wn(t.value)}const dT=Y({display:"inline-block",flexShrink:0,boxSize:"1em",color:"currentColor",lineHeight:"1em",verticalAlign:"middle"}),fT=Bt('<svg><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',4,!0),Pf={viewBox:"0 0 24 24",path:()=>fT.cloneNode(!0)},td="hope-icon";function gi(e){const t={viewBox:Pf.viewBox},n=K(t,e),[r,a]=de(n,["as","class","children","viewBox"]),i=()=>le(r.class,td,dT()),o=()=>r.as&&!Vv(r.as);return _(Re,{get when(){return o()},get fallback(){return _(Xe.svg,K({get class(){return i()},get viewBox(){return r.viewBox}},a,{get children(){return _(Re,{get when(){return r.children},get fallback(){return Pf.path},get children(){return r.children}})}}))},get children(){return _(Me,K({get as(){return r.as},get class(){return i()}},a))}})}gi.toString=()=>be(td);function hr(e){const{viewBox:t="0 0 24 24",defaultProps:n={}}=e,r=a=>_(gi,K({viewBox:t},n,a,{get children(){return e.path}}));return r.toString=()=>be(td),r}const hT=Bt('<svg><path d="M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0);hr({viewBox:"0 0 15 15",path:()=>hT.cloneNode(!0)});Y({overflow:"hidden"});const Yn=Y({flexShrink:0}),gT=Y({fontWeight:"$semibold"}),pT=Y({display:"inline-block"}),mT=Y({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",px:"$4",py:"$3",fontSize:"$base",lineHeight:"$6",variants:{variant:{solid:{},subtle:{},"left-accent":{borderLeftStyle:"solid",borderLeftWidth:"$sizes$1"},"top-accent":{borderTopStyle:"solid",borderTopWidth:"$sizes$1"}},status:{success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",status:"success",css:{backgroundColor:"$success9",color:"white"}},{variant:"solid",status:"info",css:{backgroundColor:"$info9",color:"white"}},{variant:"solid",status:"warning",css:{backgroundColor:"$warning9",color:"$blackAlpha12"}},{variant:"solid",status:"danger",css:{backgroundColor:"$danger9",color:"white"}},{variant:"subtle",status:"success",css:{backgroundColor:"$success3",color:"$success11",["& .".concat(Yn)]:{color:"$success9"}}},{variant:"subtle",status:"info",css:{backgroundColor:"$info3",color:"$info11",["& .".concat(Yn)]:{color:"$info9"}}},{variant:"subtle",status:"warning",css:{backgroundColor:"$warning3",color:"$warning11",["& .".concat(Yn)]:{color:"$warning9"}}},{variant:"subtle",status:"danger",css:{backgroundColor:"$danger3",color:"$danger11",["& .".concat(Yn)]:{color:"$danger9"}}},{variant:"left-accent",status:"success",css:{borderLeftColor:"$success9",backgroundColor:"$success3",color:"$success11",["& .".concat(Yn)]:{color:"$success9"}}},{variant:"left-accent",status:"info",css:{borderLeftColor:"$info9",backgroundColor:"$info3",color:"$info11",["& .".concat(Yn)]:{color:"$info9"}}},{variant:"left-accent",status:"warning",css:{borderLeftColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",["& .".concat(Yn)]:{color:"$warning9"}}},{variant:"left-accent",status:"danger",css:{borderLeftColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",["& .".concat(Yn)]:{color:"$danger9"}}},{variant:"top-accent",status:"success",css:{borderTopColor:"$success9",backgroundColor:"$success3",color:"$success11",["& .".concat(Yn)]:{color:"$success9"}}},{variant:"top-accent",status:"info",css:{borderTopColor:"$info9",backgroundColor:"$info3",color:"$info11",["& .".concat(Yn)]:{color:"$info9"}}},{variant:"top-accent",status:"warning",css:{borderTopColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",["& .".concat(Yn)]:{color:"$warning9"}}},{variant:"top-accent",status:"danger",css:{borderTopColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",["& .".concat(Yn)]:{color:"$danger9"}}}]}),A1="hope-alert";function xT(e){var t,n,r,a,i,o;const s=Se().Alert,l={variant:(r=(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t.root)==null?void 0:n.variant)!=null?r:"subtle",status:(o=(i=(a=s==null?void 0:s.defaultProps)==null?void 0:a.root)==null?void 0:i.status)!=null?o:"info"},u=K(l,e),[d,c]=de(u,["class","variant","status"]),f=()=>le(d.class,A1,mT({variant:d.variant,status:d.status})),g={status:()=>d.status};return _(k1.Provider,{value:g,get children(){return _(Me,K({role:"alert",get class(){return f()},get __baseStyle(){var b;return(b=s==null?void 0:s.baseStyle)==null?void 0:b.root}},c))}})}xT.toString=()=>be(A1);const k1=Nt();function bT(){const e=It(k1);if(!e)throw new Error("[Hope UI]: useAlertContext must be used within an `<Alert />` component");return e}const O1="hope-alert__description";function ET(e){const t=Se().Alert,[n,r]=de(e,["class"]),a=()=>le(n.class,O1,pT());return _(Me,K({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.description}},r))}ET.toString=()=>be(O1);const yT=Bt('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm-2 19.59l-5-5L10.59 15L14 18.41L21.41 11l1.596 1.586Z"></path></svg>',4,!0),vT=Bt('<svg><path fill="none" d="m14 21.591l-5-5L10.591 15L14 18.409L21.41 11l1.595 1.585L14 21.591z"></path></svg>',4,!0),I1=hr({viewBox:"0 0 32 32",path:()=>[yT.cloneNode(!0),vT.cloneNode(!0)]}),_T=Bt('<svg><path fill="currentColor" d="M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2zm-1.1 6h2.2v11h-2.2V8zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25z"></path></svg>',4,!0),N1=hr({viewBox:"0 0 32 32",path:()=>_T.cloneNode(!0)}),TT=Bt('<svg><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M29.4898 29.8706C29.3402 29.9548 29.1713 29.9991 28.9996 29.9993H2.99961C2.82787 29.9991 2.65905 29.9548 2.5094 29.8706C2.35976 29.7864 2.23433 29.665 2.14521 29.5182C2.05608 29.3713 2.00626 29.2041 2.00055 29.0325C1.99485 28.8608 2.03344 28.6907 2.1126 28.5382L15.1126 3.53821C15.1971 3.37598 15.3245 3.23999 15.4808 3.14514C15.6372 3.05017 15.8167 3 15.9996 3C16.1825 3 16.362 3.05017 16.5184 3.14514C16.6748 3.23999 16.8021 3.37598 16.8866 3.53821L29.8866 28.5382C29.9658 28.6907 30.0044 28.8608 29.9986 29.0325C29.9929 29.2041 29.9431 29.3713 29.854 29.5182C29.7649 29.665 29.6395 29.7864 29.4898 29.8706ZM16.0016 6.16919V6.17029H15.9976V6.16919H16.0016ZM15.9996 25.9993C15.7029 25.9993 15.4129 25.9113 15.1662 25.7465C14.9196 25.5817 14.7273 25.3474 14.6138 25.0734C14.5996 25.0391 14.5867 25.0044 14.5752 24.9694C14.4942 24.724 14.4778 24.4613 14.5284 24.2067C14.5863 23.9156 14.7292 23.6484 14.9389 23.4386C14.9652 23.4124 14.9923 23.3872 15.0202 23.3632C15.2159 23.1945 15.4524 23.0787 15.707 23.0281C15.7433 23.0209 15.7799 23.015 15.8165 23.0105C16.0723 22.979 16.3326 23.014 16.572 23.1129L16.5736 23.1135C16.8477 23.2271 17.082 23.4193 17.2468 23.6659C17.2674 23.6968 17.2868 23.7283 17.305 23.7604C17.4322 23.9852 17.4996 24.2397 17.4996 24.4993C17.4996 24.8971 17.3416 25.2787 17.0603 25.5599C16.7789 25.8413 16.3974 25.9993 15.9996 25.9993ZM17.1246 20.9993H14.8746V11.9993H17.1246V20.9993Z"></path></svg>',4,!0),L1=hr({viewBox:"0 0 32 32",path:()=>TT.cloneNode(!0)}),ST=Bt('<svg><path fill="none" d="M16 8a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 13.875h-2.875v-8H13v2.25h1.875v5.75H12v2.25h8Z"></path></svg>',4,!0),CT=Bt('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 6a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 16.125h-8v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"></path></svg>',4,!0),R1=hr({viewBox:"0 0 32 32",path:()=>[ST.cloneNode(!0),CT.cloneNode(!0)]}),D1="hope-alert__icon";function wT(e){const t=Se().Alert,{status:n}=bT(),a=K({boxSize:"$6"},e),[i,o]=de(a,["as","class"]),s=()=>le(i.class,D1,Yn()),l=()=>{if(i.as)return i.as;switch(n()){case"success":return I1;case"info":return R1;case"warning":return L1;case"danger":return N1}};return _(gi,K({get as(){return l()},get class(){return s()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.icon}},o))}wT.toString=()=>be(D1);const P1="hope-alert__title";function AT(e){const t=Se().Alert,[n,r]=de(e,["class"]),a=()=>le(n.class,P1,gT());return _(Me,K({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.title}},r))}AT.toString=()=>be(P1);const kT=Y({position:"relative",outline:"none",backgroundColor:"transparent",textDecoration:"none",cursor:"pointer",transition:"text-decoration 250ms","&:hover":{textDecoration:"underline"},"&:focus":{boxShadow:"$outline"}}),M1="hope-anchor";function B1(e){const t=Se().Anchor,[n,r]=de(e,["class","external"]),a=()=>le(n.class,M1,kT());return _(Xe.a,K({get class(){return a()},get __baseStyle(){return t==null?void 0:t.baseStyle},get target(){return n.external?"_blank":void 0},get rel(){return n.external?"noopener noreferrer":void 0}},r))}B1.toString=()=>be(M1);Y({position:"relative","&::before":{height:0,content:"''",display:"block"},"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}});const Eu="hope-icon-button",OT=Y({display:"inline-flex",alignSelf:"center",flexShrink:0}),IT=Y({position:"absolute",display:"flex",alignItems:"center",flexShrink:0,fontSize:"1em",lineHeight:"$normal",variants:{withLoadingText:{true:{position:"relative"}}}}),NT=Y({fontSize:"1.3em",animation:"1s linear infinite ".concat(pu)});function wo(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,["&.".concat(Eu)]:{width:e.height,padding:"0"}}}function Ao(e){return{height:e.height,py:0,px:e.paddingX,["&.".concat(Eu)]:{width:e.height,padding:"0"}}}function Ua(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover}}}function za(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function Mn(e){return{borderColor:e.borderColor,color:e.color,"&:hover":{borderColor:e.borderColorHover,backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function ja(e){return{color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}const $1=Y({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",borderRadius:"$sm",padding:"0",fontWeight:"$medium",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",whiteSpace:"nowrap",verticalAlign:"middle",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled, &:hover:disabled":{color:"$neutral7",cursor:"not-allowed"},variants:{variant:{solid:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},subtle:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},dashed:{borderStyle:"dashed",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},ghost:{border:"1px solid transparent",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{xs:wo({height:"$6",paddingX:"$2",fontSize:"$xs"}),sm:wo({height:"$8",paddingX:"$3",fontSize:"$sm"}),md:wo({height:"$10",paddingX:"$4",fontSize:"$base"}),lg:wo({height:"$12",paddingX:"$6",fontSize:"$lg"}),xl:wo({height:"$16",paddingX:"$10",fontSize:"$xl"})},compact:{true:{},false:{}},fullWidth:{true:{display:"flex",width:"100%"},false:{display:"inline-flex",width:"auto"}},loading:{true:{opacity:"0.75",cursor:"default",pointerEvents:"none"},false:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:Ua({color:"white",bgColor:"$primary9",bgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:Ua({color:"white",bgColor:"$accent9",bgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:Ua({color:"white",bgColor:"$neutral9",bgColorHover:"$neutral10"})},{variant:"solid",colorScheme:"success",css:Ua({color:"white",bgColor:"$success9",bgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:Ua({color:"white",bgColor:"$info9",bgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:Ua({color:"$blackAlpha12",bgColor:"$warning9",bgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:Ua({color:"white",bgColor:"$danger9",bgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:za({color:"$primary11",bgColor:"$primary4",bgColorHover:"$primary5",bgColorActive:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:za({color:"$accent11",bgColor:"$accent4",bgColorHover:"$accent5",bgColorActive:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:za({color:"$neutral12",bgColor:"$neutral4",bgColorHover:"$neutral5",bgColorActive:"$neutral6"})},{variant:"subtle",colorScheme:"success",css:za({color:"$success11",bgColor:"$success4",bgColorHover:"$success5",bgColorActive:"$success6"})},{variant:"subtle",colorScheme:"info",css:za({color:"$info11",bgColor:"$info4",bgColorHover:"$info5",bgColorActive:"$info6"})},{variant:"subtle",colorScheme:"warning",css:za({color:"$warning11",bgColor:"$warning4",bgColorHover:"$warning5",bgColorActive:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:za({color:"$danger11",bgColor:"$danger4",bgColorHover:"$danger5",bgColorActive:"$danger6"})},{variant:"outline",colorScheme:"primary",css:Mn({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"outline",colorScheme:"accent",css:Mn({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"outline",colorScheme:"neutral",css:Mn({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"outline",colorScheme:"success",css:Mn({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"outline",colorScheme:"info",css:Mn({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"outline",colorScheme:"warning",css:Mn({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"outline",colorScheme:"danger",css:Mn({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"dashed",colorScheme:"primary",css:Mn({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"dashed",colorScheme:"accent",css:Mn({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"dashed",colorScheme:"neutral",css:Mn({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"dashed",colorScheme:"success",css:Mn({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"dashed",colorScheme:"info",css:Mn({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"dashed",colorScheme:"warning",css:Mn({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"dashed",colorScheme:"danger",css:Mn({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"ghost",colorScheme:"primary",css:ja({color:"$primary11",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"ghost",colorScheme:"accent",css:ja({color:"$accent11",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"ghost",colorScheme:"neutral",css:ja({color:"$neutral12",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"ghost",colorScheme:"success",css:ja({color:"$success11",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"ghost",colorScheme:"info",css:ja({color:"$info11",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"ghost",colorScheme:"warning",css:ja({color:"$warning11",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"ghost",colorScheme:"danger",css:ja({color:"$danger11",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{size:"xs",compact:"true",css:Ao({height:"$5",paddingX:"$1"})},{size:"sm",compact:"true",css:Ao({height:"$6",paddingX:"$1_5"})},{size:"md",compact:"true",css:Ao({height:"$7",paddingX:"$2"})},{size:"lg",compact:"true",css:Ao({height:"$8",paddingX:"$2_5"})},{size:"xl",compact:"true",css:Ao({height:"$10",paddingX:"$3_5"})}]});Y({display:"inline-flex",["& .".concat($1,":focus")]:{zIndex:1}});const LT=Nt();function F1(){return It(LT)}const H1="hope-button__icon";function s0(e){const[t,n]=de(e,["class","children"]),r=()=>le(t.class,H1,OT());return _(Xe.span,K({get class(){return r()}},n,{get children(){return t.children}}))}s0.toString=()=>be(H1);const RT=Bt('<svg><g fill="none"><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M12 19a7 7 0 1 0 0-14a7 7 0 0 0 0 14zm0 3c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10z" fill="currentColor"></path><path d="M2 12C2 6.477 6.477 2 12 2v3a7 7 0 0 0-7 7H2z" fill="currentColor"></path></g></svg>',8,!0),U1=hr({path:()=>RT.cloneNode(!0)}),z1="hope-button__loader";function l0(e){const t={spacing:"0.5rem",children:_(U1,{get class(){return NT()}})},n=K(t,e),[r,a]=de(n,["class","children","withLoadingText","placement","spacing"]),i=()=>r.placement==="start"?"marginEnd":"marginStart",o=()=>({[i()]:r.withLoadingText?r.spacing:0}),s=()=>le(r.class,z1,IT({withLoadingText:r.withLoadingText}));return _(Xe.div,K({get class(){return s()}},o,a,{get children(){return r.children}}))}l0.toString=()=>be(z1);const j1="hope-button";function W1(e){var t,n,r;const a=Se().Button,i=F1(),o={loaderPlacement:(r=(n=(t=a==null?void 0:a.defaultProps)==null?void 0:t.root)==null?void 0:n.loaderPlacement)!=null?r:"start",iconSpacing:"0.5rem",type:"button",role:"button"},s=K(o,e),[l,u,d]=de(s,["class","disabled","loadingText","loader","loaderPlacement","variant","colorScheme","size","loading","compact","fullWidth"],["children","iconSpacing","leftIcon","rightIcon"]),c=()=>{var p;return(p=l.disabled)!=null?p:i==null?void 0:i.state.disabled},f=()=>{var p,g,b,m,x,v,y,w,O,T,A,F,M,D,B;return le(l.class,j1,$1({variant:(x=(m=(p=l.variant)!=null?p:i==null?void 0:i.state.variant)!=null?m:(b=(g=a==null?void 0:a.defaultProps)==null?void 0:g.root)==null?void 0:b.variant)!=null?x:"solid",colorScheme:(T=(O=(v=l.colorScheme)!=null?v:i==null?void 0:i.state.colorScheme)!=null?O:(w=(y=a==null?void 0:a.defaultProps)==null?void 0:y.root)==null?void 0:w.colorScheme)!=null?T:"primary",size:(B=(D=(A=l.size)!=null?A:i==null?void 0:i.state.size)!=null?D:(M=(F=a==null?void 0:a.defaultProps)==null?void 0:F.root)==null?void 0:M.size)!=null?B:"md",loading:l.loading,compact:l.compact,fullWidth:l.fullWidth}))};return _(Xe.button,K({get class(){return f()},get disabled(){return c()},get __baseStyle(){var p;return(p=a==null?void 0:a.baseStyle)==null?void 0:p.root}},d,{get children(){return[_(Re,{get when(){return l.loading&&l.loaderPlacement==="start"},get children(){return _(l0,{class:"hope-button__loader--start",get withLoadingText(){return!!l.loadingText},placement:"start",get spacing(){return u.iconSpacing},get children(){return l.loader}})}}),_(Re,{get when(){return l.loading},get fallback(){return _(Mf,u)},get children(){return _(Re,{get when(){return l.loadingText},get fallback(){return _(Xe.span,{opacity:0,get children(){return _(Mf,u)}})},get children(){return l.loadingText}})}}),_(Re,{get when(){return l.loading&&l.loaderPlacement==="end"},get children(){return _(l0,{class:"hope-button__loader--end",get withLoadingText(){return!!l.loadingText},placement:"end",get spacing(){return u.iconSpacing},get children(){return l.loader}})}})]}}))}W1.toString=()=>be(j1);function Mf(e){return[_(Re,{get when(){return e.leftIcon},get children(){return _(s0,{get marginEnd(){return e.iconSpacing},get children(){return e.leftIcon}})}}),la(()=>e.children),_(Re,{get when(){return e.rightIcon},get children(){return _(s0,{get marginStart(){return e.iconSpacing},get children(){return e.rightIcon}})}})]}function Wa(e){return{boxSize:e,fontSize:"calc(".concat(e," / 2.5)"),lineHeight:e}}const V1=Y({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,borderRadius:"$full",borderColor:"$loContrast",backgroundColor:"$neutral8",color:"$neutral12",fontWeight:"$medium",textAlign:"center",textTransform:"uppercase",verticalAlign:"top",variants:{size:{"2xs":Wa("$sizes$4"),xs:Wa("$sizes$6"),sm:Wa("$sizes$8"),md:Wa("$sizes$12"),lg:Wa("$sizes$16"),xl:Wa("$sizes$24"),"2xl":Wa("$sizes$32"),full:{boxSize:"$full",fontSize:"calc($sizes$full / 2.5)"}},withBorder:{true:{}}},compoundVariants:[{withBorder:!0,size:"2xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"sm",css:{borderWidth:"2px"}},{withBorder:!0,size:"md",css:{borderWidth:"2px"}},{withBorder:!0,size:"lg",css:{borderWidth:"3px"}},{withBorder:!0,size:"xl",css:{borderWidth:"4px"}},{withBorder:!0,size:"2xl",css:{borderWidth:"5px"}},{withBorder:!0,size:"full",css:{borderWidth:"2px"}}]});Y(V1);Y({boxSize:"$full",borderRadius:"$full",objectFit:"cover"});Y({position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"$full",borderWidth:"0.2em",borderStyle:"solid",borderColor:"$loContrast",variants:{placement:{"top-start":{insetInlineStart:"0",top:"0",transform:"translate(-25%, -25%)"},"top-end":{insetInlineEnd:"0",top:"0",transform:"translate(25%, -25%)"},"bottom-start":{insetInlineStart:"0",bottom:"0",transform:"translate(-25%, 25%)"},"bottom-end":{insetInlineEnd:"0",bottom:"0",transform:"translate(25%, 25%)"}}}});Y({display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row",["& .".concat(V1,":first-child")]:{marginStart:"0"}});function DT(e){const[t,n]=Ne("pending"),r=()=>e.ignoreFallback?"loaded":t();let a=null;const i=()=>{a&&(a.onload=null,a.onerror=null,a=null)},o=()=>{if(!e.src)return;i();const s=new Image;s.src=e.src,e.crossOrigin&&(s.crossOrigin=e.crossOrigin),e.srcSet&&(s.srcset=e.srcSet),e.sizes&&(s.sizes=e.sizes),e.loading&&(s.loading=e.loading),s.onload=l=>{i(),n("loaded"),xn(e.onLoad,l)},s.onerror=l=>{i(),n("failed"),xn(e.onError,l)},a=s};return Kt(()=>{n(e.src?"loading":"pending")}),Ln(()=>{e.ignoreFallback||(t()==="loading"&&o(),wt(()=>{i()}))}),r}const PT=Y({display:"inline-block",borderRadius:"$sm",py:"$0_5",px:"$1",fontSize:"$xs",fontWeight:"$bold",lineHeight:"$none",letterSpacing:"$wide",textTransform:"uppercase",whiteSpace:"nowrap",verticalAlign:"middle",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:{color:"white",bgColor:"$primary9"}},{variant:"solid",colorScheme:"accent",css:{color:"white",bgColor:"$accent9"}},{variant:"solid",colorScheme:"neutral",css:{color:"white",bgColor:"$neutral9"}},{variant:"solid",colorScheme:"success",css:{color:"white",bgColor:"$success9"}},{variant:"solid",colorScheme:"info",css:{color:"white",bgColor:"$info9"}},{variant:"solid",colorScheme:"warning",css:{color:"$blackAlpha12",bgColor:"$warning9"}},{variant:"solid",colorScheme:"danger",css:{color:"white",bgColor:"$danger9"}},{variant:"subtle",colorScheme:"primary",css:{color:"$primary11",bgColor:"$primary4"}},{variant:"subtle",colorScheme:"accent",css:{color:"$accent11",bgColor:"$accent4"}},{variant:"subtle",colorScheme:"neutral",css:{color:"$neutral12",bgColor:"$neutral4"}},{variant:"subtle",colorScheme:"success",css:{color:"$success11",bgColor:"$success4"}},{variant:"subtle",colorScheme:"info",css:{color:"$info11",bgColor:"$info4"}},{variant:"subtle",colorScheme:"warning",css:{color:"$warning11",bgColor:"$warning4"}},{variant:"subtle",colorScheme:"danger",css:{color:"$danger11",bgColor:"$danger4"}},{variant:"outline",colorScheme:"primary",css:{color:"$primary11",borderColor:"$primary7"}},{variant:"outline",colorScheme:"accent",css:{color:"$accent11",borderColor:"$accent7"}},{variant:"outline",colorScheme:"neutral",css:{color:"$neutral12",borderColor:"$neutral7"}},{variant:"outline",colorScheme:"success",css:{color:"$success11",borderColor:"$success7"}},{variant:"outline",colorScheme:"info",css:{color:"$info11",borderColor:"$info7"}},{variant:"outline",colorScheme:"warning",css:{color:"$warning11",borderColor:"$warning7"}},{variant:"outline",colorScheme:"danger",css:{color:"$danger11",borderColor:"$danger7"}}]}),q1="hope-badge";function MT(e){var t,n,r,a;const i=Se().Badge,o={variant:(n=(t=i==null?void 0:i.defaultProps)==null?void 0:t.variant)!=null?n:"subtle",colorScheme:(a=(r=i==null?void 0:i.defaultProps)==null?void 0:r.colorScheme)!=null?a:"neutral"},s=K(o,e),[l,u,d]=de(s,["class"],["variant","colorScheme"]),c=()=>le(l.class,q1,PT(u));return _(Xe.span,K({get class(){return c()},get __baseStyle(){return i==null?void 0:i.baseStyle}},d))}MT.toString=()=>be(q1);const BT=Y({display:"block",fontSize:"$base",lineHeight:"$6"}),$T=Y({display:"flex",alignItems:"center",margin:0,padding:0,listStyle:"none"}),FT=Y({display:"inline-flex",alignItems:"center"}),HT=Y({display:"inline-flex",alignItems:"center",justifyContent:"center"}),UT=Y({position:"relative",display:"inline-flex",alignItems:"center",outline:"none",backgroundColor:"transparent",color:"$neutral11",textDecoration:"none",cursor:"pointer",transition:"color 250ms, text-decoration 250ms","&:focus":{boxShadow:"$outline"},variants:{currentPage:{true:{color:"$neutral12",cursor:"default"},false:{"&:hover":{color:"$primary11"}}}}}),G1=Nt(),K1="hope-breadcrumb",zT="hope-breadcrumb__list";function jT(e){const t=Se().Breadcrumb,[n]=Cn({get spacing(){var l,u,d,c;return(c=(d=e.spacing)!=null?d:(u=(l=t==null?void 0:t.defaultProps)==null?void 0:l.root)==null?void 0:u.spacing)!=null?c:"0.5rem"},get separator(){var l,u,d,c;return(c=(d=e.separator)!=null?d:(u=(l=t==null?void 0:t.defaultProps)==null?void 0:l.root)==null?void 0:u.separator)!=null?c:"/"}}),[r,a]=de(e,["class","children","separator","spacing"]),i=()=>le(r.class,K1,BT()),o=()=>le(zT,$T()),s={state:n};return _(G1.Provider,{value:s,get children(){return _(Xe.nav,K({"aria-label":"breadcrumb",get class(){return i()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.root}},a,{get children(){return _(Xe.ol,{get class(){return o()},get gap(){return n.spacing},get children(){return r.children}})}}))}})}jT.toString=()=>be(K1);function Y1(){const e=It(G1);if(!e)throw new Error("[Hope UI]: useBreadcrumbContext must be used within a `<Breadcrumb />` component");return e}const X1="hope-breadcrumb__item";function WT(e){const t=Se().Breadcrumb,n=Y1(),[r,a]=de(e,["class"]),i=()=>le(r.class,X1,FT());return _(Xe.li,K({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.item},get gap(){return n.state.spacing}},a))}WT.toString=()=>be(X1);const Q1="hope-breadcrumb__link";function VT(e){const t=Se().Breadcrumb,[n,r]=de(e,["class","currentPage","href"]),a=()=>le(n.class,Q1,UT({currentPage:n.currentPage===!0}));return _(Re,{get when(){return n.currentPage},get fallback(){return _(Xe.a,K({get href(){return n.href},get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.link}},r))},get children(){return _(Xe.span,K({"aria-current":"page",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.link}},r))}})}VT.toString=()=>be(Q1);const Z1="hope-breadcrumb__separator";function qT(e){const t=Se().Breadcrumb,n=Y1(),[r,a]=de(e,["class","children"]),i=()=>le(r.class,Z1,HT());return _(Xe.span,K({role:"presentation",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.separator}},a,{get children(){return _(Re,{get when(){return r.children},get fallback(){return n.state.separator},get children(){return r.children}})}}))}qT.toString=()=>be(Z1);const GT=Y({display:"flex",justifyContent:"center",alignItems:"center"}),J1="hope-center";function no(e){const[t,n]=de(e,["class"]),r=()=>le(t.class,J1,GT());return _(Me,K({get class(){return r()}},n))}no.toString=()=>be(J1);function Va(e){return{color:e.color,"&[data-disabled]":{color:"$neutral10"},"&[data-focus]":{boxShadow:"0 0 0 3px $colors".concat(e.boxShadowColorFocus),borderColor:e.borderColorFocus}}}const nd=Y({position:"relative",display:"inline-flex",alignItems:"center",gap:"$2",cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},variants:{size:{sm:{fontSize:"$sm",lineHeight:"$5"},md:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"}}}}),rd=Y({cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"}}),ad=Y({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,height:"100%",outline:"none",padding:0,verticalAlign:"middle",cursor:"pointer",userSelect:"none",transition:"border-color 250ms, box-shadow 250ms","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},"&[data-invalid]":{borderColor:"$danger8",color:"$danger9"},"&[data-focus][data-invalid]":{boxShadow:"0 0 0 3px $colors$danger5",borderColor:"$danger8"},"&[data-checked], &[data-focus][data-checked]":{borderColor:"transparent",backgroundColor:"currentColor"},variants:{variant:{outline:{border:"1px solid $colors$neutral8",backgroundColor:"transparent"},filled:{border:"1px solid transparent",backgroundColor:"$neutral7"}},colorScheme:{primary:Va({color:"$primary9",boxShadowColorFocus:"$primary5",borderColorFocus:"$primary8"}),accent:Va({color:"$accent9",boxShadowColorFocus:"$accent5",borderColorFocus:"$accent8"}),neutral:Va({color:"$neutral9",boxShadowColorFocus:"$neutral5",borderColorFocus:"$neutral8"}),success:Va({color:"$success9",boxShadowColorFocus:"$success5",borderColorFocus:"$success8"}),info:Va({color:"$info9",boxShadowColorFocus:"$info5",borderColorFocus:"$info8"}),warning:Va({color:"$warning9",boxShadowColorFocus:"$warning5",borderColorFocus:"$warning8"}),danger:Va({color:"$danger9",boxShadowColorFocus:"$danger5",borderColorFocus:"$danger8"})},size:{sm:{boxSize:"$3"},md:{boxSize:"$4"},lg:{boxSize:"$5"}}}}),KT=Y(nd,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),YT=Y(rd),XT=Y(ad,{borderRadius:"$sm","& svg":{color:"$loContrast"},"&[data-indeterminate], &[data-focus][data-indeterminate]":{borderColor:"transparent",backgroundColor:"currentColor"}}),QT=Nt();function em(){return It(QT)}const ZT=Y({position:"relative",width:"$full"}),JT=Y({display:"inline-block",marginBottom:"$1",color:"$neutral12",fontWeight:"$medium",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}}),e5=Y({marginInlineStart:"$1",color:"$danger9",fontSize:"$base"}),t5=Y({display:"inline-block",marginTop:"$1",color:"$neutral11",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});Y({display:"inline-block",marginTop:"$1",color:"$danger9",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});const tm=Nt(),nm="hope-form-control";function n5(e){const t="hope-field-".concat(tr()),n=Se().FormControl,[r,a]=Cn({get id(){var p;return(p=e.id)!=null?p:t},get labelId(){return"".concat(this.id,"-label")},get helperTextId(){return"".concat(this.id,"-helper-text")},get errorMessageId(){return"".concat(this.id,"-error-message")},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get"data-focus"(){return this.isFocused?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0},hasHelperText:!1,hasErrorMessage:!1,isFocused:!1}),[i,o]=de(e,["id","required","disabled","invalid","readOnly","class"]),s=p=>a("hasHelperText",p),l=p=>a("hasErrorMessage",p),u=()=>a("isFocused",!0),d=()=>a("isFocused",!1),c=()=>({state:r,setHasHelperText:s,setHasErrorMessage:l,onFocus:u,onBlur:d}),f=()=>le(i.class,nm,ZT());return _(tm.Provider,{get value(){return c()},get children(){return _(Me,K({role:"group",get class(){return f()},get __baseStyle(){var p;return(p=n==null?void 0:n.baseStyle)==null?void 0:p.root}},o))}})}n5.toString=()=>be(nm);function Ts(){return It(tm)}function ro(e){const t=Ts(),n=ze(()=>Tn(t==null?void 0:t.onFocus,e.onFocus)),r=ze(()=>Tn(t==null?void 0:t.onBlur,e.onBlur)),[a]=Cn({get id(){var i;return(i=e.id)!=null?i:t==null?void 0:t.state.id},get required(){var i;return(i=e.required)!=null?i:t==null?void 0:t.state.required},get disabled(){var i;return(i=e.disabled)!=null?i:t==null?void 0:t.state.disabled},get invalid(){var i;return(i=e.invalid)!=null?i:t==null?void 0:t.state.invalid},get readOnly(){var i;return(i=e.readOnly)!=null?i:t==null?void 0:t.state.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"aria-describedby"(){const i=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.state.hasErrorMessage&&(t!=null&&t.state.invalid)&&i.push(t.state.errorMessageId),t!=null&&t.state.hasHelperText&&i.push(t.state.helperTextId),i.join(" ")||void 0},get onFocus(){return n},get onBlur(){return r}});return a}const r5=Bt('<input type="checkbox">',1);function a5(e){const t="hope-checkbox-".concat(tr()),n=Ts(),r=em(),a=ro(e),[i,o]=Cn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){if(r){const m=r.state.value;return m!=null?m.some(x=>String(e.value)===String(x)):!1}return this.isControlled?!!e.checked:this._checked},get id(){var m;return n&&!r?a.id:(m=e.id)!=null?m:t},get name(){var m;return(m=e.name)!=null?m:r==null?void 0:r.state.name},get value(){return e.value},get indeterminate(){return e.indeterminate},get required(){var m;return(m=a.required)!=null?m:r==null?void 0:r.state.required},get disabled(){var m;return(m=a.disabled)!=null?m:r==null?void 0:r.state.disabled},get invalid(){var m;return(m=a.invalid)!=null?m:r==null?void 0:r.state.invalid},get readOnly(){var m;return(m=a.readOnly)!=null?m:r==null?void 0:r.state.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-indeterminate"(){return this.indeterminate?"":void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[s,l,u]=de(e,["inputClass","children","ref","tabIndex","onChange"],["id","name","value","indeterminate","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),d=m=>{if(i.readOnly||i.disabled){m.preventDefault();return}if(!i.isControlled){const x=m.target;o("_checked",x.checked)}Tn(r==null?void 0:r.onChange,s.onChange)(m)},c=m=>{o("isFocused",!0),xn(a.onFocus,m)},f=m=>{o("isFocused",!1),xn(a.onBlur,m)},p=()=>le(s.inputClass,mu()),g=()=>i,b={state:i};return _(i5.Provider,{value:b,get children(){return _(Xe.label,K({get for(){return i.id},"data-group":!0,get"data-indeterminate"(){return i["data-indeterminate"]},get"data-focus"(){return i["data-focus"]},get"data-checked"(){return i["data-checked"]},get"data-required"(){return i["data-required"]},get"data-disabled"(){return i["data-disabled"]},get"data-invalid"(){return i["data-invalid"]},get"data-readonly"(){return i["data-readonly"]}},u,{get children(){return[(()=>{const m=r5.cloneNode(!0);m.addEventListener("blur",f),m.addEventListener("focus",c),m.addEventListener("change",d);const x=s.ref;return typeof x=="function"?x(m):s.ref=m,Ln(v=>{const y=p(),w=s.tabIndex,O=i.value,T=i.id,A=i.name,F=i.checked,M=i.required,D=i.disabled,B=i.readOnly,V=i["aria-required"],J=i["aria-disabled"],ee=i["aria-invalid"],ue=i["aria-readonly"],me=i["aria-label"],Le=i["aria-labelledby"],re=i["aria-describedby"];return y!==v._v$&&(m.className=v._v$=y),w!==v._v$2&&ft(m,"tabindex",v._v$2=w),O!==v._v$3&&(m.value=v._v$3=O),T!==v._v$4&&ft(m,"id",v._v$4=T),A!==v._v$5&&ft(m,"name",v._v$5=A),F!==v._v$6&&(m.checked=v._v$6=F),M!==v._v$7&&(m.required=v._v$7=M),D!==v._v$8&&(m.disabled=v._v$8=D),B!==v._v$9&&(m.readOnly=v._v$9=B),V!==v._v$10&&ft(m,"aria-required",v._v$10=V),J!==v._v$11&&ft(m,"aria-disabled",v._v$11=J),ee!==v._v$12&&ft(m,"aria-invalid",v._v$12=ee),ue!==v._v$13&&ft(m,"aria-readonly",v._v$13=ue),me!==v._v$14&&ft(m,"aria-label",v._v$14=me),Le!==v._v$15&&ft(m,"aria-labelledby",v._v$15=Le),re!==v._v$16&&ft(m,"aria-describedby",v._v$16=re),v},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),m})(),_(Re,{get when(){return wn(s.children)},get fallback(){return s.children},get children(){var m;return(m=s.children)==null?void 0:m.call(s,{state:g})}})]}}))}})}const i5=Nt(),o5=Bt('<svg><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),s5=Bt('<svg><path d="M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),rm="hope-checkbox",l5="hope-checkbox__input",u5="hope-checkbox__control",c5="hope-checkbox__label";function d5(e){var t,n,r,a,i,o,s,l,u,d,c,f,p,g,b,m,x,v,y,w;const O=Se().Checkbox,T=em(),A={variant:(i=(a=(t=T==null?void 0:T.state)==null?void 0:t.variant)!=null?a:(r=(n=O==null?void 0:O.defaultProps)==null?void 0:n.root)==null?void 0:r.variant)!=null?i:"outline",colorScheme:(d=(u=(o=T==null?void 0:T.state)==null?void 0:o.colorScheme)!=null?u:(l=(s=O==null?void 0:O.defaultProps)==null?void 0:s.root)==null?void 0:l.colorScheme)!=null?d:"primary",size:(b=(g=(c=T==null?void 0:T.state)==null?void 0:c.size)!=null?g:(p=(f=O==null?void 0:O.defaultProps)==null?void 0:f.root)==null?void 0:p.size)!=null?b:"md",labelPlacement:(w=(y=(m=T==null?void 0:T.state)==null?void 0:m.labelPlacement)!=null?y:(v=(x=O==null?void 0:O.defaultProps)==null?void 0:x.root)==null?void 0:v.labelPlacement)!=null?w:"end"},F=K(A,e),[M,D]=de(F,["children","class","variant","colorScheme","size","labelPlacement","iconChecked","iconIndeterminate"]),B=()=>le(M.class,rm,KT({size:M.size,labelPlacement:M.labelPlacement})),V=()=>le(u5,XT({variant:M.variant,colorScheme:M.colorScheme,size:M.size})),J=()=>le(c5,YT());return _(a5,K({get class(){return B()},inputClass:l5,get __baseStyle(){var ee;return(ee=O==null?void 0:O.baseStyle)==null?void 0:ee.root}},D,{children:({state:ee})=>[_(Xe.span,{"aria-hidden":!0,get class(){return V()},get __baseStyle(){var ue;return(ue=O==null?void 0:O.baseStyle)==null?void 0:ue.control},get"data-indeterminate"(){return ee()["data-indeterminate"]},get"data-focus"(){return ee()["data-focus"]},get"data-checked"(){return ee()["data-checked"]},get"data-required"(){return ee()["data-required"]},get"data-disabled"(){return ee()["data-disabled"]},get"data-invalid"(){return ee()["data-invalid"]},get"data-readonly"(){return ee()["data-readonly"]},get children(){return _(ru,{get children(){return[_(ia,{get when(){return ee().indeterminate},get children(){return _(Re,{get when(){return M.iconIndeterminate},get fallback(){return _(h5,{})},get children(){return M.iconIndeterminate}})}}),_(ia,{get when(){return la(()=>!!ee().checked)()&&!ee().indeterminate},get children(){return _(Re,{get when(){return M.iconChecked},get fallback(){return _(f5,{})},get children(){return M.iconChecked}})}})]}})}}),_(Xe.span,{get class(){return J()},get __baseStyle(){var ue;return(ue=O==null?void 0:O.baseStyle)==null?void 0:ue.label},get"data-indeterminate"(){return ee()["data-indeterminate"]},get"data-focus"(){return ee()["data-focus"]},get"data-checked"(){return ee()["data-checked"]},get"data-required"(){return ee()["data-required"]},get"data-disabled"(){return ee()["data-disabled"]},get"data-invalid"(){return ee()["data-invalid"]},get"data-readonly"(){return ee()["data-readonly"]},get children(){return M.children}})]}))}d5.toString=()=>be(rm);const f5=hr({viewBox:"0 0 15 15",path:()=>o5.cloneNode(!0)}),h5=hr({viewBox:"0 0 15 15",path:()=>s5.cloneNode(!0)}),g5=to({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}});Y({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"});Y({fill:"transparent",stroke:"currentColor"});Y({position:"absolute",top:0,left:0,variants:{spin:{true:{animation:"".concat(pu," 2s linear infinite")}}}});Y({fill:"transparent",stroke:"currentColor",opacity:1,variants:{hidden:{true:{opacity:0}},withRoundCaps:{true:{strokeLinecap:"round"}},indeterminate:{true:{animation:"".concat(g5," 2s linear infinite")},false:{strokeDashoffset:66,transitionProperty:"stroke-dasharray, stroke, opacity",transitionDuration:"600ms",transitionTimingFunction:"ease"}}}});Y({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",fontSize:"$xs",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const p5=Bt('<svg><path fill="currentColor" d="M2.64 1.27L7.5 6.13l4.84-4.84A.92.92 0 0 1 13 1a1 1 0 0 1 1 1a.9.9 0 0 1-.27.66L8.84 7.5l4.89 4.89A.9.9 0 0 1 14 13a1 1 0 0 1-1 1a.92.92 0 0 1-.69-.27L7.5 8.87l-4.85 4.85A.92.92 0 0 1 2 14a1 1 0 0 1-1-1a.9.9 0 0 1 .27-.66L6.16 7.5L1.27 2.61A.9.9 0 0 1 1 2a1 1 0 0 1 1-1c.24.003.47.1.64.27z"></path></svg>',4,!0),m5=hr({viewBox:"0 0 15 15",path:()=>p5.cloneNode(!0)}),x5=Y({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,outline:"none",borderWidth:0,borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"currentColor",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&:disbaled":{opacity:"0.5",cursor:"not-allowed",boxShadow:"none"},"&:hover":{backgroundColor:"$closeButtonHoverBackground"},"&:active":{backgroundColor:"$closeButtonActiveBackground"},"&:focus":{outline:"none",boxShadow:"$outline"},variants:{size:{sm:{boxSize:"24px",fontSize:"10px"},md:{boxSize:"32px",fontSize:"12px"},lg:{boxSize:"40px",fontSize:"16px"}}}}),am="hope-close-button";function yu(e){var t,n,r,a,i,o;const s=Se().CloseButton,l={"aria-label":(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t["aria-label"])!=null?n:"Close",icon:(a=(r=s==null?void 0:s.defaultProps)==null?void 0:r.icon)!=null?a:_(m5,{}),size:(o=(i=s==null?void 0:s.defaultProps)==null?void 0:i.size)!=null?o:"md"},u=K(l,e),[d,c]=de(u,["class","children","size","icon"]),f=()=>le(d.class,am,x5({size:d.size}));return _(Xe.button,K({type:"button",get class(){return f()},get __baseStyle(){return s==null?void 0:s.baseStyle}},c,{get children(){return _(Re,{get when(){return d.children},get fallback(){return d.icon},get children(){return d.children}})}}))}yu.toString=()=>be(am);const b5=Y({width:"100%","@sm":{maxWidth:"$containerSm"},"@md":{maxWidth:"$containerMd"},"@lg":{maxWidth:"$containerLg"},"@xl":{maxWidth:"$containerXl"},"@2xl":{maxWidth:"$container2xl"},variants:{centered:{true:{mx:"auto"}},centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}}}}),im="hope-container";function E5(e){const n=K({centered:!0,centerContent:!1},e),[r,a,i]=de(n,["class"],["centered","centerContent"]),o=()=>le(r.class,im,b5(a));return _(Me,K({get class(){return o()}},i))}E5.toString=()=>be(im);const y5=Y({border:0,borderColor:"currentColor",variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{height:"100%"},horizontal:{width:"100%"}}}}),om="hope-divider";function v5(e){const n=K({as:"div",variant:"solid",orientation:"horizontal",color:"$neutral6",thickness:"1px"},e),[r,a]=de(n,["class","variant","orientation","thickness"]),i=()=>le(r.class,om,y5({variant:r.variant,orientation:r.orientation,css:{borderLeftWidth:r.orientation==="vertical"?r.thickness:0,borderBottomWidth:r.orientation==="horizontal"?r.thickness:0}}));return _(Me,K({get class(){return i()}},a))}v5.toString=()=>be(om);function _5(e){const t="hope-modal-".concat(tr()),n=Se().Modal,[r,a]=Cn({headerMounted:!1,bodyMounted:!1,get opened(){return e.opened},get dialogId(){var m;return(m=e.id)!=null?m:t},get headerId(){return"".concat(this.dialogId,"--header")},get bodyId(){return"".concat(this.dialogId,"--body")},get initialFocus(){return e.initialFocus},get motionPreset(){var m,x,v,y;return(y=(v=e.motionPreset)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.motionPreset)!=null?y:"scale"},get size(){var m,x,v,y;return(y=(v=e.size)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.size)!=null?y:"md"},get centered(){var m,x,v,y;return(y=(v=e.centered)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.centered)!=null?y:!1},get scrollBehavior(){var m,x,v,y;return(y=(v=e.scrollBehavior)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.scrollBehavior)!=null?y:"outside"},get closeOnOverlayClick(){var m,x,v,y;return(y=(v=e.closeOnOverlayClick)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.closeOnOverlayClick)!=null?y:!0},get closeOnEsc(){var m,x,v,y;return(y=(v=e.closeOnEsc)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.closeOnEsc)!=null?y:!0},get trapFocus(){var m,x,v,y;return(y=(v=e.trapFocus)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.trapFocus)!=null?y:!0},get blockScrollOnMount(){var m,x,v,y;return(y=(v=e.blockScrollOnMount)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.blockScrollOnMount)!=null?y:!0},get preserveScrollBarGap(){var m,x,v,y;return(y=(v=e.preserveScrollBarGap)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.preserveScrollBarGap)!=null?y:!1}}),[i,o]=Ne(!1);Kt(()=>{r.opened?o(!0):r.motionPreset==="none"&&o(!1)});const s=()=>o(!1),l=()=>e.onClose(),u=m=>a("headerMounted",m),d=m=>a("bodyMounted",m);let c=null;const b={state:r,unmountPortal:s,onClose:l,onMouseDown:m=>{c=m.target},onKeyDown:m=>{var x;m.key==="Escape"&&(m.stopPropagation(),r.closeOnEsc&&l(),(x=e.onEsc)==null||x.call(e))},onOverlayClick:m=>{var x;m.stopPropagation(),c===m.target&&(r.closeOnOverlayClick&&l(),(x=e.onOverlayClick)==null||x.call(e))},setHeaderMounted:u,setBodyMounted:d};return _(Re,{get when(){return i()},get children(){return _(sm.Provider,{value:b,get children(){return _(Ra,{get children(){return e.children}})}})}})}const sm=Nt();function Pa(){const e=It(sm);if(!e)throw new Error("[Hope UI]: useModalContext must be used within a `<Modal />` component");return e}const lm="hope-modal__body";function um(e){const t=Se().Modal,n=Pa(),[r,a]=de(e,["class"]),i=()=>le(r.class,lm,Y_({scrollBehavior:n.state.scrollBehavior}));return Rn(()=>n.setBodyMounted(!0)),wt(()=>n.setBodyMounted(!1)),_(Me,K({get class(){return i()},get id(){return n.state.bodyId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.body}},a))}um.toString=()=>be(lm);const cm="hope-modal__close-button";function dm(e){var t,n,r,a,i,o,s,l;const u=Se().Modal,d=Pa(),c={"aria-label":(r=(n=(t=u==null?void 0:u.defaultProps)==null?void 0:t.closeButton)==null?void 0:n["aria-label"])!=null?r:"Close modal",size:(o=(i=(a=u==null?void 0:u.defaultProps)==null?void 0:a.closeButton)==null?void 0:i.size)!=null?o:"md",icon:(l=(s=u==null?void 0:u.defaultProps)==null?void 0:s.closeButton)==null?void 0:l.icon},f=K(c,e),[p,g]=de(f,["class","onClick"]),b=()=>le(p.class,cm,Q_());return _(yu,K({get class(){return b()},get __baseStyle(){var x;return(x=u==null?void 0:u.baseStyle)==null?void 0:x.closeButton},onClick:x=>{Tn(p.onClick,v=>{v.stopPropagation(),d.onClose()})(x)}},g))}dm.toString=()=>be(cm);const fm="hope-modal__footer";function T5(e){const t=Se().Modal,[n,r]=de(e,["class"]),a=()=>le(n.class,fm,X_());return _(Me,K({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.footer}},r))}T5.toString=()=>be(fm);const hm="hope-modal__header";function gm(e){const t=Se().Modal,n=Pa(),[r,a]=de(e,["class"]),i=()=>le(r.class,hm,K_());return Rn(()=>n.setHeaderMounted(!0)),wt(()=>n.setHeaderMounted(!1)),_(Me,K({get class(){return i()},get id(){return n.state.headerId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.header}},a))}gm.toString=()=>be(hm);const pm=Nt();function cM(e){const t=Se().Drawer,[,n]=de(e,["opened","onClose","placement","size","fullHeight","disableMotion"]),[r]=Cn({get placement(){var a,i,o,s;return(s=(o=e.placement)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.placement)!=null?s:"right"},get size(){var a,i,o,s;return(s=(o=e.size)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.size)!=null?s:"xs"},get fullHeight(){var a,i,o,s;return(s=(o=e.fullHeight)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.fullHeight)!=null?s:!1},get disableMotion(){var a,i,o,s;return(s=(o=e.disableMotion)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.disableMotion)!=null?s:!1}});return _(pm.Provider,{value:r,get children(){return _(_5,K({scrollBehavior:"inside",get blockScrollOnMount(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.blockScrollOnMount},get closeOnEsc(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.closeOnEsc},get closeOnOverlayClick(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.closeOnOverlayClick},get preserveScrollBarGap(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.preserveScrollBarGap},get trapFocus(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.trapFocus},get opened(){return e.opened},get onClose(){return e.onClose}},n))}})}function mm(){const e=It(pm);if(!e)throw new Error("[Hope UI]: useDrawerContext must be used within a `<Drawer />` component");return e}function dM(e){var t,n,r,a,i,o,s,l;const u=Se().Drawer,d={"aria-label":(r=(n=(t=u==null?void 0:u.defaultProps)==null?void 0:t.closeButton)==null?void 0:n["aria-label"])!=null?r:"Close drawer",size:(o=(i=(a=u==null?void 0:u.defaultProps)==null?void 0:a.closeButton)==null?void 0:i.size)!=null?o:"md",icon:(l=(s=u==null?void 0:u.defaultProps)==null?void 0:s.closeButton)==null?void 0:l.icon},c=K(d,e);return _(dm,K({get __baseStyle(){var f;return(f=u==null?void 0:u.baseStyle)==null?void 0:f.closeButton}},c))}function fM(e){const t=Se().Drawer;return _(um,K({get __baseStyle(){var n;return(n=t==null?void 0:t.baseStyle)==null?void 0:n.body}},e))}function hM(e){const t=Se().Drawer;return _(gm,K({get __baseStyle(){var n;return(n=t==null?void 0:t.baseStyle)==null?void 0:n.header}},e))}function xm(e){const t=Pa();let n,r;const a=f=>{n=f},i=()=>t.state.headerMounted?t.state.headerId:void 0,o=()=>t.state.bodyMounted?t.state.bodyId:void 0,s=f=>{Tn(e.onClick,p=>p.stopPropagation())(f)},l=()=>"[id='".concat(t.state.dialogId,"']"),u=()=>"".concat(l()," *"),d=()=>{n&&(t.state.trapFocus&&(r=r1(n,{initialFocus:t.state.initialFocus,fallbackFocus:l(),allowOutsideClick:!0}),r.activate()),t.state.blockScrollOnMount&&(Co.addScrollableSelector(u()),Co.disablePageScroll(n)))},c=()=>{r==null||r.deactivate(),Co.removeScrollableSelector(u()),Co.clearQueueScrollLocks(),Co.enablePageScroll()};return Rn(()=>{d()}),wt(()=>{c()}),{assignContainerRef:a,ariaLabelledBy:i,ariaDescribedBy:o,onDialogClick:s}}const S5="hope-modal__content-container",bm="hope-modal__content";function C5(e){const t=Se().Modal,n=Pa(),[r,a]=de(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:i,ariaLabelledBy:o,ariaDescribedBy:s,onDialogClick:l}=xm(r),u=()=>{const f=q_({centered:n.state.centered,scrollBehavior:n.state.scrollBehavior});return le(S5,f)},d=()=>{const f=G_({size:n.state.size,scrollBehavior:n.state.scrollBehavior});return le(r.class,bm,f)},c=()=>{switch(n.state.motionPreset){case"fade-in-bottom":return Jt.fadeInBottom;case"scale":return Jt.scale;case"none":return"hope-none"}};return _(Da,{get name(){return c()},appear:!0,get onAfterExit(){return n.unmountPortal},get children(){return _(Re,{get when(){return n.state.opened},get children(){return _(Me,{ref:i,get class(){return u()},tabIndex:-1,get onMouseDown(){return n.onMouseDown},get onKeyDown(){return n.onKeyDown},get onClick(){return n.onOverlayClick},get children(){return _(Xe.section,K({get class(){return d()},get __baseStyle(){var f;return(f=t==null?void 0:t.baseStyle)==null?void 0:f.content},get id(){return n.state.dialogId},get role(){var f;return(f=r.role)!=null?f:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return o()},get"aria-describedby"(){return s()},onClick:l},a))}})}})}})}C5.toString=()=>be(bm);const Em="hope-modal__overlay";function w5(e){const t=Se().Modal,n=Pa(),[r,a]=de(e,["class"]),i=()=>le(r.class,Em,b1()),o=()=>n.state.motionPreset==="none"?"hope-none":Jt.fade;return _(Da,{get name(){return o()},appear:!0,get children(){return _(Re,{get when(){return n.state.opened},get children(){return _(Me,K({get class(){return i()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.overlay}},a))}})}})}w5.toString=()=>be(Em);const A5="hope-drawer__content-container",ym="hope-drawer__content";function k5(e){const t=Se().Drawer,n=mm(),r=Pa(),[a,i]=de(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:o,ariaLabelledBy:s,ariaDescribedBy:l,onDialogClick:u}=xm(a),d=()=>le(A5,J_({placement:n.placement})),c=()=>{const p=e3({size:n.size,placement:n.placement,fullHeight:n.fullHeight});return le(a.class,ym,p)},f=()=>{if(n.disableMotion)return"hope-none";switch(n.placement){case"top":return st.slideInTop;case"right":return st.slideInRight;case"bottom":return st.slideInBottom;case"left":return st.slideInLeft}};return _(Da,{get name(){return f()},appear:!0,get onAfterExit(){return r.unmountPortal},get children(){return _(Re,{get when(){return r.state.opened},get children(){return _(Me,{ref:o,get class(){return d()},tabIndex:-1,get onMouseDown(){return r.onMouseDown},get onKeyDown(){return r.onKeyDown},get onClick(){return r.onOverlayClick},get children(){return _(Xe.section,K({get class(){return c()},get __baseStyle(){var p;return(p=t==null?void 0:t.baseStyle)==null?void 0:p.content},get id(){return r.state.dialogId},get role(){var p;return(p=a.role)!=null?p:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return s()},get"aria-describedby"(){return l()},onClick:u},i))}})}})}})}k5.toString=()=>be(ym);const vm="hope-drawer__overlay";function O5(e){const t=Se().Drawer,n=mm(),r=Pa(),[a,i]=de(e,["class"]),o=()=>le(a.class,vm,b1()),s=()=>n.disableMotion?"hope-none":st.fade;return _(Da,{get name(){return s()},appear:!0,get children(){return _(Re,{get when(){return r.state.opened},get children(){return _(Me,K({get class(){return o()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.overlay}},i))}})}})}O5.toString=()=>be(vm);const _m="hope-flex";function id(e){const[t,n]=de(e,["class","direction","wrap"]),r=()=>le(t.class,_m);return _(Me,K({get class(){return r()},display:"flex",get flexDirection(){return t.direction},get flexWrap(){return t.wrap}},n))}id.toString=()=>be(_m);const Tm="hope-form-helper-text";function I5(e){const t=Se().FormControl,n=Ts(),[r,a]=de(e,["ref","id","class"]),i=()=>{var s;return(s=r.id)!=null?s:n==null?void 0:n.state.helperTextId},o=()=>le(r.class,Tm,t5());return Rn(()=>n==null?void 0:n.setHasHelperText(!0)),wt(()=>n==null?void 0:n.setHasHelperText(!1)),_(Me,K({get id(){return i()},get class(){return o()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.helperText},get"data-disabled"(){return n==null?void 0:n.state["data-disabled"]},get"data-readonly"(){return n==null?void 0:n.state["data-readonly"]}},a))}I5.toString=()=>be(Tm);const N5=Bt('<span role="presentation" aria-hidden="true">*</span>',2),Sm="hope-form-label";function L5(e){var t,n,r;const a=Se().FormControl,i=Ts(),o={withRequiredIndicator:(r=(n=(t=a==null?void 0:a.defaultProps)==null?void 0:t.label)==null?void 0:n.withRequiredIndicator)!=null?r:!0},s=K(o,e),[l,u]=de(s,["id","for","class","children","withRequiredIndicator"]),d=()=>{var p;return(p=l.id)!=null?p:i==null?void 0:i.state.labelId},c=()=>{var p;return(p=l.for)!=null?p:i==null?void 0:i.state.id},f=()=>le(l.class,Sm,JT());return _(Xe.label,K({get id(){return d()},get for(){return c()},get class(){return f()},get __baseStyle(){var p;return(p=a==null?void 0:a.baseStyle)==null?void 0:p.label},get"data-focus"(){return i==null?void 0:i.state["data-focus"]},get"data-disabled"(){return i==null?void 0:i.state["data-disabled"]},get"data-invalid"(){return i==null?void 0:i.state["data-invalid"]},get"data-readonly"(){return i==null?void 0:i.state["data-readonly"]}},u,{get children(){return[la(()=>l.children),_(Re,{get when(){return(i==null?void 0:i.state.required)&&l.withRequiredIndicator},get children(){const p=N5.cloneNode(!0);return Ln(()=>p.className=e5()),p}})]}}))}L5.toString=()=>be(Sm);const Cm="hope-grid";function wm(e){const[t,n]=de(e,["class","autoFlow","autoColumns","autoRows","templateAreas","templateColumns","templateRows"]),r=()=>le(t.class,Cm);return _(Me,K({get class(){return r()},display:"grid",get gridAutoFlow(){return t.autoFlow},get gridAutoColumns(){return t.autoColumns},get gridAutoRows(){return t.autoRows},get gridTemplateAreas(){return t.templateAreas},get gridTemplateColumns(){return t.templateColumns},get gridTemplateRows(){return t.templateRows}},n))}wm.toString=()=>be(Cm);function Bf(e){if(e!=null)return qv(e,t=>{switch(t){case"auto":return"auto";case"full":return"1 / -1";default:return"span ".concat(t," / span ").concat(t)}})}const Am="hope-grid-item";function R5(e){const[t,n]=de(e,["class","area","colSpan","colStart","colEnd","rowSpan","rowStart","rowEnd"]),r=()=>le(t.class,Am);return _(Me,K({get class(){return r()},get gridArea(){return t.area},get gridColumn(){return Bf(t.colSpan)},get gridRow(){return Bf(t.rowSpan)},get gridColumnStart(){return t.colStart},get gridColumnEnd(){return t.colEnd},get gridRowStart(){return t.rowStart},get gridRowEnd(){return t.rowEnd}},n))}R5.toString=()=>be(Am);const km="hope-simple-grid";function D5(e){return Wv(e)?"".concat(e,"px"):e}function P5(e){return _1(e,t=>g1(t)?null:"repeat(auto-fit, minmax(".concat(D5(t),", 1fr))"))}function M5(e){return _1(e,t=>g1(t)?null:"repeat(".concat(t,", minmax(0, 1fr))"))}function B5(e){const[t,n]=de(e,["class","minChildWidth","columns"]),r=()=>le(t.class,km),a=()=>t.minChildWidth?P5(t.minChildWidth):M5(t.columns);return _(wm,K({get class(){return r()},get templateColumns(){return a()}},n))}B5.toString=()=>be(km);const Om=Y({variants:{size:{xs:{fontSize:"$xs",lineHeight:"$4"},sm:{fontSize:"$sm",lineHeight:"$5"},base:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"},xl:{fontSize:"$xl",lineHeight:"$7"},"2xl":{fontSize:"$2xl",lineHeight:"$8"},"3xl":{fontSize:"$3xl",lineHeight:"$9"},"4xl":{fontSize:"$4xl",lineHeight:"$10"},"5xl":{fontSize:"$5xl",lineHeight:"$none"},"6xl":{fontSize:"$6xl",lineHeight:"$none"},"7xl":{fontSize:"$7xl",lineHeight:"$none"},"8xl":{fontSize:"$8xl",lineHeight:"$none"},"9xl":{fontSize:"$9xl",lineHeight:"$none"}}}}),$5=Y(Om,{fontWeight:"$semibold"}),Im="hope-heading";function Nm(e){var t,n;const r=Se().Heading,a={as:"h2",level:(t=r==null?void 0:r.defaultProps)==null?void 0:t.level,size:(n=r==null?void 0:r.defaultProps)==null?void 0:n.size},i=K(a,e),[o,s]=de(i,["class","as","level","size"]),l=()=>le(o.class,Im,$5({size:o.size})),u=()=>o.level?"h".concat(o.level):o.as;return _(Me,K({get as(){return u()},get class(){return l()},get __baseStyle(){return r==null?void 0:r.baseStyle}},s))}Nm.toString=()=>be(Im);function F5(e){const t=Se().IconButton,n=F1(),[r,a]=de(e,["class","children","icon","variant","colorScheme","size","disabled"]),i=()=>{var d,c,f,p;return(p=(f=(d=r.variant)!=null?d:n==null?void 0:n.state.variant)!=null?f:(c=t==null?void 0:t.defaultProps)==null?void 0:c.variant)!=null?p:"solid"},o=()=>{var d,c,f,p;return(p=(f=(d=r.colorScheme)!=null?d:n==null?void 0:n.state.colorScheme)!=null?f:(c=t==null?void 0:t.defaultProps)==null?void 0:c.colorScheme)!=null?p:"primary"},s=()=>{var d,c,f,p;return(p=(f=(d=r.size)!=null?d:n==null?void 0:n.state.size)!=null?f:(c=t==null?void 0:t.defaultProps)==null?void 0:c.size)!=null?p:"md"},l=()=>{var d;return(d=r.disabled)!=null?d:n==null?void 0:n.state.disabled},u=()=>le(r.class,Eu);return _(W1,K({get class(){return u()},get __baseStyle(){return t==null?void 0:t.baseStyle},get variant(){return i()},get colorScheme(){return o()},get size(){return s()},get disabled(){return l()}},a,{get children(){return _(Re,{get when(){return r.icon},get fallback(){return r.children},get children(){return r.icon}})}}))}F5.toString=()=>be(Eu);const Lm="hope-image";function H5(e){const[t,n,r]=de(e,["class","htmlWidth","htmlHeight","fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],["onError","onLoad"]),a=()=>t.loading!=null||t.ignoreFallback||t.fallbackSrc===void 0&&t.fallback===void 0,i=ze(()=>DT(jr(Ee({},e),{ignoreFallback:a()}))),o=()=>Ee(Ee({objectFit:t.fit,objectPosition:t.align,width:t.htmlWidth,height:t.htmlHeight},a()?n:{}),r),s=()=>le(t.class,Lm);return _(Re,{get when(){return i()()==="loaded"},get fallback(){return _(Re,{get when(){return t.fallback},get fallback(){return _(Me,K({as:"img",get src(){return t.fallbackSrc},class:"hope-image__placeholder"},o))},get children(){return t.fallback}})},get children(){return _(Me,K({as:"img",get src(){return t.src},get srcSet(){return t.srcSet},get crossOrigin(){return t.crossOrigin},get loading(){return t.loading},get class(){return s()}},o))}})}H5.toString=()=>be(Lm);const U5=Nt();function z5(){return It(U5)}const Rm="hope-input";function Dm(e){const t=Se().Input,n=z5(),r=ro(e),[a,i]=de(e,["class","htmlSize","variant","size"]),o=()=>{var s,l,u,d,c,f,p,g,b,m,x,v,y,w;return le(a.class,Rm,y3({variant:(c=(d=(s=a.variant)!=null?s:n==null?void 0:n.state.variant)!=null?d:(u=(l=t==null?void 0:t.defaultProps)==null?void 0:l.input)==null?void 0:u.variant)!=null?c:"outline",size:(m=(b=(f=a.size)!=null?f:n==null?void 0:n.state.size)!=null?b:(g=(p=t==null?void 0:t.defaultProps)==null?void 0:p.input)==null?void 0:g.size)!=null?m:"md",withLeftElement:(x=n==null?void 0:n.state.hasLeftElement)!=null?x:!1,withRightElement:(v=n==null?void 0:n.state.hasRightElement)!=null?v:!1,withLeftAddon:(y=n==null?void 0:n.state.hasLeftAddon)!=null?y:!1,withRightAddon:(w=n==null?void 0:n.state.hasRightAddon)!=null?w:!1}))};return _(Xe.input,K({type:"text",get class(){return o()},get size(){return a.htmlSize},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.input}},r,i))}Dm.toString=()=>be(Rm);const j5=Y({borderRadius:"$md",borderColor:"$neutral7",borderWidth:"1px",borderBottomWidth:"3px",backgroundColor:"$neutral2",px:"0.4em",fontFamily:"$mono",fontSize:"0.8em",fontWeight:"$bold",lineHeight:"$normal",whiteSpace:"nowrap"}),Pm="hope-kbd";function W5(e){const t=Se().Kbd,[n,r]=de(e,["class"]),a=()=>le(n.class,Pm,j5());return _(Xe.kbd,K({get class(){return a()},get __baseStyle(){return t==null?void 0:t.baseStyle}},r))}W5.toString=()=>be(Pm);const V5=Y({listStyleType:"none"});Y({marginEnd:"0.5rem"});const Mm="hope-list",q5="& > *:not(style) ~ *:not(style)";function Bm(e){const[t,n]=de(e,["class","styleType","stylePosition","spacing"]),r=()=>t.spacing?{[q5]:{mt:t.spacing}}:{},a=()=>le(t.class,Mm,V5({css:Ee({listStyleType:t.styleType,listStylePosition:t.stylePosition},r())}));return _(Xe.ul,K({role:"list",get class(){return a()}},n))}Bm.toString=()=>be(Mm);const $m="hope-list__item";function Fm(e){const[t,n]=de(e,["class"]),r=()=>le(t.class,$m);return _(Xe.li,K({get class(){return r()}},n))}Fm.toString=()=>be($m);var $r=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.OpenAndFocusLast=6]="OpenAndFocusLast",e[e.Previous=7]="Previous",e[e.Select=8]="Select",e[e.Type=9]="Type",e))($r||{});function $f(e=[],t,n=[]){return e.filter(r=>r.disabled?!1:r.textValue.toLowerCase().indexOf(t.toLowerCase())===0&&n.indexOf(r.textValue)<0)}function G5(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],a=$f(r,t)[0],i=o=>o.every(s=>s===o[0]);if(a)return e.indexOf(a);if(i(t.split(""))){const o=$f(r,t[0]);return e.indexOf(o[0])}else return-1}function K5(e,t){const{key:n,altKey:r,ctrlKey:a,metaKey:i}=e;if(!t&&["ArrowDown","Enter"," "].includes(n))return 5;if(!t&&n==="ArrowUp")return 6;if(n==="Home")return 2;if(n==="End")return 3;if(n==="Backspace"||n==="Clear"||n.length===1&&n!==" "&&!r&&!a&&!i)return 9;if(t){if(n==="ArrowDown")return 4;if(n==="ArrowUp")return 7;if(n==="Escape")return 0;if(n==="Enter"||n===" ")return 1}}function Ff(e,t,n){switch(n){case 2:return 0;case 3:return t;case 7:return e-1<0?t:e-1;case 4:return e+1>t?0:e+1;default:return e}}function Y5(e){const{currentIndex:t,maxIndex:n,initialAction:r,isItemDisabled:a}=e;let i=Ff(t,n,r);for(;a(i);){let o=r;const s=i===0,l=i===n;if(r===2&&(o=4),r===3&&(o=7),r===7&&s){i=t;break}if(r===4&&l){i=t;break}i=Ff(i,n,o)}return i}function X5(e){const t="hope-menu-".concat(tr()),n=Se().Menu,[r,a]=Ne([]),[i,o]=Cn({get triggerId(){var re;return(re=e.id)!=null?re:"".concat(t,"-trigger")},get menuContentId(){return"".concat(t,"-content")},get labelIdPrefix(){return"".concat(t,"-label")},get itemIdPrefix(){return"".concat(t,"-item")},get activeDescendantId(){return this.opened?"".concat(this.itemIdPrefix,"-").concat(this.activeIndex):void 0},get closeOnSelect(){var re,Fe,ke,C;return(C=(ke=e.closeOnSelect)!=null?ke:(Fe=(re=n==null?void 0:n.defaultProps)==null?void 0:re.root)==null?void 0:Fe.closeOnSelect)!=null?C:!0},get motionPreset(){var re,Fe,ke,C,R;return e.motionPreset?e.motionPreset:(Fe=(re=n==null?void 0:n.defaultProps)==null?void 0:re.root)!=null&&Fe.motionPreset?(C=(ke=n==null?void 0:n.defaultProps)==null?void 0:ke.root)==null?void 0:C.motionPreset:(R=e.placement)!=null&&R.startsWith("top")?"scale-bottom-left":"scale-top-left"},get items(){return r()},opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let s,l,u;const d=async()=>{var re,Fe,ke,C,R,xe,$e,bt;if(!s||!l)return;const{x:nt,y:rt}=await hu(s,l,{placement:(C=(ke=e.placement)!=null?ke:(Fe=(re=n==null?void 0:n.defaultProps)==null?void 0:re.root)==null?void 0:Fe.placement)!=null?C:"bottom-start",middleware:[lu((bt=($e=e.offset)!=null?$e:(xe=(R=n==null?void 0:n.defaultProps)==null?void 0:R.root)==null?void 0:xe.offset)!=null?bt:5),su(),uu()]});l&&Object.assign(l.style,{left:"".concat(Math.round(nt),"px"),top:"".concat(Math.round(rt),"px")})},c=re=>{i.searchTimeoutId&&window.clearTimeout(i.searchTimeoutId);const Fe=window.setTimeout(()=>{o("searchString","")},500);return o("searchTimeoutId",Fe),o("searchString",ke=>ke+=re),i.searchString},f=re=>{o("activeIndex",re)},p=re=>i.items[re].disabled,g=re=>{var Fe;f(re);const ke=i.items[re];(Fe=ke.onSelect)==null||Fe.call(ke),ke.closeOnSelect?F(!1):b()},b=()=>{s==null||s.focus()},m=re=>{if(!ai(s,Ul(re))){if(i.ignoreBlur){o("ignoreBlur",!1);return}i.opened&&F(!1,!1)}},x=()=>{F(!i.opened,!1)},v=re=>{const{key:Fe}=re,ke=i.items.length-1,C=K5(re,i.opened);switch(C){case $r.Last:case $r.First:case $r.Next:case $r.Previous:return re.preventDefault(),f(Y5({currentIndex:i.activeIndex,maxIndex:ke,initialAction:C,isItemDisabled:p}));case $r.SelectAndClose:re.preventDefault(),g(i.activeIndex);return;case $r.Close:return re.preventDefault(),F(!1);case $r.Type:return y(Fe);case $r.Open:return re.preventDefault(),F(!0);case $r.OpenAndFocusLast:return re.preventDefault(),F(!0,!0,!0)}},y=re=>{F(!0);const Fe=c(re),ke=G5(i.items,Fe,i.activeIndex+1);ke>=0?f(ke):(window.clearTimeout(i.searchTimeoutId),o("searchString",""))},w=re=>{if(i.items[re].disabled){b();return}g(re)},O=re=>{i.activeIndex!==re&&f(re)},T=()=>{o("ignoreBlur",!0)},A=()=>{i.opened?(d(),s&&l&&(u=fu(s,l,d))):u==null||u()},F=(re,Fe=!0,ke=!1)=>{i.opened!==re&&(o("opened",re),o("activeIndex",ke?i.items.length-1:0),A(),Fe&&b())},M=()=>{f(-1)},D=re=>{ai(s,re)||F(!1,!1)},B=re=>re===i.activeIndex,V=re=>{s=re},J=re=>{l=re},ee=re=>{l&&C1(l)&&w1(re,l)},ue=re=>{const Fe=i.items.findIndex(C=>C.key===re.key);return Fe!=-1?Fe:a(C=>[...C,re]).length-1},me=()=>i.opened,Le={state:i,isItemActiveDescendant:B,assignTriggerRef:V,assignContentRef:J,registerItem:ue,scrollToItem:ee,onTriggerBlur:m,onTriggerClick:x,onTriggerKeyDown:v,onContentMouseLeave:M,onContentClickOutside:D,onItemClick:w,onItemMouseMove:O,onItemMouseDown:T};return _(Hm.Provider,{value:Le,get children(){return _(Re,{get when(){return bu(e)},get fallback(){return e.children},get children(){var re;return(re=e.children)==null?void 0:re.call(e,{opened:me})}})}})}const Hm=Nt();function od(){const e=It(Hm);if(!e)throw new Error("[Hope UI]: useMenuContext must be used within a `<Menu />` component");return e}function Q5(e){const[t,n]=Cn({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),r=o=>{fc(o,e.element())&&n("isPointerDown",!0)},a=o=>{if(t.ignoreEmulatedMouseEvents){n("ignoreEmulatedMouseEvents",!1);return}t.isPointerDown&&e.handler&&fc(o,e.element())&&(n("isPointerDown",!1),e.handler(o))},i=o=>{n("ignoreEmulatedMouseEvents",!0),e.handler&&t.isPointerDown&&fc(o,e.element())&&(n("isPointerDown",!1),e.handler(o))};Rn(()=>{const o=Hl(e.element());o.addEventListener("mousedown",r,!0),o.addEventListener("mouseup",a,!0),o.addEventListener("touchstart",r,!0),o.addEventListener("touchend",i,!0)}),wt(()=>{const o=Hl(e.element());o.removeEventListener("mousedown",r,!0),o.removeEventListener("mouseup",a,!0),o.removeEventListener("touchstart",r,!0),o.removeEventListener("touchend",i,!0)})}function Um(e){const t=da(()=>e.children);return Q5({element:()=>t(),handler:n=>e.onClickOutside(n)}),t}const zm="hope-menu__content";function jm(e){const t=Se().Menu,n=od(),[r,a]=de(e,["ref","class","children"]),[i,o]=Ne(!1);Kt(aa(()=>n.state.opened,()=>{n.state.opened?o(!0):n.state.motionPreset==="none"&&o(!1)}));const s=()=>o(!1),l=da(()=>r.children),u=p=>{n.assignContentRef(p),wn(r.ref)?r.ref(p):r.ref=p},d=p=>{n.onContentClickOutside(p.target)},c=()=>le(r.class,zm,r3()),f=()=>{switch(n.state.motionPreset){case"scale-top-left":return Ta.scaleTopLeft;case"scale-top-right":return Ta.scaleTopRight;case"scale-bottom-left":return Ta.scaleBottomLeft;case"scale-bottom-right":return Ta.scaleBottomRight;case"none":return"hope-none"}};return _(Re,{get when(){return i()},get children(){return _(Ra,{get children(){return _(Da,{get name(){return f()},appear:!0,onAfterExit:s,get children(){return _(Re,{get when(){return n.state.opened},get children(){return _(Um,{onClickOutside:d,get children(){return _(Me,K({role:"menu",tabindex:"-1",ref:u,get id(){return n.state.menuContentId},get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-labelledby"(){return n.state.triggerId},"aria-orientation":"vertical",get class(){return c()},get __baseStyle(){var p;return(p=t==null?void 0:t.baseStyle)==null?void 0:p.content},get onMouseLeave(){return n.onContentMouseLeave}},a,{get children(){return l()}}))}})}})}})}})}})}jm.toString=()=>be(zm);const Wm="hope-menu__item",Z5="hope-menu__item__icon-wrapper",J5="hope-menu__item__text",eS="hope-menu__item__command";function Vm(e){const t=tr(),n=Se().Menu,r=od(),[a,i]=Ne(-1);let o;const[s,l]=de(e,["ref","class","children","colorScheme","icon","iconSpacing","command","commandSpacing","textValue","disabled","closeOnSelect","onSelect","onClick"]),u=()=>{var y,w;return{key:t,textValue:(w=(y=s.textValue)!=null?y:o==null?void 0:o.textContent)!=null?w:"",disabled:!!s.disabled,closeOnSelect:s.closeOnSelect!=null?!!s.closeOnSelect:r.state.closeOnSelect,onSelect:s.onSelect}},d=()=>"".concat(r.state.itemIdPrefix,"-").concat(a()),c=()=>r.isItemActiveDescendant(a()),f=y=>{o=y,wn(s.ref)?s.ref(y):s.ref=y},p=y=>{y.stopPropagation(),r.onItemClick(a())},g=y=>{if(s.disabled&&r.onItemMouseMove(-1),c()||s.disabled){y.preventDefault(),y.stopPropagation();return}r.onItemMouseMove(a())},b=()=>le(s.class,Wm,a3({colorScheme:s.colorScheme})),m=()=>le(Z5,i3()),x=()=>le(J5,o3()),v=()=>le(eS,s3());return Rn(()=>{i(r.registerItem(u()))}),Kt(()=>{c()&&o&&r.scrollToItem(o)}),_(Me,K({ref:f,role:"menuitem",get id(){return d()},get"data-active"(){return c()?"":void 0},get"data-disabled"(){return s.disabled?"":void 0},"data-group":!0,get class(){return b()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.item},onClick:p,onMouseMove:g,get onMouseDown(){return r.onItemMouseDown}},l,{get children(){return[_(Re,{get when(){return s.icon},get children(){return _(Xe.span,{"aria-hidden":"true",get class(){return m()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.itemIconWrapper},get mr(){var y;return(y=s.iconSpacing)!=null?y:"0.5rem"},get children(){return s.icon}})}}),_(Re,{get when(){return s.children},get children(){return _(Xe.span,{get class(){return x()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.itemText},get children(){return s.children}})}}),_(Re,{get when(){return s.command},get children(){return _(Xe.span,{get class(){return v()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.itemCommand},get ml(){var y;return(y=s.commandSpacing)!=null?y:"0.5rem"},get children(){return s.command}})}})]}}))}Vm.toString=()=>be(Wm);const qm="hope-menu__trigger";function Gm(e){const t=Se().Menu,n=od(),[r,a]=de(e,["ref","class","onClick","onKeyDown","onBlur"]),i=d=>{n.assignTriggerRef(d),wn(r.ref)?r.ref(d):r.ref=d},o=d=>{Tn(n.onTriggerClick,r.onClick)(d)},s=d=>{Tn(n.onTriggerKeyDown,r.onKeyDown)(d)},l=d=>{Tn(n.onTriggerBlur,r.onBlur)(d)},u=()=>le(r.class,qm,n3());return _(Xe.button,K({ref:i,get id(){return n.state.triggerId},type:"button","aria-haspopup":"menu",get"aria-controls"(){return n.state.menuContentId},get"aria-expanded"(){return n.state.opened},get class(){return u()},get __baseStyle(){var d;return(d=t==null?void 0:t.baseStyle)==null?void 0:d.trigger},onClick:o,onKeyDown:s,onBlur:l},a))}Gm.toString=()=>be(qm);const Km="hope-notification";function Ym(e){const t=Se().Notification,r=K({},e),[a,i]=de(r,["class","status"]),o=()=>le(a.class,Km,c3({status:a.status})),l={status:()=>a.status};return _(Xm.Provider,{value:l,get children(){return _(Me,K({role:"alert",get class(){return o()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.root}},i))}})}Ym.toString=()=>be(Km);const Xm=Nt();function tS(){const e=It(Xm);if(!e)throw new Error("[Hope UI]: useNotificationContext must be used within an `<Notification />` component");return e}const Nn={show:"hope-ui:show-notification",update:"hope-ui:update-notification",hide:"hope-ui:hide-notification",clear:"hope-ui:clear-notifications",clearQueue:"hope-ui:clear-notifications-queue"};function Ss(e,t){return new CustomEvent(e,{detail:t})}function nS(e){window.dispatchEvent(Ss(Nn.show,e))}function rS(e){window.dispatchEvent(Ss(Nn.update,e))}function aS(e){window.dispatchEvent(Ss(Nn.hide,e))}function iS(){window.dispatchEvent(Ss(Nn.clear))}function oS(){window.dispatchEvent(Ss(Nn.clearQueue))}const ko={show:nS,update:rS,hide:aS,clear:iS,clearQueue:oS},Qm="hope-notification__description";function u0(e){const t=Se().Notification,[n,r]=de(e,["class"]),a=()=>le(n.class,Qm,g3());return _(Me,K({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.description}},r))}u0.toString=()=>be(Qm);const Zm="hope-notification__icon";function Jm(e){const t=Se().Notification,{status:n}=tS(),a=K({boxSize:"$7"},e),[i,o]=de(a,["as","class"]),s=()=>le(i.class,Zm,f3({status:n()})),l=()=>{if(i.as)return i.as;switch(n()){case"success":return I1;case"info":return R1;case"warning":return L1;case"danger":return N1}};return _(gi,K({get as(){return l()},get class(){return s()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.icon}},o))}Jm.toString=()=>be(Zm);const ex="hope-notification__title";function c0(e){const t=Se().Notification,[n,r]=de(e,["class"]),a=()=>le(n.class,ex,h3());return _(Me,K({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.title}},r))}c0.toString=()=>be(ex);function sS(e){var t,n,r,a;const[i,o]=Ne((n=(t=e.initialValues)==null?void 0:t.slice(0,e.limit))!=null?n:[]),[s,l]=Ne((a=(r=e.initialValues)==null?void 0:r.slice(e.limit))!=null?a:[]),u=()=>e.limit;return{state:{current:i,queue:s,limit:u},add:(...g)=>{const b=[...i(),...s(),...g];o(b.slice(0,u())),l(b.slice(u()))},update:g=>{const b=g([...i(),...s()]);o(b.slice(0,u())),l(b.slice(u()))},clearQueue:()=>{l([])}}}const lS=Y({display:"flex"}),vu="hope-stack";function sd(e){const[t,n]=de(e,["class","direction","wrap","spacing"]),r=()=>le(t.class,vu,lS());return _(Me,K({get class(){return r()},get flexDirection(){return t.direction},get flexWrap(){return t.wrap},get gap(){return t.spacing}},n))}sd.toString=()=>be(vu);function uS(e){const[t,n]=de(e,["spacing"]);return _(sd,K({direction:"row",alignItems:"center",get columnGap(){return t.spacing}},n))}uS.toString=()=>be(vu);function tx(e){const[t,n]=de(e,["spacing"]);return _(sd,K({direction:"column",alignItems:"center",get rowGap(){return t.spacing}},n))}tx.toString=()=>be(vu);const nx=Nt();function cS(){const e=It(nx);if(!e)throw new Error("[Hope UI]: useNotificationsProviderContext must be used within a `<NotificationsProvider />` component");return e}function dS(e){const t=cS(),[n]=de(e,["render","id","status","title","description","duration","persistent","closable","loading","onMouseEnter","onMouseLeave"]);let r;const a=()=>{r&&window.clearTimeout(r)},i=()=>{a(),t.hideNotification(n.id)},o=()=>{n.persistent||n.duration==null||(r=window.setTimeout(i,n.duration))},s=()=>n.status&&!n.loading;return Rn(()=>{o()}),wt(()=>{a()}),_(Re,{get when(){return n.render},get fallback(){return _(Ym,{get status(){return n.status},get pr(){return n.closable?"$9":"$3"},onMouseEnter:a,onMouseLeave:o,get children(){return[_(Re,{get when(){return s()},get children(){return _(Jm,{mr:"$2_5"})}}),_(Re,{get when(){return n.loading},get children(){return _(U1,{color:"$primary10",boxSize:"$8",mr:"$2_5",get class(){return d3()}})}}),_(ru,{get children(){return[_(ia,{get when(){return n.title&&n.description},get children(){return _(tx,{alignItems:"flex-start",spacing:"$1",get children(){return[_(c0,{get children(){return n.title}}),_(u0,{get children(){return n.description}})]}})}}),_(ia,{get when(){return n.title},get children(){return _(c0,{get children(){return n.title}})}}),_(ia,{get when(){return n.description},get children(){return _(u0,{get children(){return n.description}})}})]}}),_(Re,{get when(){return n.closable},get children(){return _(yu,{size:"sm",position:"absolute",top:"$1_5",right:"$1_5",onClick:i})}})]}})},get children(){return _(id,{w:"$full",justifyContent:"flex-end",onMouseEnter:a,onMouseLeave:o,get children(){var l;return(l=n.render)==null?void 0:l.call(n,{id:n.id,close:i})}})}})}const fS="hope-notification__list",hS=5e3;function gS(e){const[t]=de(e,["children","placement","duration","persistent","closable","limit","zIndex"]),n=ze(()=>{var x;return sS({initialValues:[],limit:(x=t.limit)!=null?x:10})}),r=()=>{var x;return(x=t.placement)!=null?x:"top-end"},a=()=>n().state.current(),i=()=>n().state.queue(),o=x=>{var v,y,w,O,T,A,F;const M=(v=x.id)!=null?v:"hope-notification-".concat(tr()),D=(w=(y=x.persistent)!=null?y:t.persistent)!=null?w:!1,B=(T=(O=x.duration)!=null?O:t.duration)!=null?T:hS,V=(F=(A=x.closable)!=null?A:t.closable)!=null?F:!0;return n().update(J=>{if(x.id&&J.some(ue=>ue.id===x.id))return J;const ee=jr(Ee({},x),{id:M,persistent:D,duration:B,closable:V});return[...J,ee]}),M},s=(x,v)=>{n().update(y=>{const w=y.findIndex(T=>T.id===x);if(w===-1)return y;const O=[...y];return O[w]=v,O})},l=x=>{n().update(v=>v.filter(y=>{var w;return y.id===x?((w=y.onClose)==null||w.call(y,y.id),!1):!0}))},u=()=>n().update(()=>[]),d=()=>n().clearQueue(),c=()=>le(fS,u3({placement:r()})),f=()=>{switch(r()){case"top-start":return wr.slideInLeft;case"top":return wr.slideInTop;case"top-end":return wr.slideInRight;case"bottom-start":return wr.slideInLeft;case"bottom":return wr.slideInBottom;case"bottom-end":return wr.slideInRight;default:return wr.slideInRight}},p={notifications:a,queue:i,showNotification:o,updateNotification:s,hideNotification:l,clear:u,clearQueue:d},g=x=>o(x.detail),b=x=>s(x.detail.id,x.detail),m=x=>l(x.detail);return Rn(()=>{window.addEventListener(Nn.show,g),window.addEventListener(Nn.update,b),window.addEventListener(Nn.hide,m),window.addEventListener(Nn.clear,u),window.addEventListener(Nn.clearQueue,d)}),wt(()=>{window.removeEventListener(Nn.show,g),window.removeEventListener(Nn.update,b),window.removeEventListener(Nn.hide,m),window.removeEventListener(Nn.clear,u),window.removeEventListener(Nn.clearQueue,d)}),_(nx.Provider,{value:p,get children(){return[_(Ra,{get children(){return _(Me,{get class(){return c()},get zIndex(){return t.zIndex},get children(){return _(sv,{get name(){return f()},get children(){return _(Zi,{get each(){return p.notifications()},children:x=>_(dS,x)})}})}})}}),la(()=>t.children)]}})}const pS=e=>e.hasAttribute("tabindex");function rx(e){return e.parentElement&&rx(e.parentElement)?!0:e.hidden}function mS(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function xS(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function bS(e){if(!uT(e)||rx(e)||mS(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():xS(e)?!0:pS(e)}function gM(e){const t="hope-popover-".concat(tr()),n=Se().Popover,[r,a]=Cn({_opened:!!e.defaultOpened,isHovering:!1,headerMounted:!1,bodyMounted:!1,finalPlacement:"bottom",get isControlled(){return e.opened!==void 0},get opened(){return this.isControlled?!!e.opened:this._opened},get contentId(){var C;return(C=e.id)!=null?C:t},get triggerId(){return"".concat(this.contentId,"--trigger")},get headerId(){return"".concat(this.contentId,"--header")},get bodyId(){return"".concat(this.contentId,"--body")},get triggerMode(){var C;return(C=e.triggerMode)!=null?C:"click"},get triggerOnClick(){return this.triggerMode==="click"},get triggerOnHover(){return this.triggerMode==="hover"},get initialFocus(){return e.initialFocus},get inline(){var C;return(C=e.inline)!=null?C:!1},get initialPlacement(){var C,R,xe,$e;return($e=(xe=e.placement)!=null?xe:(R=(C=n==null?void 0:n.defaultProps)==null?void 0:C.root)==null?void 0:R.placement)!=null?$e:"bottom"},get offset(){var C,R,xe,$e;return($e=(xe=e.offset)!=null?xe:(R=(C=n==null?void 0:n.defaultProps)==null?void 0:C.root)==null?void 0:R.offset)!=null?$e:8},get arrowPadding(){var C,R,xe,$e;return($e=(xe=e.arrowPadding)!=null?xe:(R=(C=n==null?void 0:n.defaultProps)==null?void 0:C.root)==null?void 0:R.arrowPadding)!=null?$e:8},get openDelay(){var C,R,xe,$e;return($e=(xe=e.openDelay)!=null?xe:(R=(C=n==null?void 0:n.defaultProps)==null?void 0:C.root)==null?void 0:R.openDelay)!=null?$e:0},get closeDelay(){var C,R,xe,$e;return($e=(xe=e.closeDelay)!=null?xe:(R=(C=n==null?void 0:n.defaultProps)==null?void 0:C.root)==null?void 0:R.closeDelay)!=null?$e:100},get motionPreset(){var C,R,xe,$e;return($e=(xe=e.motionPreset)!=null?xe:(R=(C=n==null?void 0:n.defaultProps)==null?void 0:C.root)==null?void 0:R.motionPreset)!=null?$e:"scale"},get closeOnBlur(){var C,R,xe,$e;return($e=(xe=e.closeOnBlur)!=null?xe:(R=(C=n==null?void 0:n.defaultProps)==null?void 0:C.root)==null?void 0:R.closeOnBlur)!=null?$e:!0},get closeOnEsc(){var C,R,xe,$e;return($e=(xe=e.closeOnEsc)!=null?xe:(R=(C=n==null?void 0:n.defaultProps)==null?void 0:C.root)==null?void 0:R.closeOnEsc)!=null?$e:!0},get trapFocus(){var C,R,xe,$e;return($e=(xe=e.trapFocus)!=null?xe:(R=(C=n==null?void 0:n.defaultProps)==null?void 0:C.root)==null?void 0:R.trapFocus)!=null?$e:!1}});let i,o,s,l,u,d,c,f;const p=()=>"[id='".concat(r.contentId,"']"),g=C=>{i=C},b=C=>{o=C},m=C=>{s=C},x=C=>{l=C};async function v(){var C,R,xe;const $e=i!=null?i:o;if(!$e||!s)return;const bt=[lu(r.offset)];r.inline&&bt.push(l1()),bt.push(su()),bt.push(uu({padding:e.shiftPadding})),l&&bt.push(i1({element:l,padding:r.arrowPadding})),bt.push(s1());const{x:nt,y:rt,placement:lt,middlewareData:Et}=await hu($e,s,{placement:r.initialPlacement,middleware:bt});if(lt!==r.finalPlacement&&a("finalPlacement",lt),!s)return;const ie=(C=Et.hide)==null?void 0:C.referenceHidden;if(Object.assign(s.style,{left:"".concat(Math.round(nt),"px"),top:"".concat(Math.round(rt),"px"),visibility:ie?"hidden":"visible"}),!l)return;const Ce=(R=Et.arrow)==null?void 0:R.x,Qe=(xe=Et.arrow)==null?void 0:xe.y,ht={top:"bottom",right:"left",bottom:"top",left:"right"}[lt.split("-")[0]],Dn="".concat((Math.round(l.clientWidth/2)+1)*-1,"px");Object.assign(l.style,{left:Ce!=null?"".concat(Math.round(Ce),"px"):"",top:Qe!=null?"".concat(Math.round(Qe),"px"):"",right:"",bottom:"",[ht]:Dn})}const y=()=>{var C;r.isControlled||a("_opened",!0),(C=e.onOpen)==null||C.call(e),v()},w=()=>{var C;r.isControlled||a("_opened",!1),(C=e.onClose)==null||C.call(e)},O=()=>{!r.isHovering&&w()},T=()=>{d=window.setTimeout(y,r.openDelay)},A=()=>{d&&window.clearTimeout(d),c=window.setTimeout(w,r.closeDelay)},F=()=>{const C=i!=null?i:o;!C||!s||(f=fu(C,s,v))},M=()=>{if(!r.initialFocus){s==null||s.focus();return}const C=document.querySelector(r.initialFocus);C&&bS(C)&&(C==null||C.focus())},D=C=>{const R=Ul(C),xe=!ai(s,R);r.opened&&r.closeOnBlur&&xe&&A()},B=()=>{me(!1),d&&window.clearTimeout(d),c=window.setTimeout(O,r.closeDelay)},V=C=>{const R=Ul(C),xe=ai(s,R),$e=ai(o,R),bt=!xe&&!$e;r.opened&&r.closeOnBlur&&bt&&A()},J=B,ee=()=>{F(),r.trapFocus&&s?(u=r1(s,{initialFocus:r.initialFocus,fallbackFocus:p(),allowOutsideClick:!1}),u.activate()):M()},ue=()=>{u==null||u.deactivate(),f==null||f()},me=C=>a("isHovering",C),Le=C=>a("headerMounted",C),re=C=>a("bodyMounted",C),Fe=()=>r.opened;wt(()=>{window.clearTimeout(d),window.clearTimeout(c)});const ke={state:r,assignAnchorRef:g,assignTriggerRef:b,assignPopoverRef:m,assignArrowRef:x,openWithDelay:T,closeWithDelay:A,onTriggerBlur:D,onTriggerMouseLeave:B,onPopoverFocusOut:V,onPopoverMouseLeave:J,updatePopoverPosition:v,afterPopoverOpen:ee,afterPopoverClose:ue,setIsHovering:me,setHeaderMounted:Le,setBodyMounted:re};return _(ax.Provider,{value:ke,get children(){return _(Re,{get when(){return bu(e)},get fallback(){return e.children},get children(){var C;return(C=e.children)==null?void 0:C.call(e,{opened:Fe,onClose:A})}})}})}const ax=Nt();function Cs(){const e=It(ax);if(!e)throw new Error("[Hope UI]: usePopoverContext must be used within a `<Popover />` component");return e}const ix="hope-popover__arrow";function ES(e){const t=Se().Popover,n=Cs(),[r,a]=de(e,["class"]),i=ze(()=>n.state.finalPlacement.split("-")[0]),o=()=>le(r.class,ix,E3({popoverPlacement:i()}));return _(Me,K({ref(s){const l=n.assignArrowRef;typeof l=="function"?l(s):n.assignArrowRef=s},get class(){return o()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.arrow}},a))}ES.toString=()=>be(ix);const ox="hope-popover__body";function yS(e){const t=Se().Popover,n=Cs(),[r,a]=de(e,["class"]),i=()=>le(r.class,ox,b3());return Rn(()=>n.setBodyMounted(!0)),wt(()=>n.setBodyMounted(!1)),_(Me,K({get class(){return i()},get id(){return n.state.bodyId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.body}},a))}yS.toString=()=>be(ox);const sx="hope-popover__content";function vS(e){const t=Se().Popover,n=Cs(),[r,a]=Ne(!1),[i,o]=de(e,["ref","class","onKeyDown","onFocusOut","onMouseEnter","onMouseLeave"]),s=x=>{n.assignPopoverRef(x),wn(i.ref)?i.ref(x):i.ref=x},l=x=>{n.state.closeOnEsc&&x.key==="Escape"&&n.closeWithDelay()},u=x=>{Tn(i.onKeyDown,l)(x)},d=x=>{Tn(i.onFocusOut,n.onPopoverFocusOut)(x)},c=x=>{xn(i.onMouseEnter,x),n.setIsHovering(!0)},f=x=>{xn(i.onMouseLeave,x),n.onPopoverMouseLeave()},p=()=>{document.addEventListener("keydown",l),n.afterPopoverOpen()},g=()=>{document.removeEventListener("keydown",l),n.afterPopoverClose(),a(!1)},b=()=>le(i.class,sx,m3()),m=()=>{switch(n.state.motionPreset){case"scale":return Qa.scale;case"none":return"hope-none"}};return Kt(()=>{n.state.opened?a(!0):n.state.motionPreset==="none"&&a(!1)}),_(Re,{get when(){return r()},get children(){return _(Ra,{get children(){return _(Da,{get name(){return m()},appear:!0,get onBeforeEnter(){return n.updatePopoverPosition},onAfterEnter:p,onAfterExit:g,get children(){return _(Re,{get when(){return n.state.opened},get children(){return _(Xe.section,K({ref:s,tabIndex:-1,get id(){return n.state.contentId},get role(){return n.state.triggerOnHover?"tooltip":"dialog"},get"aria-labelledby"(){return n.state.headerMounted?n.state.headerId:void 0},get"aria-describedby"(){return n.state.bodyMounted?n.state.bodyId:void 0},get class(){return b()},get __baseStyle(){var x;return(x=t==null?void 0:t.baseStyle)==null?void 0:x.content},onKeyDown:u,onFocusOut:d,get onMouseEnter(){return n.state.triggerOnHover?c:void 0},get onMouseLeave(){return n.state.triggerOnHover?f:void 0}},o))}})}})}})}})}vS.toString=()=>be(sx);const lx="hope-popover__header";function _S(e){const t=Se().Popover,n=Cs(),[r,a]=de(e,["class"]),i=()=>le(r.class,lx,x3());return Rn(()=>n.setHeaderMounted(!0)),wt(()=>n.setHeaderMounted(!1)),_(Me,K({get class(){return i()},get id(){return n.state.headerId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.header}},a))}_S.toString=()=>be(lx);function pM(e){const t=Cs(),[n,r]=de(e,["ref","onClick","onKeyDown","onFocus","onBlur","onMouseEnter","onMouseLeave"]),a=c=>{t.assignTriggerRef(c),wn(n.ref)?n.ref(c):n.ref=c},i=c=>{xn(n.onClick,c),t.state.opened?t.closeWithDelay():t.openWithDelay()},o=c=>{xn(n.onKeyDown,c),c.key==="Escape"&&t.closeWithDelay()},s=c=>{xn(n.onFocus,c),t.openWithDelay()},l=c=>{Tn(n.onBlur,t.onTriggerBlur)(c)},u=c=>{xn(n.onMouseEnter,c),t.setIsHovering(!0),t.openWithDelay()},d=c=>{xn(n.onMouseLeave,c),t.onTriggerMouseLeave()};return _(Xe.button,K({ref:a,get id(){return t.state.triggerId},type:"button","aria-haspopup":"dialog",get"aria-controls"(){return t.state.contentId},get"aria-expanded"(){return t.state.opened},get onClick(){return t.state.triggerOnClick?i:void 0},get onKeyDown(){return t.state.triggerOnHover?o:void 0},get onFocus(){return t.state.triggerOnHover?s:void 0},get onBlur(){return t.state.triggerOnHover?l:void 0},get onMouseEnter(){return t.state.triggerOnHover?u:void 0},get onMouseLeave(){return t.state.triggerOnHover?d:void 0}},r))}const TS=to({"0%":{left:"-40%"},"100%":{left:"100%"}}),SS=to({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}}),CS=Y({position:"relative",overflow:"hidden",variants:{size:{xs:{height:"$1",fontSize:"4px"},sm:{height:"$2",fontSize:"6px"},md:{height:"$3",fontSize:"8px"},lg:{height:"$4",fontSize:"10px"}}}}),wS=Y({position:"relative",height:"100%",transition:"width 600ms ease",variants:{striped:{true:{}},animated:{true:{}},indeterminate:{true:{position:"absolute",willChange:"left",minWidth:"50%",animation:"".concat(TS," 1200ms ease infinite normal none running")}}},compoundVariants:[{indeterminate:!1,striped:!0,css:{backgroundImage:"linear-gradient(45deg, $colors$progressStripe 25%, transparent 25%, transparent 50%, $colors$progressStripe 50%, $colors$progressStripe 75%, transparent 75%, transparent)",backgroundSize:"1rem 1rem"}},{indeterminate:!1,striped:!0,animated:!0,css:{animation:"".concat(SS," 750ms linear infinite")}}]});Y({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const ux=Nt(),cx="hope-progress";function dx(e){var t,n,r,a,i,o;const s=Se().Progress,[l]=Cn({get min(){var m;return(m=e.min)!=null?m:0},get max(){var m;return(m=e.max)!=null?m:100},get value(){var m;return(m=e.value)!=null?m:0},get percent(){return H3(this.value,this.min,this.max)},get indeterminate(){var m;return(m=e.indeterminate)!=null?m:!1},get ariaValueText(){var m;if(!this.indeterminate)return wn(this.getValueText)?this.getValueText(this.value,this.percent):(m=e.valueText)!=null?m:"".concat(this.percent,"%")},get getValueText(){return e.getValueText}}),u={size:(r=(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t.root)==null?void 0:n.size)!=null?r:"md",trackColor:(o=(i=(a=s==null?void 0:s.defaultProps)==null?void 0:a.root)==null?void 0:i.trackColor)!=null?o:"$neutral4"},d=K(u,e),[c,f,p]=de(d,["class","size","trackColor"],["min","max","value","indeterminate","valueText","getValueText"]),g=()=>le(c.class,cx,CS({size:c.size})),b={state:l};return _(ux.Provider,{value:b,get children(){return _(Me,K({role:"progressbar",get"data-indeterminate"(){return l.indeterminate?"":void 0},get"aria-valuemin"(){return l.min},get"aria-valuemax"(){return l.max},get"aria-valuenow"(){return l.indeterminate?void 0:l.value},get"aria-valuetext"(){return l.ariaValueText},get class(){return g()},get __baseStyle(){var m;return(m=s==null?void 0:s.baseStyle)==null?void 0:m.root},get backgroundColor(){return c.trackColor}},p))}})}dx.toString=()=>be(cx);function AS(){const e=It(ux);if(!e)throw new Error("[Hope UI]: useProgressContext must be used within a `<Progress />` component");return e}const fx="hope-progress__indicator";function hx(e){const t=Se().Progress,n=AS(),a=K({color:"$primary9"},e),[i,o]=de(a,["class","color","striped","animated"]),s=()=>n.state.indeterminate?{backgroundImage:"linear-gradient(to right, transparent 0%, ".concat(i.color," 50%, transparent 100%)")}:{backgroundColor:i.color},l=()=>le(i.class,fx,wS({striped:i.striped,animated:i.animated,indeterminate:n.state.indeterminate===!0,css:jr(Ee({},s()),{width:"".concat(n.state.percent,"%")})}));return _(Me,K({get class(){return l()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.indicator}},o))}hx.toString=()=>be(fx);const kS=Y(nd,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),OS=Y(rd),IS=Y(ad,{borderRadius:"$full","&[data-checked]::before":{content:"",display:"inline-block",position:"relative",boxSize:"calc(50% + 1px)",borderRadius:"$full",backgroundColor:"$loContrast"}}),gx="hope-radio-group";function NS(e){const t="hope-radio-group-".concat(tr(),"--radio"),n=Se().Radio,[r,a]=Cn({_value:e.defaultValue,get isControlled(){return e.value!==void 0},get value(){return this.isControlled?e.value:this._value},get name(){var c;return(c=e.name)!=null?c:t},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get variant(){var c,f,p;return(p=e.variant)!=null?p:(f=(c=n==null?void 0:n.defaultProps)==null?void 0:c.group)==null?void 0:f.variant},get colorScheme(){var c,f,p;return(p=e.colorScheme)!=null?p:(f=(c=n==null?void 0:n.defaultProps)==null?void 0:c.group)==null?void 0:f.colorScheme},get size(){var c,f,p;return(p=e.size)!=null?p:(f=(c=n==null?void 0:n.defaultProps)==null?void 0:c.group)==null?void 0:f.size}}),[i,o,s]=de(e,["class","onChange"],["value","defaultValue","name","required","disabled","readOnly","invalid"]),l=c=>{var f;const p=c.target.value;a("_value",p),(f=i.onChange)==null||f.call(i,String(p))},u=()=>le(i.class,gx),d={state:r,onChange:l};return _(px.Provider,{value:d,get children(){return _(Me,K({role:"radiogroup",get class(){return u()},get __baseStyle(){var c;return(c=n==null?void 0:n.baseStyle)==null?void 0:c.group}},s))}})}NS.toString=()=>be(gx);const px=Nt();function LS(){return It(px)}const RS=Bt('<input type="radio">',1),mx="hope-radio",DS="hope-radio__input",PS="hope-radio__control",MS="hope-radio__label";function BS(e){const t="hope-radio-".concat(tr()),n=Se().Radio,r=Ts(),a=LS(),i=ro(e),[o,s]=Cn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){if(a){const y=a.state.value;return y!=null?String(e.value)===String(y):!1}return this.isControlled?!!e.checked:this._checked},get variant(){var y,w,O,T,A,F;return(F=(A=(w=e.variant)!=null?w:(y=a==null?void 0:a.state)==null?void 0:y.variant)!=null?A:(T=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:T.variant)!=null?F:"outline"},get colorScheme(){var y,w,O,T,A,F;return(F=(A=(w=e.colorScheme)!=null?w:(y=a==null?void 0:a.state)==null?void 0:y.colorScheme)!=null?A:(T=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:T.colorScheme)!=null?F:"primary"},get size(){var y,w,O,T,A,F;return(F=(A=(w=e.size)!=null?w:(y=a==null?void 0:a.state)==null?void 0:y.size)!=null?A:(T=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:T.size)!=null?F:"md"},get labelPlacement(){var y,w,O,T,A,F;return(F=(A=(w=e.labelPlacement)!=null?w:(y=a==null?void 0:a.state)==null?void 0:y.labelPlacement)!=null?A:(T=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:T.labelPlacement)!=null?F:"end"},get id(){var y;return r&&!a?i.id:(y=e.id)!=null?y:t},get name(){var y;return(y=e.name)!=null?y:a==null?void 0:a.state.name},get value(){return e.value},get required(){var y;return(y=i.required)!=null?y:a==null?void 0:a.state.required},get disabled(){var y;return(y=i.disabled)!=null?y:a==null?void 0:a.state.disabled},get invalid(){var y;return(y=i.invalid)!=null?y:a==null?void 0:a.state.invalid},get readOnly(){var y;return(y=i.readOnly)!=null?y:a==null?void 0:a.state.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[l,u,d]=de(e,["class","children","ref","tabIndex","onChange"],["variant","colorScheme","size","labelPlacement","id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),c=y=>{if(o.readOnly||o.disabled){y.preventDefault();return}if(!o.isControlled){const w=y.target;s("_checked",w.checked)}Tn(a==null?void 0:a.onChange,l.onChange)(y)},f=y=>{s("isFocused",!0),xn(i.onFocus,y)},p=y=>{s("isFocused",!1),xn(i.onBlur,y)},g=()=>le(l.class,mx,kS({size:o.size,labelPlacement:o.labelPlacement})),b=()=>le(DS,mu()),m=()=>le(PS,IS({variant:o.variant,colorScheme:o.colorScheme,size:o.size})),x=()=>le(MS,OS()),v={state:o,onChange:c,onFocus:f,onBlur:p};return _($S.Provider,{value:v,get children(){return _(Xe.label,K({get class(){return g()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.root},get for(){return o.id},"data-group":!0,get"data-focus"(){return o["data-focus"]},get"data-checked"(){return o["data-checked"]},get"data-required"(){return o["data-required"]},get"data-disabled"(){return o["data-disabled"]},get"data-invalid"(){return o["data-invalid"]},get"data-readonly"(){return o["data-readonly"]}},d,{get children(){return[(()=>{const y=RS.cloneNode(!0);y.addEventListener("blur",p),y.addEventListener("focus",f),y.addEventListener("change",c);const w=l.ref;return typeof w=="function"?w(y):l.ref=y,Ln(O=>{const T=b(),A=l.tabIndex,F=o.value,M=o.id,D=o.name,B=o.checked,V=o.required,J=o.disabled,ee=o.readOnly,ue=o["aria-required"],me=o["aria-disabled"],Le=o["aria-invalid"],re=o["aria-readonly"],Fe=o["aria-label"],ke=o["aria-labelledby"],C=o["aria-describedby"];return T!==O._v$&&(y.className=O._v$=T),A!==O._v$2&&ft(y,"tabindex",O._v$2=A),F!==O._v$3&&(y.value=O._v$3=F),M!==O._v$4&&ft(y,"id",O._v$4=M),D!==O._v$5&&ft(y,"name",O._v$5=D),B!==O._v$6&&(y.checked=O._v$6=B),V!==O._v$7&&(y.required=O._v$7=V),J!==O._v$8&&(y.disabled=O._v$8=J),ee!==O._v$9&&(y.readOnly=O._v$9=ee),ue!==O._v$10&&ft(y,"aria-required",O._v$10=ue),me!==O._v$11&&ft(y,"aria-disabled",O._v$11=me),Le!==O._v$12&&ft(y,"aria-invalid",O._v$12=Le),re!==O._v$13&&ft(y,"aria-readonly",O._v$13=re),Fe!==O._v$14&&ft(y,"aria-label",O._v$14=Fe),ke!==O._v$15&&ft(y,"aria-labelledby",O._v$15=ke),C!==O._v$16&&ft(y,"aria-describedby",O._v$16=C),O},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),y})(),_(Xe.span,K({"aria-hidden":!0,get class(){return m()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.control},get"data-focus"(){return o["data-focus"]},get"data-checked"(){return o["data-checked"]},get"data-required"(){return o["data-required"]},get"data-disabled"(){return o["data-disabled"]},get"data-invalid"(){return o["data-invalid"]},get"data-readonly"(){return o["data-readonly"]}},d)),_(Xe.span,{get class(){return x()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.label},get"data-focus"(){return o["data-focus"]},get"data-checked"(){return o["data-checked"]},get"data-required"(){return o["data-required"]},get"data-disabled"(){return o["data-disabled"]},get"data-invalid"(){return o["data-invalid"]},get"data-readonly"(){return o["data-readonly"]},get children(){return _(Re,{get when(){return bu(l)},get fallback(){return l.children},get children(){var y;return(y=l.children)==null?void 0:y.call(l,{checked:o.checked})}})}})]}}))}})}BS.toString=()=>be(mx);const $S=Nt();var Xr=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.Previous=6]="Previous",e[e.Select=7]="Select",e[e.Type=8]="Type",e))(Xr||{});function Hf(e=[],t,n=[]){return e.filter(r=>r.disabled?!1:r.textValue.toLowerCase().indexOf(t.toLowerCase())===0&&n.indexOf(r.textValue)<0)}function FS(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],a=Hf(r,t)[0],i=o=>o.every(s=>s===o[0]);if(a)return e.indexOf(a);if(i(t.split(""))){const o=Hf(r,t[0]);return e.indexOf(o[0])}else return-1}function HS(e,t){const{key:n,altKey:r,ctrlKey:a,metaKey:i}=e;if(!t&&["ArrowDown","ArrowUp","Enter"," "].includes(n))return 5;if(n==="Home"||n==="PageUp")return 2;if(n==="End"||n==="PageDown")return 3;if(n==="Backspace"||n==="Clear"||n.length===1&&n!==" "&&!r&&!a&&!i)return 8;if(t){if(n==="ArrowUp"&&r)return 1;if(n==="ArrowDown"&&!r)return 4;if(n==="ArrowUp")return 6;if(n==="Escape")return 0;if(n==="Enter"||n===" ")return 1}}function Uf(e,t,n){switch(n){case 2:return 0;case 3:return t;case 6:return Math.max(0,e-1);case 4:return Math.min(t,e+1);default:return e}}function US(e){const{currentIndex:t,maxIndex:n,initialAction:r,isOptionDisabled:a}=e;let i=Uf(t,n,r);for(;a(i);){let o=r;const s=i===0,l=i===n;if(r===2&&(o=4),r===3&&(o=6),r===6&&s){i=t;break}if(r===4&&l){i=t;break}i=Uf(i,n,o)}return i}function el(e,t){return String(e.value)===String(t.value)}function xx(e){const t="hope-select-".concat(tr()),n=Se().Select,r=ro(e),[a,i]=Ne(!1),[o,s]=Ne([]),[l,u]=Cn({get isControlled(){return e.value!==void 0},get value(){var ie;return this.isControlled?e.value:this.multiple?this.selectedOptions.map(Ce=>Ce.value):(ie=this.selectedOptions[0].value)!=null?ie:void 0},get multiple(){return e.multiple},get baseId(){var ie,Ce;return(Ce=(ie=e.id)!=null?ie:r.id)!=null?Ce:t},get triggerId(){return"".concat(this.baseId,"-trigger")},get listboxId(){return"".concat(this.baseId,"-listbox")},get labelIdPrefix(){return"".concat(this.baseId,"-label")},get optionIdPrefix(){return"".concat(this.baseId,"-option")},get disabled(){var ie;return(ie=e.disabled)!=null?ie:r.disabled},get invalid(){var ie;return(ie=e.invalid)!=null?ie:r.invalid},get variant(){var ie,Ce,Qe,ht;return(ht=(Qe=e.variant)!=null?Qe:(Ce=(ie=n==null?void 0:n.defaultProps)==null?void 0:ie.root)==null?void 0:Ce.variant)!=null?ht:"outline"},get size(){var ie,Ce,Qe,ht;return(ht=(Qe=e.size)!=null?Qe:(Ce=(ie=n==null?void 0:n.defaultProps)==null?void 0:ie.root)==null?void 0:Ce.size)!=null?ht:"md"},get motionPreset(){var ie,Ce,Qe,ht;return(ht=(Qe=e.motionPreset)!=null?Qe:(Ce=(ie=n==null?void 0:n.defaultProps)==null?void 0:ie.root)==null?void 0:Ce.motionPreset)!=null?ht:"fade-in-top"},get activeDescendantId(){return this.opened?"".concat(this.optionIdPrefix,"-").concat(this.activeIndex):void 0},get hasSelectedOptions(){return this.selectedOptions.length>0},get options(){return o()},selectedOptions:[],opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let d,c,f,p;const g=async()=>{var ie,Ce,Qe,ht;if(!d||!c)return;const{x:Dn,y:xr}=await hu(d,c,{placement:"bottom",middleware:[lu((ht=(Qe=e.offset)!=null?Qe:(Ce=(ie=n==null?void 0:n.defaultProps)==null?void 0:ie.root)==null?void 0:Ce.offset)!=null?ht:5),su(),uu(),Dv({apply({reference:We}){c&&Object.assign(c.style,{width:"".concat(We.width,"px")})}})]});c&&Object.assign(c.style,{left:"".concat(Math.round(Dn),"px"),top:"".concat(Math.round(xr),"px")})},b=ie=>{l.searchTimeoutId&&window.clearTimeout(l.searchTimeoutId);const Ce=window.setTimeout(()=>{u("searchString","")},500);return u("searchTimeoutId",Ce),u("searchString",Qe=>Qe+=ie),l.searchString},m=()=>{d==null||d.focus()},x=()=>l.isControlled?e.value==null?[]:gl(e.value)?e.value:[e.value]:e.defaultValue==null?[]:gl(e.defaultValue)?e.defaultValue:[e.defaultValue],v=()=>{if(a())return;const ie=x().map(Ce=>l.options.find(Qe=>Qe.value===Ce)).filter(Boolean);u("selectedOptions",Ce=>[...Ce,...ie]),i(!0)},y=ie=>{u("activeIndex",ie)},w=ie=>l.selectedOptions.length<=0?!1:l.multiple?!!l.selectedOptions.find(Ce=>el(ie,Ce)):el(ie,l.selectedOptions[0]),O=ie=>{u("selectedOptions",Ce=>Ce.filter(Qe=>!el(ie,Qe)))},T=ie=>{const Ce=l.options[ie];l.multiple?w(Ce)?O(Ce):u("selectedOptions",Qe=>[...Qe,Ce]):u("selectedOptions",[Ce])},A=()=>{var ie;return l.multiple?l.selectedOptions.map(Ce=>Ce.value):(ie=l.selectedOptions[0].value)!=null?ie:void 0},F=ie=>{var Ce;y(ie),T(ie),(Ce=e.onChange)==null||Ce.call(e,A())},M=ie=>{var Ce;O(ie),(Ce=e.onChange)==null||Ce.call(e,A()),m()},D=ie=>l.options[ie].disabled,B=ie=>{if(!ai(d,Ul(ie))){if(l.ignoreBlur){u("ignoreBlur",!1);return}l.opened&&ke(!1,!1)}},V=()=>{r.readOnly||ke(!l.opened,!1)},J=ie=>{if(r.readOnly)return;const{key:Ce}=ie;if(l.hasSelectedOptions&&l.multiple&&Ce==="Backspace"){M(l.selectedOptions[l.selectedOptions.length-1]);return}const Qe=l.options.length-1,ht=HS(ie,l.opened);switch(ht){case Xr.Last:case Xr.First:ke(!0);case Xr.Next:case Xr.Previous:return ie.preventDefault(),y(US({currentIndex:l.activeIndex,maxIndex:Qe,initialAction:ht,isOptionDisabled:D}));case Xr.SelectAndClose:return ie.preventDefault(),F(l.activeIndex),l.multiple?void 0:ke(!1);case Xr.Close:return ie.preventDefault(),ke(!1);case Xr.Type:return ee(Ce);case Xr.Open:return ie.preventDefault(),ke(!0)}},ee=ie=>{if(r.readOnly)return;ke(!0);const Ce=b(ie),Qe=FS(l.options,Ce,l.activeIndex+1);Qe>=0?y(Qe):(window.clearTimeout(l.searchTimeoutId),u("searchString",""))},ue=ie=>{if(l.options[ie].disabled){m();return}F(ie),l.multiple?m():ke(!1)},me=ie=>{l.activeIndex!==ie&&y(ie)},Le=()=>{u("ignoreBlur",!0)},re=()=>{l.selectedOptions.length>0?u("activeIndex",l.options.findIndex(ie=>w(ie))):u("activeIndex",0)},Fe=()=>{l.opened?(g(),d&&c&&(p=fu(d,c,g))):p==null||p()},ke=(ie,Ce=!0)=>{l.opened!==ie&&(u("opened",ie),re(),Fe(),Ce&&m())},C=()=>{y(-1)},R=ie=>{ai(d,ie)||ke(!1,!1)},xe=ie=>ie===l.activeIndex,$e=ie=>{d=ie},bt=ie=>{c=ie},nt=ie=>{f=ie},rt=ie=>{f&&C1(f)&&w1(ie,f)},lt=ie=>{const Ce=l.options.findIndex(ht=>el(ht,ie));return Ce!=-1?Ce:s(ht=>[...ht,ie]).length-1};Kt(aa(()=>l.options,()=>v(),{defer:!0})),Kt(aa(()=>e.value,()=>{if(!l.isControlled)return;const Ce=(gl(e.value)?e.value:[e.value]).map(Qe=>l.options.find(ht=>ht.value===Qe)).filter(Boolean);u("selectedOptions",Ce)},{defer:!0})),Kt(aa(()=>l.opened,ie=>{ie&&setTimeout(()=>{const Ce=f==null?void 0:f.querySelector("[role='option'][aria-selected='true']");Ce&&rt(Ce)},0)}));const Et={state:l,isOptionSelected:w,unselectOption:M,isOptionActiveDescendant:xe,formControlProps:r,assignTriggerRef:$e,assignContentRef:bt,assignListboxRef:nt,registerOption:lt,scrollToOption:rt,onContentClickOutside:R,onTriggerBlur:B,onTriggerClick:V,onTriggerKeyDown:J,onOptionClick:ue,onOptionMouseMove:me,onOptionMouseDown:Le,onListboxMouseLeave:C};return _(bx.Provider,{value:Et,get children(){return e.children}})}const bx=Nt();function ga(){const e=It(bx);if(!e)throw new Error("[Hope UI]: useSelectContext must be used within a `<Select />` component");return e}const Ex="hope-select__content";function _u(e){const t=Se().Select,n=ga(),[r,a]=de(e,["ref","class","children"]),[i,o]=Ne(!1);Kt(aa(()=>n.state.opened,()=>{n.state.opened?o(!0):n.state.motionPreset==="none"&&o(!1)}));const s=()=>o(!1),l=()=>le(r.class,Ex,k3()),u=da(()=>r.children),d=p=>{n.assignContentRef(p),wn(r.ref)?r.ref(p):r.ref=p},c=p=>{n.onContentClickOutside(p.target)},f=()=>{switch(n.state.motionPreset){case"fade-in-top":return Za.fadeInTop;case"none":return"hope-none"}};return _(Re,{get when(){return i()},get children(){return _(Ra,{get children(){return _(Da,{get name(){return f()},appear:!0,onAfterExit:s,get children(){return _(Re,{get when(){return n.state.opened},get children(){return _(Um,{onClickOutside:c,get children(){return _(Me,K({ref:d,get class(){return l()},get __baseStyle(){var p;return(p=t==null?void 0:t.baseStyle)==null?void 0:p.content}},a,{get children(){return u()}}))}})}})}})}})}})}_u.toString=()=>be(Ex);const zS=Bt('<svg><path d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),jS=hr({viewBox:"0 0 15 15",path:()=>zS.cloneNode(!0)}),yx="hope-select__icon";function ss(e){const t=Se().Select,n=ga(),[r,a]=de(e,["class","rotateOnOpen"]),i=()=>le(r.class,yx,A3(r.rotateOnOpen?{opened:n.state.opened}:void 0));return _(jS,K({"aria-hidden":!0,get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.icon}},a))}ss.toString=()=>be(yx);const vx="hope-select__listbox";function Tu(e){const t=Se().Select,n=ga(),[r,a]=de(e,["ref","class"]),i=()=>le(r.class,vx,O3());return _(Me,K({ref:l=>{n.assignListboxRef(l),wn(r.ref)?r.ref(l):r.ref=l},role:"listbox",tabindex:"-1",get id(){return n.state.listboxId},get class(){return i()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.listbox},get onMouseLeave(){return n.onListboxMouseLeave},onMouseDown:l=>{l.preventDefault()}},a))}Tu.toString=()=>be(vx);const _x=Nt(),Tx="hope-select__option";function Su(e){const t=Se().Select,n=ga(),[r,a]=Ne(-1);let i;const[o,s]=de(e,["ref","class","value","textValue","disabled"]),l=()=>{var x,v;return{value:o.value,textValue:(v=(x=o.textValue)!=null?x:i==null?void 0:i.textContent)!=null?v:String(o.value),disabled:!!o.disabled}},u=()=>"".concat(n.state.optionIdPrefix,"-").concat(r()),d=()=>n.isOptionSelected(l()),c=()=>n.isOptionActiveDescendant(r()),f=()=>le(o.class,Tx,I3()),p=x=>{i=x,wn(o.ref)?o.ref(x):o.ref=x},g=x=>{x.stopPropagation(),n.onOptionClick(r())},b=x=>{if(o.disabled&&n.onOptionMouseMove(-1),c()||o.disabled){x.preventDefault(),x.stopPropagation();return}n.onOptionMouseMove(r())},m={selected:d};return Rn(()=>{a(n.registerOption(l()))}),Kt(()=>{c()&&i&&n.scrollToOption(i)}),_(_x.Provider,{value:m,get children(){return _(Me,K({ref:p,role:"option",get id(){return u()},get"aria-selected"(){return d()},get"data-active"(){return c()?"":void 0},get"data-disabled"(){return o.disabled?"":void 0},"data-group":!0,get class(){return f()},get __baseStyle(){var x;return(x=t==null?void 0:t.baseStyle)==null?void 0:x.option},onClick:g,onMouseMove:b,get onMouseDown(){return n.onOptionMouseDown}},s))}})}Su.toString=()=>be(Tx);function WS(){const e=It(_x);if(!e)throw new Error("[Hope UI]: useSelectOptionContext must be used within a `<Select.Option />` component");return e}const VS=Bt('<svg><g fill="none"><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),qS=hr({viewBox:"0 0 15 15",path:()=>VS.cloneNode(!0)}),Sx="hope-select__option-indicator";function Cu(e){const t=Se().Select,n=WS(),[r,a]=de(e,["class","children"]),i=()=>le(r.class,Sx,L3());return _(Re,{get when(){return n.selected()},get children(){return _(Xe.span,K({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.optionIndicator}},a,{get children(){return _(Re,{get when(){return r.children},get fallback(){return _(qS,{"aria-hidden":"true",boxSize:"$5"})},get children(){return r.children}})}}))}})}Cu.toString=()=>be(Sx);const Cx="hope-select__option-text";function wu(e){const t=Se().Select,[n,r]=de(e,["class"]),a=()=>le(n.class,Cx,N3());return _(Xe.span,K({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.optionText}},r))}wu.toString=()=>be(Cx);const wx="hope-select__placeholder";function ld(e){const t=Se().Select,n=ga(),[r,a]=de(e,["class"]),i=()=>le(r.class,wx,w3());return _(Re,{get when(){return!n.state.hasSelectedOptions},get children(){return _(Xe.span,K({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.placeholder}},a))}})}ld.toString=()=>be(wx);const Ax="hope-select__tag";function kx(e){const t=Se().Select,n=ga(),[r,a]=de(e,["class","size","variant"]),i=()=>{var o,s,l;return le(r.class,Ax,S3({size:(s=(o=r.size)!=null?o:n.state.size)!=null?s:"md",variant:((l=r.variant)!=null?l:n.state.variant==="filled")?"outline":"subtle"}))};return _(Xe.span,K({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.tag}},a))}kx.toString=()=>be(Ax);const GS=Bt('<svg><g fill="none"><path d="M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),KS=hr({viewBox:"0 0 15 15",path:()=>GS.cloneNode(!0)}),Ox="hope-select__tag-close-button";function Ix(e){const t=Se().Select,[n,r]=de(e,["class","children"]),a=()=>le(n.class,Ox,C3());return _(Xe.button,K({role:"button",type:"button","aria-label":"Delete",tabIndex:"-1",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.tagCloseButton}},r,{get children(){return _(Re,{get when(){return n.children},get fallback(){return _(KS,{})},get children(){return n.children}})}}))}Ix.toString=()=>be(Ox);const Nx="hope-select__trigger";function Au(e){const t=Se().Select,n=ga(),[r,a]=de(e,["ref","class","onClick","onKeyDown","onFocus","onBlur"]),i=()=>le(r.class,Nx,_3({variant:n.state.variant,size:n.state.size})),o=c=>{n.assignTriggerRef(c),wn(r.ref)?r.ref(c):r.ref=c},s=c=>{Tn(n.onTriggerClick,r.onClick)(c)},l=c=>{Tn(n.onTriggerKeyDown,r.onKeyDown)(c)},u=c=>{Tn(n.formControlProps.onFocus,r.onFocus)(c)},d=c=>{Tn(n.onTriggerBlur,n.formControlProps.onBlur,r.onBlur)(c)};return _(Xe.button,K({ref:o,get id(){return n.state.triggerId},get disabled(){return n.state.disabled},role:"combobox",type:"button",tabindex:"0","aria-haspopup":"listbox",get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-controls"(){return n.state.listboxId},get"aria-expanded"(){return n.state.opened},get"aria-required"(){return n.formControlProps["aria-required"]},get"aria-invalid"(){return n.formControlProps["aria-invalid"]},get"aria-readonly"(){return n.formControlProps["aria-readonly"]},get"aria-describedby"(){return n.formControlProps["aria-describedby"]},get class(){return i()},get __baseStyle(){var c;return(c=t==null?void 0:t.baseStyle)==null?void 0:c.trigger},onClick:s,onKeyDown:l,onFocus:u,onBlur:d},a))}Au.toString=()=>be(Nx);const YS=Bt("<span></span>",2),d0="hope-select__value";function ku(e){const t=Se().Select,n=ga(),[r,a]=de(e,["class","children"]),i=()=>le(r.class,d0,v1()),o=()=>le(r.class,d0,T3({size:n.state.size})),s=(u,d)=>{u.preventDefault(),u.stopPropagation(),n.unselectOption(d)},l=da(()=>{var u;return bu(r)?(u=r.children)==null?void 0:u.call(r,{selectedOptions:n.state.selectedOptions}):r.children});return _(Re,{get when(){return n.state.hasSelectedOptions},get children(){return _(Re,{get when(){return!l()},get fallback(){return l()},get children(){return _(Re,{get when(){return n.state.multiple},get fallback(){return _(Me,K({get class(){return i()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.singleValue}},a,{get children(){return n.state.selectedOptions[0].textValue}}))},get children(){return _(Me,K({get class(){return o()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.multiValue}},a,{get children(){return _(Zi,{get each(){return n.state.selectedOptions},children:u=>_(kx,{get children(){return[(()=>{const d=YS.cloneNode(!0);return ua(d,()=>u.textValue),d})(),_(Ix,{onClick:d=>s(d,u)})]}})})}}))}})}})}})}ku.toString=()=>be(d0);function mM(e){const[t,n]=de(e,["children","value"]);return _(Su,K({get value(){return t.value}},n,{get children(){return[_(wu,{get children(){return t.children}}),_(Cu,{})]}}))}function xM(e){const[t,n,r]=de(e,["children","placeholder"],["variant","size","offset","id","multiple","value","defaultValue","required","disabled","invalid","readOnly","onChange","onFocus","onBlur"]);return _(xx,K(n,{get children(){return[_(Au,K(r,{get children(){return[_(Re,{get when(){return t.placeholder},get children(){return _(ld,{get children(){return t.placeholder}})}}),_(ku,{}),_(ss,{})]}})),_(_u,{get children(){return _(Tu,{get children(){return t.children}})}})]}}))}const XS=to({from:{borderColor:"$$startColor",background:"$$startColor"},to:{borderColor:"$$endColor",background:"$$endColor"}});Y({$$startColor:"$colors$neutral2",$$endColor:"$colors$neutral8",opacity:"0.7",borderRadius:"2px",borderColor:"$$startColor",boxShadow:"$none",background:"$$endColor",backgroundClip:"padding-box",color:"transparent",cursor:"default",pointerEvents:"none",userSelect:"none",animationTimingFunction:"linear",animationIterationCount:"infinite",animationDirection:"alternate",animationName:"".concat(XS()),"&::before, &::after, *":{visibility:"hidden"}});const QS=Y({flex:1,justifySelf:"stretch",alignSelf:"stretch"}),Lx="hope-spacer";function ZS(e){const[t,n]=de(e,["class"]),r=()=>le(t.class,Lx,QS());return _(Me,K({get class(){return r()}},n))}ZS.toString=()=>be(Lx);const JS=Y({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"$full",borderWidth:"2px",borderBottomColor:"transparent",borderLeftColor:"transparent",animationName:"".concat(pu),animationDuration:"0.45s",animationTimingFunction:"linear",animationIterationCount:"infinite",variants:{size:{xs:{boxSize:"0.75rem"},sm:{boxSize:"1rem"},md:{boxSize:"1.5rem"},lg:{boxSize:"2rem"},xl:{boxSize:"3rem"}}}}),eC=Bt("<span></span>",2),Rx="hope-spinner";function ws(e){var t,n,r,a,i,o,s,l;const u=Se().Spinner,d={label:(n=(t=u==null?void 0:u.defaultProps)==null?void 0:t.label)!=null?n:"Loading...",size:(a=(r=u==null?void 0:u.defaultProps)==null?void 0:r.size)!=null?a:"md",emptyColor:(i=u==null?void 0:u.defaultProps)==null?void 0:i.emptyColor,color:(o=u==null?void 0:u.defaultProps)==null?void 0:o.color,thickness:(s=u==null?void 0:u.defaultProps)==null?void 0:s.thickness,speed:(l=u==null?void 0:u.defaultProps)==null?void 0:l.speed},c=K(d,e),[f,p]=de(c,["class","children","label","size","emptyColor","color","thickness","speed"]),g=()=>le(f.class,Rx,JS({size:f.size,css:{color:f.color,borderWidth:f.thickness,borderBottomColor:f.emptyColor,borderLeftColor:f.emptyColor,animationDuration:f.speed}}));return _(Me,K({get class(){return g()}},p,{get children(){return _(Re,{get when(){return f.label},get children(){const b=eC.cloneNode(!0);return ua(b,()=>f.label),Ln(()=>b.className=mu()),b}})}}))}ws.toString=()=>be(Rx);const tC=Y(nd,{variants:{labelPlacement:{start:{flexDirection:"row"},end:{flexDirection:"row-reverse"}}}}),nC=Y(rd),rC=Y(ad,{borderRadius:"$full",transition:"background-color 250ms, border-color 250ms, box-shadow 250ms","&::before":{content:"''",position:"absolute",top:"2px",left:"2px",zIndex:"1",borderRadius:"$full",boxShadow:"$sm",transition:"250ms"},variants:{variant:{outline:{"&::before":{backgroundColor:"$neutral7"},"&[data-checked]::before":{backgroundColor:"$loContrast"}},filled:{"&::before":{backgroundColor:"$loContrast"}}},size:{sm:{height:"16px",width:"26px","&::before":{boxSize:"10px"},"&[data-checked]::before":{transform:"translateX(10px)"}},md:{columnGap:"2px",height:"20px",width:"34px","&::before":{boxSize:"14px"},"&[data-checked]::before":{transform:"translateX(14px)"}},lg:{columnGap:"4px",height:"28px",width:"50px","&::before":{boxSize:"22px"},"&[data-checked]::before":{transform:"translateX(22px)"}}}}}),aC=Bt('<input type="checkbox" role="switch">',1);function iC(e){const t="hope-switch-".concat(tr()),n=ro(e),[r,a]=Cn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){return this.isControlled?!!e.checked:this._checked},get id(){var g;return(g=n.id)!=null?g:t},get name(){return e.name},get value(){return e.value},get required(){return n.required},get disabled(){return n.disabled},get invalid(){return n.invalid},get readOnly(){return n.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[i,o,s]=de(e,["inputClass","children","ref","tabIndex","aria-label","aria-labelledby","aria-describedby","onChange"],["id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),l=g=>{if(r.readOnly||r.disabled){g.preventDefault();return}if(!r.isControlled){const b=g.target;a("_checked",b.checked)}xn(i.onChange,g)},u=g=>{a("isFocused",!0),xn(n.onFocus,g)},d=g=>{a("isFocused",!1),xn(n.onBlur,g)},c=()=>le(i.inputClass,mu()),f=()=>r,p={state:r};return _(oC.Provider,{value:p,get children(){return _(Xe.label,K({get for(){return r.id},"data-group":!0,get"data-focus"(){return r["data-focus"]},get"data-checked"(){return r["data-checked"]},get"data-required"(){return r["data-required"]},get"data-disabled"(){return r["data-disabled"]},get"data-invalid"(){return r["data-invalid"]},get"data-readonly"(){return r["data-readonly"]}},s,{get children(){return[(()=>{const g=aC.cloneNode(!0);g.addEventListener("blur",d),g.addEventListener("focus",u),g.addEventListener("change",l);const b=i.ref;return typeof b=="function"?b(g):i.ref=g,Ln(m=>{const x=c(),v=i.tabIndex,y=r.value,w=r.id,O=r.name,T=r.checked,A=r.required,F=r.disabled,M=r.readOnly,D=r["aria-required"],B=r["aria-disabled"],V=r["aria-invalid"],J=r["aria-readonly"],ee=i["aria-label"],ue=i["aria-labelledby"],me=i["aria-describedby"];return x!==m._v$&&(g.className=m._v$=x),v!==m._v$2&&ft(g,"tabindex",m._v$2=v),y!==m._v$3&&(g.value=m._v$3=y),w!==m._v$4&&ft(g,"id",m._v$4=w),O!==m._v$5&&ft(g,"name",m._v$5=O),T!==m._v$6&&(g.checked=m._v$6=T),A!==m._v$7&&(g.required=m._v$7=A),F!==m._v$8&&(g.disabled=m._v$8=F),M!==m._v$9&&(g.readOnly=m._v$9=M),D!==m._v$10&&ft(g,"aria-required",m._v$10=D),B!==m._v$11&&ft(g,"aria-disabled",m._v$11=B),V!==m._v$12&&ft(g,"aria-invalid",m._v$12=V),J!==m._v$13&&ft(g,"aria-readonly",m._v$13=J),ee!==m._v$14&&ft(g,"aria-label",m._v$14=ee),ue!==m._v$15&&ft(g,"aria-labelledby",m._v$15=ue),me!==m._v$16&&ft(g,"aria-describedby",m._v$16=me),m},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),g})(),_(Re,{get when(){return wn(i.children)},get fallback(){return i.children},get children(){var g;return(g=i.children)==null?void 0:g.call(i,{state:f})}})]}}))}})}const oC=Nt(),Dx="hope-switch",sC="hope-checkbox__input",lC="hope-switch__control",uC="hope-switch__label";function cC(e){var t,n,r,a,i,o,s,l,u,d,c,f;const p=Se().Switch,g={variant:(r=(n=(t=p==null?void 0:p.defaultProps)==null?void 0:t.root)==null?void 0:n.variant)!=null?r:"filled",colorScheme:(o=(i=(a=p==null?void 0:p.defaultProps)==null?void 0:a.root)==null?void 0:i.colorScheme)!=null?o:"primary",size:(u=(l=(s=p==null?void 0:p.defaultProps)==null?void 0:s.root)==null?void 0:l.size)!=null?u:"md",labelPlacement:(f=(c=(d=p==null?void 0:p.defaultProps)==null?void 0:d.root)==null?void 0:c.labelPlacement)!=null?f:"start"},b=K(g,e),[m,x]=de(b,["children","class","variant","colorScheme","size","labelPlacement"]),v=()=>le(m.class,Dx,tC({size:m.size,labelPlacement:m.labelPlacement})),y=()=>le(lC,rC({variant:m.variant,colorScheme:m.colorScheme,size:m.size})),w=()=>le(uC,nC());return _(iC,K({get class(){return v()},inputClass:sC,get __baseStyle(){var O;return(O=p==null?void 0:p.baseStyle)==null?void 0:O.root}},x,{children:({state:O})=>[_(Xe.span,{get class(){return w()},get __baseStyle(){var T;return(T=p==null?void 0:p.baseStyle)==null?void 0:T.label},get"data-focus"(){return O()["data-focus"]},get"data-checked"(){return O()["data-checked"]},get"data-required"(){return O()["data-required"]},get"data-disabled"(){return O()["data-disabled"]},get"data-invalid"(){return O()["data-invalid"]},get"data-readonly"(){return O()["data-readonly"]},get children(){return m.children}}),_(Xe.span,{"aria-hidden":!0,get class(){return y()},get __baseStyle(){var T;return(T=p==null?void 0:p.baseStyle)==null?void 0:T.control},get"data-focus"(){return O()["data-focus"]},get"data-checked"(){return O()["data-checked"]},get"data-required"(){return O()["data-required"]},get"data-disabled"(){return O()["data-disabled"]},get"data-invalid"(){return O()["data-invalid"]},get"data-readonly"(){return O()["data-readonly"]}})]}))}cC.toString=()=>be(Dx);const dC=Y({width:"100%",borderCollapse:"collapse",fontVariantNumeric:"lining-nums tabular-nums"});Y({px:"$6",py:"$4",color:"$neutral11",fontSize:"$sm",fontWeight:"$medium",lineHeight:"$5",textAlign:"center",variants:{dense:{true:{px:"$4",py:"$3",fontSize:"$xs",lineHeight:"$4"}},placement:{top:{captionSide:"top"},bottom:{captionSide:"bottom"}}}});function zf(e){return{"& td":{borderBottomWidth:0},"& tr:last-of-type td":{borderBottomWidth:"1px"},["& tr:nth-of-type(".concat(e,") td")]:{backgroundColor:"$neutral3"}}}const fC=Y({variants:{striped:{odd:zf("odd"),even:zf("even")},highlightOnHover:{true:{"& tr:hover td":{backgroundColor:"$neutral4"}}}},compoundVariants:[{striped:"odd",highlightOnHover:!0,css:{"& tr:nth-of-type(odd):hover td":{backgroundColor:"$neutral4"}}},{striped:"even",highlightOnHover:!0,css:{"& tr:nth-of-type(even):hover td":{backgroundColor:"$neutral4"}}}]});Y({"& tr:last-of-type th":{borderBottomWidth:0}});const hC=Y({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$3",fontSize:"$xs",fontWeight:"$semibold",lineHeight:"$4",letterSpacing:"$wider",textAlign:"start",textTransform:"uppercase",variants:{dense:{true:{px:"$4",py:"$1_5"}},numeric:{true:{textAlign:"end"}}}}),gC=Y({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$4",fontSize:"$base",lineHeight:"$6",textAlign:"start",transition:"background-color 250ms",variants:{dense:{true:{px:"$4",py:"$2",fontSize:"$sm",lineHeight:"$5"}},numeric:{true:{textAlign:"end"}}}}),Px=Nt(),Mx="hope-table";function pC(e){const t=Se().Table,[n]=Cn({get striped(){var o,s,l;return(l=e.striped)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.striped},get dense(){var o,s,l,u;return(u=(l=e.dense)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.dense)!=null?u:!1},get highlightOnHover(){var o,s,l,u;return(u=(l=e.highlightOnHover)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.highlightOnHover)!=null?u:!1}}),[r,a]=de(e,["class","striped","dense","highlightOnHover"]),i=()=>le(r.class,Mx,dC(n));return _(Px.Provider,{value:n,get children(){return _(Me,K({as:"table",role:"table",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.root}},a))}})}pC.toString=()=>be(Mx);function ud(){const e=It(Px);if(!e)throw new Error("[Hope UI]: useTableContext must be used within a `<Table/>` component");return e}const Bx="hope-tbody";function mC(e){const t=Se().Table,n=ud(),[r,a]=de(e,["class"]),i=()=>le(r.class,Bx,fC({striped:n.striped,highlightOnHover:n.highlightOnHover}));return _(Me,K({as:"tbody",role:"rowgroup",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.tbody}},a))}mC.toString=()=>be(Bx);const $x="hope-td";function xC(e){const t=Se().Table,n=ud(),[r,a]=de(e,["class","numeric"]),i=()=>le(r.class,$x,gC({dense:n.dense,numeric:r.numeric}));return _(Me,K({as:"td",role:"cell",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.td}},a))}xC.toString=()=>be($x);const Fx="hope-th";function bC(e){const t=Se().Table,n=ud(),[r,a]=de(e,["class","numeric"]),i=()=>le(r.class,Fx,hC({dense:n.dense,numeric:r.numeric}));return _(Me,K({as:"th",role:"columnheader",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.th}},a))}bC.toString=()=>be(Fx);const Hx="hope-thead";function EC(e){const t=Se().Table,[n,r]=de(e,["class"]),a=()=>le(n.class,Hx);return _(Me,K({as:"thead",role:"rowgroup",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.thead}},r))}EC.toString=()=>be(Hx);const Ux="hope-tr";function yC(e){const t=Se().Table,[n,r]=de(e,["class"]),a=()=>le(n.class,Ux);return _(Me,K({as:"tr",role:"row",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.tr}},r))}yC.toString=()=>be(Ux);Y({variants:{orientation:{horizontal:{display:"block"},vertical:{display:"flex"}}}});Y({display:"flex",color:"$neutral11",fontWeight:"$normal",variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"$neutral7"},outline:{borderStyle:"solid",borderColor:"$neutral7"},cards:{borderStyle:"solid",borderColor:"$neutral7"},pills:{gap:"$1_5"}},alignment:{start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},center:{justifyContent:"center"},apart:{justifyContent:"space-between"}},orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}}},compoundVariants:[{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}}]});function Qt(e){return{"&[aria-selected='true']":{color:e}}}function qa(e){return{"&[aria-selected='true']":{color:e.color,backgroundColor:e.bgColor},"&[aria-selected='true']:hover":{backgroundColor:e.bgColorHover}}}Y({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"$none",backgroundColor:"transparent",px:"$4",color:"inherit",fontWeight:"inherit",cursor:"pointer",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",transitionDuration:"250ms","&:focus":{zIndex:1,outline:"none",boxShadow:"$outline"},"&:disabled":{opacity:.4,cursor:"not-allowed"},variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"currentColor"},"&:active":{backgroundColor:"$neutral4"}},outline:{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"inherit"}},cards:{borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"$neutral3","&[aria-selected='true']":{borderColor:"inherit",backgroundColor:"$loContrast"}},pills:{borderRadius:"$sm","&:hover":{backgroundColor:"$neutral3"},"&:hover:disabled":{backgroundColor:"transparent"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:{py:"$1",fontSize:"$sm"},md:{py:"$2",fontSize:"$base"},lg:{py:"$3",fontSize:"$lg"}},orientation:{horizontal:{},vertical:{}},fitted:{true:{flex:1}}},compoundVariants:[{variant:"underline",colorScheme:"primary",css:Qt("$primary11")},{variant:"underline",colorScheme:"accent",css:Qt("$accent11")},{variant:"underline",colorScheme:"neutral",css:Qt("$neutral12")},{variant:"underline",colorScheme:"success",css:Qt("$success11")},{variant:"underline",colorScheme:"info",css:Qt("$info11")},{variant:"underline",colorScheme:"warning",css:Qt("$warning11")},{variant:"underline",colorScheme:"danger",css:Qt("$danger11")},{variant:"outline",colorScheme:"primary",css:Qt("$primary11")},{variant:"outline",colorScheme:"accent",css:Qt("$accent11")},{variant:"outline",colorScheme:"neutral",css:Qt("$neutral12")},{variant:"outline",colorScheme:"success",css:Qt("$success11")},{variant:"outline",colorScheme:"info",css:Qt("$info11")},{variant:"outline",colorScheme:"warning",css:Qt("$warning11")},{variant:"outline",colorScheme:"danger",css:Qt("$danger11")},{variant:"cards",colorScheme:"primary",css:Qt("$primary11")},{variant:"cards",colorScheme:"accent",css:Qt("$accent11")},{variant:"cards",colorScheme:"neutral",css:Qt("$neutral12")},{variant:"cards",colorScheme:"success",css:Qt("$success11")},{variant:"cards",colorScheme:"info",css:Qt("$info11")},{variant:"cards",colorScheme:"warning",css:Qt("$warning11")},{variant:"cards",colorScheme:"danger",css:Qt("$danger11")},{variant:"pills",colorScheme:"primary",css:qa({color:"$primary11",bgColor:"$primary3",bgColorHover:"$primary4"})},{variant:"pills",colorScheme:"accent",css:qa({color:"$accent11",bgColor:"$accent3",bgColorHover:"$accent4"})},{variant:"pills",colorScheme:"neutral",css:qa({color:"$neutral12",bgColor:"$neutral3",bgColorHover:"$neutral4"})},{variant:"pills",colorScheme:"success",css:qa({color:"$success11",bgColor:"$success3",bgColorHover:"$success4"})},{variant:"pills",colorScheme:"info",css:qa({color:"$info11",bgColor:"$info3",bgColorHover:"$info4"})},{variant:"pills",colorScheme:"warning",css:qa({color:"$warning11",bgColor:"$warning3",bgColorHover:"$warning4"})},{variant:"pills",colorScheme:"danger",css:qa({color:"$danger11",bgColor:"$danger3",bgColorHover:"$danger4"})},{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"2px",marginBottom:"-1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"2px",marginInlineEnd:"-1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderTopRadius:"$sm","&[aria-selected='true']":{borderBottomColor:"$loContrast"}}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderStartRadius:"$radii$sm","&[aria-selected='true']":{borderInlineEndColor:"$colors$loContrast"}}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px","&:not(:last-of-type)":{marginInlineEnd:"-1px"},"&[aria-selected='true']":{borderTopColor:"currentColor",borderBottomColor:"transparent"}}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px","&:not(:last-of-type)":{mb:"-1px"},"&[aria-selected='true']":{borderInlineStartColor:"currentColor",borderInlineEndColor:"transparent"}}}]});Y({outline:"none",padding:"$4"});Y({marginInlineStart:"$2"});Y({marginInlineEnd:"$2"});Y({noOfLines:1});const Gi=Y({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",border:"1px solid transparent",borderRadius:"$full",backgroundColor:"transparent",padding:"0",lineHeight:"$none",textDecoration:"none",color:"inherit",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, opacity 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled":{border:"1px solid transparent",backgroundColor:"transparent",color:"$neutral3",cursor:"not-allowed"},variants:{size:{sm:{marginInlineStart:"0.35rem",marginInlineEnd:"-3px"},md:{marginInlineStart:"$1_5",marginInlineEnd:"calc(0.15rem * -1)"},lg:{marginInlineStart:"$1_5",marginInlineEnd:"calc($1 * -1)"}}}});function hc(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,lineHeight:e.lineHeight,["& .".concat(Gi)]:{boxSize:e.closeButtonSize}}}function Ga(e){return{backgroundColor:e.bgColor,color:e.color,["& .".concat(Gi,":not(:disabled):hover")]:{backgroundColor:e.closeButtonBgColorHover}}}function Ka(e){return{backgroundColor:e.bgColor,color:e.color,["& .".concat(Gi,":not(:disabled):hover")]:{backgroundColor:e.closeButtonBgColorHover}}}function Ya(e){return{borderColor:e.borderColor,color:e.color,["& .".concat(Gi,":not(:disabled):hover")]:{backgroundColor:e.closeButtonBgColorHover}}}function gc(e){return{"&::before, &::after":{boxSize:e},"&::before":{marginRight:e},"&::after":{marginLeft:e}}}Y({display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"$full",fontWeight:"$medium",lineHeight:"$none",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"},dot:{border:"1px solid $neutral7",backgroundColor:"transparent",color:"$neutral12","&::before, &::after":{content:"''",borderRadius:"$full"},"&::before":{display:"block"},"&::after":{display:"none"},["& .".concat(Gi,":not(:disabled):hover")]:{backgroundColor:"$neutral4"},["& .".concat(Gi,":not(:disabled):active")]:{backgroundColor:"$neutral5"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:hc({height:"$5",paddingX:"$2",fontSize:"$xs",lineHeight:"$4",closeButtonSize:"$4"}),md:hc({height:"$6",paddingX:"$2",fontSize:"$sm",lineHeight:"$5",closeButtonSize:"$5"}),lg:hc({height:"$8",paddingX:"$3",fontSize:"$base",lineHeight:"$6",closeButtonSize:"$6"})},dotPlacement:{start:{},end:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:Ga({color:"white",bgColor:"$primary9",closeButtonBgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:Ga({color:"white",bgColor:"$accent9",closeButtonBgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:Ga({color:"white",bgColor:"$neutral9",closeButtonBgColorHover:"$neutral11"})},{variant:"solid",colorScheme:"success",css:Ga({color:"white",bgColor:"$success9",closeButtonBgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:Ga({color:"white",bgColor:"$info9",closeButtonBgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:Ga({color:"$blackAlpha12",bgColor:"$warning9",closeButtonBgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:Ga({color:"white",bgColor:"$danger9",closeButtonBgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:Ka({color:"$primary11",bgColor:"$primary4",closeButtonBgColorHover:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:Ka({color:"$accent11",bgColor:"$accent4",closeButtonBgColorHover:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:Ka({color:"$neutral12",bgColor:"$neutral4",closeButtonBgColorHover:"$neutral7"})},{variant:"subtle",colorScheme:"success",css:Ka({color:"$success11",bgColor:"$success4",closeButtonBgColorHover:"$success6"})},{variant:"subtle",colorScheme:"info",css:Ka({color:"$info11",bgColor:"$info4",closeButtonBgColorHover:"$info6"})},{variant:"subtle",colorScheme:"warning",css:Ka({color:"$warning11",bgColor:"$warning4",closeButtonBgColorHover:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:Ka({color:"$danger11",bgColor:"$danger4",closeButtonBgColorHover:"$danger6"})},{variant:"outline",colorScheme:"primary",css:Ya({color:"$primary11",borderColor:"$primary7",closeButtonBgColorHover:"$primary4"})},{variant:"outline",colorScheme:"accent",css:Ya({color:"$accent11",borderColor:"$accent7",closeButtonBgColorHover:"$accent4"})},{variant:"outline",colorScheme:"neutral",css:Ya({color:"$neutral12",borderColor:"$neutral7",closeButtonBgColorHover:"$neutral4"})},{variant:"outline",colorScheme:"success",css:Ya({color:"$success11",borderColor:"$success7",closeButtonBgColorHover:"$success4"})},{variant:"outline",colorScheme:"info",css:Ya({color:"$info11",borderColor:"$info7",closeButtonBgColorHover:"$info4"})},{variant:"outline",colorScheme:"warning",css:Ya({color:"$warning11",borderColor:"$warning7",closeButtonBgColorHover:"$warning4"})},{variant:"outline",colorScheme:"danger",css:Ya({color:"$danger11",borderColor:"$danger7",closeButtonBgColorHover:"$danger4"})},{variant:"dot",colorScheme:"primary",css:{"&::before, &::after":{backgroundColor:"$primary9"}}},{variant:"dot",colorScheme:"accent",css:{"&::before, &::after":{backgroundColor:"$accent9"}}},{variant:"dot",colorScheme:"neutral",css:{"&::before, &::after":{backgroundColor:"$neutral9"}}},{variant:"dot",colorScheme:"success",css:{"&::before, &::after":{backgroundColor:"$success9"}}},{variant:"dot",colorScheme:"info",css:{"&::before, &::after":{backgroundColor:"$info9"}}},{variant:"dot",colorScheme:"warning",css:{"&::before, &::after":{backgroundColor:"$warning9"}}},{variant:"dot",colorScheme:"danger",css:{"&::before, &::after":{backgroundColor:"$danger9"}}},{variant:"dot",size:"sm",css:gc("$1_5")},{variant:"dot",size:"md",css:gc("$2")},{variant:"dot",size:"lg",css:gc("$2_5")},{variant:"dot",dotPlacement:"start",css:{"&::before":{display:"block"},"&::after":{display:"none"}}},{variant:"dot",dotPlacement:"end",css:{"&::before":{display:"none"},"&::after":{display:"block"}}}]});const zx="hope-text";function vC(e){var t;const n=Se().Text,r={size:(t=n==null?void 0:n.defaultProps)==null?void 0:t.size},a=K(r,e),[i,o]=de(a,["class","size"]),s=()=>le(i.class,zx,Om({size:i.size}));return _(Xe.p,K({get class(){return s()},get __baseStyle(){return n==null?void 0:n.baseStyle}},o))}vC.toString=()=>be(zx);function pc(e,t){return Object.entries({xs:t!=null?t:"$2",sm:t!=null?t:"$2_5",md:t!=null?t:"$3",lg:t!=null?t:"$4"}).map(([n,r])=>({variant:e,size:n,css:{px:r}}))}const _C=Y(J0,{minHeight:"80px",py:"$2",compoundVariants:[...pc("outline"),...pc("filled"),...pc("unstyled",0)]}),jx="hope-textarea";function TC(e){var t,n,r,a;const i=Se().Textarea,o={variant:(n=(t=i==null?void 0:i.defaultProps)==null?void 0:t.variant)!=null?n:"outline",size:(a=(r=i==null?void 0:i.defaultProps)==null?void 0:r.size)!=null?a:"md"},s=K(o,e),[l,u]=de(s,["class","variant","size"]),d=ro(e),c=()=>le(l.class,jx,_C({variant:l.variant,size:l.size}));return _(Me,K({as:"textarea",get class(){return c()},get __baseStyle(){return i==null?void 0:i.baseStyle}},d,u))}TC.toString=()=>be(jx);const Wx="hope-tooltip",SC="hope-tooltip__arrow";function CC(e){var t,n,r,a,i,o,s,l,u,d,c,f,p,g,b,m,x,v;const y="hope-tooltip-".concat(tr()),w=Se().Tooltip,O={id:y,placement:(n=(t=w==null?void 0:w.defaultProps)==null?void 0:t.placement)!=null?n:"bottom",offset:(a=(r=w==null?void 0:w.defaultProps)==null?void 0:r.offset)!=null?a:8,withArrow:(o=(i=w==null?void 0:w.defaultProps)==null?void 0:i.withArrow)!=null?o:!1,arrowSize:(l=(s=w==null?void 0:w.defaultProps)==null?void 0:s.arrowSize)!=null?l:8,arrowPadding:(d=(u=w==null?void 0:w.defaultProps)==null?void 0:u.arrowPadding)!=null?d:8,openDelay:(f=(c=w==null?void 0:w.defaultProps)==null?void 0:c.openDelay)!=null?f:0,closeDelay:(g=(p=w==null?void 0:w.defaultProps)==null?void 0:p.closeDelay)!=null?g:0,closeOnClick:(m=(b=w==null?void 0:w.defaultProps)==null?void 0:b.closeOnClick)!=null?m:!0,closeOnMouseDown:(v=(x=w==null?void 0:w.defaultProps)==null?void 0:x.closeOnMouseDown)!=null?v:!1},T=K(O,e),[A,F]=de(T,["class","children","id","label","opened","defaultOpened","inline","disabled","placement","offset","withArrow","arrowSize","arrowPadding","openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose"]),[M,D]=Ne(!!A.defaultOpened),[B,V]=Ne(!1);let J,ee,ue,me;const Le=()=>A.opened!==void 0,re=()=>Le()?!!A.opened:M(),Fe=()=>le(A.class,Wx,D3()),ke=()=>le(SC,P3());let C;const R=da(()=>A.children),xe=ze(()=>{let We=R();for(;wn(We);)We=We();return We});async function $e(){var We,fn,qn;const br=xe();if(!br||!J)return;const Xt=[lu(A.offset)];A.inline&&Xt.push(l1()),Xt.push(su()),Xt.push(uu()),A.withArrow&&ee&&Xt.push(i1({element:ee,padding:A.arrowPadding})),Xt.push(s1());const{x:bn,y:Pn,placement:cn,middlewareData:kn}=await hu(br,J,{placement:A.placement,middleware:Xt});if(!J)return;const nr=(We=kn.hide)==null?void 0:We.referenceHidden;if(Object.assign(J.style,{left:"".concat(Math.round(bn),"px"),top:"".concat(Math.round(Pn),"px"),visibility:nr?"hidden":"visible"}),!ee)return;const Rr=(fn=kn.arrow)==null?void 0:fn.x,Q=(qn=kn.arrow)==null?void 0:qn.y,z={top:"bottom",right:"left",bottom:"top",left:"right"}[cn.split("-")[0]],I="".concat(A.arrowSize?Math.round(A.arrowSize/2)*-1:-4,"px");Object.assign(ee.style,{left:Rr!=null?"".concat(Math.round(Rr),"px"):"",top:Q!=null?"".concat(Math.round(Q),"px"):"",right:"",bottom:"",[z]:I})}const bt=()=>{var We;Le()||D(!0),(We=A.onOpen)==null||We.call(A),$e()},nt=()=>{var We;Le()||D(!1),(We=A.onClose)==null||We.call(A)},rt=()=>{A.disabled||(ue=window.setTimeout(bt,A.openDelay))},lt=()=>{ue&&window.clearTimeout(ue),me=window.setTimeout(nt,A.closeDelay)},Et=()=>{A.closeOnClick&<()},ie=()=>{A.closeOnMouseDown&<()},Ce=We=>{re()&&We.key==="Escape"&<()},Qe=()=>{const We=xe();We.addEventListener("mouseenter",rt),We.addEventListener("focus",rt),We.addEventListener("click",Et),We.addEventListener("mousedown",ie),We.addEventListener("mouseleave",lt),We.addEventListener("blur",lt)},ht=()=>{const We=xe();We.removeEventListener("mouseenter",rt),We.removeEventListener("focus",rt),We.removeEventListener("click",Et),We.removeEventListener("mousedown",ie),We.removeEventListener("mouseleave",lt),We.removeEventListener("blur",lt)},Dn=()=>{J&&(document.addEventListener("keydown",Ce),C=fu(xe(),J,$e))},xr=()=>{document.removeEventListener("keydown",Ce),C==null||C(),V(!1)};return Rn(()=>{Qe()}),wt(()=>{ht(),window.clearTimeout(ue),window.clearTimeout(me)}),Kt(()=>{re()?(V(!0),A.id&&xe().setAttribute("aria-describedby",A.id)):xe().removeAttribute("aria-describedby")}),[xe,_(Re,{get when(){return B()},get children(){return _(Ra,{get children(){return _(Da,{get name(){return Ja.scale},appear:!0,onBeforeEnter:$e,onAfterEnter:Dn,onAfterExit:xr,get children(){return _(Re,{get when(){return re()},get children(){return _(Me,K({ref(We){const fn=J;typeof fn=="function"?fn(We):J=We},role:"tooltip",get id(){return A.id},get class(){return Fe()},get __baseStyle(){return w==null?void 0:w.baseStyle}},F,{get children(){return[la(()=>A.label),_(Re,{get when(){return A.withArrow},get children(){return _(Me,{ref(We){const fn=ee;typeof fn=="function"?fn(We):ee=We},get class(){return ke()},get boxSize(){return A.arrowSize}})}})]}}))}})}})}})}})]}CC.toString=()=>be(Wx);function wC(e={}){const t="disclosure-".concat(tr()),[n,r]=Ne(e.defaultIsOpen||!1),a=()=>e.isOpen!==void 0,i=()=>a()?!!e.isOpen:n(),o=()=>{var c;a()||r(!1),(c=e.onClose)==null||c.call(e)},s=()=>{var c;a()||r(!0),(c=e.onOpen)==null||c.call(e)};return{isControlled:a,isOpen:i,onOpen:s,onClose:o,onToggle:()=>{i()?o():s()},triggerProps:()=>({"aria-expanded":i(),"aria-controls":t}),disclosureProps:()=>({id:t,hidden:!i()})}}var mc,jf;function AC(){return jf||(jf=1,mc=function e(t,n){var r=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,i=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,o=/^0x[0-9a-f]+$/i,s=/^0/,l=function(y){return e.insensitive&&(""+y).toLowerCase()||""+y},u=l(t).replace(a,"")||"",d=l(n).replace(a,"")||"",c=u.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),f=d.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=parseInt(u.match(o),16)||c.length!==1&&u.match(i)&&Date.parse(u),g=parseInt(d.match(o),16)||p&&d.match(i)&&Date.parse(d)||null,b,m;if(g){if(p<g)return-1;if(p>g)return 1}for(var x=0,v=Math.max(c.length,f.length);x<v;x++){if(b=!(c[x]||"").match(s)&&parseFloat(c[x])||c[x]||0,m=!(f[x]||"").match(s)&&parseFloat(f[x])||f[x]||0,isNaN(b)!==isNaN(m))return isNaN(b)?1:-1;if(typeof b!=typeof m&&(b+="",m+=""),b<m)return-1;if(b>m)return 1}return 0}),mc}var kC=AC();const OC=vs(kC);function IC(e){const[t,n]=Ne(),r=e!=null&&e.throw?(f,p)=>{throw n(f instanceof Error?f:new Error(p)),f}:(f,p)=>{n(f instanceof Error?f:new Error(p))},a=e!=null&&e.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),i=e!=null&&e.prefix?"".concat(e.prefix,"."):"",o=new Map,s=new Proxy({},{get(f,p){let g=o.get(p);g||(g=Ne(void 0,{equals:!1}),o.set(p,g)),g[0]();const b=a.reduce((m,x)=>{if(m!==null||!x)return m;try{return x.getItem("".concat(i).concat(p))}catch(v){return r(v,"Error reading ".concat(i).concat(p," from ").concat(x.name)),null}},null);return b!==null&&(e!=null&&e.deserializer)?e.deserializer(b,p,e.options):b}}),l=(f,p,g)=>{const b=e!=null&&e.serializer?e.serializer(p,f,g!=null?g:e.options):p,m="".concat(i).concat(f);a.forEach(v=>{try{v.getItem(m)!==b&&v.setItem(m,b)}catch(y){r(y,"Error setting ".concat(i).concat(f," to ").concat(b," in ").concat(v.name))}});const x=o.get(f);x&&x[1]()},u=f=>a.forEach(p=>{try{p.removeItem("".concat(i).concat(f))}catch(g){r(g,"Error removing ".concat(i).concat(f," from ").concat(p.name))}}),d=()=>a.forEach(f=>{try{f.clear()}catch(p){r(p,"Error clearing ".concat(f.name))}}),c=()=>{const f={},p=(g,b)=>{if(!f.hasOwnProperty(g)){const m=b&&(e!=null&&e.deserializer)?e.deserializer(b,g,e.options):b;m&&(f[g]=m)}};return a.forEach(g=>{if(typeof g.getAll=="function"){let b;try{b=g.getAll()}catch(m){r(m,"Error getting all values from in ".concat(g.name))}for(const m of b)p(m,b[m])}else{let b=0,m;try{for(;m=g.key(b++);)f.hasOwnProperty(m)||p(m,g.getItem(m))}catch(x){r(x,"Error getting all values from ".concat(g.name))}}}),f};return(e==null?void 0:e.sync)!==!1&&Rn(()=>{const f=p=>{var b;let g=!1;a.forEach(m=>{try{m!==p.storageArea&&p.key&&p.newValue!==m.getItem(p.key)&&(p.newValue?m.setItem(p.key,p.newValue):m.removeItem(p.key),g=!0)}catch(x){r(x,"Error synching api ".concat(m.name," from storage event (").concat(p.key,"=").concat(p.newValue,")"))}}),g&&p.key&&((b=o.get(p.key))==null||b[1]())};"addEventListener"in globalThis?(globalThis.addEventListener("storage",f),wt(()=>globalThis.removeEventListener("storage",f))):(a.forEach(p=>{var g;return(g=p.addEventListener)==null?void 0:g.call(p,"storage",f)}),wt(()=>a.forEach(p=>{var g;return(g=p.removeEventListener)==null?void 0:g.call(p,"storage",f)})))}),[s,l,{clear:d,error:t,remove:u,toJSON:c}]}function Vx(e,t,n){const[r,a]=Ne(),i=n!=null&&n.api?Array.isArray(n.api)?n.api:[n.api]:[globalThis.localStorage].filter(Boolean),o=n!=null&&n.prefix?"".concat(n.prefix,"."):"",s=()=>i.reduce((c,f)=>{if(c!==null||!f)return c;let p=null;try{p=f.getItem("".concat(o).concat(e))}catch(g){if(a(g instanceof Error?g:new Error("Error reading ".concat(o).concat(e," from ").concat(f.name))),n!=null&&n.throw)throw g}return p!==null&&(n!=null&&n.deserializer)?n.deserializer(p+"",e,n.options):p},null),[l,u]=av(t,()=>{var c;return(c=s())!=null?c:t},n);Kt(()=>{const c=l(),f=n!=null&&n.serializer?n.serializer(c,e,n.options):c+"",p="".concat(o).concat(e);try{c===null?i.forEach(g=>g.getItem(p)!==null&&g.removeItem(p)):i.forEach(g=>g.getItem(p)!==f&&g.setItem(p,f,n==null?void 0:n.options))}catch(g){if(a(g instanceof Error?g:new Error("Error ".concat(c===null?"removing":"writing"," value"))),n!=null&&n.throw)throw g}});const d=()=>{const c=s();u(c)};return(n==null?void 0:n.sync)!==!1&&Rn(()=>{const c=f=>{let p=!1;try{i.forEach(g=>{g!==f.storageArea&&f.key&&f.newValue!==g.getItem(f.key)&&(f.newValue?g.setItem(f.key,f.newValue):g.removeItem(f.key),p=!0)})}catch(g){if(a(g instanceof Error?g:new Error("Error synching api after event")),n!=null&&n.throw)throw g}p&&d()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",c),wt(()=>globalThis.removeEventListener("storage",c))):(i.forEach(f=>{var p;return(p=f.addEventListener)==null?void 0:p.call(f,"storage",c)}),wt(()=>i.forEach(f=>{var p;return(p=f.removeEventListener)==null?void 0:p.call(f,"storage",c)})))}),[Object.assign(l,{error:r}),u,d]}var NC=IC,LC=e=>(typeof e.clear=="function"||(e.clear=()=>{let t;for(;t=e.key(0);)e.removeItem(t)}),e),Wf=e=>{if(!e)return"";let t="";for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];t+=r instanceof Date?"; ".concat(n,"=").concat(r.toUTCString()):typeof r=="boolean"?"; ".concat(n):"; ".concat(n,"=").concat(r)}return t},Fn=LC({_cookies:[globalThis.document,"cookie"],getItem:e=>{var t,n;return(n=(t=Fn._cookies[0][Fn._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))==null?void 0:t.pop())!=null?n:null},setItem:(e,t,n)=>{const r=Fn.getItem(e);Fn._cookies[0][Fn._cookies[1]]="".concat(e,"=").concat(t).concat(Wf(n));const a=Object.assign(new Event("storage"),{key:e,oldValue:r,newValue:t,url:globalThis.document.URL,storageArea:Fn});window.dispatchEvent(a)},removeItem:e=>{Fn._cookies[0][Fn._cookies[1]]="".concat(e,"=deleted").concat(Wf({expires:new Date(0)}))},key:e=>{let t=null,n=0;return Fn._cookies[0][Fn._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,(r,a)=>(!t&&a&&n++===e&&(t=a),"")),t},get length(){let e=0;return Fn._cookies[0][Fn._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,t=>(e+=t?1:0,"")),e}});let Ar="";const RC=e=>{Ar=e,Ar.startsWith("/")||(Ar="/"+Ar),Ar.endsWith("/")&&(Ar=Ar.slice(0,-1))};window.OPENLIST_CONFIG.base_path&&RC(window.OPENLIST_CONFIG.base_path);let Or="/";window.OPENLIST_CONFIG.api&&(Or=window.OPENLIST_CONFIG.api);Or==="/"&&(Or=location.origin+Ar);Or.endsWith("/")&&(Or=Or.slice(0,-1));const bM=window.OPENLIST_CONFIG.monaco_cdn||"https://registry.npmmirror.com/monaco-editor/0.52.2/files/min/vs";function DC(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(a){a(n)}),(r=e.get("*"))&&r.slice().map(function(a){a(t,n)})}}}const Mi=DC(),Bi=(e,...t)=>{};var PC=Bt("<div><div>"),MC=Bt("<div>");const zl={render:e=>{ko.show({render:t=>_(Me,{get css(){return{display:"flex",backdropFilter:"blur(8px)",backgroundColor:_w(),boxShadow:"$md",borderRadius:"$lg",padding:"$3"}},get children(){return[(()=>{var n=PC(),r=n.firstChild;return n.style.setProperty("flex-grow","1"),n.style.setProperty("display","flex"),n.style.setProperty("align-items","center"),r.style.setProperty("margin","auto"),ua(r,e),n})(),(()=>{var n=MC();return n.style.setProperty("display","inline-block"),n.style.setProperty("padding","5px"),ua(n,_(yu,{style:{float:"right"},right:"$2",top:"$2",get onClick(){return t.close}})),n})()]}})})},success:e=>{ko.show({status:"success",title:Fo(e)})},error:e=>{ko.show({status:"danger",title:Fo(e)})},info:e=>{ko.show({status:"info",title:Fo(e)})},warning:e=>{ko.show({status:"warning",title:Fo(e)})}},BC=(e,t)=>(e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("/")||(e="/"+e),e==="/"?"":e),$C=(...e)=>new URL(Na(...e),location.origin).pathname,Na=(...e)=>e.join("/").replace(/\/{2,}/g,"/"),Vf=(...e)=>Na(Ar,...e),FC=e=>{const t=e.replace(Ar,"");return t.startsWith("/")?t:"/"+t},EM=e=>e.split("/").pop(),cd=e=>e.split("/").slice(0,-1).join("/"),f0=(e,t)=>e.split("/").map(n=>t?encodeURIComponent(n):n.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23").replace(/ /g,"%20")).join("/"),HC=e=>{var t;return(t=e.split(".").pop())!=null?t:""},yM=e=>e.split(".").slice(0,-1).join(".");function vM(e){const t=e.split("/").filter(Boolean),n=t.length;return r=>{const a=r.split("/").filter(Boolean);if(a.length-n<0)return null;let o=n?"":"/";for(let s=0;s<n;s++){const l=t[s],u=a[s];if(l.localeCompare(u,void 0,{sensitivity:"base"})!==0)return null;o+="/".concat(u)}return o}}const _M=e=>JSON.parse(JSON.stringify(e)),qf=e=>{const t=[];for(const n in e)t.push({key:n,value:e[n]});return t},UC=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t.toLowerCase(),n!==null&&typeof n=="object"?UC(n):n]));function qx(e,t){return function(){return e.apply(t,arguments)}}const{toString:zC}=Object.prototype,{getPrototypeOf:dd}=Object,{iterator:Ou,toStringTag:Gx}=Symbol,Iu=(e=>t=>{const n=zC.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Nr=e=>(e=e.toLowerCase(),t=>Iu(t)===e),Nu=e=>t=>typeof t===e,{isArray:ao}=Array,ls=Nu("undefined");function As(e){return e!==null&&!ls(e)&&e.constructor!==null&&!ls(e.constructor)&&Un(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kx=Nr("ArrayBuffer");function jC(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Kx(e.buffer),t}const WC=Nu("string"),Un=Nu("function"),Yx=Nu("number"),ks=e=>e!==null&&typeof e=="object",VC=e=>e===!0||e===!1,pl=e=>{if(Iu(e)!=="object")return!1;const t=dd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Gx in e)&&!(Ou in e)},qC=e=>{if(!ks(e)||As(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},GC=Nr("Date"),KC=Nr("File"),YC=Nr("Blob"),XC=Nr("FileList"),QC=e=>ks(e)&&Un(e.pipe),ZC=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Un(e.append)&&((t=Iu(e))==="formdata"||t==="object"&&Un(e.toString)&&e.toString()==="[object FormData]"))},JC=Nr("URLSearchParams"),[e4,t4,n4,r4]=["ReadableStream","Request","Response","Headers"].map(Nr),a4=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Os(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),ao(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{if(As(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let s;for(r=0;r<o;r++)s=i[r],t.call(null,e[s],s,e)}}function Xx(e,t){if(As(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const ei=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Qx=e=>!ls(e)&&e!==ei;function h0(){const{caseless:e}=Qx(this)&&this||{},t={},n=(r,a)=>{const i=e&&Xx(t,a)||a;pl(t[i])&&pl(r)?t[i]=h0(t[i],r):pl(r)?t[i]=h0({},r):ao(r)?t[i]=r.slice():t[i]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&Os(arguments[r],n);return t}const i4=(e,t,n,{allOwnKeys:r}={})=>(Os(t,(a,i)=>{n&&Un(a)?e[i]=qx(a,n):e[i]=a},{allOwnKeys:r}),e),o4=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),s4=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},l4=(e,t,n,r)=>{let a,i,o;const s={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)o=a[i],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&dd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},u4=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},c4=e=>{if(!e)return null;if(ao(e))return e;let t=e.length;if(!Yx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},d4=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&dd(Uint8Array)),f4=(e,t)=>{const r=(e&&e[Ou]).call(e);let a;for(;(a=r.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},h4=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},g4=Nr("HTMLFormElement"),p4=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),Gf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),m4=Nr("RegExp"),Zx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Os(n,(a,i)=>{let o;(o=t(a,i,e))!==!1&&(r[i]=o||a)}),Object.defineProperties(e,r)},x4=e=>{Zx(e,(t,n)=>{if(Un(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Un(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},b4=(e,t)=>{const n={},r=a=>{a.forEach(i=>{n[i]=!0})};return ao(e)?r(e):r(String(e).split(t)),n},E4=()=>{},y4=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function v4(e){return!!(e&&Un(e.append)&&e[Gx]==="FormData"&&e[Ou])}const _4=e=>{const t=new Array(10),n=(r,a)=>{if(ks(r)){if(t.indexOf(r)>=0)return;if(As(r))return r;if(!("toJSON"in r)){t[a]=r;const i=ao(r)?[]:{};return Os(r,(o,s)=>{const l=n(o,a+1);!ls(l)&&(i[s]=l)}),t[a]=void 0,i}}return r};return n(e,0)},T4=Nr("AsyncFunction"),S4=e=>e&&(ks(e)||Un(e))&&Un(e.then)&&Un(e.catch),Jx=((e,t)=>e?setImmediate:t?((n,r)=>(ei.addEventListener("message",({source:a,data:i})=>{a===ei&&i===n&&r.length&&r.shift()()},!1),a=>{r.push(a),ei.postMessage(n,"*")}))("axios@".concat(Math.random()),[]):n=>setTimeout(n))(typeof setImmediate=="function",Un(ei.postMessage)),C4=typeof queueMicrotask<"u"?queueMicrotask.bind(ei):typeof process<"u"&&process.nextTick||Jx,w4=e=>e!=null&&Un(e[Ou]),G={isArray:ao,isArrayBuffer:Kx,isBuffer:As,isFormData:ZC,isArrayBufferView:jC,isString:WC,isNumber:Yx,isBoolean:VC,isObject:ks,isPlainObject:pl,isEmptyObject:qC,isReadableStream:e4,isRequest:t4,isResponse:n4,isHeaders:r4,isUndefined:ls,isDate:GC,isFile:KC,isBlob:YC,isRegExp:m4,isFunction:Un,isStream:QC,isURLSearchParams:JC,isTypedArray:d4,isFileList:XC,forEach:Os,merge:h0,extend:i4,trim:a4,stripBOM:o4,inherits:s4,toFlatObject:l4,kindOf:Iu,kindOfTest:Nr,endsWith:u4,toArray:c4,forEachEntry:f4,matchAll:h4,isHTMLForm:g4,hasOwnProperty:Gf,hasOwnProp:Gf,reduceDescriptors:Zx,freezeMethods:x4,toObjectSet:b4,toCamelCase:p4,noop:E4,toFiniteNumber:y4,findKey:Xx,global:ei,isContextDefined:Qx,isSpecCompliantForm:v4,toJSONObject:_4,isAsyncFn:T4,isThenable:S4,setImmediate:Jx,asap:C4,isIterable:w4};function Je(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status?a.status:null)}G.inherits(Je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.status}}});const eb=Je.prototype,tb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{tb[e]={value:e}});Object.defineProperties(Je,tb);Object.defineProperty(eb,"isAxiosError",{value:!0});Je.from=(e,t,n,r,a,i)=>{const o=Object.create(eb);return G.toFlatObject(e,o,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Je.call(o,e.message,t,n,r,a),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const A4=null;function g0(e){return G.isPlainObject(e)||G.isArray(e)}function nb(e){return G.endsWith(e,"[]")?e.slice(0,-2):e}function Kf(e,t,n){return e?e.concat(t).map(function(a,i){return a=nb(a),!n&&i?"["+a+"]":a}).join(n?".":""):t}function k4(e){return G.isArray(e)&&!e.some(g0)}const O4=G.toFlatObject(G,{},null,function(t){return/^is[A-Z]/.test(t)});function Lu(e,t,n){if(!G.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=G.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,m){return!G.isUndefined(m[b])});const r=n.metaTokens,a=n.visitor||d,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(t);if(!G.isFunction(a))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(G.isDate(g))return g.toISOString();if(G.isBoolean(g))return g.toString();if(!l&&G.isBlob(g))throw new Je("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(g)||G.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,b,m){let x=g;if(g&&!m&&typeof g=="object"){if(G.endsWith(b,"{}"))b=r?b:b.slice(0,-2),g=JSON.stringify(g);else if(G.isArray(g)&&k4(g)||(G.isFileList(g)||G.endsWith(b,"[]"))&&(x=G.toArray(g)))return b=nb(b),x.forEach(function(y,w){!(G.isUndefined(y)||y===null)&&t.append(o===!0?Kf([b],w,i):o===null?b:b+"[]",u(y))}),!1}return g0(g)?!0:(t.append(Kf(m,b,i),u(g)),!1)}const c=[],f=Object.assign(O4,{defaultVisitor:d,convertValue:u,isVisitable:g0});function p(g,b){if(!G.isUndefined(g)){if(c.indexOf(g)!==-1)throw Error("Circular reference detected in "+b.join("."));c.push(g),G.forEach(g,function(x,v){(!(G.isUndefined(x)||x===null)&&a.call(t,x,G.isString(v)?v.trim():v,b,f))===!0&&p(x,b?b.concat(v):[v])}),c.pop()}}if(!G.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Yf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function fd(e,t){this._pairs=[],e&&Lu(e,this,t)}const rb=fd.prototype;rb.append=function(t,n){this._pairs.push([t,n])};rb.toString=function(t){const n=t?function(r){return t.call(this,r,Yf)}:Yf;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function I4(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ab(e,t,n){if(!t)return e;const r=n&&n.encode||I4;G.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let i;if(a?i=a(t,n):i=G.isURLSearchParams(t)?t.toString():new fd(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Xf{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){G.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ib={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},N4=typeof URLSearchParams<"u"?URLSearchParams:fd,L4=typeof FormData<"u"?FormData:null,R4=typeof Blob<"u"?Blob:null,D4={isBrowser:!0,classes:{URLSearchParams:N4,FormData:L4,Blob:R4},protocols:["http","https","file","blob","url","data"]},hd=typeof window<"u"&&typeof document<"u",p0=typeof navigator=="object"&&navigator||void 0,P4=hd&&(!p0||["ReactNative","NativeScript","NS"].indexOf(p0.product)<0),M4=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",B4=hd&&window.location.href||"http://localhost",$4=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:hd,hasStandardBrowserEnv:P4,hasStandardBrowserWebWorkerEnv:M4,navigator:p0,origin:B4},Symbol.toStringTag,{value:"Module"})),_n={...$4,...D4};function F4(e,t){return Lu(e,new _n.classes.URLSearchParams,{visitor:function(n,r,a,i){return _n.isNode&&G.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function H4(e){return G.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function U4(e){const t={},n=Object.keys(e);let r;const a=n.length;let i;for(r=0;r<a;r++)i=n[r],t[i]=e[i];return t}function ob(e){function t(n,r,a,i){let o=n[i++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),l=i>=n.length;return o=!o&&G.isArray(a)?a.length:o,l?(G.hasOwnProp(a,o)?a[o]=[a[o],r]:a[o]=r,!s):((!a[o]||!G.isObject(a[o]))&&(a[o]=[]),t(n,r,a[o],i)&&G.isArray(a[o])&&(a[o]=U4(a[o])),!s)}if(G.isFormData(e)&&G.isFunction(e.entries)){const n={};return G.forEachEntry(e,(r,a)=>{t(H4(r),a,n,0)}),n}return null}function z4(e,t,n){if(G.isString(e))try{return(t||JSON.parse)(e),G.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Is={transitional:ib,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,i=G.isObject(t);if(i&&G.isHTMLForm(t)&&(t=new FormData(t)),G.isFormData(t))return a?JSON.stringify(ob(t)):t;if(G.isArrayBuffer(t)||G.isBuffer(t)||G.isStream(t)||G.isFile(t)||G.isBlob(t)||G.isReadableStream(t))return t;if(G.isArrayBufferView(t))return t.buffer;if(G.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return F4(t,this.formSerializer).toString();if((s=G.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Lu(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||a?(n.setContentType("application/json",!1),z4(t)):t}],transformResponse:[function(t){const n=this.transitional||Is.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(G.isResponse(t)||G.isReadableStream(t))return t;if(t&&G.isString(t)&&(r&&!this.responseType||a)){const o=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?Je.from(s,Je.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_n.classes.FormData,Blob:_n.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch"],e=>{Is.headers[e]={}});const j4=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),W4=e=>{const t={};let n,r,a;return e&&e.split("\n").forEach(function(o){a=o.indexOf(":"),n=o.substring(0,a).trim().toLowerCase(),r=o.substring(a+1).trim(),!(!n||t[n]&&j4[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Qf=Symbol("internals");function Oo(e){return e&&String(e).trim().toLowerCase()}function ml(e){return e===!1||e==null?e:G.isArray(e)?e.map(ml):String(e)}function V4(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const q4=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xc(e,t,n,r,a){if(G.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!G.isString(t)){if(G.isString(r))return t.indexOf(r)!==-1;if(G.isRegExp(r))return r.test(t)}}function G4(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function K4(e,t){const n=G.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,i,o){return this[r].call(this,t,a,i,o)},configurable:!0})})}let zn=class{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function i(s,l,u){const d=Oo(l);if(!d)throw new Error("header name must be a non-empty string");const c=G.findKey(a,d);(!c||a[c]===void 0||u===!0||u===void 0&&a[c]!==!1)&&(a[c||l]=ml(s))}const o=(s,l)=>G.forEach(s,(u,d)=>i(u,d,l));if(G.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(G.isString(t)&&(t=t.trim())&&!q4(t))o(W4(t),n);else if(G.isObject(t)&&G.isIterable(t)){let s={},l,u;for(const d of t){if(!G.isArray(d))throw TypeError("Object iterator must return a key-value pair");s[u=d[0]]=(l=s[u])?G.isArray(l)?[...l,d[1]]:[l,d[1]]:d[1]}o(s,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=Oo(t),t){const r=G.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return V4(a);if(G.isFunction(n))return n.call(this,a,r);if(G.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Oo(t),t){const r=G.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||xc(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function i(o){if(o=Oo(o),o){const s=G.findKey(r,o);s&&(!n||xc(r,r[s],s,n))&&(delete r[s],a=!0)}}return G.isArray(t)?t.forEach(i):i(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const i=n[r];(!t||xc(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const n=this,r={};return G.forEach(this,(a,i)=>{const o=G.findKey(r,i);if(o){n[o]=ml(a),delete n[i];return}const s=t?G4(i):String(i).trim();s!==i&&delete n[i],n[s]=ml(a),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return G.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&G.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Qf]=this[Qf]={accessors:{}}).accessors,a=this.prototype;function i(o){const s=Oo(o);r[s]||(K4(a,o),r[s]=!0)}return G.isArray(t)?t.forEach(i):i(t),this}};zn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.reduceDescriptors(zn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});G.freezeMethods(zn);function bc(e,t){const n=this||Is,r=t||n,a=zn.from(r.headers);let i=r.data;return G.forEach(e,function(s){i=s.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function sb(e){return!!(e&&e.__CANCEL__)}function io(e,t,n){Je.call(this,e==null?"canceled":e,Je.ERR_CANCELED,t,n),this.name="CanceledError"}G.inherits(io,Je,{__CANCEL__:!0});function lb(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Je("Request failed with status code "+n.status,[Je.ERR_BAD_REQUEST,Je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Y4(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function X4(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[i];o||(o=u),n[a]=l,r[a]=u;let c=i,f=0;for(;c!==a;)f+=n[c++],c=c%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-o<t)return;const p=d&&u-d;return p?Math.round(f*1e3/p):void 0}}function Q4(e,t){let n=0,r=1e3/t,a,i;const o=(u,d=Date.now())=>{n=d,a=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const d=Date.now(),c=d-n;c>=r?o(u,d):(a=u,i||(i=setTimeout(()=>{i=null,o(a)},r-c)))},()=>a&&o(a)]}const jl=(e,t,n=3)=>{let r=0;const a=X4(50,250);return Q4(i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,l=o-r,u=a(l),d=o<=s;r=o;const c={loaded:o,total:s,progress:s?o/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&d?(s-o)/u:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(c)},n)},Zf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Jf=e=>(...t)=>G.asap(()=>e(...t)),Z4=_n.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_n.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_n.origin),_n.navigator&&/(msie|trident)/i.test(_n.navigator.userAgent)):()=>!0,J4=_n.hasStandardBrowserEnv?{write(e,t,n,r,a,i){const o=[e+"="+encodeURIComponent(t)];G.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),G.isString(r)&&o.push("path="+r),G.isString(a)&&o.push("domain="+a),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ew(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tw(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ub(e,t,n){let r=!ew(t);return e&&(r||n==!1)?tw(e,t):t}const eh=e=>e instanceof zn?{...e}:e;function di(e,t){t=t||{};const n={};function r(u,d,c,f){return G.isPlainObject(u)&&G.isPlainObject(d)?G.merge.call({caseless:f},u,d):G.isPlainObject(d)?G.merge({},d):G.isArray(d)?d.slice():d}function a(u,d,c,f){if(G.isUndefined(d)){if(!G.isUndefined(u))return r(void 0,u,c,f)}else return r(u,d,c,f)}function i(u,d){if(!G.isUndefined(d))return r(void 0,d)}function o(u,d){if(G.isUndefined(d)){if(!G.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,c){if(c in t)return r(u,d);if(c in e)return r(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,d,c)=>a(eh(u),eh(d),c,!0)};return G.forEach(Object.keys({...e,...t}),function(d){const c=l[d]||a,f=c(e[d],t[d],d);G.isUndefined(f)&&c!==s||(n[d]=f)}),n}const cb=e=>{const t=di({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:i,headers:o,auth:s}=t;t.headers=o=zn.from(o),t.url=ab(ub(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(G.isFormData(n)){if(_n.hasStandardBrowserEnv||_n.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...d]=l?l.split(";").map(c=>c.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...d].join("; "))}}if(_n.hasStandardBrowserEnv&&(r&&G.isFunction(r)&&(r=r(t)),r||r!==!1&&Z4(t.url))){const u=a&&i&&J4.read(i);u&&o.set(a,u)}return t},nw=typeof XMLHttpRequest<"u",rw=nw&&function(e){return new Promise(function(n,r){const a=cb(e);let i=a.data;const o=zn.from(a.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=a,d,c,f,p,g;function b(){p&&p(),g&&g(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let m=new XMLHttpRequest;m.open(a.method.toUpperCase(),a.url,!0),m.timeout=a.timeout;function x(){if(!m)return;const y=zn.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),O={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:y,config:e,request:m};lb(function(A){n(A),b()},function(A){r(A),b()},O),m=null}"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(x)},m.onabort=function(){m&&(r(new Je("Request aborted",Je.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new Je("Network Error",Je.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let w=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const O=a.transitional||ib;a.timeoutErrorMessage&&(w=a.timeoutErrorMessage),r(new Je(w,O.clarifyTimeoutError?Je.ETIMEDOUT:Je.ECONNABORTED,e,m)),m=null},i===void 0&&o.setContentType(null),"setRequestHeader"in m&&G.forEach(o.toJSON(),function(w,O){m.setRequestHeader(O,w)}),G.isUndefined(a.withCredentials)||(m.withCredentials=!!a.withCredentials),s&&s!=="json"&&(m.responseType=a.responseType),u&&([f,g]=jl(u,!0),m.addEventListener("progress",f)),l&&m.upload&&([c,p]=jl(l),m.upload.addEventListener("progress",c),m.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(d=y=>{m&&(r(!y||y.type?new io(null,e,m):y),m.abort(),m=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const v=Y4(a.url);if(v&&_n.protocols.indexOf(v)===-1){r(new Je("Unsupported protocol "+v+":",Je.ERR_BAD_REQUEST,e));return}m.send(i||null)})},aw=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,a;const i=function(u){if(!a){a=!0,s();const d=u instanceof Error?u:this.reason;r.abort(d instanceof Je?d:new io(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,i(new Je("timeout ".concat(t," of ms exceeded"),Je.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>G.asap(s),l}},iw=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},ow=async function*(e,t){for await(const n of sw(e))yield*iw(n,t)},sw=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},th=(e,t,n,r)=>{const a=ow(e,t);let i=0,o,s=l=>{o||(o=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await a.next();if(u){s(),l.close();return}let c=d.byteLength;if(n){let f=i+=c;n(f)}l.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(l){return s(l),a.return()}},{highWaterMark:2})},Ru=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",db=Ru&&typeof ReadableStream=="function",lw=Ru&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),fb=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},uw=db&&fb(()=>{let e=!1;const t=new Request(_n.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),nh=64*1024,m0=db&&fb(()=>G.isReadableStream(new Response("").body)),Wl={stream:m0&&(e=>e.body)};Ru&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Wl[t]&&(Wl[t]=G.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Je("Response type '".concat(t,"' is not supported"),Je.ERR_NOT_SUPPORT,r)})})})(new Response);const cw=async e=>{if(e==null)return 0;if(G.isBlob(e))return e.size;if(G.isSpecCompliantForm(e))return(await new Request(_n.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(G.isArrayBufferView(e)||G.isArrayBuffer(e))return e.byteLength;if(G.isURLSearchParams(e)&&(e=e+""),G.isString(e))return(await lw(e)).byteLength},dw=async(e,t)=>{const n=G.toFiniteNumber(e.getContentLength());return n==null?cw(t):n},fw=Ru&&(async e=>{let{url:t,method:n,data:r,signal:a,cancelToken:i,timeout:o,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:d,withCredentials:c="same-origin",fetchOptions:f}=cb(e);u=u?(u+"").toLowerCase():"text";let p=aw([a,i&&i.toAbortSignal()],o),g;const b=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let m;try{if(l&&uw&&n!=="get"&&n!=="head"&&(m=await dw(d,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),T;if(G.isFormData(r)&&(T=O.headers.get("content-type"))&&d.setContentType(T),O.body){const[A,F]=Zf(m,jl(Jf(l)));r=th(O.body,nh,A,F)}}G.isString(c)||(c=c?"include":"omit");const x="credentials"in Request.prototype;g=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:x?c:void 0});let v=await fetch(g,f);const y=m0&&(u==="stream"||u==="response");if(m0&&(s||y&&b)){const O={};["status","statusText","headers"].forEach(M=>{O[M]=v[M]});const T=G.toFiniteNumber(v.headers.get("content-length")),[A,F]=s&&Zf(T,jl(Jf(s),!0))||[];v=new Response(th(v.body,nh,A,()=>{F&&F(),b&&b()}),O)}u=u||"text";let w=await Wl[G.findKey(Wl,u)||"text"](v,e);return!y&&b&&b(),await new Promise((O,T)=>{lb(O,T,{data:w,headers:zn.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:g})})}catch(x){throw b&&b(),x&&x.name==="TypeError"&&/Load failed|fetch/i.test(x.message)?Object.assign(new Je("Network Error",Je.ERR_NETWORK,e,g),{cause:x.cause||x}):Je.from(x,x&&x.code,e,g)}}),x0={http:A4,xhr:rw,fetch:fw};G.forEach(x0,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}});const rh=e=>"- ".concat(e),hw=e=>G.isFunction(e)||e===null||e===!1,hb={getAdapter:e=>{e=G.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let i=0;i<t;i++){n=e[i];let o;if(r=n,!hw(n)&&(r=x0[(o=String(n)).toLowerCase()],r===void 0))throw new Je("Unknown adapter '".concat(o,"'"));if(r)break;a[o||"#"+i]=r}if(!r){const i=Object.entries(a).map(([s,l])=>"adapter ".concat(s," ")+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?"since :\n"+i.map(rh).join("\n"):" "+rh(i[0]):"as no adapter specified";throw new Je("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:x0};function Ec(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new io(null,e)}function ah(e){return Ec(e),e.headers=zn.from(e.headers),e.data=bc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),hb.getAdapter(e.adapter||Is.adapter)(e).then(function(r){return Ec(e),r.data=bc.call(e,e.transformResponse,r),r.headers=zn.from(r.headers),r},function(r){return sb(r)||(Ec(e),r&&r.response&&(r.response.data=bc.call(e,e.transformResponse,r.response),r.response.headers=zn.from(r.response.headers))),Promise.reject(r)})}const gb="1.11.0",Du={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Du[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ih={};Du.transitional=function(t,n,r){function a(i,o){return"[Axios v"+gb+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,s)=>{if(t===!1)throw new Je(a(o," has been removed"+(n?" in "+n:"")),Je.ERR_DEPRECATED);return n&&!ih[o]&&(ih[o]=!0,console.warn(a(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,s):!0}};Du.spelling=function(t){return(n,r)=>(console.warn("".concat(r," is likely a misspelling of ").concat(t)),!0)};function gw(e,t,n){if(typeof e!="object")throw new Je("options must be an object",Je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],o=t[i];if(o){const s=e[i],l=s===void 0||o(s,i,e);if(l!==!0)throw new Je("option "+i+" must be "+l,Je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Je("Unknown option "+i,Je.ERR_BAD_OPTION)}}const xl={assertOptions:gw,validators:Du},Br=xl.validators;let ii=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Xf,response:new Xf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+i):r.stack=i}catch(o){}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=di(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:i}=n;r!==void 0&&xl.assertOptions(r,{silentJSONParsing:Br.transitional(Br.boolean),forcedJSONParsing:Br.transitional(Br.boolean),clarifyTimeoutError:Br.transitional(Br.boolean)},!1),a!=null&&(G.isFunction(a)?n.paramsSerializer={serialize:a}:xl.assertOptions(a,{encode:Br.function,serialize:Br.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),xl.assertOptions(n,{baseUrl:Br.spelling("baseURL"),withXsrfToken:Br.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&G.merge(i.common,i[n.method]);i&&G.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=zn.concat(o,i);const s=[];let l=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(l=l&&b.synchronous,s.unshift(b.fulfilled,b.rejected))});const u=[];this.interceptors.response.forEach(function(b){u.push(b.fulfilled,b.rejected)});let d,c=0,f;if(!l){const g=[ah.bind(this),void 0];for(g.unshift(...s),g.push(...u),f=g.length,d=Promise.resolve(n);c<f;)d=d.then(g[c++],g[c++]);return d}f=s.length;let p=n;for(c=0;c<f;){const g=s[c++],b=s[c++];try{p=g(p)}catch(m){b.call(this,m);break}}try{d=ah.call(this,p)}catch(g){return Promise.reject(g)}for(c=0,f=u.length;c<f;)d=d.then(u[c++],u[c++]);return d}getUri(t){t=di(this.defaults,t);const n=ub(t.baseURL,t.url,t.allowAbsoluteUrls);return ab(n,t.params,t.paramsSerializer)}};G.forEach(["delete","get","head","options"],function(t){ii.prototype[t]=function(n,r){return this.request(di(r||{},{method:t,url:n,data:(r||{}).data}))}});G.forEach(["post","put","patch"],function(t){function n(r){return function(i,o,s){return this.request(di(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}ii.prototype[t]=n(),ii.prototype[t+"Form"]=n(!0)});let pw=class pb{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(a=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(s=>{r.subscribe(s),i=s}).then(a);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,s){r.reason||(r.reason=new io(i,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new pb(function(a){t=a}),cancel:t}}};function mw(e){return function(n){return e.apply(null,n)}}function xw(e){return G.isObject(e)&&e.isAxiosError===!0}const b0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(b0).forEach(([e,t])=>{b0[t]=e});function mb(e){const t=new ii(e),n=qx(ii.prototype.request,t);return G.extend(n,ii.prototype,t,{allOwnKeys:!0}),G.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return mb(di(e,a))},n}const Ut=mb(Is);Ut.Axios=ii;Ut.CanceledError=io;Ut.CancelToken=pw;Ut.isCancel=sb;Ut.VERSION=gb;Ut.toFormData=Lu;Ut.AxiosError=Je;Ut.Cancel=Ut.CanceledError;Ut.all=function(t){return Promise.all(t)};Ut.spread=mw;Ut.isAxiosError=xw;Ut.mergeConfig=di;Ut.AxiosHeaders=zn;Ut.formToJSON=e=>ob(G.isHTMLForm(e)?new FormData(e):e);Ut.getAdapter=hb.getAdapter;Ut.HttpStatusCode=b0;Ut.default=Ut;const{Axios:CM,AxiosError:wM,CanceledError:AM,isCancel:kM,CancelToken:OM,VERSION:IM,all:NM,Cancel:LM,isAxiosError:RM,spread:DM,toFormData:PM,AxiosHeaders:MM,HttpStatusCode:BM,formToJSON:$M,getAdapter:FM,mergeConfig:HM}=Ut,Mt=Ut.create({baseURL:Or+"/api",headers:{"Content-Type":"application/json;charset=utf-8"},withCredentials:!1});Mt.interceptors.request.use(e=>e,e=>(console.log("Error: "+e.message),Promise.reject(e)));Mt.interceptors.response.use(e=>{const t=e.data;return Bi(),t},e=>{var t;return console.error(e),{code:Ut.isCancel(e)?-1:(t=e.response)==null?void 0:t.status,message:e.message}});Mt.defaults.headers.common.Authorization=localStorage.getItem("token")||"";const UM=e=>{Mt.defaults.headers.common.Authorization=e!=null?e:"",localStorage.setItem("token",e!=null?e:"")},Fo=e=>!e||e.length===0?"":e.charAt(0).toUpperCase()+e.slice(1),zM=(e,t)=>e.startsWith(t)?e.slice(t.length):e;function jM(e){if(!e)return"-";const t=1024;return e<t?e+"B":e<Math.pow(t,2)?(e/t).toFixed(2)+"K":e<Math.pow(t,3)?(e/Math.pow(t,2)).toFixed(2)+"M":e<Math.pow(t,4)?(e/Math.pow(t,3)).toFixed(2)+"G":(e/Math.pow(t,4)).toFixed(2)+"T"}const Io=e=>e<10?"0"+e:e;function WM(e){const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,a=t.getDate(),i=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return n+"-"+Io(r)+"-"+Io(a)+" "+Io(i)+":"+Io(o)+":"+Io(s)}const VM=(e,t)=>{let n=e;if(n=n.replace("$name",t.name),t.ts){const r=new URL(t.d_url),a=Date.now();r.searchParams.set("openlist_ts",a.toString()),t.d_url=r.toString()}return n=n.replace(/\$[eb_]*url/,r=>{const a=r.match(/[eb]/g);let i=t.raw_url;if(a)for(const o of a.reverse())o==="e"?i=encodeURIComponent(i):o==="b"&&(i=window.btoa(i));return i}),n=n.replace(/\$[eb_]*durl/,r=>{const a=r.match(/[eb]/g);let i=t.d_url;if(a)for(const o of a.reverse())o==="e"?i=encodeURIComponent(i):o==="b"&&(i=window.btoa(i));return i}),n},bw=e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)},Ew={"+":"-","/":"_","=":"."},yw=e=>e.replace(/[+/=]/g,t=>Ew[t]),qM=e=>yw(window.btoa(e)),vw=(e,t)=>new TextDecoder(t).decode(e),Pu=(e,t,n,r=!0,a=!0,i)=>{if(e.code===200)i&&zl.success(e.message),t==null||t(e.data);else{if(a&&zl.error(e.message),r&&e.code===401){location.pathname==="/@manage"?Mi.emit("to","/"):Mi.emit("to","/@login?redirect=".concat(encodeURIComponent(location.pathname)));return}n==null||n(e.message,e.code)}},oh=(e,t,n,r=!0)=>Pu(e,t,n,r,!1),sh=(e,t,n)=>Pu(e,t,n,!1,!1),GM=(e,t,n,r=!0,a=!0)=>Pu(e,t,n,r,a,!0),xb=()=>"rgba(132,133,141,0.18)",_w=()=>xu("$whiteAlpha10","$blackAlpha11")(),Tw=(e="/",t="",n)=>Mt.post("/fs/get",{path:e,password:t},{cancelToken:n}),Sw=(e="/",t="",n=1,r=0,a=!1,i)=>Mt.post("/fs/list",{path:e,password:t,page:n,per_page:r,refresh:a},{cancelToken:i}),KM=(e="/",t="",n=!1)=>Mt.post("/fs/dirs",{path:e,password:t,force_root:n}),YM=e=>Mt.post("/fs/mkdir",{path:e}),XM=(e,t,n)=>Mt.post("/fs/rename",{path:e,name:t,overwrite:n}),QM=(e,t)=>Mt.post("/fs/batch_rename",{src_dir:e,rename_objects:t}),ZM=(e,t,n,r)=>Mt.post("/fs/move",{src_dir:e,dst_dir:t,names:n,overwrite:r}),JM=(e,t,n)=>Mt.post("/fs/recursive_move",{src_dir:e,dst_dir:t,conflict_policy:n}),eB=(e,t,n,r)=>Mt.post("/fs/copy",{src_dir:e,dst_dir:t,names:n,overwrite:r}),tB=(e,t)=>Mt.post("/fs/remove",{dir:e,names:t}),nB=e=>Mt.post("/fs/remove_empty_directory",{src_dir:e}),rB=(e,t,n)=>Mt.put("/fs/put",void 0,{headers:{"File-Path":encodeURIComponent(e),Password:t,Overwrite:n.toString()}}),aB=(e="/",t="",n="",r=!1,a)=>Mt.post("/fs/archive/meta",{path:e,password:t,archive_pass:n,refresh:r},{cancelToken:a}),iB=(e="/",t="",n="",r="/",a=1,i=0,o=!1,s)=>Mt.post("/fs/archive/list",{path:e,password:t,archive_pass:n,inner_path:r,page:a,per_page:i,refresh:o},{cancelToken:s}),oB=(e,t,n,r="",a="/",i=!0,o=!1)=>Mt.post("/fs/archive/decompress",{src_dir:e,dst_dir:t,name:n,archive_pass:r,inner_path:a,cache_full:i,put_into_new_dir:o}),sB=(e,t,n,r)=>Mt.post("/fs/add_offline_download",{path:e,urls:t,tool:n,delete_policy:r}),bb=async(e,t=!0)=>{try{const n=await Ut.get(e,{responseType:"blob",params:t?{openlist_ts:new Date().getTime()}:void 0}),r=await n.data.arrayBuffer(),a=n.headers["content-type"];return{content:r,contentType:a}}catch(n){return t?await bb(e,!1):{content:"Failed to fetch ".concat(e,": ").concat(n),contentType:""}}},lB=async(e,t,n="",r=0,a=1,i=100)=>Mt.post("/fs/search",{parent:e,keywords:t,scope:r,page:a,per_page:i,password:n}),uB=async(e=["/"],t=-1)=>Mt.post("/admin/index/build",{paths:e,max_depth:t}),cB=async(e=[],t=-1)=>Mt.post("/admin/index/update",{paths:e,max_depth:t});var bl={exports:{}},El={exports:{}},Cw=El.exports,lh;function ww(){return lh||(lh=1,function(e){(function(t){var n={bytesToHex:function(i){return r(i)},hexToBytes:function(i){if(i.length%2===1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return i.indexOf("0x")===0&&(i=i.slice(2)),i.match(/../g).map(function(o){return parseInt(o,16)})}};function r(i){return i.map(function(o){return a(o.toString(16),2)}).join("")}function a(i,o){return i.length>o?i:Array(o-i.length+1).join("0")+i}e.exports?e.exports=n:t.convertHex=n})(Cw)}(El)),El.exports}var yl={exports:{}},Aw=yl.exports,uh;function kw(){return uh||(uh=1,function(e){(function(t){var n={bytesToString:function(r){return r.map(function(a){return String.fromCharCode(a)}).join("")},stringToBytes:function(r){return r.split("").map(function(a){return a.charCodeAt(0)})}};n.UTF8={bytesToString:function(r){return decodeURIComponent(escape(n.bytesToString(r)))},stringToBytes:function(r){return n.stringToBytes(unescape(encodeURIComponent(r)))}},e.exports?e.exports=n:t.convertString=n})(Aw)}(yl)),yl.exports}var Ow=bl.exports,ch;function Iw(){return ch||(ch=1,function(e){(function(t){var n={};e.exports?(n.bytesToHex=ww().bytesToHex,n.convertString=kw(),e.exports=l):(n.bytesToHex=t.convertHex.bytesToHex,n.convertString=t.convertString,t.sha256=l);var r=[];(function(){function u(p){for(var g=Math.sqrt(p),b=2;b<=g;b++)if(!(p%b))return!1;return!0}function d(p){return(p-(p|0))*4294967296|0}for(var c=2,f=0;f<64;)u(c)&&(r[f]=d(Math.pow(c,1/3)),f++),c++})();var a=function(u){for(var d=[],c=0,f=0;c<u.length;c++,f+=8)d[f>>>5]|=u[c]<<24-f%32;return d},i=function(u){for(var d=[],c=0;c<u.length*32;c+=8)d.push(u[c>>>5]>>>24-c%32&255);return d},o=[],s=function(u,d,c){for(var f=u[0],p=u[1],g=u[2],b=u[3],m=u[4],x=u[5],v=u[6],y=u[7],w=0;w<64;w++){if(w<16)o[w]=d[c+w]|0;else{var O=o[w-15],T=(O<<25|O>>>7)^(O<<14|O>>>18)^O>>>3,A=o[w-2],F=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;o[w]=T+o[w-7]+F+o[w-16]}var M=m&x^~m&v,D=f&p^f&g^p&g,B=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),V=(m<<26|m>>>6)^(m<<21|m>>>11)^(m<<7|m>>>25),J=y+V+M+r[w]+o[w],ee=B+D;y=v,v=x,x=m,m=b+J|0,b=g,g=p,p=f,f=J+ee|0}u[0]=u[0]+f|0,u[1]=u[1]+p|0,u[2]=u[2]+g|0,u[3]=u[3]+b|0,u[4]=u[4]+m|0,u[5]=u[5]+x|0,u[6]=u[6]+v|0,u[7]=u[7]+y|0};function l(u,d){u.constructor===String&&(u=n.convertString.UTF8.stringToBytes(u));var c=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],f=a(u),p=u.length*8;f[p>>5]|=128<<24-p%32,f[(p+64>>9<<4)+15]=p;for(var g=0;g<f.length;g+=16)s(c,f,g);var b=i(c);return d&&d.asBytes?b:d&&d.asString?n.convertString.bytesToString(b):n.bytesToHex(b)}l.x2=function(u,d){return l(l(u,{asBytes:!0}),d)}})(Ow)}(bl)),bl.exports}var Nw=Iw();const dB=vs(Nw),Eb=typeof window<"u"?window.navigator.userAgent:"",yb=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Eb);var lp,up,cp;const fB=(cp=(up=(lp=window==null?void 0:window.navigator)==null?void 0:lp.platform)!=null?up:"")==null?void 0:cp.includes("Mac"),hB=()=>{var n,r;const e=Eb,t=(r=(n=window==null?void 0:window.navigator)==null?void 0:n.platform)!=null?r:"";return/android/i.test(e)?"Android":/iPad|iPhone|iPod/.test(e)||t.includes("Mac")&&navigator.maxTouchPoints>1?"iOS":/windows/i.test(e)?"Windows":/macintosh|mac os x/i.test(e)?"MacOS":/linux/i.test(e)?"Linux":"Unknown"},gd={};document.addEventListener("keydown",e=>{gd[e.key]=!0});document.addEventListener("keyup",e=>{delete gd[e.key]});const[pd,Lw,{remove:gB,clear:pB,toJSON:mB}]=NC(),Rw=[{key:"aria2_rpc_url",default:"http://localhost:6800/jsonrpc"},{key:"aria2_rpc_secret",default:""},{key:"global_default_layout",default:"list",type:"select",options:["list","grid","image"]},{key:"show_folder_in_image_view",default:"top",type:"select",options:["top","bottom","none"]},{key:"show_sidebar",default:"none",type:"select",options:["none","visible"]},{key:"show_count_msg",default:"none",type:"select",options:["none","visible"]},{key:"position_of_header_navbar",default:"static",type:"select",options:["static","sticky","only_navbar_sticky"]},{key:"grid_item_size",default:"90",type:"number"},{key:"list_item_filename_overflow",default:"ellipsis",type:"select",options:["ellipsis","scrollable","multi_line"]},{key:"open_item_on_checkbox",default:"direct",type:"select",options:["direct","dblclick","disable_while_checked"],hidden:!1}];for(const e of Rw)pd[e.key]||Lw(e.key,e.default);const vb=(e,t,n)=>{const[r,a]=Ne(n);return[r,async(...i)=>{a(!0);const o=await e(...i);return(!t||o.code!==401)&&a(!1),o}]},E0=(e,t)=>vb(e,!0,t),Dw=(e,t,n)=>{const[r,a]=Ne(n);return[r,async(i,...o)=>{a(()=>i);const s=await e(i,...o);return s.code!==401&&a(void 0),s}]},xB=(e,t)=>Dw(e,!0,t),Ns=()=>{const e=uy(),t=Dp(),n=dy(),r=ze(()=>FC(decodeURIComponent(t.pathname)));return{to:(a,i,o)=>{!i&&a.startsWith("/")&&(a=Vf(a)),Bi("to:",a),Gl(decodeURIComponent(a)),e(a,o)},replace:a=>{const i=f0(Na(cd(r()),a),!0);Gl(decodeURIComponent(i)),e(i)},pushHref:a=>f0(Na(r(),a)),back:()=>{e(-1)},forward:()=>{e(1)},pathname:r,search:t.search,searchParams:t.query,setSearchParams:(a,i)=>{const o=Ct(()=>iy(t.search,a));e(Vf(r()+o),{scroll:!1,...i,resolve:!0})},params:n}},Pw="modulepreload",Mw=function(e){return window.__dynamic_base__+"/"+e},dh={},La=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let o=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(c=>({status:"fulfilled",value:c}),c=>({status:"rejected",reason:c}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));a=o(n.map(u=>{if(u=Mw(u),u in dh)return;dh[u]=!0;const d=u.endsWith(".css"),c=d?'[rel="stylesheet"]':"";if(document.querySelector('link[href="'.concat(u,'"]').concat(c)))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":Pw,d||(f.as="script"),f.crossOrigin="",f.href=u,l&&f.setAttribute("nonce",l),document.head.appendChild(f),d)return new Promise((p,g)=>{f.addEventListener("load",p),f.addEventListener("error",()=>g(new Error("Unable to preload CSS for ".concat(u))))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},_b="English",bB={lang:_b},Tb="简体中文",EB={lang:Tb},Bw=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((a,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},Sb=e=>e!=null&&(e=Object.getPrototypeOf(e),e===Array.prototype||e===Object.prototype);function Cb(e,t,n){for(const[r,a]of Object.entries(t)){const i="".concat(n,".").concat(r);e[i]=a,Sb(a)&&Cb(e,a,i)}}function $w(e){const t={...e};for(const[n,r]of Object.entries(e))Sb(r)&&Cb(t,r,n);return t}const Fw=(e,t)=>{if(t)for(const[n,r]of Object.entries(t))e=e.replace(new RegExp("{{\\s*".concat(n,"\\s*}}"),"g"),r);return e},Hw=e=>e;function Uw(e,t=Hw){return(n,...r)=>{var i;n[0]==="."&&(n=n.slice(1));const a=(i=e())==null?void 0:i[n];switch(typeof a){case"function":return a(...r);case"string":return t(a,r[0]);default:return a}}}const fh=Object.assign({"/src/lang/en/index.json":_b,"/src/lang/zh-CN/index.json":Tb}),us=Object.keys(fh).map(e=>{const t=e.split("/")[3],n=fh[e];return{code:t,lang:n}}),hh=navigator.language.toLowerCase();var dp,fp;const wb=((dp=us.find(e=>e.code.toLowerCase()===hh))==null?void 0:dp.code)||((fp=us.find(e=>e.code.toLowerCase().split("-")[0]===hh.split("-")[0]))==null?void 0:fp.code)||"en";var hp;let y0=(hp=localStorage.getItem("lang"))!=null?hp:wb;us.some(e=>e.code===y0)||(y0=wb);const zw=async e=>{try{const t=(await Bw(Object.assign({"../lang/en/entry.ts":()=>La(()=>import("./entry-DtuXLztK.js"),[]),"../lang/zh-CN/entry.ts":()=>La(()=>import("./entry-BtEOFyfY.js"),[])}),"../lang/".concat(e,"/entry.ts"),4)).dict;return $w(t)}catch(t){throw console.error("Error loading dictionary for locale: ".concat(e),t),new Error("Failed to load dictionary for ".concat(e))}},[jw,Ww]=Ne(y0),[Vw]=V0(jw,zw),qw=Uw(Vw),Gw=(e,t)=>{const n=qw(e);if(typeof n=="string")return t&&Fw(n,t)||n},Ls=()=>(e,t,n)=>{const r=Gw(e,t);return r||n||Kw(e)},Kw=e=>{let t=e.lastIndexOf(".");t===e.length-1&&(t=e.lastIndexOf(".",t-1));const n=e.slice(t+1);return Fo(n).split("_").join(" ")};let gh=!0,tl,nl;const yc={};let Qr=1;const Yw=()=>Qr,Vl=e=>{Qr=e},Xw=()=>{Vl(1)},yB=()=>{const{pathname:e,to:t,searchParams:n}=Ns(),[,r]=E0(p=>Tw(p,xh(),new Ut.CancelToken(g=>{tl=g}))),a=bA();a.type==="pagination"&&Vl(parseInt(n.page)||1);const[,i]=E0(p=>{const g={index:p==null?void 0:p.index,size:p==null?void 0:p.size};return Sw(p==null?void 0:p.path,xh(),g.index,g.size,p==null?void 0:p.force,new Ut.CancelToken(b=>{nl=b}))}),o=(p,g=!0,b=!1)=>{b&&(p=Na(e(),p)),g?yc[p]=!0:delete yc[p]};let s=!1;const l=(p,g,b,m)=>(tl==null||tl(),nl==null||nl(),s=b!=null?b:!1,Zt.setErr(""),Ob(p,g)?(Bi("handle [".concat(si(p,g),"] from history")),TA(p,g)):yc[p]?(Bi("handle [".concat(si(p,g),"] as folder")),d(p,g,void 0,void 0,m)):(Bi("handle [".concat(si(p,g),"] as obj")),u(p,g))),u=async(p,g)=>{Zt.setState(Hn.FetchingObj);const b=await r(p);oh(b,m=>{var x;Zt.setObj(m),Zt.setProvider(m.provider),m.is_dir?(o(p),d(p,g)):(Zt.setReadme(m.readme),Zt.setHeader(m.header),Zt.setRelated((x=m.related)!=null?x:[]),Zt.setRawUrl(m.raw_url),Zt.setState(Hn.File))},c)},d=async(p,g,b,m=!1,x)=>{b||(b=a.size),b!==void 0&&a.type==="all"&&(b=void 0),Zt.setState(m?Hn.FetchingMore:Hn.FetchingObjs);const v=await i({path:p,index:g,size:b,force:x});oh(v,y=>{var w;Vl(g!=null?g:1),m?sA(y.content):(Zt.setObjs((w=y.content)!=null?w:[]),Zt.setTotal(y.total)),Zt.setReadme(y.readme),Zt.setHeader(y.header),Zt.setWrite(y.write),Zt.setProvider(y.provider),Zt.setState(Hn.Folder)},c)},c=(p,g)=>{if(g===403)Zt.setState(Hn.NeedPassword),s&&zl.error(p);else{const b=Mu().base_path;if(gh&&b!="/"&&e().includes(b)&&p.endsWith("object not found")){gh=!1,t(e().replace(b,""));return}(g===void 0||g>=0)&&Zt.setErr(p)}},f=()=>d(e(),Qr+1,void 0,!0);return{handlePathChange:l,setPathAs:o,refresh:async(p,g)=>{const b=e(),m=window.scrollY;if(Gl(b,Qr),a.type==="load_more"||a.type==="auto_load_more"){const x=Qr;for(Xw(),await l(b,Qr,p,g);Qr<x;)await f()}else await l(b,Qr,p,g);window.scroll({top:m,behavior:"smooth"})},loadMore:f,allLoaded:()=>Qr>=Math.ceil(jn.total/a.size)}},Qw=(e,t,n="direct",r)=>{n!=="preview"&&(e=Na(Mu().base_path,e)),e=BC(e);let a="".concat(e,"/").concat(t.name);a=f0(a,r);let i=Or,o=n==="direct"?"/d":"/p";n==="preview"&&(o="",Or.startsWith(location.origin)||(i=location.origin));let s="".concat(i).concat(o).concat(a);return n!=="preview"&&t.sign&&(s+="?sign=".concat(t.sign)),s},md=()=>{const{pathname:e}=Ns(),t=(r,a,i)=>{const o=jn.state!==Hn.File?e():cd(e());return Qw(o,r,a,i)},n=(r,a)=>t(r,"direct",a);return{getLinkByObj:t,rawLink:n,proxyLink:(r,a)=>t(r,"proxy",a),previewPage:(r,a)=>t(r,"preview",a),currentObjLink:r=>n(jn.obj,r)}},Zw=()=>{const{previewPage:e,rawLink:t}=md(),n=r=>cs().filter(a=>!a.is_dir).map(a=>t(a,r));return{rawLinks:n,previewPagesText:()=>cs().map(r=>e(r,!0)).join("\n"),rawLinksText:r=>n(r).join("\n")}},vB=()=>{const{copy:e}=rA(),{previewPagesText:t,rawLinksText:n}=Zw(),{currentObjLink:r}=md();return{copySelectedPreviewPage:()=>{e(t())},copySelectedRawLink:a=>{e(n(a))},copyCurrentRawLink:a=>{e(r(a))}}};var vc,ph;function Jw(){return ph||(ph=1,vc=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(a){e.addRange(a)}),t&&t.focus()}}),vc}var _c,mh;function eA(){if(mh)return _c;mh=1;var e=Jw(),t={"text/plain":"Text","text/html":"Url",default:"Text"},n="Copy to clipboard: #{key}, Enter";function r(i){var o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,o)}function a(i,o){var s,l,u,d,c,f,p=!1;o||(o={}),s=o.debug||!1;try{u=e(),d=document.createRange(),c=document.getSelection(),f=document.createElement("span"),f.textContent=i,f.ariaHidden="true",f.style.all="unset",f.style.position="fixed",f.style.top=0,f.style.clip="rect(0, 0, 0, 0)",f.style.whiteSpace="pre",f.style.webkitUserSelect="text",f.style.MozUserSelect="text",f.style.msUserSelect="text",f.style.userSelect="text",f.addEventListener("copy",function(b){if(b.stopPropagation(),o.format)if(b.preventDefault(),typeof b.clipboardData>"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var m=t[o.format]||t.default;window.clipboardData.setData(m,i)}else b.clipboardData.clearData(),b.clipboardData.setData(o.format,i);o.onCopy&&(b.preventDefault(),o.onCopy(b.clipboardData))}),document.body.appendChild(f),d.selectNodeContents(f),c.addRange(d);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");p=!0}catch(b){s&&console.error("unable to copy using execCommand: ",b),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(o.format||"text",i),o.onCopy&&o.onCopy(window.clipboardData),p=!0}catch(m){s&&console.error("unable to copy using clipboardData: ",m),s&&console.error("falling back to prompt"),l=r("message"in o?o.message:n),window.prompt(l,i)}}finally{c&&(typeof c.removeRange=="function"?c.removeRange(d):c.removeAllRanges()),f&&document.body.removeChild(f),u()}return p}return _c=a,_c}var tA=eA();const nA=vs(tA),rA=()=>{const e=Ls(),{pathname:t}=Ns();return{copy:n=>{nA(n),zl.success(e("global.copied"))},isHide:n=>{const r=bh();for(const a of r)if(a.test(Na(t(),n.name)))return!0;return!1},isHidePath:n=>{const r=bh();for(const a of r)if(a.test(n))return!0;return!1}}};function _B(){const{proxyLink:e}=md();return V0("",async()=>bb(e(jn.obj,!0)))}function aA(e){const t=typeof e=="string";return{isString:t,text:(r="utf-8")=>e?t?e:vw(e,r):""}}var Hn=(e=>(e[e.Initial=0]="Initial",e[e.FetchingObj=1]="FetchingObj",e[e.FetchingObjs=2]="FetchingObjs",e[e.FetchingMore=3]="FetchingMore",e[e.Folder=4]="Folder",e[e.File=5]="File",e[e.NeedPassword=6]="NeedPassword",e))(Hn||{});const iA={obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",state:0,err:""},[jn,dn]=Cn(iA),oA=e=>{an.start=-1,an.end=-1,dn("objs",e),dn("obj","is_dir",!0)},Zt={set:e=>{dn(e)},setObj:e=>{dn("obj",e)},setRawUrl:e=>{dn("raw_url",e)},setProvider:e=>{dn("provider",e)},setObjs:oA,setTotal:e=>{dn("total",e)},setReadme:e=>dn("readme",e),setHeader:e=>dn("header",e),setRelated:e=>dn("related",e),setWrite:e=>dn("write",e),setState:e=>dn("state",e),setErr:e=>dn("err",e)},TB=(e,t)=>{Bi("sort:",e,t),dn("objs",zp(n=>n.sort((r,a)=>(t?-1:1)*OC(r[e],a[e]))))},sA=e=>{dn("objs",zp(t=>t.push(...e)))},an={start:-1,end:-1},SB=(e,t,n)=>{var r,a;if(n&&lA(!1),gd.Shift){if(an.start<0){for(let u=0;u<Math.max(e+1,jn.objs.length-e);++u)if((r=jn.objs[e-u])!=null&&r.selected){an.start=e-u,an.end=e-u;break}else if((a=jn.objs[e+u])!=null&&a.selected){an.start=e+u,an.end=e+u;break}}const i=Math.abs(an.end-an.start),o=Math.sign(an.end-an.start);for(let u=1;u<=i;++u)dn("objs",an.start+o*u,{selected:!1});const s=Math.abs(e-an.start),l=Math.sign(e-an.start);for(let u=0;u<=s;++u)dn("objs",an.start+l*u,{selected:!0});an.end=e}else dn("objs",e,{selected:t}),t?(an.start=e,an.end=e):(an.end=-1,an.start=-1)},lA=e=>{dn("objs",{},t=>({selected:e}))},cs=()=>jn.objs.filter(e=>e.selected),CB=()=>jn.objs.length===ds(),wB=()=>ds()===1,AB=()=>ds()>0,kB=()=>ds()>0&&ds()<jn.objs.length,ds=ze(()=>cs().length),[xd,uA]=Ne(location.pathname),ql=(()=>{try{return JSON.parse(localStorage.getItem("layoutRecord")||"{}")}catch(e){return{}}})();Mi.on("pathname",e=>uA(e));const[cA,Ab]=Ne(ql[xd()]||pd.global_default_layout),OB=()=>{const e=ql[xd()];return Ab(e||pd.global_default_layout),cA()},IB=e=>{ql[xd()]=e,localStorage.setItem("layoutRecord",JSON.stringify(ql)),Ab(e)},[dA,fA]=Vx("checkbox-open","false"),hA=()=>dA()==="true",NB=()=>{fA(hA()?"false":"true")},[xh,gA]=Ne(Fn.getItem("browser-password")||""),LB=e=>{gA(e),Fn.setItem("browser-password",e)},bd=(e,t,n)=>{const r=Ls();if(n&&(e=e.filter(l=>l.is_dir||l.type===n)),e.length===0)return"";const a=e.filter(l=>l.is_dir).length,i=e.length-a,o={folders:a.toString(),files:i.toString()},s=a&&i?"".concat(t):a?"".concat(t,"_folders"):i?"".concat(t,"_files"):"";return s?r("home.obj.count.".concat(s),o):""},pA=e=>bd(jn.objs,"count",e),RB=e=>{const t=cs();return t.length>0?bd(t,"selected",e):""},DB=e=>{const t=cs();return t.length>0?bd(t,"selected",e):pA(e)},v0={},mA=e=>{Object.keys(e).forEach(n=>{v0[n]=e[n]});const t=v0.version||"Unknown";console.log("%c OpenList %c ".concat(t," %c https://github.com/OpenListTeam/OpenList"),"color: #fff; background: #5f5f5f","color: #fff; background: #70c6be","")},oo=e=>{var t;return(t=v0[e])!=null?t:""},PB=e=>{const t=oo(e);return t==="true"||t==="1"},xA=(e,t)=>{const n=oo(e);return n?Number(n):t},oi=()=>window.OPENLIST_CONFIG.main_color?window.OPENLIST_CONFIG.main_color:oo("main_color")||"#1890ff";let rl={};const Tc=e=>{if(!rl[e])try{rl[e]=JSON.parse(oo(e))}catch(t){console.error("failed parse ".concat(e,", use default"),t),rl[e]={}}return rl[e]},kb=(e,t)=>{const n=HC(e).toLowerCase(),r=[];for(const a in Tc(t))a.startsWith("/")?bw(a).test(n)&&r.push(...qf(Tc(t)[a])):a.split(",").includes(n)&&r.push(...qf(Tc(t)[a]));return r},MB=e=>kb(e,"external_previews"),BB=e=>kb(e,"iframe_previews"),bA=()=>({type:oo("pagination_type")||"all",size:xA("default_page_size",30)});let Sc;const bh=()=>(Sc||(Sc=oo("hide_files").split(/\n/g).filter(e=>!!e.trim()).map(e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)})),Sc);var EA=(e=>(e[e.GENERAL=0]="GENERAL",e[e.GUEST=1]="GUEST",e[e.ADMIN=2]="ADMIN",e))(EA||{});const yA=["see_hides","access_without_password","offline_download","write","rename","move","copy","delete","webdav_read","webdav_manage","ftp_read","ftp_manage","read_archives","decompress"],vA={is_guest:e=>e.role===1,is_admin:e=>e.role===2,is_general:e=>e.role===0,can:(e,t)=>(e.permission>>t&1)==1},[Mu,_A]=Ne({}),$B=e=>{const t=Mu();return vA.can(t,yA.indexOf(e))},fs=new Map,Eh=()=>new Promise(e=>setTimeout(e)),si=(e,t)=>{const n=e.split("?")[0];return t&&t>1?"".concat(n,"?page=").concat(t):n},FB=(e,t)=>{const n=JSON.parse(JSON.stringify(jn));if(![Hn.FetchingMore,Hn.Folder,Hn.File].includes(jn.state))return;jn.state===Hn.FetchingMore&&(n.state=Hn.Folder);const r=si(e,t),a={obj:n,page:t!=null?t:Yw(),scroll:window.scrollY};fs.set(r,a),console.log("record history: [".concat(r,"]"))},TA=async(e,t)=>{const n=si(e,t);if(!fs.has(n))return;const r=fs.get(n);Vl(r.page),Zt.setState(Hn.Initial),await Eh(),Zt.set(JSON.parse(JSON.stringify(r.obj))),await Eh(),window.scroll({top:r.scroll})},Ob=(e,t)=>{const n=si(e,t);return fs.has(n)},Gl=(e,t)=>{const n=si(e,t);Ob(e,t)&&(fs.delete(n),console.log("clear history: [".concat(n,"]")))};document.addEventListener("click",e=>{let n=e.target.closest("a"),r=n==null?void 0:n.getAttribute("href");r&&Gl(decodeURIComponent(r))},!0);const Ed=()=>_(no,{h:"100vh",get children(){return _(ws,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",get color(){return oi()},size:"xl"})}}),SA=e=>{const t=K({py:"$8",size:"xl",thickness:4},e);return _(no,{ref(n){var r=e.ref;typeof r=="function"?r(n):e.ref=n},h:"$full",w:"$full",get py(){return t.py},get children(){return _(ws,{get thickness(){return"".concat(t.thickness,"px")},speed:"0.65s",emptyColor:"$neutral4",get color(){return oi()},get size(){return t.size}})}})},HB=e=>_(Re,{get when(){return!e.loading},get fallback(){return _(SA,{})},get children(){return e.children}}),UB=e=>_(no,{w:"$full",h:"$full",get children(){return _(ws,K({get color(){return oi()}},e))}});var CA=Bt("<svg stroke-width=0>");function He(e,t){const n=K(e.a,t),[r,a]=de(n,["src"]),[i,o]=Ne(""),s=ze(()=>t.title?"".concat(e.c,"<title>").concat(t.title,"</title>"):e.c);return Kt(()=>o(s())),wt(()=>{o("")}),(()=>{var l=CA();return G0(l,K({get stroke(){var u;return(u=e.a)==null?void 0:u.stroke},get color(){return t.color||"currentColor"},get fill(){return t.color||"currentColor"},get style(){return{...t.style,overflow:"visible"}}},a,{get height(){return t.size||"1em"},get width(){return t.size||"1em"},xmlns:"http://www.w3.org/2000/svg",get innerHTML(){return i()}}),!0,!0),ua(l,()=>kp),l})()}function wA(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 19 12 5"/><path d="M5 12 12 5 19 12"/>'},e)}function zB(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/>'},e)}function jB(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><path d="M10 17 15 12 10 7"/><path d="M15 12 3 12"/>'},e)}function AA(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/>'},e)}function kA(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 7A5 5 0 1 0 12 17 5 5 0 1 0 12 7z"/><path d="M12 1 12 3"/><path d="M12 21 12 23"/><path d="M4.22 4.22 5.64 5.64"/><path d="M18.36 18.36 19.78 19.78"/><path d="M1 12 3 12"/><path d="M21 12 23 12"/><path d="M4.22 19.78 5.64 18.36"/><path d="M18.36 5.64 19.78 4.22"/>'},e)}const OA=()=>{const{toggleColorMode:e}=T1(),t=xu({size:"$8",component:AA,p:"$0_5"},{size:"$8",component:kA,p:"$0_5"});return _(gi,{cursor:"pointer",get boxSize(){return t().size},get as(){return t().component},onClick:e,get p(){return t().p}})};function WB(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M408 480H184a72 72 0 0 1-72-72V184a72 72 0 0 1 72-72h224a72 72 0 0 1 72 72v224a72 72 0 0 1-72 72Z"/><path d="M160 80h235.88A72.12 72.12 0 0 0 328 32H104a72 72 0 0 0-72 72v224a72.12 72.12 0 0 0 48 67.88V160a80 80 0 0 1 80-80Z"/>'},e)}function VB(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M336 376V272H191a16 16 0 0 1 0-32h145V136a56.06 56.06 0 0 0-56-56H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h192a56.06 56.06 0 0 0 56-56ZM425.37 272l-52.68 52.69a16 16 0 0 0 22.62 22.62l80-80a16 16 0 0 0 0-22.62l-80-80a16 16 0 0 0-22.62 22.62L425.37 240H336v32Z"/>'},e)}function qB(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M63.28 202a15.29 15.29 0 0 1-7.7-2 14.84 14.84 0 0 1-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 0 1-4 20.79 15.52 15.52 0 0 1-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0 1 63.28 202Z"/><path d="M320.49 496a15.31 15.31 0 0 1-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0 1 96.54 422a15.39 15.39 0 0 1-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 0 0 5.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0 1 11 18.11 15.36 15.36 0 0 1-14.8 11.21Z"/><path d="M201.31 489.14a15.5 15.5 0 0 1-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 0 1-13.65 16.4 15.26 15.26 0 0 1-16.79-13.29A154 154 0 0 0 340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 0 1-.76 21.11 15.44 15.44 0 0 1-10.29 4Z"/><path d="M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0 1 30.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0 1 16.91 13.18 14.92 14.92 0 0 1-13.44 16.5 187 187 0 0 1-21.56 1.26ZM398.18 48.79C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 0 0-1.84 1.4.36.36 0 0 1-.22.1 14.87 14.87 0 0 0-5.09 11.15 15.06 15.06 0 0 0 15.31 14.85 15.56 15.56 0 0 0 8.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 0 0 9.21 3 15.06 15.06 0 0 0 15.29-14.89 14.9 14.9 0 0 0-9.32-13.82Z"/>'},e)}function GB(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M496 152a56 56 0 0 0-56-56H220.11a23.89 23.89 0 0 1-13.31-4L179 73.41A55.77 55.77 0 0 0 147.89 64H72a56 56 0 0 0-56 56v48a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8ZM16 392a56 56 0 0 0 56 56h368a56 56 0 0 0 56-56V216a8 8 0 0 0-8-8H24a8 8 0 0 0-8 8Z"/>'},e)}function KB(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79Z"/><path d="m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97Z"/>'},e)}function IA(e){return He({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 112 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 64 192 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M272 448 368 224 464 448"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M301.5 384 434.5 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M281.3 112S257 206 199 277 80 384 80 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 336s-35-27-72-75-56-85-56-85"/>'},e)}function YB(e){return He({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M421.83 293.82A144 144 0 0 0 218.18 90.17"/><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M353.94 225.94a48 48 0 0 0-67.88-67.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M192 464 192 416"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M90.18 421.82 124.12 387.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M48 320 96 320"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M286.06 158.06 172.92 271.19a32 32 0 0 1-45.25 0L105 248.57a32 32 0 0 1 0-45.26L218.18 90.17M421.83 293.82 308.69 407a32 32 0 0 1-45.26 0l-22.62-22.63a32 32 0 0 1 0-45.26l113.13-113.17"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M139.6 169.98 207.48 237.87"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M275.36 305.75 343.25 373.63"/>'},e)}function XB(e){return He({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 112 256 32 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M255.98 32 256 480"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 400 256 480 336 400"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M400 176 480 256 400 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M112 176 32 256 112 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M32 256 480 256"/>'},e)}const[NA,QB]=Ne(!1),LA=e=>{const t=async n=>{Ww(n),localStorage.setItem("lang",n)};return localStorage.getItem("lang")||t(us.find(n=>n.code===navigator.language)?navigator.language:"en"),[_(X5,{get children(){return[_(Gm,K({cursor:"pointer"},e)),_(jm,{get children(){return _(Zi,{each:us,children:(n,r)=>_(Vm,{onSelect:()=>{t(n.code)},get children(){return n.lang}})})}})]}}),_(Re,{get when(){return NA()},get children(){return _(Ra,{get children(){return _(no,{h:"$full",w:"$full",pos:"fixed",top:0,get bg(){return xu("$blackAlpha4","$whiteAlpha4")()},zIndex:"9000",get children(){return _(ws,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",color:"$info10",size:"xl"})}})}})}})]},ZB=()=>_(LA,{as:IA,boxSize:"$8"});/*!
|
|
9
|
+
Highlight.js v11.4.0 (git: 2d0e7c1094)
|
|
10
|
+
(c) 2006-2022 Ivan Sagalaev and other contributors
|
|
11
|
+
License: BSD-3-Clause
|
|
12
|
+
*/var Ib=function(){var e={exports:{}};function t(E){return E instanceof Map?E.clear=E.delete=E.set=()=>{throw Error("map is read-only")}:E instanceof Set&&(E.add=E.clear=E.delete=()=>{throw Error("set is read-only")}),Object.freeze(E),Object.getOwnPropertyNames(E).forEach(S=>{var $=E[S];typeof $!="object"||Object.isFrozen($)||t($)}),E}e.exports=t,e.exports.default=t;var n=e.exports;class r{constructor(S){S.data===void 0&&(S.data={}),this.data=S.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(E){return E.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(E,...S){const $=Object.create(null);for(const W in E)$[W]=E[W];return S.forEach(W=>{for(const ae in W)$[ae]=W[ae]}),$}const o=E=>!!E.kind;class s{constructor(S,$){this.buffer="",this.classPrefix=$.classPrefix,S.walk(this)}addText(S){this.buffer+=a(S)}openNode(S){if(!o(S))return;let $=S.kind;$=S.sublanguage?"language-"+$:((W,{prefix:ae})=>{if(W.includes(".")){const U=W.split(".");return["".concat(ae).concat(U.shift()),...U.map((ne,Z)=>"".concat(ne).concat("_".repeat(Z+1)))].join(" ")}return"".concat(ae).concat(W)})($,{prefix:this.classPrefix}),this.span($)}closeNode(S){o(S)&&(this.buffer+="</span>")}value(){return this.buffer}span(S){this.buffer+='<span class="'.concat(S,'">')}}class l{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(S){this.top.children.push(S)}openNode(S){const $={kind:S,children:[]};this.add($),this.stack.push($)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(S){return this.constructor._walk(S,this.rootNode)}static _walk(S,$){return typeof $=="string"?S.addText($):$.children&&(S.openNode($),$.children.forEach(W=>this._walk(S,W)),S.closeNode($)),S}static _collapse(S){typeof S!="string"&&S.children&&(S.children.every($=>typeof $=="string")?S.children=[S.children.join("")]:S.children.forEach($=>{l._collapse($)}))}}class u extends l{constructor(S){super(),this.options=S}addKeyword(S,$){S!==""&&(this.openNode($),this.addText(S),this.closeNode())}addText(S){S!==""&&this.add(S)}addSublanguage(S,$){const W=S.root;W.kind=$,W.sublanguage=!0,this.add(W)}toHTML(){return new s(this,this.options).value()}finalize(){return!0}}function d(E){return E?typeof E=="string"?E:E.source:null}function c(E){return g("(?=",E,")")}function f(E){return g("(?:",E,")*")}function p(E){return g("(?:",E,")?")}function g(...E){return E.map(S=>d(S)).join("")}function b(...E){return"("+(($=>{const W=$[$.length-1];return typeof W=="object"&&W.constructor===Object?($.splice($.length-1,1),W):{}})(E).capture?"":"?:")+E.map($=>d($)).join("|")+")"}function m(E){return RegExp(E.toString()+"|").exec("").length-1}const x=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function v(E,{joinWith:S}){let $=0;return E.map(W=>{$+=1;const ae=$;let U=d(W),ne="";for(;U.length>0;){const Z=x.exec(U);if(!Z){ne+=U;break}ne+=U.substring(0,Z.index),U=U.substring(Z.index+Z[0].length),Z[0][0]==="\\"&&Z[1]?ne+="\\"+(Number(Z[1])+ae):(ne+=Z[0],Z[0]==="("&&$++)}return ne}).map(W=>"(".concat(W,")")).join(S)}const y="[a-zA-Z]\\w*",w="[a-zA-Z_]\\w*",O="\\b\\d+(\\.\\d+)?",T="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",A="\\b(0b[01]+)",F={begin:"\\\\[\\s\\S]",relevance:0},M={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[F]},D={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[F]},B=(E,S,$={})=>{const W=i({scope:"comment",begin:E,end:S,contains:[]},$);W.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const ae=b("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return W.contains.push({begin:g(/[ ]+/,"(",ae,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),W},V=B("//","$"),J=B("/\\*","\\*/"),ee=B("#","$");var ue=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:y,UNDERSCORE_IDENT_RE:w,NUMBER_RE:O,C_NUMBER_RE:T,BINARY_NUMBER_RE:A,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(E={})=>{const S=/^#![ ]*\//;return E.binary&&(E.begin=g(S,/.*\b/,E.binary,/\b.*/)),i({scope:"meta",begin:S,end:/$/,relevance:0,"on:begin":($,W)=>{$.index!==0&&W.ignoreMatch()}},E)},BACKSLASH_ESCAPE:F,APOS_STRING_MODE:M,QUOTE_STRING_MODE:D,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:B,C_LINE_COMMENT_MODE:V,C_BLOCK_COMMENT_MODE:J,HASH_COMMENT_MODE:ee,NUMBER_MODE:{scope:"number",begin:O,relevance:0},C_NUMBER_MODE:{scope:"number",begin:T,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:A,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[F,{begin:/\[/,end:/\]/,relevance:0,contains:[F]}]}]},TITLE_MODE:{scope:"title",begin:y,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:w,relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:E=>Object.assign(E,{"on:begin":(S,$)=>{$.data._beginMatch=S[1]},"on:end":(S,$)=>{$.data._beginMatch!==S[1]&&$.ignoreMatch()}})});function me(E,S){E.input[E.index-1]==="."&&S.ignoreMatch()}function Le(E,S){E.className!==void 0&&(E.scope=E.className,delete E.className)}function re(E,S){S&&E.beginKeywords&&(E.begin="\\b("+E.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",E.__beforeBegin=me,E.keywords=E.keywords||E.beginKeywords,delete E.beginKeywords,E.relevance===void 0&&(E.relevance=0))}function Fe(E,S){Array.isArray(E.illegal)&&(E.illegal=b(...E.illegal))}function ke(E,S){if(E.match){if(E.begin||E.end)throw Error("begin & end are not supported with match");E.begin=E.match,delete E.match}}function C(E,S){E.relevance===void 0&&(E.relevance=1)}const R=(E,S)=>{if(!E.beforeMatch)return;if(E.starts)throw Error("beforeMatch cannot be used with starts");const $=Object.assign({},E);Object.keys(E).forEach(W=>{delete E[W]}),E.keywords=$.keywords,E.begin=g($.beforeMatch,c($.begin)),E.starts={relevance:0,contains:[Object.assign($,{endsParent:!0})]},E.relevance=0,delete $.beforeMatch},xe=["of","and","for","in","not","or","if","then","parent","list","value"];function $e(E,S,$="keyword"){const W=Object.create(null);return typeof E=="string"?ae($,E.split(" ")):Array.isArray(E)?ae($,E):Object.keys(E).forEach(U=>{Object.assign(W,$e(E[U],S,U))}),W;function ae(U,ne){S&&(ne=ne.map(Z=>Z.toLowerCase())),ne.forEach(Z=>{const fe=Z.split("|");W[fe[0]]=[U,bt(fe[0],fe[1])]})}}function bt(E,S){return S?Number(S):($=>xe.includes($.toLowerCase()))(E)?0:1}const nt={},rt=E=>{console.error(E)},lt=(E,...S)=>{console.log("WARN: "+E,...S)},Et=(E,S)=>{nt["".concat(E,"/").concat(S)]||(console.log("Deprecated as of ".concat(E,". ").concat(S)),nt["".concat(E,"/").concat(S)]=!0)},ie=Error();function Ce(E,S,{key:$}){let W=0;const ae=E[$],U={},ne={};for(let Z=1;Z<=S.length;Z++)ne[Z+W]=ae[Z],U[Z+W]=!0,W+=m(S[Z-1]);E[$]=ne,E[$]._emit=U,E[$]._multi=!0}function Qe(E){(S=>{S.scope&&typeof S.scope=="object"&&S.scope!==null&&(S.beginScope=S.scope,delete S.scope)})(E),typeof E.beginScope=="string"&&(E.beginScope={_wrap:E.beginScope}),typeof E.endScope=="string"&&(E.endScope={_wrap:E.endScope}),(S=>{if(Array.isArray(S.begin)){if(S.skip||S.excludeBegin||S.returnBegin)throw rt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ie;if(typeof S.beginScope!="object"||S.beginScope===null)throw rt("beginScope must be object"),ie;Ce(S,S.begin,{key:"beginScope"}),S.begin=v(S.begin,{joinWith:""})}})(E),(S=>{if(Array.isArray(S.end)){if(S.skip||S.excludeEnd||S.returnEnd)throw rt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ie;if(typeof S.endScope!="object"||S.endScope===null)throw rt("endScope must be object"),ie;Ce(S,S.end,{key:"endScope"}),S.end=v(S.end,{joinWith:""})}})(E)}function ht(E){function S(ae,U){return RegExp(d(ae),"m"+(E.case_insensitive?"i":"")+(E.unicodeRegex?"u":"")+(U?"g":""))}class ${constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(U,ne){ne.position=this.position++,this.matchIndexes[this.matchAt]=ne,this.regexes.push([ne,U]),this.matchAt+=m(U)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const U=this.regexes.map(ne=>ne[1]);this.matcherRe=S(v(U,{joinWith:"|"}),!0),this.lastIndex=0}exec(U){this.matcherRe.lastIndex=this.lastIndex;const ne=this.matcherRe.exec(U);if(!ne)return null;const Z=ne.findIndex((ye,ve)=>ve>0&&ye!==void 0),fe=this.matchIndexes[Z];return ne.splice(0,Z),Object.assign(ne,fe)}}class W{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(U){if(this.multiRegexes[U])return this.multiRegexes[U];const ne=new $;return this.rules.slice(U).forEach(([Z,fe])=>ne.addRule(Z,fe)),ne.compile(),this.multiRegexes[U]=ne,ne}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(U,ne){this.rules.push([U,ne]),ne.type==="begin"&&this.count++}exec(U){const ne=this.getMatcher(this.regexIndex);ne.lastIndex=this.lastIndex;let Z=ne.exec(U);if(this.resumingScanAtSamePosition()&&!(Z&&Z.index===this.lastIndex)){const fe=this.getMatcher(0);fe.lastIndex=this.lastIndex+1,Z=fe.exec(U)}return Z&&(this.regexIndex+=Z.position+1,this.regexIndex===this.count&&this.considerAll()),Z}}if(E.compilerExtensions||(E.compilerExtensions=[]),E.contains&&E.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return E.classNameAliases=i(E.classNameAliases||{}),function ae(U,ne){const Z=U;if(U.isCompiled)return Z;[Le,ke,Qe,R].forEach(ye=>ye(U,ne)),E.compilerExtensions.forEach(ye=>ye(U,ne)),U.__beforeBegin=null,[re,Fe,C].forEach(ye=>ye(U,ne)),U.isCompiled=!0;let fe=null;return typeof U.keywords=="object"&&U.keywords.$pattern&&(U.keywords=Object.assign({},U.keywords),fe=U.keywords.$pattern,delete U.keywords.$pattern),fe=fe||/\w+/,U.keywords&&(U.keywords=$e(U.keywords,E.case_insensitive)),Z.keywordPatternRe=S(fe,!0),ne&&(U.begin||(U.begin=/\B|\b/),Z.beginRe=S(Z.begin),U.end||U.endsWithParent||(U.end=/\B|\b/),U.end&&(Z.endRe=S(Z.end)),Z.terminatorEnd=d(Z.end)||"",U.endsWithParent&&ne.terminatorEnd&&(Z.terminatorEnd+=(U.end?"|":"")+ne.terminatorEnd)),U.illegal&&(Z.illegalRe=S(U.illegal)),U.contains||(U.contains=[]),U.contains=[].concat(...U.contains.map(ye=>(ve=>(ve.variants&&!ve.cachedVariants&&(ve.cachedVariants=ve.variants.map(Ae=>i(ve,{variants:null},Ae))),ve.cachedVariants?ve.cachedVariants:Dn(ve)?i(ve,{starts:ve.starts?i(ve.starts):null}):Object.isFrozen(ve)?i(ve):ve))(ye==="self"?U:ye))),U.contains.forEach(ye=>{ae(ye,Z)}),U.starts&&ae(U.starts,ne),Z.matcher=(ye=>{const ve=new W;return ye.contains.forEach(Ae=>ve.addRule(Ae.begin,{rule:Ae,type:"begin"})),ye.terminatorEnd&&ve.addRule(ye.terminatorEnd,{type:"end"}),ye.illegal&&ve.addRule(ye.illegal,{type:"illegal"}),ve})(Z),Z}(E)}function Dn(E){return!!E&&(E.endsWithParent||Dn(E.starts))}class xr extends Error{constructor(S,$){super(S),this.name="HTMLInjectionError",this.html=$}}const We=a,fn=i,qn=Symbol("nomatch");var br=(E=>{const S=Object.create(null),$=Object.create(null),W=[];let ae=!0;const U="Could not find the language '{}', did you forget to load/include a language module?",ne={disableAutodetect:!0,name:"Plain text",contains:[]};let Z={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:u};function fe(Te){return Z.noHighlightRe.test(Te)}function ye(Te,De,Ve){let Rt="",Tt="";typeof De=="object"?(Rt=Te,Ve=De.ignoreIllegals,Tt=De.language):(Et("10.7.0","highlight(lang, code, ...args) has been deprecated."),Et("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),Tt=Te,Rt=De),Ve===void 0&&(Ve=!0);const gt={code:Rt,language:Tt};tn("before:highlight",gt);const zt=gt.result?gt.result:ve(gt.language,gt.code,Ve);return zt.code=gt.code,tn("after:highlight",zt),zt}function ve(Te,De,Ve,Rt){const Tt=Object.create(null);function gt(){if(!qe.keywords)return void rn.addText(At);let Oe=0;qe.keywordPatternRe.lastIndex=0;let Ue=qe.keywordPatternRe.exec(At),pt="";for(;Ue;){pt+=At.substring(Oe,Ue.index);const vt=ot.case_insensitive?Ue[0].toLowerCase():Ue[0],vn=(dt=vt,qe.keywords[dt]);if(vn){const[or,Ba]=vn;if(rn.addText(pt),pt="",Tt[vt]=(Tt[vt]||0)+1,Tt[vt]<=7&&(_i+=Ba),or.startsWith("_"))pt+=Ue[0];else{const $a=ot.classNameAliases[or]||or;rn.addKeyword(Ue[0],$a)}}else pt+=Ue[0];Oe=qe.keywordPatternRe.lastIndex,Ue=qe.keywordPatternRe.exec(At)}var dt;pt+=At.substr(Oe),rn.addText(pt)}function zt(){qe.subLanguage!=null?(()=>{if(At==="")return;let Oe=null;if(typeof qe.subLanguage=="string"){if(!S[qe.subLanguage])return void rn.addText(At);Oe=ve(qe.subLanguage,At,!0,bo[qe.subLanguage]),bo[qe.subLanguage]=Oe._top}else Oe=Ae(At,qe.subLanguage.length?qe.subLanguage:null);qe.relevance>0&&(_i+=Oe.relevance),rn.addSublanguage(Oe._emitter,Oe.language)})():gt(),At=""}function Gt(Oe,Ue){let pt=1;for(;Ue[pt]!==void 0;){if(!Oe._emit[pt]){pt++;continue}const dt=ot.classNameAliases[Oe[pt]]||Oe[pt],vt=Ue[pt];dt?rn.addKeyword(vt,dt):(At=vt,gt(),At=""),pt++}}function yt(Oe,Ue){return Oe.scope&&typeof Oe.scope=="string"&&rn.openNode(ot.classNameAliases[Oe.scope]||Oe.scope),Oe.beginScope&&(Oe.beginScope._wrap?(rn.addKeyword(At,ot.classNameAliases[Oe.beginScope._wrap]||Oe.beginScope._wrap),At=""):Oe.beginScope._multi&&(Gt(Oe.beginScope,Ue),At="")),qe=Object.create(Oe,{parent:{value:qe}}),qe}function nn(Oe,Ue,pt){let dt=((vt,vn)=>{const or=vt&&vt.exec(vn);return or&&or.index===0})(Oe.endRe,pt);if(dt){if(Oe["on:end"]){const vt=new r(Oe);Oe["on:end"](Ue,vt),vt.isMatchIgnored&&(dt=!1)}if(dt){for(;Oe.endsParent&&Oe.parent;)Oe=Oe.parent;return Oe}}if(Oe.endsWithParent)return nn(Oe.parent,Ue,pt)}function ir(Oe){return qe.matcher.regexIndex===0?(At+=Oe[0],1):(yo=!0,0)}function Pr(Oe){const Ue=Oe[0],pt=De.substr(Oe.index),dt=nn(qe,Oe,pt);if(!dt)return qn;const vt=qe;qe.endScope&&qe.endScope._wrap?(zt(),rn.addKeyword(Ue,qe.endScope._wrap)):qe.endScope&&qe.endScope._multi?(zt(),Gt(qe.endScope,Oe)):vt.skip?At+=Ue:(vt.returnEnd||vt.excludeEnd||(At+=Ue),zt(),vt.excludeEnd&&(At=Ue));do qe.scope&&rn.closeNode(),qe.skip||qe.subLanguage||(_i+=qe.relevance),qe=qe.parent;while(qe!==dt.parent);return dt.starts&&yt(dt.starts,Oe),vt.returnEnd?0:Ue.length}let vr={};function xa(Oe,Ue){const pt=Ue&&Ue[0];if(At+=Oe,pt==null)return zt(),0;if(vr.type==="begin"&&Ue.type==="end"&&vr.index===Ue.index&&pt===""){if(At+=De.slice(Ue.index,Ue.index+1),!ae){const dt=Error("0 width match regex (".concat(Te,")"));throw dt.languageName=Te,dt.badRule=vr.rule,dt}return 1}if(vr=Ue,Ue.type==="begin")return(dt=>{const vt=dt[0],vn=dt.rule,or=new r(vn),Ba=[vn.__beforeBegin,vn["on:begin"]];for(const $a of Ba)if($a&&($a(dt,or),or.isMatchIgnored))return ir(vt);return vn.skip?At+=vt:(vn.excludeBegin&&(At+=vt),zt(),vn.returnBegin||vn.excludeBegin||(At=vt)),yt(vn,dt),vn.returnBegin?0:vt.length})(Ue);if(Ue.type==="illegal"&&!Ve){const dt=Error('Illegal lexeme "'+pt+'" for mode "'+(qe.scope||"<unnamed>")+'"');throw dt.mode=qe,dt}if(Ue.type==="end"){const dt=Pr(Ue);if(dt!==qn)return dt}if(Ue.type==="illegal"&&pt==="")return 1;if(Eo>1e5&&Eo>3*Ue.index)throw Error("potential infinite loop, way more iterations than matches");return At+=pt,pt.length}const ot=Lt(Te);if(!ot)throw rt(U.replace("{}",Te)),Error('Unknown language: "'+Te+'"');const vi=ht(ot);let ba="",qe=Rt||vi;const bo={},rn=new Z.__emitter(Z);(()=>{const Oe=[];for(let Ue=qe;Ue!==ot;Ue=Ue.parent)Ue.scope&&Oe.unshift(Ue.scope);Oe.forEach(Ue=>rn.openNode(Ue))})();let At="",_i=0,_r=0,Eo=0,yo=!1;try{for(qe.matcher.considerAll();;){Eo++,yo?yo=!1:qe.matcher.considerAll(),qe.matcher.lastIndex=_r;const Oe=qe.matcher.exec(De);if(!Oe)break;const Ue=xa(De.substring(_r,Oe.index),Oe);_r=Oe.index+Ue}return xa(De.substr(_r)),rn.closeAllNodes(),rn.finalize(),ba=rn.toHTML(),{language:Te,value:ba,relevance:_i,illegal:!1,_emitter:rn,_top:qe}}catch(Oe){if(Oe.message&&Oe.message.includes("Illegal"))return{language:Te,value:We(De),illegal:!0,relevance:0,_illegalBy:{message:Oe.message,index:_r,context:De.slice(_r-100,_r+100),mode:Oe.mode,resultSoFar:ba},_emitter:rn};if(ae)return{language:Te,value:We(De),illegal:!1,relevance:0,errorRaised:Oe,_emitter:rn,_top:qe};throw Oe}}function Ae(Te,De){De=De||Z.languages||Object.keys(S);const Ve=(yt=>{const nn={value:We(yt),illegal:!1,relevance:0,_top:ne,_emitter:new Z.__emitter(Z)};return nn._emitter.addText(yt),nn})(Te),Rt=De.filter(Lt).filter(yn).map(yt=>ve(yt,Te,!1));Rt.unshift(Ve);const Tt=Rt.sort((yt,nn)=>{if(yt.relevance!==nn.relevance)return nn.relevance-yt.relevance;if(yt.language&&nn.language){if(Lt(yt.language).supersetOf===nn.language)return 1;if(Lt(nn.language).supersetOf===yt.language)return-1}return 0}),[gt,zt]=Tt,Gt=gt;return Gt.secondBest=zt,Gt}function je(Te){let De=null;const Ve=(gt=>{let zt=gt.className+" ";zt+=gt.parentNode?gt.parentNode.className:"";const Gt=Z.languageDetectRe.exec(zt);if(Gt){const yt=Lt(Gt[1]);return yt||(lt(U.replace("{}",Gt[1])),lt("Falling back to no-highlight mode for this block.",gt)),yt?Gt[1]:"no-highlight"}return zt.split(/\s+/).find(yt=>fe(yt)||Lt(yt))})(Te);if(fe(Ve))return;if(tn("before:highlightElement",{el:Te,language:Ve}),Te.children.length>0&&(Z.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Te)),Z.throwUnescapedHTML))throw new xr("One of your code blocks includes unescaped HTML.",Te.innerHTML);De=Te;const Rt=De.textContent,Tt=Ve?ye(Rt,{language:Ve,ignoreIllegals:!0}):Ae(Rt);Te.innerHTML=Tt.value,((gt,zt,Gt)=>{const yt=zt&&$[zt]||Gt;gt.classList.add("hljs"),gt.classList.add("language-"+yt)})(Te,Ve,Tt.language),Te.result={language:Tt.language,re:Tt.relevance,relevance:Tt.relevance},Tt.secondBest&&(Te.secondBest={language:Tt.secondBest.language,relevance:Tt.secondBest.relevance}),tn("after:highlightElement",{el:Te,result:Tt,text:Rt})}let it=!1;function Ge(){document.readyState!=="loading"?document.querySelectorAll(Z.cssSelector).forEach(je):it=!0}function Lt(Te){return Te=(Te||"").toLowerCase(),S[Te]||S[$[Te]]}function En(Te,{languageName:De}){typeof Te=="string"&&(Te=[Te]),Te.forEach(Ve=>{$[Ve.toLowerCase()]=De})}function yn(Te){const De=Lt(Te);return De&&!De.disableAutodetect}function tn(Te,De){const Ve=Te;W.forEach(Rt=>{Rt[Ve]&&Rt[Ve](De)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",()=>{it&&Ge()},!1),Object.assign(E,{highlight:ye,highlightAuto:Ae,highlightAll:Ge,highlightElement:je,highlightBlock:Te=>(Et("10.7.0","highlightBlock will be removed entirely in v12.0"),Et("10.7.0","Please use highlightElement now."),je(Te)),configure:Te=>{Z=fn(Z,Te)},initHighlighting:()=>{Ge(),Et("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:()=>{Ge(),Et("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:(Te,De)=>{let Ve=null;try{Ve=De(E)}catch(Rt){if(rt("Language definition for '{}' could not be registered.".replace("{}",Te)),!ae)throw Rt;rt(Rt),Ve=ne}Ve.name||(Ve.name=Te),S[Te]=Ve,Ve.rawDefinition=De.bind(null,E),Ve.aliases&&En(Ve.aliases,{languageName:Te})},unregisterLanguage:Te=>{delete S[Te];for(const De of Object.keys($))$[De]===Te&&delete $[De]},listLanguages:()=>Object.keys(S),getLanguage:Lt,registerAliases:En,autoDetection:yn,inherit:fn,addPlugin:Te=>{(De=>{De["before:highlightBlock"]&&!De["before:highlightElement"]&&(De["before:highlightElement"]=Ve=>{De["before:highlightBlock"](Object.assign({block:Ve.el},Ve))}),De["after:highlightBlock"]&&!De["after:highlightElement"]&&(De["after:highlightElement"]=Ve=>{De["after:highlightBlock"](Object.assign({block:Ve.el},Ve))})})(Te),W.push(Te)}}),E.debugMode=()=>{ae=!1},E.safeMode=()=>{ae=!0},E.versionString="11.4.0",E.regex={concat:g,lookahead:c,either:b,optional:p,anyNumberOfTimes:f};for(const Te in ue)typeof ue[Te]=="object"&&n(ue[Te]);return Object.assign(E,ue),E})({});const Xt=E=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:E.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[E.APOS_STRING_MODE,E.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:E.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),bn=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Pn=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],cn=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],kn=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],nr=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-width","min-height","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),Rr=cn.concat(kn);var Q="\\.([0-9](_*[0-9])*)",z="[0-9a-fA-F](_*[0-9a-fA-F])*",I={className:"number",variants:[{begin:"(\\b([0-9](_*[0-9])*)((".concat(Q,")|\\.)?|(").concat(Q,"))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b")},{begin:"\\b([0-9](_*[0-9])*)((".concat(Q,")[fFdD]?\\b|\\.([fFdD]\\b)?)")},{begin:"(".concat(Q,")[fFdD]?\\b")},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{begin:"\\b0[xX]((".concat(z,")\\.?|(").concat(z,")?\\.(").concat(z,"))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b")},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:"\\b0[xX](".concat(z,")[lL]?\\b")},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function te(E,S,$){return $===-1?"":E.replace(S,W=>te(E,S,$-1))}const oe="[A-Za-z$_][0-9A-Za-z$_]*",we=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],qt=["true","false","null","undefined","NaN","Infinity"],Yt=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],$t=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],hn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],_t=["arguments","this","super","console","window","document","localStorage","module","global"],rr=[].concat(hn,Yt,$t);function ct(E){const S=E.regex,$=oe,W={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Gt,yt)=>{const nn=Gt[0].length+Gt.index,ir=Gt.input[nn];if(ir==="<"||ir===",")return void yt.ignoreMatch();let Pr;ir===">"&&(((vr,{after:xa})=>{const ot="</"+vr[0].slice(1);return vr.input.indexOf(ot,xa)!==-1})(Gt,{after:nn})||yt.ignoreMatch()),(Pr=Gt.input.substr(nn).match(/^\s+extends\s+/))&&Pr.index===0&&yt.ignoreMatch()}},ae={$pattern:oe,keyword:we,literal:qt,built_in:rr,"variable.language":_t},U="\\.([0-9](_?[0-9])*)",ne="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Z={className:"number",variants:[{begin:"(\\b(".concat(ne,")((").concat(U,")|\\.)?|(").concat(U,"))[eE][+-]?([0-9](_?[0-9])*)\\b")},{begin:"\\b(".concat(ne,")\\b((").concat(U,")\\b|\\.)?|(").concat(U,")\\b")},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},fe={className:"subst",begin:"\\$\\{",end:"\\}",keywords:ae,contains:[]},ye={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[E.BACKSLASH_ESCAPE,fe],subLanguage:"xml"}},ve={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[E.BACKSLASH_ESCAPE,fe],subLanguage:"css"}},Ae={className:"string",begin:"`",end:"`",contains:[E.BACKSLASH_ESCAPE,fe]},je={className:"comment",variants:[E.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:$+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),E.C_BLOCK_COMMENT_MODE,E.C_LINE_COMMENT_MODE]},it=[E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,ye,ve,Ae,Z];fe.contains=it.concat({begin:/\{/,end:/\}/,keywords:ae,contains:["self"].concat(it)});const Ge=[].concat(je,fe.contains),Lt=Ge.concat([{begin:/\(/,end:/\)/,keywords:ae,contains:["self"].concat(Ge)}]),En={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ae,contains:Lt},yn={variants:[{match:[/class/,/\s+/,$,/\s+/,/extends/,/\s+/,S.concat($,"(",S.concat(/\./,$),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,$],scope:{1:"keyword",3:"title.class"}}]},tn={relevance:0,match:S.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Yt,...$t]}},Te={variants:[{match:[/function/,/\s+/,$,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[En],illegal:/%/},De={match:S.concat(/\b/,(Ve=[...hn,"super"],S.concat("(?!",Ve.join("|"),")")),$,S.lookahead(/\(/)),className:"title.function",relevance:0};var Ve;const Rt={begin:S.concat(/\./,S.lookahead(S.concat($,/(?![0-9A-Za-z$_(])/))),end:$,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Tt={match:[/get|set/,/\s+/,$,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},En]},gt="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+E.UNDERSCORE_IDENT_RE+")\\s*=>",zt={match:[/const|var|let/,/\s+/,$,/\s*/,/=\s*/,/(async\s*)?/,S.lookahead(gt)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[En]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:ae,exports:{PARAMS_CONTAINS:Lt,CLASS_REFERENCE:tn},illegal:/#(?![$_A-z])/,contains:[E.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,ye,ve,Ae,je,Z,tn,{className:"attr",begin:$+S.lookahead(":"),relevance:0},zt,{begin:"("+E.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[je,E.REGEXP_MODE,{className:"function",begin:gt,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:E.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ae,contains:Lt}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:"</>"},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:W.begin,"on:begin":W.isTrulyOpeningTag,end:W.end}],subLanguage:"xml",contains:[{begin:W.begin,end:W.end,skip:!0,contains:["self"]}]}]},Te,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+E.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[En,E.inherit(E.TITLE_MODE,{begin:$,className:"title.function"})]},{match:/\.\.\./,relevance:0},Rt,{match:"\\$"+$,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[En]},De,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},yn,Tt,{match:/\$[(.]/}]}}const ma=E=>g(/\b/,E,/\w$/.test(E)?/\b/:/\B/),Er=["Protocol","Type"].map(ma),Gr=["init","self"].map(ma),Kr=["Any","Self"],mo=["actor","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],Hs=["false","nil","true"],Zu=["assignment","associativity","higherThan","left","lowerThan","none","right"],Ju=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],Us=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],ar=b(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),zs=b(ar,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),xo=g(ar,zs,"*"),js=b(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),yi=b(js,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),yr=g(js,yi,"*"),Dr=g(/[A-Z]/,yi,"*"),ec=["autoclosure",g(/convention\(/,b("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",g(/objc\(/,yr,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],tc=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];var Ws=Object.freeze({__proto__:null,grmr_bash:E=>{const S=E.regex,$={},W={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[$]}]};Object.assign($,{className:"variable",variants:[{begin:S.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},W]});const ae={className:"subst",begin:/\$\(/,end:/\)/,contains:[E.BACKSLASH_ESCAPE]},U={begin:/<<-?\s*(?=\w+)/,starts:{contains:[E.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},ne={className:"string",begin:/"/,end:/"/,contains:[E.BACKSLASH_ESCAPE,$,ae]};ae.contains.push(ne);const Z={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},E.NUMBER_MODE,$]},fe=E.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),ye={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[E.inherit(E.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[fe,E.SHEBANG(),ye,Z,E.HASH_COMMENT_MODE,U,{match:/(\/[a-z._-]+)+/},ne,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},$]}},grmr_c:E=>{const S=E.regex,$=E.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),W="[a-zA-Z_]\\w*::",ae="(decltype\\(auto\\)|"+S.optional(W)+"[a-zA-Z_]\\w*"+S.optional("<[^<>]+>")+")",U={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},ne={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[E.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},E.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Z={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},fe={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},E.inherit(ne,{className:"string"}),{className:"string",begin:/<.*?>/},$,E.C_BLOCK_COMMENT_MODE]},ye={className:"title",begin:S.optional(W)+E.IDENT_RE,relevance:0},ve=S.optional(W)+E.IDENT_RE+"\\s*\\(",Ae={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},je=[fe,U,$,E.C_BLOCK_COMMENT_MODE,Z,ne],it={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Ae,contains:je.concat([{begin:/\(/,end:/\)/,keywords:Ae,contains:je.concat(["self"]),relevance:0}]),relevance:0},Ge={begin:"("+ae+"[\\*&\\s]+)+"+ve,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Ae,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:Ae,relevance:0},{begin:ve,returnBegin:!0,contains:[E.inherit(ye,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:Ae,relevance:0,contains:[$,E.C_BLOCK_COMMENT_MODE,ne,Z,U,{begin:/\(/,end:/\)/,keywords:Ae,relevance:0,contains:["self",$,E.C_BLOCK_COMMENT_MODE,ne,Z,U]}]},U,$,E.C_BLOCK_COMMENT_MODE,fe]};return{name:"C",aliases:["h"],keywords:Ae,disableAutodetect:!0,illegal:"</",contains:[].concat(it,Ge,je,[fe,{begin:E.IDENT_RE+"::",keywords:Ae},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},E.TITLE_MODE]}]),exports:{preprocessor:fe,strings:ne,keywords:Ae}}},grmr_cpp:E=>{const S=E.regex,$=E.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),W="[a-zA-Z_]\\w*::",ae="(?!struct)(decltype\\(auto\\)|"+S.optional(W)+"[a-zA-Z_]\\w*"+S.optional("<[^<>]+>")+")",U={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},ne={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[E.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},E.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Z={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},fe={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},E.inherit(ne,{className:"string"}),{className:"string",begin:/<.*?>/},$,E.C_BLOCK_COMMENT_MODE]},ye={className:"title",begin:S.optional(W)+E.IDENT_RE,relevance:0},ve=S.optional(W)+E.IDENT_RE+"\\s*\\(",Ae={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},je={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:S.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,E.IDENT_RE,S.lookahead(/(<[^<>]+>|)\s*\(/))},it=[je,fe,U,$,E.C_BLOCK_COMMENT_MODE,Z,ne],Ge={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Ae,contains:it.concat([{begin:/\(/,end:/\)/,keywords:Ae,contains:it.concat(["self"]),relevance:0}]),relevance:0},Lt={className:"function",begin:"("+ae+"[\\*&\\s]+)+"+ve,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Ae,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:Ae,relevance:0},{begin:ve,returnBegin:!0,contains:[ye],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[ne,Z]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:Ae,relevance:0,contains:[$,E.C_BLOCK_COMMENT_MODE,ne,Z,U,{begin:/\(/,end:/\)/,keywords:Ae,relevance:0,contains:["self",$,E.C_BLOCK_COMMENT_MODE,ne,Z,U]}]},U,$,E.C_BLOCK_COMMENT_MODE,fe]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:Ae,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Ge,Lt,je,it,[fe,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:Ae,contains:["self",U]},{begin:E.IDENT_RE+"::",keywords:Ae},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},grmr_csharp:E=>{const S={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},$=E.inherit(E.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),W={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},ae={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},U=E.inherit(ae,{illegal:/\n/}),ne={className:"subst",begin:/\{/,end:/\}/,keywords:S},Z=E.inherit(ne,{illegal:/\n/}),fe={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},E.BACKSLASH_ESCAPE,Z]},ye={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},ne]},ve=E.inherit(ye,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},Z]});ne.contains=[ye,fe,ae,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,W,E.C_BLOCK_COMMENT_MODE],Z.contains=[ve,fe,U,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,W,E.inherit(E.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const Ae={variants:[ye,fe,ae,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE]},je={begin:"<",end:">",contains:[{beginKeywords:"in out"},$]},it=E.IDENT_RE+"(<"+E.IDENT_RE+"(\\s*,\\s*"+E.IDENT_RE+")*>)?(\\[\\])?",Ge={begin:"@"+E.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:S,illegal:/::/,contains:[E.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},Ae,W,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},$,je,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[$,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[$,je,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+it+"\\s+)+"+E.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:S,contains:[{beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial",relevance:0},{begin:E.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[E.TITLE_MODE,je],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,relevance:0,contains:[Ae,W,E.C_BLOCK_COMMENT_MODE]},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},Ge]}},grmr_css:E=>{const S=E.regex,$=Xt(E),W=[E.APOS_STRING_MODE,E.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[$.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},$.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},$.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+cn.join("|")+")"},{begin:":(:)?("+kn.join("|")+")"}]},$.CSS_VARIABLE,{className:"attribute",begin:"\\b("+nr.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[$.BLOCK_COMMENT,$.HEXCOLOR,$.IMPORTANT,$.CSS_NUMBER_MODE,...W,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},$.FUNCTION_DISPATCH]},{begin:S.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:Pn.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...W,$.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+bn.join("|")+")\\b"}]}},grmr_diff:E=>{const S=E.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:S.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:S.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}},grmr_go:E=>{const S={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:S,illegal:"</",contains:[E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,{className:"string",variants:[E.QUOTE_STRING_MODE,E.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:E.C_NUMBER_RE+"[i]",relevance:1},E.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[E.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:S,illegal:/["']/}]}]}},grmr_ini:E=>{const S=E.regex,$={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:E.NUMBER_RE}]},W=E.COMMENT();W.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const ae={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},U={className:"literal",begin:/\bon|off|true|false|yes|no\b/},ne={className:"string",contains:[E.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},Z={begin:/\[/,end:/\]/,contains:[W,U,ae,ne,$,"self"],relevance:0},fe=S.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[W,{className:"section",begin:/\[+/,end:/\]+/},{begin:S.concat(fe,"(\\s*\\.\\s*",fe,")*",S.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[W,Z,U,ae,ne,$]}}]}},grmr_java:E=>{E.regex;const S="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",$=S+te("(?:<"+S+"~~~(?:\\s*,\\s*"+S+"~~~)*>)?",/~~~/g,2),W={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},ae={className:"meta",begin:"@"+S,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},U={className:"params",begin:/\(/,end:/\)/,keywords:W,relevance:0,contains:[E.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:W,illegal:/<\/|#/,contains:[E.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[E.BACKSLASH_ESCAPE]},E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,S],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[S,/\s+/,S,/\s+/,/=/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,S],className:{1:"keyword",3:"title.class"},contains:[U,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+$+"\\s+)",E.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:W,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:W,relevance:0,contains:[ae,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,I,E.C_BLOCK_COMMENT_MODE]},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},I,ae]}},grmr_javascript:ct,grmr_json:E=>({name:"JSON",contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},E.QUOTE_STRING_MODE,{beginKeywords:"true false null"},E.C_NUMBER_MODE,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE],illegal:"\\S"}),grmr_kotlin:E=>{const S={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},$={className:"symbol",begin:E.UNDERSCORE_IDENT_RE+"@"},W={className:"subst",begin:/\$\{/,end:/\}/,contains:[E.C_NUMBER_MODE]},ae={className:"variable",begin:"\\$"+E.UNDERSCORE_IDENT_RE},U={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[ae,W]},{begin:"'",end:"'",illegal:/\n/,contains:[E.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[E.BACKSLASH_ESCAPE,ae,W]}]};W.contains.push(U);const ne={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+E.UNDERSCORE_IDENT_RE+")?"},Z={className:"meta",begin:"@"+E.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[E.inherit(U,{className:"string"})]}]},fe=I,ye=E.COMMENT("/\\*","\\*/",{contains:[E.C_BLOCK_COMMENT_MODE]}),ve={variants:[{className:"type",begin:E.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},Ae=ve;return Ae.variants[1].contains=[ve],ve.variants[1].contains=[Ae],{name:"Kotlin",aliases:["kt","kts"],keywords:S,contains:[E.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),E.C_LINE_COMMENT_MODE,ye,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},$,ne,Z,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:S,relevance:5,contains:[{begin:E.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[E.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:S,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[ve,E.C_LINE_COMMENT_MODE,ye],relevance:0},E.C_LINE_COMMENT_MODE,ye,ne,Z,U,E.C_NUMBER_MODE]},ye]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},E.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},ne,Z]},U,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},fe]}},grmr_less:E=>{const S=Xt(E),$=Rr,W="([\\w-]+|@\\{[\\w-]+\\})",ae=[],U=[],ne=yn=>({className:"string",begin:"~?"+yn+".*?"+yn}),Z=(yn,tn,Te)=>({className:yn,begin:tn,relevance:Te}),fe={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:Pn.join(" ")},ye={begin:"\\(",end:"\\)",contains:U,keywords:fe,relevance:0};U.push(E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,ne("'"),ne('"'),S.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},S.HEXCOLOR,ye,Z("variable","@@?[\\w-]+",10),Z("variable","@\\{[\\w-]+\\}"),Z("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},S.IMPORTANT);const ve=U.concat({begin:/\{/,end:/\}/,contains:ae}),Ae={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(U)},je={begin:W+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},S.CSS_VARIABLE,{className:"attribute",begin:"\\b("+nr.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:U}}]},it={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:fe,returnEnd:!0,contains:U,relevance:0}},Ge={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:ve}},Lt={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:W,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,Ae,Z("keyword","all\\b"),Z("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+bn.join("|")+")\\b",className:"selector-tag"},S.CSS_NUMBER_MODE,Z("selector-tag",W,0),Z("selector-id","#"+W),Z("selector-class","\\."+W,0),Z("selector-tag","&",0),S.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+cn.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+kn.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:ve},{begin:"!important"},S.FUNCTION_DISPATCH]},En={begin:"[\\w-]+:(:)?(".concat($.join("|"),")"),returnBegin:!0,contains:[Lt]};return ae.push(E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,it,Ge,En,je,Lt),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:ae}},grmr_lua:E=>{const S="\\[=*\\[",$="\\]=*\\]",W={begin:S,end:$,contains:["self"]},ae=[E.COMMENT("--(?!\\[=*\\[)","$"),E.COMMENT("--\\[=*\\[",$,{contains:[W],relevance:10})];return{name:"Lua",keywords:{$pattern:E.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:ae.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[E.inherit(E.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:ae}].concat(ae)},E.C_NUMBER_MODE,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,{className:"string",begin:S,end:$,contains:[W],relevance:5}])}},grmr_makefile:E=>{const S={className:"variable",variants:[{begin:"\\$\\("+E.UNDERSCORE_IDENT_RE+"\\)",contains:[E.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},$={className:"string",begin:/"/,end:/"/,contains:[E.BACKSLASH_ESCAPE,S]},W={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[S]},ae={begin:"^"+E.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},U={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[S]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[E.HASH_COMMENT_MODE,S,$,W,ae,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},U]}},grmr_xml:E=>{const S=E.regex,$=S.concat(/[A-Z_]/,S.optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),W={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},ae={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},U=E.inherit(ae,{begin:/\(/,end:/\)/}),ne=E.inherit(E.APOS_STRING_MODE,{className:"string"}),Z=E.inherit(E.QUOTE_STRING_MODE,{className:"string"}),fe={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[W]},{begin:/'/,end:/'/,contains:[W]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[ae,Z,ne,U,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[ae,U,Z,ne]}]}]},E.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},W,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[fe],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[fe],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:S.concat(/</,S.lookahead(S.concat($,S.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:$,relevance:0,starts:fe}]},{className:"tag",begin:S.concat(/<\//,S.lookahead(S.concat($,/>/))),contains:[{className:"name",begin:$,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},grmr_markdown:E=>{const S={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},$={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:E.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},W={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},ae={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};W.contains.push(ae),ae.contains.push(W);let U=[S,$];return W.contains=W.contains.concat(U),ae.contains=ae.contains.concat(U),U=U.concat(W,ae),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:U},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:U}]}]},S,{className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},W,ae,{className:"quote",begin:"^>\\s+",contains:U,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},$,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},grmr_objectivec:E=>{const S=/[a-zA-Z@][a-zA-Z0-9_]*/,$={$pattern:S,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{$pattern:S,keyword:["int","float","while","char","export","sizeof","typedef","const","struct","for","union","unsigned","long","volatile","static","bool","mutable","if","do","return","goto","void","enum","else","break","extern","asm","case","short","default","double","register","explicit","signed","typename","this","switch","continue","wchar_t","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","super","unichar","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["BOOL","dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,E.C_NUMBER_MODE,E.QUOTE_STRING_MODE,E.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[E.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},E.inherit(E.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+$.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:$,contains:[E.UNDERSCORE_TITLE_MODE]},{begin:"\\."+E.UNDERSCORE_IDENT_RE,relevance:0}]}},grmr_perl:E=>{const S=E.regex,$=/[dualxmsipngr]{0,12}/,W={$pattern:/[\w.]+/,keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0"},ae={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:W},U={begin:/->\{/,end:/\}/},ne={variants:[{begin:/\$\d/},{begin:S.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},Z=[E.BACKSLASH_ESCAPE,ae,ne],fe=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],ye=(je,it,Ge="\\1")=>{const Lt=Ge==="\\1"?Ge:S.concat(Ge,it);return S.concat(S.concat("(?:",je,")"),it,/(?:\\.|[^\\\/])*?/,Lt,/(?:\\.|[^\\\/])*?/,Ge,$)},ve=(je,it,Ge)=>S.concat(S.concat("(?:",je,")"),it,/(?:\\.|[^\\\/])*?/,Ge,$),Ae=[ne,E.HASH_COMMENT_MODE,E.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),U,{className:"string",contains:Z,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[E.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[E.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+E.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[E.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:ye("s|tr|y",S.either(...fe,{capture:!0}))},{begin:ye("s|tr|y","\\(","\\)")},{begin:ye("s|tr|y","\\[","\\]")},{begin:ye("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:ve("(?:m|qr)?",/\//,/\//)},{begin:ve("m|qr",S.either(...fe,{capture:!0}),/\1/)},{begin:ve("m|qr",/\(/,/\)/)},{begin:ve("m|qr",/\[/,/\]/)},{begin:ve("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[E.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return ae.contains=Ae,U.contains=Ae,{name:"Perl",aliases:["pl","pm"],keywords:W,contains:Ae}},grmr_php:E=>{const S=E.regex,$="[a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$]))",W=S.concat("([a-zA-Z_\\x7f-\\xff]",$),ae=S.concat("([A-Z]",$),U={scope:"variable",match:"\\$+"+W},ne={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},Z=E.inherit(E.APOS_STRING_MODE,{illegal:null}),fe="[ \n]",ye={scope:"string",variants:[E.inherit(E.QUOTE_STRING_MODE,{illegal:null,contains:E.QUOTE_STRING_MODE.contains.concat(ne)}),Z,E.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:E.QUOTE_STRING_MODE.contains.concat(ne)})]},ve={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},Ae=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],je=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],it={keyword:Ae,literal:(Te=>{const De=[];return["false","null","true"].forEach(Ve=>{De.push(Ve),Ve.toLowerCase()===Ve?De.push(Ve.toUpperCase()):De.push(Ve.toLowerCase())}),De})(),built_in:je},Ge=Te=>Te.map(De=>De.replace(/\|\d+$/,"")),Lt={variants:[{match:[/new/,S.concat(fe,"+"),S.concat("(?!",Ge(je).join("\\b|"),"\\b)"),S.concat(/\\?/,W),S.concat(fe,"*",/\(/)],scope:{1:"keyword",4:"title.class"}}]},En={relevance:0,match:[/\b/,S.concat("(?!fn\\b|function\\b|",Ge(Ae).join("\\b|"),"|",Ge(je).join("\\b|"),"\\b)"),W,S.concat(fe,"*"),S.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"}},yn=S.concat(W,"\\b(?!\\()"),tn={variants:[{match:[S.concat(/::/,S.lookahead(/(?!class\b)/)),yn],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[ae,S.concat("::",S.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[ae,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]};return{case_insensitive:!1,keywords:it,contains:[E.HASH_COMMENT_MODE,E.COMMENT("//","$"),E.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:E.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},U,En,tn,{match:[/const/,/\s/,W,/\s*=/],scope:{1:"keyword",3:"variable.constant"}},Lt,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},E.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:it,contains:["self",U,tn,E.C_BLOCK_COMMENT_MODE,ye,ve]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},E.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[E.inherit(E.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},E.UNDERSCORE_TITLE_MODE]},ye,ve]}},grmr_php_template:E=>({name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},E.inherit(E.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),E.inherit(E.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}),grmr_plaintext:E=>({name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}),grmr_python:E=>{const S=E.regex,$=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),W=["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],ae={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:W,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},U={className:"meta",begin:/^(>>>|\.\.\.) /},ne={className:"subst",begin:/\{/,end:/\}/,keywords:ae,illegal:/#/},Z={begin:/\{\{/,relevance:0},fe={className:"string",contains:[E.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[E.BACKSLASH_ESCAPE,U],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[E.BACKSLASH_ESCAPE,U],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[E.BACKSLASH_ESCAPE,U,Z,ne]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[E.BACKSLASH_ESCAPE,U,Z,ne]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[E.BACKSLASH_ESCAPE,Z,ne]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[E.BACKSLASH_ESCAPE,Z,ne]},E.APOS_STRING_MODE,E.QUOTE_STRING_MODE]},ye="[0-9](_?[0-9])*",ve="(\\b(".concat(ye,"))?\\.(").concat(ye,")|\\b(").concat(ye,")\\."),Ae="\\b|"+W.join("|"),je={className:"number",relevance:0,variants:[{begin:"(\\b(".concat(ye,")|(").concat(ve,"))[eE][+-]?(").concat(ye,")[jJ]?(?=").concat(Ae,")")},{begin:"(".concat(ve,")[jJ]?")},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=".concat(Ae,")")},{begin:"\\b0[bB](_?[01])+[lL]?(?=".concat(Ae,")")},{begin:"\\b0[oO](_?[0-7])+[lL]?(?=".concat(Ae,")")},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=".concat(Ae,")")},{begin:"\\b(".concat(ye,")[jJ](?=").concat(Ae,")")}]},it={className:"comment",begin:S.lookahead(/# type:/),end:/$/,keywords:ae,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},Ge={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ae,contains:["self",U,je,fe,E.HASH_COMMENT_MODE]}]};return ne.contains=[fe,je,U],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:ae,illegal:/(<\/|->|\?)|=>/,contains:[U,je,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},fe,it,E.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,$],scope:{1:"keyword",3:"title.function"},contains:[Ge]},{variants:[{match:[/\bclass/,/\s+/,$,/\s*/,/\(\s*/,$,/\s*\)/]},{match:[/\bclass/,/\s+/,$]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[je,Ge,fe]}]}},grmr_python_repl:E=>({aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}),grmr_r:E=>{const S=E.regex,$=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,W=S.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),ae=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,U=S.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:$,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[E.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:S.lookahead(S.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:$},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),E.HASH_COMMENT_MODE,{scope:"string",contains:[E.BACKSLASH_ESCAPE],variants:[E.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),E.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),E.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),E.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),E.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),E.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[ae,W]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,W]},{scope:{1:"punctuation",2:"number"},match:[U,W]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,W]}]},{scope:{3:"operator"},match:[$,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:ae},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:U},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},grmr_ruby:E=>{const S=E.regex,$="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",W={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},ae={className:"doctag",begin:"@[A-Za-z]+"},U={begin:"#<",end:">"},ne=[E.COMMENT("#","$",{contains:[ae]}),E.COMMENT("^=begin","^=end",{contains:[ae],relevance:10}),E.COMMENT("^__END__","\\n$")],Z={className:"subst",begin:/#\{/,end:/\}/,keywords:W},fe={className:"string",contains:[E.BACKSLASH_ESCAPE,Z],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:S.concat(/<<[-~]?'?/,S.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[E.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[E.BACKSLASH_ESCAPE,Z]})]}]},ye="[0-9](_?[0-9])*",ve={className:"number",relevance:0,variants:[{begin:"\\b([1-9](_?[0-9])*|0)(\\.(".concat(ye,"))?([eE][+-]?(").concat(ye,")|r)?i?\\b")},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},Ae={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:W},je=[fe,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[E.inherit(E.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+E.IDENT_RE+"::)?"+E.IDENT_RE,relevance:0}]}].concat(ne)},{className:"function",begin:S.concat(/def\s+/,S.lookahead($+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[E.inherit(E.TITLE_MODE,{begin:$}),Ae].concat(ne)},{begin:E.IDENT_RE+"::"},{className:"symbol",begin:E.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[fe,{begin:$}],relevance:0},ve,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:W},{begin:"("+E.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[E.BACKSLASH_ESCAPE,Z],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(U,ne),relevance:0}].concat(U,ne);Z.contains=je,Ae.contains=je;const it=[{begin:/^\s*=>/,starts:{end:"$",contains:je}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",contains:je}}];return ne.unshift(U),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:W,illegal:/\/\*/,contains:[E.SHEBANG({binary:"ruby"})].concat(it).concat(ne).concat(je)}},grmr_rust:E=>{const S=E.regex,$={className:"title.function.invoke",relevance:0,begin:S.concat(/\b/,/(?!let\b)/,E.IDENT_RE,S.lookahead(/\s*\(/))},W="([ui](8|16|32|64|128|size)|f(32|64))?",ae=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bin!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:E.IDENT_RE+"!?",type:["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"],keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:ae},illegal:"</",contains:[E.C_LINE_COMMENT_MODE,E.COMMENT("/\\*","\\*/",{contains:["self"]}),E.inherit(E.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+W},{begin:"\\b0o([0-7_]+)"+W},{begin:"\\b0x([A-Fa-f0-9_]+)"+W},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+W}],relevance:0},{begin:[/fn/,/\s+/,E.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,E.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,E.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,E.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,E.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:E.IDENT_RE+"::",keywords:{keyword:"Self",built_in:ae}},{className:"punctuation",begin:"->"},$]}},grmr_scss:E=>{const S=Xt(E),$=kn,W=cn,ae="@[a-z-]+",U={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,S.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},S.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+bn.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+W.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+$.join("|")+")"},U,{begin:/\(/,end:/\)/,contains:[S.CSS_NUMBER_MODE]},S.CSS_VARIABLE,{className:"attribute",begin:"\\b("+nr.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,contains:[S.BLOCK_COMMENT,U,S.HEXCOLOR,S.CSS_NUMBER_MODE,E.QUOTE_STRING_MODE,E.APOS_STRING_MODE,S.IMPORTANT]},{begin:"@(page|font-face)",keywords:{$pattern:ae,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:Pn.join(" ")},contains:[{begin:ae,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},U,E.QUOTE_STRING_MODE,E.APOS_STRING_MODE,S.HEXCOLOR,S.CSS_NUMBER_MODE]},S.FUNCTION_DISPATCH]}},grmr_shell:E=>({name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}),grmr_sql:E=>{const S=E.regex,$=E.COMMENT("--","$"),W=["true","false","unknown"],ae=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],U=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],ne=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],Z=U,fe=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(ve=>!U.includes(ve)),ye={begin:S.concat(/\b/,S.either(...Z),/\s*\(/),relevance:0,keywords:{built_in:Z}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:((ve,{exceptions:Ae,when:je}={})=>{const it=je;return Ae=Ae||[],ve.map(Ge=>Ge.match(/\|\d+$/)||Ae.includes(Ge)?Ge:it(Ge)?Ge+"|0":Ge)})(fe,{when:ve=>ve.length<3}),literal:W,type:ae,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:S.either(...ne),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:fe.concat(ne),literal:W,type:ae}},{className:"type",begin:S.either("double precision","large object","with timezone","without timezone")},ye,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},E.C_NUMBER_MODE,E.C_BLOCK_COMMENT_MODE,$,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},grmr_swift:E=>{const S={match:/\s+/,relevance:0},$=E.COMMENT("/\\*","\\*/",{contains:["self"]}),W=[E.C_LINE_COMMENT_MODE,$],ae={match:[/\./,b(...Er,...Gr)],className:{2:"keyword"}},U={match:g(/\./,b(...mo)),relevance:0},ne=mo.filter(ot=>typeof ot=="string").concat(["_|0"]),Z={variants:[{className:"keyword",match:b(...mo.filter(ot=>typeof ot!="string").concat(Kr).map(ma),...Gr)}]},fe={$pattern:b(/\b\w+/,/#\w+/),keyword:ne.concat(Ju),literal:Hs},ye=[ae,U,Z],ve=[{match:g(/\./,b(...Us)),relevance:0},{className:"built_in",match:g(/\b/,b(...Us),/(?=\()/)}],Ae={match:/->/,relevance:0},je=[Ae,{className:"operator",relevance:0,variants:[{match:xo},{match:"\\.(\\.|".concat(zs,")+")}]}],it="([0-9a-fA-F]_*)+",Ge={className:"number",relevance:0,variants:[{match:"\\b(([0-9]_*)+)(\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\b"},{match:"\\b0x(".concat(it,")(\\.(").concat(it,"))?([pP][+-]?(([0-9]_*)+))?\\b")},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},Lt=(ot="")=>({className:"subst",variants:[{match:g(/\\/,ot,/[0\\tnr"']/)},{match:g(/\\/,ot,/u\{[0-9a-fA-F]{1,8}\}/)}]}),En=(ot="")=>({className:"subst",match:g(/\\/,ot,/[\t ]*(?:[\r\n]|\r\n)/)}),yn=(ot="")=>({className:"subst",label:"interpol",begin:g(/\\/,ot,/\(/),end:/\)/}),tn=(ot="")=>({begin:g(ot,/"""/),end:g(/"""/,ot),contains:[Lt(ot),En(ot),yn(ot)]}),Te=(ot="")=>({begin:g(ot,/"/),end:g(/"/,ot),contains:[Lt(ot),yn(ot)]}),De={className:"string",variants:[tn(),tn("#"),tn("##"),tn("###"),Te(),Te("#"),Te("##"),Te("###")]},Ve={match:g(/`/,yr,/`/)},Rt=[Ve,{className:"variable",match:/\$\d+/},{className:"variable",match:"\\$".concat(yi,"+")}],Tt=[{match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:tc,contains:[...je,Ge,De]}]}},{className:"keyword",match:g(/@/,b(...ec))},{className:"meta",match:g(/@/,yr)}],gt={match:c(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:g(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,yi,"+")},{className:"type",match:Dr,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:g(/\s+&\s+/,c(Dr)),relevance:0}]},zt={begin:/</,end:/>/,keywords:fe,contains:[...W,...ye,...Tt,Ae,gt]};gt.contains.push(zt);const Gt={begin:/\(/,end:/\)/,relevance:0,keywords:fe,contains:["self",{match:g(yr,/\s*:/),keywords:"_|0",relevance:0},...W,...ye,...ve,...je,Ge,De,...Rt,...Tt,gt]},yt={begin:/</,end:/>/,contains:[...W,gt]},nn={begin:/\(/,end:/\)/,keywords:fe,contains:[{begin:b(c(g(yr,/\s*:/)),c(g(yr,/\s+/,yr,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:yr}]},...W,...ye,...je,Ge,De,...Tt,gt,Gt],endsParent:!0,illegal:/["']/},ir={match:[/func/,/\s+/,b(Ve.match,yr,xo)],className:{1:"keyword",3:"title.function"},contains:[yt,nn,S],illegal:[/\[/,/%/]},Pr={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[yt,nn,S],illegal:/\[|%/},vr={match:[/operator/,/\s+/,xo],className:{1:"keyword",3:"title"}},xa={begin:[/precedencegroup/,/\s+/,Dr],className:{1:"keyword",3:"title"},contains:[gt],keywords:[...Zu,...Hs],end:/}/};for(const ot of De.variants){const vi=ot.contains.find(qe=>qe.label==="interpol");vi.keywords=fe;const ba=[...ye,...ve,...je,Ge,De,...Rt];vi.contains=[...ba,{begin:/\(/,end:/\)/,contains:["self",...ba]}]}return{name:"Swift",keywords:fe,contains:[...W,ir,Pr,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:fe,contains:[E.inherit(E.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...ye]},vr,xa,{beginKeywords:"import",end:/$/,contains:[...W],relevance:0},...ye,...ve,...je,Ge,De,...Rt,...Tt,gt,Gt]}},grmr_typescript:E=>{const S=ct(E),$=["any","void","number","boolean","string","object","never","enum"],W={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[S.exports.CLASS_REFERENCE]},ae={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:$},contains:[S.exports.CLASS_REFERENCE]},U={$pattern:oe,keyword:we.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]),literal:qt,built_in:rr.concat($),"variable.language":_t},ne={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},Z=(fe,ye,ve)=>{const Ae=fe.contains.findIndex(je=>je.label===ye);if(Ae===-1)throw Error("can not find mode to replace");fe.contains.splice(Ae,1,ve)};return Object.assign(S.keywords,U),S.exports.PARAMS_CONTAINS.push(ne),S.contains=S.contains.concat([ne,W,ae]),Z(S,"shebang",E.SHEBANG()),Z(S,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),S.contains.find(fe=>fe.label==="func.def").relevance=0,Object.assign(S,{name:"TypeScript",aliases:["ts","tsx"]}),S},grmr_vbnet:E=>{const S=E.regex,$=/\d{1,2}\/\d{1,2}\/\d{4}/,W=/\d{4}-\d{1,2}-\d{1,2}/,ae=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,U=/\d{1,2}(:\d{1,2}){1,2}/,ne={className:"literal",variants:[{begin:S.concat(/# */,S.either(W,$),/ *#/)},{begin:S.concat(/# */,U,/ *#/)},{begin:S.concat(/# */,ae,/ *#/)},{begin:S.concat(/# */,S.either(W,$),/ +/,S.either(ae,U),/ *#/)}]},Z=E.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),fe=E.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},ne,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},Z,fe,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[fe]}]}},grmr_yaml:E=>{const S="true false yes no null",$="[\\w#;/?:@&=+$,.~*'()[\\]]+",W={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[E.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},ae=E.inherit(W,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),U={end:",",endsWithParent:!0,excludeEnd:!0,keywords:S,relevance:0},ne={begin:/\{/,end:/\}/,contains:[U],illegal:"\\n",relevance:0},Z={begin:"\\[",end:"\\]",contains:[U],illegal:"\\n",relevance:0},fe=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+$},{className:"type",begin:"!<"+$+">"},{className:"type",begin:"!"+$},{className:"type",begin:"!!"+$},{className:"meta",begin:"&"+E.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+E.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},E.HASH_COMMENT_MODE,{beginKeywords:S,keywords:{literal:S}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:E.C_NUMBER_RE+"\\b",relevance:0},ne,Z,W],ye=[...fe];return ye.pop(),ye.push(ae),U.contains=ye,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:fe}}});const Vs=br;for(const E of Object.keys(Ws)){const S=E.replace("grmr_","").replace("_","-");Vs.registerLanguage(S,Ws[E])}return Vs}();typeof exports=="object"&&typeof module<"u"&&(module.exports=Ib);var RA=Bt("<div>"),DA=Object.create,yd=Object.defineProperty,PA=Object.getOwnPropertyDescriptor,Nb=Object.getOwnPropertyNames,MA=Object.getPrototypeOf,BA=Object.prototype.hasOwnProperty,Bu=(e,t)=>function(){return t||(0,e[Nb(e)[0]])((t={exports:{}}).exports,t),t.exports},Lb=(e,t)=>{for(var n in t)yd(e,n,{get:t[n],enumerable:!0})},$A=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Nb(t))!BA.call(e,a)&&a!==n&&yd(e,a,{get:()=>t[a],enumerable:!(r=PA(t,a))||r.enumerable});return e},$u=(e,t,n)=>(n=e!=null?DA(MA(e)):{},$A(yd(n,"default",{value:e,enumerable:!0}),e)),Rb=Bu({"node_modules/.pnpm/is-buffer@2.0.5/node_modules/is-buffer/index.js"(e,t){t.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}}}),FA=Bu({"node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js"(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(c){return typeof Array.isArray=="function"?Array.isArray(c):r.call(c)==="[object Array]"},s=function(c){if(!c||r.call(c)!=="[object Object]")return!1;var f=n.call(c,"constructor"),p=c.constructor&&c.constructor.prototype&&n.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!f&&!p)return!1;var g;for(g in c);return typeof g>"u"||n.call(c,g)},l=function(c,f){a&&f.name==="__proto__"?a(c,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):c[f.name]=f.newValue},u=function(c,f){if(f==="__proto__")if(n.call(c,f)){if(i)return i(c,f).value}else return;return c[f]};t.exports=function d(){var c,f,p,g,b,m,x=arguments[0],v=1,y=arguments.length,w=!1;for(typeof x=="boolean"&&(w=x,x=arguments[1]||{},v=2),(x==null||typeof x!="object"&&typeof x!="function")&&(x={});v<y;++v)if(c=arguments[v],c!=null)for(f in c)p=u(x,f),g=u(c,f),x!==g&&(w&&g&&(s(g)||(b=o(g)))?(b?(b=!1,m=p&&o(p)?p:[]):m=p&&s(p)?p:{},l(x,{name:f,newValue:d(w,m,g)})):typeof g<"u"&&l(x,{name:f,newValue:g}));return x}}}),HA=Bu({"node_modules/.pnpm/inline-style-parser@0.1.1/node_modules/inline-style-parser/index.js"(e,t){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g,d="\n",c="/",f="*",p="",g="comment",b="declaration";t.exports=function(x,v){if(typeof x!="string")throw new TypeError("First argument must be a string");if(!x)return[];v=v||{};var y=1,w=1;function O(ue){var me=ue.match(r);me&&(y+=me.length);var Le=ue.lastIndexOf(d);w=~Le?ue.length-Le:w+ue.length}function T(){var ue={line:y,column:w};return function(me){return me.position=new A(ue),D(),me}}function A(ue){this.start=ue,this.end={line:y,column:w},this.source=v.source}A.prototype.content=x;function F(ue){var me=new Error(v.source+":"+y+":"+w+": "+ue);if(me.reason=ue,me.filename=v.source,me.line=y,me.column=w,me.source=x,!v.silent)throw me}function M(ue){var me=ue.exec(x);if(me){var Le=me[0];return O(Le),x=x.slice(Le.length),me}}function D(){M(a)}function B(ue){var me;for(ue=ue||[];me=V();)me!==!1&&ue.push(me);return ue}function V(){var ue=T();if(!(c!=x.charAt(0)||f!=x.charAt(1))){for(var me=2;p!=x.charAt(me)&&(f!=x.charAt(me)||c!=x.charAt(me+1));)++me;if(me+=2,p===x.charAt(me-1))return F("End of comment missing");var Le=x.slice(2,me-2);return w+=2,O(Le),x=x.slice(me),w+=2,ue({type:g,comment:Le})}}function J(){var ue=T(),me=M(i);if(me){if(V(),!M(o))return F("property missing ':'");var Le=M(s),re=ue({type:b,property:m(me[0].replace(n,p)),value:Le?m(Le[0].replace(n,p)):p});return M(l),re}}function ee(){var ue=[];B(ue);for(var me;me=J();)me!==!1&&(ue.push(me),B(ue));return ue}return D(),ee()};function m(x){return x?x.replace(u,p):p}}}),UA=Bu({"node_modules/.pnpm/style-to-object@0.4.1/node_modules/style-to-object/index.js"(e,t){var n=HA();function r(a,i){var o=null;if(!a||typeof a!="string")return o;for(var s,l=n(a),u=typeof i=="function",d,c,f=0,p=l.length;f<p;f++)s=l[f],d=s.property,c=s.value,u?i(d,c,s):c&&(o||(o={}),o[d]=c);return o}t.exports=r,t.exports.default=r}});function zA(e,t){const n={}.includeImageAlt;return Db(e,typeof n=="boolean"?n:!0)}function Db(e,t){return jA(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&yh(e.children,t))||Array.isArray(e)&&yh(e,t)||""}function yh(e,t){const n=[];let r=-1;for(;++r<e.length;)n[r]=Db(e[r],t);return n.join("")}function jA(e){return!!(e&&typeof e=="object")}function Vr(e,t,n,r){const a=e.length;let i=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);i<r.length;)o=r.slice(i,i+1e4),o.unshift(t,0),[].splice.apply(e,o),i+=1e4,t+=1e4}function ur(e,t){return e.length>0?(Vr(e,e.length,0,t),e):t}var vh={}.hasOwnProperty;function WA(e){const t={};let n=-1;for(;++n<e.length;)VA(t,e[n]);return t}function VA(e,t){let n;for(n in t){const a=(vh.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;for(o in i){vh.call(a,o)||(a[o]=[]);const s=i[o];qA(a[o],Array.isArray(s)?s:s?[s]:[])}}}function qA(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Vr(e,0,0,r)}var GA=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,zr=Ma(/[A-Za-z]/),_0=Ma(/\d/),KA=Ma(/[\dA-Fa-f]/),Jn=Ma(/[\dA-Za-z]/),YA=Ma(/[!-/:-@[-`{-~]/),_h=Ma(/[#-'*+\--9=?A-Z^-~]/);function T0(e){return e!==null&&(e<32||e===127)}function dr(e){return e!==null&&(e<0||e===32)}function Ye(e){return e!==null&&e<-2}function un(e){return e===-2||e===-1||e===32}var XA=Ma(/\s/),QA=Ma(GA);function Ma(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}function Ot(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(l){return un(l)?(e.enter(n),s(l)):t(l)}function s(l){return un(l)&&i++<a?(e.consume(l),s):(e.exit(n),t(l))}}var ZA={tokenize:JA};function JA(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ot(e,t,"linePrefix")}function a(s){return e.enter("paragraph"),i(s)}function i(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Ye(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),o)}}var e7={tokenize:t7},Th={tokenize:n7};function t7(e){const t=this,n=[];let r=0,a,i,o;return s;function s(y){if(r<n.length){const w=n[r];return t.containerState=w[1],e.attempt(w[0].continuation,l,u)(y)}return u(y)}function l(y){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&v();const w=t.events.length;let O=w,T;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){T=t.events[O][1].end;break}x(r);let A=w;for(;A<t.events.length;)t.events[A][1].end=Object.assign({},T),A++;return Vr(t.events,O+1,0,t.events.slice(w)),t.events.length=A,u(y)}return s(y)}function u(y){if(r===n.length){if(!a)return f(y);if(a.currentConstruct&&a.currentConstruct.concrete)return g(y);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Th,d,c)(y)}function d(y){return a&&v(),x(r),f(y)}function c(y){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,g(y)}function f(y){return t.containerState={},e.attempt(Th,p,g)(y)}function p(y){return r++,n.push([t.currentConstruct,t.containerState]),f(y)}function g(y){if(y===null){a&&v(),x(0),e.consume(y);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:a}),b(y)}function b(y){if(y===null){m(e.exit("chunkFlow"),!0),x(0),e.consume(y);return}return Ye(y)?(e.consume(y),m(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(y),b)}function m(y,w){const O=t.sliceStream(y);if(w&&O.push(null),y.previous=i,i&&(i.next=y),i=y,a.defineSkip(y.start),a.write(O),t.parser.lazy[y.start.line]){let T=a.events.length;for(;T--;)if(a.events[T][1].start.offset<o&&(!a.events[T][1].end||a.events[T][1].end.offset>o))return;const A=t.events.length;let F=A,M,D;for(;F--;)if(t.events[F][0]==="exit"&&t.events[F][1].type==="chunkFlow"){if(M){D=t.events[F][1].end;break}M=!0}for(x(r),T=A;T<t.events.length;)t.events[T][1].end=Object.assign({},D),T++;Vr(t.events,F+1,0,t.events.slice(A)),t.events.length=T}}function x(y){let w=n.length;for(;w-- >y;){const O=n[w];t.containerState=O[1],O[0].exit.call(t,e)}n.length=y}function v(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function n7(e,t,n){return Ot(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Sh(e){if(e===null||dr(e)||XA(e))return 1;if(QA(e))return 2}function vd(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}var S0={name:"attention",tokenize:a7,resolveAll:r7};function r7(e,t){let n=-1,r,a,i,o,s,l,u,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const c=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);Ch(c,-l),Ch(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:c,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:f},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=ur(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=ur(u,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=ur(u,vd(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=ur(u,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,u=ur(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,Vr(e,r-1,n-r+3,u),n=r+u.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function a7(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=Sh(r);let i;return o;function o(l){return e.enter("attentionSequence"),i=l,s(l)}function s(l){if(l===i)return e.consume(l),s;const u=e.exit("attentionSequence"),d=Sh(l),c=!d||d===2&&a||n.includes(l),f=!a||a===2&&d||n.includes(r);return u._open=!!(i===42?c:c&&(a||!f)),u._close=!!(i===42?f:f&&(d||!c)),t(l)}}function Ch(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var i7={name:"autolink",tokenize:o7};function o7(e,t,n){let r=1;return a;function a(g){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(g){return zr(g)?(e.consume(g),o):_h(g)?u(g):n(g)}function o(g){return g===43||g===45||g===46||Jn(g)?s(g):u(g)}function s(g){return g===58?(e.consume(g),l):(g===43||g===45||g===46||Jn(g))&&r++<32?(e.consume(g),s):u(g)}function l(g){return g===62?(e.exit("autolinkProtocol"),p(g)):g===null||g===32||g===60||T0(g)?n(g):(e.consume(g),l)}function u(g){return g===64?(e.consume(g),r=0,d):_h(g)?(e.consume(g),u):n(g)}function d(g){return Jn(g)?c(g):n(g)}function c(g){return g===46?(e.consume(g),r=0,d):g===62?(e.exit("autolinkProtocol").type="autolinkEmail",p(g)):f(g)}function f(g){return(g===45||Jn(g))&&r++<63?(e.consume(g),g===45?f:c):n(g)}function p(g){return e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t}}var Fu={tokenize:s7,partial:!0};function s7(e,t,n){return Ot(e,r,"linePrefix");function r(a){return a===null||Ye(a)?t(a):n(a)}}var Pb={name:"blockQuote",tokenize:l7,continuation:{tokenize:u7},exit:c7};function l7(e,t,n){const r=this;return a;function a(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return n(o)}function i(o){return un(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function u7(e,t,n){return Ot(e,e.attempt(Pb,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function c7(e){e.exit("blockQuote")}var Mb={name:"characterEscape",tokenize:d7};function d7(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return YA(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}var wh=document.createElement("i");function _d(e){const t="&"+e+";";wh.innerHTML=t;const n=wh.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}var Bb={name:"characterReference",tokenize:f7};function f7(e,t,n){const r=this;let a=0,i,o;return s;function s(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),l}function l(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),i=31,o=Jn,d(c))}function u(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=KA,d):(e.enter("characterReferenceValue"),i=7,o=_0,d(c))}function d(c){let f;return c===59&&a?(f=e.exit("characterReferenceValue"),o===Jn&&!_d(r.sliceSerialize(f))?n(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)):o(c)&&a++<i?(e.consume(c),d):n(c)}}var Ah={name:"codeFenced",tokenize:h7,concrete:!0};function h7(e,t,n){const r=this,a={tokenize:O,partial:!0},i={tokenize:w,partial:!0},o=this.events[this.events.length-1],s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0;let l=0,u;return d;function d(T){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u=T,c(T)}function c(T){return T===u?(e.consume(T),l++,c):(e.exit("codeFencedFenceSequence"),l<3?n(T):Ot(e,f,"whitespace")(T))}function f(T){return T===null||Ye(T)?m(T):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(T))}function p(T){return T===null||dr(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ot(e,g,"whitespace")(T)):T===96&&T===u?n(T):(e.consume(T),p)}function g(T){return T===null||Ye(T)?m(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(T))}function b(T){return T===null||Ye(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(T)):T===96&&T===u?n(T):(e.consume(T),b)}function m(T){return e.exit("codeFencedFence"),r.interrupt?t(T):x(T)}function x(T){return T===null?y(T):Ye(T)?e.attempt(i,e.attempt(a,y,s?Ot(e,x,"linePrefix",s+1):x),y)(T):(e.enter("codeFlowValue"),v(T))}function v(T){return T===null||Ye(T)?(e.exit("codeFlowValue"),x(T)):(e.consume(T),v)}function y(T){return e.exit("codeFenced"),t(T)}function w(T,A,F){const M=this;return D;function D(V){return T.enter("lineEnding"),T.consume(V),T.exit("lineEnding"),B}function B(V){return M.parser.lazy[M.now().line]?F(V):A(V)}}function O(T,A,F){let M=0;return Ot(T,D,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function D(J){return T.enter("codeFencedFence"),T.enter("codeFencedFenceSequence"),B(J)}function B(J){return J===u?(T.consume(J),M++,B):M<l?F(J):(T.exit("codeFencedFenceSequence"),Ot(T,V,"whitespace")(J))}function V(J){return J===null||Ye(J)?(T.exit("codeFencedFence"),A(J)):F(J)}}}var Cc={name:"codeIndented",tokenize:p7},g7={tokenize:m7,partial:!0};function p7(e,t,n){const r=this;return a;function a(u){return e.enter("codeIndented"),Ot(e,i,"linePrefix",5)(u)}function i(u){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?o(u):n(u)}function o(u){return u===null?l(u):Ye(u)?e.attempt(g7,o,l)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||Ye(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),s)}function l(u){return e.exit("codeIndented"),t(u)}}function m7(e,t,n){const r=this;return a;function a(o){return r.parser.lazy[r.now().line]?n(o):Ye(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):Ot(e,i,"linePrefix",5)(o)}function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):Ye(o)?a(o):n(o)}}var x7={name:"codeText",tokenize:y7,resolve:b7,previous:E7};function b7(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function E7(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function y7(e,t,n){let r=0,a,i;return o;function o(c){return e.enter("codeText"),e.enter("codeTextSequence"),s(c)}function s(c){return c===96?(e.consume(c),r++,s):(e.exit("codeTextSequence"),l(c))}function l(c){return c===null?n(c):c===96?(i=e.enter("codeTextSequence"),a=0,d(c)):c===32?(e.enter("space"),e.consume(c),e.exit("space"),l):Ye(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(c))}function u(c){return c===null||c===32||c===96||Ye(c)?(e.exit("codeTextData"),l(c)):(e.consume(c),u)}function d(c){return c===96?(e.consume(c),a++,d):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(c)):(i.type="codeTextData",u(c))}}function $b(e){const t={};let n=-1,r,a,i,o,s,l,u;for(;++n<e.length;){for(;n in t;)n=t[n];if(r=e[n],n&&r[1].type==="chunkFlow"&&e[n-1][1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,v7(e,n)),n=t[n],u=!0);else if(r[1]._container){for(i=n,a=void 0;i--&&(o=e[i],o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(a&&(e[a][1].type="lineEndingBlank"),o[1].type="lineEnding",a=i);a&&(r[1].end=Object.assign({},e[a][1].start),s=e.slice(a,n),s.unshift(r),Vr(e,a,n-a+1,s))}}return!u}function v7(e,t){const n=e[t][1],r=e[t][2];let a=t-1;const i=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,l=[],u={};let d,c,f=-1,p=n,g=0,b=0;const m=[b];for(;p;){for(;e[++a][1]!==p;);i.push(a),p._tokenizer||(d=r.sliceStream(p),p.next||d.push(null),c&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(d),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),c=p,p=p.next}for(p=n;++f<s.length;)s[f][0]==="exit"&&s[f-1][0]==="enter"&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(b=f+1,m.push(b),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):m.pop(),f=m.length;f--;){const x=s.slice(m[f],m[f+1]),v=i.pop();l.unshift([v,v+x.length-1]),Vr(e,v,2,x)}for(f=-1;++f<l.length;)u[g+l[f][0]]=g+l[f][1],g+=l[f][1]-l[f][0]-1;return u}var _7={tokenize:C7,resolve:S7},T7={tokenize:w7,partial:!0};function S7(e){return $b(e),e}function C7(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(s)}function a(s){return s===null?i(s):Ye(s)?e.check(T7,o,i)(s):(e.consume(s),a)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function w7(e,t,n){const r=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Ot(e,i,"linePrefix")}function i(o){if(o===null||Ye(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function Fb(e,t,n,r,a,i,o,s,l){const u=l||Number.POSITIVE_INFINITY;let d=0;return c;function c(x){return x===60?(e.enter(r),e.enter(a),e.enter(i),e.consume(x),e.exit(i),f):x===null||x===41||T0(x)?n(x):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),b(x))}function f(x){return x===62?(e.enter(i),e.consume(x),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===62?(e.exit("chunkString"),e.exit(s),f(x)):x===null||x===60||Ye(x)?n(x):(e.consume(x),x===92?g:p)}function g(x){return x===60||x===62||x===92?(e.consume(x),p):p(x)}function b(x){return x===40?++d>u?n(x):(e.consume(x),b):x===41?d--?(e.consume(x),b):(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(x)):x===null||dr(x)?d?n(x):(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(x)):T0(x)?n(x):(e.consume(x),x===92?m:b)}function m(x){return x===40||x===41||x===92?(e.consume(x),b):b(x)}}function Hb(e,t,n,r,a,i){const o=this;let s=0,l;return u;function u(p){return e.enter(r),e.enter(a),e.consume(p),e.exit(a),e.enter(i),d}function d(p){return p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs||s>999?n(p):p===93?(e.exit(i),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):Ye(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===null||p===91||p===93||Ye(p)||s++>999?(e.exit("chunkString"),d(p)):(e.consume(p),l=l||!un(p),p===92?f:c)}function f(p){return p===91||p===92||p===93?(e.consume(p),s++,c):c(p)}}function Ub(e,t,n,r,a,i){let o;return s;function s(f){return e.enter(r),e.enter(a),e.consume(f),e.exit(a),o=f===40?41:f,l}function l(f){return f===o?(e.enter(a),e.consume(f),e.exit(a),e.exit(r),t):(e.enter(i),u(f))}function u(f){return f===o?(e.exit(i),l(o)):f===null?n(f):Ye(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Ot(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(f))}function d(f){return f===o||f===null||Ye(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?c:d)}function c(f){return f===o||f===92?(e.consume(f),d):d(f)}}function Vo(e,t){let n;return r;function r(a){return Ye(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):un(a)?Ot(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}function $i(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var A7={name:"definition",tokenize:O7},k7={tokenize:I7,partial:!0};function O7(e,t,n){const r=this;let a;return i;function i(l){return e.enter("definition"),Hb.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function o(l){return a=$i(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),Vo(e,Fb(e,e.attempt(k7,Ot(e,s,"whitespace"),Ot(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(l)}function s(l){return l===null||Ye(l)?(e.exit("definition"),r.parser.defined.includes(a)||r.parser.defined.push(a),t(l)):n(l)}}function I7(e,t,n){return r;function r(o){return dr(o)?Vo(e,a)(o):n(o)}function a(o){return o===34||o===39||o===40?Ub(e,Ot(e,i,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):n(o)}function i(o){return o===null||Ye(o)?t(o):n(o)}}var N7={name:"hardBreakEscape",tokenize:L7};function L7(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(i),a}function a(i){return Ye(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):n(i)}}var R7={name:"headingAtx",tokenize:P7,resolve:D7};function D7(e,t){let n=e.length-2,r=3,a,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Vr(e,r,n-r+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function P7(e,t,n){const r=this;let a=0;return i;function i(d){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(d)}function o(d){return d===35&&a++<6?(e.consume(d),o):d===null||dr(d)?(e.exit("atxHeadingSequence"),r.interrupt?t(d):s(d)):n(d)}function s(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||Ye(d)?(e.exit("atxHeading"),t(d)):un(d)?Ot(e,s,"whitespace")(d):(e.enter("atxHeadingText"),u(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),s(d))}function u(d){return d===null||d===35||dr(d)?(e.exit("atxHeadingText"),s(d)):(e.consume(d),u)}}var M7=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],kh=["pre","script","style","textarea"],B7={name:"htmlFlow",tokenize:H7,resolveTo:F7,concrete:!0},$7={tokenize:U7,partial:!0};function F7(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function H7(e,t,n){const r=this;let a,i,o,s,l;return u;function u(R){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(R),d}function d(R){return R===33?(e.consume(R),c):R===47?(e.consume(R),g):R===63?(e.consume(R),a=3,r.interrupt?t:Fe):zr(R)?(e.consume(R),o=String.fromCharCode(R),i=!0,b):n(R)}function c(R){return R===45?(e.consume(R),a=2,f):R===91?(e.consume(R),a=5,o="CDATA[",s=0,p):zr(R)?(e.consume(R),a=4,r.interrupt?t:Fe):n(R)}function f(R){return R===45?(e.consume(R),r.interrupt?t:Fe):n(R)}function p(R){return R===o.charCodeAt(s++)?(e.consume(R),s===o.length?r.interrupt?t:B:p):n(R)}function g(R){return zr(R)?(e.consume(R),o=String.fromCharCode(R),b):n(R)}function b(R){return R===null||R===47||R===62||dr(R)?R!==47&&i&&kh.includes(o.toLowerCase())?(a=1,r.interrupt?t(R):B(R)):M7.includes(o.toLowerCase())?(a=6,R===47?(e.consume(R),m):r.interrupt?t(R):B(R)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(R):i?v(R):x(R)):R===45||Jn(R)?(e.consume(R),o+=String.fromCharCode(R),b):n(R)}function m(R){return R===62?(e.consume(R),r.interrupt?t:B):n(R)}function x(R){return un(R)?(e.consume(R),x):M(R)}function v(R){return R===47?(e.consume(R),M):R===58||R===95||zr(R)?(e.consume(R),y):un(R)?(e.consume(R),v):M(R)}function y(R){return R===45||R===46||R===58||R===95||Jn(R)?(e.consume(R),y):w(R)}function w(R){return R===61?(e.consume(R),O):un(R)?(e.consume(R),w):v(R)}function O(R){return R===null||R===60||R===61||R===62||R===96?n(R):R===34||R===39?(e.consume(R),l=R,T):un(R)?(e.consume(R),O):(l=null,A(R))}function T(R){return R===null||Ye(R)?n(R):R===l?(e.consume(R),F):(e.consume(R),T)}function A(R){return R===null||R===34||R===39||R===60||R===61||R===62||R===96||dr(R)?w(R):(e.consume(R),A)}function F(R){return R===47||R===62||un(R)?v(R):n(R)}function M(R){return R===62?(e.consume(R),D):n(R)}function D(R){return un(R)?(e.consume(R),D):R===null||Ye(R)?B(R):n(R)}function B(R){return R===45&&a===2?(e.consume(R),ue):R===60&&a===1?(e.consume(R),me):R===62&&a===4?(e.consume(R),ke):R===63&&a===3?(e.consume(R),Fe):R===93&&a===5?(e.consume(R),re):Ye(R)&&(a===6||a===7)?e.check($7,ke,V)(R):R===null||Ye(R)?V(R):(e.consume(R),B)}function V(R){return e.exit("htmlFlowData"),J(R)}function J(R){return R===null?C(R):Ye(R)?e.attempt({tokenize:ee,partial:!0},J,C)(R):(e.enter("htmlFlowData"),B(R))}function ee(R,xe,$e){return bt;function bt(rt){return R.enter("lineEnding"),R.consume(rt),R.exit("lineEnding"),nt}function nt(rt){return r.parser.lazy[r.now().line]?$e(rt):xe(rt)}}function ue(R){return R===45?(e.consume(R),Fe):B(R)}function me(R){return R===47?(e.consume(R),o="",Le):B(R)}function Le(R){return R===62&&kh.includes(o.toLowerCase())?(e.consume(R),ke):zr(R)&&o.length<8?(e.consume(R),o+=String.fromCharCode(R),Le):B(R)}function re(R){return R===93?(e.consume(R),Fe):B(R)}function Fe(R){return R===62?(e.consume(R),ke):R===45&&a===2?(e.consume(R),Fe):B(R)}function ke(R){return R===null||Ye(R)?(e.exit("htmlFlowData"),C(R)):(e.consume(R),ke)}function C(R){return e.exit("htmlFlow"),t(R)}}function U7(e,t,n){return r;function r(a){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),e.attempt(Fu,t,n)}}var z7={name:"htmlText",tokenize:j7};function j7(e,t,n){const r=this;let a,i,o,s;return l;function l(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),d):C===47?(e.consume(C),A):C===63?(e.consume(C),O):zr(C)?(e.consume(C),D):n(C)}function d(C){return C===45?(e.consume(C),c):C===91?(e.consume(C),i="CDATA[",o=0,m):zr(C)?(e.consume(C),w):n(C)}function c(C){return C===45?(e.consume(C),f):n(C)}function f(C){return C===null||C===62?n(C):C===45?(e.consume(C),p):g(C)}function p(C){return C===null||C===62?n(C):g(C)}function g(C){return C===null?n(C):C===45?(e.consume(C),b):Ye(C)?(s=g,re(C)):(e.consume(C),g)}function b(C){return C===45?(e.consume(C),ke):g(C)}function m(C){return C===i.charCodeAt(o++)?(e.consume(C),o===i.length?x:m):n(C)}function x(C){return C===null?n(C):C===93?(e.consume(C),v):Ye(C)?(s=x,re(C)):(e.consume(C),x)}function v(C){return C===93?(e.consume(C),y):x(C)}function y(C){return C===62?ke(C):C===93?(e.consume(C),y):x(C)}function w(C){return C===null||C===62?ke(C):Ye(C)?(s=w,re(C)):(e.consume(C),w)}function O(C){return C===null?n(C):C===63?(e.consume(C),T):Ye(C)?(s=O,re(C)):(e.consume(C),O)}function T(C){return C===62?ke(C):O(C)}function A(C){return zr(C)?(e.consume(C),F):n(C)}function F(C){return C===45||Jn(C)?(e.consume(C),F):M(C)}function M(C){return Ye(C)?(s=M,re(C)):un(C)?(e.consume(C),M):ke(C)}function D(C){return C===45||Jn(C)?(e.consume(C),D):C===47||C===62||dr(C)?B(C):n(C)}function B(C){return C===47?(e.consume(C),ke):C===58||C===95||zr(C)?(e.consume(C),V):Ye(C)?(s=B,re(C)):un(C)?(e.consume(C),B):ke(C)}function V(C){return C===45||C===46||C===58||C===95||Jn(C)?(e.consume(C),V):J(C)}function J(C){return C===61?(e.consume(C),ee):Ye(C)?(s=J,re(C)):un(C)?(e.consume(C),J):B(C)}function ee(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),a=C,ue):Ye(C)?(s=ee,re(C)):un(C)?(e.consume(C),ee):(e.consume(C),a=void 0,Le)}function ue(C){return C===a?(e.consume(C),me):C===null?n(C):Ye(C)?(s=ue,re(C)):(e.consume(C),ue)}function me(C){return C===62||C===47||dr(C)?B(C):n(C)}function Le(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===62||dr(C)?B(C):(e.consume(C),Le)}function re(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),Ot(e,Fe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Fe(C){return e.enter("htmlTextData"),s(C)}function ke(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}}var Td={name:"labelEnd",tokenize:Y7,resolveTo:K7,resolveAll:G7},W7={tokenize:X7},V7={tokenize:Q7},q7={tokenize:Z7};function G7(e){let t=-1,n;for(;++t<e.length;)n=e[t][1],(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++);return e}function K7(e,t){let n=e.length,r=0,a,i,o,s;for(;n--;)if(a=e[n][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(o=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[o][1].end)},d={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[["enter",l,t],["enter",u,t]],s=ur(s,e.slice(i+1,i+r+3)),s=ur(s,[["enter",d,t]]),s=ur(s,vd(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),s=ur(s,[["exit",d,t],e[o-2],e[o-1],["exit",u,t]]),s=ur(s,e.slice(o+1)),s=ur(s,[["exit",l,t]]),Vr(e,i,e.length,s),e}function Y7(e,t,n){const r=this;let a=r.events.length,i,o;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){i=r.events[a][1];break}return s;function s(d){return i?i._inactive?u(d):(o=r.parser.defined.includes($i(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),l):n(d)}function l(d){return d===40?e.attempt(W7,t,o?t:u)(d):d===91?e.attempt(V7,t,o?e.attempt(q7,t,u):u)(d):o?t(d):u(d)}function u(d){return i._balanced=!0,n(d)}}function X7(e,t,n){return r;function r(l){return e.enter("resource"),e.enter("resourceMarker"),e.consume(l),e.exit("resourceMarker"),Vo(e,a)}function a(l){return l===41?s(l):Fb(e,i,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(l)}function i(l){return dr(l)?Vo(e,o)(l):s(l)}function o(l){return l===34||l===39||l===40?Ub(e,Vo(e,s),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(l):s(l)}function s(l){return l===41?(e.enter("resourceMarker"),e.consume(l),e.exit("resourceMarker"),e.exit("resource"),t):n(l)}}function Q7(e,t,n){const r=this;return a;function a(o){return Hb.call(r,e,i,n,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes($i(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}}function Z7(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}var J7={name:"labelStartImage",tokenize:ek,resolveAll:Td.resolveAll};function ek(e,t,n){const r=this;return a;function a(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i}function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}var tk={name:"labelStartLink",tokenize:nk,resolveAll:Td.resolveAll};function nk(e,t,n){const r=this;return a;function a(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),i}function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}var wc={name:"lineEnding",tokenize:rk};function rk(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Ot(e,t,"linePrefix")}}var vl={name:"thematicBreak",tokenize:ak};function ak(e,t,n){let r=0,a;return i;function i(l){return e.enter("thematicBreak"),a=l,o(l)}function o(l){return l===a?(e.enter("thematicBreakSequence"),s(l)):un(l)?Ot(e,o,"whitespace")(l):r<3||l!==null&&!Ye(l)?n(l):(e.exit("thematicBreak"),t(l))}function s(l){return l===a?(e.consume(l),r++,s):(e.exit("thematicBreakSequence"),o(l))}}var $n={name:"list",tokenize:sk,continuation:{tokenize:lk},exit:ck},ik={tokenize:dk,partial:!0},ok={tokenize:uk,partial:!0};function sk(e,t,n){const r=this,a=r.events[r.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,o=0;return s;function s(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:_0(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(vl,n,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return _0(p)&&++o<10?(e.consume(p),l):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):n(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Fu,r.interrupt?n:d,e.attempt(ik,f,c))}function d(p){return r.containerState.initialBlankLine=!0,i++,f(p)}function c(p){return un(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function lk(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Fu,a,i);function a(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ot(e,t,"listItemIndent",r.containerState.size+1)(s)}function i(s){return r.containerState.furtherBlankLines||!un(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ok,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ot(e,e.attempt($n,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function uk(e,t,n){const r=this;return Ot(e,a,"listItemIndent",r.containerState.size+1);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(i):n(i)}}function ck(e){e.exit(this.containerState.type)}function dk(e,t,n){const r=this;return Ot(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const o=r.events[r.events.length-1];return!un(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}var Oh={name:"setextUnderline",tokenize:hk,resolveTo:fk};function fk(e,t){let n=e.length,r,a,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const o={type:"setextHeading",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",o,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}function hk(e,t,n){const r=this;let a=r.events.length,i,o;for(;a--;)if(r.events[a][1].type!=="lineEnding"&&r.events[a][1].type!=="linePrefix"&&r.events[a][1].type!=="content"){o=r.events[a][1].type==="paragraph";break}return s;function s(d){return!r.parser.lazy[r.now().line]&&(r.interrupt||o)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=d,l(d)):n(d)}function l(d){return d===i?(e.consume(d),l):(e.exit("setextHeadingLineSequence"),Ot(e,u,"lineSuffix")(d))}function u(d){return d===null||Ye(d)?(e.exit("setextHeadingLine"),t(d)):n(d)}}var gk={tokenize:pk};function pk(e){const t=this,n=e.attempt(Fu,r,e.attempt(this.parser.constructs.flowInitial,a,Ot(e,e.attempt(this.parser.constructs.flow,a,e.attempt(_7,a)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var mk={resolveAll:jb()},xk=zb("string"),bk=zb("text");function zb(e){return{tokenize:t,resolveAll:jb(e==="text"?Ek:void 0)};function t(n){const r=this,a=this.parser.constructs[e],i=n.attempt(a,o,s);return o;function o(d){return u(d)?i(d):s(d)}function s(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return u(d)?(n.exit("data"),i(d)):(n.consume(d),l)}function u(d){if(d===null)return!0;const c=a[d];let f=-1;if(c)for(;++f<c.length;){const p=c[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function jb(e){return t;function t(n,r){let a=-1,i;for(;++a<=n.length;)i===void 0?n[a]&&n[a][1].type==="data"&&(i=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==i+2&&(n[i][1].end=n[a-1][1].end,n.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(n,r):n}}function Ek(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let i=a.length,o=-1,s=0,l;for(;i--;){const u=a[i];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(u===-2)l=!0,s++;else if(u!==-1){i++;break}}if(s){const u={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+i,_bufferIndex:i?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},u.start),r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}function yk(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const a={},i=[];let o=[],s=[];const l={consume:v,enter:y,exit:w,attempt:A(O),check:A(T),interrupt:A(T,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:f,now:g,defineSkip:b,write:c};let d=t.tokenize.call(u,l);return t.resolveAll&&i.push(t),u;function c(B){return o=ur(o,B),m(),o[o.length-1]!==null?[]:(F(t,0),u.events=vd(i,u.events,u),u.events)}function f(B,V){return _k(p(B),V)}function p(B){return vk(o,B)}function g(){return Object.assign({},r)}function b(B){a[B.line]=B.column,D()}function m(){let B;for(;r._index<o.length;){const V=o[r._index];if(typeof V=="string")for(B=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===B&&r._bufferIndex<V.length;)x(V.charCodeAt(r._bufferIndex));else x(V)}}function x(B){d=d(B)}function v(B){Ye(B)?(r.line++,r.column=1,r.offset+=B===-3?2:1,D()):B!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=B}function y(B,V){const J=V||{};return J.type=B,J.start=g(),u.events.push(["enter",J,u]),s.push(J),J}function w(B){const V=s.pop();return V.end=g(),u.events.push(["exit",V,u]),V}function O(B,V){F(B,V.from)}function T(B,V){V.restore()}function A(B,V){return J;function J(ee,ue,me){let Le,re,Fe,ke;return Array.isArray(ee)?R(ee):"tokenize"in ee?R([ee]):C(ee);function C(nt){return rt;function rt(lt){const Et=lt!==null&&nt[lt],ie=lt!==null&&nt.null,Ce=[...Array.isArray(Et)?Et:Et?[Et]:[],...Array.isArray(ie)?ie:ie?[ie]:[]];return R(Ce)(lt)}}function R(nt){return Le=nt,re=0,nt.length===0?me:xe(nt[re])}function xe(nt){return rt;function rt(lt){return ke=M(),Fe=nt,nt.partial||(u.currentConstruct=nt),nt.name&&u.parser.constructs.disable.null.includes(nt.name)?bt():nt.tokenize.call(V?Object.assign(Object.create(u),V):u,l,$e,bt)(lt)}}function $e(nt){return B(Fe,ke),ue}function bt(nt){return ke.restore(),++re<Le.length?xe(Le[re]):me}}}function F(B,V){B.resolveAll&&!i.includes(B)&&i.push(B),B.resolve&&Vr(u.events,V,u.events.length-V,B.resolve(u.events.slice(V),u)),B.resolveTo&&(u.events=B.resolveTo(u.events,u))}function M(){const B=g(),V=u.previous,J=u.currentConstruct,ee=u.events.length,ue=Array.from(s);return{restore:me,from:ee};function me(){r=B,u.previous=V,u.currentConstruct=J,u.events.length=ee,s=ue,D()}}function D(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function vk(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let o;return n===a?o=[e[n].slice(r,i)]:(o=e.slice(n,a),r>-1&&(o[0]=o[0].slice(r)),i>0&&o.push(e[a].slice(0,i))),o}function _k(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const i=e[n];let o;if(typeof i=="string")o=i;else switch(i){case-5:{o="\r";break}case-4:{o="\n";break}case-3:{o="\r\n";break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&a)continue;o=" ";break}default:o=String.fromCharCode(i)}a=i===-2,r.push(o)}return r.join("")}var Wb={};Lb(Wb,{attentionMarkers:()=>Ik,contentInitial:()=>Sk,disable:()=>Nk,document:()=>Tk,flow:()=>wk,flowInitial:()=>Ck,insideSpan:()=>Ok,string:()=>Ak,text:()=>kk});var Tk={42:$n,43:$n,45:$n,48:$n,49:$n,50:$n,51:$n,52:$n,53:$n,54:$n,55:$n,56:$n,57:$n,62:Pb},Sk={91:A7},Ck={[-2]:Cc,[-1]:Cc,32:Cc},wk={35:R7,42:vl,45:[Oh,vl],60:B7,61:Oh,95:vl,96:Ah,126:Ah},Ak={38:Bb,92:Mb},kk={[-5]:wc,[-4]:wc,[-3]:wc,33:J7,38:Bb,42:S0,60:[i7,z7],91:tk,92:[N7,Mb],93:Td,95:S0,96:x7},Ok={null:[S0,mk]},Ik={null:[42,95]},Nk={null:[]};function Lk(e={}){const t=WA([Wb].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r(ZA),document:r(e7),flow:r(gk),string:r(xk),text:r(bk)};return n;function r(a){return i;function i(o){return yk(n,a,o)}}}var Ih=/[\0\t\n\r]/g;function Rk(){let e=1,t="",n=!0,r;return a;function a(i,o,s){const l=[];let u,d,c,f,p;for(i=t+i.toString(o),c=0,t="",n&&(i.charCodeAt(0)===65279&&c++,n=void 0);c<i.length;){if(Ih.lastIndex=c,u=Ih.exec(i),f=u&&u.index!==void 0?u.index:i.length,p=i.charCodeAt(f),!u){t=i.slice(c);break}if(p===10&&c===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),c<f&&(l.push(i.slice(c,f)),e+=f-c),p){case 0:{l.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}c=f+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}function Dk(e){for(;!$b(e););return e}function Vb(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}var Pk=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Mk(e){return e.replace(Pk,Bk)}function Bk(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return Vb(n.slice(i?2:1),i?16:10)}return _d(n)||e}function qo(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Nh(e.position):"start"in e||"end"in e?Nh(e):"line"in e||"column"in e?C0(e):""}function C0(e){return Lh(e&&e.line)+":"+Lh(e&&e.column)}function Nh(e){return C0(e&&e.start)+"-"+C0(e&&e.end)}function Lh(e){return e&&typeof e=="number"?e:1}var qb={}.hasOwnProperty,$k=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Fk(n)(Dk(Lk(n).document().write(Rk()(e,t,!0))))};function Fk(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Xt),autolinkProtocol:B,autolinkEmail:B,atxHeading:s(We),blockQuote:s(Ce),characterEscape:B,characterReference:B,codeFenced:s(Qe),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Qe,l),codeText:s(ht,l),codeTextData:B,data:B,codeFlowValue:B,definition:s(Dn),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(xr),hardBreakEscape:s(fn),hardBreakTrailing:s(fn),htmlFlow:s(qn,l),htmlFlowData:B,htmlText:s(qn,l),htmlTextData:B,image:s(br),label:l,link:s(Xt),listItem:s(Pn),listItemValue:g,listOrdered:s(bn,p),listUnordered:s(bn),paragraph:s(cn),reference:bt,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(We),strong:s(kn),thematicBreak:s(Rr)},exit:{atxHeading:d(),atxHeadingSequence:A,autolink:d(),autolinkEmail:ie,autolinkProtocol:Et,blockQuote:d(),characterEscapeValue:V,characterReferenceMarkerHexadecimal:rt,characterReferenceMarkerNumeric:rt,characterReferenceValue:lt,codeFenced:d(v),codeFencedFence:x,codeFencedFenceInfo:b,codeFencedFenceMeta:m,codeFlowValue:V,codeIndented:d(y),codeText:d(Le),codeTextData:V,data:V,definition:d(),definitionDestinationString:T,definitionLabelString:w,definitionTitleString:O,emphasis:d(),hardBreakEscape:d(ee),hardBreakTrailing:d(ee),htmlFlow:d(ue),htmlFlowData:V,htmlText:d(me),htmlTextData:V,image:d(Fe),label:C,labelText:ke,lineEnding:J,link:d(re),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:nt,resourceDestinationString:R,resourceTitleString:xe,resource:$e,setextHeading:d(D),setextHeadingLineSequence:M,setextHeadingText:F,strong:d(),thematicBreak:d()}};Gb(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(Q){let z={type:"root",children:[]};const I={stack:[z],tokenStack:[],config:t,enter:u,exit:c,buffer:l,resume:f,setData:i,getData:o},te=[];let oe=-1;for(;++oe<Q.length;)if(Q[oe][1].type==="listOrdered"||Q[oe][1].type==="listUnordered")if(Q[oe][0]==="enter")te.push(oe);else{const we=te.pop();oe=a(Q,we,oe)}for(oe=-1;++oe<Q.length;){const we=t[Q[oe][0]];qb.call(we,Q[oe][1].type)&&we[Q[oe][1].type].call(Object.assign({sliceSerialize:Q[oe][2].sliceSerialize},I),Q[oe][1])}if(I.tokenStack.length>0){const we=I.tokenStack[I.tokenStack.length-1];(we[1]||Rh).call(I,void 0,we[0])}for(z.position={start:Ea(Q.length>0?Q[0][1].start:{line:1,column:1,offset:0}),end:Ea(Q.length>0?Q[Q.length-2][1].end:{line:1,column:1,offset:0})},oe=-1;++oe<t.transforms.length;)z=t.transforms[oe](z)||z;return z}function a(Q,z,I){let te=z-1,oe=-1,we=!1,qt,Yt,$t,hn;for(;++te<=I;){const _t=Q[te];if(_t[1].type==="listUnordered"||_t[1].type==="listOrdered"||_t[1].type==="blockQuote"?(_t[0]==="enter"?oe++:oe--,hn=void 0):_t[1].type==="lineEndingBlank"?_t[0]==="enter"&&(qt&&!hn&&!oe&&!$t&&($t=te),hn=void 0):_t[1].type==="linePrefix"||_t[1].type==="listItemValue"||_t[1].type==="listItemMarker"||_t[1].type==="listItemPrefix"||_t[1].type==="listItemPrefixWhitespace"||(hn=void 0),!oe&&_t[0]==="enter"&&_t[1].type==="listItemPrefix"||oe===-1&&_t[0]==="exit"&&(_t[1].type==="listUnordered"||_t[1].type==="listOrdered")){if(qt){let rr=te;for(Yt=void 0;rr--;){const ct=Q[rr];if(ct[1].type==="lineEnding"||ct[1].type==="lineEndingBlank"){if(ct[0]==="exit")continue;Yt&&(Q[Yt][1].type="lineEndingBlank",we=!0),ct[1].type="lineEnding",Yt=rr}else if(!(ct[1].type==="linePrefix"||ct[1].type==="blockQuotePrefix"||ct[1].type==="blockQuotePrefixWhitespace"||ct[1].type==="blockQuoteMarker"||ct[1].type==="listItemIndent"))break}$t&&(!Yt||$t<Yt)&&(qt._spread=!0),qt.end=Object.assign({},Yt?Q[Yt][1].start:_t[1].end),Q.splice(Yt||te,0,["exit",qt,_t[2]]),te++,I++}_t[1].type==="listItemPrefix"&&(qt={type:"listItem",_spread:!1,start:Object.assign({},_t[1].start)},Q.splice(te,0,["enter",qt,_t[2]]),te++,I++,$t=void 0,hn=!0)}}return Q[z][1]._spread=we,I}function i(Q,z){n[Q]=z}function o(Q){return n[Q]}function s(Q,z){return I;function I(te){u.call(this,Q(te),te),z&&z.call(this,te)}}function l(){this.stack.push({type:"fragment",children:[]})}function u(Q,z,I){return this.stack[this.stack.length-1].children.push(Q),this.stack.push(Q),this.tokenStack.push([z,I]),Q.position={start:Ea(z.start)},Q}function d(Q){return z;function z(I){Q&&Q.call(this,I),c.call(this,I)}}function c(Q,z){const I=this.stack.pop(),te=this.tokenStack.pop();if(te)te[0].type!==Q.type&&(z?z.call(this,Q,te[0]):(te[1]||Rh).call(this,Q,te[0]));else throw new Error("Cannot close `"+Q.type+"` ("+qo({start:Q.start,end:Q.end})+"): it’s not open");return I.position.end=Ea(Q.end),I}function f(){return zA(this.stack.pop())}function p(){i("expectingFirstListItemValue",!0)}function g(Q){if(o("expectingFirstListItemValue")){const z=this.stack[this.stack.length-2];z.start=Number.parseInt(this.sliceSerialize(Q),10),i("expectingFirstListItemValue")}}function b(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.lang=Q}function m(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.meta=Q}function x(){o("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))}function v(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.value=Q.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}function y(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.value=Q.replace(/(\r?\n|\r)$/g,"")}function w(Q){const z=this.resume(),I=this.stack[this.stack.length-1];I.label=z,I.identifier=$i(this.sliceSerialize(Q)).toLowerCase()}function O(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.title=Q}function T(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.url=Q}function A(Q){const z=this.stack[this.stack.length-1];if(!z.depth){const I=this.sliceSerialize(Q).length;z.depth=I}}function F(){i("setextHeadingSlurpLineEnding",!0)}function M(Q){const z=this.stack[this.stack.length-1];z.depth=this.sliceSerialize(Q).charCodeAt(0)===61?1:2}function D(){i("setextHeadingSlurpLineEnding")}function B(Q){const z=this.stack[this.stack.length-1];let I=z.children[z.children.length-1];(!I||I.type!=="text")&&(I=nr(),I.position={start:Ea(Q.start)},z.children.push(I)),this.stack.push(I)}function V(Q){const z=this.stack.pop();z.value+=this.sliceSerialize(Q),z.position.end=Ea(Q.end)}function J(Q){const z=this.stack[this.stack.length-1];if(o("atHardBreak")){const I=z.children[z.children.length-1];I.position.end=Ea(Q.end),i("atHardBreak");return}!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(z.type)&&(B.call(this,Q),V.call(this,Q))}function ee(){i("atHardBreak",!0)}function ue(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.value=Q}function me(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.value=Q}function Le(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.value=Q}function re(){const Q=this.stack[this.stack.length-1];if(o("inReference")){const z=o("referenceType")||"shortcut";Q.type+="Reference",Q.referenceType=z,delete Q.url,delete Q.title}else delete Q.identifier,delete Q.label;i("referenceType")}function Fe(){const Q=this.stack[this.stack.length-1];if(o("inReference")){const z=o("referenceType")||"shortcut";Q.type+="Reference",Q.referenceType=z,delete Q.url,delete Q.title}else delete Q.identifier,delete Q.label;i("referenceType")}function ke(Q){const z=this.sliceSerialize(Q),I=this.stack[this.stack.length-2];I.label=Mk(z),I.identifier=$i(z).toLowerCase()}function C(){const Q=this.stack[this.stack.length-1],z=this.resume(),I=this.stack[this.stack.length-1];if(i("inReference",!0),I.type==="link"){const te=Q.children;I.children=te}else I.alt=z}function R(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.url=Q}function xe(){const Q=this.resume(),z=this.stack[this.stack.length-1];z.title=Q}function $e(){i("inReference")}function bt(){i("referenceType","collapsed")}function nt(Q){const z=this.resume(),I=this.stack[this.stack.length-1];I.label=z,I.identifier=$i(this.sliceSerialize(Q)).toLowerCase(),i("referenceType","full")}function rt(Q){i("characterReferenceType",Q.type)}function lt(Q){const z=this.sliceSerialize(Q),I=o("characterReferenceType");let te;I?(te=Vb(z,I==="characterReferenceMarkerNumeric"?10:16),i("characterReferenceType")):te=_d(z);const oe=this.stack.pop();oe.value+=te,oe.position.end=Ea(Q.end)}function Et(Q){V.call(this,Q);const z=this.stack[this.stack.length-1];z.url=this.sliceSerialize(Q)}function ie(Q){V.call(this,Q);const z=this.stack[this.stack.length-1];z.url="mailto:"+this.sliceSerialize(Q)}function Ce(){return{type:"blockquote",children:[]}}function Qe(){return{type:"code",lang:null,meta:null,value:""}}function ht(){return{type:"inlineCode",value:""}}function Dn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function xr(){return{type:"emphasis",children:[]}}function We(){return{type:"heading",depth:void 0,children:[]}}function fn(){return{type:"break"}}function qn(){return{type:"html",value:""}}function br(){return{type:"image",title:null,url:"",alt:null}}function Xt(){return{type:"link",title:null,url:"",children:[]}}function bn(Q){return{type:"list",ordered:Q.type==="listOrdered",start:null,spread:Q._spread,children:[]}}function Pn(Q){return{type:"listItem",spread:Q._spread,checked:null,children:[]}}function cn(){return{type:"paragraph",children:[]}}function kn(){return{type:"strong",children:[]}}function nr(){return{type:"text",value:""}}function Rr(){return{type:"thematicBreak"}}}function Ea(e){return{line:e.line,column:e.column,offset:e.offset}}function Gb(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Gb(e,r):Hk(e,r)}}function Hk(e,t){let n;for(n in t)if(qb.call(t,n)){if(n==="canContainEols"){const r=t[n];r&&e[n].push(...r)}else if(n==="transforms"){const r=t[n];r&&e[n].push(...r)}else if(n==="enter"||n==="exit"){const r=t[n];r&&Object.assign(e[n],r)}}}function Rh(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+qo({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+qo({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+qo({start:t.start,end:t.end})+") is still open")}function Uk(e){Object.assign(this,{Parser:n=>{const r=this.data("settings");return $k(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var zk=Uk;function jk(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Wk(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]}function Vk(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,a={};r&&(a.className=["language-"+r]);let i={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function qk(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Gk(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function so(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let o="";if(i===37&&Jn(e.charCodeAt(n+1))&&Jn(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){const s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(o=String.fromCharCode(i,s),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function Kb(e,t){const n=String(t.identifier).toUpperCase(),r=so(n.toLowerCase()),a=e.footnoteOrder.indexOf(n);let i;a===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=a+1);const o=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function Kk(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const a=String(r);return n[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},Kb(e,{type:"footnoteReference",identifier:a,position:t.position})}function Yk(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Xk(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function Yb(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const o=a[a.length-1];return o&&o.type==="text"?o.value+=r:a.push({type:"text",value:r}),a}function Qk(e,t){const n=e.definition(t.identifier);if(!n)return Yb(e,t);const r={src:so(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)}function Zk(e,t){const n={src:so(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Jk(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function e8(e,t){const n=e.definition(t.identifier);if(!n)return Yb(e,t);const r={href:so(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function t8(e,t){const n={href:so(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function n8(e,t,n){const r=e.all(t),a=n?r8(n):Xb(t),i={},o=[];if(typeof t.checked=="boolean"){const d=r[0];let c;d&&d.type==="element"&&d.tagName==="p"?c=d:(c={type:"element",tagName:"p",properties:{},children:[]},r.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const d=r[s];(a||s!==0||d.type!=="element"||d.tagName!=="p")&&o.push({type:"text",value:"\n"}),d.type==="element"&&d.tagName==="p"&&!a?o.push(...d.children):o.push(d)}const l=r[r.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&o.push({type:"text",value:"\n"});const u={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,u),e.applyData(t,u)}function r8(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Xb(n[r])}return t}function Xb(e){const t=e.spread;return t==null?e.children.length>1:t}function a8(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const o=r[a];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function i8(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function o8(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function s8(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var Sd=Qb("start"),Cd=Qb("end");function l8(e){return{start:Sd(e),end:Cd(e)}}function Qb(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function u8(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),a.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=Sd(t.children[1]),l=Cd(t.children[t.children.length-1]);s.line&&l.line&&(o.position={start:s,end:l}),a.push(o)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function c8(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let l=-1;const u=[];for(;++l<s;){const c=t.children[l],f={},p=o?o[l]:void 0;p&&(f.align=p);let g={type:"element",tagName:i,properties:f,children:[]};c&&(g.children=e.all(c),e.patch(c,g),g=e.applyData(t,g)),u.push(g)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,d),e.applyData(t,d)}function d8(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var Dh=9,Ph=32;function f8(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const i=[];for(;r;)i.push(Mh(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(Mh(t.slice(a),a>0,!1)),i.join("")}function Mh(e,t,n){let r=0,a=e.length;if(t){let i=e.codePointAt(r);for(;i===Dh||i===Ph;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(a-1);for(;i===Dh||i===Ph;)a--,i=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function h8(e,t){const n={type:"text",value:f8(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function g8(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var p8={blockquote:jk,break:Wk,code:Vk,delete:qk,emphasis:Gk,footnoteReference:Kb,footnote:Kk,heading:Yk,html:Xk,imageReference:Qk,image:Zk,inlineCode:Jk,linkReference:e8,link:t8,listItem:n8,list:a8,paragraph:i8,root:o8,strong:s8,table:u8,tableCell:d8,tableRow:c8,text:h8,thematicBreak:g8,toml:al,yaml:al,definition:al,footnoteDefinition:al};function al(){return null}var Zb=function(e){if(e==null)return E8;if(typeof e=="string")return b8(e);if(typeof e=="object")return Array.isArray(e)?m8(e):x8(e);if(typeof e=="function")return Hu(e);throw new Error("Expected function, string, or object as test")};function m8(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Zb(e[n]);return Hu(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].call(this,...a))return!0;return!1}}function x8(e){return Hu(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function b8(e){return Hu(t);function t(n){return n&&n.type===e}}function Hu(e){return t;function t(n,...r){return!!(n&&typeof n=="object"&&"type"in n&&e.call(this,n,...r))}}function E8(){return!0}var y8=!0,Bh=!1,v8="skip",_8=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const a=Zb(t),i=r?-1:1;o(e,void 0,[])();function o(s,l,u){const d=s&&typeof s=="object"?s:{};if(typeof d.type=="string"){const f=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(c,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return c;function c(){let f=[],p,g,b;if((!t||a(s,l,u[u.length-1]||null))&&(f=T8(n(s,u)),f[0]===Bh))return f;if(s.children&&f[0]!==v8)for(g=(r?s.children.length:-1)+i,b=u.concat(s);g>-1&&g<s.children.length;){if(p=o(s.children[g],g,b)(),p[0]===Bh)return p;g=typeof p[1]=="number"?p[1]:g+i}return f}}};function T8(e){return Array.isArray(e)?e:typeof e=="number"?[y8,e]:[e]}var wd=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),_8(e,t,a,r);function a(i,o){const s=o[o.length-1];return n(i,s?s.children.indexOf(i):null,s)}};function S8(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}var $h={}.hasOwnProperty;function C8(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return wd(e,"definition",r=>{const a=Fh(r.identifier);a&&!$h.call(t,a)&&(t[a]=r)}),n;function n(r){const a=Fh(r);return a&&$h.call(t,a)?t[a]:null}}function Fh(e){return String(e||"").toUpperCase()}var Kl={}.hasOwnProperty;function w8(e,t){const n=t||{},r=n.allowDangerousHtml||!1,a={};return o.dangerous=r,o.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteLabelTagName=n.footnoteLabelTagName||"h2",o.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,o.handlers={...p8,...n.handlers},o.definition=C8(e),o.footnoteById=a,o.footnoteOrder=[],o.footnoteCounts={},o.patch=A8,o.applyData=k8,o.one=s,o.all=l,o.wrap=I8,o.augment=i,wd(e,"footnoteDefinition",u=>{const d=String(u.identifier).toUpperCase();Kl.call(a,d)||(a[d]=u)}),o;function i(u,d){if(u&&"data"in u&&u.data){const c=u.data;c.hName&&(d.type!=="element"&&(d={type:"element",tagName:"",properties:{},children:[]}),d.tagName=c.hName),d.type==="element"&&c.hProperties&&(d.properties={...d.properties,...c.hProperties}),"children"in d&&d.children&&c.hChildren&&(d.children=c.hChildren)}if(u){const c="type"in u?u:{position:u};S8(c)||(d.position={start:Sd(c),end:Cd(c)})}return d}function o(u,d,c,f){return Array.isArray(c)&&(f=c,c={}),i(u,{type:"element",tagName:d,properties:c||{},children:f||[]})}function s(u,d){return Jb(o,u,d)}function l(u){return Ad(o,u)}}function A8(e,t){e.position&&(t.position=l8(e))}function k8(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function Jb(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Kl.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:Ad(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):O8(e,t)}function Ad(e,t){const n=[];if("children"in t){const r=t.children;let a=-1;for(;++a<r.length;){const i=Jb(e,r[a],t);if(i){if(a&&r[a-1].type==="break"&&(!Array.isArray(i)&&i.type==="text"&&(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&i.type==="element")){const o=i.children[0];o&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,""))}Array.isArray(i)?n.push(...i):n.push(i)}}}return n}function O8(e,t){const n=t.data||{},r="value"in t&&!(Kl.call(n,"hProperties")||Kl.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:Ad(e,t)};return e.patch(t,r),e.applyData(t,r)}function I8(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function N8(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const a=e.all(r),i=String(r.identifier).toUpperCase(),o=so(i.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[i];){const c={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&c.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(c)}const u=a[a.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const c=u.children[u.children.length-1];c&&c.type==="text"?c.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else a.push(...l);const d={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:e.wrap(a,!0)};e.patch(r,d),t.push(d)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}function e2(e,t){const n=w8(e,t),r=n.one(e,null),a=N8(n);return a&&r.children.push({type:"text",value:"\n"},a),Array.isArray(r)?{type:"root",children:r}:r}var L8=function(e,t){return e&&"run"in e?D8(e,t):P8(e||t)},R8=L8;function D8(e,t){return(n,r,a)=>{e.run(e2(n,t),r,i=>{a(i)})}}function P8(e){return t=>e2(t,e)}var Rs=class{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};Rs.prototype.property={};Rs.prototype.normal={};Rs.prototype.space=null;function t2(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new Rs(n,r,t)}function w0(e){return e.toLowerCase()}var gr=class{constructor(t,n){this.property=t,this.attribute=n}};gr.prototype.space=null;gr.prototype.boolean=!1;gr.prototype.booleanish=!1;gr.prototype.overloadedBoolean=!1;gr.prototype.number=!1;gr.prototype.commaSeparated=!1;gr.prototype.spaceSeparated=!1;gr.prototype.commaOrSpaceSeparated=!1;gr.prototype.mustUseProperty=!1;gr.prototype.defined=!1;var Yl={};Lb(Yl,{boolean:()=>tt,booleanish:()=>on,commaOrSpaceSeparated:()=>Xn,commaSeparated:()=>Fi,number:()=>he,overloadedBoolean:()=>n2,spaceSeparated:()=>Ht});var M8=0,tt=pi(),on=pi(),n2=pi(),he=pi(),Ht=pi(),Fi=pi(),Xn=pi();function pi(){return 2**++M8}var Ac=Object.keys(Yl),kd=class extends gr{constructor(t,n,r,a){let i=-1;if(super(t,n),Hh(this,"space",a),typeof r=="number")for(;++i<Ac.length;){const o=Ac[i];Hh(this,Ac[i],(r&Yl[o])===Yl[o])}}};kd.prototype.defined=!0;function Hh(e,t,n){n&&(e[t]=n)}var B8={}.hasOwnProperty;function lo(e){const t={},n={};let r;for(r in e.properties)if(B8.call(e.properties,r)){const a=e.properties[r],i=new kd(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[w0(r)]=r,n[w0(i.attribute)]=r}return new Rs(t,n,e.space)}var r2=lo({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),a2=lo({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function i2(e,t){return t in e?e[t]:t}function o2(e,t){return i2(e,t.toLowerCase())}var s2=lo({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:o2,properties:{xmlns:null,xmlnsXLink:null}}),l2=lo({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:on,ariaAutoComplete:null,ariaBusy:on,ariaChecked:on,ariaColCount:he,ariaColIndex:he,ariaColSpan:he,ariaControls:Ht,ariaCurrent:null,ariaDescribedBy:Ht,ariaDetails:null,ariaDisabled:on,ariaDropEffect:Ht,ariaErrorMessage:null,ariaExpanded:on,ariaFlowTo:Ht,ariaGrabbed:on,ariaHasPopup:null,ariaHidden:on,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ht,ariaLevel:he,ariaLive:null,ariaModal:on,ariaMultiLine:on,ariaMultiSelectable:on,ariaOrientation:null,ariaOwns:Ht,ariaPlaceholder:null,ariaPosInSet:he,ariaPressed:on,ariaReadOnly:on,ariaRelevant:null,ariaRequired:on,ariaRoleDescription:Ht,ariaRowCount:he,ariaRowIndex:he,ariaRowSpan:he,ariaSelected:on,ariaSetSize:he,ariaSort:null,ariaValueMax:he,ariaValueMin:he,ariaValueNow:he,ariaValueText:null,role:null}}),$8=lo({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o2,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fi,acceptCharset:Ht,accessKey:Ht,action:null,allow:null,allowFullScreen:tt,allowPaymentRequest:tt,allowUserMedia:tt,alt:null,as:null,async:tt,autoCapitalize:null,autoComplete:Ht,autoFocus:tt,autoPlay:tt,capture:tt,charSet:null,checked:tt,cite:null,className:Ht,cols:he,colSpan:null,content:null,contentEditable:on,controls:tt,controlsList:Ht,coords:he|Fi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:tt,defer:tt,dir:null,dirName:null,disabled:tt,download:n2,draggable:on,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:tt,formTarget:null,headers:Ht,height:he,hidden:tt,high:he,href:null,hrefLang:null,htmlFor:Ht,httpEquiv:Ht,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:tt,itemId:null,itemProp:Ht,itemRef:Ht,itemScope:tt,itemType:Ht,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:tt,low:he,manifest:null,max:null,maxLength:he,media:null,method:null,min:null,minLength:he,multiple:tt,muted:tt,name:null,nonce:null,noModule:tt,noValidate:tt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:tt,optimum:he,pattern:null,ping:Ht,placeholder:null,playsInline:tt,poster:null,preload:null,readOnly:tt,referrerPolicy:null,rel:Ht,required:tt,reversed:tt,rows:he,rowSpan:he,sandbox:Ht,scope:null,scoped:tt,seamless:tt,selected:tt,shape:null,size:he,sizes:null,slot:null,span:he,spellCheck:on,src:null,srcDoc:null,srcLang:null,srcSet:null,start:he,step:null,style:null,tabIndex:he,target:null,title:null,translate:null,type:null,typeMustMatch:tt,useMap:null,value:on,width:he,wrap:null,align:null,aLink:null,archive:Ht,axis:null,background:null,bgColor:null,border:he,borderColor:null,bottomMargin:he,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:tt,declare:tt,event:null,face:null,frame:null,frameBorder:null,hSpace:he,leftMargin:he,link:null,longDesc:null,lowSrc:null,marginHeight:he,marginWidth:he,noResize:tt,noHref:tt,noShade:tt,noWrap:tt,object:null,profile:null,prompt:null,rev:null,rightMargin:he,rules:null,scheme:null,scrolling:on,standby:null,summary:null,text:null,topMargin:he,valueType:null,version:null,vAlign:null,vLink:null,vSpace:he,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:tt,disableRemotePlayback:tt,prefix:null,property:null,results:he,security:null,unselectable:null}}),F8=lo({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:i2,properties:{about:Xn,accentHeight:he,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:he,amplitude:he,arabicForm:null,ascent:he,attributeName:null,attributeType:null,azimuth:he,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:he,by:null,calcMode:null,capHeight:he,className:Ht,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:he,diffuseConstant:he,direction:null,display:null,dur:null,divisor:he,dominantBaseline:null,download:tt,dx:null,dy:null,edgeMode:null,editable:null,elevation:he,enableBackground:null,end:null,event:null,exponent:he,externalResourcesRequired:null,fill:null,fillOpacity:he,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Fi,g2:Fi,glyphName:Fi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:he,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:he,horizOriginX:he,horizOriginY:he,id:null,ideographic:he,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:he,k:he,k1:he,k2:he,k3:he,k4:he,kernelMatrix:Xn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:he,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:he,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:he,overlineThickness:he,paintOrder:null,panose1:null,path:null,pathLength:he,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ht,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:he,pointsAtY:he,pointsAtZ:he,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xn,rev:Xn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xn,requiredFeatures:Xn,requiredFonts:Xn,requiredFormats:Xn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:he,specularExponent:he,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:he,strikethroughThickness:he,string:null,stroke:null,strokeDashArray:Xn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:he,strokeOpacity:he,strokeWidth:null,style:null,surfaceScale:he,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xn,tabIndex:he,tableValues:null,target:null,targetX:he,targetY:he,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xn,to:null,transform:null,u1:null,u2:null,underlinePosition:he,underlineThickness:he,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:he,values:null,vAlphabetic:he,vMathematical:he,vectorEffect:null,vHanging:he,vIdeographic:he,version:null,vertAdvY:he,vertOriginX:he,vertOriginY:he,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:he,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),H8=/^data[-\w.:]+$/i,Uh=/-[a-z]/g,U8=/[A-Z]/g;function z8(e,t){const n=w0(t);let r=t,a=gr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&H8.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Uh,W8);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Uh.test(i)){let o=i.replace(U8,j8);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=kd}return new a(r,t)}function j8(e){return"-"+e.toLowerCase()}function W8(e){return e.charAt(1).toUpperCase()}var zh={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},V8=t2([a2,r2,s2,l2,$8],"html"),q8=t2([a2,r2,s2,l2,F8],"svg");function jh(e){if(e)throw e}var G8=$u(Rb()),Wh=$u(FA());function A0(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function K8(){const e=[],t={run:n,use:r};return t;function n(...a){let i=-1;const o=a.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...a);function s(l,...u){const d=e[++i];let c=-1;if(l){o(l);return}for(;++c<a.length;)(u[c]===null||u[c]===void 0)&&(u[c]=a[c]);a=u,d?Y8(d,s)(...u):o(null,...u)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function Y8(e,t){let n;return r;function r(...o){const s=e.length>o.length;let l;s&&o.push(a);try{l=e.apply(this,o)}catch(u){const d=u;if(s&&n)throw d;return a(d)}s||(l instanceof Promise?l.then(i,a):l instanceof Error?a(l):i(l))}function a(o,...s){n||(n=!0,t(o,...s))}function i(o){a(null,o)}}var X8=$u(Rb()),pr=class extends Error{constructor(e,t,n){const r=[null,null];let a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof t=="string"&&(n=t,t=void 0),typeof n=="string"){const i=n.indexOf(":");i===-1?r[1]=n:(r[0]=n.slice(0,i),r[1]=n.slice(i+1))}t&&("type"in t||"position"in t?t.position&&(a=t.position):"start"in t||"end"in t?a=t:("line"in t||"column"in t)&&(a.start=t)),this.name=qo(t)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack="",typeof e=="object"&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.position=a,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}};pr.prototype.file="";pr.prototype.name="";pr.prototype.reason="";pr.prototype.message="";pr.prototype.stack="";pr.prototype.fatal=null;pr.prototype.column=null;pr.prototype.line=null;pr.prototype.source=null;pr.prototype.ruleId=null;pr.prototype.position=null;var Hr={basename:Q8,dirname:Z8,extname:J8,join:e9,sep:"/"};function Q8(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ds(e);let n=0,r=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(i){n=a+1;break}}else r<0&&(i=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(e.charCodeAt(a)===47){if(i){n=a+1;break}}else o<0&&(i=!0,o=a+1),s>-1&&(e.charCodeAt(a)===t.charCodeAt(s--)?s<0&&(r=a):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function Z8(e){if(Ds(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function J8(e){Ds(e);let t=e.length,n=-1,r=0,a=-1,i=0,o;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||n<0||i===0||i===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function e9(...e){let t=-1,n;for(;++t<e.length;)Ds(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":t9(n)}function t9(e){Ds(e);const t=e.charCodeAt(0)===47;let n=n9(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function n9(e,t){let n="",r=0,a=-1,i=0,o=-1,s,l;for(;++o<=e.length;){if(o<e.length)s=e.charCodeAt(o);else{if(s===47)break;s=47}if(s===47){if(!(a===o-1||i===1))if(a!==o-1&&i===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),a=o,i=0;continue}}else if(n.length>0){n="",r=0,a=o,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),r=o-a-1;a=o,i=0}else s===46&&i>-1?i++:i=-1}return n}function Ds(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var r9={cwd:a9};function a9(){return"/"}function k0(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function i9(e){if(typeof e=="string")e=new URL(e);else if(!k0(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return o9(e)}function o9(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.charCodeAt(n)===37&&t.charCodeAt(n+1)===50){const r=t.charCodeAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}var kc=["history","path","basename","stem","extname","dirname"],u2=class{constructor(e){let t;e?typeof e=="string"||s9(e)?t={value:e}:k0(e)?t={path:e}:t=e:t={},this.data={},this.messages=[],this.history=[],this.cwd=r9.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<kc.length;){const a=kc[n];a in t&&t[a]!==void 0&&t[a]!==null&&(this[a]=a==="history"?[...t[a]]:t[a])}let r;for(r in t)kc.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){k0(e)&&(e=i9(e)),Ic(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return typeof this.path=="string"?Hr.dirname(this.path):void 0}set dirname(e){Vh(this.basename,"dirname"),this.path=Hr.join(e||"",this.basename)}get basename(){return typeof this.path=="string"?Hr.basename(this.path):void 0}set basename(e){Ic(e,"basename"),Oc(e,"basename"),this.path=Hr.join(this.dirname||"",e)}get extname(){return typeof this.path=="string"?Hr.extname(this.path):void 0}set extname(e){if(Oc(e,"extname"),Vh(this.dirname,"extname"),e){if(e.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Hr.join(this.dirname,this.stem+(e||""))}get stem(){return typeof this.path=="string"?Hr.basename(this.path,this.extname):void 0}set stem(e){Ic(e,"stem"),Oc(e,"stem"),this.path=Hr.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){const r=new pr(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}};function Oc(e,t){if(e&&e.includes(Hr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Hr.sep+"`")}function Ic(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Vh(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function s9(e){return(0,X8.default)(e)}var l9=d2().freeze(),c2={}.hasOwnProperty;function d2(){const e=K8(),t=[];let n={},r,a=-1;return i.data=o,i.Parser=void 0,i.Compiler=void 0,i.freeze=s,i.attachers=t,i.use=l,i.parse=u,i.stringify=d,i.run=c,i.runSync=f,i.process=p,i.processSync=g,i;function i(){const b=d2();let m=-1;for(;++m<t.length;)b.use(...t[m]);return b.data((0,Wh.default)(!0,{},n)),b}function o(b,m){return typeof b=="string"?arguments.length===2?(Rc("data",r),n[b]=m,i):c2.call(n,b)&&n[b]||null:b?(Rc("data",r),n=b,i):n}function s(){if(r)return i;for(;++a<t.length;){const[b,...m]=t[a];if(m[0]===!1)continue;m[0]===!0&&(m[0]=void 0);const x=b.call(i,...m);typeof x=="function"&&e.use(x)}return r=!0,a=Number.POSITIVE_INFINITY,i}function l(b,...m){let x;if(Rc("use",r),b!=null)if(typeof b=="function")O(b,...m);else if(typeof b=="object")Array.isArray(b)?w(b):y(b);else throw new TypeError("Expected usable value, not `"+b+"`");return x&&(n.settings=Object.assign(n.settings||{},x)),i;function v(T){if(typeof T=="function")O(T);else if(typeof T=="object")if(Array.isArray(T)){const[A,...F]=T;O(A,...F)}else y(T);else throw new TypeError("Expected usable value, not `"+T+"`")}function y(T){w(T.plugins),T.settings&&(x=Object.assign(x||{},T.settings))}function w(T){let A=-1;if(T!=null)if(Array.isArray(T))for(;++A<T.length;){const F=T[A];v(F)}else throw new TypeError("Expected a list of plugins, not `"+T+"`")}function O(T,A){let F=-1,M;for(;++F<t.length;)if(t[F][0]===T){M=t[F];break}M?(A0(M[1])&&A0(A)&&(A=(0,Wh.default)(!0,M[1],A)),M[1]=A):t.push([...arguments])}}function u(b){i.freeze();const m=No(b),x=i.Parser;return Nc("parse",x),qh(x,"parse")?new x(String(m),m).parse():x(String(m),m)}function d(b,m){i.freeze();const x=No(m),v=i.Compiler;return Lc("stringify",v),Gh(b),qh(v,"compile")?new v(b,x).compile():v(b,x)}function c(b,m,x){if(Gh(b),i.freeze(),!x&&typeof m=="function"&&(x=m,m=void 0),!x)return new Promise(v);v(null,x);function v(y,w){e.run(b,No(m),O);function O(T,A,F){A=A||b,T?w(T):y?y(A):x(null,A,F)}}}function f(b,m){let x,v;return i.run(b,m,y),Kh("runSync","run",v),x;function y(w,O){jh(w),x=O,v=!0}}function p(b,m){if(i.freeze(),Nc("process",i.Parser),Lc("process",i.Compiler),!m)return new Promise(x);x(null,m);function x(v,y){const w=No(b);i.run(i.parse(w),w,(T,A,F)=>{if(T||!A||!F)O(T);else{const M=i.stringify(A,F);M==null||(d9(M)?F.value=M:F.result=M),O(T,F)}});function O(T,A){T||!A?y(T):v?v(A):m(null,A)}}}function g(b){let m;i.freeze(),Nc("processSync",i.Parser),Lc("processSync",i.Compiler);const x=No(b);return i.process(x,v),Kh("processSync","process",m),x;function v(y){m=!0,jh(y)}}}function qh(e,t){return typeof e=="function"&&e.prototype&&(u9(e.prototype)||t in e.prototype)}function u9(e){let t;for(t in e)if(c2.call(e,t))return!0;return!1}function Nc(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Lc(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Rc(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Gh(e){if(!A0(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Kh(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function No(e){return c9(e)?e:new u2(e)}function c9(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function d9(e){return typeof e=="string"||(0,G8.default)(e)}function f9(e){return e.join(" ").trim()}function h9(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var g9=$u(UA()),p9=g9.default,O0={}.hasOwnProperty,m9=new Set(["table","thead","tbody","tfoot","tr"]);function f2(e,t){const n=[];let r=-1;for(;++r<t.children.length;){const a=t.children[r];a.type==="element"?n.push(x9(e,a,r,t)):a.type==="text"?(t.type!=="element"||!m9.has(t.tagName)||a.value!=="\n")&&n.push(a.value):a.type==="raw"&&!e.options.skipHtml&&n.push(a.value)}return n}function x9(e,t,n,r){const a=e.options,i=e.schema,o=t.tagName,s={};let l=i,u;if(i.space==="html"&&o==="svg"&&(l=q8,e.schema=l),t.properties)for(u in t.properties)O0.call(t.properties,u)&&E9(s,u,t.properties[u],e);(o==="ol"||o==="ul")&&e.listDepth++;const d=f2(e,t);(o==="ol"||o==="ul")&&e.listDepth--,e.schema=i;const c=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},f=a.components&&O0.call(a.components,o)?a.components[o]:o,p=typeof f=="string";if(s.key=[o,c.start.line,c.start.column,n].join("-"),o==="a"&&a.linkTarget&&(s.target=typeof a.linkTarget=="function"?a.linkTarget(String(s.href||""),t.children,typeof s.title=="string"?s.title:void 0):a.linkTarget),o==="a"&&a.transformLinkUri&&(s.href=a.transformLinkUri(String(s.href||""),t.children,typeof s.title=="string"?s.title:void 0)),!p&&o==="code"&&r.type==="element"&&r.tagName!=="pre"&&(s.inline=!0),!p&&(o==="h1"||o==="h2"||o==="h3"||o==="h4"||o==="h5"||o==="h6")&&(s.level=Number.parseInt(o.charAt(1),10)),o==="img"&&a.transformImageUri&&(s.src=a.transformImageUri(String(s.src||""),String(s.alt||""),typeof s.title=="string"?s.title:void 0)),!p&&o==="li"&&r.type==="element"){const g=b9(t);s.checked=g&&g.properties?!!g.properties.checked:null,s.index=Dc(r,t),s.ordered=r.tagName==="ol"}return!p&&(o==="ol"||o==="ul")&&(s.ordered=o==="ol",s.depth=e.listDepth),(o==="td"||o==="th")&&(s.align&&(s.style||(s.style={}),s.style.textAlign=s.align,delete s.align),p||(s.isHeader=o==="th")),!p&&o==="tr"&&r.type==="element"&&(s.isHeader=r.tagName==="thead"),a.sourcePos&&(s["data-sourcepos"]=_9(c)),!p&&a.rawSourcePos&&(s.sourcePosition=t.position),!p&&a.includeElementIndex&&(s.index=Dc(r,t),s.siblingCount=Dc(r)),p||(s.node=t),_(K0,K({component:f},s,{children:d}))}function b9(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n.type==="element"&&n.tagName==="input")return n}return null}function Dc(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)e.children[n].type==="element"&&r++;return r}function E9(e,t,n,r){const a=z8(r.schema,t);let i=n;i==null||i!==i||(Array.isArray(i)&&(i=a.commaSeparated?h9(i):f9(i)),a.property==="style"&&typeof i=="string"&&(i=y9(i)),a.space&&a.property?e[O0.call(zh,a.property)?zh[a.property]:a.property]=i:a.attribute&&(e[a.attribute]=i))}function y9(e){const t={};try{p9(e,n)}catch(r){}return t;function n(r,a){const i=r.slice(0,4)==="-ms-"?"ms-".concat(r.slice(4)):r;t[i.replace(/-([a-z])/g,v9)]=a}}function v9(e,t){return t.toUpperCase()}function _9(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(t=>String(t)).join("")}var T9=e=>{if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{wd(t,"element",(n,r,a)=>{const i=a;if(i===null)return;let o;if(e.allowedElements?o=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(n.tagName)),!o&&e.allowElement&&typeof r=="number"&&(o=!e.allowElement(n,r,i)),o&&typeof r=="number")return e.unwrapDisallowed&&n.children?i.children.splice(r,1,...n.children):i.children.splice(r,1),r})}},S9=T9,C9={remarkPlugins:[],rehypePlugins:[],class:"",unwrapDisallowed:!1,disallowedElements:void 0,allowedElements:void 0,allowElement:void 0,children:"",sourcePos:!1,rawSourcePos:!1,skipHtml:!1,includeElementIndex:!1,transformLinkUri:null,transformImageUri:void 0,linkTarget:"_self",components:{}},w9=e=>{const t=K(C9,e),n=l9().use(zk).use(t.remarkPlugins||[]).use(R8,{allowDangerousHtml:!0}).use(t.rehypePlugins||[]).use(S9,t),r=new u2;typeof t.children=="string"?r.value=t.children:t.children!==void 0&&t.children!==null&&console.warn("[solid-markdown] Warning: please pass a string as `children` (not: `".concat(t.children,"`)"));const a=n.runSync(n.parse(r),r);if(a.type!=="root")throw new TypeError("Expected a `root` node");return(()=>{var i=RA();return ua(i,()=>f2({options:t,schema:V8,listDepth:0},a)),Ln(()=>Ap(i,t.class)),i})()},A9=w9;/*! Bundled license information:
|
|
13
|
+
|
|
14
|
+
is-buffer/index.js:
|
|
15
|
+
(*!
|
|
16
|
+
* Determine if an object is a Buffer
|
|
17
|
+
*
|
|
18
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
19
|
+
* @license MIT
|
|
20
|
+
*)
|
|
21
|
+
*/function _l(e,t,n,r){const a=e.length;let i=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i<r.length;)o=r.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}const Yh={}.hasOwnProperty;function k9(e){const t={};let n=-1;for(;++n<e.length;)O9(t,e[n]);return t}function O9(e,t){let n;for(n in t){const a=(Yh.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Yh.call(a,o)||(a[o]=[]);const s=i[o];I9(a[o],Array.isArray(s)?s:s?[s]:[])}}}function I9(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);_l(e,0,0,r)}const N9=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,hs=zu(/[A-Za-z]/),Od=zu(/[\dA-Za-z]/);function L9(e){return e!==null&&(e<32||e===127)}function Li(e){return e!==null&&e<-2}function Wn(e){return e!==null&&(e<0||e===32)}function Jr(e){return e===-2||e===-1||e===32}const Uu=zu(N9),fi=zu(/\s/);function zu(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}const R9={tokenize:F9,partial:!0},h2={tokenize:H9,partial:!0},g2={tokenize:U9,partial:!0},p2={tokenize:z9,partial:!0},D9={tokenize:j9,partial:!0},m2={tokenize:B9,previous:b2},x2={tokenize:$9,previous:E2},pa={tokenize:M9,previous:y2},qr={},P9={text:qr};let Xa=48;for(;Xa<123;)qr[Xa]=pa,Xa++,Xa===58?Xa=65:Xa===91&&(Xa=97);qr[43]=pa;qr[45]=pa;qr[46]=pa;qr[95]=pa;qr[72]=[pa,x2];qr[104]=[pa,x2];qr[87]=[pa,m2];qr[119]=[pa,m2];function M9(e,t,n){const r=this;let a,i;return o;function o(c){return!I0(c)||!y2.call(r,r.previous)||Id(r.events)?n(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(c))}function s(c){return I0(c)?(e.consume(c),s):c===64?(e.consume(c),l):n(c)}function l(c){return c===46?e.check(D9,d,u)(c):c===45||c===95||Od(c)?(i=!0,e.consume(c),l):d(c)}function u(c){return e.consume(c),a=!0,l}function d(c){return i&&a&&hs(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):n(c)}}function B9(e,t,n){const r=this;return a;function a(o){return o!==87&&o!==119||!b2.call(r,r.previous)||Id(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(R9,e.attempt(h2,e.attempt(g2,i),n),n)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function $9(e,t,n){const r=this;let a="",i=!1;return o;function o(c){return(c===72||c===104)&&E2.call(r,r.previous)&&!Id(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(c),e.consume(c),s):n(c)}function s(c){if(hs(c)&&a.length<5)return a+=String.fromCodePoint(c),e.consume(c),s;if(c===58){const f=a.toLowerCase();if(f==="http"||f==="https")return e.consume(c),l}return n(c)}function l(c){return c===47?(e.consume(c),i?u:(i=!0,l)):n(c)}function u(c){return c===null||L9(c)||Wn(c)||fi(c)||Uu(c)?n(c):e.attempt(h2,e.attempt(g2,d),n)(c)}function d(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function F9(e,t,n){let r=0;return a;function a(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),a):o===46&&r===3?(e.consume(o),i):n(o)}function i(o){return o===null?n(o):t(o)}}function H9(e,t,n){let r,a,i;return o;function o(u){return u===46||u===95?e.check(p2,l,s)(u):u===null||Wn(u)||fi(u)||u!==45&&Uu(u)?l(u):(i=!0,e.consume(u),o)}function s(u){return u===95?r=!0:(a=r,r=void 0),e.consume(u),o}function l(u){return a||r||!i?n(u):t(u)}}function U9(e,t){let n=0,r=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&r<n?i(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(p2,t,i)(o):o===null||Wn(o)||fi(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&r++,e.consume(o),a}}function z9(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),i):s===93?(e.consume(s),a):s===60||s===null||Wn(s)||fi(s)?t(s):n(s)}function a(s){return s===null||s===40||s===91||Wn(s)||fi(s)?t(s):r(s)}function i(s){return hs(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),r):hs(s)?(e.consume(s),o):n(s)}}function j9(e,t,n){return r;function r(i){return e.consume(i),a}function a(i){return Od(i)?n(i):t(i)}}function b2(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Wn(e)}function E2(e){return!hs(e)}function y2(e){return!(e===47||I0(e))}function I0(e){return e===43||e===45||e===46||e===95||Od(e)}function Id(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Xh(e){if(e===null||Wn(e)||fi(e))return 1;if(Uu(e))return 2}function W9(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function ea(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(l){return Jr(l)?(e.enter(n),s(l)):t(l)}function s(l){return Jr(l)&&i++<a?(e.consume(l),s):(e.exit(n),t(l))}}const V9={tokenize:q9,partial:!0};function q9(e,t,n){return r;function r(i){return Jr(i)?ea(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||Li(i)?t(i):n(i)}}const Qh=document.createElement("i");function G9(e){const t="&"+e+";";Qh.innerHTML=t;const n=Qh.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Ps(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const K9={tokenize:nO,partial:!0};function Y9(){return{document:{91:{tokenize:J9,continuation:{tokenize:eO},exit:tO}},text:{91:{tokenize:Z9},93:{add:"after",tokenize:X9,resolveTo:Q9}}}}function X9(e,t,n){const r=this;let a=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;a--;){const l=r.events[a][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const u=Ps(r.sliceSerialize({start:o.end,end:r.now()}));return u.codePointAt(0)!==94||!i.includes(u.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Q9(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function Z9(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,o;return s;function s(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),l}function l(c){return c!==94?n(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(c){if(i>999||c===93&&!o||c===null||c===91||Wn(c))return n(c);if(c===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(Ps(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(c)}return Wn(c)||(o=!0),i++,e.consume(c),c===92?d:u}function d(c){return c===91||c===92||c===93?(e.consume(c),i++,u):u(c)}}function J9(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0,s;return l;function l(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(g)}function d(g){if(o>999||g===93&&!s||g===null||g===91||Wn(g))return n(g);if(g===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return i=Ps(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return Wn(g)||(s=!0),o++,e.consume(g),g===92?c:d}function c(g){return g===91||g===92||g===93?(e.consume(g),o++,d):d(g)}function f(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),a.includes(i)||a.push(i),ea(e,p,"gfmFootnoteDefinitionWhitespace")):n(g)}function p(g){return t(g)}}function eO(e,t,n){return e.check(V9,t,e.attempt(K9,t,n))}function tO(e){e.exit("gfmFootnoteDefinition")}function nO(e,t,n){const r=this;return ea(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):n(i)}}function rO(e){let n=(e||{}).singleTilde;const r={tokenize:i,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(o,s){let l=-1;for(;++l<o.length;)if(o[l][0]==="enter"&&o[l][1].type==="strikethroughSequenceTemporary"&&o[l][1]._close){let u=l;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[l][1].end.offset-o[l][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[l][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[l][1].end)},c={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[l][1].start)},f=[["enter",d,s],["enter",o[u][1],s],["exit",o[u][1],s],["enter",c,s]],p=s.parser.constructs.insideSpan.null;p&&_l(f,f.length,0,W9(p,o.slice(u+1,l),s)),_l(f,f.length,0,[["exit",c,s],["enter",o[l][1],s],["exit",o[l][1],s],["exit",d,s]]),_l(o,u-1,l-u+3,f),l=u+f.length-2;break}}for(l=-1;++l<o.length;)o[l][1].type==="strikethroughSequenceTemporary"&&(o[l][1].type="data");return o}function i(o,s,l){const u=this.previous,d=this.events;let c=0;return f;function f(g){return u===126&&d[d.length-1][1].type!=="characterEscape"?l(g):(o.enter("strikethroughSequenceTemporary"),p(g))}function p(g){const b=Xh(u);if(g===126)return c>1?l(g):(o.consume(g),c++,p);if(c<2&&!n)return l(g);const m=o.exit("strikethroughSequenceTemporary"),x=Xh(g);return m._open=!x||x===2&&!!b,m._close=!b||b===2&&!!x,s(g)}}}class aO{constructor(){this.map=[]}add(t,n,r){iO(this,t,n,r)}consume(t){if(this.map.sort((i,o)=>i[0]-o[0]),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1])),r.push(this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let a=r.pop();for(;a;)t.push(...a),a=r.pop();this.map.length=0}}function iO(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function oO(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}const sO={flow:{null:{tokenize:lO,resolveAll:uO}}};function lO(e,t,n){const r=this;let a=0,i=0,o;return s;function s(D){let B=r.events.length-1;for(;B>-1;){const ee=r.events[B][1].type;if(ee==="lineEnding"||ee==="linePrefix")B--;else break}const V=B>-1?r.events[B][1].type:null,J=V==="tableHead"||V==="tableRow"?T:l;return J===T&&r.parser.lazy[r.now().line]?n(D):J(D)}function l(D){return e.enter("tableHead"),e.enter("tableRow"),u(D)}function u(D){return D===124||(o=!0,i+=1),d(D)}function d(D){return D===null?n(D):Li(D)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),p):n(D):Jr(D)?ea(e,d,"whitespace")(D):(i+=1,o&&(o=!1,a+=1),D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),o=!0,d):(e.enter("data"),c(D)))}function c(D){return D===null||D===124||Wn(D)?(e.exit("data"),d(D)):(e.consume(D),D===92?f:c)}function f(D){return D===92||D===124?(e.consume(D),c):c(D)}function p(D){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(D):(e.enter("tableDelimiterRow"),o=!1,Jr(D)?ea(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):g(D))}function g(D){return D===45||D===58?m(D):D===124?(o=!0,e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),b):O(D)}function b(D){return Jr(D)?ea(e,m,"whitespace")(D):m(D)}function m(D){return D===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),x):D===45?(i+=1,x(D)):D===null||Li(D)?w(D):O(D)}function x(D){return D===45?(e.enter("tableDelimiterFiller"),v(D)):O(D)}function v(D){return D===45?(e.consume(D),v):D===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(D))}function y(D){return Jr(D)?ea(e,w,"whitespace")(D):w(D)}function w(D){return D===124?g(D):D===null||Li(D)?!o||a!==i?O(D):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(D)):O(D)}function O(D){return n(D)}function T(D){return e.enter("tableRow"),A(D)}function A(D){return D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),A):D===null||Li(D)?(e.exit("tableRow"),t(D)):Jr(D)?ea(e,A,"whitespace")(D):(e.enter("data"),F(D))}function F(D){return D===null||D===124||Wn(D)?(e.exit("data"),A(D)):(e.consume(D),D===92?M:F)}function M(D){return D===92||D===124?(e.consume(D),F):F(D)}}function uO(e,t){let n=-1,r=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,u,d,c;const f=new aO;for(;++n<e.length;){const p=e[n],g=p[1];p[0]==="enter"?g.type==="tableHead"?(s=!1,l!==0&&(Zh(f,t,l,u,d),d=void 0,l=0),u={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},f.add(n,0,[["enter",u,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,c=void 0,i=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,d={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},f.add(n,0,[["enter",d,t]])),a=g.type==="tableDelimiterRow"?2:d?3:1):a&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],c=il(f,t,i,a,void 0,c),i=[0,0,0,0]),o[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(o[0]=o[1],c=il(f,t,i,a,void 0,c)),i=o,o=[i[1],n,0,0])):g.type==="tableHead"?(s=!0,l=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=n,i[1]!==0?(o[0]=o[1],c=il(f,t,i,a,n,c)):o[1]!==0&&(c=il(f,t,o,a,n,c)),a=0):a&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(o[3]=n)}for(l!==0&&Zh(f,t,l,u,d),f.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=oO(t.events,n))}return e}function il(e,t,n,r,a,i){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(i.end=Object.assign({},Oi(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=Oi(t.events,n[1]);if(i={type:o,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const u=Oi(t.events,n[2]),d=Oi(t.events,n[3]),c={type:s,start:Object.assign({},u),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",c,t]]),r!==2){const f=t.events[n[2]],p=t.events[n[3]];if(f[1].end=Object.assign({},p[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,b=n[3]-n[2]-1;e.add(g,b,[])}}e.add(n[3]+1,0,[["exit",c,t]])}return a!==void 0&&(i.end=Object.assign({},Oi(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function Zh(e,t,n,r,a){const i=[],o=Oi(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function Oi(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const cO={tokenize:fO},dO={text:{91:cO}};function fO(e,t,n){const r=this;return a;function a(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return Wn(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return Li(l)?t(l):Jr(l)?e.check({tokenize:hO},t,n)(l):n(l)}}function hO(e,t,n){return ea(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function gO(e){return k9([P9,Y9(),rO(e),sO,dO])}function Jh(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}function pO(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Nd=function(e){if(e==null)return EO;if(typeof e=="string")return bO(e);if(typeof e=="object")return Array.isArray(e)?mO(e):xO(e);if(typeof e=="function")return ju(e);throw new Error("Expected function, string, or object as test")};function mO(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Nd(e[n]);return ju(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].call(this,...a))return!0;return!1}}function xO(e){return ju(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function bO(e){return ju(t);function t(n){return n&&n.type===e}}function ju(e){return t;function t(n,...r){return!!(n&&typeof n=="object"&&"type"in n&&e.call(this,n,...r))}}function EO(){return!0}const yO=!0,eg=!1,vO="skip",_O=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const a=Nd(t),i=r?-1:1;o(e,void 0,[])();function o(s,l,u){const d=s&&typeof s=="object"?s:{};if(typeof d.type=="string"){const f=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(c,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return c;function c(){let f=[],p,g,b;if((!t||a(s,l,u[u.length-1]||null))&&(f=TO(n(s,u)),f[0]===eg))return f;if(s.children&&f[0]!==vO)for(g=(r?s.children.length:-1)+i,b=u.concat(s);g>-1&&g<s.children.length;){if(p=o(s.children[g],g,b)(),p[0]===eg)return p;g=typeof p[1]=="number"?p[1]:g+i}return f}}};function TO(e){return Array.isArray(e)?e:typeof e=="number"?[yO,e]:[e]}const SO={}.hasOwnProperty,CO=function(e,t,n,r){let a,i;typeof t=="string"||t instanceof RegExp?(i=[[t,n]],a=r):(i=t,a=n),a||(a={});const o=Nd(a.ignore||[]),s=wO(i);let l=-1;for(;++l<s.length;)_O(e,"text",u);return e;function u(c,f){let p=-1,g;for(;++p<f.length;){const b=f[p];if(o(b,g?g.children.indexOf(b):void 0,g))return;g=b}if(g)return d(c,f)}function d(c,f){const p=f[f.length-1],g=s[l][0],b=s[l][1];let m=0;const x=p.children.indexOf(c);let v=!1,y=[];g.lastIndex=0;let w=g.exec(c.value);for(;w;){const O=w.index,T={index:w.index,input:w.input,stack:[...f,c]};let A=b(...w,T);if(typeof A=="string"&&(A=A.length>0?{type:"text",value:A}:void 0),A!==!1&&(m!==O&&y.push({type:"text",value:c.value.slice(m,O)}),Array.isArray(A)?y.push(...A):A&&y.push(A),m=O+w[0].length,v=!0),!g.global)break;w=g.exec(c.value)}return v?(m<c.value.length&&y.push({type:"text",value:c.value.slice(m)}),p.children.splice(x,1,...y)):y=[c],x+y.length}};function wO(e){const t=[];if(typeof e!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([tg(e[n][0]),ng(e[n][1])])}else{let n;for(n in e)SO.call(e,n)&&t.push([tg(n),ng(e[n])])}return t}function tg(e){return typeof e=="string"?new RegExp(pO(e),"g"):e}function ng(e){return typeof e=="function"?e:()=>e}const Pc="phrasing",Mc=["autolink","link","image","label"],AO={transforms:[DO],enter:{literalAutolink:OO,literalAutolinkEmail:Bc,literalAutolinkHttp:Bc,literalAutolinkWww:Bc},exit:{literalAutolink:RO,literalAutolinkEmail:LO,literalAutolinkHttp:IO,literalAutolinkWww:NO}},kO={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Pc,notInConstruct:Mc},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Pc,notInConstruct:Mc},{character:":",before:"[ps]",after:"\\/",inConstruct:Pc,notInConstruct:Mc}]};function OO(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Bc(e){this.config.enter.autolinkProtocol.call(this,e)}function IO(e){this.config.exit.autolinkProtocol.call(this,e)}function NO(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function LO(e){this.config.exit.autolinkEmail.call(this,e)}function RO(e){this.exit(e)}function DO(e){CO(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,PO],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,MO]],{ignore:["link","linkReference"]})}function PO(e,t,n,r,a){let i="";if(!v2(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!BO(n)))return!1;const o=$O(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function MO(e,t,n,r){return!v2(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function BO(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function $O(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=Jh(e,"(");let i=Jh(e,")");for(;r!==-1&&a>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function v2(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||fi(n)||Uu(n))&&(!t||n!==47)}function FO(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const HO=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function UO(e){return e.replace(HO,zO)}function zO(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return FO(n.slice(i?2:1),i?16:10)}return G9(n)||e}function _2(e){return e.label||!e.identifier?e.label||"":UO(e.identifier)}function jO(e,t,n){const r=t.indexStack,a=e.children||[],i=t.createTracker(n),o=[];let s=-1;for(r.push(-1);++s<a.length;){const l=a[s];r[r.length-1]=s,o.push(i.move(t.handle(l,e,t,{before:"\n",after:"\n",...i.current()}))),l.type!=="list"&&(t.bulletLastUsed=void 0),s<a.length-1&&o.push(i.move(WO(l,a[s+1],e,t)))}return r.pop(),o.join("")}function WO(e,t,n,r){let a=r.join.length;for(;a--;){const i=r.join[a](e,t,n,r);if(i===!0||i===1)break;if(typeof i=="number")return"\n".repeat(1+i);if(i===!1)return"\n\n<!---->\n\n"}return"\n\n"}const VO=/\r?\n|\r/g;function qO(e,t){const n=[];let r=0,a=0,i;for(;i=VO.exec(e);)o(e.slice(r,i.index)),n.push(i[0]),r=i.index+i[0].length,a++;return o(e.slice(r)),n.join("");function o(s){n.push(t(s,a,!s))}}function T2(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function GO(e,t){return rg(e,t.inConstruct,!0)&&!rg(e,t.notInConstruct,!1)}function rg(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function S2(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),a=[],i=[],o={};let s=-1;for(;++s<e.unsafe.length;){const d=e.unsafe[s];if(!GO(e.stack,d))continue;const c=T2(d);let f;for(;f=c.exec(r);){const p="before"in d||!!d.atBreak,g="after"in d,b=f.index+(p?f[1].length:0);a.includes(b)?(o[b].before&&!p&&(o[b].before=!1),o[b].after&&!g&&(o[b].after=!1)):(a.push(b),o[b]={before:p,after:g})}}a.sort(KO);let l=n.before?n.before.length:0;const u=r.length-(n.after?n.after.length:0);for(s=-1;++s<a.length;){const d=a[s];d<l||d>=u||d+1<u&&a[s+1]===d+1&&o[d].after&&!o[d+1].before&&!o[d+1].after||a[s-1]===d-1&&o[d].before&&!o[d-1].before&&!o[d-1].after||(l!==d&&i.push(ag(r.slice(l,d),"\\")),l=d,/[!-/:-@[-`{-~]/.test(r.charAt(d))&&(!n.encode||!n.encode.includes(r.charAt(d)))?i.push("\\"):(i.push("&#x"+r.charCodeAt(d).toString(16).toUpperCase()+";"),l++))}return i.push(ag(r.slice(l,u),n.after)),i.join("")}function KO(e,t){return e-t}function ag(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],a=[],i=e+t;let o=-1,s=0,l;for(;l=n.exec(i);)r.push(l.index);for(;++o<r.length;)s!==r[o]&&a.push(e.slice(s,r[o])),a.push("\\"),s=r[o];return a.push(e.slice(s)),a.join("")}function Wu(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,a=n.line||1,i=n.column||1;return{move:l,current:o,shift:s};function o(){return{now:{line:a,column:i},lineShift:r}}function s(u){r+=u}function l(u){const d=u||"",c=d.split(/\r?\n|\r/g),f=c[c.length-1];return a+=c.length-1,i=c.length===1?i+f.length:1+f.length+r,d}}C2.peek=iI;function YO(){return{enter:{gfmFootnoteDefinition:QO,gfmFootnoteDefinitionLabelString:ZO,gfmFootnoteCall:tI,gfmFootnoteCallString:nI},exit:{gfmFootnoteDefinition:eI,gfmFootnoteDefinitionLabelString:JO,gfmFootnoteCall:aI,gfmFootnoteCallString:rI}}}function XO(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:oI,footnoteReference:C2}}}function QO(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ZO(){this.buffer()}function JO(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Ps(this.sliceSerialize(e)).toLowerCase()}function eI(e){this.exit(e)}function tI(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function nI(){this.buffer()}function rI(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Ps(this.sliceSerialize(e)).toLowerCase()}function aI(e){this.exit(e)}function C2(e,t,n,r){const a=Wu(r);let i=a.move("[^");const o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(S2(n,_2(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]"),i}function iI(){return"["}function oI(e,t,n,r){const a=Wu(r);let i=a.move("[^");const o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(S2(n,_2(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(qO(jO(e,n,a.current()),sI)),o(),i}function sI(e,t,n){return t===0?e:(n?"":" ")+e}function w2(e,t,n){const r=t.indexStack,a=e.children||[],i=[];let o=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++o<a.length;){const u=a[o];let d;if(r[r.length-1]=o,o+1<a.length){let c=t.handle.handlers[a[o+1].type];c&&c.peek&&(c=c.peek),d=c?c(a[o+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else d=n.after;i.length>0&&(s==="\r"||s==="\n")&&u.type==="html"&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(u,e,t,{...l.current(),before:s,after:d}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}const lI=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];A2.peek=hI;const uI={canContainEols:["delete"],enter:{strikethrough:dI},exit:{strikethrough:fI}},cI={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:lI}],handlers:{delete:A2}};function dI(e){this.enter({type:"delete",children:[]},e)}function fI(e){this.exit(e)}function A2(e,t,n,r){const a=Wu(r),i=n.enter("strikethrough");let o=a.move("~~");return o+=w2(e,n,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),i(),o}function hI(){return"~"}k2.peek=gI;function k2(e,t,n){let r=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const o=n.unsafe[i],s=T2(o);let l;if(o.atBreak)for(;l=s.exec(r);){let u=l.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(l.index+1)}}return a+r+a}function gI(){return"`"}function pI(e){return e.length}function mI(e,t){const n=t||{},r=(n.align||[]).concat(),a=n.stringLength||pI,i=[],o=[],s=[],l=[];let u=0,d=-1;for(;++d<e.length;){const b=[],m=[];let x=-1;for(e[d].length>u&&(u=e[d].length);++x<e[d].length;){const v=xI(e[d][x]);if(n.alignDelimiters!==!1){const y=a(v);m[x]=y,(l[x]===void 0||y>l[x])&&(l[x]=y)}b.push(v)}o[d]=b,s[d]=m}let c=-1;if(typeof r=="object"&&"length"in r)for(;++c<u;)i[c]=ig(r[c]);else{const b=ig(r);for(;++c<u;)i[c]=b}c=-1;const f=[],p=[];for(;++c<u;){const b=i[c];let m="",x="";b===99?(m=":",x=":"):b===108?m=":":b===114&&(x=":");let v=n.alignDelimiters===!1?1:Math.max(1,l[c]-m.length-x.length);const y=m+"-".repeat(v)+x;n.alignDelimiters!==!1&&(v=m.length+v+x.length,v>l[c]&&(l[c]=v),p[c]=v),f[c]=y}o.splice(1,0,f),s.splice(1,0,p),d=-1;const g=[];for(;++d<o.length;){const b=o[d],m=s[d];c=-1;const x=[];for(;++c<u;){const v=b[c]||"";let y="",w="";if(n.alignDelimiters!==!1){const O=l[c]-(m[c]||0),T=i[c];T===114?y=" ".repeat(O):T===99?O%2?(y=" ".repeat(O/2+.5),w=" ".repeat(O/2-.5)):(y=" ".repeat(O/2),w=y):w=" ".repeat(O)}n.delimiterStart!==!1&&!c&&x.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&v==="")&&(n.delimiterStart!==!1||c)&&x.push(" "),n.alignDelimiters!==!1&&x.push(y),x.push(v),n.alignDelimiters!==!1&&x.push(w),n.padding!==!1&&x.push(" "),(n.delimiterEnd!==!1||c!==u-1)&&x.push("|")}g.push(n.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return g.join("\n")}function xI(e){return e==null?"":String(e)}function ig(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const bI={enter:{table:EI,tableData:og,tableHeader:og,tableRow:vI},exit:{codeText:_I,table:yI,tableData:$c,tableHeader:$c,tableRow:$c}};function EI(e){const t=e._align;this.enter({type:"table",align:t.map(n=>n==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function yI(e){this.exit(e),this.setData("inTable")}function vI(e){this.enter({type:"tableRow",children:[]},e)}function $c(e){this.exit(e)}function og(e){this.enter({type:"tableCell",children:[]},e)}function _I(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,TI));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function TI(e,t){return t==="|"?t:e}function SI(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:o,tableRow:s,tableCell:l,inlineCode:f}};function o(p,g,b,m){return u(d(p,b,m),p.align)}function s(p,g,b,m){const x=c(p,b,m),v=u([x]);return v.slice(0,v.indexOf("\n"))}function l(p,g,b,m){const x=b.enter("tableCell"),v=b.enter("phrasing"),y=w2(p,b,{...m,before:i,after:i});return v(),x(),y}function u(p,g){return mI(p,{align:g,alignDelimiters:r,padding:n,stringLength:a})}function d(p,g,b){const m=p.children;let x=-1;const v=[],y=g.enter("table");for(;++x<m.length;)v[x]=c(m[x],g,b);return y(),v}function c(p,g,b){const m=p.children;let x=-1;const v=[],y=g.enter("tableRow");for(;++x<m.length;)v[x]=l(m[x],p,g,b);return y(),v}function f(p,g,b){let m=k2(p,g,b);return b.stack.includes("tableCell")&&(m=m.replace(/\|/g,"\\$&")),m}}function CI(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function wI(e){const t=e.options.listItemIndent||"tab";if(t===1||t==="1")return"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function AI(e,t,n,r){const a=wI(n);let i=n.bulletCurrent||CI(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let o=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);const l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),d);return l(),u;function d(c,f,p){return f?(p?"":" ".repeat(o))+c:(p?i:i+" ".repeat(o-i.length))+c}}const kI={exit:{taskListCheckValueChecked:sg,taskListCheckValueUnchecked:sg,paragraph:II}},OI={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:NI}};function sg(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function II(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){const a=t.children;let i=-1,o;for(;++i<a.length;){const s=a[i];if(s.type==="paragraph"){o=s;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function NI(e,t,n,r){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=Wu(r);i&&s.move(o);let l=AI(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(d){return d+o}}function LI(){return[AO,YO(),uI,bI,kI]}function RI(e){return{extensions:[kO,XO(),cI,SI(e),OI]}}function DI(e={}){const t=this.data();n("micromarkExtensions",gO(e)),n("fromMarkdownExtensions",LI()),n("toMarkdownExtensions",RI(e));function n(r,a){(t[r]?t[r]:t[r]=[]).push(a)}}const O2=-1,Vu=0,Go=1,Xl=2,Ld=3,Rd=4,Dd=5,Pd=6,I2=7,N2=8,lg=typeof self=="object"?self:globalThis,PI=(e,t)=>{const n=(a,i)=>(e.set(i,a),a),r=a=>{if(e.has(a))return e.get(a);const[i,o]=t[a];switch(i){case Vu:case O2:return n(o,a);case Go:{const s=n([],a);for(const l of o)s.push(r(l));return s}case Xl:{const s=n({},a);for(const[l,u]of o)s[r(l)]=r(u);return s}case Ld:return n(new Date(o),a);case Rd:{const{source:s,flags:l}=o;return n(new RegExp(s,l),a)}case Dd:{const s=n(new Map,a);for(const[l,u]of o)s.set(r(l),r(u));return s}case Pd:{const s=n(new Set,a);for(const l of o)s.add(r(l));return s}case I2:{const{name:s,message:l}=o;return n(new lg[s](l),a)}case N2:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(new lg[i](o),a)};return r},ug=e=>PI(new Map,e)(0),Ci="",{toString:MI}={},{keys:BI}=Object,Lo=e=>{const t=typeof e;if(t!=="object"||!e)return[Vu,t];const n=MI.call(e).slice(8,-1);switch(n){case"Array":return[Go,Ci];case"Object":return[Xl,Ci];case"Date":return[Ld,Ci];case"RegExp":return[Rd,Ci];case"Map":return[Dd,Ci];case"Set":return[Pd,Ci];case"DataView":return[Go,n]}return n.includes("Array")?[Go,n]:n.includes("Error")?[I2,n]:[Xl,n]},ol=([e,t])=>e===Vu&&(t==="function"||t==="symbol"),$I=(e,t,n,r)=>{const a=(o,s)=>{const l=r.push(o)-1;return n.set(s,l),l},i=o=>{if(n.has(o))return n.get(o);let[s,l]=Lo(o);switch(s){case Vu:{let d=o;switch(l){case"bigint":s=N2,d=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return a([O2],o)}return a([s,d],o)}case Go:{if(l){let f=o;return l==="DataView"?f=new Uint8Array(o.buffer):l==="ArrayBuffer"&&(f=new Uint8Array(o)),a([l,[...f]],o)}const d=[],c=a([s,d],o);for(const f of o)d.push(i(f));return c}case Xl:{if(l)switch(l){case"BigInt":return a([l,o.toString()],o);case"Boolean":case"Number":case"String":return a([l,o.valueOf()],o)}if(t&&"toJSON"in o)return i(o.toJSON());const d=[],c=a([s,d],o);for(const f of BI(o))(e||!ol(Lo(o[f])))&&d.push([i(f),i(o[f])]);return c}case Ld:return a([s,o.toISOString()],o);case Rd:{const{source:d,flags:c}=o;return a([s,{source:d,flags:c}],o)}case Dd:{const d=[],c=a([s,d],o);for(const[f,p]of o)(e||!(ol(Lo(f))||ol(Lo(p))))&&d.push([i(f),i(p)]);return c}case Pd:{const d=[],c=a([s,d],o);for(const f of o)(e||!ol(Lo(f)))&&d.push(i(f));return c}}const{message:u}=o;return a([s,{name:l,message:u}],o)};return i},cg=(e,{json:t,lossy:n}={})=>{const r=[];return $I(!(t||n),!!t,new Map,r)(e),r},dg=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?ug(cg(e,t)):structuredClone(e):(e,t)=>ug(cg(e,t));let Ms=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};Ms.prototype.normal={};Ms.prototype.property={};Ms.prototype.space=void 0;function L2(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new Ms(n,r,t)}function gs(e){return e.toLowerCase()}let Vn=class{constructor(t,n){this.attribute=n,this.property=t}};Vn.prototype.attribute="";Vn.prototype.booleanish=!1;Vn.prototype.boolean=!1;Vn.prototype.commaOrSpaceSeparated=!1;Vn.prototype.commaSeparated=!1;Vn.prototype.defined=!1;Vn.prototype.mustUseProperty=!1;Vn.prototype.number=!1;Vn.prototype.overloadedBoolean=!1;Vn.prototype.property="";Vn.prototype.spaceSeparated=!1;Vn.prototype.space=void 0;let FI=0;const et=mi(),sn=mi(),N0=mi(),ge=mi(),Dt=mi(),Hi=mi(),Qn=mi();function mi(){return 2**++FI}const L0=Object.freeze(Object.defineProperty({__proto__:null,boolean:et,booleanish:sn,commaOrSpaceSeparated:Qn,commaSeparated:Hi,number:ge,overloadedBoolean:N0,spaceSeparated:Dt},Symbol.toStringTag,{value:"Module"})),Fc=Object.keys(L0);let Md=class extends Vn{constructor(t,n,r,a){let i=-1;if(super(t,n),fg(this,"space",a),typeof r=="number")for(;++i<Fc.length;){const o=Fc[i];fg(this,Fc[i],(r&L0[o])===L0[o])}}};Md.prototype.defined=!0;function fg(e,t,n){n&&(e[t]=n)}function uo(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new Md(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[gs(r)]=r,n[gs(i.attribute)]=r}return new Ms(t,n,e.space)}const R2=uo({properties:{ariaActiveDescendant:null,ariaAtomic:sn,ariaAutoComplete:null,ariaBusy:sn,ariaChecked:sn,ariaColCount:ge,ariaColIndex:ge,ariaColSpan:ge,ariaControls:Dt,ariaCurrent:null,ariaDescribedBy:Dt,ariaDetails:null,ariaDisabled:sn,ariaDropEffect:Dt,ariaErrorMessage:null,ariaExpanded:sn,ariaFlowTo:Dt,ariaGrabbed:sn,ariaHasPopup:null,ariaHidden:sn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Dt,ariaLevel:ge,ariaLive:null,ariaModal:sn,ariaMultiLine:sn,ariaMultiSelectable:sn,ariaOrientation:null,ariaOwns:Dt,ariaPlaceholder:null,ariaPosInSet:ge,ariaPressed:sn,ariaReadOnly:sn,ariaRelevant:null,ariaRequired:sn,ariaRoleDescription:Dt,ariaRowCount:ge,ariaRowIndex:ge,ariaRowSpan:ge,ariaSelected:sn,ariaSetSize:ge,ariaSort:null,ariaValueMax:ge,ariaValueMin:ge,ariaValueNow:ge,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function D2(e,t){return t in e?e[t]:t}function P2(e,t){return D2(e,t.toLowerCase())}const HI=uo({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hi,acceptCharset:Dt,accessKey:Dt,action:null,allow:null,allowFullScreen:et,allowPaymentRequest:et,allowUserMedia:et,alt:null,as:null,async:et,autoCapitalize:null,autoComplete:Dt,autoFocus:et,autoPlay:et,blocking:Dt,capture:null,charSet:null,checked:et,cite:null,className:Dt,cols:ge,colSpan:null,content:null,contentEditable:sn,controls:et,controlsList:Dt,coords:ge|Hi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:et,defer:et,dir:null,dirName:null,disabled:et,download:N0,draggable:sn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:et,formTarget:null,headers:Dt,height:ge,hidden:N0,high:ge,href:null,hrefLang:null,htmlFor:Dt,httpEquiv:Dt,id:null,imageSizes:null,imageSrcSet:null,inert:et,inputMode:null,integrity:null,is:null,isMap:et,itemId:null,itemProp:Dt,itemRef:Dt,itemScope:et,itemType:Dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:et,low:ge,manifest:null,max:null,maxLength:ge,media:null,method:null,min:null,minLength:ge,multiple:et,muted:et,name:null,nonce:null,noModule:et,noValidate:et,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:et,optimum:ge,pattern:null,ping:Dt,placeholder:null,playsInline:et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:et,referrerPolicy:null,rel:Dt,required:et,reversed:et,rows:ge,rowSpan:ge,sandbox:Dt,scope:null,scoped:et,seamless:et,selected:et,shadowRootClonable:et,shadowRootDelegatesFocus:et,shadowRootMode:null,shape:null,size:ge,sizes:null,slot:null,span:ge,spellCheck:sn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ge,step:null,style:null,tabIndex:ge,target:null,title:null,translate:null,type:null,typeMustMatch:et,useMap:null,value:sn,width:ge,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Dt,axis:null,background:null,bgColor:null,border:ge,borderColor:null,bottomMargin:ge,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:et,declare:et,event:null,face:null,frame:null,frameBorder:null,hSpace:ge,leftMargin:ge,link:null,longDesc:null,lowSrc:null,marginHeight:ge,marginWidth:ge,noResize:et,noHref:et,noShade:et,noWrap:et,object:null,profile:null,prompt:null,rev:null,rightMargin:ge,rules:null,scheme:null,scrolling:sn,standby:null,summary:null,text:null,topMargin:ge,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ge,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:et,disableRemotePlayback:et,prefix:null,property:null,results:ge,security:null,unselectable:null},space:"html",transform:P2}),UI=uo({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Qn,accentHeight:ge,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ge,amplitude:ge,arabicForm:null,ascent:ge,attributeName:null,attributeType:null,azimuth:ge,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ge,by:null,calcMode:null,capHeight:ge,className:Dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ge,diffuseConstant:ge,direction:null,display:null,dur:null,divisor:ge,dominantBaseline:null,download:et,dx:null,dy:null,edgeMode:null,editable:null,elevation:ge,enableBackground:null,end:null,event:null,exponent:ge,externalResourcesRequired:null,fill:null,fillOpacity:ge,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Hi,g2:Hi,glyphName:Hi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ge,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ge,horizOriginX:ge,horizOriginY:ge,id:null,ideographic:ge,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ge,k:ge,k1:ge,k2:ge,k3:ge,k4:ge,kernelMatrix:Qn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ge,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ge,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ge,overlineThickness:ge,paintOrder:null,panose1:null,path:null,pathLength:ge,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ge,pointsAtY:ge,pointsAtZ:ge,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Qn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Qn,rev:Qn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Qn,requiredFeatures:Qn,requiredFonts:Qn,requiredFormats:Qn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ge,specularExponent:ge,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ge,strikethroughThickness:ge,string:null,stroke:null,strokeDashArray:Qn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ge,strokeOpacity:ge,strokeWidth:null,style:null,surfaceScale:ge,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Qn,tabIndex:ge,tableValues:null,target:null,targetX:ge,targetY:ge,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Qn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ge,underlineThickness:ge,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ge,values:null,vAlphabetic:ge,vMathematical:ge,vectorEffect:null,vHanging:ge,vIdeographic:ge,version:null,vertAdvY:ge,vertOriginX:ge,vertOriginY:ge,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ge,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:D2}),M2=uo({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),B2=uo({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:P2}),$2=uo({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),zI=/[A-Z]/g,hg=/-[a-z]/g,jI=/^data[-\w.:]+$/i;function F2(e,t){const n=gs(t);let r=t,a=Vn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&jI.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(hg,VI);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!hg.test(i)){let o=i.replace(zI,WI);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=Md}return new a(r,t)}function WI(e){return"-"+e.toLowerCase()}function VI(e){return e.charAt(1).toUpperCase()}const Bd=L2([R2,HI,M2,B2,$2],"html"),$d=L2([R2,UI,M2,B2,$2],"svg");function gg(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const o=n.slice(a,r).trim();(o||!i)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function qI(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const pg=/[#.]/g;function GI(e,t){const n=e||"",r={};let a=0,i,o;for(;a<n.length;){pg.lastIndex=a;const s=pg.exec(n),l=n.slice(a,s?s.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:o=l,a+=l.length),s&&(i=s[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function mg(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function KI(e){return e.join(" ").trim()}function H2(e,t,n){const r=n?ZI(n):void 0;function a(i,o,...s){let l;if(i==null){l={type:"root",children:[]};const u=o;s.unshift(u)}else{l=GI(i,t);const u=l.tagName.toLowerCase(),d=r?r.get(u):void 0;if(l.tagName=d||u,YI(o))s.unshift(o);else for(const[c,f]of Object.entries(o))XI(e,l.properties,c,f)}for(const u of s)R0(l.children,u);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function YI(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const a=t[r];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const o of i)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function XI(e,t,n,r){const a=F2(e,n);let i;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;i=r}else typeof r=="boolean"?i=r:typeof r=="string"?a.spaceSeparated?i=mg(r):a.commaSeparated?i=gg(r):a.commaOrSpaceSeparated?i=mg(gg(r).join(" ")):i=xg(a,a.property,r):Array.isArray(r)?i=[...r]:i=a.property==="style"?QI(r):String(r);if(Array.isArray(i)){const o=[];for(const s of i)o.push(xg(a,a.property,s));i=o}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function R0(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)R0(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?R0(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function xg(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||gs(n)===gs(t)))return!0}return n}function QI(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function ZI(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const JI=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],eN=H2(Bd,"div"),tN=H2($d,"g",JI);function nN(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let o=0;for(;;){let s=n[o];if(s===void 0){const l=bg(t,n[o-1]);s=l===-1?t.length+1:l+1,n[o]=s}if(s>i)return{line:o+1,column:i-(o>0?n[o-1]:0)+1,offset:i};o++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const s=n[n.length-1],l=bg(t,s),u=l===-1?t.length+1:l+1;if(s===u)break;n.push(u)}const o=(i.line>1?n[i.line-2]:0)+i.column-1;if(o<n[i.line-1])return o}}}function bg(e,t){const n=e.indexOf("\r",t),r=e.indexOf("\n",t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const ti={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},U2={}.hasOwnProperty,rN=Object.prototype;function aN(e,t){const n=t||{};return Fd({file:n.file||void 0,location:!1,schema:n.space==="svg"?$d:Bd,verbose:n.verbose||!1},e)}function Fd(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Tl(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:z2(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),o=nN(i),s=o.toPoint(0),l=o.toPoint(i.length);n.position={start:s,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Tl(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Tl(e,r,n),n}default:return n=iN(e,t),n}}function z2(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=Fd(e,t[n]);r.push(a)}return r}function iN(e,t){const n=e.schema;e.schema=t.namespaceURI===ti.svg?$d:Bd;let r=-1;const a={};for(;++r<t.attrs.length;){const s=t.attrs[r],l=(s.prefix?s.prefix+":":"")+s.name;U2.call(rN,l)||(a[l]=s.value)}const o=(e.schema.space==="svg"?tN:eN)(t.tagName,a,z2(e,t.childNodes));if(Tl(e,t,o),o.tagName==="template"){const s=t,l=s.sourceCodeLocation,u=l&&l.startTag&&Ri(l.startTag),d=l&&l.endTag&&Ri(l.endTag),c=Fd(e,s.content);u&&d&&e.file&&(c.position={start:u.end,end:d.start}),o.content=c}return e.schema=n,o}function Tl(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=oN(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function oN(e,t,n){const r=Ri(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const i={};let o;if(n.attrs)for(o in n.attrs)U2.call(n.attrs,o)&&(i[F2(e.schema,o).property]=Ri(n.attrs[o]));n.startTag;const s=Ri(n.startTag),l=n.endTag?Ri(n.endTag):void 0,u={opening:s};l&&(u.closing=l),u.properties=i,t.data={position:u}}}return r}function Ri(e){const t=Eg({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Eg({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Eg(e){return e.line&&e.column?e:void 0}class Bs{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Bs.prototype.property={};Bs.prototype.normal={};Bs.prototype.space=null;function j2(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new Bs(n,r,t)}function D0(e){return e.toLowerCase()}class mr{constructor(t,n){this.property=t,this.attribute=n}}mr.prototype.space=null;mr.prototype.boolean=!1;mr.prototype.booleanish=!1;mr.prototype.overloadedBoolean=!1;mr.prototype.number=!1;mr.prototype.commaSeparated=!1;mr.prototype.spaceSeparated=!1;mr.prototype.commaOrSpaceSeparated=!1;mr.prototype.mustUseProperty=!1;mr.prototype.defined=!1;let sN=0;const Ze=xi(),ln=xi(),W2=xi(),pe=xi(),Pt=xi(),Ui=xi(),Zn=xi();function xi(){return 2**++sN}const P0=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ze,booleanish:ln,commaOrSpaceSeparated:Zn,commaSeparated:Ui,number:pe,overloadedBoolean:W2,spaceSeparated:Pt},Symbol.toStringTag,{value:"Module"})),Hc=Object.keys(P0);class Hd extends mr{constructor(t,n,r,a){let i=-1;if(super(t,n),yg(this,"space",a),typeof r=="number")for(;++i<Hc.length;){const o=Hc[i];yg(this,Hc[i],(r&P0[o])===P0[o])}}}Hd.prototype.defined=!0;function yg(e,t,n){n&&(e[t]=n)}const lN={}.hasOwnProperty;function co(e){const t={},n={};let r;for(r in e.properties)if(lN.call(e.properties,r)){const a=e.properties[r],i=new Hd(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[D0(r)]=r,n[D0(i.attribute)]=r}return new Bs(t,n,e.space)}const V2=co({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),q2=co({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function G2(e,t){return t in e?e[t]:t}function K2(e,t){return G2(e,t.toLowerCase())}const Y2=co({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:K2,properties:{xmlns:null,xmlnsXLink:null}}),X2=co({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ln,ariaAutoComplete:null,ariaBusy:ln,ariaChecked:ln,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:Pt,ariaCurrent:null,ariaDescribedBy:Pt,ariaDetails:null,ariaDisabled:ln,ariaDropEffect:Pt,ariaErrorMessage:null,ariaExpanded:ln,ariaFlowTo:Pt,ariaGrabbed:ln,ariaHasPopup:null,ariaHidden:ln,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Pt,ariaLevel:pe,ariaLive:null,ariaModal:ln,ariaMultiLine:ln,ariaMultiSelectable:ln,ariaOrientation:null,ariaOwns:Pt,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:ln,ariaReadOnly:ln,ariaRelevant:null,ariaRequired:ln,ariaRoleDescription:Pt,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:ln,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}}),uN=co({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:K2,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ui,acceptCharset:Pt,accessKey:Pt,action:null,allow:null,allowFullScreen:Ze,allowPaymentRequest:Ze,allowUserMedia:Ze,alt:null,as:null,async:Ze,autoCapitalize:null,autoComplete:Pt,autoFocus:Ze,autoPlay:Ze,blocking:Pt,capture:null,charSet:null,checked:Ze,cite:null,className:Pt,cols:pe,colSpan:null,content:null,contentEditable:ln,controls:Ze,controlsList:Pt,coords:pe|Ui,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ze,defer:Ze,dir:null,dirName:null,disabled:Ze,download:W2,draggable:ln,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ze,formTarget:null,headers:Pt,height:pe,hidden:Ze,high:pe,href:null,hrefLang:null,htmlFor:Pt,httpEquiv:Pt,id:null,imageSizes:null,imageSrcSet:null,inert:Ze,inputMode:null,integrity:null,is:null,isMap:Ze,itemId:null,itemProp:Pt,itemRef:Pt,itemScope:Ze,itemType:Pt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ze,low:pe,manifest:null,max:null,maxLength:pe,media:null,method:null,min:null,minLength:pe,multiple:Ze,muted:Ze,name:null,nonce:null,noModule:Ze,noValidate:Ze,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ze,optimum:pe,pattern:null,ping:Pt,placeholder:null,playsInline:Ze,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ze,referrerPolicy:null,rel:Pt,required:Ze,reversed:Ze,rows:pe,rowSpan:pe,sandbox:Pt,scope:null,scoped:Ze,seamless:Ze,selected:Ze,shadowRootClonable:Ze,shadowRootDelegatesFocus:Ze,shadowRootMode:null,shape:null,size:pe,sizes:null,slot:null,span:pe,spellCheck:ln,src:null,srcDoc:null,srcLang:null,srcSet:null,start:pe,step:null,style:null,tabIndex:pe,target:null,title:null,translate:null,type:null,typeMustMatch:Ze,useMap:null,value:ln,width:pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Pt,axis:null,background:null,bgColor:null,border:pe,borderColor:null,bottomMargin:pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ze,declare:Ze,event:null,face:null,frame:null,frameBorder:null,hSpace:pe,leftMargin:pe,link:null,longDesc:null,lowSrc:null,marginHeight:pe,marginWidth:pe,noResize:Ze,noHref:Ze,noShade:Ze,noWrap:Ze,object:null,profile:null,prompt:null,rev:null,rightMargin:pe,rules:null,scheme:null,scrolling:ln,standby:null,summary:null,text:null,topMargin:pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ze,disableRemotePlayback:Ze,prefix:null,property:null,results:pe,security:null,unselectable:null}}),cN=co({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:G2,properties:{about:Zn,accentHeight:pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:pe,amplitude:pe,arabicForm:null,ascent:pe,attributeName:null,attributeType:null,azimuth:pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:pe,by:null,calcMode:null,capHeight:pe,className:Pt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:pe,diffuseConstant:pe,direction:null,display:null,dur:null,divisor:pe,dominantBaseline:null,download:Ze,dx:null,dy:null,edgeMode:null,editable:null,elevation:pe,enableBackground:null,end:null,event:null,exponent:pe,externalResourcesRequired:null,fill:null,fillOpacity:pe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ui,g2:Ui,glyphName:Ui,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:pe,horizOriginX:pe,horizOriginY:pe,id:null,ideographic:pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:pe,k:pe,k1:pe,k2:pe,k3:pe,k4:pe,kernelMatrix:Zn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:pe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:pe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:pe,overlineThickness:pe,paintOrder:null,panose1:null,path:null,pathLength:pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Pt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Zn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Zn,rev:Zn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Zn,requiredFeatures:Zn,requiredFonts:Zn,requiredFormats:Zn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:pe,specularExponent:pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:pe,strikethroughThickness:pe,string:null,stroke:null,strokeDashArray:Zn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:pe,strokeOpacity:pe,strokeWidth:null,style:null,surfaceScale:pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Zn,tabIndex:pe,tableValues:null,target:null,targetX:pe,targetY:pe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Zn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:pe,underlineThickness:pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:pe,values:null,vAlphabetic:pe,vMathematical:pe,vectorEffect:null,vHanging:pe,vIdeographic:pe,version:null,vertAdvY:pe,vertOriginX:pe,vertOriginY:pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),dN=/^data[-\w.:]+$/i,vg=/-[a-z]/g,fN=/[A-Z]/g;function hN(e,t){const n=D0(t);let r=t,a=mr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&dN.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(vg,pN);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!vg.test(i)){let o=i.replace(fN,gN);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=Hd}return new a(r,t)}function gN(e){return"-"+e.toLowerCase()}function pN(e){return e.charAt(1).toUpperCase()}const mN=j2([q2,V2,Y2,X2,uN],"html"),Q2=j2([q2,V2,Y2,X2,cN],"svg"),_g={}.hasOwnProperty;function Z2(e,t){const n=t||{};function r(a,...i){let o=r.invalid;const s=r.handlers;if(a&&_g.call(a,e)){const l=String(a[e]);o=_g.call(s,l)?s[l]:r.unknown}if(o)return o.call(this,a,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const xN={},bN={}.hasOwnProperty,J2=Z2("type",{handlers:{root:yN,element:CN,text:TN,comment:SN,doctype:_N}});function EN(e,t){const r=(t||xN).space;return J2(e,r==="svg"?Q2:mN)}function yN(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Ud(e.children,n,t),fo(e,n),n}function vN(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Ud(e.children,n,t),fo(e,n),n}function _N(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return fo(e,t),t}function TN(e){const t={nodeName:"#text",value:e.value,parentNode:null};return fo(e,t),t}function SN(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return fo(e,t),t}function CN(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Q2);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&bN.call(e.properties,i)){const l=wN(r,i,e.properties[i]);l&&a.push(l)}}const o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:ti[o],childNodes:[],parentNode:null};return s.childNodes=Ud(e.children,s,r),fo(e,s),e.tagName==="template"&&e.content&&(s.content=vN(e.content,r)),s}function wN(e,t,n){const r=hN(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?qI(n):KI(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=r.attribute.slice(0,i)),a.namespace=ti[r.space]}return a}function Ud(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const i=J2(e[r],n);i.parentNode=t,a.push(i)}return a}function fo(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const AN=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],kN=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Vt="�";var k;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(k||(k={}));const Bn={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function e6(e){return e>=55296&&e<=57343}function ON(e){return e>=56320&&e<=57343}function IN(e,t){return(e-55296)*1024+9216+t}function t6(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function n6(e){return e>=64976&&e<=65007||kN.has(e)}var X;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(X||(X={}));const NN=65536;class LN{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=NN,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:a,offset:i}=this,o=a+n,s=i+n;return{code:t,startLine:r,endLine:r,startCol:o,endCol:o,startOffset:s,endOffset:s}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(ON(n))return this.pos++,this._addGap(),IN(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,k.EOF;return this._err(X.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,k.EOF;const r=this.html.charCodeAt(n);return r===k.CARRIAGE_RETURN?k.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,k.EOF;let t=this.html.charCodeAt(this.pos);return t===k.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,k.LINE_FEED):t===k.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,e6(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===k.LINE_FEED||t===k.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){t6(t)?this._err(X.controlCharacterInInputStream):n6(t)&&this._err(X.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var at;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(at||(at={}));function r6(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const RN=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),DN=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]]);function PN(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=DN.get(e))!==null&&t!==void 0?t:e}var mn;(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"})(mn||(mn={}));const MN=32;var Sa;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Sa||(Sa={}));function M0(e){return e>=mn.ZERO&&e<=mn.NINE}function BN(e){return e>=mn.UPPER_A&&e<=mn.UPPER_F||e>=mn.LOWER_A&&e<=mn.LOWER_F}function $N(e){return e>=mn.UPPER_A&&e<=mn.UPPER_Z||e>=mn.LOWER_A&&e<=mn.LOWER_Z||M0(e)}function FN(e){return e===mn.EQUALS||$N(e)}var gn;(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"})(gn||(gn={}));var ta;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ta||(ta={}));class HN{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=gn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ta.Strict}startEntity(t){this.decodeMode=t,this.state=gn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case gn.EntityStart:return t.charCodeAt(n)===mn.NUM?(this.state=gn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=gn.NamedEntity,this.stateNamedEntity(t,n));case gn.NumericStart:return this.stateNumericStart(t,n);case gn.NumericDecimal:return this.stateNumericDecimal(t,n);case gn.NumericHex:return this.stateNumericHex(t,n);case gn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|MN)===mn.LOWER_X?(this.state=gn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=gn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const i=r-n;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(n,i),a),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(M0(a)||BN(a))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(M0(a))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===mn.SEMI)this.consumed+=1;else if(this.decodeMode===ta.Strict)return 0;return this.emitCodePoint(PN(this.result),this.consumed),this.errors&&(t!==mn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],i=(a&Sa.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=UN(r,a,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===ta.Attribute&&(i===0||FN(o))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],i=(a&Sa.VALUE_LENGTH)>>14,i!==0){if(o===mn.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ta.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,a=(r[n]&Sa.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[t]&~Sa.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case gn.NamedEntity:return this.result!==0&&(this.decodeMode!==ta.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case gn.NumericDecimal:return this.emitNumericEntity(0,2);case gn.NumericHex:return this.emitNumericEntity(0,3);case gn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case gn.EntityStart:return 0}}}function UN(e,t,n,r){const a=(t&Sa.BRANCH_LENGTH)>>7,i=t&Sa.JUMP_TABLE;if(a===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=a?-1:e[n+l]-1}let o=n,s=o+a-1;for(;o<=s;){const l=o+s>>>1,u=e[l];if(u<r)o=l+1;else if(u>r)s=l-1;else return e[l+a]}return-1}var se;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(se||(se={}));var li;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(li||(li={}));var cr;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(cr||(cr={}));var j;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(j||(j={}));var h;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(h||(h={}));const zN=new Map([[j.A,h.A],[j.ADDRESS,h.ADDRESS],[j.ANNOTATION_XML,h.ANNOTATION_XML],[j.APPLET,h.APPLET],[j.AREA,h.AREA],[j.ARTICLE,h.ARTICLE],[j.ASIDE,h.ASIDE],[j.B,h.B],[j.BASE,h.BASE],[j.BASEFONT,h.BASEFONT],[j.BGSOUND,h.BGSOUND],[j.BIG,h.BIG],[j.BLOCKQUOTE,h.BLOCKQUOTE],[j.BODY,h.BODY],[j.BR,h.BR],[j.BUTTON,h.BUTTON],[j.CAPTION,h.CAPTION],[j.CENTER,h.CENTER],[j.CODE,h.CODE],[j.COL,h.COL],[j.COLGROUP,h.COLGROUP],[j.DD,h.DD],[j.DESC,h.DESC],[j.DETAILS,h.DETAILS],[j.DIALOG,h.DIALOG],[j.DIR,h.DIR],[j.DIV,h.DIV],[j.DL,h.DL],[j.DT,h.DT],[j.EM,h.EM],[j.EMBED,h.EMBED],[j.FIELDSET,h.FIELDSET],[j.FIGCAPTION,h.FIGCAPTION],[j.FIGURE,h.FIGURE],[j.FONT,h.FONT],[j.FOOTER,h.FOOTER],[j.FOREIGN_OBJECT,h.FOREIGN_OBJECT],[j.FORM,h.FORM],[j.FRAME,h.FRAME],[j.FRAMESET,h.FRAMESET],[j.H1,h.H1],[j.H2,h.H2],[j.H3,h.H3],[j.H4,h.H4],[j.H5,h.H5],[j.H6,h.H6],[j.HEAD,h.HEAD],[j.HEADER,h.HEADER],[j.HGROUP,h.HGROUP],[j.HR,h.HR],[j.HTML,h.HTML],[j.I,h.I],[j.IMG,h.IMG],[j.IMAGE,h.IMAGE],[j.INPUT,h.INPUT],[j.IFRAME,h.IFRAME],[j.KEYGEN,h.KEYGEN],[j.LABEL,h.LABEL],[j.LI,h.LI],[j.LINK,h.LINK],[j.LISTING,h.LISTING],[j.MAIN,h.MAIN],[j.MALIGNMARK,h.MALIGNMARK],[j.MARQUEE,h.MARQUEE],[j.MATH,h.MATH],[j.MENU,h.MENU],[j.META,h.META],[j.MGLYPH,h.MGLYPH],[j.MI,h.MI],[j.MO,h.MO],[j.MN,h.MN],[j.MS,h.MS],[j.MTEXT,h.MTEXT],[j.NAV,h.NAV],[j.NOBR,h.NOBR],[j.NOFRAMES,h.NOFRAMES],[j.NOEMBED,h.NOEMBED],[j.NOSCRIPT,h.NOSCRIPT],[j.OBJECT,h.OBJECT],[j.OL,h.OL],[j.OPTGROUP,h.OPTGROUP],[j.OPTION,h.OPTION],[j.P,h.P],[j.PARAM,h.PARAM],[j.PLAINTEXT,h.PLAINTEXT],[j.PRE,h.PRE],[j.RB,h.RB],[j.RP,h.RP],[j.RT,h.RT],[j.RTC,h.RTC],[j.RUBY,h.RUBY],[j.S,h.S],[j.SCRIPT,h.SCRIPT],[j.SEARCH,h.SEARCH],[j.SECTION,h.SECTION],[j.SELECT,h.SELECT],[j.SOURCE,h.SOURCE],[j.SMALL,h.SMALL],[j.SPAN,h.SPAN],[j.STRIKE,h.STRIKE],[j.STRONG,h.STRONG],[j.STYLE,h.STYLE],[j.SUB,h.SUB],[j.SUMMARY,h.SUMMARY],[j.SUP,h.SUP],[j.TABLE,h.TABLE],[j.TBODY,h.TBODY],[j.TEMPLATE,h.TEMPLATE],[j.TEXTAREA,h.TEXTAREA],[j.TFOOT,h.TFOOT],[j.TD,h.TD],[j.TH,h.TH],[j.THEAD,h.THEAD],[j.TITLE,h.TITLE],[j.TR,h.TR],[j.TRACK,h.TRACK],[j.TT,h.TT],[j.U,h.U],[j.UL,h.UL],[j.SVG,h.SVG],[j.VAR,h.VAR],[j.WBR,h.WBR],[j.XMP,h.XMP]]);function ho(e){var t;return(t=zN.get(e))!==null&&t!==void 0?t:h.UNKNOWN}const ce=h,jN={[se.HTML]:new Set([ce.ADDRESS,ce.APPLET,ce.AREA,ce.ARTICLE,ce.ASIDE,ce.BASE,ce.BASEFONT,ce.BGSOUND,ce.BLOCKQUOTE,ce.BODY,ce.BR,ce.BUTTON,ce.CAPTION,ce.CENTER,ce.COL,ce.COLGROUP,ce.DD,ce.DETAILS,ce.DIR,ce.DIV,ce.DL,ce.DT,ce.EMBED,ce.FIELDSET,ce.FIGCAPTION,ce.FIGURE,ce.FOOTER,ce.FORM,ce.FRAME,ce.FRAMESET,ce.H1,ce.H2,ce.H3,ce.H4,ce.H5,ce.H6,ce.HEAD,ce.HEADER,ce.HGROUP,ce.HR,ce.HTML,ce.IFRAME,ce.IMG,ce.INPUT,ce.LI,ce.LINK,ce.LISTING,ce.MAIN,ce.MARQUEE,ce.MENU,ce.META,ce.NAV,ce.NOEMBED,ce.NOFRAMES,ce.NOSCRIPT,ce.OBJECT,ce.OL,ce.P,ce.PARAM,ce.PLAINTEXT,ce.PRE,ce.SCRIPT,ce.SECTION,ce.SELECT,ce.SOURCE,ce.STYLE,ce.SUMMARY,ce.TABLE,ce.TBODY,ce.TD,ce.TEMPLATE,ce.TEXTAREA,ce.TFOOT,ce.TH,ce.THEAD,ce.TITLE,ce.TR,ce.TRACK,ce.UL,ce.WBR,ce.XMP]),[se.MATHML]:new Set([ce.MI,ce.MO,ce.MN,ce.MS,ce.MTEXT,ce.ANNOTATION_XML]),[se.SVG]:new Set([ce.TITLE,ce.FOREIGN_OBJECT,ce.DESC]),[se.XLINK]:new Set,[se.XML]:new Set,[se.XMLNS]:new Set},B0=new Set([ce.H1,ce.H2,ce.H3,ce.H4,ce.H5,ce.H6]);j.STYLE,j.SCRIPT,j.XMP,j.IFRAME,j.NOEMBED,j.NOFRAMES,j.PLAINTEXT;var N;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(N||(N={}));const en={DATA:N.DATA,RCDATA:N.RCDATA,RAWTEXT:N.RAWTEXT,SCRIPT_DATA:N.SCRIPT_DATA,PLAINTEXT:N.PLAINTEXT,CDATA_SECTION:N.CDATA_SECTION};function WN(e){return e>=k.DIGIT_0&&e<=k.DIGIT_9}function Ho(e){return e>=k.LATIN_CAPITAL_A&&e<=k.LATIN_CAPITAL_Z}function VN(e){return e>=k.LATIN_SMALL_A&&e<=k.LATIN_SMALL_Z}function ya(e){return VN(e)||Ho(e)}function Tg(e){return ya(e)||WN(e)}function sl(e){return e+32}function a6(e){return e===k.SPACE||e===k.LINE_FEED||e===k.TABULATION||e===k.FORM_FEED}function Sg(e){return a6(e)||e===k.SOLIDUS||e===k.GREATER_THAN_SIGN}function qN(e){return e===k.NULL?X.nullCharacterReference:e>1114111?X.characterReferenceOutsideUnicodeRange:e6(e)?X.surrogateCharacterReference:n6(e)?X.noncharacterCharacterReference:t6(e)||e===k.CARRIAGE_RETURN?X.controlCharacterReference:null}class GN{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=N.DATA,this.returnState=N.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new LN(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new HN(RN,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(X.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(X.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const a=qN(r);a&&this._err(a,1)}}:void 0)}_err(t,n=0){var r,a;(a=(r=this.handler).onParseError)===null||a===void 0||a.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:at.START_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:at.END_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:at.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:at.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(r6(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const a=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(X.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=ho(t.tagName),t.type===at.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(X.endTagWithAttributes),t.selfClosing&&this._err(X.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case at.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case at.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case at.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:at.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=a6(t)?at.WHITESPACE_CHARACTER:t===k.NULL?at.NULL_CHARACTER:at.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(at.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=N.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ta.Attribute:ta.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===N.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===N.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===N.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case N.DATA:{this._stateData(t);break}case N.RCDATA:{this._stateRcdata(t);break}case N.RAWTEXT:{this._stateRawtext(t);break}case N.SCRIPT_DATA:{this._stateScriptData(t);break}case N.PLAINTEXT:{this._statePlaintext(t);break}case N.TAG_OPEN:{this._stateTagOpen(t);break}case N.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case N.TAG_NAME:{this._stateTagName(t);break}case N.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case N.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case N.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case N.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case N.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case N.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case N.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case N.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case N.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case N.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case N.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case N.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case N.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case N.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case N.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case N.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case N.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case N.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case N.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case N.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case N.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case N.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case N.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case N.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case N.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case N.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case N.BOGUS_COMMENT:{this._stateBogusComment(t);break}case N.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case N.COMMENT_START:{this._stateCommentStart(t);break}case N.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case N.COMMENT:{this._stateComment(t);break}case N.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case N.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case N.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case N.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case N.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case N.COMMENT_END:{this._stateCommentEnd(t);break}case N.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case N.DOCTYPE:{this._stateDoctype(t);break}case N.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case N.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case N.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case N.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case N.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case N.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case N.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case N.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case N.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case N.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case N.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case N.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case N.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case N.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case N.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case N.CDATA_SECTION:{this._stateCdataSection(t);break}case N.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case N.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case N.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case N.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case k.LESS_THAN_SIGN:{this.state=N.TAG_OPEN;break}case k.AMPERSAND:{this._startCharacterReference();break}case k.NULL:{this._err(X.unexpectedNullCharacter),this._emitCodePoint(t);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case k.AMPERSAND:{this._startCharacterReference();break}case k.LESS_THAN_SIGN:{this.state=N.RCDATA_LESS_THAN_SIGN;break}case k.NULL:{this._err(X.unexpectedNullCharacter),this._emitChars(Vt);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case k.LESS_THAN_SIGN:{this.state=N.RAWTEXT_LESS_THAN_SIGN;break}case k.NULL:{this._err(X.unexpectedNullCharacter),this._emitChars(Vt);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case k.LESS_THAN_SIGN:{this.state=N.SCRIPT_DATA_LESS_THAN_SIGN;break}case k.NULL:{this._err(X.unexpectedNullCharacter),this._emitChars(Vt);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case k.NULL:{this._err(X.unexpectedNullCharacter),this._emitChars(Vt);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(ya(t))this._createStartTagToken(),this.state=N.TAG_NAME,this._stateTagName(t);else switch(t){case k.EXCLAMATION_MARK:{this.state=N.MARKUP_DECLARATION_OPEN;break}case k.SOLIDUS:{this.state=N.END_TAG_OPEN;break}case k.QUESTION_MARK:{this._err(X.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=N.BOGUS_COMMENT,this._stateBogusComment(t);break}case k.EOF:{this._err(X.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(X.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=N.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(ya(t))this._createEndTagToken(),this.state=N.TAG_NAME,this._stateTagName(t);else switch(t){case k.GREATER_THAN_SIGN:{this._err(X.missingEndTagName),this.state=N.DATA;break}case k.EOF:{this._err(X.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(X.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=N.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=N.BEFORE_ATTRIBUTE_NAME;break}case k.SOLIDUS:{this.state=N.SELF_CLOSING_START_TAG;break}case k.GREATER_THAN_SIGN:{this.state=N.DATA,this.emitCurrentTagToken();break}case k.NULL:{this._err(X.unexpectedNullCharacter),n.tagName+=Vt;break}case k.EOF:{this._err(X.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Ho(t)?sl(t):t)}}_stateRcdataLessThanSign(t){t===k.SOLIDUS?this.state=N.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=N.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){ya(t)?(this.state=N.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=N.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=N.BEFORE_ATTRIBUTE_NAME,!1;case k.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=N.SELF_CLOSING_START_TAG,!1;case k.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=N.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=N.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===k.SOLIDUS?this.state=N.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=N.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){ya(t)?(this.state=N.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=N.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=N.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case k.SOLIDUS:{this.state=N.SCRIPT_DATA_END_TAG_OPEN;break}case k.EXCLAMATION_MARK:{this.state=N.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=N.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){ya(t)?(this.state=N.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=N.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=N.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===k.HYPHEN_MINUS?(this.state=N.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=N.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===k.HYPHEN_MINUS?(this.state=N.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=N.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case k.HYPHEN_MINUS:{this.state=N.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=N.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case k.NULL:{this._err(X.unexpectedNullCharacter),this._emitChars(Vt);break}case k.EOF:{this._err(X.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case k.HYPHEN_MINUS:{this.state=N.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=N.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case k.NULL:{this._err(X.unexpectedNullCharacter),this.state=N.SCRIPT_DATA_ESCAPED,this._emitChars(Vt);break}case k.EOF:{this._err(X.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=N.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case k.HYPHEN_MINUS:{this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=N.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case k.GREATER_THAN_SIGN:{this.state=N.SCRIPT_DATA,this._emitChars(">");break}case k.NULL:{this._err(X.unexpectedNullCharacter),this.state=N.SCRIPT_DATA_ESCAPED,this._emitChars(Vt);break}case k.EOF:{this._err(X.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=N.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===k.SOLIDUS?this.state=N.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ya(t)?(this._emitChars("<"),this.state=N.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=N.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){ya(t)?(this.state=N.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=N.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=N.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Bn.SCRIPT,!1)&&Sg(this.preprocessor.peek(Bn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Bn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=N.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case k.HYPHEN_MINUS:{this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case k.NULL:{this._err(X.unexpectedNullCharacter),this._emitChars(Vt);break}case k.EOF:{this._err(X.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case k.HYPHEN_MINUS:{this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case k.NULL:{this._err(X.unexpectedNullCharacter),this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Vt);break}case k.EOF:{this._err(X.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case k.HYPHEN_MINUS:{this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case k.GREATER_THAN_SIGN:{this.state=N.SCRIPT_DATA,this._emitChars(">");break}case k.NULL:{this._err(X.unexpectedNullCharacter),this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Vt);break}case k.EOF:{this._err(X.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===k.SOLIDUS?(this.state=N.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Bn.SCRIPT,!1)&&Sg(this.preprocessor.peek(Bn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Bn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=N.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.SOLIDUS:case k.GREATER_THAN_SIGN:case k.EOF:{this.state=N.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case k.EQUALS_SIGN:{this._err(X.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=N.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=N.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:case k.SOLIDUS:case k.GREATER_THAN_SIGN:case k.EOF:{this._leaveAttrName(),this.state=N.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case k.EQUALS_SIGN:{this._leaveAttrName(),this.state=N.BEFORE_ATTRIBUTE_VALUE;break}case k.QUOTATION_MARK:case k.APOSTROPHE:case k.LESS_THAN_SIGN:{this._err(X.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case k.NULL:{this._err(X.unexpectedNullCharacter),this.currentAttr.name+=Vt;break}default:this.currentAttr.name+=String.fromCodePoint(Ho(t)?sl(t):t)}}_stateAfterAttributeName(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.SOLIDUS:{this.state=N.SELF_CLOSING_START_TAG;break}case k.EQUALS_SIGN:{this.state=N.BEFORE_ATTRIBUTE_VALUE;break}case k.GREATER_THAN_SIGN:{this.state=N.DATA,this.emitCurrentTagToken();break}case k.EOF:{this._err(X.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=N.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.QUOTATION_MARK:{this.state=N.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case k.APOSTROPHE:{this.state=N.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(X.missingAttributeValue),this.state=N.DATA,this.emitCurrentTagToken();break}default:this.state=N.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case k.QUOTATION_MARK:{this.state=N.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case k.AMPERSAND:{this._startCharacterReference();break}case k.NULL:{this._err(X.unexpectedNullCharacter),this.currentAttr.value+=Vt;break}case k.EOF:{this._err(X.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case k.APOSTROPHE:{this.state=N.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case k.AMPERSAND:{this._startCharacterReference();break}case k.NULL:{this._err(X.unexpectedNullCharacter),this.currentAttr.value+=Vt;break}case k.EOF:{this._err(X.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this._leaveAttrValue(),this.state=N.BEFORE_ATTRIBUTE_NAME;break}case k.AMPERSAND:{this._startCharacterReference();break}case k.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=N.DATA,this.emitCurrentTagToken();break}case k.NULL:{this._err(X.unexpectedNullCharacter),this.currentAttr.value+=Vt;break}case k.QUOTATION_MARK:case k.APOSTROPHE:case k.LESS_THAN_SIGN:case k.EQUALS_SIGN:case k.GRAVE_ACCENT:{this._err(X.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case k.EOF:{this._err(X.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this._leaveAttrValue(),this.state=N.BEFORE_ATTRIBUTE_NAME;break}case k.SOLIDUS:{this._leaveAttrValue(),this.state=N.SELF_CLOSING_START_TAG;break}case k.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=N.DATA,this.emitCurrentTagToken();break}case k.EOF:{this._err(X.eofInTag),this._emitEOFToken();break}default:this._err(X.missingWhitespaceBetweenAttributes),this.state=N.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case k.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=N.DATA,this.emitCurrentTagToken();break}case k.EOF:{this._err(X.eofInTag),this._emitEOFToken();break}default:this._err(X.unexpectedSolidusInTag),this.state=N.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case k.GREATER_THAN_SIGN:{this.state=N.DATA,this.emitCurrentComment(n);break}case k.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case k.NULL:{this._err(X.unexpectedNullCharacter),n.data+=Vt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Bn.DASH_DASH,!0)?(this._createCommentToken(Bn.DASH_DASH.length+1),this.state=N.COMMENT_START):this._consumeSequenceIfMatch(Bn.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Bn.DOCTYPE.length+1),this.state=N.DOCTYPE):this._consumeSequenceIfMatch(Bn.CDATA_START,!0)?this.inForeignNode?this.state=N.CDATA_SECTION:(this._err(X.cdataInHtmlContent),this._createCommentToken(Bn.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=N.BOGUS_COMMENT):this._ensureHibernation()||(this._err(X.incorrectlyOpenedComment),this._createCommentToken(2),this.state=N.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case k.HYPHEN_MINUS:{this.state=N.COMMENT_START_DASH;break}case k.GREATER_THAN_SIGN:{this._err(X.abruptClosingOfEmptyComment),this.state=N.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=N.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case k.HYPHEN_MINUS:{this.state=N.COMMENT_END;break}case k.GREATER_THAN_SIGN:{this._err(X.abruptClosingOfEmptyComment),this.state=N.DATA,this.emitCurrentComment(n);break}case k.EOF:{this._err(X.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=N.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case k.HYPHEN_MINUS:{this.state=N.COMMENT_END_DASH;break}case k.LESS_THAN_SIGN:{n.data+="<",this.state=N.COMMENT_LESS_THAN_SIGN;break}case k.NULL:{this._err(X.unexpectedNullCharacter),n.data+=Vt;break}case k.EOF:{this._err(X.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case k.EXCLAMATION_MARK:{n.data+="!",this.state=N.COMMENT_LESS_THAN_SIGN_BANG;break}case k.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=N.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===k.HYPHEN_MINUS?this.state=N.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=N.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===k.HYPHEN_MINUS?this.state=N.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=N.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==k.GREATER_THAN_SIGN&&t!==k.EOF&&this._err(X.nestedComment),this.state=N.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case k.HYPHEN_MINUS:{this.state=N.COMMENT_END;break}case k.EOF:{this._err(X.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=N.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case k.GREATER_THAN_SIGN:{this.state=N.DATA,this.emitCurrentComment(n);break}case k.EXCLAMATION_MARK:{this.state=N.COMMENT_END_BANG;break}case k.HYPHEN_MINUS:{n.data+="-";break}case k.EOF:{this._err(X.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=N.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case k.HYPHEN_MINUS:{n.data+="--!",this.state=N.COMMENT_END_DASH;break}case k.GREATER_THAN_SIGN:{this._err(X.incorrectlyClosedComment),this.state=N.DATA,this.emitCurrentComment(n);break}case k.EOF:{this._err(X.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=N.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=N.BEFORE_DOCTYPE_NAME;break}case k.GREATER_THAN_SIGN:{this.state=N.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case k.EOF:{this._err(X.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(X.missingWhitespaceBeforeDoctypeName),this.state=N.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Ho(t))this._createDoctypeToken(String.fromCharCode(sl(t))),this.state=N.DOCTYPE_NAME;else switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.NULL:{this._err(X.unexpectedNullCharacter),this._createDoctypeToken(Vt),this.state=N.DOCTYPE_NAME;break}case k.GREATER_THAN_SIGN:{this._err(X.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=N.DATA;break}case k.EOF:{this._err(X.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=N.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=N.AFTER_DOCTYPE_NAME;break}case k.GREATER_THAN_SIGN:{this.state=N.DATA,this.emitCurrentDoctype(n);break}case k.NULL:{this._err(X.unexpectedNullCharacter),n.name+=Vt;break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Ho(t)?sl(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.GREATER_THAN_SIGN:{this.state=N.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Bn.PUBLIC,!1)?this.state=N.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Bn.SYSTEM,!1)?this.state=N.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(X.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=N.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=N.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case k.QUOTATION_MARK:{this._err(X.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=N.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{this._err(X.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=N.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(X.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=N.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(X.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=N.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.QUOTATION_MARK:{n.publicId="",this.state=N.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{n.publicId="",this.state=N.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(X.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=N.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(X.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=N.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case k.QUOTATION_MARK:{this.state=N.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case k.NULL:{this._err(X.unexpectedNullCharacter),n.publicId+=Vt;break}case k.GREATER_THAN_SIGN:{this._err(X.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=N.DATA;break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case k.APOSTROPHE:{this.state=N.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case k.NULL:{this._err(X.unexpectedNullCharacter),n.publicId+=Vt;break}case k.GREATER_THAN_SIGN:{this._err(X.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=N.DATA;break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=N.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case k.GREATER_THAN_SIGN:{this.state=N.DATA,this.emitCurrentDoctype(n);break}case k.QUOTATION_MARK:{this._err(X.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=N.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{this._err(X.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=N.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(X.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=N.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=N.DATA;break}case k.QUOTATION_MARK:{n.systemId="",this.state=N.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{n.systemId="",this.state=N.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(X.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=N.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=N.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case k.QUOTATION_MARK:{this._err(X.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=N.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{this._err(X.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=N.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(X.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=N.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(X.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=N.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.QUOTATION_MARK:{n.systemId="",this.state=N.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{n.systemId="",this.state=N.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(X.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=N.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(X.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=N.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case k.QUOTATION_MARK:{this.state=N.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case k.NULL:{this._err(X.unexpectedNullCharacter),n.systemId+=Vt;break}case k.GREATER_THAN_SIGN:{this._err(X.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=N.DATA;break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case k.APOSTROPHE:{this.state=N.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case k.NULL:{this._err(X.unexpectedNullCharacter),n.systemId+=Vt;break}case k.GREATER_THAN_SIGN:{this._err(X.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=N.DATA;break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=N.DATA;break}case k.EOF:{this._err(X.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(X.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=N.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case k.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=N.DATA;break}case k.NULL:{this._err(X.unexpectedNullCharacter);break}case k.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case k.RIGHT_SQUARE_BRACKET:{this.state=N.CDATA_SECTION_BRACKET;break}case k.EOF:{this._err(X.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===k.RIGHT_SQUARE_BRACKET?this.state=N.CDATA_SECTION_END:(this._emitChars("]"),this.state=N.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case k.GREATER_THAN_SIGN:{this.state=N.DATA;break}case k.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=N.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(k.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Tg(this.preprocessor.peek(1))?N.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Tg(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===k.SEMICOLON&&this._err(X.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const i6=new Set([h.DD,h.DT,h.LI,h.OPTGROUP,h.OPTION,h.P,h.RB,h.RP,h.RT,h.RTC]),Cg=new Set([...i6,h.CAPTION,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]),Ql=new Set([h.APPLET,h.CAPTION,h.HTML,h.MARQUEE,h.OBJECT,h.TABLE,h.TD,h.TEMPLATE,h.TH]),KN=new Set([...Ql,h.OL,h.UL]),YN=new Set([...Ql,h.BUTTON]),wg=new Set([h.ANNOTATION_XML,h.MI,h.MN,h.MO,h.MS,h.MTEXT]),Ag=new Set([h.DESC,h.FOREIGN_OBJECT,h.TITLE]),XN=new Set([h.TR,h.TEMPLATE,h.HTML]),QN=new Set([h.TBODY,h.TFOOT,h.THEAD,h.TEMPLATE,h.HTML]),ZN=new Set([h.TABLE,h.TEMPLATE,h.HTML]),JN=new Set([h.TD,h.TH]);class eL{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=h.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===h.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===se.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const a=this._indexOf(t)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,r),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==se.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(B0,se.HTML)}popUntilTableCellPopped(){this.popUntilPopped(JN,se.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(ZN,se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(QN,se.HTML)}clearBackToTableRowContext(){this.clearBackTo(XN,se.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===h.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===h.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case se.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case se.SVG:{if(Ag.has(a))return!1;break}case se.MATHML:{if(wg.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Ql)}hasInListItemScope(t){return this.hasInDynamicScope(t,KN)}hasInButtonScope(t){return this.hasInDynamicScope(t,YN)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case se.HTML:{if(B0.has(n))return!0;if(Ql.has(n))return!1;break}case se.SVG:{if(Ag.has(n))return!1;break}case se.MATHML:{if(wg.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===se.HTML)switch(this.tagIDs[n]){case t:return!0;case h.TABLE:case h.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===se.HTML)switch(this.tagIDs[t]){case h.TBODY:case h.THEAD:case h.TFOOT:return!0;case h.TABLE:case h.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===se.HTML)switch(this.tagIDs[n]){case t:return!0;case h.OPTION:case h.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&i6.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Cg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Cg.has(this.currentTagId);)this.pop()}}const Uc=3;var Ur;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Ur||(Ur={}));const kg={type:Ur.Marker};class tL{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){const l=this.entries[s];if(l.type===Ur.Marker)break;const{element:u}=l;if(this.treeAdapter.getTagName(u)===i&&this.treeAdapter.getNamespaceURI(u)===o){const d=this.treeAdapter.getAttrList(u);d.length===a&&r.push({idx:s,attrs:d})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Uc)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Uc)return;const a=new Map(n.map(o=>[o.name,o.value]));let i=0;for(let o=0;o<r.length;o++){const s=r[o];s.attrs.every(l=>a.get(l.name)===l.value)&&(i+=1,i>=Uc&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(kg)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Ur.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Ur.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(kg);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Ur.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Ur.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Ur.Element&&n.element===t)}}const va={createDocument(){return{nodeName:"#document",mode:cr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};va.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(va.isTextNode(n)){n.value+=t;return}}va.appendChild(e,va.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&va.isTextNode(r)?r.value+=t:va.insertBefore(e,va.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},o6="html",nL="about:legacy-compat",rL="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",s6=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],aL=[...s6,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],iL=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),l6=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],oL=[...l6,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Og(e,t){return t.some(n=>e.startsWith(n))}function sL(e){return e.name===o6&&e.publicId===null&&(e.systemId===null||e.systemId===nL)}function lL(e){if(e.name!==o6)return cr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===rL)return cr.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),iL.has(n))return cr.QUIRKS;let r=t===null?aL:s6;if(Og(n,r))return cr.QUIRKS;if(r=t===null?l6:oL,Og(n,r))return cr.LIMITED_QUIRKS}return cr.NO_QUIRKS}const Ig={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},uL="definitionurl",cL="definitionURL",dL=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),fL=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:se.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:se.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:se.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:se.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:se.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:se.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:se.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:se.XML}],["xml:space",{prefix:"xml",name:"space",namespace:se.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:se.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:se.XMLNS}]]),hL=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),gL=new Set([h.B,h.BIG,h.BLOCKQUOTE,h.BODY,h.BR,h.CENTER,h.CODE,h.DD,h.DIV,h.DL,h.DT,h.EM,h.EMBED,h.H1,h.H2,h.H3,h.H4,h.H5,h.H6,h.HEAD,h.HR,h.I,h.IMG,h.LI,h.LISTING,h.MENU,h.META,h.NOBR,h.OL,h.P,h.PRE,h.RUBY,h.S,h.SMALL,h.SPAN,h.STRONG,h.STRIKE,h.SUB,h.SUP,h.TABLE,h.TT,h.U,h.UL,h.VAR]);function pL(e){const t=e.tagID;return t===h.FONT&&e.attrs.some(({name:r})=>r===li.COLOR||r===li.SIZE||r===li.FACE)||gL.has(t)}function u6(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===uL){e.attrs[t].name=cL;break}}function c6(e){for(let t=0;t<e.attrs.length;t++){const n=dL.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function zd(e){for(let t=0;t<e.attrs.length;t++){const n=fL.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function mL(e){const t=hL.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=ho(e.tagName))}function xL(e,t){return t===se.MATHML&&(e===h.MI||e===h.MO||e===h.MN||e===h.MS||e===h.MTEXT)}function bL(e,t,n){if(t===se.MATHML&&e===h.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===li.ENCODING){const a=n[r].value.toLowerCase();return a===Ig.TEXT_HTML||a===Ig.APPLICATION_XML}}return t===se.SVG&&(e===h.FOREIGN_OBJECT||e===h.DESC||e===h.TITLE)}function EL(e,t,n,r){return(!r||r===se.HTML)&&bL(e,t,n)||(!r||r===se.MATHML)&&xL(e,t)}const yL="hidden",vL=8,_L=3;var P;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(P||(P={}));const TL={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},d6=new Set([h.TABLE,h.TBODY,h.TFOOT,h.THEAD,h.TR]),Ng={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:va,onParseError:null};class Lg{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=P.INITIAL,this.originalInsertionMode=P.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Ng,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n!=null?n:this.treeAdapter.createDocument(),this.tokenizer=new GN(this.options,this),this.activeFormattingElements=new tL(this.treeAdapter),this.fragmentContextID=r?ho(this.treeAdapter.getTagName(r)):h.UNKNOWN,this._setContextModes(r!=null?r:this.document,this.fragmentContextID),this.openElements=new eL(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...Ng,...n};t!=null||(t=r.treeAdapter.createElement(j.TEMPLATE,se.HTML,[]));const a=r.treeAdapter.createElement("documentmock",se.HTML,[]),i=new this(r,a,t);return i.fragmentContextID===h.TEMPLATE&&i.tmplInsertionModeStack.unshift(P.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:TL,o={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,n,r){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let i,o;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,o=this.fragmentContextID):{current:i,currentTagId:o}=this.openElements,this._setContextModes(i,o)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===se.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,se.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=P.TEXT}switchToPlaintextParsing(){this.insertionMode=P.TEXT,this.originalInsertionMode=P.IN_BODY,this.tokenizer.state=en.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===j.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==se.HTML))switch(this.fragmentContextID){case h.TITLE:case h.TEXTAREA:{this.tokenizer.state=en.RCDATA;break}case h.STYLE:case h.XMP:case h.IFRAME:case h.NOEMBED:case h.NOFRAMES:case h.NOSCRIPT:{this.tokenizer.state=en.RAWTEXT;break}case h.SCRIPT:{this.tokenizer.state=en.SCRIPT_DATA;break}case h.PLAINTEXT:{this.tokenizer.state=en.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r!=null?r:this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,se.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,se.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(j.HTML,se.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,h.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),i=r?a.lastIndexOf(r):a.length,o=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:l,endCol:u,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:l,endCol:u,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),i=n.type===at.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===h.SVG&&this.treeAdapter.getTagName(n)===j.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===se.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===h.MGLYPH||t.tagID===h.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,se.HTML)}_processToken(t){switch(t.type){case at.CHARACTER:{this.onCharacter(t);break}case at.NULL_CHARACTER:{this.onNullCharacter(t);break}case at.COMMENT:{this.onComment(t);break}case at.DOCTYPE:{this.onDoctype(t);break}case at.START_TAG:{this._processStartTag(t);break}case at.END_TAG:{this.onEndTag(t);break}case at.EOF:{this.onEof(t);break}case at.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return EL(t,a,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Ur.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=P.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(h.P),this.openElements.popUntilTagNamePopped(h.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case h.TR:{this.insertionMode=P.IN_ROW;return}case h.TBODY:case h.THEAD:case h.TFOOT:{this.insertionMode=P.IN_TABLE_BODY;return}case h.CAPTION:{this.insertionMode=P.IN_CAPTION;return}case h.COLGROUP:{this.insertionMode=P.IN_COLUMN_GROUP;return}case h.TABLE:{this.insertionMode=P.IN_TABLE;return}case h.BODY:{this.insertionMode=P.IN_BODY;return}case h.FRAMESET:{this.insertionMode=P.IN_FRAMESET;return}case h.SELECT:{this._resetInsertionModeForSelect(t);return}case h.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case h.HTML:{this.insertionMode=this.headElement?P.AFTER_HEAD:P.BEFORE_HEAD;return}case h.TD:case h.TH:{if(t>0){this.insertionMode=P.IN_CELL;return}break}case h.HEAD:{if(t>0){this.insertionMode=P.IN_HEAD;return}break}}this.insertionMode=P.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===h.TEMPLATE)break;if(r===h.TABLE){this.insertionMode=P.IN_SELECT_IN_TABLE;return}}this.insertionMode=P.IN_SELECT}_isElementCausesFosterParenting(t){return d6.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case h.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===se.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case h.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return jN[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){JR(this,t);return}switch(this.insertionMode){case P.INITIAL:{Ro(this,t);break}case P.BEFORE_HTML:{Ko(this,t);break}case P.BEFORE_HEAD:{Yo(this,t);break}case P.IN_HEAD:{Xo(this,t);break}case P.IN_HEAD_NO_SCRIPT:{Qo(this,t);break}case P.AFTER_HEAD:{Zo(this,t);break}case P.IN_BODY:case P.IN_CAPTION:case P.IN_CELL:case P.IN_TEMPLATE:{h6(this,t);break}case P.TEXT:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{zc(this,t);break}case P.IN_TABLE_TEXT:{E6(this,t);break}case P.IN_COLUMN_GROUP:{Zl(this,t);break}case P.AFTER_BODY:{Jl(this,t);break}case P.AFTER_AFTER_BODY:{Sl(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){ZR(this,t);return}switch(this.insertionMode){case P.INITIAL:{Ro(this,t);break}case P.BEFORE_HTML:{Ko(this,t);break}case P.BEFORE_HEAD:{Yo(this,t);break}case P.IN_HEAD:{Xo(this,t);break}case P.IN_HEAD_NO_SCRIPT:{Qo(this,t);break}case P.AFTER_HEAD:{Zo(this,t);break}case P.TEXT:{this._insertCharacters(t);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{zc(this,t);break}case P.IN_COLUMN_GROUP:{Zl(this,t);break}case P.AFTER_BODY:{Jl(this,t);break}case P.AFTER_AFTER_BODY:{Sl(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){$0(this,t);return}switch(this.insertionMode){case P.INITIAL:case P.BEFORE_HTML:case P.BEFORE_HEAD:case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:case P.IN_BODY:case P.IN_TABLE:case P.IN_CAPTION:case P.IN_COLUMN_GROUP:case P.IN_TABLE_BODY:case P.IN_ROW:case P.IN_CELL:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:case P.IN_TEMPLATE:case P.IN_FRAMESET:case P.AFTER_FRAMESET:{$0(this,t);break}case P.IN_TABLE_TEXT:{Do(this,t);break}case P.AFTER_BODY:{IL(this,t);break}case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{NL(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case P.INITIAL:{LL(this,t);break}case P.BEFORE_HEAD:case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:{this._err(t,X.misplacedDoctype);break}case P.IN_TABLE_TEXT:{Do(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,X.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?eD(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case P.INITIAL:{Ro(this,t);break}case P.BEFORE_HTML:{RL(this,t);break}case P.BEFORE_HEAD:{PL(this,t);break}case P.IN_HEAD:{Lr(this,t);break}case P.IN_HEAD_NO_SCRIPT:{$L(this,t);break}case P.AFTER_HEAD:{HL(this,t);break}case P.IN_BODY:{An(this,t);break}case P.IN_TABLE:{Ki(this,t);break}case P.IN_TABLE_TEXT:{Do(this,t);break}case P.IN_CAPTION:{MR(this,t);break}case P.IN_COLUMN_GROUP:{Vd(this,t);break}case P.IN_TABLE_BODY:{Ku(this,t);break}case P.IN_ROW:{Yu(this,t);break}case P.IN_CELL:{FR(this,t);break}case P.IN_SELECT:{_6(this,t);break}case P.IN_SELECT_IN_TABLE:{UR(this,t);break}case P.IN_TEMPLATE:{jR(this,t);break}case P.AFTER_BODY:{VR(this,t);break}case P.IN_FRAMESET:{qR(this,t);break}case P.AFTER_FRAMESET:{KR(this,t);break}case P.AFTER_AFTER_BODY:{XR(this,t);break}case P.AFTER_AFTER_FRAMESET:{QR(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?tD(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case P.INITIAL:{Ro(this,t);break}case P.BEFORE_HTML:{DL(this,t);break}case P.BEFORE_HEAD:{ML(this,t);break}case P.IN_HEAD:{BL(this,t);break}case P.IN_HEAD_NO_SCRIPT:{FL(this,t);break}case P.AFTER_HEAD:{UL(this,t);break}case P.IN_BODY:{Gu(this,t);break}case P.TEXT:{wR(this,t);break}case P.IN_TABLE:{ps(this,t);break}case P.IN_TABLE_TEXT:{Do(this,t);break}case P.IN_CAPTION:{BR(this,t);break}case P.IN_COLUMN_GROUP:{$R(this,t);break}case P.IN_TABLE_BODY:{F0(this,t);break}case P.IN_ROW:{v6(this,t);break}case P.IN_CELL:{HR(this,t);break}case P.IN_SELECT:{T6(this,t);break}case P.IN_SELECT_IN_TABLE:{zR(this,t);break}case P.IN_TEMPLATE:{WR(this,t);break}case P.AFTER_BODY:{C6(this,t);break}case P.IN_FRAMESET:{GR(this,t);break}case P.AFTER_FRAMESET:{YR(this,t);break}case P.AFTER_AFTER_BODY:{Sl(this,t);break}}}onEof(t){switch(this.insertionMode){case P.INITIAL:{Ro(this,t);break}case P.BEFORE_HTML:{Ko(this,t);break}case P.BEFORE_HEAD:{Yo(this,t);break}case P.IN_HEAD:{Xo(this,t);break}case P.IN_HEAD_NO_SCRIPT:{Qo(this,t);break}case P.AFTER_HEAD:{Zo(this,t);break}case P.IN_BODY:case P.IN_TABLE:case P.IN_CAPTION:case P.IN_COLUMN_GROUP:case P.IN_TABLE_BODY:case P.IN_ROW:case P.IN_CELL:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:{x6(this,t);break}case P.TEXT:{AR(this,t);break}case P.IN_TABLE_TEXT:{Do(this,t);break}case P.IN_TEMPLATE:{S6(this,t);break}case P.AFTER_BODY:case P.IN_FRAMESET:case P.AFTER_FRAMESET:case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{Wd(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===k.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case P.IN_HEAD:case P.IN_HEAD_NO_SCRIPT:case P.AFTER_HEAD:case P.TEXT:case P.IN_COLUMN_GROUP:case P.IN_SELECT:case P.IN_SELECT_IN_TABLE:case P.IN_FRAMESET:case P.AFTER_FRAMESET:{this._insertCharacters(t);break}case P.IN_BODY:case P.IN_CAPTION:case P.IN_CELL:case P.IN_TEMPLATE:case P.AFTER_BODY:case P.AFTER_AFTER_BODY:case P.AFTER_AFTER_FRAMESET:{f6(this,t);break}case P.IN_TABLE:case P.IN_TABLE_BODY:case P.IN_ROW:{zc(this,t);break}case P.IN_TABLE_TEXT:{b6(this,t);break}}}}function SL(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):m6(e,t),n}function CL(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function wL(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);const s=e.activeFormattingElements.getElementEntry(o),l=s&&i>=_L;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=AL(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function AL(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function kL(e,t,n){const r=e.treeAdapter.getTagName(t),a=ho(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);a===h.TEMPLATE&&i===se.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function OL(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}function jd(e,t){for(let n=0;n<vL;n++){const r=SL(e,t);if(!r)break;const a=CL(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const i=wL(e,a,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),o&&kL(e,o,i),OL(e,a,r)}}function $0(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function IL(e,t){e._appendCommentNode(t,e.openElements.items[0])}function NL(e,t){e._appendCommentNode(t,e.document)}function Wd(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&e._setEndLocation(i,t)}}}}function LL(e,t){e._setDocumentType(t);const n=t.forceQuirks?cr.QUIRKS:lL(t);sL(t)||e._err(t,X.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=P.BEFORE_HTML}function Ro(e,t){e._err(t,X.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,cr.QUIRKS),e.insertionMode=P.BEFORE_HTML,e._processToken(t)}function RL(e,t){t.tagID===h.HTML?(e._insertElement(t,se.HTML),e.insertionMode=P.BEFORE_HEAD):Ko(e,t)}function DL(e,t){const n=t.tagID;(n===h.HTML||n===h.HEAD||n===h.BODY||n===h.BR)&&Ko(e,t)}function Ko(e,t){e._insertFakeRootElement(),e.insertionMode=P.BEFORE_HEAD,e._processToken(t)}function PL(e,t){switch(t.tagID){case h.HTML:{An(e,t);break}case h.HEAD:{e._insertElement(t,se.HTML),e.headElement=e.openElements.current,e.insertionMode=P.IN_HEAD;break}default:Yo(e,t)}}function ML(e,t){const n=t.tagID;n===h.HEAD||n===h.BODY||n===h.HTML||n===h.BR?Yo(e,t):e._err(t,X.endTagWithoutMatchingOpenElement)}function Yo(e,t){e._insertFakeElement(j.HEAD,h.HEAD),e.headElement=e.openElements.current,e.insertionMode=P.IN_HEAD,e._processToken(t)}function Lr(e,t){switch(t.tagID){case h.HTML:{An(e,t);break}case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:{e._appendElement(t,se.HTML),t.ackSelfClosing=!0;break}case h.TITLE:{e._switchToTextParsing(t,en.RCDATA);break}case h.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,en.RAWTEXT):(e._insertElement(t,se.HTML),e.insertionMode=P.IN_HEAD_NO_SCRIPT);break}case h.NOFRAMES:case h.STYLE:{e._switchToTextParsing(t,en.RAWTEXT);break}case h.SCRIPT:{e._switchToTextParsing(t,en.SCRIPT_DATA);break}case h.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=P.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(P.IN_TEMPLATE);break}case h.HEAD:{e._err(t,X.misplacedStartTagForHeadElement);break}default:Xo(e,t)}}function BL(e,t){switch(t.tagID){case h.HEAD:{e.openElements.pop(),e.insertionMode=P.AFTER_HEAD;break}case h.BODY:case h.BR:case h.HTML:{Xo(e,t);break}case h.TEMPLATE:{bi(e,t);break}default:e._err(t,X.endTagWithoutMatchingOpenElement)}}function bi(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==h.TEMPLATE&&e._err(t,X.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,X.endTagWithoutMatchingOpenElement)}function Xo(e,t){e.openElements.pop(),e.insertionMode=P.AFTER_HEAD,e._processToken(t)}function $L(e,t){switch(t.tagID){case h.HTML:{An(e,t);break}case h.BASEFONT:case h.BGSOUND:case h.HEAD:case h.LINK:case h.META:case h.NOFRAMES:case h.STYLE:{Lr(e,t);break}case h.NOSCRIPT:{e._err(t,X.nestedNoscriptInHead);break}default:Qo(e,t)}}function FL(e,t){switch(t.tagID){case h.NOSCRIPT:{e.openElements.pop(),e.insertionMode=P.IN_HEAD;break}case h.BR:{Qo(e,t);break}default:e._err(t,X.endTagWithoutMatchingOpenElement)}}function Qo(e,t){const n=t.type===at.EOF?X.openElementsLeftAfterEof:X.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=P.IN_HEAD,e._processToken(t)}function HL(e,t){switch(t.tagID){case h.HTML:{An(e,t);break}case h.BODY:{e._insertElement(t,se.HTML),e.framesetOk=!1,e.insertionMode=P.IN_BODY;break}case h.FRAMESET:{e._insertElement(t,se.HTML),e.insertionMode=P.IN_FRAMESET;break}case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:case h.NOFRAMES:case h.SCRIPT:case h.STYLE:case h.TEMPLATE:case h.TITLE:{e._err(t,X.abandonedHeadElementChild),e.openElements.push(e.headElement,h.HEAD),Lr(e,t),e.openElements.remove(e.headElement);break}case h.HEAD:{e._err(t,X.misplacedStartTagForHeadElement);break}default:Zo(e,t)}}function UL(e,t){switch(t.tagID){case h.BODY:case h.HTML:case h.BR:{Zo(e,t);break}case h.TEMPLATE:{bi(e,t);break}default:e._err(t,X.endTagWithoutMatchingOpenElement)}}function Zo(e,t){e._insertFakeElement(j.BODY,h.BODY),e.insertionMode=P.IN_BODY,qu(e,t)}function qu(e,t){switch(t.type){case at.CHARACTER:{h6(e,t);break}case at.WHITESPACE_CHARACTER:{f6(e,t);break}case at.COMMENT:{$0(e,t);break}case at.START_TAG:{An(e,t);break}case at.END_TAG:{Gu(e,t);break}case at.EOF:{x6(e,t);break}}}function f6(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function h6(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function zL(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function jL(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function WL(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,se.HTML),e.insertionMode=P.IN_FRAMESET)}function VL(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,se.HTML)}function qL(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&B0.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,se.HTML)}function GL(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,se.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function KL(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,se.HTML),n||(e.formElement=e.openElements.current))}function YL(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===h.LI&&a===h.LI||(n===h.DD||n===h.DT)&&(a===h.DD||a===h.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==h.ADDRESS&&a!==h.DIV&&a!==h.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,se.HTML)}function XL(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,se.HTML),e.tokenizer.state=en.PLAINTEXT}function QL(e,t){e.openElements.hasInScope(h.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML),e.framesetOk=!1}function ZL(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(j.A);n&&(jd(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function JL(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function eR(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(h.NOBR)&&(jd(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function tR(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function nR(e,t){e.treeAdapter.getDocumentMode(e.document)!==cr.QUIRKS&&e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,se.HTML),e.framesetOk=!1,e.insertionMode=P.IN_TABLE}function g6(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function p6(e){const t=r6(e,li.TYPE);return t!=null&&t.toLowerCase()===yL}function rR(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,se.HTML),p6(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function aR(e,t){e._appendElement(t,se.HTML),t.ackSelfClosing=!0}function iR(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._appendElement(t,se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function oR(e,t){t.tagName=j.IMG,t.tagID=h.IMG,g6(e,t)}function sR(e,t){e._insertElement(t,se.HTML),e.skipNextNewLine=!0,e.tokenizer.state=en.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=P.TEXT}function lR(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,en.RAWTEXT)}function uR(e,t){e.framesetOk=!1,e._switchToTextParsing(t,en.RAWTEXT)}function Rg(e,t){e._switchToTextParsing(t,en.RAWTEXT)}function cR(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===P.IN_TABLE||e.insertionMode===P.IN_CAPTION||e.insertionMode===P.IN_TABLE_BODY||e.insertionMode===P.IN_ROW||e.insertionMode===P.IN_CELL?P.IN_SELECT_IN_TABLE:P.IN_SELECT}function dR(e,t){e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML)}function fR(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,se.HTML)}function hR(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(h.RTC),e._insertElement(t,se.HTML)}function gR(e,t){e._reconstructActiveFormattingElements(),u6(t),zd(t),t.selfClosing?e._appendElement(t,se.MATHML):e._insertElement(t,se.MATHML),t.ackSelfClosing=!0}function pR(e,t){e._reconstructActiveFormattingElements(),c6(t),zd(t),t.selfClosing?e._appendElement(t,se.SVG):e._insertElement(t,se.SVG),t.ackSelfClosing=!0}function Dg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,se.HTML)}function An(e,t){switch(t.tagID){case h.I:case h.S:case h.B:case h.U:case h.EM:case h.TT:case h.BIG:case h.CODE:case h.FONT:case h.SMALL:case h.STRIKE:case h.STRONG:{JL(e,t);break}case h.A:{ZL(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{qL(e,t);break}case h.P:case h.DL:case h.OL:case h.UL:case h.DIV:case h.DIR:case h.NAV:case h.MAIN:case h.MENU:case h.ASIDE:case h.CENTER:case h.FIGURE:case h.FOOTER:case h.HEADER:case h.HGROUP:case h.DIALOG:case h.DETAILS:case h.ADDRESS:case h.ARTICLE:case h.SEARCH:case h.SECTION:case h.SUMMARY:case h.FIELDSET:case h.BLOCKQUOTE:case h.FIGCAPTION:{VL(e,t);break}case h.LI:case h.DD:case h.DT:{YL(e,t);break}case h.BR:case h.IMG:case h.WBR:case h.AREA:case h.EMBED:case h.KEYGEN:{g6(e,t);break}case h.HR:{iR(e,t);break}case h.RB:case h.RTC:{fR(e,t);break}case h.RT:case h.RP:{hR(e,t);break}case h.PRE:case h.LISTING:{GL(e,t);break}case h.XMP:{lR(e,t);break}case h.SVG:{pR(e,t);break}case h.HTML:{zL(e,t);break}case h.BASE:case h.LINK:case h.META:case h.STYLE:case h.TITLE:case h.SCRIPT:case h.BGSOUND:case h.BASEFONT:case h.TEMPLATE:{Lr(e,t);break}case h.BODY:{jL(e,t);break}case h.FORM:{KL(e,t);break}case h.NOBR:{eR(e,t);break}case h.MATH:{gR(e,t);break}case h.TABLE:{nR(e,t);break}case h.INPUT:{rR(e,t);break}case h.PARAM:case h.TRACK:case h.SOURCE:{aR(e,t);break}case h.IMAGE:{oR(e,t);break}case h.BUTTON:{QL(e,t);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{tR(e,t);break}case h.IFRAME:{uR(e,t);break}case h.SELECT:{cR(e,t);break}case h.OPTION:case h.OPTGROUP:{dR(e,t);break}case h.NOEMBED:case h.NOFRAMES:{Rg(e,t);break}case h.FRAMESET:{WL(e,t);break}case h.TEXTAREA:{sR(e,t);break}case h.NOSCRIPT:{e.options.scriptingEnabled?Rg(e,t):Dg(e,t);break}case h.PLAINTEXT:{XL(e,t);break}case h.COL:case h.TH:case h.TD:case h.TR:case h.HEAD:case h.FRAME:case h.TBODY:case h.TFOOT:case h.THEAD:case h.CAPTION:case h.COLGROUP:break;default:Dg(e,t)}}function mR(e,t){if(e.openElements.hasInScope(h.BODY)&&(e.insertionMode=P.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function xR(e,t){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=P.AFTER_BODY,C6(e,t))}function bR(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function ER(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(h.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(h.FORM):n&&e.openElements.remove(n))}function yR(e){e.openElements.hasInButtonScope(h.P)||e._insertFakeElement(j.P,h.P),e._closePElement()}function vR(e){e.openElements.hasInListItemScope(h.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(h.LI),e.openElements.popUntilTagNamePopped(h.LI))}function _R(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function TR(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function SR(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function CR(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(j.BR,h.BR),e.openElements.pop(),e.framesetOk=!1}function m6(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],o=e.openElements.tagIDs[a];if(r===o&&(r!==h.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,o))break}}function Gu(e,t){switch(t.tagID){case h.A:case h.B:case h.I:case h.S:case h.U:case h.EM:case h.TT:case h.BIG:case h.CODE:case h.FONT:case h.NOBR:case h.SMALL:case h.STRIKE:case h.STRONG:{jd(e,t);break}case h.P:{yR(e);break}case h.DL:case h.UL:case h.OL:case h.DIR:case h.DIV:case h.NAV:case h.PRE:case h.MAIN:case h.MENU:case h.ASIDE:case h.BUTTON:case h.CENTER:case h.FIGURE:case h.FOOTER:case h.HEADER:case h.HGROUP:case h.DIALOG:case h.ADDRESS:case h.ARTICLE:case h.DETAILS:case h.SEARCH:case h.SECTION:case h.SUMMARY:case h.LISTING:case h.FIELDSET:case h.BLOCKQUOTE:case h.FIGCAPTION:{bR(e,t);break}case h.LI:{vR(e);break}case h.DD:case h.DT:{_R(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{TR(e);break}case h.BR:{CR(e);break}case h.BODY:{mR(e,t);break}case h.HTML:{xR(e,t);break}case h.FORM:{ER(e);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{SR(e,t);break}case h.TEMPLATE:{bi(e,t);break}default:m6(e,t)}}function x6(e,t){e.tmplInsertionModeStack.length>0?S6(e,t):Wd(e,t)}function wR(e,t){var n;t.tagID===h.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function AR(e,t){e._err(t,X.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function zc(e,t){if(e.openElements.currentTagId!==void 0&&d6.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=P.IN_TABLE_TEXT,t.type){case at.CHARACTER:{E6(e,t);break}case at.WHITESPACE_CHARACTER:{b6(e,t);break}}else $s(e,t)}function kR(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,se.HTML),e.insertionMode=P.IN_CAPTION}function OR(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,se.HTML),e.insertionMode=P.IN_COLUMN_GROUP}function IR(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.COLGROUP,h.COLGROUP),e.insertionMode=P.IN_COLUMN_GROUP,Vd(e,t)}function NR(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,se.HTML),e.insertionMode=P.IN_TABLE_BODY}function LR(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.TBODY,h.TBODY),e.insertionMode=P.IN_TABLE_BODY,Ku(e,t)}function RR(e,t){e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function DR(e,t){p6(t)?e._appendElement(t,se.HTML):$s(e,t),t.ackSelfClosing=!0}function PR(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,se.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ki(e,t){switch(t.tagID){case h.TD:case h.TH:case h.TR:{LR(e,t);break}case h.STYLE:case h.SCRIPT:case h.TEMPLATE:{Lr(e,t);break}case h.COL:{IR(e,t);break}case h.FORM:{PR(e,t);break}case h.TABLE:{RR(e,t);break}case h.TBODY:case h.TFOOT:case h.THEAD:{NR(e,t);break}case h.INPUT:{DR(e,t);break}case h.CAPTION:{kR(e,t);break}case h.COLGROUP:{OR(e,t);break}default:$s(e,t)}}function ps(e,t){switch(t.tagID){case h.TABLE:{e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode());break}case h.TEMPLATE:{bi(e,t);break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:case h.TBODY:case h.TD:case h.TFOOT:case h.TH:case h.THEAD:case h.TR:break;default:$s(e,t)}}function $s(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,qu(e,t),e.fosterParentingEnabled=n}function b6(e,t){e.pendingCharacterTokens.push(t)}function E6(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Do(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)$s(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const y6=new Set([h.CAPTION,h.COL,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]);function MR(e,t){const n=t.tagID;y6.has(n)?e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=P.IN_TABLE,Ki(e,t)):An(e,t)}function BR(e,t){const n=t.tagID;switch(n){case h.CAPTION:case h.TABLE:{e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=P.IN_TABLE,n===h.TABLE&&ps(e,t));break}case h.BODY:case h.COL:case h.COLGROUP:case h.HTML:case h.TBODY:case h.TD:case h.TFOOT:case h.TH:case h.THEAD:case h.TR:break;default:Gu(e,t)}}function Vd(e,t){switch(t.tagID){case h.HTML:{An(e,t);break}case h.COL:{e._appendElement(t,se.HTML),t.ackSelfClosing=!0;break}case h.TEMPLATE:{Lr(e,t);break}default:Zl(e,t)}}function $R(e,t){switch(t.tagID){case h.COLGROUP:{e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=P.IN_TABLE);break}case h.TEMPLATE:{bi(e,t);break}case h.COL:break;default:Zl(e,t)}}function Zl(e,t){e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=P.IN_TABLE,e._processToken(t))}function Ku(e,t){switch(t.tagID){case h.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,se.HTML),e.insertionMode=P.IN_ROW;break}case h.TH:case h.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(j.TR,h.TR),e.insertionMode=P.IN_ROW,Yu(e,t);break}case h.CAPTION:case h.COL:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE,Ki(e,t));break}default:Ki(e,t)}}function F0(e,t){const n=t.tagID;switch(t.tagID){case h.TBODY:case h.TFOOT:case h.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE);break}case h.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE,ps(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:case h.TD:case h.TH:case h.TR:break;default:ps(e,t)}}function Yu(e,t){switch(t.tagID){case h.TH:case h.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,se.HTML),e.insertionMode=P.IN_CELL,e.activeFormattingElements.insertMarker();break}case h.CAPTION:case h.COL:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:case h.TR:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY,Ku(e,t));break}default:Ki(e,t)}}function v6(e,t){switch(t.tagID){case h.TR:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY);break}case h.TABLE:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY,F0(e,t));break}case h.TBODY:case h.TFOOT:case h.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(h.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P.IN_TABLE_BODY,F0(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:case h.TD:case h.TH:break;default:ps(e,t)}}function FR(e,t){const n=t.tagID;y6.has(n)?(e.openElements.hasInTableScope(h.TD)||e.openElements.hasInTableScope(h.TH))&&(e._closeTableCell(),Yu(e,t)):An(e,t)}function HR(e,t){const n=t.tagID;switch(n){case h.TD:case h.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=P.IN_ROW);break}case h.TABLE:case h.TBODY:case h.TFOOT:case h.THEAD:case h.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),v6(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:break;default:Gu(e,t)}}function _6(e,t){switch(t.tagID){case h.HTML:{An(e,t);break}case h.OPTION:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e._insertElement(t,se.HTML);break}case h.OPTGROUP:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop(),e._insertElement(t,se.HTML);break}case h.HR:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop(),e._appendElement(t,se.HTML),t.ackSelfClosing=!0;break}case h.INPUT:case h.KEYGEN:case h.TEXTAREA:case h.SELECT:{e.openElements.hasInSelectScope(h.SELECT)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),t.tagID!==h.SELECT&&e._processStartTag(t));break}case h.SCRIPT:case h.TEMPLATE:{Lr(e,t);break}}}function T6(e,t){switch(t.tagID){case h.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===h.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===h.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop();break}case h.OPTION:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop();break}case h.SELECT:{e.openElements.hasInSelectScope(h.SELECT)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode());break}case h.TEMPLATE:{bi(e,t);break}}}function UR(e,t){const n=t.tagID;n===h.CAPTION||n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR||n===h.TD||n===h.TH?(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e._processStartTag(t)):_6(e,t)}function zR(e,t){const n=t.tagID;n===h.CAPTION||n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR||n===h.TD||n===h.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e.onEndTag(t)):T6(e,t)}function jR(e,t){switch(t.tagID){case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:case h.NOFRAMES:case h.SCRIPT:case h.STYLE:case h.TEMPLATE:case h.TITLE:{Lr(e,t);break}case h.CAPTION:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:{e.tmplInsertionModeStack[0]=P.IN_TABLE,e.insertionMode=P.IN_TABLE,Ki(e,t);break}case h.COL:{e.tmplInsertionModeStack[0]=P.IN_COLUMN_GROUP,e.insertionMode=P.IN_COLUMN_GROUP,Vd(e,t);break}case h.TR:{e.tmplInsertionModeStack[0]=P.IN_TABLE_BODY,e.insertionMode=P.IN_TABLE_BODY,Ku(e,t);break}case h.TD:case h.TH:{e.tmplInsertionModeStack[0]=P.IN_ROW,e.insertionMode=P.IN_ROW,Yu(e,t);break}default:e.tmplInsertionModeStack[0]=P.IN_BODY,e.insertionMode=P.IN_BODY,An(e,t)}}function WR(e,t){t.tagID===h.TEMPLATE&&bi(e,t)}function S6(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Wd(e,t)}function VR(e,t){t.tagID===h.HTML?An(e,t):Jl(e,t)}function C6(e,t){var n;if(t.tagID===h.HTML){if(e.fragmentContext||(e.insertionMode=P.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===h.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Jl(e,t)}function Jl(e,t){e.insertionMode=P.IN_BODY,qu(e,t)}function qR(e,t){switch(t.tagID){case h.HTML:{An(e,t);break}case h.FRAMESET:{e._insertElement(t,se.HTML);break}case h.FRAME:{e._appendElement(t,se.HTML),t.ackSelfClosing=!0;break}case h.NOFRAMES:{Lr(e,t);break}}}function GR(e,t){t.tagID===h.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==h.FRAMESET&&(e.insertionMode=P.AFTER_FRAMESET))}function KR(e,t){switch(t.tagID){case h.HTML:{An(e,t);break}case h.NOFRAMES:{Lr(e,t);break}}}function YR(e,t){t.tagID===h.HTML&&(e.insertionMode=P.AFTER_AFTER_FRAMESET)}function XR(e,t){t.tagID===h.HTML?An(e,t):Sl(e,t)}function Sl(e,t){e.insertionMode=P.IN_BODY,qu(e,t)}function QR(e,t){switch(t.tagID){case h.HTML:{An(e,t);break}case h.NOFRAMES:{Lr(e,t);break}}}function ZR(e,t){t.chars=Vt,e._insertCharacters(t)}function JR(e,t){e._insertCharacters(t),e.framesetOk=!1}function w6(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==se.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function eD(e,t){if(pL(t))w6(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===se.MATHML?u6(t):r===se.SVG&&(mL(t),c6(t)),zd(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function tD(e,t){if(t.tagID===h.P||t.tagID===h.BR){w6(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===se.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}j.AREA,j.BASE,j.BASEFONT,j.BGSOUND,j.BR,j.COL,j.EMBED,j.FRAME,j.HR,j.IMG,j.INPUT,j.KEYGEN,j.LINK,j.META,j.PARAM,j.SOURCE,j.TRACK,j.WBR;const A6=k6("end"),Ei=k6("start");function k6(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}const O6=function(e){if(e==null)return iD;if(typeof e=="function")return Xu(e);if(typeof e=="object")return Array.isArray(e)?nD(e):rD(e);if(typeof e=="string")return aD(e);throw new Error("Expected function, string, or object as test")};function nD(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=O6(e[n]);return Xu(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function rD(e){const t=e;return Xu(n);function n(r){const a=r;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function aD(e){return Xu(t);function t(n){return n&&n.type===e}}function Xu(e){return t;function t(n,r,a){return!!(oD(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function iD(){return!0}function oD(e){return e!==null&&typeof e=="object"&&"type"in e}const I6=[],sD=!0,Pg=!1,lD="skip";function uD(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const i=O6(a),o=r?-1:1;s(e,void 0,[])();function s(l,u,d){const c=l&&typeof l=="object"?l:{};if(typeof c.type=="string"){const p=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=I6,g,b,m;if((!t||i(l,u,d[d.length-1]||void 0))&&(p=cD(n(l,d)),p[0]===Pg))return p;if("children"in l&&l.children){const x=l;if(x.children&&p[0]!==lD)for(b=(r?x.children.length:-1)+o,m=d.concat(x);b>-1&&b<x.children.length;){const v=x.children[b];if(g=s(v,b,m)(),g[0]===Pg)return g;b=typeof g[1]=="number"?g[1]:b+o}}return p}}}function cD(e){return Array.isArray(e)?e:typeof e=="number"?[sD,e]:e==null?I6:[e]}function dD(e,t,n,r){let a,i,o;i=t,o=n,a=r,uD(e,i,s,a);function s(l,u){const d=u[u.length-1],c=d?d.children.indexOf(l):void 0;return o(l,c,d)}}const fD=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,hD=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Mg={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function N6(e,t){const n=TD(e),r=Z2("type",{handlers:{root:gD,element:pD,text:mD,comment:R6,doctype:xD,raw:ED},unknown:yD}),a={parser:n?new Lg(Mg):Lg.getFragmentParser(void 0,Mg),handle(s){r(s,a)},stitches:!1,options:t||{}};r(e,a),go(a,Ei());const i=n?a.parser.document:a.parser.getFragment(),o=aN(i,{file:a.options.file});return a.stitches&&dD(o,"comment",function(s,l,u){const d=s;if(d.value.stitch&&u&&l!==void 0){const c=u.children;return c[l]=d.value.stitch,l}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function L6(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function gD(e,t){L6(e.children,t)}function pD(e,t){vD(e,t),L6(e.children,t),_D(e,t)}function mD(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:at.CHARACTER,chars:e.value,location:Fs(e)};go(t,Ei(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function xD(e,t){const n={type:at.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Fs(e)};go(t,Ei(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function bD(e,t){t.stitches=!0;const n=SD(e);if("children"in e&&"children"in n){const r=N6({type:"root",children:e.children},t.options);n.children=r.children}R6({type:"comment",value:{stitch:n}},t)}function R6(e,t){const n=e.value,r={type:at.COMMENT,data:n,location:Fs(e)};go(t,Ei(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function ED(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,D6(t,Ei(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(fD,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function yD(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))bD(n,t);else{let r="";throw hD.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function go(e,t){D6(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=en.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function D6(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function vD(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===en.PLAINTEXT)return;go(t,Ei(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:ti.html;a===ti.html&&n==="svg"&&(a=ti.svg);const i=EN({...e,children:[]},{space:a===ti.svg?"svg":"html"}),o={type:at.START_TAG,tagName:n,tagID:ho(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:Fs(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function _D(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&AN.includes(n)||t.parser.tokenizer.state===en.PLAINTEXT)return;go(t,A6(e));const r={type:at.END_TAG,tagName:n,tagID:ho(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Fs(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===en.RCDATA||t.parser.tokenizer.state===en.RAWTEXT||t.parser.tokenizer.state===en.SCRIPT_DATA)&&(t.parser.tokenizer.state=en.DATA)}function TD(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Fs(e){const t=Ei(e)||{line:void 0,column:void 0,offset:void 0},n=A6(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function SD(e){return"children"in e?dg({...e,children:[]}):dg(e)}function CD(e){return function(t,n){return N6(t,{...e,file:n})}}function P6(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=P6(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function wD(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=P6(e))&&(r&&(r+=" "),r+=t);return r}var M6=AD;function AD(e){var t,n;if(typeof e!="function")throw new Error("expected a function but got "+e);return function(){return t||(t=!0,n=e.apply(this,arguments),e=void 0),n}}const kD=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;function Bg(e){const t={};let n;for(;n=kD.exec(e);)t[n[1]]=n[2];return t}function OD(e,t){if(typeof e=="string"){if(typeof t=="string")return"".concat(e,";").concat(t);e=Bg(e)}else typeof t=="string"&&(t=Bg(t));return{...e,...t}}function B6(e,t){e.indexOf(t)===-1&&e.push(t)}function ID(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const $6=(e,t,n)=>Math.min(Math.max(n,e),t),kr={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},ms=e=>typeof e=="number",zi=e=>Array.isArray(e)&&!ms(e[0]),ND=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function LD(e,t){return zi(e)?e[ND(0,e.length,t)]:e}const F6=(e,t,n)=>-n*e+n*t+e,H6=()=>{},wa=e=>e,qd=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function U6(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const a=qd(0,t,r);e.push(F6(n,1,a))}}function RD(e){const t=[0];return U6(t,e-1),t}function DD(e,t=RD(e.length),n=wa){const r=e.length,a=r-t.length;return a>0&&U6(t,a),i=>{let o=0;for(;o<r-2&&!(i<t[o+1]);o++);let s=$6(0,1,qd(t[o],t[o+1],i));return s=LD(n,o)(s),F6(e[o],e[o+1],s)}}const z6=e=>Array.isArray(e)&&ms(e[0]),H0=e=>typeof e=="object"&&!!e.createAnimation,xs=e=>typeof e=="function",PD=e=>typeof e=="string",jc={ms:e=>e*1e3,s:e=>e/1e3},j6=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,MD=1e-7,BD=12;function $D(e,t,n,r,a){let i,o,s=0;do o=t+(n-t)/2,i=j6(o,r,a)-e,i>0?n=o:t=o;while(Math.abs(i)>MD&&++s<BD);return o}function Uo(e,t,n,r){if(e===t&&n===r)return wa;const a=i=>$D(i,0,1,e,n);return i=>i===0||i===1?i:j6(a(i),t,r)}const FD=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,a=t==="end"?Math.floor(r):Math.ceil(r);return $6(0,1,a/e)},HD={ease:Uo(.25,.1,.25,1),"ease-in":Uo(.42,0,1,1),"ease-in-out":Uo(.42,0,.58,1),"ease-out":Uo(0,0,.58,1)},UD=/\((.*?)\)/;function $g(e){if(xs(e))return e;if(z6(e))return Uo(...e);const t=HD[e];if(t)return t;if(e.startsWith("steps")){const n=UD.exec(e);if(n){const r=n[1].split(",");return FD(parseFloat(r[0]),r[1].trim())}}return wa}class zD{constructor(t,n=[0,1],{easing:r,duration:a=kr.duration,delay:i=kr.delay,endDelay:o=kr.endDelay,repeat:s=kr.repeat,offset:l,direction:u="normal",autoplay:d=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=wa,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((f,p)=>{this.resolve=f,this.reject=p}),r=r||kr.easing,H0(r)){const f=r.createAnimation(n);r=f.easing,n=f.keyframes||n,a=f.duration||a}this.repeat=s,this.easing=zi(r)?wa:$g(r),this.updateDuration(a);const c=DD(n,l,zi(r)?r.map($g):wa);this.tick=f=>{var p;i=i;let g=0;this.pauseTime!==void 0?g=this.pauseTime:g=(f-this.startTime)*this.rate,this.t=g,g/=1e3,g=Math.max(g-i,0),this.playState==="finished"&&this.pauseTime===void 0&&(g=this.totalDuration);const b=g/this.duration;let m=Math.floor(b),x=b%1;!x&&b>=1&&(x=1),x===1&&m--;const v=m%2;(u==="reverse"||u==="alternate"&&v||u==="alternate-reverse"&&!v)&&(x=1-x);const y=g>=this.totalDuration?1:Math.min(x,1),w=c(this.easing(y));t(w),this.pauseTime===void 0&&(this.playState==="finished"||g>=this.totalDuration+o)?(this.playState="finished",(p=this.resolve)===null||p===void 0||p.call(this,w)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},d&&this.play()}play(){const t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}class jD{setAnimation(t){this.animation=t,t==null||t.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const Wc=new WeakMap;function W6(e){return Wc.has(e)||Wc.set(e,{transforms:[],values:new Map}),Wc.get(e)}function WD(e,t){return e.has(t)||e.set(t,new jD),e.get(t)}const VD=["","X","Y","Z"],qD=["translate","scale","rotate","skew"],Yi={x:"translateX",y:"translateY",z:"translateZ"},Fg={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},GD={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:Fg,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:wa},skew:Fg},Xi=new Map,Qu=e=>"--motion-".concat(e),eu=["x","y","z"];qD.forEach(e=>{VD.forEach(t=>{eu.push(e+t),Xi.set(Qu(e+t),GD[e])})});const KD=(e,t)=>eu.indexOf(e)-eu.indexOf(t),YD=new Set(eu),Gd=e=>YD.has(e),XD=(e,t)=>{Yi[t]&&(t=Yi[t]);const{transforms:n}=W6(e);B6(n,t),e.style.transform=V6(n)},V6=e=>e.sort(KD).reduce(QD,"").trim(),QD=(e,t)=>"".concat(e," ").concat(t,"(var(").concat(Qu(t),"))"),U0=e=>e.startsWith("--"),Hg=new Set;function ZD(e){if(!Hg.has(e)){Hg.add(e);try{const{syntax:t,initialValue:n}=Xi.has(e)?Xi.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch(t){}}}const Vc=(e,t)=>document.createElement("div").animate(e,t),Ug={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{Vc({opacity:[1]})}catch(e){return!1}return!0},finished:()=>!!Vc({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{Vc({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}},qc={},Di={};for(const e in Ug)Di[e]=()=>(qc[e]===void 0&&(qc[e]=Ug[e]()),qc[e]);const JD=.015,eP=(e,t)=>{let n="";const r=Math.round(t/JD);for(let a=0;a<r;a++)n+=e(qd(0,r-1,a))+", ";return n.substring(0,n.length-2)},zg=(e,t)=>xs(e)?Di.linearEasing()?"linear(".concat(eP(e,t),")"):kr.easing:z6(e)?tP(e):e,tP=([e,t,n,r])=>"cubic-bezier(".concat(e,", ").concat(t,", ").concat(n,", ").concat(r,")");function nP(e,t){for(let n=0;n<e.length;n++)e[n]===null&&(e[n]=n?e[n-1]:t());return e}const rP=e=>Array.isArray(e)?e:[e];function z0(e){return Yi[e]&&(e=Yi[e]),Gd(e)?Qu(e):e}const zo={get:(e,t)=>{t=z0(t);let n=U0(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&n!==0){const r=Xi.get(t);r&&(n=r.initialValue)}return n},set:(e,t,n)=>{t=z0(t),U0(t)?e.style.setProperty(t,n):e.style[t]=n}};function aP(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(n){}}function iP(e,t){var n;let r=(t==null?void 0:t.toDefaultUnit)||wa;const a=e[e.length-1];if(PD(a)){const i=((n=a.match(/(-?[\d.]+)([a-z%]*)/))===null||n===void 0?void 0:n[2])||"";i&&(r=o=>o+i)}return r}function oP(){return window.__MOTION_DEV_TOOLS_RECORD}function sP(e,t,n,r={},a){const i=oP(),o=r.record!==!1&&i;let s,{duration:l=kr.duration,delay:u=kr.delay,endDelay:d=kr.endDelay,repeat:c=kr.repeat,easing:f=kr.easing,persist:p=!1,direction:g,offset:b,allowWebkitAcceleration:m=!1,autoplay:x=!0}=r;const v=W6(e),y=Gd(t);let w=Di.waapi();y&&XD(e,t);const O=z0(t),T=WD(v.values,O),A=Xi.get(O);return aP(T.animation,!(H0(f)&&T.generator)&&r.record!==!1),()=>{const F=()=>{var B,V;return(V=(B=zo.get(e,O))!==null&&B!==void 0?B:A==null?void 0:A.initialValue)!==null&&V!==void 0?V:0};let M=nP(rP(n),F);const D=iP(M,A);if(H0(f)){const B=f.createAnimation(M,t!=="opacity",F,O,T);f=B.easing,M=B.keyframes||M,l=B.duration||l}if(U0(O)&&(Di.cssRegisterProperty()?ZD(O):w=!1),y&&!Di.linearEasing()&&(xs(f)||zi(f)&&f.some(xs))&&(w=!1),w){A&&(M=M.map(J=>ms(J)?A.toDefaultUnit(J):J)),M.length===1&&(!Di.partialKeyframes()||o)&&M.unshift(F());const B={delay:jc.ms(u),duration:jc.ms(l),endDelay:jc.ms(d),easing:zi(f)?void 0:zg(f,l),direction:g,iterations:c+1,fill:"both"};s=e.animate({[O]:M,offset:b,easing:zi(f)?f.map(J=>zg(J,l)):void 0},B),s.finished||(s.finished=new Promise((J,ee)=>{s.onfinish=J,s.oncancel=ee}));const V=M[M.length-1];s.finished.then(()=>{p||(zo.set(e,O,V),s.cancel())}).catch(H6),m||(s.playbackRate=1.000001)}else if(a&&y)M=M.map(B=>typeof B=="string"?parseFloat(B):B),M.length===1&&M.unshift(parseFloat(F())),s=new a(B=>{zo.set(e,O,D?D(B):B)},M,Object.assign(Object.assign({},r),{duration:l,easing:f}));else{const B=M[M.length-1];zo.set(e,O,A&&ms(B)?A.toDefaultUnit(B):B)}return o&&i(e,t,M,{duration:l,delay:u,easing:f,repeat:c,offset:b},"motion-one"),T.setAnimation(s),s&&!x&&s.pause(),s}}const lP=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function uP(e,t){return typeof e=="string"?e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}function q6(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}const cP={any:0,all:1};function dP(e,t,{root:n,margin:r,amount:a="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};const i=uP(e),o=new WeakMap,s=u=>{u.forEach(d=>{const c=o.get(d.target);if(d.isIntersecting!==!!c)if(d.isIntersecting){const f=t(d);xs(f)?o.set(d.target,f):l.unobserve(d.target)}else c&&(c(d),o.delete(d.target))})},l=new IntersectionObserver(s,{root:n,rootMargin:r,threshold:typeof a=="number"?a:cP[a]});return i.forEach(u=>l.observe(u)),()=>l.disconnect()}function fP(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!hP(e,t):e!==t}function hP(e,t){const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function gP(e){return typeof e=="object"}function jg(e,t){if(gP(e))return e;if(e&&t)return t[e]}let Aa;function pP(){if(!Aa)return;const e=Aa.sort(xP).map(bP);e.forEach(Wg),e.forEach(Wg),Aa=void 0}function Gc(e){Aa?B6(Aa,e):(Aa=[e],requestAnimationFrame(pP))}function mP(e){Aa&&ID(Aa,e)}const xP=(e,t)=>e.getDepth()-t.getDepth(),bP=e=>e.animateUpdates(),Wg=e=>e.next(),Vg=(e,t)=>new CustomEvent(e,{detail:{target:t}});function j0(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function qg(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const EP={isActive:e=>!!e.inView,subscribe:(e,{enable:t,disable:n},{inViewOptions:r={}})=>{const{once:a}=r,i=q6(r,["once"]);return dP(e,o=>{if(t(),qg(e,"viewenter",o),!a)return s=>{n(),qg(e,"viewleave",s)}},i)}},Gg=(e,t,n)=>r=>{r.pointerType&&r.pointerType!=="mouse"||(n(),j0(e,t,r))},yP={isActive:e=>!!e.hover,subscribe:(e,{enable:t,disable:n})=>{const r=Gg(e,"hoverstart",t),a=Gg(e,"hoverend",n);return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",a),()=>{e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",a)}}},vP={isActive:e=>!!e.press,subscribe:(e,{enable:t,disable:n})=>{const r=i=>{n(),j0(e,"pressend",i),window.removeEventListener("pointerup",r)},a=i=>{t(),j0(e,"pressstart",i),window.addEventListener("pointerup",r)};return e.addEventListener("pointerdown",a),()=>{e.removeEventListener("pointerdown",a),window.removeEventListener("pointerup",r)}}},Cl={inView:EP,hover:yP,press:vP},Kg=["initial","animate",...Object.keys(Cl),"exit"],W0=new WeakMap;function _P(e={},t){let n,r=t?t.getDepth()+1:0;const a={initial:!0,animate:!0},i={},o={};for(const b of Kg)o[b]=typeof e[b]=="string"?e[b]:t==null?void 0:t.getContext()[b];const s=e.initial===!1?"animate":"initial";let l=jg(e[s]||o[s],e.variants)||{},u=q6(l,["transition"]);const d=Object.assign({},u);function*c(){var b,m;const x=u;u={};const v={};for(const A of Kg){if(!a[A])continue;const F=jg(e[A]);if(F)for(const M in F)M!=="transition"&&(u[M]=F[M],v[M]=lP((m=(b=F.transition)!==null&&b!==void 0?b:e.transition)!==null&&m!==void 0?m:{},M))}const y=new Set([...Object.keys(u),...Object.keys(x)]),w=[];y.forEach(A=>{var F;u[A]===void 0&&(u[A]=d[A]),fP(x[A],u[A])&&((F=d[A])!==null&&F!==void 0||(d[A]=zo.get(n,A)),w.push(sP(n,A,u[A],v[A],zD)))}),yield;const O=w.map(A=>A()).filter(Boolean);if(!O.length)return;const T=u;n.dispatchEvent(Vg("motionstart",T)),Promise.all(O.map(A=>A.finished)).then(()=>{n.dispatchEvent(Vg("motioncomplete",T))}).catch(H6)}const f=(b,m)=>()=>{a[b]=m,Gc(g)},p=()=>{for(const b in Cl){const m=Cl[b].isActive(e),x=i[b];m&&!x?i[b]=Cl[b].subscribe(n,{enable:f(b,!0),disable:f(b,!1)},e):!m&&x&&(x(),delete i[b])}},g={update:b=>{n&&(e=b,p(),Gc(g))},setActive:(b,m)=>{n&&(a[b]=m,Gc(g))},animateUpdates:c,getDepth:()=>r,getTarget:()=>u,getOptions:()=>e,getContext:()=>o,mount:b=>(n=b,W0.set(n,g),p(),()=>{W0.delete(n),mP(g);for(const m in i)i[m]()}),isMounted:()=>!!n};return g}function TP(e){const t={},n=[];for(let r in e){const a=e[r];Gd(r)&&(Yi[r]&&(r=Yi[r]),n.push(r),r=Qu(r));let i=Array.isArray(a)?a[0]:a;const o=Xi.get(r);o&&(i=ms(a)?o.toDefaultUnit(a):a),t[r]=i}return n.length&&(t.transform=V6(n)),t}var G6=Nt(),i$=e=>{var i;const[t,n]=Ne(!0),r={initial:(i=e.initial)!=null?i:!0,mount:t},a=_(G6.Provider,{value:r,get children(){return Vp(qp(()=>e.children),{appear:r.initial,mode:e.exitBeforeEnter?"out-in":"parallel",onExit(o,s){ts(()=>{var l,u;n(!1),(u=(l=W0.get(o))==null?void 0:l.getOptions())!=null&&u.exit?o.addEventListener("motioncomplete",s):s()})},onEnter(o,s){ts(()=>{n(!0),s()})}})}});return r.initial=!0,a};function SP(e,t,n,r){const a=_P((n==null?void 0:n.initial)===!1?{...t(),initial:!1}:t(),r);return Kt(()=>{if(n&&!n.mount())return;const i=e(),o=a.mount(i);Kt(()=>a.update(t())),wt(()=>{n&&t().exit?(a.setActive("exit",!0),i.addEventListener("motioncomplete",o)):o()})}),[a,TP(a.getTarget())]}var CP=["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],wP=["tag"],Yg=Nt(),Xg=e=>{const[t,,n]=de(e,CP,wP),[r,a]=SP(()=>i,()=>({...t}),It(G6),It(Yg));let i;return _(Yg.Provider,{value:r,get children(){return _(K0,K(n,{ref:o=>{var s;i=o,(s=e.ref)==null||s.call(e,o)},get component(){return e.tag||"div"},get style(){return OD(e.style,a)}}))}})},K6=new Proxy(Xg,{get:(e,t)=>n=>_(Xg,K(n,{tag:t}))});const Y6=(e,t)=>{t!=null&&t.immediate&&e(),window.addEventListener("scroll",e,{passive:!0}),wt(()=>window.removeEventListener("scroll",e))},o$=()=>{if(yb)return null;const[e,t]=Ne(!1);return Y6(()=>t(window.scrollY>100)),_(Re,{get when(){return e()},get children(){return _(Me,{get as(){return K6.div},initial:{y:-999},animate:{y:0},zIndex:"$overlay",pos:"fixed",right:"$5",top:"0",borderBottomRadius:"50%",bgColor:"$whiteAlpha12",get color(){return oi()},overflow:"hidden",shadow:"$lg",get _dark(){return{bgColor:oi(),color:"white"}},get _hover(){return{bgColor:oi(),color:"white"}},get children(){return _(gi,{_focus:{outline:"none"},cursor:"pointer",boxSize:"$7",p:"$1",rounded:"$lg",as:wA,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}})}})}})},[AP,kP]=Ne(!1),[OP,s$]=Vx("isMarkdownTocDisabled",!0,{serializer:e=>JSON.stringify(e),deserializer:e=>JSON.parse(e)});function IP(e){if(e.disabled||yb)return null;const[t,n]=Ne([]);Y6(()=>kP(window.scrollY>100&&t().length>1),{immediate:!0}),Kt(()=>{const s=e.markdownRef.querySelector(".markdown-body");if(!s)return;const l=document.createNodeIterator(s,NodeFilter.SHOW_ELEMENT,{acceptNode(f){return/h1|h2|h3/i.test(f.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),u=[];let d=l.nextNode(),c=6;for(;d;){const f=Number(d.nodeName.match(/h(\d)/i)[1]);f<c&&(c=f),u.push({indent:f,text:d.textContent,tagName:d.nodeName.toLowerCase(),key:d.getAttribute("key")}),d=l.nextNode()}n(u.map(f=>({...f,indent:f.indent-c})))});const r=s=>{var f;const l=e.markdownRef.querySelector("".concat(s.tagName,"[key=").concat(s.key,"]"));if(!l)return;const u=document.querySelector(".nav");let d=(f=u==null?void 0:u.getBoundingClientRect().bottom)!=null?f:0;d<0&&(d=0);const c=l.getBoundingClientRect().y;window.scrollBy({behavior:"smooth",top:c-d})},a="calc(100% - 20px)",[i,o]=Ne(a);return _(Re,{get when(){return la(()=>!OP())()&&AP()},get children(){return _(Me,{get as(){return K6.div},initial:{x:999},get animate(){return{x:i()}},onMouseEnter:()=>o(0),onMouseLeave:()=>o(a),zIndex:"$overlay",pos:"fixed",right:"$6",top:"$6",get children(){return _(Me,{mt:"$5",p:"$2",shadow:"$outline",rounded:"$lg",bgColor:"white",_dark:{bgColor:"$neutral3"},get children(){return _(Bm,{maxH:"60vh",overflowY:"auto",get children(){return _(Zi,{get each(){return t()},children:s=>_(Fm,{get pl(){return 15*s.indent},m:4,get children(){return _(B1,{get color(){return oi()},onClick:()=>r(s),get children(){return s.text}})}})})}})}})}})}})}const NP=M6(()=>{const e=document.createElement("link");e.rel="stylesheet",e.href="https://registry.npmmirror.com/katex/0.16.11/files/dist/katex.min.css",document.head.appendChild(e)}),LP=M6(()=>{const e=document.createElement("script");e.src="https://registry.npmmirror.com/mermaid/11/files/dist/mermaid.min.js",document.body.appendChild(e)});function l$(e){const[t,n]=Ne("utf-8"),[r,a]=Ne(!0),{isString:i,text:o}=aA(e.children),s=m=>!e.ext||e.ext.toLocaleLowerCase()==="md"?m:"```"+e.ext+"\n"+m+"\n```",{pathname:l}=Ns(),u=ze(()=>{let m=s(o(t()));return m=m.replace(/!\[.*?\]\((.*?)\)/g,x=>{const v=x.match(/!\[(.*?)\]\(.*?\)/)[1];let y=x.match(/!\[.*?\]\((.*?)\)/)[1];if(y.startsWith("data:image/")||y.startsWith("http://")||y.startsWith("https://")||y.startsWith("//"))return x;y.startsWith("/")?y="".concat(Or,"/d").concat(y):y="".concat(Or,"/d").concat(Na(Mu().base_path,$C(e.readme?l():cd(l()),y)));const w=".concat(y,")");return console.log(w),w}),m}),[d,c]=Ne([DI]),[f,p]=Ne([CD]);Kt(aa(u,async()=>{if(a(!1),/\$\$[\s\S]+?\$\$|\$[^$\n]+?\$/.test(u())){const{default:m}=await La(async()=>{const{default:v}=await import("./index-CRXmqRYq.js");return{default:v}},[]),{default:x}=await La(async()=>{const{default:v}=await import("./index-C3V6yVI8.js");return{default:v}},[]);NP(),c([...d(),m]),p([...f(),x])}LP(),setTimeout(()=>{a(!0),Ib.highlightAll(),window.mermaid&&window.mermaid.run({querySelector:".language-mermaid"}),window.onMDRender&&window.onMDRender()})}));const[g,b]=Ne();return _(Me,{ref:m=>b(m),class:"markdown",pos:"relative",w:"$full",get children(){return[_(Re,{get when(){return r()},get children(){return _(A9,{get class(){return wD("markdown-body",e.class)},get remarkPlugins(){return d()},get rehypePlugins(){return f()},get children(){return u()}})}}),_(Re,{when:!i,get children(){return _(GP,{get encoding(){return t()},setEncoding:n,get referenceText(){return e.children}})}}),_(IP,{get disabled(){return!e.toc},get markdownRef(){return g()}})]}})}function u$(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)}function c$(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M518.3 459a8 8 0 0 0-12.6 0l-112 141.7a7.98 7.98 0 0 0 6.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)}function d$(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"/>'},e)}function RP(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"/>'},e)}function DP(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="m290 236.4 43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"/>'},e)}function f$(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"/>'},e)}function h$(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="m924.8 625.7-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 0 0 9.3-35.2l-.9-2.6a443.74 443.74 0 0 0-79.7-137.9l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 0 0-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.4a351.86 351.86 0 0 0-99 57.4l-81.9-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a446.02 446.02 0 0 0-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0 0 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0 0 25.8 25.7l2.7.5a449.4 449.4 0 0 0 159 0l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-85a350 350 0 0 0 99.7-57.6l81.3 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 0 1-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 0 1-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 0 1 624 502c0 29.9-11.7 58-32.8 79.2z"/>'},e)}function g$(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path fill="currentColor" fill-opacity="0.09" d="M292.7 840h438.6l24.2-512h-487z"/><path d="M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z"/>'},e)}const Kd=e=>{const t=K({h:"$full"},e);return _(no,{get h(){return t.h},p:"$2",flexDirection:"column",get children(){return _(Me,{rounded:"$lg",px:"$4",py:"$6",get bgColor(){return xu("white","$neutral3")()},get children(){return[_(Nm,{css:{wordBreak:"break-all"},get children(){return e.msg}}),_(Re,{get when(){return!e.disableColor},get children(){return _(id,{mt:"$2",justifyContent:"end",get children(){return _(OA,{})}})}})]}})}})},p$=e=>{const{isOpen:t,onToggle:n}=wC();return _(Me,{get pos(){return t()?"fixed":"relative"},get w(){return t()?"100vw":e.w},get h(){return t()?"100vh":e.h},top:0,left:0,zIndex:1,transition:"all 0.2s ease-in-out",get css(){return{backdropFilter:t()?"blur(5px)":void 0}},get children(){return[la(()=>e.children),_(gi,{pos:"absolute",right:"$2",bottom:"$2","aria-label":"toggle fullscreen",get as(){return t()?RP:DP},onClick:n,cursor:"pointer",rounded:"$md",get bgColor(){return xb()},p:"$1",boxSize:"$7"})]}})};function PP(e){return _(xx,{get size(){return e.size},get value(){return e.value},get onChange(){return e.onChange},get children(){return[_(Au,{get borderColor(){return e.alwaysShowBorder?"$info5":void 0},get w(){return e.w},get children(){return[_(ku,{}),_(ss,{})]}}),_(_u,{get children(){return _(Tu,{get children(){return _(Zi,{get each(){return e.options},children:t=>_(Su,{get value(){return t.value},get children(){return[_(wu,{get children(){var n;return(n=t.label)!=null?n:t.value}}),_(Cu,{})]}})})}})}})]}})}var Sr={},ll={},Qg;function MP(){return Qg||(Qg=1,Object.defineProperty(ll,"__esModule",{value:!0}),ll.default=()=>{throw new Error("File system is not available")}),ll}var wi={},ul={},Zg;function po(){return Zg||(Zg=1,Object.defineProperty(ul,"__esModule",{value:!0}),ul.default=(e,t,n)=>({confidence:n,name:t.name(e),lang:t.language?t.language():void 0})),ul}var Jg;function BP(){if(Jg)return wi;Jg=1;var e=wi&&wi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(wi,"__esModule",{value:!0});const t=e(po());class n{name(){return"ASCII"}match(a){const i=a.rawInput;for(let o=0;o<a.rawLen;o++){const s=i[o];if(s<32||s>126)return(0,t.default)(a,this,0)}return(0,t.default)(a,this,100)}}return wi.default=n,wi}var Ai={},ep;function $P(){if(ep)return Ai;ep=1;var e=Ai&&Ai.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ai,"__esModule",{value:!0});const t=e(po());class n{name(){return"UTF-8"}match(a){let i=!1,o=0,s=0,l=0,u;const d=a.rawInput;a.rawLen>=3&&(d[0]&255)==239&&(d[1]&255)==187&&(d[2]&255)==191&&(i=!0);for(let c=0;c<a.rawLen;c++){const f=d[c];if((f&128)!=0){if((f&224)==192)l=1;else if((f&240)==224)l=2;else if((f&248)==240)l=3;else{if(s++,s>5)break;l=0}for(;c++,!(c>=a.rawLen);){if((d[c]&192)!=128){s++;break}if(--l==0){o++;break}}}}if(u=0,i&&s==0)u=100;else if(i&&o>s*10)u=80;else if(o>3&&s==0)u=100;else if(o>0&&s==0)u=80;else if(o==0&&s==0)u=10;else if(o>s*10)u=25;else return null;return(0,t.default)(a,this,u)}}return Ai.default=n,Ai}var Kn={},tp;function FP(){if(tp)return Kn;tp=1;var e=Kn&&Kn.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.UTF_32LE=Kn.UTF_32BE=Kn.UTF_16LE=Kn.UTF_16BE=void 0;const t=e(po());class n{name(){return"UTF-16BE"}match(l){const u=l.rawInput;return u.length>=2&&(u[0]&255)==254&&(u[1]&255)==255?(0,t.default)(l,this,100):null}}Kn.UTF_16BE=n;class r{name(){return"UTF-16LE"}match(l){const u=l.rawInput;return u.length>=2&&(u[0]&255)==255&&(u[1]&255)==254?u.length>=4&&u[2]==0&&u[3]==0?null:(0,t.default)(l,this,100):null}}Kn.UTF_16LE=r;class a{name(){return"UTF-32"}getChar(l,u){return-1}match(l){let u=0,d=0,c=!1,f=0;const p=l.rawLen/4*4,g=l.rawInput;if(p==0)return null;this.getChar(g,0)==65279&&(c=!0);for(let b=0;b<p;b+=4){const m=this.getChar(g,b);m<0||m>=1114111||m>=55296&&m<=57343?d+=1:u+=1}return c&&d==0?f=100:c&&u>d*10?f=80:u>3&&d==0?f=100:u>0&&d==0?f=80:u>d*10&&(f=25),f==0?null:(0,t.default)(l,this,f)}}class i extends a{name(){return"UTF-32BE"}getChar(l,u){return(l[u+0]&255)<<24|(l[u+1]&255)<<16|(l[u+2]&255)<<8|l[u+3]&255}}Kn.UTF_32BE=i;class o extends a{name(){return"UTF-32LE"}getChar(l,u){return(l[u+3]&255)<<24|(l[u+2]&255)<<16|(l[u+1]&255)<<8|l[u+0]&255}}return Kn.UTF_32LE=o,Kn}var In={},np;function HP(){if(np)return In;np=1;var e=In&&In.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(In,"__esModule",{value:!0}),In.gb_18030=In.euc_kr=In.euc_jp=In.big5=In.sjis=void 0;const t=e(po());function n(c,f){const p=(g,b,m,x)=>{if(x<m)return-1;const v=Math.floor(m+x>>>1);return b>g[v]?p(g,b,v+1,x):b<g[v]?p(g,b,m,v-1):v};return p(c,f,0,c.length-1)}class r{constructor(){this.charValue=0,this.index=0,this.nextIndex=0,this.error=!1,this.done=!1}reset(){this.charValue=0,this.index=-1,this.nextIndex=0,this.error=!1,this.done=!1}nextByte(f){return this.nextIndex>=f.rawLen?(this.done=!0,-1):f.rawInput[this.nextIndex++]&255}}let a=class{constructor(){this.commonChars=[]}name(){return"mbcs"}match(f){let p=0,g=0,b=0,m=0,x=0;const v=new r;e:{for(v.reset();this.nextChar(v,f);){if(m++,v.error)b++;else{const y=v.charValue&4294967295;y>255&&(p++,this.commonChars!=null&&n(this.commonChars,y)>=0&&g++)}if(b>=2&&b*5>=p)break e}if(p<=10&&b==0){p==0&&m<10?x=0:x=10;break e}if(p<20*b){x=0;break e}if(this.commonChars==null)x=30+p-20*b,x>100&&(x=100);else{const w=90/Math.log(p/4);x=Math.floor(Math.log(g+1)*w+10),x=Math.min(x,100)}}return x==0?null:(0,t.default)(f,this,x)}nextChar(f,p){return!0}};class i extends a{constructor(){super(...arguments),this.commonChars=[33088,33089,33090,33093,33115,33129,33130,33141,33142,33440,33442,33444,33449,33450,33451,33453,33455,33457,33459,33461,33463,33469,33470,33473,33476,33477,33478,33480,33481,33484,33485,33500,33504,33511,33512,33513,33514,33520,33521,33601,33603,33614,33615,33624,33630,33634,33639,33653,33654,33673,33674,33675,33677,33683,36502,37882,38314]}name(){return"Shift_JIS"}language(){return"ja"}nextChar(f,p){f.index=f.nextIndex,f.error=!1;const g=f.charValue=f.nextByte(p);if(g<0)return!1;if(g<=127||g>160&&g<=223)return!0;const b=f.nextByte(p);return b<0?!1:(f.charValue=g<<8|b,b>=64&&b<=127||b>=128&&b<=255||(f.error=!0),!0)}}In.sjis=i;class o extends a{constructor(){super(...arguments),this.commonChars=[41280,41281,41282,41283,41287,41289,41333,41334,42048,42054,42055,42056,42065,42068,42071,42084,42090,42092,42103,42147,42148,42151,42177,42190,42193,42207,42216,42237,42304,42312,42328,42345,42445,42471,42583,42593,42594,42600,42608,42664,42675,42681,42707,42715,42726,42738,42816,42833,42841,42970,43171,43173,43181,43217,43219,43236,43260,43456,43474,43507,43627,43706,43710,43724,43772,44103,44111,44208,44242,44377,44745,45024,45290,45423,45747,45764,45935,46156,46158,46412,46501,46525,46544,46552,46705,47085,47207,47428,47832,47940,48033,48593,49860,50105,50240,50271]}name(){return"Big5"}language(){return"zh"}nextChar(f,p){f.index=f.nextIndex,f.error=!1;const g=f.charValue=f.nextByte(p);if(g<0)return!1;if(g<=127||g==255)return!0;const b=f.nextByte(p);return b<0?!1:(f.charValue=f.charValue<<8|b,(b<64||b==127||b==255)&&(f.error=!0),!0)}}In.big5=o;function s(c,f){c.index=c.nextIndex,c.error=!1;let p=0,g=0,b=0;e:{if(p=c.charValue=c.nextByte(f),p<0){c.done=!0;break e}if(p<=141)break e;if(g=c.nextByte(f),c.charValue=c.charValue<<8|g,p>=161&&p<=254){g<161&&(c.error=!0);break e}if(p==142){g<161&&(c.error=!0);break e}p==143&&(b=c.nextByte(f),c.charValue=c.charValue<<8|b,b<161&&(c.error=!0))}return c.done==!1}class l extends a{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41382,41404,41418,41419,41430,41431,42146,42148,42150,42152,42154,42155,42156,42157,42159,42161,42163,42165,42167,42169,42171,42173,42175,42176,42177,42179,42180,42182,42183,42184,42185,42186,42187,42190,42191,42192,42206,42207,42209,42210,42212,42216,42217,42218,42219,42220,42223,42226,42227,42402,42403,42404,42406,42407,42410,42413,42415,42416,42419,42421,42423,42424,42425,42431,42435,42438,42439,42440,42441,42443,42448,42453,42454,42455,42462,42464,42465,42469,42473,42474,42475,42476,42477,42483,47273,47572,47854,48072,48880,49079,50410,50940,51133,51896,51955,52188,52689],this.nextChar=s}name(){return"EUC-JP"}language(){return"ja"}}In.euc_jp=l;class u extends a{constructor(){super(...arguments),this.commonChars=[45217,45235,45253,45261,45268,45286,45293,45304,45306,45308,45496,45497,45511,45527,45538,45994,46011,46274,46287,46297,46315,46501,46517,46527,46535,46569,46835,47023,47042,47054,47270,47278,47286,47288,47291,47337,47531,47534,47564,47566,47613,47800,47822,47824,47857,48103,48115,48125,48301,48314,48338,48374,48570,48576,48579,48581,48838,48840,48863,48878,48888,48890,49057,49065,49088,49124,49131,49132,49144,49319,49327,49336,49338,49339,49341,49351,49356,49358,49359,49366,49370,49381,49403,49404,49572,49574,49590,49622,49631,49654,49656,50337,50637,50862,51151,51153,51154,51160,51173,51373],this.nextChar=s}name(){return"EUC-KR"}language(){return"ko"}}In.euc_kr=u;class d extends a{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41380,41392,41393,41457,41459,41889,41900,41914,45480,45496,45502,45755,46025,46070,46323,46525,46532,46563,46767,46804,46816,47010,47016,47037,47062,47069,47284,47327,47350,47531,47561,47576,47610,47613,47821,48039,48086,48097,48122,48316,48347,48382,48588,48845,48861,49076,49094,49097,49332,49389,49611,49883,50119,50396,50410,50636,50935,51192,51371,51403,51413,51431,51663,51706,51889,51893,51911,51920,51926,51957,51965,52460,52728,52906,52932,52946,52965,53173,53186,53206,53442,53445,53456,53460,53671,53930,53938,53941,53947,53972,54211,54224,54269,54466,54490,54754,54992]}name(){return"GB18030"}language(){return"zh"}nextChar(f,p){f.index=f.nextIndex,f.error=!1;let g=0,b=0,m=0,x=0;e:{if(g=f.charValue=f.nextByte(p),g<0){f.done=!0;break e}if(g<=128)break e;if(b=f.nextByte(p),f.charValue=f.charValue<<8|b,g>=129&&g<=254){if(b>=64&&b<=126||b>=80&&b<=254)break e;if(b>=48&&b<=57&&(m=f.nextByte(p),m>=129&&m<=254&&(x=f.nextByte(p),x>=48&&x<=57))){f.charValue=f.charValue<<16|m<<8|x;break e}f.error=!0;break e}}return f.done==!1}}return In.gb_18030=d,In}var Ft={},rp;function UP(){if(rp)return Ft;rp=1;var e=Ft&&Ft.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.KOI8_R=Ft.windows_1256=Ft.windows_1251=Ft.ISO_8859_9=Ft.ISO_8859_8=Ft.ISO_8859_7=Ft.ISO_8859_6=Ft.ISO_8859_5=Ft.ISO_8859_2=Ft.ISO_8859_1=void 0;const t=e(po()),n=16777215;class r{constructor(v,y){this.byteIndex=0,this.ngram=0,this.ngramCount=0,this.hitCount=0,this.spaceChar=32,this.ngramList=v,this.byteMap=y}search(v,y){let w=0;return v[w+32]<=y&&(w+=32),v[w+16]<=y&&(w+=16),v[w+8]<=y&&(w+=8),v[w+4]<=y&&(w+=4),v[w+2]<=y&&(w+=2),v[w+1]<=y&&(w+=1),v[w]>y&&(w-=1),w<0||v[w]!=y?-1:w}lookup(v){this.ngramCount+=1,this.search(this.ngramList,v)>=0&&(this.hitCount+=1)}addByte(v){this.ngram=(this.ngram<<8)+(v&255)&n,this.lookup(this.ngram)}nextByte(v){return this.byteIndex>=v.inputLen?-1:v.inputBytes[this.byteIndex++]&255}parse(v,y){let w,O=!1;for(this.spaceChar=y;(w=this.nextByte(v))>=0;){const A=this.byteMap[w];A!=0&&(A==this.spaceChar&&O||this.addByte(A),O=A==this.spaceChar)}this.addByte(this.spaceChar);const T=this.hitCount/this.ngramCount;return T>.33?98:Math.floor(T*300)}}class a{constructor(v,y){this.fLang=v,this.fNGrams=y}}const i=x=>Array.isArray(x)&&isFinite(x[0]);let o=class{constructor(){this.spaceChar=32,this.nGramLang=void 0}ngrams(){return[]}byteMap(){return[]}name(v){return"sbcs"}language(){return this.nGramLang}match(v){this.nGramLang=void 0;const y=this.ngrams();if(i(y)){const T=new r(y,this.byteMap()).parse(v,this.spaceChar);return T<=0?null:(0,t.default)(v,this,T)}let w=-1;for(let O=y.length-1;O>=0;O--){const T=y[O],F=new r(T.fNGrams,this.byteMap()).parse(v,this.spaceChar);F>w&&(w=F,this.nGramLang=T.fLang)}return w<=0?null:(0,t.default)(v,this,w)}};class s extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[new a("da",[2122086,2122100,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126697,2126708,2126953,2127465,6383136,6385184,6385252,6386208,6386720,6579488,6579566,6579570,6579572,6627443,6644768,6644837,6647328,6647396,6648352,6648421,6648608,6648864,6713202,6776096,6776174,6776178,6907749,6908960,6909543,7038240,7039845,7103858,7104871,7105637,7169380,7234661,7234848,7235360,7235429,7300896,7302432,7303712,7398688,7479396,7479397,7479411,7496992,7566437,7610483,7628064,7628146,7629164,7759218]),new a("de",[2122094,2122101,2122341,2122849,2122853,2122857,2123113,2123621,2123873,2124142,2125161,2126691,2126693,2127214,2127461,2127471,2127717,2128501,6448498,6514720,6514789,6514804,6578547,6579566,6579570,6580581,6627428,6627443,6646126,6646132,6647328,6648352,6648608,6776174,6841710,6845472,6906728,6907168,6909472,6909541,6911008,7104867,7105637,7217249,7217252,7217267,7234592,7234661,7234848,7235360,7235429,7238757,7479396,7496805,7497065,7562088,7566437,7610468,7628064,7628142,7628146,7695972,7695975,7759218]),new a("en",[2122016,2122094,2122341,2122607,2123375,2123873,2123877,2124142,2125153,2125670,2125938,2126437,2126689,2126708,2126952,2126959,2127720,6383972,6384672,6385184,6385252,6386464,6386720,6386789,6386793,6561889,6561908,6627425,6627443,6627444,6644768,6647412,6648352,6648608,6713202,6840692,6841632,6841714,6906912,6909472,6909543,6909806,6910752,7217249,7217268,7234592,7235360,7238688,7300640,7302688,7303712,7496992,7500576,7544929,7544948,7561577,7566368,7610484,7628146,7628897,7628901,7629167,7630624,7631648]),new a("es",[2122016,2122593,2122607,2122853,2123116,2123118,2123123,2124142,2124897,2124911,2125921,2125935,2125938,2126197,2126437,2126693,2127214,2128160,6365283,6365284,6365285,6365292,6365296,6382441,6382703,6384672,6386208,6386464,6515187,6516590,6579488,6579564,6582048,6627428,6627429,6627436,6646816,6647328,6647412,6648608,6648692,6907246,6943598,7102752,7106419,7217253,7238757,7282788,7282789,7302688,7303712,7303968,7364978,7435621,7495968,7497075,7544932,7544933,7544944,7562528,7628064,7630624,7693600,15953440]),new a("fr",[2122101,2122607,2122849,2122853,2122869,2123118,2123124,2124897,2124901,2125921,2125935,2125938,2126197,2126693,2126703,2127214,2154528,6385268,6386793,6513952,6516590,6579488,6579571,6583584,6627425,6627427,6627428,6627429,6627436,6627440,6627443,6647328,6647412,6648352,6648608,6648864,6649202,6909806,6910752,6911008,7102752,7103776,7103859,7169390,7217252,7234848,7238432,7238688,7302688,7302772,7304562,7435621,7479404,7496992,7544929,7544932,7544933,7544940,7544944,7610468,7628064,7629167,7693600,7696928]),new a("it",[2122092,2122600,2122607,2122853,2122857,2123040,2124140,2124142,2124897,2125925,2125938,2127214,6365283,6365284,6365296,6365299,6386799,6514789,6516590,6579564,6580512,6627425,6627427,6627428,6627433,6627436,6627440,6627443,6646816,6646892,6647412,6648352,6841632,6889569,6889571,6889572,6889587,6906144,6908960,6909472,6909806,7102752,7103776,7104800,7105633,7234848,7235872,7237408,7238757,7282785,7282788,7282793,7282803,7302688,7302757,7366002,7495968,7496992,7563552,7627040,7628064,7629088,7630624,8022383]),new a("nl",[2122092,2122341,2122849,2122853,2122857,2123109,2123118,2123621,2123877,2124142,2125153,2125157,2125680,2126949,2127457,2127461,2127471,2127717,2128489,6381934,6381938,6385184,6385252,6386208,6386720,6514804,6579488,6579566,6579570,6627426,6627446,6645102,6645106,6647328,6648352,6648435,6648864,6776174,6841716,6907168,6909472,6909543,6910752,7217250,7217252,7217253,7217256,7217263,7217270,7234661,7235360,7302756,7303026,7303200,7303712,7562088,7566437,7610468,7628064,7628142,7628146,7758190,7759218,7761775]),new a("no",[2122100,2122102,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126693,2126699,2126703,2126708,2126953,2127465,2155808,6385252,6386208,6386720,6579488,6579566,6579572,6627443,6644768,6647328,6647397,6648352,6648421,6648864,6648948,6713202,6776174,6908779,6908960,6909543,7038240,7039845,7103776,7105637,7169380,7169390,7217267,7234848,7235360,7235429,7237221,7300896,7302432,7303712,7398688,7479411,7496992,7565165,7566437,7610483,7628064,7628142,7628146,7629164,7631904,7631973,7759218]),new a("pt",[2122016,2122607,2122849,2122853,2122863,2123040,2123123,2125153,2125423,2125600,2125921,2125935,2125938,2126197,2126437,2126693,2127213,6365281,6365283,6365284,6365296,6382693,6382703,6384672,6386208,6386273,6386464,6516589,6516590,6578464,6579488,6582048,6582131,6627425,6627428,6647072,6647412,6648608,6648692,6906144,6906721,7169390,7238757,7238767,7282785,7282787,7282788,7282789,7282800,7303968,7364978,7435621,7495968,7497075,7544929,7544932,7544933,7544944,7566433,7628064,7630624,7693600,14905120,15197039]),new a("sv",[2122100,2122102,2122853,2123118,2123510,2123873,2124064,2124142,2124655,2125157,2125667,2126053,2126699,2126703,2126708,2126953,2127457,2127465,2155634,6382693,6385184,6385252,6386208,6386804,6514720,6579488,6579566,6579570,6579572,6644768,6647328,6648352,6648864,6747762,6776174,6909036,6909543,7037216,7105568,7169380,7217267,7233824,7234661,7235360,7235429,7235950,7299944,7302432,7302688,7398688,7479393,7479411,7495968,7564129,7565165,7610483,7627040,7628064,7628146,7629164,7631904,7758194,14971424,16151072])]}name(v){return v&&v.c1Bytes?"windows-1252":"ISO-8859-1"}}Ft.ISO_8859_1=s;class l extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,177,32,179,32,181,182,32,32,185,186,187,188,32,190,191,32,177,32,179,32,181,182,183,32,185,186,187,188,32,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,32]}ngrams(){return[new a("cs",[2122016,2122361,2122863,2124389,2125409,2125413,2125600,2125668,2125935,2125938,2126072,2126447,2126693,2126703,2126708,2126959,2127392,2127481,2128481,6365296,6513952,6514720,6627440,6627443,6627446,6647072,6647533,6844192,6844260,6910836,6972704,7042149,7103776,7104800,7233824,7268640,7269408,7269664,7282800,7300206,7301737,7304052,7304480,7304801,7368548,7368554,7369327,7403621,7562528,7565173,7566433,7566441,7566446,7628146,7630573,7630624,7676016,12477728,14773997,15296623,15540336,15540339,15559968,16278884]),new a("hu",[2122016,2122106,2122341,2123111,2123116,2123365,2123873,2123887,2124147,2124645,2124649,2124790,2124901,2125153,2125157,2125161,2125413,2126714,2126949,2156915,6365281,6365291,6365293,6365299,6384416,6385184,6388256,6447470,6448494,6645625,6646560,6646816,6646885,6647072,6647328,6648421,6648864,6648933,6648948,6781216,6844263,6909556,6910752,7020641,7075450,7169383,7170414,7217249,7233899,7234923,7234925,7238688,7300985,7544929,7567973,7567988,7568097,7596391,7610465,7631904,7659891,8021362,14773792,15299360]),new a("pl",[2122618,2122863,2124064,2124389,2124655,2125153,2125161,2125409,2125417,2125668,2125935,2125938,2126697,2127648,2127721,2127737,2128416,2128481,6365296,6365303,6385257,6514720,6519397,6519417,6582048,6584937,6627440,6627443,6627447,6627450,6645615,6646304,6647072,6647401,6778656,6906144,6907168,6907242,7037216,7039264,7039333,7170405,7233824,7235937,7235941,7282800,7305057,7305065,7368556,7369313,7369327,7369338,7502437,7502457,7563754,7564137,7566433,7825765,7955304,7957792,8021280,8022373,8026400,15955744]),new a("ro",[2122016,2122083,2122593,2122597,2122607,2122613,2122853,2122857,2124897,2125153,2125925,2125938,2126693,2126819,2127214,2144873,2158190,6365283,6365284,6386277,6386720,6386789,6386976,6513010,6516590,6518048,6546208,6579488,6627425,6627427,6627428,6627440,6627443,6644e3,6646048,6646885,6647412,6648692,6889569,6889571,6889572,6889584,6907168,6908192,6909472,7102752,7103776,7106418,7107945,7234848,7238770,7303712,7365998,7496992,7497057,7501088,7594784,7628064,7631477,7660320,7694624,7695392,12216608,15625760])]}name(v){return v&&v.c1Bytes?"windows-1250":"ISO-8859-2"}}Ft.ISO_8859_2=l;class u extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255]}ngrams(){return[2150944,2151134,2151646,2152400,2152480,2153168,2153182,2153936,2153941,2154193,2154462,2154464,2154704,2154974,2154978,2155230,2156514,2158050,13688280,13689580,13884960,14015468,14015960,14016994,14017056,14164191,14210336,14211104,14216992,14407133,14407712,14413021,14536736,14538016,14538965,14538991,14540320,14540498,14557394,14557407,14557409,14602784,14602960,14603230,14604576,14605292,14605344,14606818,14671579,14672085,14672088,14672094,14733522,14734804,14803664,14803666,14803672,14806816,14865883,14868e3,14868192,14871584,15196894,15459616]}name(){return"ISO-8859-5"}language(){return"ru"}}Ft.ISO_8859_5=u;class d extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]}ngrams(){return[2148324,2148326,2148551,2152932,2154986,2155748,2156006,2156743,13050055,13091104,13093408,13095200,13100064,13100227,13100231,13100232,13100234,13100236,13100237,13100239,13100243,13100249,13100258,13100261,13100264,13100266,13100320,13100576,13100746,13115591,13181127,13181153,13181156,13181157,13181160,13246663,13574343,13617440,13705415,13748512,13836487,14229703,14279913,14805536,14950599,14993696,15001888,15002144,15016135,15058720,15059232,15066656,15081671,15147207,15189792,15255524,15263264,15278279,15343815,15343845,15343848,15386912,15388960,15394336]}name(){return"ISO-8859-6"}language(){return"ar"}}Ft.ISO_8859_6=d;class c extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,161,162,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,220,32,221,222,223,32,252,32,253,254,192,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,32,243,244,245,246,247,248,249,250,251,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,32]}ngrams(){return[2154989,2154992,2155497,2155753,2156016,2156320,2157281,2157797,2158049,2158368,2158817,2158831,2158833,2159604,2159605,2159847,2159855,14672160,14754017,14754036,14805280,14806304,14807292,14807584,14936545,15067424,15069728,15147252,15199520,15200800,15278324,15327520,15330014,15331872,15393257,15393268,15525152,15540449,15540453,15540464,15589664,15725088,15725856,15790069,15790575,15793184,15868129,15868133,15868138,15868144,15868148,15983904,15984416,15987951,16048416,16048617,16050157,16050162,16050666,16052e3,16052213,16054765,16379168,16706848]}name(v){return v&&v.c1Bytes?"windows-1253":"ISO-8859-7"}language(){return"el"}}Ft.ISO_8859_7=c;class f extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,32,32,32,32,32]}ngrams(){return[new a("he",[2154725,2154727,2154729,2154746,2154985,2154990,2155744,2155749,2155753,2155758,2155762,2155769,2155770,2157792,2157796,2158304,2159340,2161132,14744096,14950624,14950625,14950628,14950636,14950638,14950649,15001056,15065120,15068448,15068960,15071264,15071776,15278308,15328288,15328762,15329773,15330592,15331104,15333408,15333920,15474912,15474916,15523872,15524896,15540448,15540449,15540452,15540460,15540462,15540473,15655968,15671524,15787040,15788320,15788525,15920160,16261348,16312813,16378912,16392416,16392417,16392420,16392428,16392430,16392441]),new a("he",[2154725,2154732,2155753,2155756,2155758,2155760,2157040,2157810,2157817,2158053,2158057,2158565,2158569,2160869,2160873,2161376,2161381,2161385,14688484,14688492,14688493,14688506,14738464,14738916,14740512,14741024,14754020,14754029,14754042,14950628,14950633,14950636,14950637,14950639,14950648,14950650,15002656,15065120,15066144,15196192,15327264,15327520,15328288,15474916,15474925,15474938,15528480,15530272,15591913,15591920,15591928,15605988,15605997,15606010,15655200,15655968,15918112,16326884,16326893,16326906,16376864,16441376,16442400,16442857])]}name(v){return v&&v.c1Bytes?"windows-1255":"ISO-8859-8"}language(){return"he"}}Ft.ISO_8859_8=f;class p extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,105,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[2122337,2122345,2122357,2122849,2122853,2123621,2123873,2124140,2124641,2124655,2125153,2125676,2126689,2126945,2127461,2128225,6365282,6384416,6384737,6384993,6385184,6385405,6386208,6386273,6386429,6386685,6388065,6449522,6578464,6579488,6580512,6627426,6627435,6644841,6647328,6648352,6648425,6648681,6909029,6909472,6909545,6910496,7102830,7102834,7103776,7103858,7217249,7217250,7217259,7234657,7234661,7234848,7235872,7235950,7273760,7498094,7535982,7759136,7954720,7958386,16608800,16608868,16609021,16642301]}name(v){return v&&v.c1Bytes?"windows-1254":"ISO-8859-9"}language(){return"tr"}}Ft.ISO_8859_9=p;class g extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,144,131,32,131,32,32,32,32,32,32,154,32,156,157,158,159,144,32,32,32,32,32,32,32,32,32,154,32,156,157,158,159,32,162,162,188,32,180,32,32,184,32,186,32,32,32,32,191,32,32,179,179,180,181,32,32,184,32,186,32,188,190,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255]}ngrams(){return[2155040,2155246,2155758,2156512,2156576,2157280,2157294,2158048,2158053,2158305,2158574,2158576,2158816,2159086,2159090,2159342,2160626,2162162,14740968,14742268,14937632,15068156,15068648,15069682,15069728,15212783,15263008,15263776,15269664,15459821,15460384,15465709,15589408,15590688,15591653,15591679,15592992,15593186,15605986,15605999,15606001,15655456,15655648,15655918,15657248,15657980,15658016,15659506,15724267,15724773,15724776,15724782,15786210,15787492,15856352,15856354,15856360,15859488,15918571,15920672,15920880,15924256,16249582,16512288]}name(){return"windows-1251"}language(){return"ru"}}Ft.windows_1251=g;class b extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,129,32,131,32,32,32,32,136,32,138,32,156,141,142,143,144,32,32,32,32,32,32,32,152,32,154,32,156,32,32,159,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,32,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,32,32,32,244,32,32,32,32,249,32,251,252,32,32,255]}ngrams(){return[2148321,2148324,2148551,2153185,2153965,2154977,2155492,2156231,13050055,13091104,13093408,13095200,13099296,13099459,13099463,13099464,13099466,13099468,13099469,13099471,13099475,13099482,13099486,13099491,13099494,13099501,13099808,13100064,13100234,13115591,13181127,13181149,13181153,13181155,13181158,13246663,13574343,13617440,13705415,13748512,13836487,14295239,14344684,14544160,14753991,14797088,14806048,14806304,14885063,14927648,14928160,14935072,14950599,15016135,15058720,15124449,15131680,15474887,15540423,15540451,15540454,15583520,15585568,15590432]}name(){return"windows-1256"}language(){return"ar"}}Ft.windows_1256=b;class m extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223]}ngrams(){return[2147535,2148640,2149313,2149327,2150081,2150085,2150338,2150607,2150610,2151105,2151375,2151380,2151631,2152224,2152399,2153153,2153684,2154196,12701385,12702936,12963032,12963529,12964820,12964896,13094688,13181136,13223200,13224224,13226272,13419982,13420832,13424846,13549856,13550880,13552069,13552081,13553440,13553623,13574352,13574355,13574359,13617103,13617696,13618392,13618464,13620180,13621024,13621185,13684684,13685445,13685449,13685455,13812183,13813188,13881632,13882561,13882569,13882583,13944268,13946656,13946834,13948960,14272544,14603471]}name(){return"KOI8-R"}language(){return"ru"}}return Ft.KOI8_R=m,Ft}var Cr={},ap;function zP(){if(ap)return Cr;ap=1;var e=Cr&&Cr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.ISO_2022_CN=Cr.ISO_2022_KR=Cr.ISO_2022_JP=void 0;const t=e(po());class n{constructor(){this.escapeSequences=[]}name(){return"ISO_2022"}match(s){let l,u,d,c=0,f=0,p=0,g;const b=s.inputBytes,m=s.inputLen;e:for(l=0;l<m;l++){if(b[l]==27){t:for(d=0;d<this.escapeSequences.length;d++){const x=this.escapeSequences[d];if(m-l<x.length)continue t;for(u=1;u<x.length;u++)if(x[u]!=b[l+u])continue t;c++,l+=x.length-1;continue e}f++}(b[l]==14||b[l]==15)&&p++}return c==0?null:(g=(100*c-100*f)/(c+f),c+p<5&&(g-=(5-(c+p))*10),g<=0?null:(0,t.default)(s,this,g))}}class r extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,40,67],[27,36,40,68],[27,36,64],[27,36,65],[27,36,66],[27,38,64],[27,40,66],[27,40,72],[27,40,73],[27,40,74],[27,46,65],[27,46,70]]}name(){return"ISO-2022-JP"}language(){return"ja"}}Cr.ISO_2022_JP=r;class a extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,67]]}name(){return"ISO-2022-KR"}language(){return"kr"}}Cr.ISO_2022_KR=a;class i extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,65],[27,36,41,71],[27,36,42,72],[27,36,41,69],[27,36,43,73],[27,36,43,74],[27,36,43,75],[27,36,43,76],[27,36,43,77],[27,78],[27,79]]}name(){return"ISO-2022-CN"}language(){return"zh"}}return Cr.ISO_2022_CN=i,Cr}var Po={},ip;function jP(){if(ip)return Po;ip=1,Object.defineProperty(Po,"__esModule",{value:!0}),Po.isByteArray=void 0;const e=t=>t==null||typeof t!="object"?!1:isFinite(t.length)&&t.length>=0;return Po.isByteArray=e,Po}var op;function WP(){return op||(op=1,function(e){var t=Sr&&Sr.__createBinding||(Object.create?function(v,y,w,O){O===void 0&&(O=w);var T=Object.getOwnPropertyDescriptor(y,w);(!T||("get"in T?!y.__esModule:T.writable||T.configurable))&&(T={enumerable:!0,get:function(){return y[w]}}),Object.defineProperty(v,O,T)}:function(v,y,w,O){O===void 0&&(O=w),v[O]=y[w]}),n=Sr&&Sr.__setModuleDefault||(Object.create?function(v,y){Object.defineProperty(v,"default",{enumerable:!0,value:y})}:function(v,y){v.default=y}),r=Sr&&Sr.__importStar||function(){var v=function(y){return v=Object.getOwnPropertyNames||function(w){var O=[];for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&(O[O.length]=T);return O},v(y)};return function(y){if(y&&y.__esModule)return y;var w={};if(y!=null)for(var O=v(y),T=0;T<O.length;T++)O[T]!=="default"&&t(w,y,O[T]);return n(w,y),w}}(),a=Sr&&Sr.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.detectFileSync=e.detectFile=e.analyse=e.detect=void 0;const i=a(MP()),o=a(BP()),s=a($P()),l=r(FP()),u=r(HP()),d=r(UP()),c=r(zP()),f=jP(),p=[new s.default,new l.UTF_16BE,new l.UTF_16LE,new l.UTF_32BE,new l.UTF_32LE,new u.sjis,new u.big5,new u.euc_jp,new u.euc_kr,new u.gb_18030,new c.ISO_2022_JP,new c.ISO_2022_KR,new c.ISO_2022_CN,new d.ISO_8859_1,new d.ISO_8859_2,new d.ISO_8859_5,new d.ISO_8859_6,new d.ISO_8859_7,new d.ISO_8859_8,new d.ISO_8859_9,new d.windows_1251,new d.windows_1256,new d.KOI8_R,new o.default],g=v=>{const y=(0,e.analyse)(v);return y.length>0?y[0].name:null};e.detect=g;const b=v=>{if(!(0,f.isByteArray)(v))throw new Error("Input must be a byte array, e.g. Buffer or Uint8Array");const y=[];for(let A=0;A<256;A++)y[A]=0;for(let A=v.length-1;A>=0;A--)y[v[A]&255]++;let w=!1;for(let A=128;A<=159;A+=1)if(y[A]!==0){w=!0;break}const O={byteStats:y,c1Bytes:w,rawInput:v,rawLen:v.length,inputBytes:v,inputLen:v.length};return p.map(A=>A.match(O)).filter(A=>!!A).sort((A,F)=>F.confidence-A.confidence)};e.analyse=b;const m=(v,y={})=>new Promise((w,O)=>{let T;const A=(0,i.default)(),F=(M,D)=>{T&&A.closeSync(T),M?O(M):w((0,e.detect)(D))};if(y&&y.sampleSize){T=A.openSync(v,"r");const M=Buffer.allocUnsafe(y.sampleSize);A.read(T,M,0,y.sampleSize,y.offset,D=>{F(D,M)});return}A.readFile(v,F)});e.detectFile=m;const x=(v,y={})=>{const w=(0,i.default)();if(y&&y.sampleSize){const O=w.openSync(v,"r"),T=Buffer.allocUnsafe(y.sampleSize);return w.readSync(O,T,0,y.sampleSize,y.offset),w.closeSync(O),(0,e.detect)(T)}return(0,e.detect)(w.readFileSync(v))};e.detectFileSync=x,e.default={analyse:e.analyse,detect:e.detect,detectFileSync:e.detectFileSync,detectFile:e.detectFile}}(Sr)),Sr}var VP=WP();const qP=vs(VP);function GP(e){const t=["utf-8","gbk","gb18030","ibm866","iso-8859-2","iso-8859-3","iso-8859-4","iso-8859-5","iso-8859-6","iso-8859-7","iso-8859-8","iso-8859-8i","iso-8859-10","iso-8859-13","iso-8859-14","iso-8859-15","iso-8859-16","koi8-r","koi8-u","macintosh","windows-874","windows-1250","windows-1251","windows-1252","windows-1253","windows-1254","windows-1255","windows-1256","windows-1257","windows-1258","x-mac-cyrillic","big5","euc-jp","iso-2022-jp","shift_jis","euc-kr","iso-2022-kr","utf-16be","utf-16le","x-user-defined","iso-2022-cn"];return Kt(()=>{if(e.referenceText){let n;typeof e.referenceText=="string"?n=new TextEncoder().encode(e.referenceText):n=new Uint8Array(e.referenceText);for(let r of qP.analyse(n)){const a=r.name.toLowerCase();if(t.includes(a)){e.setEncoding(a);return}}}}),_(Me,{pos:"absolute",right:0,top:0,w:"$36",opacity:.15,_hover:{opacity:1},zIndex:1,get children(){return _(PP,{get options(){return t.map(n=>({label:n.toLocaleUpperCase(),value:n}))},get value(){return e.encoding},onChange:n=>e.setEncoding(n)})}})}function b$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/><path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/>'},e)}function E$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 11.5a.5.5 0 0 0 .5.5h11.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 11H1.5a.5.5 0 0 0-.5.5zm14-7a.5.5 0 0 1-.5.5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H14.5a.5.5 0 0 1 .5.5z"/>'},e)}function y$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>'},e)}function v$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.522 5H2a.5.5 0 0 0-.494.574l1.372 9.149A1.5 1.5 0 0 0 4.36 16h7.278a1.5 1.5 0 0 0 1.483-1.277l1.373-9.149A.5.5 0 0 0 14 5h-.522A5.5 5.5 0 0 0 2.522 5zm1.005 0a4.5 4.5 0 0 1 8.945 0H3.527zm9.892 1-1.286 8.574a.5.5 0 0 1-.494.426H4.36a.5.5 0 0 1-.494-.426L2.58 6h10.838z"/>'},e)}function _$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10.5 8.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/><path d="M2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2zm.5 2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9 2.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/>'},e)}function T$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path d="M1.5 2A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13zm13 1a.5.5 0 0 1 .5.5v6l-3.775-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12v.54A.505.505 0 0 1 1 12.5v-9a.5.5 0 0 1 .5-.5h13z"/>'},e)}function S$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M8 0a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 4.095 0 5.555 0 7.318 0 9.366 1.708 11 3.781 11H7.5V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11h4.188C14.502 11 16 9.57 16 7.773c0-1.636-1.242-2.969-2.834-3.194C12.923 1.999 10.69 0 8 0zm-.5 14.5V11h1v3.5a.5.5 0 0 1-1 0z"/>'},e)}function C$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.884 6.68 8 9.219l2.116-2.54a.5.5 0 1 1 .768.641L8.651 10l2.233 2.68a.5.5 0 0 1-.768.64L8 10.781l-2.116 2.54a.5.5 0 0 1-.768-.641L7.349 10 5.116 7.32a.5.5 0 1 1 .768-.64z"/>'},e)}function w$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/>'},e)}function A$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707v5.586l-2.73-2.73a1 1 0 0 0-1.52.127l-1.889 2.644-1.769-1.062a1 1 0 0 0-1.222.15L2 12.292V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zm-1.498 4a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"/><path d="M10.564 8.27 14 11.708V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-.293l3.578-3.577 2.56 1.536 2.426-3.395z"/>'},e)}function k$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 8.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1z"/>'},e)}function O$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM11 6.64v1.75l-2 .5v3.61c0 .495-.301.883-.662 1.123C7.974 13.866 7.499 14 7 14c-.5 0-.974-.134-1.338-.377-.36-.24-.662-.628-.662-1.123s.301-.883.662-1.123C6.026 11.134 6.501 11 7 11c.356 0 .7.068 1 .196V6.89a1 1 0 0 1 .757-.97l1-.25A1 1 0 0 1 11 6.64z"/>'},e)}function I$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.523 12.424c.14-.082.293-.162.459-.238a7.878 7.878 0 0 1-.45.606c-.28.337-.498.516-.635.572a.266.266 0 0 1-.035.012.282.282 0 0 1-.026-.044c-.056-.11-.054-.216.04-.36.106-.165.319-.354.647-.548zm2.455-1.647c-.119.025-.237.05-.356.078a21.148 21.148 0 0 0 .5-1.05 12.045 12.045 0 0 0 .51.858c-.217.032-.436.07-.654.114zm2.525.939a3.881 3.881 0 0 1-.435-.41c.228.005.434.022.612.054.317.057.466.147.518.209a.095.095 0 0 1 .026.064.436.436 0 0 1-.06.2.307.307 0 0 1-.094.124.107.107 0 0 1-.069.015c-.09-.003-.258-.066-.498-.256zM8.278 6.97c-.04.244-.108.524-.2.829a4.86 4.86 0 0 1-.089-.346c-.076-.353-.087-.63-.046-.822.038-.177.11-.248.196-.283a.517.517 0 0 1 .145-.04c.013.03.028.092.032.198.005.122-.007.277-.038.465z"/><path fill-rule="evenodd" d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM4.165 13.668c.09.18.23.343.438.419.207.075.412.04.58-.03.318-.13.635-.436.926-.786.333-.401.683-.927 1.021-1.51a11.651 11.651 0 0 1 1.997-.406c.3.383.61.713.91.95.28.22.603.403.934.417a.856.856 0 0 0 .51-.138c.155-.101.27-.247.354-.416.09-.181.145-.37.138-.563a.844.844 0 0 0-.2-.518c-.226-.27-.596-.4-.96-.465a5.76 5.76 0 0 0-1.335-.05 10.954 10.954 0 0 1-.98-1.686c.25-.66.437-1.284.52-1.794.036-.218.055-.426.048-.614a1.238 1.238 0 0 0-.127-.538.7.7 0 0 0-.477-.365c-.202-.043-.41 0-.601.077-.377.15-.576.47-.651.823-.073.34-.04.736.046 1.136.088.406.238.848.43 1.295a19.697 19.697 0 0 1-1.062 2.227 7.662 7.662 0 0 0-1.482.645c-.37.22-.699.48-.897.787-.21.326-.275.714-.08 1.103z"/>'},e)}function N$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 6.883a.5.5 0 0 1 .757-.429l3.528 2.117a.5.5 0 0 1 0 .858l-3.528 2.117a.5.5 0 0 1-.757-.43V6.884z"/>'},e)}function L$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.188 10H7V6.5h1.188a1.75 1.75 0 1 1 0 3.5z"/><path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM7 5.5a1 1 0 0 0-1 1V13a.5.5 0 0 0 1 0v-2h1.188a2.75 2.75 0 0 0 0-5.5H7z"/>'},e)}function R$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.485 6.879l1.036 4.144.997-3.655a.5.5 0 0 1 .964 0l.997 3.655 1.036-4.144a.5.5 0 0 1 .97.242l-1.5 6a.5.5 0 0 1-.967.01L8 9.402l-1.018 3.73a.5.5 0 0 1-.967-.01l-1.5-6a.5.5 0 1 1 .97-.242z"/>'},e)}function D$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.5 9.438V8.5h1v.938a1 1 0 0 0 .03.243l.4 1.598-.93.62-.93-.62.4-1.598a1 1 0 0 0 .03-.243z"/><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zm-4-.5V2h-1V1H6v1h1v1H6v1h1v1H6v1h1v1H5.5V6h-1V5h1V4h-1V3h1zm0 4.5h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.109 0l-.93-.62a1 1 0 0 1-.415-1.074l.4-1.599V8.5a1 1 0 0 1 1-1z"/>'},e)}function P$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.06 6.5a.5.5 0 0 1 .5.5v.776a11.5 11.5 0 0 1-.552 3.519l-1.331 4.14a.5.5 0 0 1-.952-.305l1.33-4.141a10.5 10.5 0 0 0 .504-3.213V7a.5.5 0 0 1 .5-.5Z"/><path d="M6.06 7a2 2 0 1 1 4 0 .5.5 0 1 1-1 0 1 1 0 1 0-2 0v.332c0 .409-.022.816-.066 1.221A.5.5 0 0 1 6 8.447c.04-.37.06-.742.06-1.115V7Zm3.509 1a.5.5 0 0 1 .487.513 11.5 11.5 0 0 1-.587 3.339l-1.266 3.8a.5.5 0 0 1-.949-.317l1.267-3.8a10.5 10.5 0 0 0 .535-3.048A.5.5 0 0 1 9.569 8Zm-3.356 2.115a.5.5 0 0 1 .33.626L5.24 14.939a.5.5 0 1 1-.955-.296l1.303-4.199a.5.5 0 0 1 .625-.329Z"/><path d="M4.759 5.833A3.501 3.501 0 0 1 11.559 7a.5.5 0 0 1-1 0 2.5 2.5 0 0 0-4.857-.833.5.5 0 1 1-.943-.334Zm.3 1.67a.5.5 0 0 1 .449.546 10.72 10.72 0 0 1-.4 2.031l-1.222 4.072a.5.5 0 1 1-.958-.287L4.15 9.793a9.72 9.72 0 0 0 .363-1.842.5.5 0 0 1 .546-.449Zm6 .647a.5.5 0 0 1 .5.5c0 1.28-.213 2.552-.632 3.762l-1.09 3.145a.5.5 0 0 1-.944-.327l1.089-3.145c.382-1.105.578-2.266.578-3.435a.5.5 0 0 1 .5-.5Z"/><path d="M3.902 4.222a4.996 4.996 0 0 1 5.202-2.113.5.5 0 0 1-.208.979 3.996 3.996 0 0 0-4.163 1.69.5.5 0 0 1-.831-.556Zm6.72-.955a.5.5 0 0 1 .705-.052A4.99 4.99 0 0 1 13.059 7v1.5a.5.5 0 1 1-1 0V7a3.99 3.99 0 0 0-1.386-3.028.5.5 0 0 1-.051-.705ZM3.68 5.842a.5.5 0 0 1 .422.568c-.029.192-.044.39-.044.59 0 .71-.1 1.417-.298 2.1l-1.14 3.923a.5.5 0 1 1-.96-.279L2.8 8.821A6.531 6.531 0 0 0 3.058 7c0-.25.019-.496.054-.736a.5.5 0 0 1 .568-.422Zm8.882 3.66a.5.5 0 0 1 .456.54c-.084 1-.298 1.986-.64 2.934l-.744 2.068a.5.5 0 0 1-.941-.338l.745-2.07a10.51 10.51 0 0 0 .584-2.678.5.5 0 0 1 .54-.456Z"/><path d="M4.81 1.37A6.5 6.5 0 0 1 14.56 7a.5.5 0 1 1-1 0 5.5 5.5 0 0 0-8.25-4.765.5.5 0 0 1-.5-.865Zm-.89 1.257a.5.5 0 0 1 .04.706A5.478 5.478 0 0 0 2.56 7a.5.5 0 0 1-1 0c0-1.664.626-3.184 1.655-4.333a.5.5 0 0 1 .706-.04ZM1.915 8.02a.5.5 0 0 1 .346.616l-.779 2.767a.5.5 0 1 1-.962-.27l.778-2.767a.5.5 0 0 1 .617-.346Zm12.15.481a.5.5 0 0 1 .49.51c-.03 1.499-.161 3.025-.727 4.533l-.07.187a.5.5 0 0 1-.936-.351l.07-.187c.506-1.35.634-2.74.663-4.202a.5.5 0 0 1 .51-.49Z"/>'},e)}function M$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm5 10v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2v5a2 2 0 0 1-2 2H5z"/>'},e)}function B$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"/>'},e)}function $$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3z"/>'},e)}function F$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H8.5v3a1.5 1.5 0 0 1 1.5 1.5h5.5a.5.5 0 0 1 0 1H10A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5H.5a.5.5 0 0 1 0-1H6A1.5 1.5 0 0 1 7.5 10V7H2a2 2 0 0 1-2-2V4zm1 0v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1zm6 7.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5z"/>'},e)}function H$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10 2a2 2 0 0 1-1.5 1.937v5.087c.863.083 1.5.377 1.5.726 0 .414-.895.75-2 .75s-2-.336-2-.75c0-.35.637-.643 1.5-.726V3.937A2 2 0 1 1 10 2z"/><path d="M0 9.665v1.717a1 1 0 0 0 .553.894l6.553 3.277a2 2 0 0 0 1.788 0l6.553-3.277a1 1 0 0 0 .553-.894V9.665c0-.1-.06-.19-.152-.23L9.5 6.715v.993l5.227 2.178a.125.125 0 0 1 .001.23l-5.94 2.546a2 2 0 0 1-1.576 0l-5.94-2.546a.125.125 0 0 1 .001-.23L6.5 7.708l-.013-.988L.152 9.435a.25.25 0 0 0-.152.23z"/>'},e)}function U$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm11.5 1a.5.5 0 0 0-.5.5v3.793L9.854 8.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0l2-2a.5.5 0 0 0-.708-.708L12 9.293V5.5a.5.5 0 0 0-.5-.5zM3.56 7.01h.056l1.428 3.239h.774l1.42-3.24h.056V11h1.073V5.001h-1.2l-1.71 3.894h-.039l-1.71-3.894H2.5V11h1.06V7.01z"/>'},e)}function z$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.025 8c0 2.485-2.02 4.5-4.513 4.5A4.506 4.506 0 0 1 0 8c0-2.486 2.02-4.5 4.512-4.5A4.506 4.506 0 0 1 9.025 8zm4.95 0c0 2.34-1.01 4.236-2.256 4.236-1.246 0-2.256-1.897-2.256-4.236 0-2.34 1.01-4.236 2.256-4.236 1.246 0 2.256 1.897 2.256 4.236zM16 8c0 2.096-.355 3.795-.794 3.795-.438 0-.793-1.7-.793-3.795 0-2.096.355-3.795.794-3.795.438 0 .793 1.699.793 3.795z"/>'},e)}function j$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"/>'},e)}function W$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M12.433 10.07C14.133 10.585 16 11.15 16 8a8 8 0 1 0-8 8c1.996 0 1.826-1.504 1.649-3.08-.124-1.101-.252-2.237.351-2.92.465-.527 1.42-.237 2.433.07zM8 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4.5 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM5 6.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>'},e)}function V$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/><path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>'},e)}function q$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z"/>'},e)}function G$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2 2h2v2H2V2Z"/><path d="M6 0v6H0V0h6ZM5 1H1v4h4V1ZM4 12H2v2h2v-2Z"/><path d="M6 10v6H0v-6h6Zm-5 1v4h4v-4H1Zm11-9h2v2h-2V2Z"/><path d="M10 0v6h6V0h-6Zm5 1v4h-4V1h4ZM8 1V0h1v2H8v2H7V1h1Zm0 5V4h1v2H8ZM6 8V7h1V6h1v2h1V7h5v1h-4v1H7V8H6Zm0 0v1H2V8H1v1H0V7h3v1h3Zm10 1h-1V7h1v2Zm-1 0h-1v2h2v-1h-1V9Zm-4 0h2v1h-1v1h-1V9Zm2 3v-1h-1v1h-1v1H9v1h3v-2h1Zm0 0h3v1h-2v1h-1v-2Zm-4-1v1h1v-2H7v1h2Z"/><path d="M7 12h1v3h4v1H7v-4Zm9 2v2h-3v-1h2v-1h1Z"/>'},e)}function KP(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>'},e)}function K$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.5 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1 .5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/><path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>'},e)}function Y$(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.555 1.375 0 2.237v5.45h6.555V1.375zM0 13.795l6.555.933V8.313H0v5.482zm7.278-5.4.026 6.378L16 16V8.395H7.278zM16 0 7.33 1.244v6.414H16V0z"/>'},e)}const YP=Xe(KP,{baseStyle:{color:"$neutral11"}}),X$=e=>{const t=Ls(),n=ga(),[r,a]=Ne(!1),[i,o]=Ne("");let s;const l=()=>e.searchable?e.options.filter(d=>new RegExp(i(),"i").test(d.label)):e.options,u=()=>n.state.selectedOptions.map(d=>d.textValue).join(",");return Kt(aa(u,o)),[_(Au,{get as(){return e.searchable?"div":void 0},get children(){return _(Re,{get fallback(){return[_(ld,{get children(){return t("global.choose")}}),_(ku,{}),_(ss,{})]},get when(){return!e.readonly&&e.searchable},get children(){return[_(Dm,{border:"none",variant:"unstyled",get placeholder(){return la(()=>!!r())()&&u()||t("global.choose")},get value(){return la(()=>!!r())()?i():u()},onKeyDown:d=>d.stopPropagation(),onClick:d=>{n.state.opened&&d.stopPropagation()},onInput:d=>{clearTimeout(s),o(d.currentTarget.value)},onBlur:()=>{a(!1),s=setTimeout(()=>o(""),300)},onFocus:()=>{clearTimeout(s),o(""),a(!0)}}),_(Re,{get when(){return r()},get fallback(){return _(ss,{})},get children(){return _(YP,{})}})]}})}}),_(_u,{get children(){return _(Tu,{get children(){return _(Zi,{get each(){return l()},children:d=>_(Su,{get value(){return d.key},get children(){return[_(wu,{get children(){return d.label}}),_(Cu,{})]}})})}})}})]};let X6=[];const XP=e=>{X6=e},Q$=e=>(e=e.toLowerCase(),X6.some(t=>e.endsWith(t))),sp=e=>{const t=Ls(),[n,r]=E0(()=>Mt.get("/me")),[a,i]=Ne();return(async()=>Pu(await r(),_A,i))(),_(ru,{get fallback(){return e.children},get children(){return[_(ia,{get when(){return n()},get children(){return _(Ed,{})}}),_(ia,{get when(){return a()!==void 0},get children(){return _(Kd,{get msg(){return t("home.get_current_user_failed")+a()}})}})]}})},QP={initialColorMode:"system",lightTheme:{colors:{background:"#f7f8fa"}},components:{Button:{baseStyle:{root:{rounded:"$lg",_active:{transform:"scale(.95)",transition:"0.2s"},_focus:{boxShadow:"unset"}}},defaultProps:{root:{colorScheme:"info",variant:"subtle"}}},IconButton:{defaultProps:{colorScheme:"info",variant:"subtle"}},Input:{baseStyle:{input:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}}},defaultProps:{input:{variant:"filled"}}},Textarea:{baseStyle:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"},resize:"vertical",wordBreak:"break-all"},defaultProps:{variant:"filled"}},Select:{baseStyle:{trigger:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}},content:{border:"none",rounded:"$lg"},optionIndicator:{color:"$info10"}},defaultProps:{root:{variant:"filled"}}},Checkbox:{defaultProps:{root:{colorScheme:"info",variant:"filled"}}},Switch:{defaultProps:{root:{colorScheme:"info"}}},Menu:{baseStyle:{content:{rounded:"$md",minW:"unset",border:"unset"},item:{rounded:"$md",py:"$1"}}},Notification:{baseStyle:{root:{rounded:"$lg",border:"unset"}}},Alert:{baseStyle:{root:{rounded:"$lg"}}},Anchor:{baseStyle:{rounded:"$lg",px:"$1_5",py:"$1",_hover:{bgColor:xb(),textDecoration:"none"},_focus:{boxShadow:"unset"},_active:{transform:"scale(.95)",transition:"0.1s"}}},Modal:{baseStyle:{content:{rounded:"$lg"}}}}},Q6=ha({"*":{margin:0,padding:0},html:{fontFamily:'-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important'},"#root":{display:"flex",flexDirection:"column",alignItems:"center"},".hope-breadcrumb__list":{flexWrap:"wrap",rowGap:"0 !important"},".lightgallery-container":{"& .lg-backdrop":{zIndex:"$popover"},"& .lg-outer":{zIndex:"calc($popover + 10)"}},".viselect-selection-area":{background:"rgba(46, 115, 252, 0.11)",border:"2px solid rgba(98, 155, 255, 0.81)",borderRadius:"0.1em"},".viselect-container":{userSelect:"none","& .viselect-item":{"-webkit-user-drag":"none","& img":{"-webkit-user-drag":"none"}}}}),ZP=nu(()=>La(()=>import("./Layout-jFFnLZug.js").then(e=>e.L),__vite__mapDeps([0,1,2,3,4,5]))),JP=nu(()=>La(()=>import("./index-Bn2D_UmB.js").then(e=>e.i),__vite__mapDeps([6,1,2,7]))),eM=nu(()=>La(()=>import("./index-C_jPYH9Z.js"),__vite__mapDeps([8,1,9]))),tM=nu(()=>La(()=>import("./index-C_aiEtJn.js"),__vite__mapDeps([10,11,4]))),nM=()=>{const e=Ls();Q6();const t=cy(),{to:n,pathname:r}=Ns(),a=u=>{n(u)};Mi.on("to",a),wt(()=>{Mi.off("to",a)}),Kt(()=>{Mi.emit("pathname",r())});const[i,o]=Ne([]),[s,l]=vb(()=>Promise.all([(async()=>{sh(await Mt.get("/public/settings"),mA,u=>o(i().concat(u)))})(),(async()=>{sh(await Mt.get("/public/archive_extensions"),XP,u=>o(i().concat(u)))})()]));return l(),[_(Ra,{get children(){return _(dx,{indeterminate:!0,size:"xs",position:"fixed",top:"0",left:"0",right:"0",zIndex:"$banner",get d(){return t()?"block":"none"},get children(){return _(hx,{})}})}}),_(ru,{get fallback(){return _(yy,{base:Ar,get children(){return[_(Gs,{path:"/@test",component:tM}),_(Gs,{path:"/@login",component:eM}),_(Gs,{path:"/@manage/*",get element(){return _(sp,{get children(){return _(JP,{})}})}}),_(Gs,{path:"*",get element(){return _(sp,{get children(){return _(ZP,{})}})}})]}})},get children(){return[_(ia,{get when(){return i().length>0},get children(){return _(Kd,{h:"100vh",get msg(){return e("home.fetching_settings_failed")+i().map(u=>e("home."+u)).join(", ")}})}}),_(ia,{get when(){return s()},get children(){return _(Ed,{})}})]}})]},rM=()=>(Q6(),_(F3,{config:QP,get children(){return _(bE,{fallback:e=>(console.error("error",e),_(Kd,{msg:"System error: ".concat(e),h:"100vh"})),get children(){return _(gS,{duration:3e3,get children(){return _(yE,{get fallback(){return _(Ed,{})},get children(){return _(nM,{})}})}})}})}}));NE(()=>_(Ey,{get children(){return _(rM,{})}}),document.getElementById("root"));export{qT as $,Sw as A,Ne as B,Kt as C,_ as D,C5 as E,gm as F,um as G,I5 as H,Dm as I,T5 as J,W1 as K,_5 as L,w5 as M,wt as N,ze as O,yB as P,K as Q,Zi as R,Re as S,TC as T,f0 as U,WT as V,VT as W,Vf as X,oM as Y,xb as Z,xh as _,aM as __vite_legacy_guard,EB as a,AB as a$,oo as a0,jT as a1,xu as a2,bA as a3,yE as a4,ru as a5,ia as a6,Kd as a7,jn as a8,SA as a9,F5 as aA,OB as aB,$$ as aC,T$ as aD,oi as aE,jm as aF,Vm as aG,IB as aH,K0 as aI,X5 as aJ,H5 as aK,UB as aL,gi as aM,KP as aN,fB as aO,W5 as aP,Mi as aQ,no as aR,He as aS,u$ as aT,g$ as aU,CC as aV,yA as aW,vB as aX,wC as aY,ua as aZ,hA as a_,Hn as aa,nu as ab,LB as ac,vC as ad,tx as ae,La as af,aa as ag,FB as ah,md as ai,V0 as aj,Me as ak,HB as al,l$ as am,la as an,PB as ao,bb as ap,E5 as aq,Dp as ar,Rn as as,K6 as at,uS as au,Bt as av,B1 as aw,vA as ax,Mu as ay,Gm as az,hN as b,W$ as b$,lA as b0,i$ as b1,c$ as b2,$B as b3,YB as b4,s$ as b5,AP as b6,NB as b7,h$ as b8,E0 as b9,Rw as bA,ZB as bB,OA as bC,cM as bD,L5 as bE,xx as bF,Lw as bG,Au as bH,ld as bI,ku as bJ,ss as bK,_u as bL,Tu as bM,Su as bN,wu as bO,Cu as bP,cC as bQ,n5 as bR,oB as bS,ts as bT,o$ as bU,Ra as bV,EA as bW,id as bX,Nm as bY,P$ as bZ,K$ as b_,eB as ba,GM as bb,d5 as bc,ZM as bd,tB as be,XM as bf,wB as bg,rB as bh,YM as bi,JM as bj,xM as bk,mM as bl,nB as bm,QM as bn,NS as bo,BS as bp,Mt as bq,sB as br,PP as bs,Pu as bt,dm as bu,O5 as bv,k5 as bw,dM as bx,hM as by,fM as bz,Nd as c,b$ as c$,_$ as c0,H$ as c1,jB as c2,v$ as c3,F$ as c4,E$ as c5,z$ as c6,B$ as c7,S$ as c8,WB as c9,T1 as cA,Q$ as cB,VM as cC,q$ as cD,Gl as cE,Yw as cF,vs as cG,lB as cH,Xe as cI,WM as cJ,MB as cK,gM as cL,pM as cM,G$ as cN,vS as cO,ES as cP,yS as cQ,p$ as cR,BB as cS,HC as cT,I$ as cU,L$ as cV,C$ as cW,R$ as cX,N$ as cY,U$ as cZ,Y$ as c_,XB as ca,V$ as cb,M$ as cc,KB as cd,VB as ce,UM as cf,zM as cg,yy as ch,Gs as ci,dB as cj,Ln as ck,ft as cl,Ar as cm,d$ as cn,f$ as co,j$ as cp,zB as cq,Vx as cr,qB as cs,oh as ct,Cn as cu,sd as cv,MT as cw,jM as cx,dx as cy,hx as cz,mg as d,UC as d$,D$ as d0,k$ as d1,A$ as d2,w$ as d3,O$ as d4,GB as d5,_A as d6,B5 as d7,xT as d8,wT as d9,zp as dA,Nt as dB,It as dC,KM as dD,vM as dE,ws as dF,de as dG,Ap as dH,da as dI,Kc as dJ,Ct as dK,hB as dL,y$ as dM,SB as dN,kB as dO,CB as dP,RB as dQ,TB as dR,pA as dS,yb as dT,DB as dU,_B as dV,aA as dW,GP as dX,uy as dY,jw as dZ,cd as d_,AT as da,ET as db,_M as dc,iM as dd,rA as de,ZS as df,wm as dg,R5 as dh,v5 as di,ME as dj,wp as dk,xB as dl,pC as dm,EC as dn,yC as dp,bC as dq,mC as dr,xC as ds,_S as dt,G0 as du,uB as dv,cB as dw,sM as dx,Ks as dy,X$ as dz,gg as e,bM as e0,Al as e1,ra as e2,Tw as e3,yM as e4,Or as e5,qM as e6,BE as e7,aB as e8,iB as e9,OC as ea,ea as f,Q2 as g,mN as h,bB as i,Ns as j,cs as k,EM as l,Li as m,D0 as n,Ls as o,T2 as p,pd as q,zl as r,S2 as s,Wu as t,Zw as u,_O as v,ti as w,Ut as x,Qw as y,Na as z};
|