kennel 0.2.20 → 0.2.22
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/README.md +39 -8
- package/dist/cli/dispatch.js +7 -5
- package/dist/cli/usage.js +6 -2
- package/dist/core/command.js +10 -5
- package/dist/package/preview.js +138 -67
- package/dist/plugins/external.d.ts +1 -0
- package/dist/plugins/external.js +22 -2
- package/dist/site/hot-viewer.d.ts +3 -1
- package/dist/site/hot-viewer.js +43 -33
- package/dist/site/plugin.d.ts +2 -0
- package/dist/site/plugin.js +32 -0
- package/dist/site/terminal.d.ts +1 -0
- package/dist/site/terminal.js +77 -0
- package/dist/site/viewer.d.ts +6 -6
- package/dist/site/viewer.js +39 -32
- package/package.json +2 -2
- package/schemas/config.schema.json +9 -0
- package/web/assets/abnfDiagram-VRR7QNED-aRemVX7f.js +1 -0
- package/web/assets/arc-BpDsnNTf.js +1 -0
- package/web/assets/architectureDiagram-ZJ3FMSHR-DNXHQddP.js +36 -0
- package/web/assets/ask-tray-PMT6VVXN-HMPARq3A.js +23 -0
- package/web/assets/{blockDiagram-677ZJIJ3-B404lYhT.js → blockDiagram-677ZJIJ3-CF4H4upo.js} +2 -2
- package/web/assets/{c4Diagram-LMCZKHZV-m6CP9WKP.js → c4Diagram-LMCZKHZV-BPWUnjtx.js} +2 -2
- package/web/assets/channel-CEZ4sDYU.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-lofRULSz.js → chunk-2Q5K7J3B-DGsa7uv7.js} +1 -1
- package/web/assets/{chunk-32BRIVSS-BtdUGMBQ.js → chunk-32BRIVSS-BRfic3W2.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-BBjGl_Dr.js → chunk-5VM5RSS4-L2h7hliu.js} +1 -1
- package/web/assets/{chunk-EX3LRPZG-DM3Qu278.js → chunk-EX3LRPZG-BPgD_fgx.js} +3 -3
- package/web/assets/{chunk-JWPE2WC7-Bp1ws-G7.js → chunk-JWPE2WC7-CckCaqu_.js} +1 -1
- package/web/assets/{chunk-MOJQB5TN-C7smXTrN.js → chunk-MOJQB5TN-zyGgx-VW.js} +1 -1
- package/web/assets/{chunk-RYQCIY6F-DODJCmXB.js → chunk-RYQCIY6F-Drzpg5IG.js} +1 -1
- package/web/assets/{chunk-V7JOEXUC-C7fI1RPs.js → chunk-V7JOEXUC-Di4ESKz-.js} +1 -1
- package/web/assets/{chunk-VR4S4FIN-BkMRGbPv.js → chunk-VR4S4FIN-C5lQtDI1.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-DGKhiMOo.js → chunk-XXDRQBXY-Cell0ft2.js} +1 -1
- package/web/assets/classDiagram-OUVF2IWQ-CjxqMQn2.js +1 -0
- package/web/assets/classDiagram-v2-EOCWNBFH-CjxqMQn2.js +1 -0
- package/web/assets/cose-bilkent-JH36ORCC-CiKtOFxl.js +1 -0
- package/web/assets/{cynefin-VYW2F7L2-Co86WDlY.js → cynefin-VYW2F7L2-B75MWf5b.js} +1 -1
- package/web/assets/cynefinDiagram-TSTJHNR4-BmNVkSWW.js +62 -0
- package/web/assets/{dagre-VKFMJZFB-2FzdH1tO.js → dagre-VKFMJZFB-BcM1Wqu5.js} +2 -2
- package/web/assets/{diagram-FQU43EPY-D8oGdGs0.js → diagram-FQU43EPY-BiBWrxa8.js} +2 -2
- package/web/assets/diagram-G47NLZAW-Cfxukr7T.js +24 -0
- package/web/assets/diagram-NH7WQ7WH-C83VkBYW.js +24 -0
- package/web/assets/{diagram-OA4YK3LP-Dapxn_y5.js → diagram-OA4YK3LP-Oj0uj6CX.js} +5 -5
- package/web/assets/diagram-WEI45ONY-DhbL0nvt.js +41 -0
- package/web/assets/ebnfDiagram-CCIWWBDH-D4JYp1UC.js +1 -0
- package/web/assets/{entities-Ba9UFGWQ.js → entity-search-page-G6QEQNXT-UKzUU5id.js} +10 -10
- package/web/assets/{erDiagram-Q63AITRT-BeWglGbe.js → erDiagram-Q63AITRT-C-oyRt9s.js} +2 -2
- package/web/assets/{flowDiagram-23GEKE2U-DQSrCvnP.js → flowDiagram-23GEKE2U-0Tplj9FK.js} +1 -1
- package/web/assets/ganttDiagram-NO4QXBWP-wgh2e0B_.js +292 -0
- package/web/assets/gitGraphDiagram-IHSO6WYX-D6z9qDXa.js +106 -0
- package/web/assets/index-BGwTWQMJ.css +1 -0
- package/web/assets/index-D_Fcgs3V.js +451 -0
- package/web/assets/infoDiagram-FWYZ7A6U-D3o7el5X.js +2 -0
- package/web/assets/{ishikawaDiagram-FXEZZL3T-zdZcsCSy.js → ishikawaDiagram-FXEZZL3T-CM0QyWYH.js} +6 -6
- package/web/assets/{journeyDiagram-5HDEW3XC-Cyviy-mf.js → journeyDiagram-5HDEW3XC-fmIoh0h6.js} +2 -2
- package/web/assets/{kanban-definition-HUTT4EX6-BEOdHBFJ.js → kanban-definition-HUTT4EX6-aEtqsiWf.js} +6 -6
- package/web/assets/{linear-B0Elyctv.js → linear-aJ-2UZO5.js} +1 -1
- package/web/assets/linked-session-header-M7WY6IGF-CltMJZiX.js +3 -0
- package/web/assets/{markdown-BvBsne3X.js → markdown-BP-54rPU.js} +2 -2
- package/web/assets/{mermaid.core-BEwF5fZo.js → mermaid.core-CL9g6xVu.js} +6 -6
- package/web/assets/{mindmap-definition-LN4V7U3C-DW5Nc3Z2.js → mindmap-definition-LN4V7U3C-CtQo0XrW.js} +2 -2
- package/web/assets/pegDiagram-2B236MQR-ecu1L_3A.js +1 -0
- package/web/assets/{pieDiagram-ENE6RG2P-DxF16ujD.js → pieDiagram-ENE6RG2P-CdCKg3Cn.js} +2 -2
- package/web/assets/plugin-host-modules-Dz_BPJRS.js +74 -0
- package/web/assets/{project-search-dialog-Bm4cKotY.js → project-search-dialog-HJFGW4DG-CKtXc-UP.js} +5 -5
- package/web/assets/project-search-page-NKQEBGPF-CMzuYEeM.js +2 -0
- package/web/assets/{quadrantDiagram-ABIIQ3AL-D6lKmduJ.js → quadrantDiagram-ABIIQ3AL-Bt8r5TlW.js} +2 -2
- package/web/assets/railroadDiagram-RFXS5EU6-DrWDVEVi.js +1 -0
- package/web/assets/react-DELVxLrX.js +9 -0
- package/web/assets/{requirementDiagram-TGXJPOKE-DCWUvc_i.js → requirementDiagram-TGXJPOKE-Ewjwpo6V.js} +2 -2
- package/web/assets/{sankeyDiagram-HTMAVEWB-CQ4kDW3E.js → sankeyDiagram-HTMAVEWB-CJCMHuzX.js} +2 -2
- package/web/assets/selection-popup-532EHNCZ-py5aCy1E.js +7 -0
- package/web/assets/{sequenceDiagram-DBY2YBRQ-C-ygrC5m.js → sequenceDiagram-DBY2YBRQ-Chj-4L6Q.js} +2 -2
- package/web/assets/sizeCapture-X5ZJPWSS-BguWhDIF.js +1 -0
- package/web/assets/stateDiagram-2N3HPSRC-BWisWMpK.js +1 -0
- package/web/assets/stateDiagram-v2-6OUMAXLB-AiBXToz-.js +1 -0
- package/web/assets/swimlanes-5IMT3BWC-CxVQ97_C.js +2 -0
- package/web/assets/swimlanesDiagram-G3AALYLV-DliPmGmf.js +8 -0
- package/web/assets/tanstack-CRaSxWtK.js +1 -0
- package/web/assets/{timeline-definition-FHXFAJF6-D3kXwv5v.js → timeline-definition-FHXFAJF6-CCbI0InF.js} +2 -2
- package/web/assets/{vennDiagram-L72KCM5P-DZhfR6LC.js → vennDiagram-L72KCM5P-mA5yKpJj.js} +4 -4
- package/web/assets/{wardleyDiagram-EHGQE667-CzwAW4nO.js → wardleyDiagram-EHGQE667-1Epw2EsU.js} +2 -2
- package/web/assets/{xychartDiagram-FW5EYKEG-CebaePFD.js → xychartDiagram-FW5EYKEG-DM1CMD-p.js} +2 -2
- package/web/index.html +5 -4
- package/web/kennel-theme.css +4 -2
- package/dist/site/mail.d.ts +0 -1
- package/dist/site/mail.js +0 -10
- package/web/assets/abnfDiagram-VRR7QNED-1RdiIYIR.js +0 -1
- package/web/assets/app-CEQAoxzL.js +0 -2
- package/web/assets/app-options-CIiczgaQ.js +0 -25
- package/web/assets/app-view-header-CNImosi9.js +0 -1
- package/web/assets/arc-DCuRiob1.js +0 -1
- package/web/assets/architectureDiagram-ZJ3FMSHR-CAcGR7BC.js +0 -36
- package/web/assets/ask-tray-DpWLca3e.js +0 -14
- package/web/assets/channel-CGNx58wi.js +0 -1
- package/web/assets/check-DjJ4znpk.js +0 -1
- package/web/assets/chevron-down-CiyxliRS.js +0 -1
- package/web/assets/chevron-right-BaJja2sG.js +0 -1
- package/web/assets/chevron-up-Xv7ii00h.js +0 -1
- package/web/assets/classDiagram-OUVF2IWQ-CepcbkQI.js +0 -1
- package/web/assets/classDiagram-v2-EOCWNBFH-CepcbkQI.js +0 -1
- package/web/assets/client-Bs3Sdel1.js +0 -6
- package/web/assets/client-Bz9gxOoP.js +0 -43
- package/web/assets/command-B-4JoDzT.js +0 -38
- package/web/assets/copy-DKl_cZLH.js +0 -1
- package/web/assets/copy-context-Bj8Sfpo7.js +0 -1
- package/web/assets/cose-bilkent-JH36ORCC-rQPbqPgO.js +0 -1
- package/web/assets/cynefinDiagram-TSTJHNR4-C9V3Tu3i.js +0 -62
- package/web/assets/diagram-G47NLZAW-Bav2L_9E.js +0 -24
- package/web/assets/diagram-NH7WQ7WH-CxOSrenv.js +0 -24
- package/web/assets/diagram-WEI45ONY-CGAvJVWu.js +0 -41
- package/web/assets/document-C4ERzZZ-.js +0 -23
- package/web/assets/ebnfDiagram-CCIWWBDH-CmJpnBTF.js +0 -1
- package/web/assets/ellipsis-DIDqkP8k.js +0 -1
- package/web/assets/file-text-C3hyr-Ql.js +0 -1
- package/web/assets/file-viewer-CYCdL53W.js +0 -1
- package/web/assets/folder-activity-Cv1X2ezj.js +0 -1
- package/web/assets/folder-filter-bar-Bl30Jv6B.js +0 -4
- package/web/assets/folder-image-Cy-8Vgmd.js +0 -1
- package/web/assets/folder-landing-BiswmWY0.js +0 -55
- package/web/assets/folder-list-BPufqaem.js +0 -1
- package/web/assets/folder-mobile-bar-Dxsu-jUM.js +0 -1
- package/web/assets/folder-open-CqSoJtKT.js +0 -1
- package/web/assets/folder-plugin-view-DiZbM5qv.js +0 -2
- package/web/assets/ganttDiagram-NO4QXBWP-BHGXM83R.js +0 -292
- package/web/assets/gitGraphDiagram-IHSO6WYX-DHoetr2P.js +0 -106
- package/web/assets/hooks-wZOJYSkv.js +0 -1
- package/web/assets/index-4-yQR2Lz.js +0 -41
- package/web/assets/index-4JQ747xt.js +0 -1
- package/web/assets/index-B6ap1Jz7.js +0 -1
- package/web/assets/index-BSHr1oc9.js +0 -1
- package/web/assets/index-CHgBEfsO.js +0 -1
- package/web/assets/index-CKJsEQtp.js +0 -64
- package/web/assets/index-DbD-bwdm.js +0 -2
- package/web/assets/index-uo3lipQl.js +0 -1
- package/web/assets/index-wmrfz8OS.css +0 -1
- package/web/assets/infoDiagram-FWYZ7A6U-09XQL5OF.js +0 -2
- package/web/assets/input-fNFbKa15.js +0 -9
- package/web/assets/linked-session-header-D4SUBW0L.js +0 -3
- package/web/assets/metadata-Dy1R-He2.js +0 -58
- package/web/assets/pegDiagram-2B236MQR-Cj3gTzwg.js +0 -1
- package/web/assets/plugin-host-modules-C_FG5LYc.js +0 -10
- package/web/assets/plus-TM7voyHO.js +0 -1
- package/web/assets/popover-DvKy7gF6.js +0 -9
- package/web/assets/railroadDiagram-RFXS5EU6-CNMzdL0J.js +0 -1
- package/web/assets/react-Dh7j6h1K.js +0 -9
- package/web/assets/search-Cv1HqxUc.js +0 -2
- package/web/assets/search-Cx23EFPc.js +0 -1
- package/web/assets/search-DG1auulp.css +0 -1
- package/web/assets/selection-popup-DPC2dc_s.js +0 -7
- package/web/assets/sizeCapture-X5ZJPWSS-CWCSfdrg.js +0 -1
- package/web/assets/stateDiagram-2N3HPSRC-BUJ8nxcE.js +0 -1
- package/web/assets/stateDiagram-v2-6OUMAXLB-DgubHPLq.js +0 -1
- package/web/assets/swimlanes-5IMT3BWC-rw0Loza_.js +0 -2
- package/web/assets/swimlanesDiagram-G3AALYLV-CxNu_14L.js +0 -8
- package/web/assets/tanstack-CirxkzEx.js +0 -1
- package/web/assets/utils-CvINCDjn.js +0 -1
- package/web/assets/view-context-DyuiMZAo.js +0 -101
- package/web/assets/viewer-capabilities-BkBR084B.js +0 -1
- package/web/assets/x-GGS-h4Nm.js +0 -1
- /package/web/assets/{KaTeX_AMS-Regular-DMm9YOAa.woff → KaTeX_AMS-Regular-CYEKBG2K-DMm9YOAa.woff} +0 -0
- /package/web/assets/{KaTeX_AMS-Regular-DRggAlZN.ttf → KaTeX_AMS-Regular-JKX5W2C4-DRggAlZN.ttf} +0 -0
- /package/web/assets/{KaTeX_AMS-Regular-BQhdFMY1.woff2 → KaTeX_AMS-Regular-U6PRYMIZ-BQhdFMY1.woff2} +0 -0
- /package/web/assets/{KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 → KaTeX_Caligraphic-Bold-5QL5CMTE-Dq_IR9rO.woff2} +0 -0
- /package/web/assets/{KaTeX_Caligraphic-Bold-BEiXGLvX.woff → KaTeX_Caligraphic-Bold-WZ3QSGD3-BEiXGLvX.woff} +0 -0
- /package/web/assets/{KaTeX_Caligraphic-Bold-ATXxdsX0.ttf → KaTeX_Caligraphic-Bold-ZTS3R3HK-ATXxdsX0.ttf} +0 -0
- /package/web/assets/{KaTeX_Caligraphic-Regular-CTRA-rTL.woff → KaTeX_Caligraphic-Regular-3LKEU76G-CTRA-rTL.woff} +0 -0
- /package/web/assets/{KaTeX_Caligraphic-Regular-wX97UBjC.ttf → KaTeX_Caligraphic-Regular-A7XRTZ5Q-wX97UBjC.ttf} +0 -0
- /package/web/assets/{KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 → KaTeX_Caligraphic-Regular-KX5MEWCF-Di6jR-x-.woff2} +0 -0
- /package/web/assets/{KaTeX_Fraktur-Bold-CL6g_b3V.woff2 → KaTeX_Fraktur-Bold-2QVFK6NQ-CL6g_b3V.woff2} +0 -0
- /package/web/assets/{KaTeX_Fraktur-Bold-BsDP51OF.woff → KaTeX_Fraktur-Bold-T4SWXBMT-BsDP51OF.woff} +0 -0
- /package/web/assets/{KaTeX_Fraktur-Bold-BdnERNNW.ttf → KaTeX_Fraktur-Bold-WGHVTYOR-BdnERNNW.ttf} +0 -0
- /package/web/assets/{KaTeX_Fraktur-Regular-CTYiF6lA.woff2 → KaTeX_Fraktur-Regular-2PEIFJSJ-CTYiF6lA.woff2} +0 -0
- /package/web/assets/{KaTeX_Fraktur-Regular-CB_wures.ttf → KaTeX_Fraktur-Regular-5U4OPH2X-CB_wures.ttf} +0 -0
- /package/web/assets/{KaTeX_Fraktur-Regular-Dxdc4cR9.woff → KaTeX_Fraktur-Regular-PQMHCIK6-Dxdc4cR9.woff} +0 -0
- /package/web/assets/{KaTeX_Main-Bold-Jm3AIy58.woff → KaTeX_Main-Bold-2GA4IZIN-Jm3AIy58.woff} +0 -0
- /package/web/assets/{KaTeX_Main-Bold-waoOVXN0.ttf → KaTeX_Main-Bold-W5FBVCZM-waoOVXN0.ttf} +0 -0
- /package/web/assets/{KaTeX_Main-Bold-Cx986IdX.woff2 → KaTeX_Main-Bold-YP5VVQRP-Cx986IdX.woff2} +0 -0
- /package/web/assets/{KaTeX_Main-BoldItalic-SpSLRI95.woff → KaTeX_Main-BoldItalic-4P4C7HJH-SpSLRI95.woff} +0 -0
- /package/web/assets/{KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 → KaTeX_Main-BoldItalic-N4V3DX7S-DxDJ3AOS.woff2} +0 -0
- /package/web/assets/{KaTeX_Main-BoldItalic-DzxPMmG6.ttf → KaTeX_Main-BoldItalic-ODMLBJJQ-DzxPMmG6.ttf} +0 -0
- /package/web/assets/{KaTeX_Main-Italic-3WenGoN9.ttf → KaTeX_Main-Italic-I43T2HSR-3WenGoN9.ttf} +0 -0
- /package/web/assets/{KaTeX_Main-Italic-NWA7e6Wa.woff2 → KaTeX_Main-Italic-RELBIK7M-NWA7e6Wa.woff2} +0 -0
- /package/web/assets/{KaTeX_Main-Italic-BMLOBm91.woff → KaTeX_Main-Italic-SASNQFN2-BMLOBm91.woff} +0 -0
- /package/web/assets/{KaTeX_Main-Regular-B22Nviop.woff2 → KaTeX_Main-Regular-ARRPAO67-B22Nviop.woff2} +0 -0
- /package/web/assets/{KaTeX_Main-Regular-Dr94JaBh.woff → KaTeX_Main-Regular-P5I74A2A-Dr94JaBh.woff} +0 -0
- /package/web/assets/{KaTeX_Main-Regular-ypZvNtVU.ttf → KaTeX_Main-Regular-W74P5G27-ypZvNtVU.ttf} +0 -0
- /package/web/assets/{KaTeX_Math-BoldItalic-iY-2wyZ7.woff → KaTeX_Math-BoldItalic-6EBV3DK5-iY-2wyZ7.woff} +0 -0
- /package/web/assets/{KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 → KaTeX_Math-BoldItalic-K4WTGH3J-CZnvNsCZ.woff2} +0 -0
- /package/web/assets/{KaTeX_Math-BoldItalic-B3XSjfu4.ttf → KaTeX_Math-BoldItalic-VB447A4D-B3XSjfu4.ttf} +0 -0
- /package/web/assets/{KaTeX_Math-Italic-t53AETM-.woff2 → KaTeX_Math-Italic-6KGCHLFN-t53AETM-.woff2} +0 -0
- /package/web/assets/{KaTeX_Math-Italic-DA0__PXp.woff → KaTeX_Math-Italic-KKK3USB2-DA0__PXp.woff} +0 -0
- /package/web/assets/{KaTeX_Math-Italic-flOr_0UB.ttf → KaTeX_Math-Italic-SON4MRCA-flOr_0UB.ttf} +0 -0
- /package/web/assets/{KaTeX_SansSerif-Bold-D1sUS0GD.woff2 → KaTeX_SansSerif-Bold-RRNVJFFW-D1sUS0GD.woff2} +0 -0
- /package/web/assets/{KaTeX_SansSerif-Bold-CFMepnvq.ttf → KaTeX_SansSerif-Bold-STQ6RXC7-CFMepnvq.ttf} +0 -0
- /package/web/assets/{KaTeX_SansSerif-Bold-DbIhKOiC.woff → KaTeX_SansSerif-Bold-X5M5EMOD-DbIhKOiC.woff} +0 -0
- /package/web/assets/{KaTeX_SansSerif-Italic-C3H0VqGB.woff2 → KaTeX_SansSerif-Italic-HMPFTM52-C3H0VqGB.woff2} +0 -0
- /package/web/assets/{KaTeX_SansSerif-Italic-DN2j7dab.woff → KaTeX_SansSerif-Italic-PSN4QKYX-DN2j7dab.woff} +0 -0
- /package/web/assets/{KaTeX_SansSerif-Italic-YYjJ1zSn.ttf → KaTeX_SansSerif-Italic-WTBAZBGY-YYjJ1zSn.ttf} +0 -0
- /package/web/assets/{KaTeX_SansSerif-Regular-BNo7hRIc.ttf → KaTeX_SansSerif-Regular-2TL3USAE-BNo7hRIc.ttf} +0 -0
- /package/web/assets/{KaTeX_SansSerif-Regular-CS6fqUqJ.woff → KaTeX_SansSerif-Regular-OQCII6EP-CS6fqUqJ.woff} +0 -0
- /package/web/assets/{KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 → KaTeX_SansSerif-Regular-XIQ62X4E-DDBCnlJ7.woff2} +0 -0
- /package/web/assets/{KaTeX_Script-Regular-C5JkGWo-.ttf → KaTeX_Script-Regular-72OLXYNA-C5JkGWo-.ttf} +0 -0
- /package/web/assets/{KaTeX_Script-Regular-D5yQViql.woff → KaTeX_Script-Regular-A5IFOEBS-D5yQViql.woff} +0 -0
- /package/web/assets/{KaTeX_Script-Regular-D3wIWfF6.woff2 → KaTeX_Script-Regular-APUWIHLP-D3wIWfF6.woff2} +0 -0
- /package/web/assets/{KaTeX_Size1-Regular-C195tn64.woff → KaTeX_Size1-Regular-4HRHTS65-C195tn64.woff} +0 -0
- /package/web/assets/{KaTeX_Size1-Regular-mCD8mA8B.woff2 → KaTeX_Size1-Regular-5LRUTBFT-mCD8mA8B.woff2} +0 -0
- /package/web/assets/{KaTeX_Size1-Regular-Dbsnue_I.ttf → KaTeX_Size1-Regular-7K6AASVL-Dbsnue_I.ttf} +0 -0
- /package/web/assets/{KaTeX_Size2-Regular-B7gKUWhC.ttf → KaTeX_Size2-Regular-222HN3GT-B7gKUWhC.ttf} +0 -0
- /package/web/assets/{KaTeX_Size2-Regular-oD1tc_U0.woff → KaTeX_Size2-Regular-K5ZHAIS6-oD1tc_U0.woff} +0 -0
- /package/web/assets/{KaTeX_Size2-Regular-Dy4dx90m.woff2 → KaTeX_Size2-Regular-LELKET5D-Dy4dx90m.woff2} +0 -0
- /package/web/assets/{KaTeX_Size3-Regular-CTq5MqoE.woff → KaTeX_Size3-Regular-TLFPAHDE-CTq5MqoE.woff} +0 -0
- /package/web/assets/{KaTeX_Size3-Regular-DgpXs0kz.ttf → KaTeX_Size3-Regular-UFCO6WCA-DgpXs0kz.ttf} +0 -0
- /package/web/assets/{KaTeX_Size4-Regular-DWFBv043.ttf → KaTeX_Size4-Regular-7PGNVPQK-DWFBv043.ttf} +0 -0
- /package/web/assets/{KaTeX_Size4-Regular-Dl5lxZxV.woff2 → KaTeX_Size4-Regular-CDMV7U5C-Dl5lxZxV.woff2} +0 -0
- /package/web/assets/{KaTeX_Size4-Regular-BF-4gkZK.woff → KaTeX_Size4-Regular-PKMWZHNC-BF-4gkZK.woff} +0 -0
- /package/web/assets/{KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf → KaTeX_Typewriter-Regular-3F5K6SQ6-D3Ib7_Hf.ttf} +0 -0
- /package/web/assets/{KaTeX_Typewriter-Regular-C0xS9mPB.woff → KaTeX_Typewriter-Regular-MJMFSK64-C0xS9mPB.woff} +0 -0
- /package/web/assets/{KaTeX_Typewriter-Regular-CO6r4hn1.woff2 → KaTeX_Typewriter-Regular-VBYJ4NRC-CO6r4hn1.woff2} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as R,j as O,R as ne,a as mr,b as yr}from"./react-Dh7j6h1K.js";var ut=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vr=class extends ut{#e;#t;#s;constructor(){super(),this.#s=t=>{if(typeof window<"u"&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#t||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#s=t,this.#t?.(),this.#t=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},re=new vr,br={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},Sr=class{#e=br;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,e){return this.#e.setTimeout(t,e)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,e){return this.#e.setInterval(t,e)}clearInterval(t){this.#e.clearInterval(t)}},V=new Sr;function wr(t){setTimeout(t,0)}var Vs=typeof window>"u"||"Deno"in globalThis;function F(){}function Pr(t,e){return typeof t=="function"?t(e):t}function _e(t){return typeof t=="number"&&t>=0&&t!==1/0}function Gs(t,e){return Math.max(t+(e||0)-Date.now(),0)}function J(t,e){return typeof t=="function"?t(e):t}function j(t,e){return typeof t=="function"?t(e):t}function xe(t,e){const{type:s="all",exact:n,fetchStatus:r,predicate:i,queryKey:a,stale:o}=t;if(a){if(n){if(e.queryHash!==Ke(a,e.options))return!1}else if(!ot(e.queryKey,a))return!1}if(s!=="all"){const c=e.isActive();if(s==="active"&&!c||s==="inactive"&&c)return!1}return!(typeof o=="boolean"&&e.isStale()!==o||r&&r!==e.state.fetchStatus||i&&!i(e))}function Ce(t,e){const{exact:s,status:n,predicate:r,mutationKey:i}=t;if(i){if(!e.options.mutationKey)return!1;if(s){if(tt(e.options.mutationKey)!==tt(i))return!1}else if(!ot(e.options.mutationKey,i))return!1}return!(n&&e.state.status!==n||r&&!r(e))}function Ke(t,e){return(e?.queryKeyHashFn||tt)(t)}function tt(t){return JSON.stringify(t,(e,s)=>Oe(s)?Object.keys(s).sort().reduce((n,r)=>(n[r]=s[r],n),{}):s)}function ot(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(Array.isArray(t)&&Array.isArray(e)){for(let n=0;n<e.length;n++)if(!ot(t[n],e[n]))return!1;return!0}const s=Object.keys(e);for(const n of s)if(!ot(t[n],e[n]))return!1;return!0}return!1}var Rr=Object.prototype.hasOwnProperty;function At(t,e,s=0){if(t===e)return t;if(s>500)return e;const n=fs(t)&&fs(e);if(!n&&!(Oe(t)&&Oe(e)))return e;const i=(n?t:Object.keys(t)).length,a=n?e:Object.keys(e),o=a.length,c=n?new Array(o):{};let u=0;for(let l=0;l<o;l++){const h=n?l:a[l],f=t[h],p=e[h];if(f===p){c[h]=f,(n?l<i:Rr.call(t,h))&&u++;continue}if(f===null||p===null||typeof f!="object"||typeof p!="object"){c[h]=p;continue}const g=At(f,p,s+1);c[h]=g,g===f&&u++}return i===o&&u===i?t:c}function Lt(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function fs(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Oe(t){if(!ds(t))return!1;const e=t.constructor;if(e===void 0)return!0;const s=e.prototype;return!(!ds(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function ds(t){return Object.prototype.toString.call(t)==="[object Object]"}function _r(t){return new Promise(e=>{V.setTimeout(e,t)})}function Ee(t,e,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,e):s.structuralSharing!==!1?At(t,e):e}function xr(t){return t}function Js(t,e,s=0){const n=[...t,e];return s&&n.length>s?n.slice(1):n}function Cr(t,e,s=0){const n=[e,...t];return s&&n.length>s?n.slice(0,-1):n}var ie=Symbol();function Ys(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===ie?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function oe(t,e){return typeof t=="function"?t(...e):!!t}function Xs(t,e,s){let n=!1,r;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(r??=e(),n||(n=!0,r.aborted?s():r.addEventListener("abort",s,{once:!0})),r)}),t}var St=(()=>{let t=()=>Vs;return{isServer(){return t()},setIsServer(e){t=e}}})();function Le(){let t,e;const s=new Promise((r,i)=>{t=r,e=i});s.status="pending",s.catch(()=>{});function n(r){Object.assign(s,r),delete s.resolve,delete s.reject}return s.resolve=r=>{n({status:"fulfilled",value:r}),t(r)},s.reject=r=>{n({status:"rejected",reason:r}),e(r)},s}function Or(t){let e;if(t.then(s=>(e=s,s),F)?.catch(F),e!==void 0)return{data:e}}function Zs(t){return t}function Er(t){return{mutationKey:t.options.mutationKey,state:t.state,...t.options.scope&&{scope:t.options.scope},...t.meta&&{meta:t.meta}}}function Lr(t,e,s){const n=()=>{const r=t.promise?.then(e).catch(i=>s(i)?Promise.reject(new Error("redacted")):Promise.reject(i));return r?.catch(F),r};return{dehydratedAt:Date.now(),state:{...t.state,...t.state.data!==void 0&&{data:e(t.state.data)}},queryKey:t.queryKey,queryHash:t.queryHash,...t.state.status==="pending"&&{promise:n()},...t.meta&&{meta:t.meta},...t.queryType&&{queryType:t.queryType}}}function tn(t){return t.state.isPaused}function en(t){return t.state.status==="success"}function Ir(t){return!0}function kr(t,e={}){const s=e.shouldDehydrateMutation??t.getDefaultOptions().dehydrate?.shouldDehydrateMutation??tn,n=t.getMutationCache().getAll().flatMap(c=>s(c)?[Er(c)]:[]),r=e.shouldDehydrateQuery??t.getDefaultOptions().dehydrate?.shouldDehydrateQuery??en,i=e.shouldRedactErrors??t.getDefaultOptions().dehydrate?.shouldRedactErrors??Ir,a=e.serializeData??t.getDefaultOptions().dehydrate?.serializeData??Zs,o=t.getQueryCache().getAll().flatMap(c=>r(c)?[Lr(c,a,i)]:[]);return{mutations:n,queries:o}}function Ie(t,e,s){if(typeof e!="object"||e===null)return;const n=t.getMutationCache(),r=t.getQueryCache(),i=s?.defaultOptions?.deserializeData??t.getDefaultOptions().hydrate?.deserializeData??Zs,a=e.mutations||[],o=e.queries||[];a.forEach(({state:c,...u})=>{n.build(t,{...t.getDefaultOptions().hydrate?.mutations,...s?.defaultOptions?.mutations,...u},c)}),o.forEach(({queryKey:c,state:u,queryHash:l,meta:h,promise:f,dehydratedAt:p,queryType:g})=>{const d=f?Or(f):void 0,m=u.data===void 0?d?.data:u.data,y=m===void 0?m:i(m);let v=r.get(l);const _=v?.state.status==="pending",w=v?.state.fetchStatus==="fetching";if(v){const C=d&&p!==void 0&&p>v.state.dataUpdatedAt;if(u.dataUpdatedAt>v.state.dataUpdatedAt||C){const{fetchStatus:S,...b}=u;v.setState({...b,data:y,...u.status==="pending"&&y!==void 0&&{status:"success",dataUpdatedAt:p??Date.now(),...!w&&{fetchStatus:"idle"}}})}}else v=r.build(t,{...t.getDefaultOptions().hydrate?.queries,...s?.defaultOptions?.queries,queryKey:c,queryHash:l,meta:h,_type:g},{...u,data:y,fetchStatus:"idle",status:u.status==="pending"&&y!==void 0?"success":u.status,...u.status==="pending"&&y!==void 0&&{dataUpdatedAt:p??Date.now()}});f&&!d&&!_&&!w&&(p===void 0||p>v.state.dataUpdatedAt)&&v.fetch(void 0,{initialPromise:Promise.resolve(f).then(i)}).catch(F)})}var sn=wr;function Mr(){let t=[],e=0,s=o=>{o()},n=o=>{o()},r=sn;const i=o=>{e?t.push(o):r(()=>{s(o)})},a=()=>{const o=t;t=[],o.length&&r(()=>{n(()=>{o.forEach(c=>{s(c)})})})};return{batch:o=>{let c;e++;try{c=o()}finally{e--,e||a()}return c},batchCalls:o=>(...c)=>{i(()=>{o(...c)})},schedule:i,setNotifyFunction:o=>{s=o},setBatchNotifyFunction:o=>{n=o},setScheduler:o=>{r=o}}}var M=Mr(),Tr=class extends ut{#e=!0;#t;#s;constructor(){super(),this.#s=t=>{if(typeof window<"u"&&window.addEventListener){const e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#s=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#e}},It=new Tr;function Fr(t){return Math.min(1e3*2**t,3e4)}function nn(t){return(t??"online")==="online"?It.isOnline():!0}var kt=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Dr(t){return t instanceof kt}function rn(t){let e=!1,s=0,n;const r=Le(),i=()=>r.status!=="pending",a=d=>{if(!i()){const m=new kt(d);f(m),t.onCancel?.(m)}},o=()=>{e=!0},c=()=>{e=!1},u=()=>re.isFocused()&&(t.networkMode==="always"||It.isOnline())&&t.canRun(),l=()=>nn(t.networkMode)&&t.canRun(),h=d=>{i()||(n?.(),r.resolve(d))},f=d=>{i()||(n?.(),r.reject(d))},p=()=>new Promise(d=>{n=m=>{(i()||u())&&d(m)},t.onPause?.()}).then(()=>{n=void 0,i()||t.onContinue?.()}),g=()=>{if(i())return;let d;const m=s===0?t.initialPromise:void 0;try{d=m??t.fn()}catch(y){d=Promise.reject(y)}Promise.resolve(d).then(h).catch(y=>{if(i())return;const v=t.retry??(St.isServer()?0:3),_=t.retryDelay??Fr,w=typeof _=="function"?_(s,y):_,C=v===!0||typeof v=="number"&&s<v||typeof v=="function"&&v(s,y);if(e||!C){f(y);return}s++,t.onFail?.(s,y),_r(w).then(()=>u()?void 0:p()).then(()=>{e?f(y):g()})})};return{promise:r,status:()=>r.status,cancel:a,continue:()=>(n?.(),r),cancelRetry:o,continueRetry:c,canStart:l,start:()=>(l()?g():p().then(g),r)}}var on=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),_e(this.gcTime)&&(this.#e=V.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(St.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(V.clearTimeout(this.#e),this.#e=void 0)}};function Ar(t){return{onFetch:(e,s)=>{const n=e.options,r=e.fetchOptions?.meta?.fetchMore?.direction,i=e.state.data?.pages||[],a=e.state.data?.pageParams||[];let o={pages:[],pageParams:[]},c=0;const u=async()=>{let l=!1;const h=g=>{Xs(g,()=>e.signal,()=>l=!0)},f=Ys(e.options,e.fetchOptions),p=async(g,d,m)=>{if(l)return Promise.reject(e.signal.reason);if(d==null&&g.pages.length)return Promise.resolve(g);const v=(()=>{const S={client:e.client,queryKey:e.queryKey,pageParam:d,direction:m?"backward":"forward",meta:e.options.meta};return h(S),S})(),_=await f(v),{maxPages:w}=e.options,C=m?Cr:Js;return{pages:C(g.pages,_,w),pageParams:C(g.pageParams,d,w)}};if(r&&i.length){const g=r==="backward",d=g?an:ke,m={pages:i,pageParams:a},y=d(n,m);o=await p(m,y,g)}else{const g=t??i.length;do{const d=c===0?a[0]??n.initialPageParam:ke(n,o);if(c>0&&d==null)break;o=await p(o,d),c++}while(c<g)}return o};e.options.persister?e.fetchFn=()=>e.options.persister?.(u,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s):e.fetchFn=u}}}function ke(t,{pages:e,pageParams:s}){const n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,s[n],s):void 0}function an(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}function jr(t,e){return e?ke(t,e)!=null:!1}function Qr(t,e){return!e||!t.getPreviousPageParam?!1:an(t,e)!=null}var cn=class extends on{#e;#t;#s;#n;#r;#i;#a;#o;constructor(t){super(),this.#o=!1,this.#a=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#r=t.client,this.#n=this.#r.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=gs(this.options),this.state=t.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#i?.promise}setOptions(t){if(this.options={...this.#a,...t},t?._type&&(this.#e=t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const e=gs(this.options);e.data!==void 0&&(this.setState(ps(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const s=Ee(this.state.data,t,this.options);return this.#c({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t){this.#c({type:"setState",state:t})}cancel(t){const e=this.#i?.promise;return this.#i?.cancel(t),e?e.then(F).catch(F):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>j(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ie||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>J(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Gs(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#i&&(this.#o||this.#l()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#c({type:"invalidate"})}async fetch(t,e){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(u=>u.options.queryFn);c&&this.setOptions(c.options)}const s=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(this.#o=!0,s.signal)})},r=()=>{const c=Ys(this.options,e),l=(()=>{const h={client:this.#r,queryKey:this.queryKey,meta:this.meta};return n(h),h})();return this.#o=!1,this.options.persister?this.options.persister(c,l,this):c(l)},a=(()=>{const c={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:r};return n(c),c})();(this.#e==="infinite"?Ar(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#s=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:"fetch",meta:a.fetchOptions?.meta}),this.#i=rn({initialPromise:e?.initialPromise,fn:a.fetchFn,onCancel:c=>{c instanceof kt&&c.revert&&this.setState({...this.#s,fetchStatus:"idle"}),s.abort()},onFail:(c,u)=>{this.#c({type:"failed",failureCount:c,error:u})},onPause:()=>{this.#c({type:"pause"})},onContinue:()=>{this.#c({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{const c=await this.#i.start();if(c===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(c),this.#n.config.onSuccess?.(c,this),this.#n.config.onSettled?.(c,this.state.error,this),c}catch(c){if(c instanceof kt){if(c.silent)return this.#i.promise;if(c.revert){if(this.state.data===void 0)throw c;return this.state.data}}throw this.#c({type:"error",error:c}),this.#n.config.onError?.(c,this),this.#n.config.onSettled?.(this.state.data,c,this),c}finally{this.scheduleGc()}}#c(t){const e=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...un(s.data,this.options),fetchMeta:t.meta??null};case"success":const n={...s,...ps(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#s=t.manual?n:void 0,n;case"error":const r=t.error;return{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=e(this.state),M.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function un(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:nn(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function ps(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function gs(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,s=e!==void 0,n=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Pt=class extends ut{constructor(t,e){super(),this.options=e,this.#e=t,this.#o=null,this.#a=Le(),this.bindMethods(),this.setOptions(e)}#e;#t=void 0;#s=void 0;#n=void 0;#r;#i;#a;#o;#l;#c;#d;#h;#p;#u;#g=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),ms(this.#t,this.options)?this.#f():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Me(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Me(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#S(),this.#w(),this.#t.removeObserver(this)}setOptions(t){const e=this.options,s=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof j(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#P(),this.#t.setOptions(this.options),e._defaulted&&!Lt(this.options,e)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const n=this.hasListeners();n&&ys(this.#t,s,this.options,e)&&this.#f(),this.updateResult(),n&&(this.#t!==s||j(this.options.enabled,this.#t)!==j(e.enabled,this.#t)||J(this.options.staleTime,this.#t)!==J(e.staleTime,this.#t))&&this.#m();const r=this.#y();n&&(this.#t!==s||j(this.options.enabled,this.#t)!==j(e.enabled,this.#t)||r!==this.#u)&&this.#v(r)}getOptimisticResult(t){const e=this.#e.getQueryCache().build(this.#e,t),s=this.createResult(e,t);return Br(this,s)&&(this.#n=s,this.#i=this.options,this.#r=this.#t.state),s}getCurrentResult(){return this.#n}trackResult(t,e){return new Proxy(t,{get:(s,n)=>(this.trackProp(n),e?.(n),n==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,n))})}trackProp(t){this.#g.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#e.defaultQueryOptions(t),s=this.#e.getQueryCache().build(this.#e,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#f({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#f(t){this.#P();let e=this.#t.fetch(this.options,t);return t?.throwOnError||(e=e.catch(F)),e}#m(){this.#S();const t=J(this.options.staleTime,this.#t);if(St.isServer()||this.#n.isStale||!_e(t))return;const s=Gs(this.#n.dataUpdatedAt,t)+1;this.#h=V.setTimeout(()=>{this.#n.isStale||this.updateResult()},s)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(t){this.#w(),this.#u=t,!(St.isServer()||j(this.options.enabled,this.#t)===!1||!_e(this.#u)||this.#u===0)&&(this.#p=V.setInterval(()=>{(this.options.refetchIntervalInBackground||re.isFocused())&&this.#f()},this.#u))}#b(){this.#m(),this.#v(this.#y())}#S(){this.#h!==void 0&&(V.clearTimeout(this.#h),this.#h=void 0)}#w(){this.#p!==void 0&&(V.clearInterval(this.#p),this.#p=void 0)}createResult(t,e){const s=this.#t,n=this.options,r=this.#n,i=this.#r,a=this.#i,c=t!==s?t.state:this.#s,{state:u}=t;let l={...u},h=!1,f;if(e._optimisticResults){const P=this.hasListeners(),x=!P&&ms(t,e),L=P&&ys(t,s,e,n);(x||L)&&(l={...l,...un(u.data,t.options)}),e._optimisticResults==="isRestoring"&&(l.fetchStatus="idle")}let{error:p,errorUpdatedAt:g,status:d}=l;f=l.data;let m=!1;if(e.placeholderData!==void 0&&f===void 0&&d==="pending"){let P;r?.isPlaceholderData&&e.placeholderData===a?.placeholderData?(P=r.data,m=!0):P=typeof e.placeholderData=="function"?e.placeholderData(this.#d?.state.data,this.#d):e.placeholderData,P!==void 0&&(d="success",f=Ee(r?.data,P,e),h=!0)}if(e.select&&f!==void 0&&!m)if(r&&f===i?.data&&e.select===this.#l)f=this.#c;else try{this.#l=e.select,f=e.select(f),f=Ee(r?.data,f,e),this.#c=f,this.#o=null}catch(P){this.#o=P}this.#o&&(p=this.#o,f=this.#c,g=Date.now(),d="error");const y=l.fetchStatus==="fetching",v=d==="pending",_=d==="error",w=v&&y,C=f!==void 0,b={status:d,fetchStatus:l.fetchStatus,isPending:v,isSuccess:d==="success",isError:_,isInitialLoading:w,isLoading:w,data:f,dataUpdatedAt:l.dataUpdatedAt,error:p,errorUpdatedAt:g,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:l.dataUpdateCount>c.dataUpdateCount||l.errorUpdateCount>c.errorUpdateCount,isFetching:y,isRefetching:y&&!v,isLoadingError:_&&!C,isPaused:l.fetchStatus==="paused",isPlaceholderData:h,isRefetchError:_&&C,isStale:He(t,e),refetch:this.refetch,promise:this.#a,isEnabled:j(e.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const P=b.data!==void 0,x=b.status==="error"&&!P,L=k=>{x?k.reject(b.error):P&&k.resolve(b.data)},E=()=>{const k=this.#a=b.promise=Le();L(k)},I=this.#a;switch(I.status){case"pending":t.queryHash===s.queryHash&&L(I);break;case"fulfilled":(x||b.data!==I.value)&&E();break;case"rejected":(!x||b.error!==I.reason)&&E();break}}return b}updateResult(){const t=this.#n,e=this.createResult(this.#t,this.options);if(this.#r=this.#t.state,this.#i=this.options,this.#r.data!==void 0&&(this.#d=this.#t),Lt(e,t))return;this.#n=e;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,r=typeof n=="function"?n():n;if(r==="all"||!r&&!this.#g.size)return!0;const i=new Set(r??this.#g);return this.options.throwOnError&&i.add("error"),Object.keys(this.#n).some(a=>{const o=a;return this.#n[o]!==t[o]&&i.has(o)})};this.#R({listeners:s()})}#P(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const e=this.#t;this.#t=t,this.#s=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#R(t){M.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(this.#n)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function Ur(t,e){return j(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&j(e.retryOnMount,t)===!1)}function ms(t,e){return Ur(t,e)||t.state.data!==void 0&&Me(t,e,e.refetchOnMount)}function Me(t,e,s){if(j(e.enabled,t)!==!1&&J(e.staleTime,t)!=="static"){const n=typeof s=="function"?s(t):s;return n==="always"||n!==!1&&He(t,e)}return!1}function ys(t,e,s,n){return(t!==e||j(n.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&He(t,s)}function He(t,e){return j(e.enabled,t)!==!1&&t.isStaleByTime(J(e.staleTime,t))}function Br(t,e){return!Lt(t.getCurrentResult(),e)}var We=class extends Pt{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t){t._type="infinite",super.setOptions(t)}getOptimisticResult(t){return t._type="infinite",super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){const{state:s}=t,n=super.createResult(t,e),{isFetching:r,isRefetching:i,isError:a,isRefetchError:o}=n,c=s.fetchMeta?.fetchMore?.direction,u=a&&c==="forward",l=r&&c==="forward",h=a&&c==="backward",f=r&&c==="backward";return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:jr(e,s.data),hasPreviousPage:Qr(e,s.data),isFetchNextPageError:u,isFetchingNextPage:l,isFetchPreviousPageError:h,isFetchingPreviousPage:f,isRefetchError:o&&!u&&!h,isRefetching:i&&!l&&!f}}},ln=class extends on{#e;#t;#s;#n;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#s=t.mutationCache,this.#t=[],this.state=t.state||hn(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#s.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(t){const e=()=>{this.#r({type:"continue"})},s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#n=rn({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(i,a)=>{this.#r({type:"failed",failureCount:i,error:a})},onPause:()=>{this.#r({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#s.canRun(this)});const n=this.state.status==="pending",r=!this.#n.canStart();try{if(n)e();else{this.#r({type:"pending",variables:t,isPaused:r}),this.#s.config.onMutate&&await this.#s.config.onMutate(t,this,s);const a=await this.options.onMutate?.(t,s);a!==this.state.context&&this.#r({type:"pending",context:a,variables:t,isPaused:r})}const i=await this.#n.start();return await this.#s.config.onSuccess?.(i,t,this.state.context,this,s),await this.options.onSuccess?.(i,t,this.state.context,s),await this.#s.config.onSettled?.(i,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(i,null,t,this.state.context,s),this.#r({type:"success",data:i}),i}catch(i){try{await this.#s.config.onError?.(i,t,this.state.context,this,s)}catch(a){Promise.reject(a)}try{await this.options.onError?.(i,t,this.state.context,s)}catch(a){Promise.reject(a)}try{await this.#s.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,s)}catch(a){Promise.reject(a)}try{await this.options.onSettled?.(void 0,i,t,this.state.context,s)}catch(a){Promise.reject(a)}throw this.#r({type:"error",error:i}),i}finally{this.#s.runNext(this)}}#r(t){const e=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),M.batch(()=>{this.#t.forEach(s=>{s.onMutationUpdate(t)}),this.#s.notify({mutation:this,type:"updated",action:t})})}};function hn(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var fn=class extends ut{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#s=0}#e;#t;#s;build(t,e,s){const n=new ln({client:t,mutationCache:this,mutationId:++this.#s,options:t.defaultMutationOptions(e),state:s});return this.add(n),n}add(t){this.#e.add(t);const e=Bt(t);if(typeof e=="string"){const s=this.#t.get(e);s?s.push(t):this.#t.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const e=Bt(t);if(typeof e=="string"){const s=this.#t.get(e);if(s)if(s.length>1){const n=s.indexOf(t);n!==-1&&s.splice(n,1)}else s[0]===t&&this.#t.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=Bt(t);if(typeof e=="string"){const n=this.#t.get(e)?.find(r=>r.state.status==="pending");return!n||n===t}else return!0}runNext(t){const e=Bt(t);return typeof e=="string"?this.#t.get(e)?.find(n=>n!==t&&n.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){M.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const e={exact:!0,...t};return this.getAll().find(s=>Ce(e,s))}findAll(t={}){return this.getAll().filter(e=>Ce(t,e))}notify(t){M.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return M.batch(()=>Promise.all(t.map(e=>e.continue().catch(F))))}};function Bt(t){return t.options.scope?.id}var dn=class extends ut{#e;#t=void 0;#s;#n;constructor(t,e){super(),this.#e=t,this.setOptions(e),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const e=this.options;this.options=this.#e.defaultMutationOptions(t),Lt(this.options,e)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&tt(e.mutationKey)!==tt(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#i(t)}getCurrentResult(){return this.#t}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#r(),this.#i()}mutate(t,e){return this.#n=e,this.#s?.removeObserver(this),this.#s=this.#e.getMutationCache().build(this.#e,this.options),this.#s.addObserver(this),this.#s.execute(t)}#r(){const t=this.#s?.state??hn();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#i(t){M.batch(()=>{if(this.#n&&this.hasListeners()){const e=this.#t.variables,s=this.#t.context,n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#n.onSuccess?.(t.data,e,s,n)}catch(r){Promise.reject(r)}try{this.#n.onSettled?.(t.data,null,e,s,n)}catch(r){Promise.reject(r)}}else if(t?.type==="error"){try{this.#n.onError?.(t.error,e,s,n)}catch(r){Promise.reject(r)}try{this.#n.onSettled?.(void 0,t.error,e,s,n)}catch(r){Promise.reject(r)}}}this.listeners.forEach(e=>{e(this.#t)})})}};function vs(t,e){const s=new Set(e);return t.filter(n=>!s.has(n))}function Nr(t,e,s){const n=t.slice(0);return n[e]=s,n}var pn=class extends ut{#e;#t;#s;#n;#r;#i;#a;#o;#l;#c=[];constructor(t,e,s){super(),this.#e=t,this.#n=s,this.#s=[],this.#r=[],this.#t=[],this.setQueries(e)}onSubscribe(){this.listeners.size===1&&this.#r.forEach(t=>{t.subscribe(e=>{this.#g(t,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#r.forEach(t=>{t.destroy()})}setQueries(t,e){this.#s=t,this.#n=e,M.batch(()=>{const s=this.#r,n=this.#u(this.#s);n.forEach(l=>l.observer.setOptions(l.defaultedQueryOptions));const r=n.map(l=>l.observer),i=r.map(l=>l.getCurrentResult()),a=s.length!==r.length,o=r.some((l,h)=>l!==s[h]),c=a||o,u=c?!0:i.some((l,h)=>{const f=this.#t[h];return!f||!Lt(l,f)});!c&&!u||(c&&(this.#c=n,this.#r=r),this.#t=i,this.hasListeners()&&(c&&(vs(s,r).forEach(l=>{l.destroy()}),vs(r,s).forEach(l=>{l.subscribe(h=>{this.#g(l,h)})})),this.#f()))})}getCurrentResult(){return this.#t}getQueries(){return this.#r.map(t=>t.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(t,e){const s=this.#u(t),n=s.map(i=>i.observer.getOptimisticResult(i.defaultedQueryOptions)),r=s.map(i=>i.defaultedQueryOptions.queryHash);return[n,i=>this.#h(i??n,e,r),()=>this.#d(n,s)]}#d(t,e){return e.map((s,n)=>{const r=t[n];return s.defaultedQueryOptions.notifyOnChangeProps?r:s.observer.trackResult(r,i=>{e.forEach(a=>{a.observer.trackProp(i)})})})}#h(t,e,s){if(e){const n=this.#l,r=s!==void 0&&n!==void 0&&(n.length!==s.length||s.some((i,a)=>i!==n[a]));return(!this.#i||this.#t!==this.#o||r||e!==this.#a)&&(this.#a=e,this.#o=this.#t,s!==void 0&&(this.#l=s),this.#i=At(this.#i,e(t))),this.#i}return t}#p(){return this.#n?.combine!==void 0&&this.#r.some((t,e)=>t.options.suspense&&this.#t[e]?.data===void 0)}#u(t){const e=new Map;this.#r.forEach(n=>{const r=n.options.queryHash;if(!r)return;const i=e.get(r);i?i.push(n):e.set(r,[n])});const s=[];return t.forEach(n=>{const r=this.#e.defaultQueryOptions(n),a=e.get(r.queryHash)?.shift()??new Pt(this.#e,r);s.push({defaultedQueryOptions:r,observer:a})}),s}#g(t,e){const s=this.#r.indexOf(t);s!==-1&&(this.#t=Nr(this.#t,s,e),this.#f())}#f(){if(this.hasListeners()){const t=this.#d(this.#t,this.#c),e=this.#p(),s=this.#i,n=e?s:this.#h(t,this.#n?.combine);(e||s!==n)&&M.batch(()=>{this.listeners.forEach(r=>{r(this.#t)})})}}},gn=class extends ut{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,s){const n=e.queryKey,r=e.queryHash??Ke(n,e);let i=this.get(r);return i||(i=new cn({client:t,queryKey:n,queryHash:r,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(n)}),this.add(i)),i}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#e.get(t.queryHash);e&&(t.destroy(),e===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){M.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(s=>xe(e,s))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(s=>xe(t,s)):e}notify(t){M.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){M.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){M.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qr=class{#e;#t;#s;#n;#r;#i;#a;#o;constructor(t={}){this.#e=t.queryCache||new gn,this.#t=t.mutationCache||new fn,this.#s=t.defaultOptions||{},this.#n=new Map,this.#r=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#a=re.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#o=It.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#a?.(),this.#a=void 0,this.#o?.(),this.#o=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=this.#e.build(this,e),n=s.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(J(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:e,state:s})=>{const n=s.data;return[e,n]})}setQueryData(t,e,s){const n=this.defaultQueryOptions({queryKey:t}),i=this.#e.get(n.queryHash)?.state.data,a=Pr(e,i);if(a!==void 0)return this.#e.build(this,n).setData(a,{...s,manual:!0})}setQueriesData(t,e,s){return M.batch(()=>this.#e.findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,s)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state}removeQueries(t){const e=this.#e;M.batch(()=>{e.findAll(t).forEach(s=>{e.remove(s)})})}resetQueries(t,e){const s=this.#e;return M.batch(()=>(s.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const s={revert:!0,...e},n=M.batch(()=>this.#e.findAll(t).map(r=>r.cancel(s)));return Promise.all(n).then(F).catch(F)}invalidateQueries(t,e={}){return M.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const s={...e,cancelRefetch:e.cancelRefetch??!0},n=M.batch(()=>this.#e.findAll(t).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let i=r.fetch(void 0,s);return s.throwOnError||(i=i.catch(F)),r.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(n).then(F)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=this.#e.build(this,e);return s.isStaleByTime(J(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(F).catch(F)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(F).catch(F)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return It.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#s}setDefaultOptions(t){this.#s=t}setQueryDefaults(t,e){this.#n.set(tt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#n.values()],s={};return e.forEach(n=>{ot(t,n.queryKey)&&Object.assign(s,n.defaultOptions)}),s}setMutationDefaults(t,e){this.#r.set(tt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],s={};return e.forEach(n=>{ot(t,n.mutationKey)&&Object.assign(s,n.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#s.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=Ke(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===ie&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#s.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function Kr({streamFn:t,refetchMode:e="reset",reducer:s=(r,i)=>Js(r,i),initialValue:n=[]}){return async r=>{const i=r.client.getQueryCache().find({queryKey:r.queryKey,exact:!0}),a=!!i&&i.isFetched();a&&e==="reset"&&i.setState({...i.resetState,fetchStatus:"fetching"});let o=n,c=!1;const u=Xs({client:r.client,meta:r.meta,queryKey:r.queryKey,pageParam:r.pageParam,direction:r.direction},()=>r.signal,()=>c=!0),l=await t(u),h=a&&e==="replace";for await(const f of l){if(c)break;h?o=s(o,f):r.client.setQueryData(r.queryKey,p=>s(p===void 0?n:p,f))}return h&&!c&&r.client.setQueryData(r.queryKey,o),r.client.getQueryData(r.queryKey)??n}}var Hr=Symbol("dataTagSymbol"),Wr=Symbol("dataTagErrorSymbol"),zr=Symbol("unsetMarker"),ze=R.createContext(void 0),K=t=>{const e=R.useContext(ze);if(t)return t;if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},$r=({client:t,children:e})=>(R.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),O.jsx(ze.Provider,{value:t,children:e})),mn=R.createContext(!1),$e=()=>R.useContext(mn),Vr=mn.Provider;function yn(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var vn=R.createContext(yn()),Ve=()=>R.useContext(vn),Gr=({children:t})=>{const[e]=R.useState(()=>yn());return O.jsx(vn.Provider,{value:e,children:typeof t=="function"?t(e):t})},bn=(t,e,s)=>{const n=s?.state.error&&typeof t.throwOnError=="function"?oe(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||n)&&(e.isReset()||(t.retryOnMount=!1))},Sn=t=>{R.useEffect(()=>{t.clearReset()},[t])},wn=({result:t,errorResetBoundary:e,throwOnError:s,query:n,suspense:r})=>t.isError&&!e.isReset()&&!t.isFetching&&n&&(r&&t.data===void 0||oe(s,[t.error,n])),Ge=(t,e)=>e.state.data===void 0,Pn=t=>{if(t.suspense){const s=r=>r==="static"?r:Math.max(r??1e3,1e3),n=t.staleTime;t.staleTime=typeof n=="function"?(...r)=>s(n(...r)):s(n),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},Jr=(t,e)=>t.isLoading&&t.isFetching&&!e,Te=(t,e)=>t?.suspense&&e.isPending,Fe=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function Rn({queries:t,...e},s){const n=K(s),r=$e(),i=Ve(),a=R.useMemo(()=>t.map(d=>{const m=n.defaultQueryOptions(d);return m._optimisticResults=r?"isRestoring":"optimistic",m}),[t,n,r]);a.forEach(d=>{Pn(d);const m=n.getQueryCache().get(d.queryHash);bn(d,i,m)}),Sn(i);const[o]=R.useState(()=>new pn(n,a,e)),[c,u,l]=o.getOptimisticResult(a,e.combine),h=!r&&e.subscribed!==!1;R.useSyncExternalStore(R.useCallback(d=>h?o.subscribe(M.batchCalls(d)):F,[o,h]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),R.useEffect(()=>{o.setQueries(a,e)},[a,e,o]);const p=c.some((d,m)=>Te(a[m],d))?c.flatMap((d,m)=>{const y=a[m];if(y&&Te(y,d)){const v=new Pt(n,y);return Fe(y,v,i)}return[]}):[];if(p.length>0)throw Promise.all(p);const g=c.find((d,m)=>{const y=a[m];return y&&wn({result:d,errorResetBoundary:i,throwOnError:y.throwOnError,query:n.getQueryCache().get(y.queryHash),suspense:y.suspense})});if(g?.error)throw g.error;return u(l())}function ae(t,e,s){const n=$e(),r=Ve(),i=K(s),a=i.defaultQueryOptions(t);i.getDefaultOptions().queries?._experimental_beforeQuery?.(a);const o=i.getQueryCache().get(a.queryHash),c=t.subscribed!==!1;a._optimisticResults=n?"isRestoring":c?"optimistic":void 0,Pn(a),bn(a,r,o),Sn(r);const u=!i.getQueryCache().get(a.queryHash),[l]=R.useState(()=>new e(i,a)),h=l.getOptimisticResult(a),f=!n&&c;if(R.useSyncExternalStore(R.useCallback(p=>{const g=f?l.subscribe(M.batchCalls(p)):F;return l.updateResult(),g},[l,f]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),R.useEffect(()=>{l.setOptions(a)},[a,l]),Te(a,h))throw Fe(a,l,r);if(wn({result:h,errorResetBoundary:r,throwOnError:a.throwOnError,query:o,suspense:a.suspense}))throw h.error;return i.getDefaultOptions().queries?._experimental_afterQuery?.(a,h),a.experimental_prefetchInRender&&!St.isServer()&&Jr(h,n)&&(u?Fe(a,l,r):o?.promise)?.catch(F).finally(()=>{l.updateResult()}),a.notifyOnChangeProps?h:l.trackResult(h)}function Yr(t,e){return ae(t,Pt,e)}function Xr(t,e){return ae({...t,enabled:!0,suspense:!0,throwOnError:Ge,placeholderData:void 0},Pt,e)}function Zr(t,e){return ae({...t,enabled:!0,suspense:!0,throwOnError:Ge},We,e)}function ti(t,e){return Rn({...t,queries:t.queries.map(s=>({...s,suspense:!0,throwOnError:Ge,enabled:!0,placeholderData:void 0}))},e)}function ei(t,e){const s=K(e);s.getQueryState(t.queryKey)||s.prefetchQuery(t)}function si(t,e){const s=K(e);s.getQueryState(t.queryKey)||s.prefetchInfiniteQuery(t)}function ni(t){return t}function ri(t){return t}var ii=({children:t,options:e={},state:s,queryClient:n})=>{const r=K(n),i=R.useRef(e);R.useEffect(()=>{i.current=e});const a=R.useMemo(()=>{if(s){if(typeof s!="object")return;const o=r.getQueryCache(),c=s.queries||[],u=[],l=[];for(const h of c){const f=o.get(h.queryHash);f?(h.state.dataUpdatedAt>f.state.dataUpdatedAt||h.promise&&f.state.status!=="pending"&&f.state.fetchStatus!=="fetching"&&h.dehydratedAt!==void 0&&h.dehydratedAt>f.state.dataUpdatedAt)&&l.push(h):u.push(h)}if(u.length>0&&Ie(r,{queries:u},i.current),l.length>0)return l}},[r,s]);return R.useEffect(()=>{a&&Ie(r,{queries:a},i.current)},[r,a]),t};function oi(t,e){const s=K(e),n=s.getQueryCache();return R.useSyncExternalStore(R.useCallback(r=>n.subscribe(M.batchCalls(r)),[n]),()=>s.isFetching(t),()=>s.isFetching(t))}function ai(t,e){const s=K(e);return _n({filters:{...t,status:"pending"}},s).length}function bs(t,e){return t.findAll(e.filters).map(s=>e.select?e.select(s):s.state)}function _n(t={},e){const s=K(e).getMutationCache(),n=R.useRef(t),r=R.useRef(null);return r.current===null&&(r.current=bs(s,t)),R.useEffect(()=>{n.current=t}),R.useSyncExternalStore(R.useCallback(i=>s.subscribe(()=>{const a=At(r.current,bs(s,n.current));r.current!==a&&(r.current=a,M.schedule(i))}),[s]),()=>r.current,()=>r.current)}function ci(t,e){const s=K(e),[n]=R.useState(()=>new dn(s,t));R.useEffect(()=>{n.setOptions(t)},[n,t]);const r=R.useSyncExternalStore(R.useCallback(a=>n.subscribe(M.batchCalls(a)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),i=R.useCallback((a,o)=>{n.mutate(a,o).catch(F)},[n]);if(r.error&&oe(n.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:i,mutateAsync:r.mutate}}function ui(t){return t}function li(t,e){return ae(t,We,e)}const ca=Object.freeze(Object.defineProperty({__proto__:null,CancelledError:kt,HydrationBoundary:ii,InfiniteQueryObserver:We,IsRestoringProvider:Vr,Mutation:ln,MutationCache:fn,MutationObserver:dn,QueriesObserver:pn,Query:cn,QueryCache:gn,QueryClient:qr,QueryClientContext:ze,QueryClientProvider:$r,QueryErrorResetBoundary:Gr,QueryObserver:Pt,dataTagErrorSymbol:Wr,dataTagSymbol:Hr,defaultScheduler:sn,defaultShouldDehydrateMutation:tn,defaultShouldDehydrateQuery:en,dehydrate:kr,environmentManager:St,experimental_streamedQuery:Kr,focusManager:re,hashKey:tt,hydrate:Ie,infiniteQueryOptions:ri,isCancelledError:Dr,isServer:Vs,keepPreviousData:xr,matchMutation:Ce,matchQuery:xe,mutationOptions:ui,noop:F,notifyManager:M,onlineManager:It,partialMatchKey:ot,queryOptions:ni,replaceEqualDeep:At,shouldThrowError:oe,skipToken:ie,timeoutManager:V,unsetMarker:zr,useInfiniteQuery:li,useIsFetching:oi,useIsMutating:ai,useIsRestoring:$e,useMutation:ci,useMutationState:_n,usePrefetchInfiniteQuery:si,usePrefetchQuery:ei,useQueries:Rn,useQuery:Yr,useQueryClient:K,useQueryErrorResetBoundary:Ve,useSuspenseInfiniteQuery:Zr,useSuspenseQueries:ti,useSuspenseQuery:Xr},Symbol.toStringTag,{value:"Module"})),hi=!1;var xn=R.useLayoutEffect;function fi(t,e,s){R.useEffect(()=>{if(!t.current||s||typeof IntersectionObserver!="function")return()=>e();const n=new IntersectionObserver(r=>{e(r.pop())},{rootMargin:"100px"});return n.observe(t.current),()=>{n.disconnect(),e()}},[e,s,t])}function di(t){const e=R.useRef(null);return R.useImperativeHandle(t,()=>e.current,[]),e}function Mt(t){return t[t.length-1]}function pi(t){return typeof t=="function"}function wt(t,e){return pi(t)?t(e):t}const Cn=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable;function On(t){for(const e in t)if(Cn.call(t,e))return!0;return!1}const mi=()=>Object.create(null),nt=(t,e)=>it(t,e,mi);function it(t,e,s=()=>({}),n=0){if(t===e)return t;if(n>500)return e;const r=e,i=Ps(t)&&Ps(r);if(!i&&!(Jt(t)&&Jt(r)))return r;const a=i?t:Ss(t);if(!a)return r;const o=i?r:Ss(r);if(!o)return r;const c=a.length,u=o.length,l=i?new Array(u):s();let h=0;for(let f=0;f<u;f++){const p=i?f:o[f],g=t[p],d=r[p];if(g===d){l[p]=g,(i?f<c:Cn.call(t,p))&&h++;continue}if(g===null||d===null||typeof g!="object"||typeof d!="object"){l[p]=d;continue}const m=it(g,d,s,n+1);l[p]=m,m===g&&h++}return c===u&&h===c?t:l}function Ss(t){const e=Object.keys(t);if(e.length!==Object.getOwnPropertyNames(t).length)return!1;const s=Object.getOwnPropertySymbols(t);if(s.length===0)return e;for(const n of s){if(!gi.call(t,n))return!1;e.push(n)}return e}function Jt(t){if(!ws(t))return!1;const e=t.constructor;if(typeof e>"u")return!0;const s=e.prototype;return!(!ws(s)||!s.hasOwnProperty("isPrototypeOf"))}function ws(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ps(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Y(t,e,s){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;for(let n=0,r=t.length;n<r;n++)if(!Y(t[n],e[n],s))return!1;return!0}if(Jt(t)&&Jt(e)){const n=s?.ignoreUndefined??!0;if(s?.partial){for(const a in e)if((!n||e[a]!==void 0)&&!Y(t[a],e[a],s))return!1;return!0}let r=0;if(!n)r=Object.keys(t).length;else for(const a in t)t[a]!==void 0&&r++;let i=0;for(const a in e)if((!n||e[a]!==void 0)&&(i++,i>r||!Y(t[a],e[a],s)))return!1;return r===i}return!1}const yi=/[\x00-\x1f\x7f"<>`{}]/g;function vi(t){return t.replace(yi,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function Rs(t){let e;try{e=decodeURI(t)}catch{e=t.replaceAll(/%[0-9A-F]{2}/gi,s=>{try{return decodeURI(s)}catch{return s}})}return vi(e)}const bi=["http:","https:","mailto:","tel:"];function Yt(t,e){if(!t)return!1;try{const s=new URL(t);return!e.has(s.protocol)}catch{return!1}}function Ct(t){if(!t)return{path:t,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(t)&&!t.startsWith("//"))return{path:t,handledProtocolRelativeURL:!1};const e=/%25|%5C/gi;let s=0,n="",r;for(;(r=e.exec(t))!==null;)n+=Rs(t.slice(s,r.index))+r[0],s=e.lastIndex;n=n+Rs(s?t.slice(s):t);let i=!1;return n.startsWith("//")&&(i=!0,n="/"+n.replace(/^\/+/,"")),{path:n,handledProtocolRelativeURL:i}}function Si(t){return/\s|[^\u0000-\u007F]/.test(t)?t.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):t}function wi(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0}function Je(){throw new Error("Invariant failed")}function Xt(t){const e=new Map;let s,n;const r=i=>{i.next&&(i.prev?(i.prev.next=i.next,i.next.prev=i.prev,i.next=void 0,n&&(n.next=i,i.prev=n)):(i.next.prev=void 0,s=i.next,i.next=void 0,n&&(i.prev=n,n.next=i)),n=i)};return{get(i){const a=e.get(i);if(a)return r(a),a.value},set(i,a){if(e.size>=t&&s){const c=s;e.delete(c.key),c.next&&(s=c.next,c.next.prev=void 0),c===n&&(n=void 0)}const o=e.get(i);if(o)o.value=a,r(o);else{const c={key:i,value:a,prev:n};n&&(n.next=c),n=c,s||(s=c),e.set(i,c)}},clear(){e.clear(),s=void 0,n=void 0}}}const G=4,En=5;function Pi(t){const e=t.indexOf("{");if(e===-1)return null;const s=t.indexOf("}",e);return s===-1||e+1>=t.length?null:[e,s]}function Ln(t,e,s=new Uint16Array(6)){const n=t.indexOf("/",e),r=n===-1?t.length:n,i=t.substring(e,r);if(!i||!i.includes("$"))return s[0]=0,s[1]=e,s[2]=e,s[3]=r,s[4]=r,s[5]=r,s;if(i==="$"){const o=t.length;return s[0]=2,s[1]=e,s[2]=e,s[3]=o,s[4]=o,s[5]=o,s}if(i.charCodeAt(0)===36)return s[0]=1,s[1]=e,s[2]=e+1,s[3]=r,s[4]=r,s[5]=r,s;const a=Pi(i);if(a){const[o,c]=a,u=i.charCodeAt(o+1);if(u===45){if(o+2<i.length&&i.charCodeAt(o+2)===36){const l=o+3,h=c;if(l<h)return s[0]=3,s[1]=e+o,s[2]=e+l,s[3]=e+h,s[4]=e+c+1,s[5]=r,s}}else if(u===36){const l=o+1,h=o+2;return h===c?(s[0]=2,s[1]=e+o,s[2]=e+l,s[3]=e+h,s[4]=e+c+1,s[5]=t.length,s):(s[0]=1,s[1]=e+o,s[2]=e+h,s[3]=e+c,s[4]=e+c+1,s[5]=r,s)}}return s[0]=0,s[1]=e,s[2]=e,s[3]=r,s[4]=r,s[5]=r,s}function ce(t,e,s,n,r,i,a,o){o?.(s);let c=n;{const u=s.fullPath??s.from,l=s.options,h=u.length,f=l?.caseSensitive??t,p=l?.params?.parse??l?.parseParams;for(;c<h;){const d=Ln(u,c,e);let m;const y=c,v=d[5];c=v+1,i++;const _=d[0];switch(_){case 0:{const w=u.substring(d[2],d[3]);let C=w,S;f?S=r.static??=new Map:(C=w.toLowerCase(),S=r.staticInsensitive??=new Map);const b=S.get(C);if(b)m=b;else{const P=mt(u);P.parent=r,P.depth=i,m=P,S.set(C,P)}break}case 1:case 3:case 2:{const w=u.substring(y,d[1]),C=u.substring(d[4],v),S=f&&!!(w||C),b=w?S?w:w.toLowerCase():void 0,P=C?S?C:C.toLowerCase():void 0,x=_===1?r.dynamic:_===3?r.optional:r.wildcard,L=_!==2&&!p&&x?.find(E=>!E.parse&&E.caseSensitive===S&&E.prefix===b&&E.suffix===P);if(L)m=L;else{const E=Ri(_,u,S,b,P);m=E,E.parent=r,E.depth=i;let I;_===1?I=r.dynamic??=[]:_===3?I=r.optional??=[]:I=r.wildcard??=[],I.push(E),I.length===2&&a?.push(I)}break}}r=m}if(p&&s.children&&!s.isRoot&&s.id&&s.id.charCodeAt(s.id.lastIndexOf("/")+1)===95){const d=mt(u);d.kind=En,d.parent=r,i++,d.depth=i,r.pathless??=[],r.pathless.push(d),r=d}const g=(s.path||!s.children)&&!s.isRoot;if(g&&u.endsWith("/")){const d=mt(u);d.kind=G,d.parent=r,i++,d.depth=i,r.index=d,r=d}r.parse=p??null,r.priority=l?.params?.priority??0,g&&!r.route&&(r.route=s,r.fullPath=u)}if(s.children)for(const u of s.children)ce(t,e,u,c,r,i,a,o)}function In(t,e){if(t.parse&&!e.parse)return-1;if(!t.parse&&e.parse)return 1;if(t.parse&&e.parse&&(t.priority||e.priority))return e.priority-t.priority;if(t.prefix&&e.prefix&&t.prefix!==e.prefix){if(t.prefix.startsWith(e.prefix))return-1;if(e.prefix.startsWith(t.prefix))return 1}if(t.suffix&&e.suffix&&t.suffix!==e.suffix){if(t.suffix.endsWith(e.suffix))return-1;if(e.suffix.endsWith(t.suffix))return 1}return t.prefix&&!e.prefix?-1:!t.prefix&&e.prefix?1:t.suffix&&!e.suffix?-1:!t.suffix&&e.suffix?1:t.caseSensitive&&!e.caseSensitive?-1:!t.caseSensitive&&e.caseSensitive?1:0}function mt(t){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0}}function Ri(t,e,s,n,r){return{kind:t,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0,caseSensitive:s,prefix:n,suffix:r}}function _i(t,e){const s=mt("/"),n=new Uint16Array(6),r=[];for(const i of t)ce(!1,n,i,1,s,0,r);for(const i of r)i.sort(In);e.masksTree=s,e.flatCache=Xt(1e3)}function xi(t,e){t||="/";const s=e.flatCache.get(t);if(s)return s;const n=Ye(t,e.masksTree);return e.flatCache.set(t,n),n}function Ci(t,e,s,n,r){t||="/",n||="/";const i=e?`case\0${t}`:t;let a=r.singleCache.get(i);return a||(a=mt("/"),ce(e,new Uint16Array(6),{from:t},1,a,0),r.singleCache.set(i,a)),Ye(n,a,s)}function Oi(t,e,s=!1){const n=s?t:`nofuzz\0${t}`,r=e.matchCache.get(n);if(r!==void 0)return r;t||="/";let i;try{i=Ye(t,e.segmentTree,s)}catch(a){if(a instanceof URIError)i=null;else throw a}return i&&(i.branch=Mn(i.route)),e.matchCache.set(n,i),i}function Ei(t){return t==="/"?t:t.replace(/\/{1,}$/,"")}function Li(t,e=!1,s){const n=mt(t.fullPath),r=new Uint16Array(6),i=[],a={},o={};let c=0;ce(e,r,t,1,n,0,i,u=>{if(s?.(u,c),u.id in a&&Je(),a[u.id]=u,c!==0&&u.path){const l=Ei(u.fullPath);(!o[l]||u.fullPath.endsWith("/"))&&(o[l]=u)}c++});for(const u of i)u.sort(In);return{processedTree:{segmentTree:n,singleCache:Xt(1e3),matchCache:Xt(1e3),flatCache:null,masksTree:null},routesById:a,routesByPath:o}}function Ye(t,e,s=!1){const n=t.split("/"),r=ki(t,n,e,s);if(!r)return null;const[i]=kn(t,n,r);return{route:r.node.route,rawParams:i}}function kn(t,e,s){const n=Ii(s.node);let r=null;const i=Object.create(null);let a=s.extract?.part??0,o=s.extract?.node??0,c=s.extract?.path??0,u=s.extract?.segment??0;for(;o<n.length;a++,o++,c++,u++){const l=n[o];if(l.kind===G)break;if(l.kind===En){u--,a--,c--;continue}const h=e[a],f=c;if(h&&(c+=h.length),l.kind===1){r??=s.node.fullPath.split("/");const p=r[u],g=l.prefix?.length??0;if(p.charCodeAt(g)===123){const d=l.suffix?.length??0,m=p.substring(g+2,p.length-d-1),y=h.substring(g,h.length-d);i[m]=decodeURIComponent(y)}else{const d=p.substring(1);i[d]=decodeURIComponent(h)}}else if(l.kind===3){if(s.skipped&1<<o){a--,c=f-1;continue}r??=s.node.fullPath.split("/");const p=r[u],g=l.prefix?.length??0,d=l.suffix?.length??0,m=p.substring(g+3,p.length-d-1),y=l.suffix||l.prefix?h.substring(g,h.length-d):h;y&&(i[m]=decodeURIComponent(y))}else if(l.kind===2){const p=l,g=t.substring(f+(p.prefix?.length??0),t.length-(p.suffix?.length??0)),d=decodeURIComponent(g);i["*"]=d,i._splat=d;break}}return s.rawParams&&Object.assign(i,s.rawParams),[i,{part:a,node:o,path:c,segment:u}]}function Mn(t){const e=[t];for(;t.parentRoute;)t=t.parentRoute,e.push(t);return e.reverse(),e}function Ii(t){const e=Array(t.depth+1);do e[t.depth]=t,t=t.parent;while(t);return e}function ki(t,e,s,n){if(t==="/"&&s.index)return{node:s.index,skipped:0};const r=!Mt(e),i=r&&t!=="/",a=e.length-(r?1:0),o=[{node:s,index:1,skipped:0,statics:0,dynamics:0,optionals:0}];let c=null,u=null;for(;o.length;){const l=o.pop(),{node:h,index:f,skipped:p,statics:g,dynamics:d,optionals:m}=l;let{extract:y,rawParams:v}=l;if(h.kind===2&&h.route&&!qt(u,l))continue;if(h.parse){if(!_s(t,e,l))continue;v=l.rawParams,y=l.extract}n&&h.route&&h.kind!==G&&qt(c,l)&&(c=l);const _=f===a;if(_&&(h.route&&(!i||h.kind===G||h.kind===2)&&qt(u,l)&&(u=l),!h.optional&&!h.wildcard&&!h.index&&!h.pathless))continue;const w=_?void 0:e[f];let C;if(_&&h.index){const S={node:h.index,index:f,skipped:p,statics:g,dynamics:d,optionals:m,extract:y,rawParams:v};let b=!0;if(h.index.parse&&(_s(t,e,S)||(b=!1)),b){if(!d&&!m&&!p&&Mi(g,a))return S;qt(u,S)&&(u=S)}}if(h.wildcard)for(let S=h.wildcard.length-1;S>=0;S--){const b=h.wildcard[S],{prefix:P,suffix:x}=b;if(!(P&&(_||!(b.caseSensitive?w:C??=w.toLowerCase()).startsWith(P)))){if(x){if(_)continue;const L=e.slice(f).join("/").slice(-x.length);if((b.caseSensitive?L:L.toLowerCase())!==x)continue}o.push({node:b,index:a,skipped:p,statics:g,dynamics:d,optionals:m,extract:y,rawParams:v})}}if(h.optional){const S=p|1<<h.depth+1;for(let b=h.optional.length-1;b>=0;b--){const P=h.optional[b];o.push({node:P,index:f,skipped:S,statics:g,dynamics:d,optionals:m,extract:y,rawParams:v})}if(!_)for(let b=h.optional.length-1;b>=0;b--){const P=h.optional[b],{prefix:x,suffix:L}=P;if(x||L){const E=P.caseSensitive?w:C??=w.toLowerCase();if(x&&!E.startsWith(x)||L&&!E.endsWith(L))continue}o.push({node:P,index:f+1,skipped:p,statics:g,dynamics:d,optionals:m+Nt(a,f),extract:y,rawParams:v})}}if(!_&&h.dynamic&&w)for(let S=h.dynamic.length-1;S>=0;S--){const b=h.dynamic[S],{prefix:P,suffix:x}=b;if(P||x){const L=b.caseSensitive?w:C??=w.toLowerCase();if(P&&!L.startsWith(P)||x&&!L.endsWith(x))continue}o.push({node:b,index:f+1,skipped:p,statics:g,dynamics:d+Nt(a,f),optionals:m,extract:y,rawParams:v})}if(!_&&h.staticInsensitive){const S=h.staticInsensitive.get(C??=w.toLowerCase());S&&o.push({node:S,index:f+1,skipped:p,statics:g+Nt(a,f),dynamics:d,optionals:m,extract:y,rawParams:v})}if(!_&&h.static){const S=h.static.get(w);S&&o.push({node:S,index:f+1,skipped:p,statics:g+Nt(a,f),dynamics:d,optionals:m,extract:y,rawParams:v})}if(h.pathless)for(let S=h.pathless.length-1;S>=0;S--){const b=h.pathless[S];o.push({node:b,index:f,skipped:p,statics:g,dynamics:d,optionals:m,extract:y,rawParams:v})}}if(u)return u;if(n&&c){let l=c.index;for(let f=0;f<c.index;f++)l+=e[f].length;const h=l===t.length?"/":t.slice(l);return c.rawParams??=Object.create(null),c.rawParams["**"]=decodeURIComponent(h),c}return null}function Nt(t,e){return 2**(t-e-1)}function Mi(t,e){return t===2**(e-1)-1}function _s(t,e,s){let n,r;try{[n,r]=kn(t,e,s)}catch{return null}if(s.rawParams=n,s.extract=r,!s.node.parse)return!0;try{if(s.node.parse(n)===!1)return null}catch{}return!0}function qt(t,e){return t?e.statics>t.statics||e.statics===t.statics&&(e.dynamics>t.dynamics||e.dynamics===t.dynamics&&(e.optionals>t.optionals||e.optionals===t.optionals&&((e.node.kind===G)>(t.node.kind===G)||e.node.kind===G==(t.node.kind===G)&&e.node.depth>t.node.depth))):!0}function Wt(t){return Xe(t.filter(e=>e!==void 0).join("/"))}function Xe(t){return t.replace(/\/{2,}/g,"/")}function Tn(t){return t==="/"?t:t.replace(/^\/{1,}/,"")}function W(t){const e=t.length;return e>1&&t[e-1]==="/"?t.replace(/\/{1,}$/,""):t}function Fn(t){return W(Tn(t))}function Zt(t,e){return t?.endsWith("/")&&t!=="/"&&t!==`${e}/`?t.slice(0,-1):t}function Ti(t,e,s){return Zt(t,s)===Zt(e,s)}function Fi({base:t,to:e,trailingSlash:s="never",cache:n}){const r=e===".",i=e.startsWith("/");let a;if(n){a=i?e:r?t:t+"\0"+e;const u=n.get(a);if(u)return u}let o;if(r)o=t.split("/");else if(i)o=e.split("/");else{for(o=t.split("/");o.length>1&&Mt(o)==="";)o.pop();const u=e.split("/");for(let l=0,h=u.length;l<h;l++){const f=u[l];f===""?l?l===h-1&&o.push(f):o=[f]:f===".."?o.length>1?o.pop():o=[""]:f==="."||o.push(f)}}o.length>1&&(Mt(o)===""?s==="never"&&o.pop():s==="always"&&o.push(""));const c=Xe(o.join("/"))||"/";return a&&n&&n.set(a,c),c}function Di(t){const e=new Map(t.map(r=>[encodeURIComponent(r),r])),s=Array.from(e.keys()).map(r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),n=new RegExp(s,"g");return r=>r.replace(n,i=>e.get(i)??i)}function ye(t,e,s){const n=e[t];return typeof n!="string"?n:t==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(n)?n:n.split("/").map(r=>Cs(r,s)).join("/"):Cs(n,s)}function xs({path:t,params:e,decoder:s,...n}){let r=!1;const i=Object.create(null);if(!t||t==="/")return{interpolatedPath:"/",usedParams:i,isMissingParams:r};if(!t.includes("$"))return{interpolatedPath:t,usedParams:i,isMissingParams:r};const a=t.length;let o=0,c,u="";for(;o<a;){const l=o;c=Ln(t,l,c);const h=c[5];if(o=h+1,l===h)continue;const f=c[0];if(f===0){u+="/"+t.substring(l,h);continue}if(f===2){const p=e._splat;i._splat=p,i["*"]=p;const g=t.substring(l,c[1]),d=t.substring(c[4],h);if(!p){r=!0,(g||d)&&(u+="/"+g+d);continue}const m=ye("_splat",e,s);u+="/"+g+m+d;continue}if(f===1){const p=t.substring(c[2],c[3]);!r&&!(p in e)&&(r=!0),i[p]=e[p];const g=t.substring(l,c[1]),d=t.substring(c[4],h),m=ye(p,e,s)??"undefined";u+="/"+g+m+d;continue}if(f===3){const p=t.substring(c[2],c[3]),g=e[p];if(g==null)continue;i[p]=g;const d=t.substring(l,c[1]),m=t.substring(c[4],h),y=ye(p,e,s)??"";u+="/"+d+y+m;continue}}return t.endsWith("/")&&(u+="/"),{usedParams:i,interpolatedPath:u||"/",isMissingParams:r}}function Cs(t,e){const s=encodeURIComponent(t);return e?.(s)??s}function at(t){return t?.isNotFound===!0}function Ai(){try{return sessionStorage}catch{return}}const ji="tsr-scroll-restoration-v1_3",Dn=Ai();function Qi(){try{return JSON.parse(Dn?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function Ui(){try{Dn?.setItem(ji,JSON.stringify(pt))}catch{}}const pt=Qi(),Os="data-scroll-restoration-id",Bi=t=>t.state.__TSR_key||t.href;function Ni(t){const e=t.getAttribute(Os);if(e)return`[${Os}="${e}"]`;let s="",n=t,r;for(;r=n.parentNode;){let i=1,a=n;for(;a=a.previousElementSibling;)i++;const o=`${n.localName}:nth-child(${i})`;s=s?`${o} > ${s}`:o,n=r}return s}let Kt=!1;const zt="window";function De(t){try{return typeof t=="function"?t():document.querySelector(t)}catch{}}function Es(t){const e=new Set;for(const s of t){if(s===zt)continue;const n=De(s);n&&e.add(n)}return e}function qi(t,e){const s=t.options.scrollRestoration,n=t._scroll;s&&(n.restoring=!0);const r=t.options.getScrollRestorationKey||Bi,i=new Set,a=o=>{const c=pt[o]||={};for(const u of i)u===document?c[zt]={scrollX,scrollY}:u.isConnected&&(c[Ni(u)]={scrollX:u.scrollLeft,scrollY:u.scrollTop})};s&&!n.restoration&&(n.restoration=!0,Kt=!1,history.scrollRestoration="manual",document.addEventListener("scroll",o=>{Kt||i.add(o.target)},!0),t.subscribe("onBeforeLoad",o=>{o.fromLocation&&a(r(o.fromLocation)),i.clear()}),addEventListener("pagehide",()=>{a(r(t.stores.resolvedLocation.get()??t.stores.location.get())),Ui()})),!n.reset&&(n.reset=!0,t.subscribe("onRendered",o=>{const c=t.options.scrollRestorationBehavior,u=t.options.scrollToTopSelectors,l=n.next,h=n.hash;let f;if(i.clear(),n.next=!0,n.hash=!1,typeof t.options.scrollRestoration=="function"&&!t.options.scrollRestoration({location:t.latestLocation}))return;const p=r(o.toLocation),g=o.fromLocation&&r(o.fromLocation);if(n.restoring&&g&&g!==p){const d=pt[g];if(d){let m=pt[p];for(const y in d){if(y===zt){if(l)continue}else{const v=De(y);if(!v||l&&u&&(f??=Es(u),f.has(v)))continue}m||(m=pt[p]={}),m[y]??=d[y]}}}Kt=!0;try{const d=o.toLocation.hash,m=o.toLocation.state.__hashScrollIntoViewOptions??!0;let y=!1;if(l){!d&&u&&(f??=Es(u));const v=d&&m&&h,_=n.restoring?pt[p]:void 0;if(_)for(const w in _){const{scrollX:C,scrollY:S}=_[w];if(w===zt){if(v)continue;scrollTo({top:S,left:C,behavior:c}),y=!0}else{const b=De(w);b&&(b.scrollLeft=C,b.scrollTop=S,f?.delete(b))}}if(!d){const w={top:0,left:0,behavior:c};if(y||scrollTo(w),f)for(const C of f)C.scrollTo(w)}}!y&&d&&m&&document.getElementById(d)?.scrollIntoView(m)}finally{Kt=!1}}))}function Ki(t,e=String){const s=new URLSearchParams;for(const n in t){const r=t[n];r!==void 0&&s.set(n,e(r))}return s.toString()}function ve(t){return t?t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t:""}function Hi(t){const e=new URLSearchParams(t),s=Object.create(null);for(const[n,r]of e.entries()){const i=s[n];i==null?s[n]=ve(r):Array.isArray(i)?i.push(ve(r)):s[n]=[i,ve(r)]}return s}const Wi=/^(?:\s|["[{\d-]|fa|nu|tr)/,zi=Vi(JSON.parse),$i=Gi(JSON.stringify,JSON.parse);function Vi(t){return e=>{e[0]==="?"&&(e=e.substring(1));const s=Hi(e);for(const n in s){const r=s[n];if(typeof r=="string")try{s[n]=t(r)}catch{}}return s}}function Gi(t,e){const s=e===JSON.parse;function n(r){if(r&&typeof r=="object")try{return t(r)}catch{}else if(e&&typeof r=="string"){if(s&&!Wi.test(r))return r;try{return e(r),t(r)}catch{}}return r}return r=>{const i=Ki(r,n);return i?`?${i}`:""}}const yt="__root__";function Ji(t){if(t.statusCode=t.statusCode||t.code||307,!t._builtLocation&&!t.reloadDocument&&typeof t.href=="string")try{new URL(t.href),t.reloadDocument=!0}catch{}const e=new Headers(t.headers);t.href&&e.get("Location")===null&&e.set("Location",t.href);const s=new Response(null,{status:t.statusCode,headers:e});if(s.options=t,t.throw)throw s;return s}function Ze(t){return t instanceof Response&&!!t.options}function Yi(t){return{input:({url:e})=>{for(const s of t)e=Ae(s,e);return e},output:({url:e})=>{for(let s=t.length-1;s>=0;s--)e=An(t[s],e);return e}}}function Xi(t){const e=Fn(t.basepath),s=`/${e}`,n=t.caseSensitive?s:s.toLowerCase(),r=`${n}/`;return{input:({url:i})=>{const a=t.caseSensitive?i.pathname:i.pathname.toLowerCase();return a===n?i.pathname="/":a.startsWith(r)&&(i.pathname=i.pathname.slice(s.length)),i},output:({url:i})=>(i.pathname=Wt(["/",e,i.pathname]),i)}}function Ae(t,e){const s=t?.input?.({url:e});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return e}function An(t,e){const s=t?.output?.({url:e});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return e}function Zi(t,e){const{createMutableStore:s,createReadonlyStore:n,batch:r}=e,i=new Map,a=s("idle"),o=s(t),c=s(void 0),u=s([]),l=n(()=>u.get().map(d=>i.get(d).get())),h=n(()=>({status:a.get(),isLoading:a.get()==="pending",matches:l.get(),location:o.get(),resolvedLocation:c.get()}));function f(d){let m=i.get(d);return m||(m=s(void 0),i.set(d,m)),m}const p={status:a,location:o,resolvedLocation:c,ids:u,matches:l,byRoute:i,__store:h,getMatchStore:f,setMatches:g};function g(d){const m=u.get(),y=d.map(v=>v.routeId);r(()=>{wi(m,y)||u.set(y);for(const v of m)y.includes(v)||i.get(v).set(()=>{});for(const v of d){const _=f(v.routeId);_.get()!==v&&_.set(v)}})}return p}var X="__TSR_index",Ls="popstate",Is="beforeunload";function to(t){let e=t.getLocation();const s=new Set,n=a=>{e=t.getLocation(),s.forEach(o=>o({location:e,action:a}))},r=a=>{t.notifyOnIndexChange??!0?n(a):e=t.getLocation()},i=async({task:a,navigateOpts:o,...c})=>{if(o?.ignoreBlocker??!1){a();return}const u=t.getBlockers?.()??[],l=c.type==="PUSH"||c.type==="REPLACE";if(typeof document<"u"&&u.length&&l)for(const h of u){const f=te(c.path,c.state);if(await h.blockerFn({currentLocation:e,nextLocation:f,action:c.type})){t.onBlocked?.();return}}a()};return{get location(){return e},get length(){return t.getLength()},subscribers:s,subscribe:a=>(s.add(a),()=>{s.delete(a)}),push:(a,o,c)=>{const u=e.state[X];o=ks(u+1,o),i({task:()=>{t.pushState(a,o),n({type:"PUSH"})},navigateOpts:c,type:"PUSH",path:a,state:o})},replace:(a,o,c)=>{const u=e.state[X];o=ks(u,o),i({task:()=>{t.replaceState(a,o),n({type:"REPLACE"})},navigateOpts:c,type:"REPLACE",path:a,state:o})},go:(a,o)=>{i({task:()=>{t.go(a),r({type:"GO",index:a})},navigateOpts:o,type:"GO"})},back:a=>{i({task:()=>{t.back(a?.ignoreBlocker??!1),r({type:"BACK"})},navigateOpts:a,type:"BACK"})},forward:a=>{i({task:()=>{t.forward(a?.ignoreBlocker??!1),r({type:"FORWARD"})},navigateOpts:a,type:"FORWARD"})},canGoBack:()=>e.state[X]!==0,createHref:a=>t.createHref(a),block:a=>{if(!t.setBlockers)return()=>{};const o=t.getBlockers?.()??[];return t.setBlockers([...o,a]),()=>{const c=t.getBlockers?.()??[];t.setBlockers?.(c.filter(u=>u!==a))}},flush:()=>t.flush?.(),destroy:()=>t.destroy?.(),notify:n}}function ks(t,e){e||(e={});const s=ts();return{...e,key:s,__TSR_key:s,[X]:t}}function eo(t){const e=typeof document<"u"?window:void 0,s=e.history.pushState,n=e.history.replaceState;let r=[];const i=()=>r,a=b=>r=b,o=(b=>b),c=(()=>te(`${e.location.pathname}${e.location.search}${e.location.hash}`,e.history.state));if(!e.history.state?.__TSR_key&&!e.history.state?.key){const b=ts();e.history.replaceState({[X]:0,key:b,__TSR_key:b},"")}let u=c(),l,h=!1,f=!1,p=!1,g=!1;const d=()=>u;let m;const y=()=>{m&&(S._ignoreSubscribers=!0,(m[2]?e.history.pushState:e.history.replaceState)(m[1],"",m[0]),S._ignoreSubscribers=!1,m=void 0,l=void 0)},v=(b,P,x)=>{const L=o(P),E=!!m;E||(l=u),u=te(P,x),m=[L,x,m?.[2]||b],E||queueMicrotask(()=>y())},_=b=>{u=c(),S.notify({type:b})},w=async()=>{if(f){f=!1;return}const b=c(),P=b.state[X]-u.state[X],x=P===1,L=P===-1,E=!x&&!L||h;h=!1;const I=E?"GO":L?"BACK":"FORWARD",k=E?{type:"GO",index:P}:{type:L?"BACK":"FORWARD"};if(p)p=!1;else{const Rt=i();if(typeof document<"u"&&Rt.length){for(const B of Rt)if(await B.blockerFn({currentLocation:u,nextLocation:b,action:I})){f=!0,e.history.go(1),S.notify(k);return}}}u=c(),S.notify(k)},C=b=>{if(g){g=!1;return}let P=!1;const x=i();if(typeof document<"u"&&x.length)for(const L of x){const E=L.enableBeforeUnload??!0;if(E===!0){P=!0;break}if(typeof E=="function"&&E()===!0){P=!0;break}}if(P)return b.preventDefault(),b.returnValue=""},S=to({getLocation:d,getLength:()=>e.history.length,pushState:(b,P)=>v(!0,b,P),replaceState:(b,P)=>v(!1,b,P),back:b=>(b&&(p=!0),g=!0,e.history.back()),forward:b=>{b&&(p=!0),g=!0,e.history.forward()},go:b=>{h=!0,e.history.go(b)},createHref:b=>o(b),flush:y,destroy:()=>{e.history.pushState=s,e.history.replaceState=n,e.removeEventListener(Is,C,{capture:!0}),e.removeEventListener(Ls,w)},onBlocked:()=>{l&&u!==l&&(u=l)},getBlockers:i,setBlockers:a,notifyOnIndexChange:!1});return e.addEventListener(Is,C,{capture:!0}),e.addEventListener(Ls,w),e.history.pushState=function(...b){const P=s.apply(e.history,b);return S._ignoreSubscribers||_("PUSH"),P},e.history.replaceState=function(...b){const P=n.apply(e.history,b);return S._ignoreSubscribers||_("REPLACE"),P},S}function so(t){let e=t.replace(/[\x00-\x1f\x7f]/g,"");return e.startsWith("//")&&(e="/"+e.replace(/^\/+/,"")),e}function te(t,e){const s=so(t),n=s.indexOf("#"),r=s.indexOf("?"),i=ts();return{href:s,pathname:s.substring(0,n>0?r>0?Math.min(n,r):n:r>0?r:s.length),hash:n>-1?s.substring(n):"",search:r>-1?s.slice(r,n===-1?void 0:n):"",state:e||{[X]:0,key:i,__TSR_key:i}}}function ts(){return(Math.random()+1).toString(36).substring(7)}function Ms(t){return t.options.loader||t.options.beforeLoad||t.lazyFn||t.options.component?.preload||t.options.pendingComponent?.preload}function ue(t,e){return{fromLocation:e,toLocation:t,pathChanged:e?.pathname!==t.pathname,hrefChanged:e?.href!==t.href,hashChanged:e?.hash!==t.hash}}function Ts({key:t,__TSR_key:e,__TSR_index:s,__hashScrollIntoViewOptions:n,...r}){return r}function no(t,e,s,n){for(const r of e){if(n?.()===!1)return;s.some(i=>i.routeId===r.routeId)||t.routesById[r.routeId].options.onLeave?.(r)}for(const r of s){if(n?.()===!1)return;t.routesById[r.routeId].options[e.some(i=>i.routeId===r.routeId)?"onStay":"onEnter"]?.(r)}}var ro=class{constructor(t,e){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.subscribers=new Set,this._cache=new Map,this._committed=[],this.routeBranchCache=new WeakMap,this.lightweightCache=new WeakMap,this.startTransition=async s=>(s(),!1),this.update=s=>{const n=this.options,r=this.basepath??n?.basepath??"/",i=this.basepath===void 0,a=n?.rewrite;if(this.options={...n,...s},this.isServer=this.options.isServer??hi??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=Di(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=eo()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let u;this.resolvePathCache=Xt(1e3),u=this.buildRouteTree(),this.setRoutes(u)}if(!this.stores&&this.latestLocation){const u=this.getStoreConfig(this);this.batch=u.batch,this.stores=Zi(this.latestLocation,u),qi(this)}const o=this.options.basepath??"/",c=this.options.rewrite;if(i||r!==o||a!==c){this.basepath=o;const u=[],l=Fn(o);l&&l!=="/"&&u.push(Xi({basepath:o})),c&&u.push(c),this.rewrite=u.length===0?void 0:u.length===1?u[0]:Yi(u),this.history&&this.updateLatestLocation(),this.stores&&this.stores.location.set(this.latestLocation)}},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const s=Li(this.routeTree,this.options.caseSensitive,(n,r)=>{n.init({originalIndex:r})});return this.options.routeMasks&&_i(this.options.routeMasks,s.processedTree),s},this.subscribe=(s,n)=>{const r={eventType:s,fn:n};return this.subscribers.add(r),()=>{this.subscribers.delete(r)}},this.emit=s=>{for(const n of this.subscribers)if(n.eventType===s.type)try{n.fn(s)}catch(r){console.error(r)}},this.parseLocation=(s,n)=>{const r=({pathname:c,search:u,hash:l,href:h,state:f})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(c)){const y=this.options.parseSearch(u),v=this.options.stringifySearch(y);return{href:c+v+l,publicHref:c+v+l,pathname:Ct(c).path,external:!1,searchStr:v,search:nt(n?.search,y),hash:Ct(l.slice(1)).path,state:it(n?.state,f)}}const p=new URL(h,this.origin),g=Ae(this.rewrite,p),d=this.options.parseSearch(g.search),m=this.options.stringifySearch(d);return g.search=m,{href:g.href.replace(g.origin,""),publicHref:h,pathname:Ct(g.pathname).path,external:!!this.rewrite&&g.origin!==this.origin,searchStr:m,search:nt(n?.search,d),hash:Ct(g.hash.slice(1)).path,state:it(n?.state,f)}},i=r(s),{__tempLocation:a,__tempKey:o}=i.state;if(a&&(!o||o===this.tempLocationKey)){const c=r(a);return c.state.key=i.state.key,c.state.__TSR_key=i.state.__TSR_key,delete c.state.__tempLocation,{...c,maskedLocation:i}}return i},this.resolvePathWithBase=(s,n)=>Fi({base:s,to:n.includes("//")?Xe(n):n,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(s,n,r)=>typeof s=="string"?this.matchRoutesInternal({pathname:s,search:n},r):this.matchRoutesInternal(s,n),this.getMatchedRoutes=s=>{const n=Object.create(null),r=Oi(W(s),this.processedTree,!0);return r&&Object.assign(n,r.rawParams),[r?.branch||[this.routesById.__root__],n,r?.route]},this.buildLocation=s=>{const n=(i={})=>{const a=i._fromLocation||this._pendingLocation||this.latestLocation,o=this.matchRoutesLightweight(a);i.from;const c=i.unsafeRelative==="path"?a.pathname:i.from??o[1],u=i.to?`${i.to}`:void 0,l=o[2],h=Object.assign(Object.create(null),o[3]),f=u?.charCodeAt(0)===47?"/":this.resolvePathWithBase(c,"."),p=u?this.resolvePathWithBase(f,u):f,g=Fs(i.params,h),d=this.routesByPath[W(p)];let m;if(d)m=this.getRouteBranch(d);else if(p.includes("$"))m=[];else{const[E,I,k]=this.getMatchedRoutes(p);m=E,this.options.notFoundRoute&&(!k||k.path!=="/"&&I["**"])&&(m=[...m,this.options.notFoundRoute])}if(m.length&&On(g))for(const E of m){const I=E.options.params?.stringify??E.options.stringifyParams;if(I)try{Object.assign(g,I(g))}catch{}}const y=s.leaveParams?p:Ct(xs({path:p,params:g,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let v=l;if(s._includeValidateSearch&&this.options.search?.strict){const E={};m.forEach(I=>{if(I.options.validateSearch)try{Object.assign(E,$t(I.options.validateSearch,{...E,...v}))}catch{}}),v=E}v=oo(v,i,m,s._includeValidateSearch),v=nt(l,v);const _=this.options.stringifySearch(v),w=i.hash===!0?a.hash:i.hash?wt(i.hash,a.hash):void 0,C=w?`#${w}`:"";let S=i.state===!0?a.state:i.state?wt(i.state,a.state):{};S=it(a.state,S);const b=`${y}${_}${C}`;let P,x,L=!1;if(this.rewrite){const E=new URL(b,this.origin),I=An(this.rewrite,E);P=E.href.replace(E.origin,""),I.origin!==this.origin?(x=I.href,L=!0):x=I.pathname+I.search+I.hash}else P=Si(b),x=P;return{publicHref:x,href:P,pathname:y,search:v,searchStr:_,state:S,hash:w??"",external:L,unmaskOnReload:i.unmaskOnReload}},r=(i={},a)=>{const o=n(i);let c=a?n(a):void 0;if(!c){const u=Object.create(null);if(this.options.routeMasks){const l=xi(o.pathname,this.processedTree);if(l){Object.assign(u,l.rawParams);const{from:h,params:f,...p}=l.route,g=Fs(f,u);a={from:s.from,...p,params:g},c=n(a)}}}return c&&(o.maskedLocation=c),o};return s.mask?r(s,{from:s.from,...s.mask}):r(s)},this.commitLocation=async({viewTransition:s,ignoreBlocker:n,...r})=>{let i;const a=W(this.latestLocation.href)===W(r.href)&&Y(Ts(r.state),Ts(this.latestLocation.state)),o=this._commitPromise;let c;const u=new Promise(l=>{c=l});if(u.resolve=()=>{c(),o?.resolve()},this._commitPromise=u,a)this.load();else{let{maskedLocation:l,hashScrollIntoView:h,...f}=r;l&&(f={...l,state:{...l.state,__tempKey:void 0,__tempLocation:{...f,search:f.searchStr,state:{...f.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(f.unmaskOnReload??this.options.unmaskOnReload??!1)&&(f.state.__tempKey=this.tempLocationKey)),f.state.__hashScrollIntoViewOptions=h??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=s,i=r.replace?"REPLACE":"PUSH",this.history[i==="REPLACE"?"replace":"push"](f.publicHref,f.state,{ignoreBlocker:n}),this.history.subscribers.size||this.load({action:{type:i}})}return this._scroll.next=r.resetScroll??!0,this._commitPromise},this.buildAndCommitLocation=({replace:s,resetScroll:n,hashScrollIntoView:r,viewTransition:i,ignoreBlocker:a,_redirects:o,href:c,...u}={})=>{if(c){const f=this.history.location.state.__TSR_index,p=te(c,{__TSR_index:s?f:f+1}),g=new URL(p.pathname,this.origin);u.to=Ae(this.rewrite,g).pathname,u.search=this.options.parseSearch(p.search),u.hash=p.hash.slice(1)}const l=this.buildLocation({...u,_includeValidateSearch:!0});o&&(l._redirects=o),this._pendingLocation=l;const h=this.commitLocation({...l,viewTransition:i,replace:s,resetScroll:n,hashScrollIntoView:r,ignoreBlocker:a});return queueMicrotask(()=>{this._pendingLocation===l&&(this._pendingLocation=void 0)}),h},this.navigate=async({to:s,reloadDocument:n,href:r,publicHref:i,...a})=>{let o=!1;if(r)try{new URL(`${r}`),o=!0}catch{}if(o&&!n&&(n=!0),n){if(s!==void 0||!r){const u=this.buildLocation({to:s,...a});r=r??u.publicHref,i=i??u.publicHref}const c=!o&&i?i:r;if(Yt(c,this.protocolAllowlist))return;if(!a.ignoreBlocker){const u=this.history.getBlockers?.()??[];for(const l of u)if(l?.blockerFn&&await l.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return}a.replace?window.location.replace(c):window.location.href=c;return}return this.buildAndCommitLocation({...a,href:r,to:s,_isNavigate:!0})},this.load=async s=>{this.updateLatestLocation(),s?.action&&(this._scroll.hash=s.action.type==="PUSH"||s.action.type==="REPLACE"),await mo(this,s)},this.startViewTransition=s=>{const n=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,n&&typeof document.startViewTransition=="function"){let r;if(typeof n=="object"&&window.CSS?.supports?.("selector(:active-view-transition-type(a))")){const i=this.latestLocation,a=this.stores.resolvedLocation.get(),o=typeof n.types=="function"?n.types(ue(i,a)):n.types;if(o===!1)return s();r={update:s,types:o}}else r=s;return document.startViewTransition(r).updateCallbackDone}return s()},this.invalidate=s=>{const n=this._committed,r=s?.filter,i=this._preloads,a=new Set([...n,...this._cache.values(),...[...i?.values()??[]].flat(),...this._tx?.[3]??[]].filter(u=>!r||r(u)).map(u=>u.id)),o=[];for(const[u,l]of i??[])l.some(h=>a.has(h.id))&&(i.delete(u),o.push(u));const c=u=>{if(a.has(u.id)){const l=this.routesById[u.routeId],h={...u,invalid:!0,...(s?.forcePending||u.status==="error"||u.status==="notFound")&&Ms(l)?{status:"pending",error:void 0}:void 0};return u._flight=void 0,h}return u};this._committed=n.map(c);for(const[u,l]of this._cache)a.has(u)&&(l.invalid=!0,s?.forcePending&&(l.status="pending"));for(const u of a)this._flights?.delete(u);for(const u of o)u.abort();return this.shouldViewTransition=!1,this.load({sync:s?.sync})},this.resolveRedirect=s=>{const n=s.headers.get("Location");if(!s.options.href||s.options._builtLocation){const r=(s.options._builtLocation??this.buildLocation(s.options)).publicHref||"/";s.options.href=r,s.headers.set("Location",r)}else if(n)try{const r=new URL(n);if(this.origin&&r.origin===this.origin){const i=r.pathname+r.search+r.hash;s.options.href=i,s.headers.set("Location",i)}}catch{}if(s.options.href&&!s.options._builtLocation&&Yt(s.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return s.headers.get("Location")||s.headers.set("Location",s.options.href),s},this.clearCache=s=>{const n=this._cache,r=this._preloads,i=s?.filter,a=[],o=[];for(const[u,l]of n)(!i||i(l))&&(o.push(u),a.push(l));const c=[];for(const[u,l]of r??[])(!i||l.some(i))&&(c.push(u),a.push(...l));for(const u of o)n.delete(u);for(const u of c)r.delete(u);for(const u of a){const l=u._flight;u._flight=void 0,l&&!--l[2]&&(this._flights?.get(u.id)===l&&this._flights.delete(u.id),c.push(l[1]))}for(const u of c)u.abort()},this.loadRouteChunk=vt,this.preloadRoute=s=>$n(this,s),this.matchRoute=(s,n)=>{const r={...s,to:s.to?this.resolvePathWithBase(s.from||"",s.to):void 0,params:s.params||{},leaveParams:!0},i=this.buildLocation(r),a=this.stores.status.get()==="pending";if(n?.pending&&!a)return!1;const o=n?.pending??!a?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),c=Ci(i.pathname,n?.caseSensitive??!1,n?.fuzzy??!1,o.pathname,this.processedTree);return!c||s.params&&!Y(c.rawParams,s.params,{partial:!0})?!1:n?.includeSearch??!0?Y(o.search,i.search,{partial:!0})?c.rawParams:!1:c.rawParams},this.getStoreConfig=e,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...t,caseSensitive:t.caseSensitive??!1,notFoundMode:t.notFoundMode??"fuzzy",stringifySearch:t.stringifySearch??$i,parseSearch:t.parseSearch??zi,protocolAllowlist:t.protocolAllowlist??bi}),self.__TSR_ROUTER__=this}isShell(){return!!this.options.isShell}get state(){return this.stores.__store.get()}setRoutes({routesById:t,routesByPath:e,processedTree:s}){this.routesById=t,this.routesByPath=e,this.processedTree=s;const n=this.options.notFoundRoute;n&&(n.init({originalIndex:99999999999}),this.routesById[n.id]=n)}getRouteBranch(t){let e=this.routeBranchCache.get(t);return e||(e=Mn(t),this.routeBranchCache.set(t,e)),e}matchRoutesInternal(t,e){const[s,n,r]=this.getMatchedRoutes(t.pathname);let i=s,a=!1;(r?r.path!=="/"&&n["**"]:W(t.pathname))&&(this.options.notFoundRoute?i=[...i,this.options.notFoundRoute]:a=!0);const o=a?ao(this.options.notFoundMode,i):void 0,c=new Array(i.length),u=this._committed,l=(f,p)=>{const g=u[p];return g?.routeId===f.id?g:f===this.options.notFoundRoute?u.find(d=>d.routeId===f.id):void 0};let h;for(let f=0;f<i.length;f++){const p=i[f],g=c[f-1];let d,m,y;{const k=g?.search??t.search,Rt=g?._strictSearch??void 0;try{const B=$t(p.options.validateSearch,{...k})??void 0;d={...k,...B},m={...Rt,...B}}catch(B){let jt=B;if(B instanceof ee||(jt=new ee(B.message,{cause:B})),e?.throwOnError)throw jt;d=k,m={},y=jt}}let v="",_="";try{v=p.options.loaderDeps?.({search:d})??"",_=v&&JSON.stringify(v)||""}catch(k){if(e?.throwOnError)throw k;y??=k}const{interpolatedPath:w,usedParams:C}=xs({path:p.fullPath,params:n,decoder:this.pathParamsDecoder,server:this.isServer}),S=p.id+w+_,b=l(p,f),P=this._cache.get(S)??(b?.id===S?b:void 0);h=P?._strictParams??Object.assign(C,h);let x;if(!P)try{Ds(p,h)}catch(k){if(at(k)||Ze(k)?x=k:x=new io(k.message,{cause:k}),e?.throwOnError)throw x}const L=b?"stay":"enter";let E;if(P)E={...P,cause:L,search:nt(b?b.search:P.search,d),_strictSearch:m,searchError:y};else{const k=Ms(p)?"pending":"success";E={id:S,ssr:p.options.ssr,index:f,routeId:p.id,params:b?.params??h,_strictParams:h,pathname:w,updatedAt:Date.now(),search:b?nt(b.search,d):d,_strictSearch:m,searchError:y,status:k,isFetching:!1,error:void 0,paramsError:x,context:{},abortController:e?._controller??new AbortController,cause:L,loaderDeps:b?it(b.loaderDeps,v):v,invalid:!1,preload:!1,staticData:p.options.staticData||{},fullPath:p.fullPath}}const I=o===p.id;E._notFound&&!I&&(E.error=void 0),E._notFound=I,c[f]=E}for(let f=0;f<c.length;f++){const p=c[f];p.params=p.cause==="stay"?nt(p.params,h):h,e?._controller&&(p.context={})}return c}matchRoutesLightweight(t){const e=Mt(this.stores.ids.get()),s=e?this.stores.byRoute.get(e).get():void 0,n=s?.id,r=this.lightweightCache.get(t);if(r&&r[0]===n)return r[1];const[i,a]=this.getMatchedRoutes(t.pathname),o=Mt(i),c={...t.search};for(const f of i)try{Object.assign(c,$t(f.options.validateSearch,c))}catch{}const u=s&&s.routeId===o.id&&s.pathname===t.pathname;let l;if(u)l=s.params;else{const f=Object.assign(Object.create(null),a);for(const p of i)try{Ds(p,f)}catch{}l=f}const h=[i,o.fullPath,c,l];return this.lightweightCache.set(t,[n,h]),h}},ee=class extends Error{},io=class extends Error{};function $t(t,e){if(t==null)return{};if("~standard"in t){const s=t["~standard"].validate(e);if(s instanceof Promise)throw new ee("Async validation not supported");if(s.issues)throw new ee(JSON.stringify(s.issues,void 0,2),{cause:s});return s.value}return"parse"in t?t.parse(e):typeof t=="function"?t(e):{}}function oo(t,e,s,n){const r=[];for(const a of s){const o=a.options;if("search"in o)o.search?.middlewares&&r.push(...o.search.middlewares);else if(o.preSearchFilters||o.postSearchFilters){const u=({search:l,next:h})=>{const f=h(o.preSearchFilters?o.preSearchFilters.reduce((p,g)=>g(p),l):l);return o.postSearchFilters?o.postSearchFilters.reduce((p,g)=>g(p),f):f};r.push(u)}const c=o.validateSearch;if(c){const u=({search:l,next:h,meta:f})=>{const p=h(l);if(n)try{const g=$t(c,p);if(f&&g)for(const d in g)d in p||(f.defaulted||=new Map).set(d,g[d]);return{...p,...g}}catch{}return p};r.push(u)}}const i=(a,o,c)=>{if(a>=r.length){if(!e.search)return{};if(e.search===!0)return o;const l=wt(e.search,o);return c&&(c.explicit=l),l}const u=(l,h)=>{if(h){const f=c||{};return{search:i(a+1,l,f),meta:f}}return i(a+1,l,c)};return r[a]({search:o,next:u,meta:c})};return i(0,t)}function ao(t,e){if(t!=="root"){let s;for(let n=e.length-1;n>=0;n--){const r=e[n];if(r.options.notFoundComponent)return r.id;s||=r.children&&r.id}if(s)return s}return yt}function Fs(t,e){return t===!1||t===null?Object.create(null):(t??!0)===!0?e:Object.assign(e,wt(t,e))}function Ds(t,e){const s=t.options.params?.parse??t.options.parseParams;s&&Object.assign(e,s(e))}function je(t,e){return t.options[e]?.preload?.()}function co(t,e){const s=je(t,"component"),n=je(t,"pendingComponent"),r=e&&n?n.then(e):n;return e&&!n&&e(),s&&r?Promise.all([s,r]).then(()=>{}):s??r}function vt(t,e,s){const n=()=>e===!1?void 0:e?je(t,e):co(t,s),r=t._lazy;if(r)return r===!0?n():r.then(n);if(!t.lazyFn)return n();const i=t.lazyFn().then(a=>{{const{id:o,...c}=a.options;Object.assign(t.options,c),t._lazy=!0}},a=>{throw t._lazy=void 0,a});return t._lazy=i,i.then(n)}function jn(t){const e=t.findIndex(s=>s.status!=="success"||s._notFound)+1;return e&&e<t.length?t.slice(0,e):t}const q=0,Z=1,le=2,Q=3,ct=4;function Tt(t){return typeof t[0]=="number"}function et(t,e){return e.aborted?Promise.race([Promise.reject(e),t]):new Promise((s,n)=>{const r=()=>n(e);e.addEventListener("abort",r,{once:!0}),Promise.resolve(t).then(s,n).finally(()=>e.removeEventListener("abort",r))})}function lt(t,e){return t.routesById[e.routeId]}function Ft(t,e,s){return Ze(t)?[Q,t]:at(t)?(t.routeId||=s,[le,t]):(e&&typeof t?.then=="function"&&(t=new Error("A Promise was thrown",{cause:t})),e?[Z,t]:[q,t])}function Qn(t,e){let s=Ft(e,!0,t.id);if(s[0]!==Z)return s;try{t.options.onError?.(s[1])}catch(n){s=Ft(n,!0,t.id)}return s}function Ot(t,e,s){return s[0].signal.aborted||!s[2]()?(s[0].abort(),[ct]):Qn(t,e)}function Un(t,e){return s=>t.navigate({...s,_fromLocation:e})}async function uo(t,e,s,n,r,i){const[a,o]=e,c=s[0].signal,u=!!s[4];for(let l=s[7]??0;l<n;l++){const h=o[l],f=lt(t,h);h.abortController=s[0];const p=o[l-1]?.context??t.options.context??{},g={params:h.params,location:a,navigate:Un(t,a),buildLocation:t.buildLocation,cause:u?"preload":h.cause,abortController:s[0],preload:u,matches:o,routeId:f.id};let d=p;try{let w=h._ctx;!w&&f.options.context&&(w=h._ctx=f.options.context({...g,deps:h.loaderDeps,context:p})||{}),d={...p,...w},h.context=d}catch(w){return z(t,h),[l,Ot(f,w,s)]}if(c.aborted||!s[2]())return s[0].abort(),[l,[ct]];const m=h.paramsError??h.searchError;if(m!==void 0)return z(t,h),[l,Ot(f,m,s)];const y=f.options.beforeLoad;if(!y)continue;const v={...g,search:h.search,context:d,...t.options.additionalContext},_=h.status;_==="success"&&l>=i&&(h.status="pending"),s[8]?.();try{Dt(t,h,"beforeLoad",s[0]);const w=await et(y(v),c);if(!s[2]())return s[0].abort(),[l,[ct]];const C=Ft(w,!1,f.id);if(C[0]!==q)return z(t,h),[l,C];h.context={...d,...w}}catch(w){return z(t,h),[l,Ot(f,w,s)]}finally{_==="success"&&h.status==="pending"&&(h.status="success"),Dt(t,h,!1,s[0])}}r()}function es(t,e,s){if(!(!s||--s[2])){if(t._flights?.get(e.id)===s){const n=t._tx;if(n&&!n[0].signal.aborted&&!n[3].includes(e)&&n[3].some(r=>r.id===e.id)&&n[3].some(r=>r.isFetching==="beforeLoad"))return;t._flights.delete(e.id)}return s[1]}}function z(t,e){const s=e._flight;e._flight=void 0,es(t,e,s)?.abort()}function A(t,e,s,n){const r=[];for(const i of e)if(!s?.includes(i)){const a=i._flight;if(i._flight=void 0,n&&a?.[2]===1&&t._flights?.get(i.id)===a&&s?.some(o=>o.id===i.id))a[2]=0;else{const o=es(t,i,a);o&&r.push(o)}}for(const i of r)i.abort()}function ss(t){for(const e of t){const s=e._flight;s&&s[2]++}}function Dt(t,e,s,n){if(e.isFetching=s,n&&t._tx?.[0]!==n)return;const r=t.stores.byRoute.get(e.routeId),i=r?.get();i?.id===e.id&&r.set({...i,isFetching:s})}function Bn(t,e,s,n,r,i,a){const o=e[0];return{params:s.params,location:o,navigate:Un(t,o),cause:a?"preload":s.cause,abortController:r,preload:a,deps:s.loaderDeps,parentMatchPromise:i,context:s.context,route:n,...t.options.additionalContext}}async function As(t,e,s,n,r,i,a,o){const c=o.signal;if(c.aborted)return[ct];if(!r)return[q,void 0];let u=s._flight;Dt(t,s,"loader",o);try{if(!u){const l=new AbortController;u=[Promise.resolve().then(()=>r(Bn(t,e,s,n,l,i,a))).then(h=>Ft(h,!1,n.id),h=>Ft(h,!0,n.id)).then(h=>(h[0]!==q&&t._flights?.get(s.id)===u&&(t._flights.delete(s.id),u[2]||l.abort()),h[0]===Z&&u[2]?Qn(n,h[1]):h)),l,1],(t._flights??=new Map).set(s.id,u)}return s._flight=u,s.abortController=u[1],await et(u[0],c)}catch(l){if(l!==c)throw l;return z(t,s),[ct]}finally{Dt(t,s,!1,o)}}function js(t,e,s){e[0]===q?(t.loaderData=e[1],t.error=void 0,t.status="success",t.invalid=!1,t.updatedAt=Date.now(),t.preload=s):e[0]!==Q&&(t.status="success",t.error=void 0,t.invalid=!0)}function lo(t,e,s){const n=t._cache.get(e.id);if(n!==s||t._committed.some(i=>i.id===e.id&&i._flight===e._flight))return;const r={...e,_notFound:void 0,context:{}};r._flight&&r._flight[2]++,t._cache.set(e.id,r),n&&z(t,n)}function Qs(t,e){return e[0]===Z||e[0]===le?{...t,status:e[0]===Z?"error":"notFound",error:e[1],_flight:void 0}:t}function ho(t,e,s,n,r,i,a){const o=e[1][s],c=lt(t,o),u=!!i[4],l=t._cache.get(o.id);let h,f=!1,p;try{if(o.status==="success"&&(h=c.options.shouldReload,typeof h=="function"&&(h=h(Bn(t,e,o,c,i[0],r,u))),i[2]()||(i[0].abort(),p=[ct])),!p)if(o.status!=="success")f=!0;else{const x=i[4]||o.preload?c.options.preloadStaleTime??t.options.defaultPreloadStaleTime??3e4:c.options.staleTime??t.options.defaultStaleTime??0;f=!!(o.invalid||h||h===void 0&&Date.now()-o.updatedAt>=x&&(i[6]||o.cause==="enter"||i[3].some(L=>L.routeId===o.routeId&&L.id!==o.id)))}}catch(x){o.invalid=!0,z(t,o),p=Ot(c,x,i)}const g=c.options.loader,d=typeof g=="function"?g:g?.handler;let m=(!u||c.options.preload!==!1)&&g?t._flights?.get(o.id):void 0;m===o._flight||p?m=void 0:m&&!f&&!u&&h===void 0?f=!0:f||(m=void 0);const y=!!(g&&f&&o.status==="success"&&!u&&!i[5]&&((typeof g=="function"?void 0:g?.staleReloadMode)??t.options.defaultStaleReloadMode)!=="blocking"),v=f&&(!u||c.options.preload!==!1),_=v&&!y&&(o.status!=="success"||!!g),w=c.lazyFn&&c._lazy!==!0?i[8]:void 0;if(v&&!g&&(o.invalid=!1,o.updatedAt=Date.now()),m&&m[2]++,_){const x=o._flight;o._flight=m,es(t,o,x)?.abort(),o.status==="success"&&s>=a&&(o.status="pending"),i[8]?.()}v||(o.isFetching=!1);const C=(p?Promise.resolve(p):_?As(t,e,o,c,d,r,u,i[0]):Promise.resolve([q,o.loaderData])).then(x=>(_&&(js(o,x,u),x[0]===q&&(g&&!i[0].signal.aborted&&lo(t,o,l),o.status="pending")),x)),S=et(Promise.resolve().then(()=>vt(c,void 0,w)),i[0].signal).then(()=>{},x=>[s,Ot(c,x,i)]).then(x=>C.then(L=>(_&&!x&&L[0]===q&&o.status==="pending"&&i[2]()&&(o.status="success",i[8]?.()),x)));if(n.push([s,C,S]),!y)return C.then(x=>Qs(o,x));const b={...o,status:"pending",preload:!1,_flight:m};o.invalid=!1,o.isFetching="loader";const P=As(t,e,b,c,d,r,!1,i[0]).then(x=>(o.isFetching=!1,js(b,x,!1),x));return(e[2]??=[]).push([s,P,S,b]),P.then(x=>Qs(b,x))}async function Qe(t,e,s,n,r=0){const i=s?.[1][1];let a=i?.routeId?e.findIndex(o=>o.routeId===i.routeId):s?.[0]??e.length-1;a<0&&(a=0);for(let o=a;o>=0;o--){const c=lt(t,e[o]),u=vt(c,!1);if(u)try{await et(u,n)}catch(l){if(l===n)throw l}if(c.options.notFoundComponent)return o}return i?.routeId?a:r}function bt(t,e){e[2]&&(A(t,e[2].map(s=>s[3])),e[2]=void 0)}async function Us(t,e,s,n){let r;try{await Promise.all(t.map(i=>i[1].then(async a=>{const o=i[0];if(!(n&&o>=await n)){if(a[0]>=Q)throw[o,a];!r&&a[0]!==q&&(r=[o,a],await Promise.all((s??[]).map(c=>{if(!(c[0]<=o))return c[1].then(u=>{if(u[0]===Q)throw[c[0],u]})})))}})))}catch(i){return i}return e??r}async function Nn(t,e,s,n,r,i,a){const o=e[1];let c=await i,u=!1;const l=o.findIndex(g=>g._notFound),h=g=>g[1][0]===le?Qe(t,o,g,n.signal):g[0];let f=l<0?o.length:l;if((c?.[1][0]??0)>=Q)f=0;else if(c){f=c[2]??=await h(c);for(const g of s){if(g[0]>=f)break;const d=await g[1];if(d[0]!==q&&d[0]<Q&&!("loaderData"in o[g[0]])){c=[g[0],d],f=c[2]=await h(c);break}}}for(const g of s){if(g[0]>=f)break;const d=await g[2];if(d){c=d;break}}if((c?.[1][0]??0)>=Q){const g=c[1];if(g[0]!==Q||g[1].options.reloadDocument||r<20)return bt(t,e),g;u=!0,c=[0,[Z,new Error("Too many redirects")]]}const p=c?c[2]??await h(c):l;if(p>=0){const g=c?.[1],d=g?.[0],m=o[p],y=g?.[1],v=()=>{g&&(m._notFound=void 0,d===Z?m.status="error":(y.routeId=m.routeId,m.routeId===t.routeTree.id?(m.status="success",m._notFound=!0):m.status="notFound"),m.error=y,m.isFetching=!1)};v();const _=lt(t,m);try{await et(g?Promise.resolve().then(()=>vt(_,d===Z?"errorComponent":"notFoundComponent")):Promise.all([vt(_),vt(_,"notFoundComponent")]),n.signal)}catch(w){if(w===n.signal)return bt(t,e),[ct]}g?u&&(n.abort(),await Promise.all([...s.map(w=>w[1]),...s.map(w=>w[2]),...(e[2]??[]).map(w=>w[1])]),bt(t,e),A(t,o),v()):(m.status="success",a?.())}return e}async function qn(t,e,s,n=0,r=e[1].length){const i=e[1];for(let a=n;a<r;a++){const o=i[a],c=lt(t,o).options;if(c.head||c.scripts)try{const u={ssr:t.options.ssr,matches:i,match:o,params:o.params,loaderData:o.loaderData},[l,h]=await et(Promise.all([c.head?.(u),c.scripts?.(u)]),s);o.meta=l?.meta,o.links=l?.links,o.headScripts=l?.scripts,o.styles=l?.styles,o.scripts=h}catch(u){if(u===s)break;console.error(u)}if(o.status!=="success"||o._notFound)break}return e}async function Kn(t,e,s,n){const r=[e,s],i=t.stores.matches.get();let a=s.findIndex(d=>d._notFound);if(t.options.notFoundMode!=="root"&&a>=0){const d=await Qe(t,r[1],void 0,n[0].signal,a);d!==a&&(s[a]._notFound=void 0,s[d]._notFound=!0),a=d}let o=a<0?s.length:a+1,c=0;for(;c<o&&c!==a;){const d=s[c],m=n[3][c],y=i[c];if(m?.id!==d.id||m.status!=="success"||m._notFound||d.preload||y?.id!==d.id||y.status!=="success"||y._notFound)break;c++}const u=[],l=n[7]??0;let h=l?Promise.resolve(r[1][l-1]):void 0;const f=()=>{for(let d=l;d<o&&!n[0].signal.aborted;d++)h=ho(t,r,d,u,h,n,c)},p=await uo(t,r,n,o,f,c);if(p&&(n[5]=!0,o=p[0],p[1][0]===le?(p[2]=await Qe(t,r[1],p,n[0].signal),o=Math.min(o,p[2]+1)):p[1][0]>=Q&&(o=0),f()),n[2]()&&!n[4]){const d=[];for(const[m,y]of t._flights??[])y[2]||(t._flights.delete(m),d.push(y[1]));for(const m of d)m.abort()}let g;try{const d=Nn(t,r,u,n[0],n[1],Us(u,p,r[2]),n[8]);r[2]?.length&&(r[3]=Us(r[2],void 0,void 0,d.then(m=>Tt(m)?0:jn(m[1]).length,()=>0))),g=await d}catch(d){throw bt(t,r),d}return Tt(g)?g:qn(t,g,n[0].signal,n[7]===g[1].length?n[7]:0)}function Ue(t,e){if(t._tx!==e)return;let s=t._pending,n=!1;const r=s?.[0][3][s[1]]?.id;s?.[0]!==e&&(s&&e[3][s[1]]?.id===r?(s[0]=e,n=!0):(clearTimeout(s?.[3]),t._pending=s=void 0));const i=e[3],a=t.stores.matches.get();let o=-1,c,u,l,h=!1;for(let d=0;d<i.length;d++){const m=i[d],y=m.status==="success";if(h=a[d]?.id===m.id&&a[d]?.status==="pending",y&&!h)continue;const v=lt(t,m);if(c=y&&h||m.invalid?0:v.options.pendingMs??t.options.defaultPendingMs,l=v.options.pendingComponent??t.options.defaultPendingComponent,!l||typeof c!="number"||c===1/0)return;o=d,u=v.options.pendingMinMs??t.options.defaultPendingMinMs??0;break}if(o<0)return;const f=i[o].id;if((!s||s[1]!==o||r!==f)&&(clearTimeout(s?.[3]),t._pending=s=[e,o,h?Date.now()+u:e[4]+c,void 0,h?Promise.resolve(!0):void 0,l]),s[4]&&!n&&s[5]===l)return;if(s[5]=l,!s[4]){clearTimeout(s[3]);const d=s[2]-Date.now();if(d>0){s[3]=setTimeout(()=>Ue(t,e),d);return}s[2]=0}const p=i.map(d=>({...d,_flight:void 0}));p[o].status="pending";const g=t.startTransition(()=>t.stores.setMatches(p),p).then(d=>(d&&t._pending===s&&s[4]===g&&!s[2]&&(s[2]=Date.now()+u),d));s[4]=g}function Vt(t,e){const s=t._pending;s?.[0]===e&&(clearTimeout(s[3]),t._pending=void 0)}function Hn(t,e){t._committed=e,t.stores.setMatches(e)}function Bs(t,e){A(t,e[1]),bt(t,e)}function fo(t,e,s,n){const r=t._committed,i=t._cache;for(const u of s)u.preload=!1,n&&(u._assetEnd=void 0);const a=jn(s).length,o=new Map,c=Date.now();for(const u of[...r,...i.values()]){if(u.status!=="success"||s.some((h,f)=>h.id===u.id&&(f<a||h.status==="success")))continue;const l=lt(t,u);!l.options.loader||c-u.updatedAt>=(u.preload?l.options.preloadGcTime??t.options.defaultPreloadGcTime??3e5:l.options.gcTime??t.options.defaultGcTime??3e5)||o.set(u.id,i.get(u.id)===u?u:{...u,_flight:void 0,isFetching:!1,context:{}})}e[3]=[],t._cache=o,Hn(t,s),A(t,[...i.values(),...r],[...s,...o.values()]),no(t,r,s,()=>t._tx===e)}async function rt(t,e){let s=t._tx;for(;s&&s!==e;){if(await s[5],t._tx===s)return;s=t._tx}}async function Wn(t,e,s){await t.navigate({...s.options,replace:!0,ignoreBlocker:!0,_redirects:e[1]+1})}function zn(t,e){Vt(t,e),e[0].abort(),A(t,e[3]),e[3]=[],t._tx===e&&(t.batch(()=>{t.stores.status.set("idle"),t.stores.setMatches(t._committed)}),t._tx===e&&(t._commitPromise?.resolve(),t._commitPromise=void 0))}async function po(t,e,s,n,r){const i=s.map(u=>({...u}));ss(i);for(const u of n)z(t,i[u[0]]),i[u[0]]=u[3];const a=[e[2],i];let o;try{o=await Nn(t,a,n,e[0],e[1],r)}catch(u){throw A(t,i),u}if(Tt(o)){A(t,i),o[0]===Q&&t._tx===e&&t._committed===s&&await Wn(t,e,o[1]);return}const c=await qn(t,o,e[0].signal);if(t._tx!==e||t._committed!==s){A(t,c[1]);return}for(const u of c[1]){const l=t._cache.get(u.id);l?._flight&&l._flight===u._flight&&(t._cache.delete(u.id),z(t,l))}Hn(t,c[1]),A(t,s,c[1])}async function go(t,e,s,n,r,i){const a=[e[0],e[1],()=>t._tx===e&&!!e[3].length,t._committed,void 0,r,s,i,n],o=await Kn(t,e[2],e[3],a);if(Tt(o)){o[0]===Q&&t._tx===e?(Vt(t,e),A(t,e[3]),e[3]=[],t._tx===e&&await Wn(t,e,o[1])):zn(t,e);return}const c=t._pending;if(c?.[0]===e&&(clearTimeout(c[3]),c[4])){const f=e[0].signal;let p=!1;try{p=await et(c[4],f)}catch(g){if(g!==f)throw g}if(p&&t._pending===c&&c[0]===e){const g=c[2]-Date.now();if(g>0){try{await et(new Promise(d=>{c[3]=setTimeout(d,g)}),f)}catch{}clearTimeout(c[3])}}}if(t._tx!==e){Vt(t,e),Bs(t,o);return}const u=e[2],l=ue(u,t.stores.resolvedLocation.get()),h=o[2];await t.startViewTransition(async()=>{if(t._tx!==e){Bs(t,o);return}const f=()=>{Vt(t,e),fo(t,e,o[1],i),t._tx===e&&(t.emit({type:"onLoad",...l}),t._tx===e&&t.emit({type:"onBeforeRouteMount",...l}))},p=await t.startTransition(f,o[1]);if(t._tx!==e){bt(t,o);return}h?.length&&po(t,e,o[1],h,o[3]).catch(console.error),t.batch(()=>{t.stores.resolvedLocation.set(u),t.stores.status.set("idle"),t._tx===e&&t.emit({type:"onResolved",...l}),p&&t._tx===e&&t.emit({type:"onRendered",...l})}),t._tx===e&&(t._commitPromise?.resolve(),t._commitPromise=void 0)})}async function mo(t,e){const s=t._tx,n=t.stores.resolvedLocation.get(),r=n??t.stores.location.get(),i=t.latestLocation,a=t._pendingLocation,o=a?.href===i.href?a._redirects??0:0,c=t._handoff,u=c?.[0](),l=new AbortController,h=t._preflight;if(t._preflight=l,u||c?.[1](),h?.abort(),l.signal.aborted){await rt(t,s);return}const f=ue(i,n);if(t.emit({type:"onBeforeNavigate",...f}),l.signal.aborted||t.emit({type:"onBeforeLoad",...f}),l.signal.aborted){await rt(t,s);return}const p=r.href===i.href;let g,d=l;try{g=t.matchRoutes(i,{_controller:l}),ss(g)}catch(v){if(l.abort(),!Ze(v)){await rt(t),t._commitPromise?.resolve(),t._commitPromise=void 0;return}await t.navigate({...v.options,replace:!0,ignoreBlocker:!0}),await rt(t,s);return}const m=u?c[1](g):void 0;if(m?d=u:u?.abort(),l.signal.aborted){A(t,g),await rt(t,s);return}t._preflight=void 0;const y=[d,o,i,g,Date.now(),Promise.resolve().then(()=>go(t,y,p,()=>Ue(t,y),e?.sync,m)).catch(()=>{t._tx===y&&zn(t,y)})];if(t._tx=y,s){for(const v of t.stores.matches.get()){if(t._tx!==y)break;v.isFetching&&Dt(t,v,!1)}s[0].abort(),A(t,s[3],y[3],!0)}if(t._tx!==y){A(t,y[3]),y[3]=[],await rt(t,y);return}t.batch(()=>{t.stores.status.set("pending"),t.stores.location.set(i)}),!n&&!g.some(v=>v._notFound)&&Ue(t,y);try{await y[5]}finally{await rt(t,y)}}async function $n(t,e,s=0){if(s>20)return;const n=e._builtLocation??t.buildLocation(e),r=t._committed,i=new AbortController;let a;try{a=t.matchRoutes(n,{_controller:i}),ss(a)}catch(c){i.abort(),at(c)||console.error(c);return}(t._preloads??=new Map).set(i,a);let o;try{let c;try{c=await Kn(t,n,a,[i,s,()=>!0,r,!0])}finally{o=t._preloads.delete(i),A(t,a),i.abort()}if(!Tt(c))return c[1];if(o&&c[0]===Q&&!c[1].options.reloadDocument)return $n(t,{...c[1].options,_fromLocation:n},s+1)}catch(c){at(c)||console.error(c)}}const yo="Error preloading route! ☝️";var Vn=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(t){if(this.init=e=>{this.originalIndex=e.originalIndex;const s=this.options,n=!s?.path&&!s?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=yt:this.parentRoute||Je();let r=n?yt:s?.path;r&&r!=="/"&&(r=Tn(r));const i=s?.id||r;let a=n?yt:Wt([this.parentRoute.id==="__root__"?"":this.parentRoute.id,i]);r==="__root__"&&(r="/"),a!=="__root__"&&(a=Wt(["/",a]));const o=a==="__root__"?"/":Wt([this.parentRoute.fullPath,r]);this._path=r,this._id=a,this._fullPath=o,this._to=W(o)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e=="object"&&e!==null&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>Ji({from:this.fullPath,...e}),this.options=t||{},this.isRoot=!t?.getParentRoute,t?.id&&t?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},vo=class extends Vn{constructor(t){super(t)}};function ns(t){return O.jsx(bo,{...t})}var bo=class extends R.Component{constructor(...t){super(...t),this.state={error:null},this.reset=()=>{this.setState({error:null})}}static getDerivedStateFromProps(t,e){const s=t.getResetKey();return e.error&&e.resetKey!==s?{resetKey:s,error:null}:{resetKey:s}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,e){this.props.onCatch?.(t,e)}render(){const t=this.state.error;return t?R.createElement(this.props.errorComponent??So,{error:t,reset:this.reset}):this.props.children}};function So({error:t}){const[e,s]=R.useState(!1);return O.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[O.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[O.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),O.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>s(n=>!n),children:e?"Hide Error":"Show Error"})]}),O.jsx("div",{style:{height:".25rem"}}),e?O.jsx("div",{children:O.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:t.message?O.jsx("code",{children:t.message}):null})}):null]})}function wo({children:t,fallback:e=null}){return O.jsx(ne.Fragment,{children:Gn()?t:e})}function Gn(){return ne.useSyncExternalStore(Po,()=>!0,()=>!1)}function Po(){return()=>{}}var Jn=R.createContext(null);function U(t){return R.useContext(Jn)}var he=R.createContext(void 0),Ro=R.createContext(void 0),T=(t=>(t[t.None=0]="None",t[t.Mutable=1]="Mutable",t[t.Watching=2]="Watching",t[t.RecursedCheck=4]="RecursedCheck",t[t.Recursed=8]="Recursed",t[t.Dirty=16]="Dirty",t[t.Pending=32]="Pending",t))(T||{});function _o({update:t,notify:e,unwatched:s}){return{link:n,unlink:r,propagate:i,checkDirty:a,shallowPropagate:o};function n(u,l,h){const f=l.depsTail;if(f!==void 0&&f.dep===u)return;const p=f!==void 0?f.nextDep:l.deps;if(p!==void 0&&p.dep===u){p.version=h,l.depsTail=p;return}const g=u.subsTail;if(g!==void 0&&g.version===h&&g.sub===l)return;const d=l.depsTail=u.subsTail={version:h,dep:u,sub:l,prevDep:f,nextDep:p,prevSub:g,nextSub:void 0};p!==void 0&&(p.prevDep=d),f!==void 0?f.nextDep=d:l.deps=d,g!==void 0?g.nextSub=d:u.subs=d}function r(u,l=u.sub){const h=u.dep,f=u.prevDep,p=u.nextDep,g=u.nextSub,d=u.prevSub;return p!==void 0?p.prevDep=f:l.depsTail=f,f!==void 0?f.nextDep=p:l.deps=p,g!==void 0?g.prevSub=d:h.subsTail=d,d!==void 0?d.nextSub=g:(h.subs=g)===void 0&&s(h),p}function i(u){let l=u.nextSub,h;t:do{const f=u.sub;let p=f.flags;if(p&60?p&12?p&4?!(p&48)&&c(u,f)?(f.flags=p|40,p&=1):p=0:f.flags=p&-9|32:p=0:f.flags=p|32,p&2&&e(f),p&1){const g=f.subs;if(g!==void 0){const d=(u=g).nextSub;d!==void 0&&(h={value:l,prev:h},l=d);continue}}if((u=l)!==void 0){l=u.nextSub;continue}for(;h!==void 0;)if(u=h.value,h=h.prev,u!==void 0){l=u.nextSub;continue t}break}while(!0)}function a(u,l){let h,f=0,p=!1;t:do{const g=u.dep,d=g.flags;if(l.flags&16)p=!0;else if((d&17)===17){if(t(g)){const m=g.subs;m.nextSub!==void 0&&o(m),p=!0}}else if((d&33)===33){(u.nextSub!==void 0||u.prevSub!==void 0)&&(h={value:u,prev:h}),u=g.deps,l=g,++f;continue}if(!p){const m=u.nextDep;if(m!==void 0){u=m;continue}}for(;f--;){const m=l.subs,y=m.nextSub!==void 0;if(y?(u=h.value,h=h.prev):u=m,p){if(t(l)){y&&o(m),l=u.sub;continue}p=!1}else l.flags&=-33;l=u.sub;const v=u.nextDep;if(v!==void 0){u=v;continue t}}return p}while(!0)}function o(u){do{const l=u.sub,h=l.flags;(h&48)===32&&(l.flags=h|16,(h&6)===2&&e(l))}while((u=u.nextSub)!==void 0)}function c(u,l){let h=l.depsTail;for(;h!==void 0;){if(h===u)return!0;h=h.prevDep}return!1}}function xo(t,e,s){const n=typeof t=="object",r=n?t:void 0;return{next:(n?t.next:t)?.bind(r),error:(n?t.error:e)?.bind(r),complete:(n?t.complete:s)?.bind(r)}}const Be=[];let Gt=0;const{link:Ns,unlink:Co,propagate:Oo,checkDirty:Yn,shallowPropagate:qs}=_o({update(t){return t._update()},notify(t){Be[Ne++]=t,t.flags&=~T.Watching},unwatched(t){t.depsTail!==void 0&&(t.depsTail=void 0,t.flags=T.Mutable|T.Dirty,se(t))}});let Ht=0,Ne=0,N,qe=0;function Eo(t){try{++qe,t()}finally{--qe||Xn()}}function se(t){const e=t.depsTail;let s=e!==void 0?e.nextDep:t.deps;for(;s!==void 0;)s=Co(s,t)}function Xn(){if(!(qe>0)){for(;Ht<Ne;){const t=Be[Ht];Be[Ht++]=void 0,t.notify()}Ht=0,Ne=0}}function Ks(t,e){const s=typeof t=="function",n=t,r={_snapshot:s?void 0:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:s?T.None:T.Mutable,get(){return N!==void 0&&Ns(r,N,Gt),r._snapshot},subscribe(i){const a=xo(i),o={current:!1},c=Lo(()=>{r.get(),o.current?a.next?.(r._snapshot):o.current=!0});return{unsubscribe:()=>{c.stop()}}},_update(i){const a=N,o=e?.compare??Object.is;if(s)N=r,++Gt,r.depsTail=void 0;else if(i===void 0)return!1;s&&(r.flags=T.Mutable|T.RecursedCheck);try{const c=r._snapshot,u=typeof i=="function"?i(c):i===void 0&&s?n(c):i;return c===void 0||!o(c,u)?(r._snapshot=u,!0):!1}finally{N=a,s&&(r.flags&=~T.RecursedCheck),se(r)}}};return s?(r.flags=T.Mutable|T.Dirty,r.get=function(){const i=r.flags;if(i&T.Dirty||i&T.Pending&&Yn(r.deps,r)){if(r._update()){const a=r.subs;a!==void 0&&qs(a)}}else i&T.Pending&&(r.flags=i&~T.Pending);return N!==void 0&&Ns(r,N,Gt),r._snapshot}):r.set=function(i){if(r._update(i)){const a=r.subs;a!==void 0&&(Oo(a),qs(a),Xn())}},r}function Lo(t){const e=()=>{const n=N;N=s,++Gt,s.depsTail=void 0,s.flags=T.Watching|T.RecursedCheck;try{return t()}finally{N=n,s.flags&=~T.RecursedCheck,se(s)}},s={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:T.Watching|T.RecursedCheck,notify(){const n=this.flags;n&T.Dirty||n&T.Pending&&Yn(this.deps,this)?e():this.flags=T.Watching},stop(){this.flags=T.None,this.depsTail=void 0,se(this)}};return e(),s}var be={exports:{}},Se={};var Hs;function Io(){if(Hs)return Se;Hs=1;var t=mr(),e=yr();function s(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}var n=typeof Object.is=="function"?Object.is:s,r=e.useSyncExternalStore,i=t.useRef,a=t.useEffect,o=t.useMemo,c=t.useDebugValue;return Se.useSyncExternalStoreWithSelector=function(u,l,h,f,p){var g=i(null);if(g.current===null){var d={hasValue:!1,value:null};g.current=d}else d=g.current;g=o(function(){function y(S){if(!v){if(v=!0,_=S,S=f(S),p!==void 0&&d.hasValue){var b=d.value;if(p(b,S))return w=b}return w=S}if(b=w,n(_,S))return b;var P=f(S);return p!==void 0&&p(b,P)?(_=S,b):(_=S,w=P)}var v=!1,_,w,C=h===void 0?null:h;return[function(){return y(l())},C===null?void 0:function(){return y(C())}]},[l,h,f,p]);var m=r(u,g[0],g[1]);return a(function(){d.hasValue=!0,d.value=m},[m]),c(m),m},Se}var Ws;function ko(){return Ws||(Ws=1,be.exports=Io()),be.exports}var Mo=ko();function To(t,e){return t===e}function $(t,e,s=To){const n=R.useCallback(a=>{if(!t)return()=>{};const{unsubscribe:o}=t.subscribe(a);return o},[t]),r=R.useCallback(()=>t?.get(),[t]);return Mo.useSyncExternalStoreWithSelector(n,r,r,e,s)}var zs={};function Zn(t,e){const s=R.useRef();return n=>{const r=t?.select?t.select(n):n;return t?.structuralSharing??e.options.defaultStructuralSharing?s.current=it(s.current,r):r}}function ht(t){const e=U(),s=R.useContext(t.from?Ro:he),n=t.from??s,r=e.stores.getMatchStore(n),i=Zn(t,e),a=$(r,o=>o?i(o):zs);if(a!==zs)return a;(t.shouldThrow??!0)&&Je()}function tr(t){return ht({from:t.from,strict:t.strict,structuralSharing:t.structuralSharing,select:e=>t.select?t.select(e.loaderData):e.loaderData})}function er(t){const{select:e,...s}=t;return ht({...s,select:n=>e?e(n.loaderDeps):n.loaderDeps})}function sr(t){return ht({from:t.from,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,strict:t.strict,select:e=>{const s=t.strict===!1?e.params:e._strictParams;return t.select?t.select(s):s}})}function nr(t){return ht({from:t.from,strict:t.strict,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,select:e=>t.select?t.select(e.search):e.search})}function rr(t){const e=U();return R.useCallback(s=>e.navigate({...s,from:s.from??t?.from}),[t?.from,e])}function ir(t){return ht({...t,select:e=>t.select?t.select(e.context):e.context})}function we(t){const e=R.useRef(t);return Y(e.current,t,{ignoreUndefined:!1})||(e.current=t),e.current}function Fo(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Do(t,e,s){if(t?.external)return Yt(t.href,s)?void 0:t.href;if(!qo(e)&&!(typeof e!="string"||e.indexOf(":")===-1))try{return new URL(e),Yt(e,s)?void 0:e}catch{}}function Ao(t,e,s,n,r,i){if(i)return!1;if(s?.exact){if(!Ti(t.pathname,e.pathname,n))return!1}else{const a=Zt(t.pathname,n),o=Zt(e.pathname,n);if(!(a.startsWith(o)&&(a.length===o.length||a[o.length]==="/")))return!1}return(s?.includeSearch??!0)&&!Y(t.search,e.search,{partial:!s?.exact,ignoreUndefined:!s?.explicitUndefined})?!1:s?.includeHash?r&&t.hash===e.hash:!0}function jo(t,e){const s=U(),n=di(e),{activeProps:r,inactiveProps:i,activeOptions:a,to:o,preload:c,preloadDelay:u,preloadIntentProximity:l,hashScrollIntoView:h,replace:f,startTransition:p,resetScroll:g,viewTransition:d,children:m,target:y,disabled:v,style:_,className:w,onClick:C,onBlur:S,onFocus:b,onMouseEnter:P,onMouseLeave:x,onTouchStart:L,ignoreBlocker:E,params:I,search:k,hash:Rt,state:B,mask:jt,reloadDocument:na,unsafeRelative:ra,from:ia,_fromLocation:oa,...rs}=t,is=Gn(),lr=we(t.search),hr=we(t.params),os=we(a),_t=R.useMemo(()=>t,[s,t.from,t._fromLocation,t.hash,t.to,lr,hr,t.state,t.mask,t.unsafeRelative]),fr=R.useCallback(D=>{const H=s.buildLocation({_fromLocation:D,..._t}),xt=No(H.maskedLocation?H.maskedLocation.publicHref:H.publicHref,H.maskedLocation?H.maskedLocation.external:H.external,s.history,v),hs=Do(xt,o,s.protocolAllowlist);return[xt?.href,hs,Ao(D,H,os,s.basepath,is,hs!==void 0)]},[os,v,is,_t,s,o]),[dr,de,pe]=$(s.stores.location,fr,Fo),Qt=pe?wt(r,{})??Qo:Pe,Ut=pe?Pe:wt(i,{})??Pe,as=[w,Qt.className,Ut.className].filter(Boolean).join(" "),cs=(_||Qt.style||Ut.style)&&{..._,...Qt.style,...Ut.style},us=R.useRef(!1),st=t.reloadDocument||de||v?!1:c??s.options.defaultPreload,ge=u??s.options.defaultPreloadDelay??0,ft=R.useCallback(()=>{s.preloadRoute(_t).catch(D=>{console.warn(D),console.warn(yo)})},[s,_t]),me=R.useCallback(D=>{if(!D){Re(n);return}if(!(D.isIntersecting??st==="intent")){D.isIntersecting===!1&&Re(n);return}if(!ge){ft();return}Et.has(n)||Et.set(n,setTimeout(()=>{Et.delete(n),ft()},ge))},[ft,n,st,ge]);fi(n,me,st!=="viewport"),R.useEffect(()=>{us.current||st==="render"&&(ft(),us.current=!0)},[ft,st]);const pr=D=>{const H=D.currentTarget.getAttribute("target"),xt=y!==void 0?y:H;!v&&!Ko(D)&&!D.defaultPrevented&&(!xt||xt==="_self")&&D.button===0&&(D.preventDefault(),s.navigate({..._t,replace:f,resetScroll:g,hashScrollIntoView:h,startTransition:p,viewTransition:d,ignoreBlocker:E}))};if(de)return{...rs,ref:n,href:de,...m&&{children:m},...y&&{target:y},...v&&{disabled:v},..._&&{style:_},...w&&{className:w},...C&&{onClick:C},...S&&{onBlur:S},...b&&{onFocus:b},...P&&{onMouseEnter:P},...x&&{onMouseLeave:x},...L&&{onTouchStart:L}};const gr=()=>{st==="intent"&&ft()},ls=()=>{st==="intent"&&Re(n)};return{...rs,...Qt,...Ut,href:dr,ref:n,onClick:dt([C,pr]),onBlur:dt([S,ls]),onFocus:dt([b,me]),onMouseEnter:dt([P,me]),onMouseLeave:dt([x,ls]),onTouchStart:dt([L,gr]),disabled:!!v,target:y,...cs&&{style:cs},...as&&{className:as},...v&&Uo,...pe&&Bo}}var Pe={},Qo={className:"active"},Uo={role:"link","aria-disabled":!0},Bo={"data-status":"active","aria-current":"page"},Et=new WeakMap,Re=t=>{clearTimeout(Et.get(t)),Et.delete(t)},dt=t=>e=>{for(const s of t)if(s){if(e.defaultPrevented)return;s(e)}};function No(t,e,s,n){if(!n)return e?{href:t,external:!0}:{href:s.createHref(t)||"/",external:!1}}function qo(t){if(typeof t!="string")return!1;const e=t.charCodeAt(0);return e===47?t.charCodeAt(1)!==47:e===46}var or=R.forwardRef((t,e)=>{const{_asChild:s,...n}=t,{type:r,...i}=jo(n,e),a=typeof n.children=="function"?n.children({isActive:i["data-status"]==="active"}):n.children;if(!s){const{disabled:o,...c}=i;return R.createElement("a",c,a)}return R.createElement(s,i,a)});function Ko(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}var Ho=class extends Vn{constructor(t){super(t),this.useMatch=e=>ht({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>ir({...e,from:this.id}),this.useSearch=e=>nr({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>sr({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>er({...e,from:this.id}),this.useLoaderData=e=>tr({...e,from:this.id}),this.useNavigate=()=>rr({from:this.fullPath}),this.Link=ne.forwardRef((e,s)=>O.jsx(or,{ref:s,from:this.fullPath,...e}))}};function ua(t){return new Ho(t)}var Wo=class extends vo{constructor(t){super(t),this.useMatch=e=>ht({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>ir({...e,from:this.id}),this.useSearch=e=>nr({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>sr({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>er({...e,from:this.id}),this.useLoaderData=e=>tr({...e,from:this.id}),this.useNavigate=()=>rr({from:this.fullPath}),this.Link=ne.forwardRef((e,s)=>O.jsx(or,{ref:s,from:this.fullPath,...e}))}};function la(t){return new Wo(t)}function zo(t){const e=U(),s=`not-found-${$(e.stores.location,n=>n.pathname)}-${$(e.stores.status,n=>n)}`;return O.jsx(ns,{getResetKey:()=>s,onCatch:(n,r)=>{if(at(n))t.onCatch?.(n,r);else throw n},errorComponent:({error:n})=>{if(at(n))return t.fallback?.(n);throw n},children:t.children})}function $o(){return O.jsx("p",{children:"Not Found"})}function gt(t){return O.jsx(O.Fragment,{children:t.children})}function ar(t,e,s){return e.options.notFoundComponent?O.jsx(e.options.notFoundComponent,{...s}):t.options.defaultNotFoundComponent?O.jsx(t.options.defaultNotFoundComponent,{...s}):O.jsx($o,{})}function fe(t,e){const s=e?.options.pendingComponent??t.options.defaultPendingComponent;return s?O.jsx(s,{}):null}var Vo=(t,e)=>t[0]===e[0]&&t[1]===e[1],cr=R.memo(function({routeId:e}){const s=U();return O.jsx(Go,{router:s,match:$(s.stores.getMatchStore(e),n=>n)})});function Go({router:t,match:e}){const s=t.routesById[e.routeId],n=fe(t,s),r=s.options.errorComponent??t.options.defaultErrorComponent,i=s.options.onCatch??t.options.defaultOnCatch,a=s.isRoot?s.options.notFoundComponent??t.options.notFoundRoute?.options.component:s.options.notFoundComponent,o=e.ssr===!1||e.ssr==="data-only",c=s.options.wrapInSuspense??n??(s.options.errorComponent?.preload||o)?R.Suspense:gt,u=r?ns:gt,l=a?zo:gt;return O.jsxs(s.isRoot?s.options.shellComponent??gt:gt,{children:[O.jsx(he.Provider,{value:e.routeId,children:O.jsx(c,{fallback:n,children:O.jsx(u,{getResetKey:()=>e,errorComponent:r,onCatch:(h,f)=>{if(at(h))throw h.routeId??=e.routeId,h;i?.(h,f)},children:O.jsx(l,{fallback:h=>{if(h.routeId??=e.routeId,h.routeId!==e.routeId)throw h;return R.createElement(a,h)},children:o?O.jsx(wo,{fallback:n,children:O.jsx($s,{match:e})}):O.jsx($s,{match:e})})})})}),null]})}var $s=R.memo(function({match:e}){const s=U(),n=e.routeId,r=s.routesById[n],i=R.useMemo(()=>{const o=(r.options.remountDeps??s.options.defaultRemountDeps)?.({routeId:n,loaderDeps:e.loaderDeps,params:e._strictParams,search:e._strictSearch});return o?JSON.stringify(o):void 0},[n,e.loaderDeps,e._strictParams,e._strictSearch,r.options.remountDeps,s.options.defaultRemountDeps]),a=R.useMemo(()=>{const o=r.options.component??s.options.defaultComponent;return o?O.jsx(o,{},i):O.jsx(Jo,{})},[i,r.options.component,s.options.defaultComponent]);if(e.status==="pending"){if(s._tx)throw s._tx[5];return fe(s,r)}if(e.status==="notFound")return ar(s,r,e.error);if(e.status==="error")throw e.error;return a}),Jo=R.memo(function(){const e=U(),s=R.useContext(he);let n,r,i;{const o=e.stores.getMatchStore(s);[n,r]=$(o,c=>[!!c._notFound,c.error],Vo),i=$(e.stores.ids,c=>c[c.indexOf(s)+1])}if(n)return ar(e,e.routesById[s],r);if(!i)return null;const a=O.jsx(cr,{routeId:i});return s===yt?O.jsx(R.Suspense,{fallback:fe(e),children:a}):a});function ur(t,e){const s=t[1];t.length=0,s?.(e)}function Yo({t}){const e=U(),s=e._rendered??=[];return e.startTransition=(n,r)=>new Promise((i,a)=>{ur(s,!1),s.push(r,i),t(e),R.startTransition(()=>{try{n()}catch(o){s[1]===i&&(s.length=0),a(o)}})}),xn(()=>{const n=e.history.subscribe(e.load);e.updateLatestLocation();const r=e.latestLocation,i=e.buildLocation({to:r.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(W(r.publicHref)!==W(i.publicHref))return e.commitLocation({...i,replace:!0,ignoreBlocker:!0}),n;const a=e.stores.resolvedLocation.get();return a?.href===r.href&&a.state.__TSR_key===r.state.__TSR_key?s.push(e.stores.matches.get(),o=>{o&&e.emit({type:"onRendered",...ue(a,a)})}):e._tx||e.load().catch(console.error),n},[e,e.history]),null}function Xo(){const t=U(),e=t.routesById[yt],s=fe(t,e),n=t.ssr?gt:R.Suspense,r=O.jsxs(O.Fragment,{children:[O.jsx(Yo,{t:R.useState()[1]}),O.jsx(n,{fallback:s,children:O.jsx(Zo,{})})]});return t.options.InnerWrap?O.jsx(t.options.InnerWrap,{children:r}):r}function Zo(){const t=U(),e=t._rendered,s=$(t.stores.matches,a=>e[0]??a),n=s[0],r=n?.routeId;xn(()=>{e[0]===s&&ur(e,!0)},[e,s]);const i=r?O.jsx(cr,{routeId:r}):null;return O.jsx(he.Provider,{value:r,children:t.options.disableGlobalCatchBoundary?i:O.jsx(ns,{getResetKey:()=>n,onCatch:void 0,children:i})})}var ta=t=>({createMutableStore:Ks,createReadonlyStore:Ks,batch:Eo}),ha=t=>new ea(t),ea=class extends ro{constructor(t){super(t,ta)}};function sa({router:t,children:e,...s}){On(s)&&t.update({...t.options,...s,context:{...t.options.context,...s.context}});const n=O.jsx(Jn.Provider,{value:t,children:e});return t.options.Wrap?O.jsx(t.options.Wrap,{children:n}):n}function fa({router:t,...e}){return O.jsx(sa,{router:t,...e,children:O.jsx(Xo,{})})}function da(t){const e=U();return $(e.stores.location,Zn(t,e))}export{or as L,Jo as O,$r as Q,fa as R,da as a,rr as b,sr as c,ha as d,la as e,ua as f,K as g,qr as h,ca as r,Yr as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as C,i as qe}from"./react-Dh7j6h1K.js";var He=Object.defineProperty,ce=(e,t)=>He(e,"name",{value:t,configurable:!0});function ae(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}ce(ae,"setRef");function Ae(...e){return t=>{let o=!1;const r=e.map(n=>{const l=ae(n,t);return!o&&typeof l=="function"&&(o=!0),l});if(o)return()=>{for(let n=0;n<r.length;n++){const l=r[n];typeof l=="function"?l():ae(e[n],null)}}}}ce(Ae,"composeRefs");function Ee(...e){return C.useCallback(Ae(...e),e)}ce(Ee,"useComposedRefs");var Xe=Object.defineProperty,A=(e,t)=>Xe(e,"name",{value:t,configurable:!0});function de(e){const t=C.forwardRef((o,r)=>{let{children:n,...l}=o,s=null,p=!1;const c=[];ie(n)&&typeof J=="function"&&(n=J(n._payload)),C.Children.forEach(n,w=>{if(Me(w)){p=!0;const S=w;let z="child"in S.props?S.props.child:S.props.children;ie(z)&&typeof J=="function"&&(z=J(z._payload)),s=Je(S,z),c.push(s?.props?.children)}else c.push(w)}),s?s=C.cloneElement(s,void 0,c):!p&&C.Children.count(n)===1&&C.isValidElement(n)&&(s=n);const f=s?_e(s):void 0,b=Ee(r,f);if(!s){if(n||n===0)throw new Error(p?eo(e):Qe(e));return n}const x=Ie(l,s.props??{});return s.type!==C.Fragment&&(x.ref=r?b:f),C.cloneElement(s,x)});return t.displayName=`${e}.Slot`,t}A(de,"createSlot");var ke=de("Slot"),Pe=Symbol.for("radix.slottable");function me(e){const t=A(o=>"child"in o?o.children(o.child):o.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Pe,t}A(me,"createSlottable");var Ze=me("Slottable"),Je=A((e,t)=>{if("child"in e.props){const o=e.props.child;return C.isValidElement(o)?C.cloneElement(o,void 0,e.props.children(o.props.children)):null}return C.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function Ie(e,t){const o={...t};for(const r in t){const n=e[r],l=t[r];/^on[A-Z]/.test(r)?n&&l?o[r]=(...p)=>{const c=l(...p);return n(...p),c}:n&&(o[r]=n):r==="style"?o[r]={...n,...l}:r==="className"&&(o[r]=[n,l].filter(Boolean).join(" "))}return{...e,...o}}A(Ie,"mergeProps");function _e(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}A(_e,"getElementRef");function Me(e){return C.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Pe}A(Me,"isSlottable");var Ke=Symbol.for("react.lazy");function ie(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Ke&&"_payload"in e&&Te(e._payload)}A(ie,"isLazyComponent");function Te(e){return typeof e=="object"&&e!==null&&"then"in e}A(Te,"isPromiseLike");var Qe=A(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),eo=A(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),J=qe[" use ".trim().toString()];const Yo=Object.freeze(Object.defineProperty({__proto__:null,Root:ke,Slot:ke,Slottable:Ze,createSlot:de,createSlottable:me},Symbol.toStringTag,{value:"Module"}));function Oe(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Oe(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function oo(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Oe(e))&&(r&&(r+=" "),r+=t);return r}const to=(e,t)=>{const o=new Array(e.length+t.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let r=0;r<t.length;r++)o[e.length+r]=t[r];return o},ro=(e,t)=>({classGroupId:e,validator:t}),je=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),ee="-",ve=[],no="arbitrary..",so=e=>{const t=io(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return ao(s);const p=s.split(ee),c=p[0]===""&&p.length>1?1:0;return Ge(p,c,t)},getConflictingClassGroupIds:(s,p)=>{if(p){const c=r[s],f=o[s];return c?f?to(f,c):c:f||ve}return o[s]||ve}}},Ge=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const n=e[t],l=o.nextPart.get(n);if(l){const f=Ge(e,t+1,l);if(f)return f}const s=o.validators;if(s===null)return;const p=t===0?e.join(ee):e.slice(t).join(ee),c=s.length;for(let f=0;f<c;f++){const b=s[f];if(b.validator(p))return b.classGroupId}},ao=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),r=t.slice(0,o);return r?no+r:void 0})(),io=e=>{const{theme:t,classGroups:o}=e;return lo(o,t)},lo=(e,t)=>{const o=je();for(const r in e){const n=e[r];pe(n,o,r,t)}return o},pe=(e,t,o,r)=>{const n=e.length;for(let l=0;l<n;l++){const s=e[l];co(s,t,o,r)}},co=(e,t,o,r)=>{if(typeof e=="string"){mo(e,t,o);return}if(typeof e=="function"){po(e,t,o,r);return}uo(e,t,o,r)},mo=(e,t,o)=>{const r=e===""?t:Le(t,e);r.classGroupId=o},po=(e,t,o,r)=>{if(fo(e)){pe(e(r),t,o,r);return}t.validators===null&&(t.validators=[]),t.validators.push(ro(o,e))},uo=(e,t,o,r)=>{const n=Object.entries(e),l=n.length;for(let s=0;s<l;s++){const[p,c]=n[s];pe(c,Le(t,p),o,r)}},Le=(e,t)=>{let o=e;const r=t.split(ee),n=r.length;for(let l=0;l<n;l++){const s=r[l];let p=o.nextPart.get(s);p||(p=je(),o.nextPart.set(s,p)),o=p}return o},fo=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,bo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),r=Object.create(null);const n=(l,s)=>{o[l]=s,t++,t>e&&(t=0,r=o,o=Object.create(null))};return{get(l){let s=o[l];if(s!==void 0)return s;if((s=r[l])!==void 0)return n(l,s),s},set(l,s){l in o?o[l]=s:n(l,s)}}},le="!",Se=":",go=[],ze=(e,t,o,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:r,isExternal:n}),ho=e=>{const{prefix:t,experimentalParseClassName:o}=e;let r=n=>{const l=[];let s=0,p=0,c=0,f;const b=n.length;for(let R=0;R<b;R++){const k=n[R];if(s===0&&p===0){if(k===Se){l.push(n.slice(c,R)),c=R+1;continue}if(k==="/"){f=R;continue}}k==="["?s++:k==="]"?s--:k==="("?p++:k===")"&&p--}const x=l.length===0?n:n.slice(c);let w=x,S=!1;x.endsWith(le)?(w=x.slice(0,-1),S=!0):x.startsWith(le)&&(w=x.slice(1),S=!0);const z=f&&f>c?f-c:void 0;return ze(l,S,w,z)};if(t){const n=t+Se,l=r;r=s=>s.startsWith(n)?l(s.slice(n.length)):ze(go,!1,s,void 0,!0)}if(o){const n=r;r=l=>o({className:l,parseClassName:n})}return r},yo=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,r)=>{t.set(o,1e6+r)}),o=>{const r=[];let n=[];for(let l=0;l<o.length;l++){const s=o[l],p=s[0]==="[",c=t.has(s);p||c?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(s)):n.push(s)}return n.length>0&&(n.sort(),r.push(...n)),r}},xo=e=>({cache:bo(e.cacheSize),parseClassName:ho(e),sortModifiers:yo(e),...so(e)}),wo=/\s+/,ko=(e,t)=>{const{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:l}=t,s=[],p=e.trim().split(wo);let c="";for(let f=p.length-1;f>=0;f-=1){const b=p[f],{isExternal:x,modifiers:w,hasImportantModifier:S,baseClassName:z,maybePostfixModifierPosition:R}=o(b);if(x){c=b+(c.length>0?" "+c:c);continue}let k=!!R,M=r(k?z.substring(0,R):z);if(!M){if(!k){c=b+(c.length>0?" "+c:c);continue}if(M=r(z),!M){c=b+(c.length>0?" "+c:c);continue}k=!1}const U=w.length===0?"":w.length===1?w[0]:l(w).join(":"),W=S?U+le:U,G=W+M;if(s.indexOf(G)>-1)continue;s.push(G);const L=n(M,k);for(let T=0;T<L.length;++T){const B=L[T];s.push(W+B)}c=b+(c.length>0?" "+c:c)}return c},vo=(...e)=>{let t=0,o,r,n="";for(;t<e.length;)(o=e[t++])&&(r=Ve(o))&&(n&&(n+=" "),n+=r);return n},Ve=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Ve(e[r]))&&(o&&(o+=" "),o+=t);return o},So=(e,...t)=>{let o,r,n,l;const s=c=>{const f=t.reduce((b,x)=>x(b),e());return o=xo(f),r=o.cache.get,n=o.cache.set,l=p,p(c)},p=c=>{const f=r(c);if(f)return f;const b=ko(c,o);return n(c,b),b};return l=s,(...c)=>l(vo(...c))},zo=[],g=e=>{const t=o=>o[e]||zo;return t.isThemeGetter=!0,t},Ne=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Fe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Co=/^\d+\/\d+$/,Ro=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ao=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Eo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Po=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Io=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>Co.test(e),u=e=>!!e&&!Number.isNaN(Number(e)),_=e=>!!e&&Number.isInteger(Number(e)),ne=e=>e.endsWith("%")&&u(e.slice(0,-1)),I=e=>Ro.test(e),_o=()=>!0,Mo=e=>Ao.test(e)&&!Eo.test(e),$e=()=>!1,To=e=>Po.test(e),Oo=e=>Io.test(e),jo=e=>!a(e)&&!i(e),Go=e=>F(e,De,$e),a=e=>Ne.test(e),j=e=>F(e,Ue,Mo),se=e=>F(e,$o,u),Ce=e=>F(e,We,$e),Lo=e=>F(e,Be,Oo),K=e=>F(e,Ye,To),i=e=>Fe.test(e),D=e=>$(e,Ue),Vo=e=>$(e,Wo),Re=e=>$(e,We),No=e=>$(e,De),Fo=e=>$(e,Be),Q=e=>$(e,Ye,!0),F=(e,t,o)=>{const r=Ne.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},$=(e,t,o=!1)=>{const r=Fe.exec(e);return r?r[1]?t(r[1]):o:!1},We=e=>e==="position"||e==="percentage",Be=e=>e==="image"||e==="url",De=e=>e==="length"||e==="size"||e==="bg-size",Ue=e=>e==="length",$o=e=>e==="number",Wo=e=>e==="family-name",Ye=e=>e==="shadow",Bo=()=>{const e=g("color"),t=g("font"),o=g("text"),r=g("font-weight"),n=g("tracking"),l=g("leading"),s=g("breakpoint"),p=g("container"),c=g("spacing"),f=g("radius"),b=g("shadow"),x=g("inset-shadow"),w=g("text-shadow"),S=g("drop-shadow"),z=g("blur"),R=g("perspective"),k=g("aspect"),M=g("ease"),U=g("animate"),W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...G(),i,a],T=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],m=()=>[i,a,c],E=()=>[N,"full","auto",...m()],ue=()=>[_,"none","subgrid",i,a],fe=()=>["auto",{span:["full",_,i,a]},_,i,a],Y=()=>[_,"auto",i,a],be=()=>["auto","min","max","fr",i,a],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...m()],O=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],d=()=>[e,i,a],ge=()=>[...G(),Re,Ce,{position:[i,a]}],he=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ye=()=>["auto","cover","contain",No,Go,{size:[i,a]}],te=()=>[ne,D,j],y=()=>["","none","full",f,i,a],v=()=>["",u,D,j],q=()=>["solid","dashed","dotted","double"],xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],h=()=>[u,ne,Re,Ce],we=()=>["","none",z,i,a],H=()=>["none",u,i,a],X=()=>["none",u,i,a],re=()=>[u,i,a],Z=()=>[N,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[I],breakpoint:[I],color:[_o],container:[I],"drop-shadow":[I],ease:["in","out","in-out"],font:[jo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[I],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[I],shadow:[I],spacing:["px",u],text:[I],"text-shadow":[I],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,a,i,k]}],container:["container"],columns:[{columns:[u,a,i,p]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:L()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[_,"auto",i,a]}],basis:[{basis:[N,"full","auto",p,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[u,N,"auto","initial","none",a]}],grow:[{grow:["",u,i,a]}],shrink:[{shrink:["",u,i,a]}],order:[{order:[_,"first","last","none",i,a]}],"grid-cols":[{"grid-cols":ue()}],"col-start-end":[{col:fe()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":ue()}],"row-start-end":[{row:fe()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":be()}],"auto-rows":[{"auto-rows":be()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[p,"screen",...O()]}],"min-w":[{"min-w":[p,"screen","none",...O()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[s]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",o,D,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,i,se]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ne,a]}],"font-family":[{font:[Vo,a,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,i,a]}],"line-clamp":[{"line-clamp":[u,"none",i,se]}],leading:[{leading:[l,...m()]}],"list-image":[{"list-image":["none",i,a]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",i,a]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:d()}],"text-color":[{text:d()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:[u,"from-font","auto",i,j]}],"text-decoration-color":[{decoration:d()}],"underline-offset":[{"underline-offset":[u,"auto",i,a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i,a]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i,a]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ge()}],"bg-repeat":[{bg:he()}],"bg-size":[{bg:ye()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_,i,a],radial:["",i,a],conic:[_,i,a]},Fo,Lo]}],"bg-color":[{bg:d()}],"gradient-from-pos":[{from:te()}],"gradient-via-pos":[{via:te()}],"gradient-to-pos":[{to:te()}],"gradient-from":[{from:d()}],"gradient-via":[{via:d()}],"gradient-to":[{to:d()}],rounded:[{rounded:y()}],"rounded-s":[{"rounded-s":y()}],"rounded-e":[{"rounded-e":y()}],"rounded-t":[{"rounded-t":y()}],"rounded-r":[{"rounded-r":y()}],"rounded-b":[{"rounded-b":y()}],"rounded-l":[{"rounded-l":y()}],"rounded-ss":[{"rounded-ss":y()}],"rounded-se":[{"rounded-se":y()}],"rounded-ee":[{"rounded-ee":y()}],"rounded-es":[{"rounded-es":y()}],"rounded-tl":[{"rounded-tl":y()}],"rounded-tr":[{"rounded-tr":y()}],"rounded-br":[{"rounded-br":y()}],"rounded-bl":[{"rounded-bl":y()}],"border-w":[{border:v()}],"border-w-x":[{"border-x":v()}],"border-w-y":[{"border-y":v()}],"border-w-s":[{"border-s":v()}],"border-w-e":[{"border-e":v()}],"border-w-t":[{"border-t":v()}],"border-w-r":[{"border-r":v()}],"border-w-b":[{"border-b":v()}],"border-w-l":[{"border-l":v()}],"divide-x":[{"divide-x":v()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":v()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...q(),"hidden","none"]}],"divide-style":[{divide:[...q(),"hidden","none"]}],"border-color":[{border:d()}],"border-color-x":[{"border-x":d()}],"border-color-y":[{"border-y":d()}],"border-color-s":[{"border-s":d()}],"border-color-e":[{"border-e":d()}],"border-color-t":[{"border-t":d()}],"border-color-r":[{"border-r":d()}],"border-color-b":[{"border-b":d()}],"border-color-l":[{"border-l":d()}],"divide-color":[{divide:d()}],"outline-style":[{outline:[...q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[u,i,a]}],"outline-w":[{outline:["",u,D,j]}],"outline-color":[{outline:d()}],shadow:[{shadow:["","none",b,Q,K]}],"shadow-color":[{shadow:d()}],"inset-shadow":[{"inset-shadow":["none",x,Q,K]}],"inset-shadow-color":[{"inset-shadow":d()}],"ring-w":[{ring:v()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:d()}],"ring-offset-w":[{"ring-offset":[u,j]}],"ring-offset-color":[{"ring-offset":d()}],"inset-ring-w":[{"inset-ring":v()}],"inset-ring-color":[{"inset-ring":d()}],"text-shadow":[{"text-shadow":["none",w,Q,K]}],"text-shadow-color":[{"text-shadow":d()}],opacity:[{opacity:[u,i,a]}],"mix-blend":[{"mix-blend":[...xe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":xe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[u]}],"mask-image-linear-from-pos":[{"mask-linear-from":h()}],"mask-image-linear-to-pos":[{"mask-linear-to":h()}],"mask-image-linear-from-color":[{"mask-linear-from":d()}],"mask-image-linear-to-color":[{"mask-linear-to":d()}],"mask-image-t-from-pos":[{"mask-t-from":h()}],"mask-image-t-to-pos":[{"mask-t-to":h()}],"mask-image-t-from-color":[{"mask-t-from":d()}],"mask-image-t-to-color":[{"mask-t-to":d()}],"mask-image-r-from-pos":[{"mask-r-from":h()}],"mask-image-r-to-pos":[{"mask-r-to":h()}],"mask-image-r-from-color":[{"mask-r-from":d()}],"mask-image-r-to-color":[{"mask-r-to":d()}],"mask-image-b-from-pos":[{"mask-b-from":h()}],"mask-image-b-to-pos":[{"mask-b-to":h()}],"mask-image-b-from-color":[{"mask-b-from":d()}],"mask-image-b-to-color":[{"mask-b-to":d()}],"mask-image-l-from-pos":[{"mask-l-from":h()}],"mask-image-l-to-pos":[{"mask-l-to":h()}],"mask-image-l-from-color":[{"mask-l-from":d()}],"mask-image-l-to-color":[{"mask-l-to":d()}],"mask-image-x-from-pos":[{"mask-x-from":h()}],"mask-image-x-to-pos":[{"mask-x-to":h()}],"mask-image-x-from-color":[{"mask-x-from":d()}],"mask-image-x-to-color":[{"mask-x-to":d()}],"mask-image-y-from-pos":[{"mask-y-from":h()}],"mask-image-y-to-pos":[{"mask-y-to":h()}],"mask-image-y-from-color":[{"mask-y-from":d()}],"mask-image-y-to-color":[{"mask-y-to":d()}],"mask-image-radial":[{"mask-radial":[i,a]}],"mask-image-radial-from-pos":[{"mask-radial-from":h()}],"mask-image-radial-to-pos":[{"mask-radial-to":h()}],"mask-image-radial-from-color":[{"mask-radial-from":d()}],"mask-image-radial-to-color":[{"mask-radial-to":d()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":G()}],"mask-image-conic-pos":[{"mask-conic":[u]}],"mask-image-conic-from-pos":[{"mask-conic-from":h()}],"mask-image-conic-to-pos":[{"mask-conic-to":h()}],"mask-image-conic-from-color":[{"mask-conic-from":d()}],"mask-image-conic-to-color":[{"mask-conic-to":d()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ge()}],"mask-repeat":[{mask:he()}],"mask-size":[{mask:ye()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",i,a]}],filter:[{filter:["","none",i,a]}],blur:[{blur:we()}],brightness:[{brightness:[u,i,a]}],contrast:[{contrast:[u,i,a]}],"drop-shadow":[{"drop-shadow":["","none",S,Q,K]}],"drop-shadow-color":[{"drop-shadow":d()}],grayscale:[{grayscale:["",u,i,a]}],"hue-rotate":[{"hue-rotate":[u,i,a]}],invert:[{invert:["",u,i,a]}],saturate:[{saturate:[u,i,a]}],sepia:[{sepia:["",u,i,a]}],"backdrop-filter":[{"backdrop-filter":["","none",i,a]}],"backdrop-blur":[{"backdrop-blur":we()}],"backdrop-brightness":[{"backdrop-brightness":[u,i,a]}],"backdrop-contrast":[{"backdrop-contrast":[u,i,a]}],"backdrop-grayscale":[{"backdrop-grayscale":["",u,i,a]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u,i,a]}],"backdrop-invert":[{"backdrop-invert":["",u,i,a]}],"backdrop-opacity":[{"backdrop-opacity":[u,i,a]}],"backdrop-saturate":[{"backdrop-saturate":[u,i,a]}],"backdrop-sepia":[{"backdrop-sepia":["",u,i,a]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",i,a]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[u,"initial",i,a]}],ease:[{ease:["linear","initial",M,i,a]}],delay:[{delay:[u,i,a]}],animate:[{animate:["none",U,i,a]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[R,i,a]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:H()}],"rotate-x":[{"rotate-x":H()}],"rotate-y":[{"rotate-y":H()}],"rotate-z":[{"rotate-z":H()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:re()}],"skew-x":[{"skew-x":re()}],"skew-y":[{"skew-y":re()}],transform:[{transform:[i,a,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Z()}],"translate-x":[{"translate-x":Z()}],"translate-y":[{"translate-y":Z()}],"translate-z":[{"translate-z":Z()}],"translate-none":["translate-none"],accent:[{accent:d()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:d()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i,a]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i,a]}],fill:[{fill:["none",...d()]}],"stroke-w":[{stroke:[u,D,j,se]}],stroke:[{stroke:["none",...d()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Do=So(Bo);function qo(...e){return Do(oo(e))}export{ke as S,qo as a,me as b,de as c,oo as d,Yo as i,Ee as u};
|