@marimo-team/frontend 0.19.8-dev5 → 0.19.8-dev7

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.
Files changed (273) hide show
  1. package/dist/assets/{CellStatus-CTtb89yx.js → CellStatus-DbwQRhK0.js} +1 -1
  2. package/dist/assets/{Combination-C_mRvd_Z.js → Combination-izwufzWe.js} +1 -1
  3. package/dist/assets/{ConnectedDataExplorerComponent-CX7YQX42.js → ConnectedDataExplorerComponent-B098edeX.js} +1 -1
  4. package/dist/assets/{DeferredRequestRegistry-CO2AyNfd.js → DeferredRequestRegistry-tv0PqJZ0.js} +1 -1
  5. package/dist/assets/{ErrorBoundary-ChCiwl15.js → ErrorBoundary-B9Ifj8Jf.js} +1 -1
  6. package/dist/assets/{ImageComparisonComponent-BVBGmVcA.js → ImageComparisonComponent-BVXYpigZ.js} +1 -1
  7. package/dist/assets/{ImperativeModal-CKeCkc1k.js → ImperativeModal-DZr52ffu.js} +1 -1
  8. package/dist/assets/{Inputs-CBxLLWdV.js → Inputs-CbenuziM.js} +1 -1
  9. package/dist/assets/{JsonOutput-BTBD86gT.js → JsonOutput-DT5cq5VJ.js} +3 -3
  10. package/dist/assets/{LazyAnyLanguageCodeMirror-Be7SB10I.js → LazyAnyLanguageCodeMirror-CQP8KZWO.js} +2 -2
  11. package/dist/assets/{MarimoErrorOutput-DuaUr0W-.js → MarimoErrorOutput-lr6vqAph.js} +1 -1
  12. package/dist/assets/{RenderHTML-IBhB_MjX.js → RenderHTML-hMZtS42w.js} +1 -1
  13. package/dist/assets/{SSRProvider-DBS9qs3r.js → SSRProvider-DrpctNAg.js} +1 -1
  14. package/dist/assets/__vite-browser-external-D-ioOGDE.js +1 -0
  15. package/dist/assets/__vite-browser-external-DBckR0WR.js +1 -0
  16. package/dist/assets/{add-cell-with-ai-DsiiVErB.js → add-cell-with-ai-DdyvzMmu.js} +2 -2
  17. package/dist/assets/{add-database-form-B1frIn24.js → add-database-form-CUZKNC1e.js} +1 -1
  18. package/dist/assets/{agent-panel-B_Ur2utx.js → agent-panel-BcW46iQe.js} +1 -1
  19. package/dist/assets/{ai-model-dropdown-Dix8JIRc.js → ai-model-dropdown-C_Fhvna-.js} +1 -1
  20. package/dist/assets/{alert-adkp2Qj8.js → alert-BOoN6gJ1.js} +1 -1
  21. package/dist/assets/{alert-dialog-CordKci7.js → alert-dialog-Ctz24SMn.js} +1 -1
  22. package/dist/assets/{any-language-editor-Z9d2XKUM.js → any-language-editor-B1WBkbF4.js} +1 -1
  23. package/dist/assets/{app-config-button-CYFJH9oz.js → app-config-button-BqV8GA-q.js} +1 -1
  24. package/dist/assets/{architectureDiagram-VXUJARFQ-B-zQV2Ro.js → architectureDiagram-VXUJARFQ-BsTgqTsh.js} +1 -1
  25. package/dist/assets/{arrow-left-Cb_73j1f.js → arrow-left-VDC1u5rq.js} +1 -1
  26. package/dist/assets/{badge-Ce8wRjuQ.js → badge-D4keL3YC.js} +1 -1
  27. package/dist/assets/{blockDiagram-VD42YOAC-B7BRAty8.js → blockDiagram-VD42YOAC-CeZonq9z.js} +1 -1
  28. package/dist/assets/{bundle.esm-B-jCcPJK.js → bundle.esm-CBAPjfrh.js} +1 -1
  29. package/dist/assets/{button-YC1gW_kJ.js → button-CZ3Cs4qb.js} +1 -1
  30. package/dist/assets/{c4Diagram-YG6GDRKO-C5JyC9v_.js → c4Diagram-YG6GDRKO-CDPGRzUd.js} +1 -1
  31. package/dist/assets/{cache-panel-BfCxvTOh.js → cache-panel-gTIhwBeU.js} +1 -1
  32. package/dist/assets/{card-BAxUmnnT.js → card-DdlNjkEA.js} +1 -1
  33. package/dist/assets/{cell-editor-BQ5bBOiS.js → cell-editor-Uy3yV7H0.js} +14 -14
  34. package/dist/assets/{cell-link-DW0zobk9.js → cell-link-OwIbBa8Q.js} +1 -1
  35. package/dist/assets/{cells-BcMpgRWV.js → cells-DdLMh4kY.js} +2 -2
  36. package/dist/assets/channel-CUmF6tDU.js +1 -0
  37. package/dist/assets/{chart-no-axes-column-W42b2ZIs.js → chart-no-axes-column-qvVRjhv1.js} +1 -1
  38. package/dist/assets/{chat-components-BpIX7pUp.js → chat-components-jnrAy95o.js} +1 -1
  39. package/dist/assets/{chat-display-CVXM0cmr.js → chat-display-rXqWwmbx.js} +1 -1
  40. package/dist/assets/{chat-panel-FiDMP_Qr.js → chat-panel-ims98I-K.js} +1 -1
  41. package/dist/assets/check-Dr3SxUsb.js +1 -0
  42. package/dist/assets/{chevron-right-DwagBitu.js → chevron-right--18M_6o9.js} +1 -1
  43. package/dist/assets/{chunk-5FQGJX7Z-Bmb7yu_c.js → chunk-5FQGJX7Z-CwvgJCug.js} +3 -3
  44. package/dist/assets/{chunk-ABZYJK2D-Coo5qi7b.js → chunk-ABZYJK2D-CtRGq-db.js} +2 -2
  45. package/dist/assets/{chunk-ATLVNIR6-C0ULYreM.js → chunk-ATLVNIR6-CXEe2jMF.js} +1 -1
  46. package/dist/assets/{chunk-B4BG7PRW-D6Q5lT5Z.js → chunk-B4BG7PRW-BVqt-NSK.js} +1 -1
  47. package/dist/assets/{chunk-DI55MBZ5-BUUtkB-8.js → chunk-DI55MBZ5-C_mlVJmb.js} +1 -1
  48. package/dist/assets/{chunk-EXTU4WIE-DQy5cN5X.js → chunk-EXTU4WIE-CN3BqsR0.js} +1 -1
  49. package/dist/assets/{chunk-JA3XYJ7Z-99Y1UR46.js → chunk-JA3XYJ7Z-B5-JYmoA.js} +1 -1
  50. package/dist/assets/{chunk-JZLCHNYA-DRGkEV50.js → chunk-JZLCHNYA-UFlatyc1.js} +1 -1
  51. package/dist/assets/{chunk-N4CR4FBY-DHFG9ldR.js → chunk-N4CR4FBY-BFF_Z7sG.js} +2 -2
  52. package/dist/assets/{chunk-QN33PNHL-DB8FgLRd.js → chunk-QN33PNHL-DOgXIePg.js} +1 -1
  53. package/dist/assets/{chunk-QXUST7PY-_zxuSm7L.js → chunk-QXUST7PY-CbBaWlhv.js} +1 -1
  54. package/dist/assets/{chunk-S3R3BYOJ-PVCoxQeQ.js → chunk-S3R3BYOJ-CM-pQ0EF.js} +1 -1
  55. package/dist/assets/{chunk-TZMSLE5B-KYGSDxPK.js → chunk-TZMSLE5B-Bs5ERkTF.js} +1 -1
  56. package/dist/assets/{circle-check-C57eOpl0.js → circle-check-DquVD4wZ.js} +1 -1
  57. package/dist/assets/{circle-play-BuOtSgid.js → circle-play-EowqxNIC.js} +1 -1
  58. package/dist/assets/{circle-plus-CnWl9uZo.js → circle-plus-haI9GLDP.js} +1 -1
  59. package/dist/assets/classDiagram-2ON5EDUG-DLI68D-F.js +1 -0
  60. package/dist/assets/classDiagram-v2-WZHVMYZB-yfw4NTdf.js +1 -0
  61. package/dist/assets/{clear-button-CF0iBcV9.js → clear-button-DI7_bdOB.js} +1 -1
  62. package/dist/assets/{click-outside-container-B12FHFHm.js → click-outside-container-Npdlddni.js} +1 -1
  63. package/dist/assets/{clipboard-paste-BiDF-cqm.js → clipboard-paste-CpyPR-HZ.js} +1 -1
  64. package/dist/assets/{code-block-37QAKDTI-D5PRUB7R.js → code-block-37QAKDTI-CT7W9knZ.js} +1 -1
  65. package/dist/assets/{code-xml-XLwHyDBr.js → code-xml-CgN_Yig7.js} +1 -1
  66. package/dist/assets/{column-preview-v3J210SK.js → column-preview-DsINQLcy.js} +1 -1
  67. package/dist/assets/{command-DOzj5zu3.js → command-cs3Dd1TU.js} +1 -1
  68. package/dist/assets/{command-palette-B94wuFEk.js → command-palette-Cz8h81mi.js} +1 -1
  69. package/dist/assets/{common-DHF6uQdA.js → common-VAE3DrnP.js} +1 -1
  70. package/dist/assets/compiler-runtime-B3qBwwSJ.js +1 -0
  71. package/dist/assets/{config-C3-Nti03.js → config-D2-Bw6QC.js} +1 -1
  72. package/dist/assets/{context-CJp-B2dx.js → context-Ga_vV5mE.js} +1 -1
  73. package/dist/assets/{copy-CQ15EONK.js → copy-D-8y6iMN.js} +1 -1
  74. package/dist/assets/{copy-icon-C1fNHY3M.js → copy-icon-B9w72gBC.js} +1 -1
  75. package/dist/assets/createLucideIcon-BCdY6lG5.js +1 -0
  76. package/dist/assets/{createReducer-Dnna-AUO.js → createReducer-B3rBsy4P.js} +1 -1
  77. package/dist/assets/{dagre-6UL2VRFP-khPiqbzB.js → dagre-6UL2VRFP-UK8bracd.js} +1 -1
  78. package/dist/assets/{data-grid-overlay-editor-Ca1ELXWD.js → data-grid-overlay-editor-2vr_zUfM.js} +1 -1
  79. package/dist/assets/{database-zap-B9y7063w.js → database-zap-k4ePIFAU.js} +1 -1
  80. package/dist/assets/{datasource-BZ3O2HG1.js → datasource-BBMMxrje.js} +1 -1
  81. package/dist/assets/{dates-Cx863TsG.js → dates-CT5PUuFo.js} +1 -1
  82. package/dist/assets/{dependency-graph-panel-s45LIDec.js → dependency-graph-panel-D16tZkyM.js} +1 -1
  83. package/dist/assets/{diagram-PSM6KHXK-C7-DZLOE.js → diagram-PSM6KHXK-7QiPU-26.js} +1 -1
  84. package/dist/assets/{diagram-QEK2KX5R-Ct2_XsRV.js → diagram-QEK2KX5R-BbZsWUC4.js} +1 -1
  85. package/dist/assets/{diagram-S2PKOQOG-C82IZoPA.js → diagram-S2PKOQOG-SZ-twU4B.js} +1 -1
  86. package/dist/assets/{dialog-Dstm3Ubn.js → dialog-tQELcltn.js} +1 -1
  87. package/dist/assets/{dist-oarhZoo6.js → dist-CDXJRSCj.js} +1 -1
  88. package/dist/assets/{dist-PT7WsOdN.js → dist-DDGMbl6p.js} +1 -1
  89. package/dist/assets/{dist-BhLw_JdQ.js → dist-DY1C8dgM.js} +1 -1
  90. package/dist/assets/{documentation-panel-DRqbOPwM.js → documentation-panel-0BCnCatP.js} +1 -1
  91. package/dist/assets/{download-zuPzhwvm.js → download-BodpSpiQ.js} +1 -1
  92. package/dist/assets/{download-B9SUL40m.js → download-Dg7clfkc.js} +1 -1
  93. package/dist/assets/{dropdown-menu-D8v7RjW8.js → dropdown-menu-BUgFWmX1.js} +1 -1
  94. package/dist/assets/{edit-page-Dlr4v1eI.js → edit-page-C3g76WMW.js} +3 -3
  95. package/dist/assets/{ellipsis-5ip-qDfN.js → ellipsis-DfDsMPvA.js} +1 -1
  96. package/dist/assets/{ellipsis-vertical-C7jYiLCo.js → ellipsis-vertical-J1F7_WS9.js} +1 -1
  97. package/dist/assets/{empty-state-BAGXXrn8.js → empty-state-DrmGF88A.js} +1 -1
  98. package/dist/assets/{en-US-XLBup7bs.js → en-US-DU2jJCpg.js} +1 -1
  99. package/dist/assets/{erDiagram-Q2GNP2WA-Ftt2qDiM.js → erDiagram-Q2GNP2WA-BSmVh3Kt.js} +1 -1
  100. package/dist/assets/{error-banner-JIexM8h5.js → error-banner-Dlrzo_Ay.js} +1 -1
  101. package/dist/assets/{error-panel-TqjIx6nC.js → error-panel-D7CVHSby.js} +1 -1
  102. package/dist/assets/{errors-B5AI4nf5.js → errors-CPlNr33a.js} +1 -1
  103. package/dist/assets/{es-CPSXxuS6.js → es-CerBf9Z6.js} +5 -5
  104. package/dist/assets/{esm-BbNm2fB0.js → esm-C-53tlK5.js} +1 -1
  105. package/dist/assets/{eye-off-BhExYOph.js → eye-off-AK_9uodG.js} +1 -1
  106. package/dist/assets/{field-1uCBX4j4.js → field-D9jE8HEt.js} +1 -1
  107. package/dist/assets/{file-Cs1JbsV6.js → file-Ch78NKWp.js} +1 -1
  108. package/dist/assets/{file-explorer-panel-jku_uMQn.js → file-explorer-panel-CAm65Xwe.js} +1 -1
  109. package/dist/assets/{file-plus-corner-Da9I6dgU.js → file-plus-corner-CvAy4H5W.js} +1 -1
  110. package/dist/assets/{file-video-camera-DW3v07j2.js → file-video-camera-C3wGzBnE.js} +1 -1
  111. package/dist/assets/{floating-outline-CZbF47gm.js → floating-outline-C8UBGhNL.js} +1 -1
  112. package/dist/assets/{flowDiagram-NV44I4VS-Ca9aZp-3.js → flowDiagram-NV44I4VS-2nYUYKvI.js} +1 -1
  113. package/dist/assets/{focus-BxGelf2n.js → focus-Bd_p77qK.js} +1 -1
  114. package/dist/assets/{form-DQt-Ldr4.js → form-D23zs2fF.js} +1 -1
  115. package/dist/assets/{gallery-page-D_5X4kKx.js → gallery-page-Yq7Go5FK.js} +1 -1
  116. package/dist/assets/{ganttDiagram-JELNMOA3-PYFPdyuJ.js → ganttDiagram-JELNMOA3-B77PnMPw.js} +1 -1
  117. package/dist/assets/{gitGraphDiagram-NY62KEGX-CfGWoYOo.js → gitGraphDiagram-NY62KEGX-B-3aRelz.js} +1 -1
  118. package/dist/assets/{glide-data-editor-8ek3zzAO.js → glide-data-editor-B5UMCoFz.js} +4 -4
  119. package/dist/assets/globals-BgJBhxFI.js +1 -0
  120. package/dist/assets/{home-page-xDhfcHL1.js → home-page-DXMa3CyZ.js} +1 -1
  121. package/dist/assets/{hooks-MQa8CSUr.js → hooks-T4-_AFet.js} +1 -1
  122. package/dist/assets/{house-DhFkiXz7.js → house-BI81AWSn.js} +1 -1
  123. package/dist/assets/{html-to-image-DKqpcM7V.js → html-to-image-Bc6qDa9c.js} +1 -1
  124. package/dist/assets/{icons-Dw4USSvE.js → icons-DjR3qLG_.js} +1 -1
  125. package/dist/assets/{index-DuqUGjtK.js → index-Dlg8GjKO.js} +6 -6
  126. package/dist/assets/{infoDiagram-WHAUD3N6-Csbwq6Ks.js → infoDiagram-WHAUD3N6-_vys04Gc.js} +1 -1
  127. package/dist/assets/{input-DcAGg_4_.js → input-DHHmNa19.js} +1 -1
  128. package/dist/assets/{isValid-BLB2jskA.js → isValid-DpSSOU5z.js} +1 -1
  129. package/dist/assets/{journeyDiagram-XKPGCS4Q-DArwMxlY.js → journeyDiagram-XKPGCS4Q-CkD6eopP.js} +1 -1
  130. package/dist/assets/{kanban-definition-3W4ZIXB7-CPjBJiO_.js → kanban-definition-3W4ZIXB7-kX5aL9Ug.js} +1 -1
  131. package/dist/assets/{katex-DYp6oq7P.js → katex-CDLTCvjQ.js} +1 -1
  132. package/dist/assets/katex-DF982Ty5.js +1 -0
  133. package/dist/assets/{kbd-uRyPZ9w_.js → kbd-Cm6Ba9qg.js} +1 -1
  134. package/dist/assets/kiosk-mode-BlAqMmYG.js +1 -0
  135. package/dist/assets/{label-CL9Xfexh.js → label-C9wP7Kp2.js} +1 -1
  136. package/dist/assets/{layout-D-YPCWvX.js → layout-DeO-Ppt-.js} +3 -3
  137. package/dist/assets/{link-BsTPF7B0.js → link-DxicfMbs.js} +1 -1
  138. package/dist/assets/{links-BhgWpHdU.js → links-7AQBmdyV.js} +1 -1
  139. package/dist/assets/{logs-panel-DKSJRyF4.js → logs-panel-B3aMPrwV.js} +1 -1
  140. package/dist/assets/{loro_wasm_bg-BnAHSQ7o.js → loro_wasm_bg-CdafknAX.js} +2 -2
  141. package/dist/assets/loro_wasm_bg-WKwciKJa.wasm +0 -0
  142. package/dist/assets/{loro_wasm_bg-CKQGJrH5.js → loro_wasm_bg-aCueZs8k.js} +1 -1
  143. package/dist/assets/{maps-t9yNKYA8.js → maps-D2_Mq1pZ.js} +1 -1
  144. package/dist/assets/{markdown-renderer-Bu12gPyJ.js → markdown-renderer-Dy-FX527.js} +1 -1
  145. package/dist/assets/{menu-items-NblnuU_B.js → menu-items-vwmjPhjW.js} +1 -1
  146. package/dist/assets/mermaid-4DMBBIKO-DQz_QvBC.js +1 -0
  147. package/dist/assets/{mermaid-Bzaf_nA9.js → mermaid-Caj4ROsO.js} +3 -3
  148. package/dist/assets/{mhchem-DLDYYsJK.js → mhchem-CJmb5HsA.js} +1 -1
  149. package/dist/assets/{mindmap-definition-VGOIOE7T-DVB4z5Yy.js → mindmap-definition-VGOIOE7T-BJ9zWUqW.js} +1 -1
  150. package/dist/assets/{mode-CevBiFCd.js → mode-BfhhQnCm.js} +1 -1
  151. package/dist/assets/{multi-icon-CLzAg610.js → multi-icon-BWLbAXq5.js} +1 -1
  152. package/dist/assets/{multi-map-W4zci54U.js → multi-map-t2yhdp8D.js} +1 -1
  153. package/dist/assets/{name-cell-input-DwvdP1Ck.js → name-cell-input-DvFZv__e.js} +1 -1
  154. package/dist/assets/{number-overlay-editor-CvIcqV0W.js → number-overlay-editor-DIy8e1ST.js} +1 -1
  155. package/dist/assets/{outline-panel-Bg_CP1WV.js → outline-panel-DH2X9Yaa.js} +1 -1
  156. package/dist/assets/{packages-panel-DBgrbk-q.js → packages-panel-BWx1vxzx.js} +1 -1
  157. package/dist/assets/{panel-context-C-UJlFyL.js → panel-context-2mVKaSYm.js} +1 -1
  158. package/dist/assets/{panels-CaoDGKmF.js → panels-BdSNXi2d.js} +1 -1
  159. package/dist/assets/{pieDiagram-ADFJNKIX-vwwb5uL8.js → pieDiagram-ADFJNKIX-Mf2FMnt9.js} +1 -1
  160. package/dist/assets/{play-BPIh-ZEU.js → play-GLWQQs7F.js} +1 -1
  161. package/dist/assets/{plus-BD5o34_i.js → plus-B7DF33lD.js} +1 -1
  162. package/dist/assets/{popover-BZZFx3Q8.js → popover-B-131r4d.js} +1 -1
  163. package/dist/assets/{process-output-Cl2N-HlT.js → process-output-CHXcfo-X.js} +1 -1
  164. package/dist/assets/{quadrantDiagram-AYHSOK5B-Y8bEZ32G.js → quadrantDiagram-AYHSOK5B-B04U71uV.js} +1 -1
  165. package/dist/assets/{react-BGmjiNul.js → react-Bj1aDYRI.js} +1 -1
  166. package/dist/assets/{react-dom-C9fstfnp.js → react-dom-CSu739Rf.js} +1 -1
  167. package/dist/assets/{react-plotly-CZMBCa5P.js → react-plotly-D4UaXGJL.js} +1 -1
  168. package/dist/assets/{react-resizable-panels.browser.esm-BFvP7Upm.js → react-resizable-panels.browser.esm-Mq45xjWt.js} +1 -1
  169. package/dist/assets/{react-vega-DkHO4e2L.js → react-vega-CP7NqbRQ.js} +1 -1
  170. package/dist/assets/{react-vega-BCDifxTe.js → react-vega-CqegDZRQ.js} +1 -1
  171. package/dist/assets/{readonly-python-code-H1kzT-lB.js → readonly-python-code-Drm-iT2o.js} +1 -1
  172. package/dist/assets/{refresh-ccw-DLEiQDS3.js → refresh-ccw-DN_xCV6A.js} +1 -1
  173. package/dist/assets/{refresh-cw-CQd-1kjx.js → refresh-cw-Dx8TEWFP.js} +1 -1
  174. package/dist/assets/{renderShortcut-zxgoVTeP.js → renderShortcut-B1jzzLJw.js} +1 -1
  175. package/dist/assets/request-registry-BWqkV683.js +1 -0
  176. package/dist/assets/{requests-BsVD4CdD.js → requests-B4FYHTZl.js} +1 -1
  177. package/dist/assets/requests-BQkjRazP.js +1 -0
  178. package/dist/assets/{requirementDiagram-UZGBJVZJ-ChckaTrX.js → requirementDiagram-UZGBJVZJ-oJlPs172.js} +1 -1
  179. package/dist/assets/{rotate-ccw-B_yU4f05.js → rotate-ccw-DPbJxVVN.js} +1 -1
  180. package/dist/assets/{run-page-BmTC7uxn.js → run-page--5xaW5m2.js} +1 -1
  181. package/dist/assets/{runs-X54OGDTq.js → runs-DyBOFmAK.js} +1 -1
  182. package/dist/assets/{sankeyDiagram-TZEHDZUN-DtU4O0-i.js → sankeyDiagram-TZEHDZUN-aplEbaHE.js} +1 -1
  183. package/dist/assets/{save-PMHbdtqc.js → save-DZodxFnE.js} +1 -1
  184. package/dist/assets/{save-worker-DtF6B3PS.js → save-worker-CtJsIYIM.js} +3 -3
  185. package/dist/assets/{scratchpad-panel-CIxZIJ-1.js → scratchpad-panel-DN5qbbIL.js} +1 -1
  186. package/dist/assets/{secrets-panel-TwfjwIVv.js → secrets-panel-vKKBtc8G.js} +1 -1
  187. package/dist/assets/{select-CX1Yi8J8.js → select-B7bfltkI.js} +1 -1
  188. package/dist/assets/{sequenceDiagram-WL72ISMW-BGXrTemh.js → sequenceDiagram-WL72ISMW-WAUwGkkd.js} +1 -1
  189. package/dist/assets/{session-panel-CNeWVmTR.js → session-panel-DSLj3C81.js} +1 -1
  190. package/dist/assets/{settings-DOXWMfVd.js → settings-OBbrbhij.js} +1 -1
  191. package/dist/assets/{share-Ba-pHZtq.js → share-rXkgGlhr.js} +1 -1
  192. package/dist/assets/{slides-component-CGMJm_kL.js → slides-component-CeMnlG8H.js} +1 -1
  193. package/dist/assets/{snippets-panel-DMN_ZSXA.js → snippets-panel-nld0VX-j.js} +1 -1
  194. package/dist/assets/{spec-D1kBp3jX.js → spec-Ch0xnJY4.js} +1 -1
  195. package/dist/assets/{spinner-DaIKav-i.js → spinner-DA8-7wQv.js} +1 -1
  196. package/dist/assets/{square-C8Tw_XXG.js → square-DPZjfUaq.js} +1 -1
  197. package/dist/assets/{square-function-CqXXKtIq.js → square-function-B6mgCeFJ.js} +1 -1
  198. package/dist/assets/{state-n1Xz9vt7.js → state-DAl4qLSi.js} +1 -1
  199. package/dist/assets/{state-BLsnFVwy.js → state-yRkQ_uSW.js} +1 -1
  200. package/dist/assets/{stateDiagram-FKZM4ZOC-BwSf7RIr.js → stateDiagram-FKZM4ZOC-DUDhr_Gg.js} +1 -1
  201. package/dist/assets/stateDiagram-v2-4FDKWEC3-yH9Rugj-.js +1 -0
  202. package/dist/assets/{switch-CfRu5JBF.js → switch-D-TxHKpg.js} +1 -1
  203. package/dist/assets/{table-DZR6ewbN.js → table-CfDbAm78.js} +1 -1
  204. package/dist/assets/{table-qbh6Daed.js → table-DScsXgJW.js} +1 -1
  205. package/dist/assets/{terminal-C0fH4d_0.js → terminal-CF-esPMT.js} +1 -1
  206. package/dist/assets/{textarea-3ZXdUni1.js → textarea-BFfMAEaQ.js} +1 -1
  207. package/dist/assets/{timeline-definition-IT6M3QCI-BZakpQwy.js → timeline-definition-IT6M3QCI-D93LYpWp.js} +1 -1
  208. package/dist/assets/{toDate-CgbKQM5E.js → toDate-DETS9bBd.js} +1 -1
  209. package/dist/assets/{toggle-CWS-iCmF.js → toggle-CriARMQK.js} +1 -1
  210. package/dist/assets/{tooltip-DH6k_bBY.js → tooltip-C_WgOOcZ.js} +1 -1
  211. package/dist/assets/{tracing-zzjDz6Hy.js → tracing-DB7ckaG0.js} +1 -1
  212. package/dist/assets/tracing-panel-CxTR1RYC.js +2 -0
  213. package/dist/assets/{trash-2-CyqGun26.js → trash-2-B8SQYdQq.js} +1 -1
  214. package/dist/assets/{trash-DMqDgJ5r.js → trash-Cv0yH8fs.js} +1 -1
  215. package/dist/assets/{tree-DHpFOpHo.js → tree-B8r7cwRm.js} +1 -1
  216. package/dist/assets/{triangle-alert-B65rDESJ.js → triangle-alert-U93NZYDl.js} +1 -1
  217. package/dist/assets/{types-CS34eOZi.js → types-C1UhS3qM.js} +1 -1
  218. package/dist/assets/{types-CW-zyy80.js → types-D-xsoOE8.js} +1 -1
  219. package/dist/assets/{use-toast-rmUWldD_.js → use-toast-T0_cQDma.js} +1 -1
  220. package/dist/assets/useAddCell-Bc2_jloT.js +1 -0
  221. package/dist/assets/{useAsyncData-BAVCkkQP.js → useAsyncData-BMGLSTg8.js} +1 -1
  222. package/dist/assets/{useBoolean-BjVFTMam.js → useBoolean-IZsSX_XF.js} +1 -1
  223. package/dist/assets/{useCellActionButton-BZ46_Pdt.js → useCellActionButton-DUpWwYW8.js} +1 -1
  224. package/dist/assets/{useDateFormatter-D89e9xZY.js → useDateFormatter-CieT0-H-.js} +1 -1
  225. package/dist/assets/{useDebounce-CU_caGaU.js → useDebounce-B28kFfrM.js} +1 -1
  226. package/dist/assets/{useDeepCompareMemoize-DiyglPgJ.js → useDeepCompareMemoize-ChxLMT9E.js} +1 -1
  227. package/dist/assets/{useDeleteCell-B8CxYiji.js → useDeleteCell-6jBNYEDG.js} +1 -1
  228. package/dist/assets/{useDependencyPanelTab-YtWR0xDK.js → useDependencyPanelTab-Dq7NTXk8.js} +1 -1
  229. package/dist/assets/useEvent-BhXAndur.js +1 -0
  230. package/dist/assets/{useEventListener-DIUKKfEy.js → useEventListener-Cb-RVVEn.js} +1 -1
  231. package/dist/assets/{useIframeCapabilities-DzIlROXe.js → useIframeCapabilities-B_pQb20b.js} +1 -1
  232. package/dist/assets/{useInstallPackage-C-gjrVjb.js → useInstallPackage-xrG_Tm9T.js} +1 -1
  233. package/dist/assets/{useInterval-y9MtYlSD.js → useInterval-BNfubus2.js} +1 -1
  234. package/dist/assets/{useLifecycle-D35CBukS.js → useLifecycle-ClI_npeg.js} +1 -1
  235. package/dist/assets/{useNonce-_Aax6sXd.js → useNonce-CS26E0hA.js} +1 -1
  236. package/dist/assets/{useNotebookActions-Dfh_7NPm.js → useNotebookActions-bMdZvJyI.js} +1 -1
  237. package/dist/assets/{useNumberFormatter-CTkflual.js → useNumberFormatter-BX4DTYtT.js} +1 -1
  238. package/dist/assets/{usePress-CoEeT5jq.js → usePress-3CRs0fQg.js} +1 -1
  239. package/dist/assets/{useRunCells-rjrIgU8v.js → useRunCells-CmbQTUeO.js} +1 -1
  240. package/dist/assets/{useSplitCell-fcjSuBNO.js → useSplitCell-DE71CDKv.js} +1 -1
  241. package/dist/assets/{useTheme-EGf2UOFo.js → useTheme-CTORu22_.js} +1 -1
  242. package/dist/assets/{utilities.esm-CkqwfzLw.js → utilities.esm-Buwqinna.js} +3 -3
  243. package/dist/assets/{utils-DXvhzCGS.js → utils-YqBXNpsM.js} +1 -1
  244. package/dist/assets/{vega-component-DAJbxD47.js → vega-component-D4ZTpyiq.js} +1 -1
  245. package/dist/assets/{worker-CUL1lW-N.js → worker-CyCdlLVf.js} +3 -3
  246. package/dist/assets/{workflow-CMjI9cxl.js → workflow-B12dAR4X.js} +1 -1
  247. package/dist/assets/{write-secret-modal-CgAvgY9w.js → write-secret-modal-BodBOJkR.js} +1 -1
  248. package/dist/assets/{x-CoXDX2vQ.js → x-ZP5cObgf.js} +1 -1
  249. package/dist/assets/{xychartDiagram-PRI3JC2R-CAHFvN1H.js → xychartDiagram-PRI3JC2R-C8jV7uCC.js} +1 -1
  250. package/dist/assets/{youtube-8p26v8EM.js → youtube--tNPNRy6.js} +1 -1
  251. package/dist/assets/zod-H_cgTO0M.js +40 -0
  252. package/dist/index.html +125 -125
  253. package/package.json +17 -17
  254. package/dist/assets/__vite-browser-external-BkzFKOxE.js +0 -1
  255. package/dist/assets/__vite-browser-external-CPyDqUtZ.js +0 -1
  256. package/dist/assets/channel-ownMsSXG.js +0 -1
  257. package/dist/assets/check-DdfN0k2d.js +0 -1
  258. package/dist/assets/classDiagram-2ON5EDUG-CSgD2v8F.js +0 -1
  259. package/dist/assets/classDiagram-v2-WZHVMYZB-YTETTIT0.js +0 -1
  260. package/dist/assets/compiler-runtime-DeeZ7FnK.js +0 -1
  261. package/dist/assets/createLucideIcon-CnW3RofX.js +0 -1
  262. package/dist/assets/globals-D4t_HyAp.js +0 -1
  263. package/dist/assets/katex-BZrXWsTs.js +0 -1
  264. package/dist/assets/kiosk-mode-C9XznhoS.js +0 -1
  265. package/dist/assets/loro_wasm_bg-DV7Kb4_M.wasm +0 -0
  266. package/dist/assets/mermaid-4DMBBIKO-RE7Z6-fl.js +0 -1
  267. package/dist/assets/request-registry-CjZcQuTP.js +0 -1
  268. package/dist/assets/requests-BSPGoGJL.js +0 -1
  269. package/dist/assets/stateDiagram-v2-4FDKWEC3-SWMI9LKY.js +0 -1
  270. package/dist/assets/tracing-panel-DogOVTzf.js +0 -2
  271. package/dist/assets/useAddCell-mkD8zurm.js +0 -1
  272. package/dist/assets/useEvent-DO6uJBas.js +0 -1
  273. package/dist/assets/zod-Cg4WLWh2.js +0 -40
@@ -1,2 +1,2 @@
1
- import"./chunk-FPAJGGOC-DOBSZjU2.js";import"./main-U5Goe76G.js";import"./purify.es-DZrAQFIu.js";import"./src-DJ8ZKoFs.js";import{t as m}from"./chunk-XAJISQIX-TwS9jXHm.js";import{n as o,r as e}from"./src-CmKhyEBC.js";import{c as p}from"./chunk-ABZYJK2D-Coo5qi7b.js";import{t as s}from"./chunk-EXTU4WIE-DQy5cN5X.js";import"./chunk-O7ZBX7Z2-DoE29Zoe.js";import"./chunk-S6J4BHB3-Cvr0itXK.js";import"./chunk-LBM3YZW2-D3uTpSOd.js";import"./chunk-76Q3JFCE-B261Xkae.js";import"./chunk-T53DSG4Q-C7bPrBIt.js";import"./chunk-LHMN2FUI-2FK1AIwU.js";import"./chunk-FWNWRKHM-C0b0DIG0.js";import{t as n}from"./mermaid-parser.core-D237JwYN.js";var d={parse:o(async r=>{let t=await n("info",r);e.debug(t)},"parse")},f={version:m.version+""},g={parser:d,db:{getVersion:o(()=>f.version,"getVersion")},renderer:{draw:o((r,t,a)=>{e.debug(`rendering info diagram
1
+ import"./chunk-FPAJGGOC-DOBSZjU2.js";import"./main-U5Goe76G.js";import"./purify.es-DZrAQFIu.js";import"./src-DJ8ZKoFs.js";import{t as m}from"./chunk-XAJISQIX-TwS9jXHm.js";import{n as o,r as e}from"./src-CmKhyEBC.js";import{c as p}from"./chunk-ABZYJK2D-CtRGq-db.js";import{t as s}from"./chunk-EXTU4WIE-CN3BqsR0.js";import"./chunk-O7ZBX7Z2-DoE29Zoe.js";import"./chunk-S6J4BHB3-Cvr0itXK.js";import"./chunk-LBM3YZW2-D3uTpSOd.js";import"./chunk-76Q3JFCE-B261Xkae.js";import"./chunk-T53DSG4Q-C7bPrBIt.js";import"./chunk-LHMN2FUI-2FK1AIwU.js";import"./chunk-FWNWRKHM-C0b0DIG0.js";import{t as n}from"./mermaid-parser.core-D237JwYN.js";var d={parse:o(async r=>{let t=await n("info",r);e.debug(t)},"parse")},f={version:m.version+""},g={parser:d,db:{getVersion:o(()=>f.version,"getVersion")},renderer:{draw:o((r,t,a)=>{e.debug(`rendering info diagram
2
2
  `+r);let i=s(t);p(i,100,400,!0),i.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${a}`)},"draw")}};export{g as diagram};
@@ -1 +1 @@
1
- import{s as mt}from"./chunk-LvLJmgfZ.js";import{t as zr}from"./react-BGmjiNul.js";import{t as ft}from"./compiler-runtime-DeeZ7FnK.js";import{t as Kr}from"./jsx-runtime-ZmTK25f3.js";import{r as Gr}from"./button-YC1gW_kJ.js";import{t as R}from"./cn-BKtXLv3a.js";import{t as qr}from"./createLucideIcon-CnW3RofX.js";import{n as Zr,r as Yr,t as Xr}from"./x-CoXDX2vQ.js";import{S as Jr}from"./Combination-C_mRvd_Z.js";import{A as re,C as Qr,D as pt,E as ei,F as ti,I as vt,L as B,N as O,O as V,P as H,R as W,a as ai,d as ri,f as ii,i as bt,j as ht,k as gt,m as ni,o as yt,p as Se,r as oi,t as li,w as si,y as ui,z as Et}from"./usePress-CoEeT5jq.js";import{t as di}from"./SSRProvider-DBS9qs3r.js";import{t as Fe}from"./context-CJp-B2dx.js";import{n as Me,t as Pt}from"./useNumberFormatter-CTkflual.js";import{t as ci}from"./numbers-UHLm3mA-.js";import{t as wt}from"./useDebounce-CU_caGaU.js";var Lt=qr("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);function mi(...e){return e.length===1&&e[0]?e[0]:a=>{let t=!1,r=e.map(i=>{let n=xt(i,a);return t||(t=typeof n=="function"),n});if(t)return()=>{r.forEach((i,n)=>{typeof i=="function"?i():xt(e[n],null)})}}}function xt(e,a){if(typeof e=="function")return e(a);e!=null&&(e.current=a)}var fi=new Set(["id"]),pi=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),vi=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),bi=new Set(["dir","lang","hidden","inert","translate"]),Ct=new Set("onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")),hi=/^(data-.*)$/;function z(e,a={}){let{labelable:t,isLink:r,global:i,events:n=i,propNames:o}=a,s={};for(let u in e)Object.prototype.hasOwnProperty.call(e,u)&&(fi.has(u)||t&&pi.has(u)||r&&vi.has(u)||i&&bi.has(u)||n&&Ct.has(u)||u.endsWith("Capture")&&Ct.has(u.slice(0,-7))||o!=null&&o.has(u)||hi.test(u))&&(s[u]=e[u]);return s}function Dt(e,a){let{id:t,"aria-label":r,"aria-labelledby":i}=e;return t=B(t),i&&r?i=[...new Set([t,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&a&&(r=a),{id:t,"aria-label":r,"aria-labelledby":i}}var l=mt(zr(),1);function Nt(e){let a=(0,l.useRef)(null),t=(0,l.useRef)(void 0),r=(0,l.useCallback)(i=>{if(typeof e=="function"){let n=e,o=n(i);return()=>{typeof o=="function"?o():n(null)}}else if(e)return e.current=i,()=>{e.current=null}},[e]);return(0,l.useMemo)(()=>({get current(){return a.current},set current(i){a.current=i,t.current&&(t.current=(t.current(),void 0)),i!=null&&(t.current=r(i))}}),[r])}function St(e,a,t,r){let i=W(t),n=t==null;(0,l.useEffect)(()=>{if(n||!e.current)return;let o=e.current;return o.addEventListener(a,i,r),()=>{o.removeEventListener(a,i,r)}},[e,a,r,n,i])}function Te(e,a,t){let r=W(()=>{t&&t(a)});(0,l.useEffect)(()=>{var n;let i=(n=e==null?void 0:e.current)==null?void 0:n.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e,r])}function Ve(e,a,t){let[r,i]=(0,l.useState)(e||a),n=(0,l.useRef)(e!==void 0),o=e!==void 0;(0,l.useEffect)(()=>{n.current,n.current=o},[o]);let s=o?e:r,u=(0,l.useCallback)((d,...f)=>{let c=(m,...v)=>{t&&(Object.is(s,m)||t(m,...v)),o||(s=m)};typeof d=="function"?i((m,...v)=>{let b=d(o?s:m,...v);return c(b,...f),o?m:b}):(o||i(d),c(d,...f))},[o,s,t]);return[s,u]}function de(e,a=-1/0,t=1/0){return Math.min(Math.max(e,a),t)}function ce(e,a){let t=e,r=0,i=a.toString(),n=i.toLowerCase().indexOf("e-");if(n>0)r=Math.abs(Math.floor(Math.log10(Math.abs(a))))+n;else{let o=i.indexOf(".");o>=0&&(r=i.length-o)}if(r>0){let o=10**r;t=Math.round(t*o)/o}return t}function j(e,a,t,r){a=Number(a),t=Number(t);let i=(e-(isNaN(a)?0:a))%r,n=ce(Math.abs(i)*2>=r?e+Math.sign(i)*(r-Math.abs(i)):e-i,r);return isNaN(a)?!isNaN(t)&&n>t&&(n=Math.floor(ce(t/r,r))*r):n<a?n=a:!isNaN(t)&&n>t&&(n=a+Math.floor(ce((t-a)/r,r))*r),n=ce(n,r),n}var Ft=Symbol("default");function Mt({values:e,children:a}){for(let[t,r]of e)a=l.createElement(t.Provider,{value:r},a);return a}function Z(e){let{className:a,style:t,children:r,defaultClassName:i,defaultChildren:n,defaultStyle:o,values:s}=e;return(0,l.useMemo)(()=>{let u,d,f;return u=typeof a=="function"?a({...s,defaultClassName:i}):a,d=typeof t=="function"?t({...s,defaultStyle:o||{}}):t,f=typeof r=="function"?r({...s,defaultChildren:n}):r??n,{className:u??i,style:d||o?{...o,...d}:void 0,children:f??n,"data-rac":""}},[a,t,r,i,n,o,s])}function gi(e,a){return t=>a(typeof e=="function"?e(t):e,t)}function $e(e,a){let t=(0,l.useContext)(e);if(a===null)return null;if(t&&typeof t=="object"&&"slots"in t&&t.slots){let r=a||Ft;if(!t.slots[r]){let i=new Intl.ListFormat().format(Object.keys(t.slots).map(o=>`"${o}"`)),n=a?`Invalid slot "${a}".`:"A slot prop is required.";throw Error(`${n} Valid slot names are ${i}.`)}return t.slots[r]}return t}function K(e,a,t){let{ref:r,...i}=$e(t,e.slot)||{},n=Nt((0,l.useMemo)(()=>mi(a,r),[a,r])),o=V(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?o.style=s=>{let u=typeof i.style=="function"?i.style(s):i.style,d={...s.defaultStyle,...u},f=typeof e.style=="function"?e.style({...s,defaultStyle:d}):e.style;return{...d,...f}}:o.style={...i.style,...e.style}),[o,n]}function Tt(e=!0){let[a,t]=(0,l.useState)(e),r=(0,l.useRef)(!1),i=(0,l.useCallback)(n=>{r.current=!0,t(!!n)},[]);return Et(()=>{r.current||t(!1)},[]),[i,a]}function Vt(e){let a=/^(data-.*)$/,t={};for(let r in e)a.test(r)||(t[r]=e[r]);return t}var $t=7e3,k=null;function ke(e,a="assertive",t=$t){k?k.announce(e,a,t):(k=new Ei,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?k.announce(e,a,t):setTimeout(()=>{k!=null&&k.isAttached()&&(k==null||k.announce(e,a,t))},100))}function yi(e){k&&k.clear(e)}var Ei=class{isAttached(){var e;return(e=this.node)==null?void 0:e.isConnected}createLog(e){let a=document.createElement("div");return a.setAttribute("role","log"),a.setAttribute("aria-live",e),a.setAttribute("aria-relevant","additions"),a}destroy(){this.node&&(this.node=(document.body.removeChild(this.node),null))}announce(e,a="assertive",t=$t){var r,i;if(!this.node)return;let n=document.createElement("div");typeof e=="object"?(n.setAttribute("role","img"),n.setAttribute("aria-labelledby",e["aria-labelledby"])):n.textContent=e,a==="assertive"?(r=this.assertiveLog)==null||r.appendChild(n):(i=this.politeLog)==null||i.appendChild(n),e!==""&&setTimeout(()=>{n.remove()},t)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}},Pi=Symbol.for("react-aria.i18n.locale"),wi=Symbol.for("react-aria.i18n.strings"),Y=void 0,Ie=class Ir{getStringForLocale(a,t){let r=this.getStringsForLocale(t)[a];if(!r)throw Error(`Could not find intl message ${a} in ${t} locale`);return r}getStringsForLocale(a){let t=this.strings[a];return t||(t=Li(a,this.strings,this.defaultLocale),this.strings[a]=t),t}static getGlobalDictionaryForPackage(a){if(typeof window>"u")return null;let t=window[Pi];if(Y===void 0){let i=window[wi];if(!i)return null;for(let n in Y={},i)Y[n]=new Ir({[t]:i[n]},t)}let r=Y==null?void 0:Y[a];if(!r)throw Error(`Strings for package "${a}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(a,t="en-US"){this.strings=Object.fromEntries(Object.entries(a).filter(([,r])=>r)),this.defaultLocale=t}};function Li(e,a,t="en-US"){if(a[e])return a[e];let r=xi(e);if(a[r])return a[r];for(let i in a)if(i.startsWith(r+"-"))return a[i];return a[t]}function xi(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}var kt=new Map,It=new Map,Rt=class{format(e,a){let t=this.strings.getStringForLocale(e,this.locale);return typeof t=="function"?t(a,this):t}plural(e,a,t="cardinal"){let r=a["="+e];if(r)return typeof r=="function"?r():r;let i=this.locale+":"+t,n=kt.get(i);return n||(n=new Intl.PluralRules(this.locale,{type:t}),kt.set(i,n)),r=a[n.select(e)]||a.other,typeof r=="function"?r():r}number(e){let a=It.get(this.locale);return a||(a=new Intl.NumberFormat(this.locale),It.set(this.locale,a)),a.format(e)}select(e,a){let t=e[a]||e.other;return typeof t=="function"?t():t}constructor(e,a){this.locale=e,this.strings=a}},jt=new WeakMap;function Ci(e){let a=jt.get(e);return a||(a=new Ie(e),jt.set(e,a)),a}function At(e,a){return a&&Ie.getGlobalDictionaryForPackage(a)||Ci(e)}function Re(e,a){let{locale:t}=Fe(),r=At(e,a);return(0,l.useMemo)(()=>new Rt(t,r),[t,r])}var Di=RegExp("^.*\\(.*\\).*$"),Ni=["latn","arab","hanidec","deva","beng","fullwide"],je=class{parse(e){return Ae(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,a,t){return Ae(this.locale,this.options,e).isValidPartialNumber(e,a,t)}getNumberingSystem(e){return Ae(this.locale,this.options,e).options.numberingSystem}constructor(e,a={}){this.locale=e,this.options=a}},Bt=new Map;function Ae(e,a,t){let r=Ot(e,a);if(!e.includes("-nu-")&&!r.isValidPartialNumber(t)){for(let i of Ni)if(i!==r.options.numberingSystem){let n=Ot(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,a);if(n.isValidPartialNumber(t))return n}}return r}function Ot(e,a){let t=e+(a?Object.entries(a).sort((i,n)=>i[0]<n[0]?-1:1).join():""),r=Bt.get(t);return r||(r=new Si(e,a),Bt.set(t,r)),r}var Si=class{parse(e){let a=this.sanitize(e);if(this.symbols.group&&(a=X(a,this.symbols.group,"")),this.symbols.decimal&&(a=a.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(a=a.replace(this.symbols.minusSign,"-")),a=a.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let r=a.indexOf("-");a=a.replace("-",""),a=a.replace("+","");let i=a.indexOf(".");i===-1&&(i=a.length),a=a.replace(".",""),a=i-2==0?`0.${a}`:i-2==-1?`0.0${a}`:i-2==-2?"0.00":`${a.slice(0,i-2)}.${a.slice(i-2)}`,r>-1&&(a=`-${a}`)}let t=a?+a:NaN;if(isNaN(t))return NaN;if(this.options.style==="percent"){let r={...this.options,style:"decimal",minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new je(this.locale,r).parse(new Me(this.locale,r).format(t))}return this.options.currencySign==="accounting"&&Di.test(e)&&(t=-1*t),t}sanitize(e){return e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(e=e.replace(",",this.symbols.decimal),e=e.replace("\u060C",this.symbols.decimal)),this.symbols.group&&(e=X(e,".",this.symbols.group))),this.symbols.group==="\u2019"&&e.includes("'")&&(e=X(e,"'",this.symbols.group)),this.options.locale==="fr-FR"&&this.symbols.group&&(e=X(e," ",this.symbols.group),e=X(e,/\u00A0/g,this.symbols.group)),e}isValidPartialNumber(e,a=-1/0,t=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&a<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&t>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(e=X(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),e.length===0)}constructor(e,a={}){this.locale=e,a.roundingIncrement!==1&&a.roundingIncrement!=null&&(a.maximumFractionDigits==null&&a.minimumFractionDigits==null?(a.maximumFractionDigits=0,a.minimumFractionDigits=0):a.maximumFractionDigits==null?a.maximumFractionDigits=a.minimumFractionDigits:a.minimumFractionDigits??(a.minimumFractionDigits=a.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,a),this.options=this.formatter.resolvedOptions(),this.symbols=Mi(e,this.formatter,this.options,a),this.options.style==="percent"&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}},Ht=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Fi=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Mi(e,a,t,r){var C,w,N,x;let i=new Intl.NumberFormat(e,{...t,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),n=i.formatToParts(-10000.111),o=i.formatToParts(10000.111),s=Fi.map(y=>i.formatToParts(y)),u=((C=n.find(y=>y.type==="minusSign"))==null?void 0:C.value)??"-",d=(w=o.find(y=>y.type==="plusSign"))==null?void 0:w.value;!d&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(d="+");let f=(N=new Intl.NumberFormat(e,{...t,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(y=>y.type==="decimal"))==null?void 0:N.value,c=(x=n.find(y=>y.type==="group"))==null?void 0:x.value,m=n.filter(y=>!Ht.has(y.type)).map(y=>Wt(y.value)),v=s.flatMap(y=>y.filter(P=>!Ht.has(P.type)).map(P=>Wt(P.value))),b=[...new Set([...m,...v])].sort((y,P)=>P.length-y.length),p=b.length===0?RegExp("[\\p{White_Space}]","gu"):RegExp(`${b.join("|")}|[\\p{White_Space}]`,"gu"),h=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),g=new Map(h.map((y,P)=>[y,P])),E=RegExp(`[${h.join("")}]`,"g");return{minusSign:u,plusSign:d,decimal:f,group:c,literals:p,numeral:E,index:y=>String(g.get(y))}}function X(e,a,t){return e.replaceAll?e.replaceAll(a,t):e.split(a).join(t)}function Wt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var A=null,ie=new Set,ne=new Map,G=!1,Be=!1,Ti={Tab:!0,Escape:!0};function me(e,a){for(let t of ie)t(e,a)}function Vi(e){return!(e.metaKey||!Qr()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function fe(e){G=!0,Vi(e)&&(A="keyboard",me("keyboard",e))}function J(e){A="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(G=!0,me("pointer",e))}function _t(e){ri(e)&&(G=!0,A="virtual")}function Ut(e){e.target===window||e.target===document||yt||!e.isTrusted||(!G&&!Be&&(A="virtual",me("virtual",e)),G=!1,Be=!1)}function zt(){yt||(G=!1,Be=!0)}function pe(e){if(typeof window>"u"||typeof document>"u"||ne.get(H(e)))return;let a=H(e),t=O(e),r=a.HTMLElement.prototype.focus;a.HTMLElement.prototype.focus=function(){G=!0,r.apply(this,arguments)},t.addEventListener("keydown",fe,!0),t.addEventListener("keyup",fe,!0),t.addEventListener("click",_t,!0),a.addEventListener("focus",Ut,!0),a.addEventListener("blur",zt,!1),typeof PointerEvent<"u"&&(t.addEventListener("pointerdown",J,!0),t.addEventListener("pointermove",J,!0),t.addEventListener("pointerup",J,!0)),a.addEventListener("beforeunload",()=>{Kt(e)},{once:!0}),ne.set(a,{focus:r})}var Kt=(e,a)=>{let t=H(e),r=O(e);a&&r.removeEventListener("DOMContentLoaded",a),ne.has(t)&&(t.HTMLElement.prototype.focus=ne.get(t).focus,r.removeEventListener("keydown",fe,!0),r.removeEventListener("keyup",fe,!0),r.removeEventListener("click",_t,!0),t.removeEventListener("focus",Ut,!0),t.removeEventListener("blur",zt,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",J,!0),r.removeEventListener("pointermove",J,!0),r.removeEventListener("pointerup",J,!0)),ne.delete(t))};function $i(e){let a=O(e),t;return a.readyState==="loading"?(t=()=>{pe(e)},a.addEventListener("DOMContentLoaded",t)):pe(e),()=>Kt(e,t)}typeof document<"u"&&$i();function Oe(){return A!=="pointer"}function Gt(){return A}function qt(e){A=e,me(e,null)}function ki(){pe();let[e,a]=(0,l.useState)(A);return(0,l.useEffect)(()=>{let t=()=>{a(A)};return ie.add(t),()=>{ie.delete(t)}},[]),di()?null:e}var Ii=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ri(e,a,t){let r=O(t==null?void 0:t.target),i=typeof window<"u"?H(t==null?void 0:t.target).HTMLInputElement:HTMLInputElement,n=typeof window<"u"?H(t==null?void 0:t.target).HTMLTextAreaElement:HTMLTextAreaElement,o=typeof window<"u"?H(t==null?void 0:t.target).HTMLElement:HTMLElement,s=typeof window<"u"?H(t==null?void 0:t.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof i&&!Ii.has(r.activeElement.type)||r.activeElement instanceof n||r.activeElement instanceof o&&r.activeElement.isContentEditable,!(e&&a==="keyboard"&&t instanceof s&&!Ti[t.key])}function ji(e,a,t){pe(),(0,l.useEffect)(()=>{let r=(i,n)=>{Ri(!!(t!=null&&t.isTextInput),i,n)&&e(Oe())};return ie.add(r),()=>{ie.delete(r)}},a)}function Zt(e){let a=O(e),t=re(a);if(Gt()==="virtual"){let r=t;ni(()=>{re(a)===r&&e.isConnected&&pt(e)})}else pt(e)}function He(e){let{isDisabled:a,onFocus:t,onBlur:r,onFocusChange:i}=e,n=(0,l.useCallback)(u=>{if(u.target===u.currentTarget)return r&&r(u),i&&i(!1),!0},[r,i]),o=bt(n),s=(0,l.useCallback)(u=>{let d=O(u.target),f=d?re(d):re();u.target===u.currentTarget&&f===ht(u.nativeEvent)&&(t&&t(u),i&&i(!0),o(u))},[i,t,o]);return{focusProps:{onFocus:!a&&(t||i||r)?s:void 0,onBlur:!a&&(r||i)?n:void 0}}}function Yt(e){if(!e)return;let a=!0;return t=>{e({...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){a=!0},continuePropagation(){a=!1},isPropagationStopped(){return a}}),a&&t.stopPropagation()}}function Xt(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Yt(e.onKeyDown),onKeyUp:Yt(e.onKeyUp)}}}var Jt=l.createContext(null);function Ai(e){let a=(0,l.useContext)(Jt)||{};ii(a,e);let{ref:t,...r}=a;return r}function Qt(e,a){let{focusProps:t}=He(e),{keyboardProps:r}=Xt(e),i=V(t,r),n=Ai(a),o=e.isDisabled?{}:n,s=(0,l.useRef)(e.autoFocus);(0,l.useEffect)(()=>{s.current&&a.current&&Zt(a.current),s.current=!1},[a]);let u=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(u=void 0),{focusableProps:V({...i,tabIndex:u},o)}}function We(e){let{isDisabled:a,onBlurWithin:t,onFocusWithin:r,onFocusWithinChange:i}=e,n=(0,l.useRef)({isFocusWithin:!1}),{addGlobalListener:o,removeAllGlobalListeners:s}=Se(),u=(0,l.useCallback)(c=>{c.currentTarget.contains(c.target)&&n.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(n.current.isFocusWithin=!1,s(),t&&t(c),i&&i(!1))},[t,i,n,s]),d=bt(u),f=(0,l.useCallback)(c=>{if(!c.currentTarget.contains(c.target))return;let m=O(c.target),v=re(m);if(!n.current.isFocusWithin&&v===ht(c.nativeEvent)){r&&r(c),i&&i(!0),n.current.isFocusWithin=!0,d(c);let b=c.currentTarget;o(m,"focus",p=>{if(n.current.isFocusWithin&&!gt(b,p.target)){let h=new m.defaultView.FocusEvent("blur",{relatedTarget:p.target});ai(h,b),u(oi(h))}},{capture:!0})}},[r,i,d,o,u]);return a?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:f,onBlur:u}}}var _e=!1,ve=0;function Bi(){_e=!0,setTimeout(()=>{_e=!1},50)}function ea(e){e.pointerType==="touch"&&Bi()}function Oi(){if(!(typeof document>"u"))return ve===0&&typeof PointerEvent<"u"&&document.addEventListener("pointerup",ea),ve++,()=>{ve--,!(ve>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",ea)}}function be(e){let{onHoverStart:a,onHoverChange:t,onHoverEnd:r,isDisabled:i}=e,[n,o]=(0,l.useState)(!1),s=(0,l.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,l.useEffect)(Oi,[]);let{addGlobalListener:u,removeAllGlobalListeners:d}=Se(),{hoverProps:f,triggerHoverEnd:c}=(0,l.useMemo)(()=>{let m=(p,h)=>{if(s.pointerType=h,i||h==="touch"||s.isHovered||!p.currentTarget.contains(p.target))return;s.isHovered=!0;let g=p.currentTarget;s.target=g,u(O(p.target),"pointerover",E=>{s.isHovered&&s.target&&!gt(s.target,E.target)&&v(E,E.pointerType)},{capture:!0}),a&&a({type:"hoverstart",target:g,pointerType:h}),t&&t(!0),o(!0)},v=(p,h)=>{let g=s.target;s.pointerType="",s.target=null,!(h==="touch"||!s.isHovered||!g)&&(s.isHovered=!1,d(),r&&r({type:"hoverend",target:g,pointerType:h}),t&&t(!1),o(!1))},b={};return typeof PointerEvent<"u"&&(b.onPointerEnter=p=>{_e&&p.pointerType==="mouse"||m(p,p.pointerType)},b.onPointerLeave=p=>{!i&&p.currentTarget.contains(p.target)&&v(p,p.pointerType)}),{hoverProps:b,triggerHoverEnd:v}},[a,t,r,i,s,u,d]);return(0,l.useEffect)(()=>{i&&c({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:f,isHovered:n}}function Hi(e,a){let{onScroll:t,isDisabled:r}=e,i=(0,l.useCallback)(n=>{n.ctrlKey||(n.preventDefault(),n.stopPropagation(),t&&t({deltaX:n.deltaX,deltaY:n.deltaY}))},[t]);St(a,"wheel",r?void 0:i)}function he(e={}){let{autoFocus:a=!1,isTextInput:t,within:r}=e,i=(0,l.useRef)({isFocused:!1,isFocusVisible:a||Oe()}),[n,o]=(0,l.useState)(!1),[s,u]=(0,l.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),d=(0,l.useCallback)(()=>u(i.current.isFocused&&i.current.isFocusVisible),[]),f=(0,l.useCallback)(v=>{i.current.isFocused=v,o(v),d()},[d]);ji(v=>{i.current.isFocusVisible=v,d()},[],{isTextInput:t});let{focusProps:c}=He({isDisabled:r,onFocusChange:f}),{focusWithinProps:m}=We({isDisabled:!r,onFocusWithinChange:f});return{isFocused:n,isFocusVisible:s,focusProps:r?m:c}}function ta(e){let{id:a,label:t,"aria-labelledby":r,"aria-label":i,labelElementType:n="label"}=e;a=B(a);let o=B(),s={};t&&(r=r?`${o} ${r}`:o,s={id:o,htmlFor:n==="label"?a:void 0});let u=Dt({id:a,"aria-label":i,"aria-labelledby":r});return{labelProps:s,fieldProps:u}}function aa(e){let{description:a,errorMessage:t,isInvalid:r,validationState:i}=e,{labelProps:n,fieldProps:o}=ta(e),s=vt([!!a,!!t,r,i]),u=vt([!!a,!!t,r,i]);return o=V(o,{"aria-describedby":[s,u,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:n,fieldProps:o,descriptionProps:{id:s},errorMessageProps:{id:u}}}var ge={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},ra={...ge,customError:!0,valid:!1},Q={isInvalid:!1,validationDetails:ge,validationErrors:[]},Wi=(0,l.createContext)({}),ye="__formValidationState"+Date.now();function Ue(e){if(e[ye]){let{realtimeValidation:a,displayValidation:t,updateValidation:r,resetValidation:i,commitValidation:n}=e[ye];return{realtimeValidation:a,displayValidation:t,updateValidation:r,resetValidation:i,commitValidation:n}}return _i(e)}function _i(e){let{isInvalid:a,validationState:t,name:r,value:i,builtinValidation:n,validate:o,validationBehavior:s="aria"}=e;t&&(a||(a=t==="invalid"));let u=a===void 0?null:{isInvalid:a,validationErrors:[],validationDetails:ra},d=(0,l.useMemo)(()=>!o||i==null?null:ia(Ui(o,i)),[o,i]);n!=null&&n.validationDetails.valid&&(n=void 0);let f=(0,l.useContext)(Wi),c=(0,l.useMemo)(()=>r?Array.isArray(r)?r.flatMap(P=>ze(f[P])):ze(f[r]):[],[f,r]),[m,v]=(0,l.useState)(f),[b,p]=(0,l.useState)(!1);f!==m&&(v(f),p(!1));let h=(0,l.useMemo)(()=>ia(b?[]:c),[b,c]),g=(0,l.useRef)(Q),[E,C]=(0,l.useState)(Q),w=(0,l.useRef)(Q),N=()=>{if(!x)return;y(!1);let P=d||n||g.current;Ke(P,w.current)||(w.current=P,C(P))},[x,y]=(0,l.useState)(!1);return(0,l.useEffect)(N),{realtimeValidation:u||h||d||n||Q,displayValidation:s==="native"?u||h||E:u||h||d||n||E,updateValidation(P){s==="aria"&&!Ke(E,P)?C(P):g.current=P},resetValidation(){let P=Q;Ke(P,w.current)||(w.current=P,C(P)),s==="native"&&y(!1),p(!0)},commitValidation(){s==="native"&&y(!0),p(!0)}}}function ze(e){return e?Array.isArray(e)?e:[e]:[]}function Ui(e,a){if(typeof e=="function"){let t=e(a);if(t&&typeof t!="boolean")return ze(t)}return[]}function ia(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:ra}:null}function Ke(e,a){return e===a?!0:!!e&&!!a&&e.isInvalid===a.isInvalid&&e.validationErrors.length===a.validationErrors.length&&e.validationErrors.every((t,r)=>t===a.validationErrors[r])&&Object.entries(e.validationDetails).every(([t,r])=>a.validationDetails[t]===r)}function zi(...e){let a=new Set,t=!1,r={...ge};for(let o of e){var i,n;for(let s of o.validationErrors)a.add(s);for(let s in t||(t=o.isInvalid),r)(i=r)[n=s]||(i[n]=o.validationDetails[s])}return r.valid=!t,{isInvalid:t,validationErrors:[...a],validationDetails:r}}function na(e,a,t){let{validationBehavior:r,focus:i}=e;Et(()=>{if(r==="native"&&(t!=null&&t.current)&&!t.current.disabled){let d=a.realtimeValidation.isInvalid?a.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";t.current.setCustomValidity(d),t.current.hasAttribute("title")||(t.current.title=""),a.realtimeValidation.isInvalid||a.updateValidation(Gi(t.current))}});let n=(0,l.useRef)(!1),o=W(()=>{n.current||a.resetValidation()}),s=W(d=>{var m;a.displayValidation.isInvalid||a.commitValidation();let f=(m=t==null?void 0:t.current)==null?void 0:m.form;if(!d.defaultPrevented&&t&&f&&qi(f)===t.current){var c;i?i():(c=t.current)==null||c.focus(),qt("keyboard")}d.preventDefault()}),u=W(()=>{a.commitValidation()});(0,l.useEffect)(()=>{let d=t==null?void 0:t.current;if(!d)return;let f=d.form,c=f==null?void 0:f.reset;return f&&(f.reset=()=>{n.current=!window.event||window.event.type==="message"&&window.event.target instanceof MessagePort,c==null||c.call(f),n.current=!1}),d.addEventListener("invalid",s),d.addEventListener("change",u),f==null||f.addEventListener("reset",o),()=>{d.removeEventListener("invalid",s),d.removeEventListener("change",u),f==null||f.removeEventListener("reset",o),f&&(f.reset=c)}},[t,s,u,o,r])}function Ki(e){let a=e.validity;return{badInput:a.badInput,customError:a.customError,patternMismatch:a.patternMismatch,rangeOverflow:a.rangeOverflow,rangeUnderflow:a.rangeUnderflow,stepMismatch:a.stepMismatch,tooLong:a.tooLong,tooShort:a.tooShort,typeMismatch:a.typeMismatch,valueMissing:a.valueMissing,valid:a.valid}}function Gi(e){return{isInvalid:!e.validity.valid,validationDetails:Ki(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function qi(e){for(let a=0;a<e.elements.length;a++){let t=e.elements[a];if(!t.validity.valid)return t}return null}function Zi(e,a){let{inputElementType:t="input",isDisabled:r=!1,isRequired:i=!1,isReadOnly:n=!1,type:o="text",validationBehavior:s="aria"}=e,[u,d]=Ve(e.value,e.defaultValue||"",e.onChange),{focusableProps:f}=Qt(e,a),c=Ue({...e,value:u}),{isInvalid:m,validationErrors:v,validationDetails:b}=c.displayValidation,{labelProps:p,fieldProps:h,descriptionProps:g,errorMessageProps:E}=aa({...e,isInvalid:m,errorMessage:e.errorMessage||v}),C=z(e,{labelable:!0}),w={type:o,pattern:e.pattern},[N]=(0,l.useState)(u);return Te(a,e.defaultValue??N,d),na(e,c,a),(0,l.useEffect)(()=>{if(a.current instanceof H(a.current).HTMLTextAreaElement){let x=a.current;Object.defineProperty(x,"defaultValue",{get:()=>x.value,set:()=>{},configurable:!0})}},[a]),{labelProps:p,inputProps:V(C,t==="input"?w:void 0,{disabled:r,readOnly:n,required:i&&s==="native","aria-required":i&&s==="aria"||void 0,"aria-invalid":m||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:u,onChange:x=>d(x.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,enterKeyHint:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...f,...h}),descriptionProps:g,errorMessageProps:E,isInvalid:m,validationErrors:v,validationDetails:b}}function oa(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function Yi(e,a,t){let r=W(c=>{let m=t.current;if(!m)return;let v=null;switch(c.inputType){case"historyUndo":case"historyRedo":return;case"insertLineBreak":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":v=m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd);break;case"deleteContentForward":v=m.selectionEnd===m.selectionStart?m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd+1):m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd);break;case"deleteContentBackward":v=m.selectionEnd===m.selectionStart?m.value.slice(0,m.selectionStart-1)+m.value.slice(m.selectionStart):m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":v=m.value.slice(m.selectionStart);break;default:c.data!=null&&(v=m.value.slice(0,m.selectionStart)+c.data+m.value.slice(m.selectionEnd));break}(v==null||!a.validate(v))&&c.preventDefault()});(0,l.useEffect)(()=>{if(!oa()||!t.current)return;let c=t.current;return c.addEventListener("beforeinput",r,!1),()=>{c.removeEventListener("beforeinput",r,!1)}},[t,r]);let i=oa()?null:c=>{let m=c.target.value.slice(0,c.target.selectionStart)+c.data+c.target.value.slice(c.target.selectionEnd);a.validate(m)||c.preventDefault()},{labelProps:n,inputProps:o,descriptionProps:s,errorMessageProps:u,...d}=Zi(e,t),f=(0,l.useRef)(null);return{inputProps:V(o,{onBeforeInput:i,onCompositionStart(){let{value:c,selectionStart:m,selectionEnd:v}=t.current;f.current={value:c,selectionStart:m,selectionEnd:v}},onCompositionEnd(){if(t.current&&!a.validate(t.current.value)){let{value:c,selectionStart:m,selectionEnd:v}=f.current;t.current.value=c,t.current.setSelectionRange(m,v),a.setInputValue(c)}}}),labelProps:n,descriptionProps:s,errorMessageProps:u,...d}}if(typeof HTMLTemplateElement<"u"){let e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}var Ee=(0,l.createContext)(!1);function Xi(e){if((0,l.useContext)(Ee))return l.createElement(l.Fragment,null,e.children);let a=l.createElement(Ee.Provider,{value:!0},e.children);return l.createElement("template",{"data-react-aria-hidden":!0},a)}function Ge(e){let a=(t,r)=>(0,l.useContext)(Ee)?null:e(t,r);return a.displayName=e.displayName||e.name,(0,l.forwardRef)(a)}function Ji(){return(0,l.useContext)(Ee)}function la(e,a){let{elementType:t="button",isDisabled:r,onPress:i,onPressStart:n,onPressEnd:o,onPressUp:s,onPressChange:u,preventFocusOnPress:d,allowFocusWhenDisabled:f,onClick:c,href:m,target:v,rel:b,type:p="button"}=e,h;h=t==="button"?{type:p,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:"button",href:t==="a"&&!r?m:void 0,target:t==="a"?v:void 0,type:t==="input"?p:void 0,disabled:t==="input"?r:void 0,"aria-disabled":!r||t==="input"?void 0:r,rel:t==="a"?b:void 0};let{pressProps:g,isPressed:E}=li({onPressStart:n,onPressEnd:o,onPressChange:u,onPress:i,onPressUp:s,onClick:c,isDisabled:r,preventFocusOnPress:d,ref:a}),{focusableProps:C}=Qt(e,a);f&&(C.tabIndex=r?-1:C.tabIndex);let w=V(C,g,z(e,{labelable:!0}));return{isPressed:E,buttonProps:V(h,w,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}function Qi(e){let{minValue:a,maxValue:t,step:r,formatOptions:i,value:n,defaultValue:o=NaN,onChange:s,locale:u,isDisabled:d,isReadOnly:f}=e;n===null&&(n=NaN),n!==void 0&&!isNaN(n)&&(n=r!==void 0&&!isNaN(r)?j(n,a,t,r):de(n,a,t)),isNaN(o)||(o=r!==void 0&&!isNaN(r)?j(o,a,t,r):de(o,a,t));let[c,m]=Ve(n,isNaN(o)?NaN:o,s),[v]=(0,l.useState)(c),[b,p]=(0,l.useState)(()=>isNaN(c)?"":new Me(u,i).format(c)),h=(0,l.useMemo)(()=>new je(u,i),[u,i]),g=(0,l.useMemo)(()=>h.getNumberingSystem(b),[h,b]),E=(0,l.useMemo)(()=>new Me(u,{...i,numberingSystem:g}),[u,i,g]),C=(0,l.useMemo)(()=>E.resolvedOptions(),[E]),w=(0,l.useCallback)(D=>isNaN(D)||D===null?"":E.format(D),[E]),N=Ue({...e,value:c}),x=r!==void 0&&!isNaN(r)?r:1;C.style==="percent"&&(r===void 0||isNaN(r))&&(x=.01);let[y,P]=(0,l.useState)(c),[M,$]=(0,l.useState)(u),[L,I]=(0,l.useState)(i);(!Object.is(c,y)||u!==M||i!==L)&&(p(w(c)),P(c),$(u),I(i));let S=(0,l.useMemo)(()=>h.parse(b),[h,b]),oe=()=>{if(!b.length){m(NaN),p(n===void 0?"":w(c));return}if(isNaN(S)){p(w(c));return}let D;D=r===void 0||isNaN(r)?de(S,a,t):j(S,a,t,r),D=h.parse(w(D)),m(D),p(w(n===void 0?D:c)),N.commitValidation()},q=(D,ue=0)=>{let _=S;if(isNaN(_))return j(isNaN(ue)?0:ue,a,t,x);{let te=j(_,a,t,x);return D==="+"&&te>_||D==="-"&&te<_?te:j(qe(D,_,x),a,t,x)}},ee=()=>{let D=q("+",a);D===c&&p(w(D)),m(D),N.commitValidation()},xe=()=>{let D=q("-",t);D===c&&p(w(D)),m(D),N.commitValidation()},le=()=>{t!=null&&(m(j(t,a,t,x)),N.commitValidation())},Ce=()=>{a!=null&&(m(a),N.commitValidation())},se=(0,l.useMemo)(()=>!d&&!f&&(isNaN(S)||t===void 0||isNaN(t)||j(S,a,t,x)>S||qe("+",S,x)<=t),[d,f,a,t,x,S]),De=(0,l.useMemo)(()=>!d&&!f&&(isNaN(S)||a===void 0||isNaN(a)||j(S,a,t,x)<S||qe("-",S,x)>=a),[d,f,a,t,x,S]);return{...N,validate:D=>h.isValidPartialNumber(D,a,t),increment:ee,incrementToMax:le,decrement:xe,decrementToMin:Ce,canIncrement:se,canDecrement:De,minValue:a,maxValue:t,numberValue:S,defaultNumberValue:isNaN(o)?v:o,setNumberValue:m,setInputValue:p,inputValue:b,commit:oe}}function qe(e,a,t){let r=e==="+"?a+t:a-t;if(a%1!=0||t%1!=0){let i=a.toString().split("."),n=t.toString().split("."),o=i[1]&&i[1].length||0,s=n[1]&&n[1].length||0,u=10**Math.max(o,s);a=Math.round(a*u),t=Math.round(t*u),r=e==="+"?a+t:a-t,r/=u}return r}var sa={};sa={Empty:"\u0641\u0627\u0631\u063A"};var ua={};ua={Empty:"\u0418\u0437\u043F\u0440\u0430\u0437\u043D\u0438"};var da={};da={Empty:"Pr\xE1zdn\xE9"};var ca={};ca={Empty:"Tom"};var ma={};ma={Empty:"Leer"};var fa={};fa={Empty:"\u0386\u03B4\u03B5\u03B9\u03BF"};var pa={};pa={Empty:"Empty"};var va={};va={Empty:"Vac\xEDo"};var ba={};ba={Empty:"T\xFChjenda"};var ha={};ha={Empty:"Tyhj\xE4"};var ga={};ga={Empty:"Vide"};var ya={};ya={Empty:"\u05E8\u05D9\u05E7"};var Ea={};Ea={Empty:"Prazno"};var Pa={};Pa={Empty:"\xDCres"};var wa={};wa={Empty:"Vuoto"};var La={};La={Empty:"\u7A7A"};var xa={};xa={Empty:"\uBE44\uC5B4 \uC788\uC74C"};var Ca={};Ca={Empty:"Tu\u0161\u010Dias"};var Da={};Da={Empty:"Tuk\u0161s"};var Na={};Na={Empty:"Tom"};var Sa={};Sa={Empty:"Leeg"};var Fa={};Fa={Empty:"Pusty"};var Ma={};Ma={Empty:"Vazio"};var Ta={};Ta={Empty:"Vazio"};var Va={};Va={Empty:"Gol"};var $a={};$a={Empty:"\u041D\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E"};var ka={};ka={Empty:"Pr\xE1zdne"};var Ia={};Ia={Empty:"Prazen"};var Ra={};Ra={Empty:"Prazno"};var ja={};ja={Empty:"Tomt"};var Aa={};Aa={Empty:"Bo\u015F"};var Ba={};Ba={Empty:"\u041F\u0443\u0441\u0442\u043E"};var Oa={};Oa={Empty:"\u7A7A"};var Ha={};Ha={Empty:"\u7A7A\u767D"};var Wa={};Wa={"ar-AE":sa,"bg-BG":ua,"cs-CZ":da,"da-DK":ca,"de-DE":ma,"el-GR":fa,"en-US":pa,"es-ES":va,"et-EE":ba,"fi-FI":ha,"fr-FR":ga,"he-IL":ya,"hr-HR":Ea,"hu-HU":Pa,"it-IT":wa,"ja-JP":La,"ko-KR":xa,"lt-LT":Ca,"lv-LV":Da,"nb-NO":Na,"nl-NL":Sa,"pl-PL":Fa,"pt-BR":Ma,"pt-PT":Ta,"ro-RO":Va,"ru-RU":$a,"sk-SK":ka,"sl-SI":Ia,"sr-SP":Ra,"sv-SE":ja,"tr-TR":Aa,"uk-UA":Ba,"zh-CN":Oa,"zh-TW":Ha};function en(e){return e&&e.__esModule?e.default:e}function _a(e){let a=(0,l.useRef)(void 0),{value:t,textValue:r,minValue:i,maxValue:n,isDisabled:o,isReadOnly:s,isRequired:u,onIncrement:d,onIncrementPage:f,onDecrement:c,onDecrementPage:m,onDecrementToMin:v,onIncrementToMax:b}=e,p=Re(en(Wa),"@react-aria/spinbutton"),h=()=>clearTimeout(a.current);(0,l.useEffect)(()=>()=>h(),[]);let g=L=>{if(!(L.ctrlKey||L.metaKey||L.shiftKey||L.altKey||s||L.nativeEvent.isComposing))switch(L.key){case"PageUp":if(f){L.preventDefault(),f==null||f();break}case"ArrowUp":case"Up":d&&(L.preventDefault(),d==null||d());break;case"PageDown":if(m){L.preventDefault(),m==null||m();break}case"ArrowDown":case"Down":c&&(L.preventDefault(),c==null||c());break;case"Home":v&&(L.preventDefault(),v==null||v());break;case"End":b&&(L.preventDefault(),b==null||b());break}},E=(0,l.useRef)(!1),C=()=>{E.current=!0},w=()=>{E.current=!1},N=r===""?p.format("Empty"):(r||`${t}`).replace("-","\u2212");(0,l.useEffect)(()=>{E.current&&(yi("assertive"),ke(N,"assertive"))},[N]);let x=W(L=>{h(),d==null||d(),a.current=window.setTimeout(()=>{(n===void 0||isNaN(n)||t===void 0||isNaN(t)||t<n)&&x(60)},L)}),y=W(L=>{h(),c==null||c(),a.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||t===void 0||isNaN(t)||t>i)&&y(60)},L)}),P=L=>{L.preventDefault()},{addGlobalListener:M,removeAllGlobalListeners:$}=Se();return{spinButtonProps:{role:"spinbutton","aria-valuenow":t!==void 0&&!isNaN(t)?t:void 0,"aria-valuetext":N,"aria-valuemin":i,"aria-valuemax":n,"aria-disabled":o||void 0,"aria-readonly":s||void 0,"aria-required":u||void 0,onKeyDown:g,onFocus:C,onBlur:w},incrementButtonProps:{onPressStart:()=>{x(400),M(window,"contextmenu",P)},onPressEnd:()=>{h(),$()},onFocus:C,onBlur:w},decrementButtonProps:{onPressStart:()=>{y(400),M(window,"contextmenu",P)},onPressEnd:()=>{h(),$()},onFocus:C,onBlur:w}}}var Ua={};Ua={decrease:e=>`\u062E\u0641\u0636 ${e.fieldLabel}`,increase:e=>`\u0632\u064A\u0627\u062F\u0629 ${e.fieldLabel}`,numberField:"\u062D\u0642\u0644 \u0631\u0642\u0645\u064A"};var za={};za={decrease:e=>`\u041D\u0430\u043C\u0430\u043B\u044F\u0432\u0430\u043D\u0435 ${e.fieldLabel}`,increase:e=>`\u0423\u0441\u0438\u043B\u0432\u0430\u043D\u0435 ${e.fieldLabel}`,numberField:"\u041D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043F\u043E\u043B\u0435\u0442\u043E"};var Ka={};Ka={decrease:e=>`Sn\xED\u017Eit ${e.fieldLabel}`,increase:e=>`Zv\xFD\u0161it ${e.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var Ga={};Ga={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`\xD8g ${e.fieldLabel}`,numberField:"Talfelt"};var qa={};qa={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erh\xF6hen`,numberField:"Nummernfeld"};var Za={};Za={decrease:e=>`\u039C\u03B5\u03AF\u03C9\u03C3\u03B7 ${e.fieldLabel}`,increase:e=>`\u0391\u03CD\u03BE\u03B7\u03C3\u03B7 ${e.fieldLabel}`,numberField:"\u03A0\u03B5\u03B4\u03AF\u03BF \u03B1\u03C1\u03B9\u03B8\u03BC\u03BF\u03CD"};var Ya={};Ya={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Xa={};Xa={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de n\xFAmero"};var Ja={};Ja={decrease:e=>`V\xE4henda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri v\xE4li"};var Qa={};Qa={decrease:e=>`V\xE4henn\xE4 ${e.fieldLabel}`,increase:e=>`Lis\xE4\xE4 ${e.fieldLabel}`,numberField:"Numerokentt\xE4"};var er={};er={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var tr={};tr={decrease:e=>`\u05D4\u05E7\u05D8\u05DF ${e.fieldLabel}`,increase:e=>`\u05D4\u05D2\u05D3\u05DC ${e.fieldLabel}`,numberField:"\u05E9\u05D3\u05D4 \u05DE\u05E1\u05E4\u05E8"};var ar={};ar={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Pove\u0107aj ${e.fieldLabel}`,numberField:"Polje broja"};var rr={};rr={decrease:e=>`${e.fieldLabel} cs\xF6kkent\xE9se`,increase:e=>`${e.fieldLabel} n\xF6vel\xE9se`,numberField:"Sz\xE1mmez\u0151"};var ir={};ir={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var nr={};nr={decrease:e=>`${e.fieldLabel}\u3092\u7E2E\u5C0F`,increase:e=>`${e.fieldLabel}\u3092\u62E1\u5927`,numberField:"\u6570\u5024\u30D5\u30A3\u30FC\u30EB\u30C9"};var or={};or={decrease:e=>`${e.fieldLabel} \uAC10\uC18C`,increase:e=>`${e.fieldLabel} \uC99D\uAC00`,numberField:"\uBC88\uD638 \uD544\uB4DC"};var lr={};lr={decrease:e=>`Suma\u017Einti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var sr={};sr={decrease:e=>`Samazin\u0101\u0161ana ${e.fieldLabel}`,increase:e=>`Palielin\u0101\u0161ana ${e.fieldLabel}`,numberField:"Skait\u013Cu lauks"};var ur={};ur={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`\xD8k ${e.fieldLabel}`,numberField:"Tallfelt"};var dr={};dr={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var cr={};cr={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwi\u0119ksz ${e.fieldLabel}`,numberField:"Pole numeru"};var mr={};mr={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de n\xFAmero"};var fr={};fr={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo num\xE9rico"};var pr={};pr={decrease:e=>`Sc\u0103dere ${e.fieldLabel}`,increase:e=>`Cre\u0219tere ${e.fieldLabel}`,numberField:"C\xE2mp numeric"};var vr={};vr={decrease:e=>`\u0423\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u0435 ${e.fieldLabel}`,increase:e=>`\u0423\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 ${e.fieldLabel}`,numberField:"\u0427\u0438\u0441\u043B\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435"};var br={};br={decrease:e=>`Zn\xED\u017Ei\u0165 ${e.fieldLabel}`,increase:e=>`Zv\xFD\u0161i\u0165 ${e.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var hr={};hr={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Pove\u010Dajte ${e.fieldLabel}`,numberField:"\u0160tevil\u010Dno polje"};var gr={};gr={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Pove\u0107aj ${e.fieldLabel}`,numberField:"Polje broja"};var yr={};yr={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`\xD6ka ${e.fieldLabel}`,numberField:"Nummerf\xE4lt"};var Er={};Er={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} artt\u0131r`,numberField:"Say\u0131 alan\u0131"};var Pr={};Pr={decrease:e=>`\u0417\u043C\u0435\u043D\u0448\u0438\u0442\u0438 ${e.fieldLabel}`,increase:e=>`\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438 ${e.fieldLabel}`,numberField:"\u041F\u043E\u043B\u0435 \u043D\u043E\u043C\u0435\u0440\u0430"};var wr={};wr={decrease:e=>`\u964D\u4F4E ${e.fieldLabel}`,increase:e=>`\u63D0\u9AD8 ${e.fieldLabel}`,numberField:"\u6570\u5B57\u5B57\u6BB5"};var Lr={};Lr={decrease:e=>`\u7E2E\u5C0F ${e.fieldLabel}`,increase:e=>`\u653E\u5927 ${e.fieldLabel}`,numberField:"\u6578\u5B57\u6B04\u4F4D"};var xr={};xr={"ar-AE":Ua,"bg-BG":za,"cs-CZ":Ka,"da-DK":Ga,"de-DE":qa,"el-GR":Za,"en-US":Ya,"es-ES":Xa,"et-EE":Ja,"fi-FI":Qa,"fr-FR":er,"he-IL":tr,"hr-HR":ar,"hu-HU":rr,"it-IT":ir,"ja-JP":nr,"ko-KR":or,"lt-LT":lr,"lv-LV":sr,"nb-NO":ur,"nl-NL":dr,"pl-PL":cr,"pt-BR":mr,"pt-PT":fr,"ro-RO":pr,"ru-RU":vr,"sk-SK":br,"sl-SI":hr,"sr-SP":gr,"sv-SE":yr,"tr-TR":Er,"uk-UA":Pr,"zh-CN":wr,"zh-TW":Lr};function tn(e){return e&&e.__esModule?e.default:e}function an(e,a,t){let{id:r,decrementAriaLabel:i,incrementAriaLabel:n,isDisabled:o,isReadOnly:s,isRequired:u,minValue:d,maxValue:f,autoFocus:c,label:m,formatOptions:v,onBlur:b=()=>{},onFocus:p,onFocusChange:h,onKeyDown:g,onKeyUp:E,description:C,errorMessage:w,isWheelDisabled:N,...x}=e,{increment:y,incrementToMax:P,decrement:M,decrementToMin:$,numberValue:L,inputValue:I,commit:S,commitValidation:oe}=a,q=Re(tn(xr),"@react-aria/numberfield"),ee=B(r),{focusProps:xe}=He({onBlur(){S()}}),le=Pt(v),Ce=(0,l.useMemo)(()=>le.resolvedOptions(),[le]),se=Pt({...v,currencySign:void 0}),{spinButtonProps:De,incrementButtonProps:tt,decrementButtonProps:D}=_a({isDisabled:o,isReadOnly:s,isRequired:u,maxValue:f,minValue:d,onIncrement:y,onIncrementToMax:P,onDecrement:M,onDecrementToMin:$,value:L,textValue:(0,l.useMemo)(()=>isNaN(L)?"":se.format(L),[se,L])}),[ue,_]=(0,l.useState)(!1),{focusWithinProps:te}=We({isDisabled:o,onFocusWithinChange:_});Hi({onScroll:(0,l.useCallback)(T=>{Math.abs(T.deltaY)<=Math.abs(T.deltaX)||(T.deltaY>0?y():T.deltaY<0&&M())},[M,y]),isDisabled:N||o||s||!ue},t);let at=(Ce.maximumFractionDigits??0)>0,rt=a.minValue===void 0||isNaN(a.minValue)||a.minValue<0,ae="numeric";ui()?rt?ae="text":at&&(ae="decimal"):si()&&(rt?ae="numeric":at&&(ae="decimal"));let Rr=T=>{a.validate(T)&&a.setInputValue(T)},jr=z(e),it=(0,l.useCallback)(T=>{T.nativeEvent.isComposing||(T.key==="Enter"?(S(),oe()):T.continuePropagation())},[S,oe]),{isInvalid:nt,validationErrors:Ar,validationDetails:Br}=a.displayValidation,{labelProps:ot,inputProps:Or,descriptionProps:Hr,errorMessageProps:Wr}=Yi({...x,...jr,name:void 0,form:void 0,label:m,autoFocus:c,isDisabled:o,isReadOnly:s,isRequired:u,validate:void 0,[ye]:a,value:I,defaultValue:"!",autoComplete:"off","aria-label":e["aria-label"]||void 0,"aria-labelledby":e["aria-labelledby"]||void 0,id:ee,type:"text",inputMode:ae,onChange:Rr,onBlur:b,onFocus:p,onFocusChange:h,onKeyDown:(0,l.useMemo)(()=>ti(it,g),[it,g]),onKeyUp:E,description:C,errorMessage:w},a,t);Te(t,a.defaultNumberValue,a.setNumberValue);let lt=V(De,xe,Or,{role:null,"aria-roledescription":ei()?null:q.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});e.validationBehavior==="native"&&(lt["aria-required"]=void 0);let st=T=>{var ct;document.activeElement!==t.current&&(T.pointerType==="mouse"?(ct=t.current)==null||ct.focus():T.target.focus())},Ne=e["aria-label"]||(typeof e.label=="string"?e.label:""),U;Ne||(U=e.label==null?e["aria-labelledby"]:ot.id);let ut=B(),dt=B(),_r=V(tt,{"aria-label":n||q.format("increase",{fieldLabel:Ne}).trim(),id:U&&!n?ut:null,"aria-labelledby":U&&!n?`${ut} ${U}`:null,"aria-controls":ee,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!a.canIncrement,onPressStart:st}),Ur=V(D,{"aria-label":i||q.format("decrease",{fieldLabel:Ne}).trim(),id:U&&!i?dt:null,"aria-labelledby":U&&!i?`${dt} ${U}`:null,"aria-controls":ee,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!a.canDecrement,onPressStart:st});return{groupProps:{...te,role:"group","aria-disabled":o,"aria-invalid":nt?"true":void 0},labelProps:ot,inputProps:lt,incrementButtonProps:_r,decrementButtonProps:Ur,errorMessageProps:Wr,descriptionProps:Hr,isInvalid:nt,validationErrors:Ar,validationDetails:Br}}var Ze=(0,l.createContext)({}),rn=Ge(function(e,a){[e,a]=K(e,a,Ze);let{elementType:t="label",...r}=e;return l.createElement(t,{className:"react-aria-Label",...r,ref:a})}),nn=(0,l.createContext)(null),Ye=(0,l.createContext)({}),Cr=Ge(function(e,a){[e,a]=K(e,a,Ye);let t=e,{isPending:r}=t,{buttonProps:i,isPressed:n}=la(e,a);i=on(i,r);let{focusProps:o,isFocused:s,isFocusVisible:u}=he(e),{hoverProps:d,isHovered:f}=be({...e,isDisabled:e.isDisabled||r}),c={isHovered:f,isPressed:(t.isPressed||n)&&!r,isFocused:s,isFocusVisible:u,isDisabled:e.isDisabled||!1,isPending:r??!1},m=Z({...e,values:c,defaultClassName:"react-aria-Button"}),v=B(i.id),b=B(),p=i["aria-labelledby"];r&&(p?p=`${p} ${b}`:i["aria-label"]&&(p=`${v} ${b}`));let h=(0,l.useRef)(r);(0,l.useEffect)(()=>{let E={"aria-labelledby":p||v};(!h.current&&s&&r||h.current&&s&&!r)&&ke(E,"assertive"),h.current=r},[r,s,p,v]);let g=z(e,{global:!0});return delete g.onClick,l.createElement("button",{...V(g,m,i,o,d),type:i.type==="submit"&&r?"button":i.type,id:v,ref:a,"aria-labelledby":p,slot:e.slot||void 0,"aria-disabled":r?"true":i["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":c.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":u||void 0},l.createElement(nn.Provider,{value:{id:b}},m.children))});function on(e,a){if(a){for(let t in e)t.startsWith("on")&&!(t.includes("Focus")||t.includes("Blur"))&&(e[t]=void 0);e.href=void 0,e.target=void 0}return e}var Xe=(0,l.createContext)({}),Dr=(0,l.forwardRef)(function(e,a){[e,a]=K(e,a,Xe);let{elementType:t="span",...r}=e;return l.createElement(t,{className:"react-aria-Text",...r,ref:a})}),Pe=(0,l.createContext)(null),ln=(0,l.forwardRef)(function(e,a){var t;return(t=(0,l.useContext)(Pe))!=null&&t.isInvalid?l.createElement(sn,{...e,ref:a}):null}),sn=(0,l.forwardRef)((e,a)=>{let t=(0,l.useContext)(Pe),r=z(e,{global:!0}),i=Z({...e,defaultClassName:"react-aria-FieldError",defaultChildren:t.validationErrors.length===0?void 0:t.validationErrors.join(" "),values:t});return i.children==null?null:l.createElement(Dr,{slot:"errorMessage",...r,...i,ref:a})}),Nr=(0,l.createContext)(null),Je=(0,l.createContext)({}),un=(0,l.forwardRef)(function(e,a){[e,a]=K(e,a,Je);let{isDisabled:t,isInvalid:r,isReadOnly:i,onHoverStart:n,onHoverChange:o,onHoverEnd:s,...u}=e,{hoverProps:d,isHovered:f}=be({onHoverStart:n,onHoverChange:o,onHoverEnd:s,isDisabled:t}),{isFocused:c,isFocusVisible:m,focusProps:v}=he({within:!0});t??(t=!!e["aria-disabled"]&&e["aria-disabled"]!=="false"),r??(r=!!e["aria-invalid"]&&e["aria-invalid"]!=="false");let b=Z({...e,values:{isHovered:f,isFocusWithin:c,isFocusVisible:m,isDisabled:t,isInvalid:r},defaultClassName:"react-aria-Group"});return l.createElement("div",{...V(u,v,d),...b,ref:a,role:e.role??"group",slot:e.slot??void 0,"data-focus-within":c||void 0,"data-hovered":f||void 0,"data-focus-visible":m||void 0,"data-disabled":t||void 0,"data-invalid":r||void 0,"data-readonly":i||void 0},b.children)}),Qe=(0,l.createContext)({}),dn=e=>{let{onHoverStart:a,onHoverChange:t,onHoverEnd:r,...i}=e;return i},Sr=Ge(function(e,a){[e,a]=K(e,a,Qe);let{hoverProps:t,isHovered:r}=be(e),{isFocused:i,isFocusVisible:n,focusProps:o}=he({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",u=Z({...e,values:{isHovered:r,isFocused:i,isFocusVisible:n,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return l.createElement("input",{...V(dn(e),o,t),...u,ref:a,"data-focused":i||void 0,"data-disabled":e.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":n||void 0,"data-invalid":s||void 0})}),cn=(0,l.createContext)(null),mn=(0,l.createContext)(null),fn=(0,l.forwardRef)(function(e,a){[e,a]=K(e,a,cn);let{validationBehavior:t}=$e(Nr)||{},r=e.validationBehavior??t??"native",{locale:i}=Fe(),n=Qi({...e,locale:i,validationBehavior:r}),o=(0,l.useRef)(null),[s,u]=Tt(!e["aria-label"]&&!e["aria-labelledby"]),{labelProps:d,groupProps:f,inputProps:c,incrementButtonProps:m,decrementButtonProps:v,descriptionProps:b,errorMessageProps:p,...h}=an({...Vt(e),label:u,validationBehavior:r},n,o),g=Z({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:h.isInvalid||!1,isRequired:e.isRequired||!1},defaultClassName:"react-aria-NumberField"}),E=z(e,{global:!0});return delete E.id,l.createElement(Mt,{values:[[mn,n],[Je,f],[Qe,{...c,ref:o}],[Ze,{...d,ref:s}],[Ye,{slots:{increment:m,decrement:v}}],[Xe,{slots:{description:b,errorMessage:p}}],[Pe,h]]},l.createElement("div",{...E,...g,ref:a,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-required":e.isRequired||void 0,"data-invalid":h.isInvalid||void 0}),e.name&&l.createElement("input",{type:"hidden",name:e.name,form:e.form,value:isNaN(n.numberValue)?"":n.numberValue,disabled:e.isDisabled||void 0}))}),Fr=ft(),F=mt(Kr(),1);const et=l.forwardRef((e,a)=>{let t=(0,Fr.c)(40),{placeholder:r,variant:i,...n}=e,o=i===void 0?"default":i,{locale:s}=Fe(),u=fn,d;t[0]===s?d=t[1]:(d=ci(s),t[0]=s,t[1]=d);let f;t[2]===d?f=t[3]:(f={minimumFractionDigits:0,maximumFractionDigits:d},t[2]=d,t[3]=f);let c=R("shadow-xs-solid hover:shadow-sm-solid hover:focus-within:shadow-md-solid","flex overflow-hidden rounded-sm border border-input bg-background text-sm font-code ring-offset-background","disabled:cursor-not-allowed disabled:opacity-50 disabled:shadow-xs-solid","focus-within:shadow-md-solid focus-within:outline-hidden focus-within:ring-1 focus-within:ring-ring focus-within:border-primary",o==="default"?"h-6 w-full mb-1":"h-4 w-full mb-0.5",o==="xs"&&"text-xs",n.className),m=n.isDisabled,v=o==="default"?"px-1.5":"px-1",b;t[4]===v?b=t[5]:(b=R("flex-1","w-full","placeholder:text-muted-foreground","outline-hidden","disabled:cursor-not-allowed disabled:opacity-50",v),t[4]=v,t[5]=b);let p;t[6]!==r||t[7]!==n.isDisabled||t[8]!==a||t[9]!==b?(p=(0,F.jsx)(Sr,{ref:a,disabled:m,placeholder:r,onKeyDown:pn,className:b}),t[6]=r,t[7]=n.isDisabled,t[8]=a,t[9]=b,t[10]=p):p=t[10];let h=n.isDisabled,g=o==="xs"&&"w-2 h-2",E;t[11]===g?E=t[12]:(E=R("w-3 h-3 -mb-px",g),t[11]=g,t[12]=E);let C;t[13]===E?C=t[14]:(C=(0,F.jsx)(Zr,{"aria-hidden":!0,className:E}),t[13]=E,t[14]=C);let w;t[15]!==n.isDisabled||t[16]!==C||t[17]!==o?(w=(0,F.jsx)(Mr,{slot:"increment",isDisabled:h,variant:o,children:C}),t[15]=n.isDisabled,t[16]=C,t[17]=o,t[18]=w):w=t[18];let N;t[19]===Symbol.for("react.memo_cache_sentinel")?(N=(0,F.jsx)("div",{className:"h-px shrink-0 divider bg-border z-10"}),t[19]=N):N=t[19];let x=n.isDisabled,y=o==="xs"&&"w-2 h-2",P;t[20]===y?P=t[21]:(P=R("w-3 h-3 -mt-px",y),t[20]=y,t[21]=P);let M;t[22]===P?M=t[23]:(M=(0,F.jsx)(Yr,{"aria-hidden":!0,className:P}),t[22]=P,t[23]=M);let $;t[24]!==n.isDisabled||t[25]!==M||t[26]!==o?($=(0,F.jsx)(Mr,{slot:"decrement",isDisabled:x,variant:o,children:M}),t[24]=n.isDisabled,t[25]=M,t[26]=o,t[27]=$):$=t[27];let L;t[28]!==w||t[29]!==$?(L=(0,F.jsxs)("div",{className:"flex flex-col border-s-2",children:[w,N,$]}),t[28]=w,t[29]=$,t[30]=L):L=t[30];let I;t[31]!==L||t[32]!==c||t[33]!==p?(I=(0,F.jsxs)("div",{className:c,children:[p,L]}),t[31]=L,t[32]=c,t[33]=p,t[34]=I):I=t[34];let S;return t[35]!==u||t[36]!==n||t[37]!==I||t[38]!==f?(S=(0,F.jsx)(u,{...n,formatOptions:f,children:I}),t[35]=u,t[36]=n,t[37]=I,t[38]=f,t[39]=S):S=t[39],S});et.displayName="NumberField";var Mr=e=>{let a=(0,Fr.c)(6),t=!e.isDisabled&&"hover:text-primary hover:bg-muted",r=e.variant==="default"?"px-0.5":"px-0.25",i;a[0]!==t||a[1]!==r?(i=R("cursor-default text-muted-foreground pressed:bg-muted-foreground group-disabled:text-disabled-foreground outline-hidden focus-visible:text-primary","disabled:cursor-not-allowed disabled:opacity-50",t,r),a[0]=t,a[1]=r,a[2]=i):i=a[2];let n;return a[3]!==e||a[4]!==i?(n=(0,F.jsx)(Cr,{...e,className:i}),a[3]=e,a[4]=i,a[5]=n):n=a[5],n};function pn(e){(e.key==="ArrowUp"||e.key==="ArrowDown")&&e.stopPropagation()}var we=ft(),Le=l.forwardRef((e,a)=>{let t=(0,we.c)(28),r,i,n,o,s,u,d;if(t[0]!==a||t[1]!==e){u=Symbol.for("react.early_return_sentinel");e:{if({className:r,type:d,endAdornment:i,...o}=e,n=o.icon,d==="hidden"){u=(0,F.jsx)("input",{type:"hidden",ref:a,...o});break e}s=R("relative",o.rootClassName)}t[0]=a,t[1]=e,t[2]=r,t[3]=i,t[4]=n,t[5]=o,t[6]=s,t[7]=u,t[8]=d}else r=t[2],i=t[3],n=t[4],o=t[5],s=t[6],u=t[7],d=t[8];if(u!==Symbol.for("react.early_return_sentinel"))return u;let f;t[9]===n?f=t[10]:(f=n&&(0,F.jsx)("div",{className:"absolute inset-y-0 left-0 flex items-center pl-[6px] pointer-events-none text-muted-foreground",children:n}),t[9]=n,t[10]=f);let c=n&&"pl-7",m=i&&"pr-10",v;t[11]!==r||t[12]!==c||t[13]!==m?(v=R("shadow-xs-solid hover:shadow-sm-solid disabled:shadow-xs-solid focus-visible:shadow-md-solid","flex h-6 w-full mb-1 rounded-sm border border-input bg-background px-1.5 py-1 text-sm font-code ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:border-primary disabled:cursor-not-allowed disabled:opacity-50",c,m,r),t[11]=r,t[12]=c,t[13]=m,t[14]=v):v=t[14];let b;t[15]===Symbol.for("react.memo_cache_sentinel")?(b=Gr.stopPropagation(),t[15]=b):b=t[15];let p;t[16]!==o||t[17]!==a||t[18]!==v||t[19]!==d?(p=(0,F.jsx)("input",{type:d,className:v,ref:a,onClick:b,...o}),t[16]=o,t[17]=a,t[18]=v,t[19]=d,t[20]=p):p=t[20];let h;t[21]===i?h=t[22]:(h=i&&(0,F.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center pr-[6px] text-muted-foreground h-6",children:i}),t[21]=i,t[22]=h);let g;return t[23]!==s||t[24]!==f||t[25]!==p||t[26]!==h?(g=(0,F.jsxs)("div",{className:s,children:[f,p,h]}),t[23]=s,t[24]=f,t[25]=p,t[26]=h,t[27]=g):g=t[27],g});Le.displayName="Input";const Tr=l.forwardRef((e,a)=>{let t=(0,we.c)(16),r,i,n;t[0]===e?(r=t[1],i=t[2],n=t[3]):({className:r,onValueChange:i,...n}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=n);let o;t[4]!==i||t[5]!==n.delay||t[6]!==n.value?(o={initialValue:n.value,delay:n.delay,onChange:i},t[4]=i,t[5]=n.delay,t[6]=n.value,t[7]=o):o=t[7];let{value:s,onChange:u}=wt(o),d;t[8]===u?d=t[9]:(d=c=>u(c.target.value),t[8]=u,t[9]=d);let f;return t[10]!==r||t[11]!==n||t[12]!==a||t[13]!==d||t[14]!==s?(f=(0,F.jsx)(Le,{ref:a,className:r,...n,onChange:d,value:s}),t[10]=r,t[11]=n,t[12]=a,t[13]=d,t[14]=s,t[15]=f):f=t[15],f});Tr.displayName="DebouncedInput";const Vr=l.forwardRef((e,a)=>{let t=(0,we.c)(13),r,i,n;t[0]===e?(r=t[1],i=t[2],n=t[3]):({className:r,onValueChange:i,...n}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=n);let o;t[4]!==i||t[5]!==n.value?(o={initialValue:n.value,delay:200,onChange:i},t[4]=i,t[5]=n.value,t[6]=o):o=t[6];let{value:s,onChange:u}=wt(o),d;return t[7]!==r||t[8]!==u||t[9]!==n||t[10]!==a||t[11]!==s?(d=(0,F.jsx)(et,{ref:a,className:r,...n,onChange:u,value:s}),t[7]=r,t[8]=u,t[9]=n,t[10]=a,t[11]=s,t[12]=d):d=t[12],d});Vr.displayName="DebouncedNumberInput";const $r=l.forwardRef(({className:e,rootClassName:a,icon:t=(0,F.jsx)(Lt,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),clearable:r=!0,...i},n)=>{let o=l.useId(),s=i.id||o;return(0,F.jsxs)("div",{className:R("flex items-center border-b px-3",a),children:[t,(0,F.jsx)("input",{id:s,ref:n,className:R("placeholder:text-foreground-muted flex h-7 m-1 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...i}),r&&i.value&&(0,F.jsx)("span",{onPointerDown:u=>{var f;u.preventDefault(),u.stopPropagation();let d=document.getElementById(s);d&&d instanceof HTMLInputElement&&(d.focus(),d.value="",(f=i.onChange)==null||f.call(i,{...u,target:d,currentTarget:d,type:"change"}))},children:(0,F.jsx)(Xr,{className:"h-4 w-4 opacity-50 hover:opacity-90 cursor-pointer"})})]})});$r.displayName="SearchInput";const kr=l.forwardRef((e,a)=>{let t=(0,we.c)(23),r,i,n;t[0]===e?(r=t[1],i=t[2],n=t[3]):({className:r,onValueChange:i,...n}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=n);let[o,s]=l.useState(n.value),u;t[4]!==o||t[5]!==i||t[6]!==n.value?(u={prop:n.value,defaultProp:o,onChange:i},t[4]=o,t[5]=i,t[6]=n.value,t[7]=u):u=t[7];let[d,f]=Jr(u),c,m;t[8]===d?(c=t[9],m=t[10]):(c=()=>{s(d||"")},m=[d],t[8]=d,t[9]=c,t[10]=m),l.useEffect(c,m);let v;t[11]===Symbol.for("react.memo_cache_sentinel")?(v=g=>s(g.target.value),t[11]=v):v=t[11];let b,p;t[12]!==o||t[13]!==f?(b=()=>f(o||""),p=g=>{g.key==="Enter"&&f(o||"")},t[12]=o,t[13]=f,t[14]=b,t[15]=p):(b=t[14],p=t[15]);let h;return t[16]!==r||t[17]!==o||t[18]!==n||t[19]!==a||t[20]!==b||t[21]!==p?(h=(0,F.jsx)(Le,{ref:a,className:r,...n,value:o,onChange:v,onBlur:b,onKeyDown:p}),t[16]=r,t[17]=o,t[18]=n,t[19]=a,t[20]=b,t[21]=p,t[22]=h):h=t[22],h});kr.displayName="OnBlurredInput";export{Ft as $,aa as A,ki as B,Ji as C,ge as D,ye as E,Jt as F,Rt as G,je as H,Xt as I,Mt as J,Ie as K,Zt as L,he as M,be as N,Q as O,We as P,gi as Q,Gt as R,Xi as S,zi as T,At as U,Oe as V,Re as W,Z as X,K as Y,Tt as Z,Cr as _,$r as a,St as at,_a as b,Sr as c,z as ct,Nr as d,Vt as et,ln as f,Ye as g,Xe as h,kr as i,Te as it,ta as j,Ue as k,un as l,Lt as lt,Dr as m,Vr as n,de as nt,et as o,Nt as ot,Pe as p,ke as q,Le as r,Ve as rt,Qe as s,Dt as st,Tr as t,$e as tt,Je as u,Ze as v,na as w,la as x,rn as y,qt as z};
1
+ import{s as mt}from"./chunk-LvLJmgfZ.js";import{t as zr}from"./react-Bj1aDYRI.js";import{t as ft}from"./compiler-runtime-B3qBwwSJ.js";import{t as Kr}from"./jsx-runtime-ZmTK25f3.js";import{r as Gr}from"./button-CZ3Cs4qb.js";import{t as R}from"./cn-BKtXLv3a.js";import{t as qr}from"./createLucideIcon-BCdY6lG5.js";import{n as Zr,r as Yr,t as Xr}from"./x-ZP5cObgf.js";import{S as Jr}from"./Combination-izwufzWe.js";import{A as re,C as Qr,D as pt,E as ei,F as ti,I as vt,L as B,N as O,O as V,P as H,R as W,a as ai,d as ri,f as ii,i as bt,j as ht,k as gt,m as ni,o as yt,p as Se,r as oi,t as li,w as si,y as ui,z as Et}from"./usePress-3CRs0fQg.js";import{t as di}from"./SSRProvider-DrpctNAg.js";import{t as Fe}from"./context-Ga_vV5mE.js";import{n as Me,t as Pt}from"./useNumberFormatter-BX4DTYtT.js";import{t as ci}from"./numbers-UHLm3mA-.js";import{t as wt}from"./useDebounce-B28kFfrM.js";var Lt=qr("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);function mi(...e){return e.length===1&&e[0]?e[0]:a=>{let t=!1,r=e.map(i=>{let n=xt(i,a);return t||(t=typeof n=="function"),n});if(t)return()=>{r.forEach((i,n)=>{typeof i=="function"?i():xt(e[n],null)})}}}function xt(e,a){if(typeof e=="function")return e(a);e!=null&&(e.current=a)}var fi=new Set(["id"]),pi=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),vi=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),bi=new Set(["dir","lang","hidden","inert","translate"]),Ct=new Set("onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")),hi=/^(data-.*)$/;function z(e,a={}){let{labelable:t,isLink:r,global:i,events:n=i,propNames:o}=a,s={};for(let u in e)Object.prototype.hasOwnProperty.call(e,u)&&(fi.has(u)||t&&pi.has(u)||r&&vi.has(u)||i&&bi.has(u)||n&&Ct.has(u)||u.endsWith("Capture")&&Ct.has(u.slice(0,-7))||o!=null&&o.has(u)||hi.test(u))&&(s[u]=e[u]);return s}function Dt(e,a){let{id:t,"aria-label":r,"aria-labelledby":i}=e;return t=B(t),i&&r?i=[...new Set([t,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&a&&(r=a),{id:t,"aria-label":r,"aria-labelledby":i}}var l=mt(zr(),1);function Nt(e){let a=(0,l.useRef)(null),t=(0,l.useRef)(void 0),r=(0,l.useCallback)(i=>{if(typeof e=="function"){let n=e,o=n(i);return()=>{typeof o=="function"?o():n(null)}}else if(e)return e.current=i,()=>{e.current=null}},[e]);return(0,l.useMemo)(()=>({get current(){return a.current},set current(i){a.current=i,t.current&&(t.current=(t.current(),void 0)),i!=null&&(t.current=r(i))}}),[r])}function St(e,a,t,r){let i=W(t),n=t==null;(0,l.useEffect)(()=>{if(n||!e.current)return;let o=e.current;return o.addEventListener(a,i,r),()=>{o.removeEventListener(a,i,r)}},[e,a,r,n,i])}function Te(e,a,t){let r=W(()=>{t&&t(a)});(0,l.useEffect)(()=>{var n;let i=(n=e==null?void 0:e.current)==null?void 0:n.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e,r])}function Ve(e,a,t){let[r,i]=(0,l.useState)(e||a),n=(0,l.useRef)(e!==void 0),o=e!==void 0;(0,l.useEffect)(()=>{n.current,n.current=o},[o]);let s=o?e:r,u=(0,l.useCallback)((d,...f)=>{let c=(m,...v)=>{t&&(Object.is(s,m)||t(m,...v)),o||(s=m)};typeof d=="function"?i((m,...v)=>{let b=d(o?s:m,...v);return c(b,...f),o?m:b}):(o||i(d),c(d,...f))},[o,s,t]);return[s,u]}function de(e,a=-1/0,t=1/0){return Math.min(Math.max(e,a),t)}function ce(e,a){let t=e,r=0,i=a.toString(),n=i.toLowerCase().indexOf("e-");if(n>0)r=Math.abs(Math.floor(Math.log10(Math.abs(a))))+n;else{let o=i.indexOf(".");o>=0&&(r=i.length-o)}if(r>0){let o=10**r;t=Math.round(t*o)/o}return t}function j(e,a,t,r){a=Number(a),t=Number(t);let i=(e-(isNaN(a)?0:a))%r,n=ce(Math.abs(i)*2>=r?e+Math.sign(i)*(r-Math.abs(i)):e-i,r);return isNaN(a)?!isNaN(t)&&n>t&&(n=Math.floor(ce(t/r,r))*r):n<a?n=a:!isNaN(t)&&n>t&&(n=a+Math.floor(ce((t-a)/r,r))*r),n=ce(n,r),n}var Ft=Symbol("default");function Mt({values:e,children:a}){for(let[t,r]of e)a=l.createElement(t.Provider,{value:r},a);return a}function Z(e){let{className:a,style:t,children:r,defaultClassName:i,defaultChildren:n,defaultStyle:o,values:s}=e;return(0,l.useMemo)(()=>{let u,d,f;return u=typeof a=="function"?a({...s,defaultClassName:i}):a,d=typeof t=="function"?t({...s,defaultStyle:o||{}}):t,f=typeof r=="function"?r({...s,defaultChildren:n}):r??n,{className:u??i,style:d||o?{...o,...d}:void 0,children:f??n,"data-rac":""}},[a,t,r,i,n,o,s])}function gi(e,a){return t=>a(typeof e=="function"?e(t):e,t)}function $e(e,a){let t=(0,l.useContext)(e);if(a===null)return null;if(t&&typeof t=="object"&&"slots"in t&&t.slots){let r=a||Ft;if(!t.slots[r]){let i=new Intl.ListFormat().format(Object.keys(t.slots).map(o=>`"${o}"`)),n=a?`Invalid slot "${a}".`:"A slot prop is required.";throw Error(`${n} Valid slot names are ${i}.`)}return t.slots[r]}return t}function K(e,a,t){let{ref:r,...i}=$e(t,e.slot)||{},n=Nt((0,l.useMemo)(()=>mi(a,r),[a,r])),o=V(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?o.style=s=>{let u=typeof i.style=="function"?i.style(s):i.style,d={...s.defaultStyle,...u},f=typeof e.style=="function"?e.style({...s,defaultStyle:d}):e.style;return{...d,...f}}:o.style={...i.style,...e.style}),[o,n]}function Tt(e=!0){let[a,t]=(0,l.useState)(e),r=(0,l.useRef)(!1),i=(0,l.useCallback)(n=>{r.current=!0,t(!!n)},[]);return Et(()=>{r.current||t(!1)},[]),[i,a]}function Vt(e){let a=/^(data-.*)$/,t={};for(let r in e)a.test(r)||(t[r]=e[r]);return t}var $t=7e3,k=null;function ke(e,a="assertive",t=$t){k?k.announce(e,a,t):(k=new Ei,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?k.announce(e,a,t):setTimeout(()=>{k!=null&&k.isAttached()&&(k==null||k.announce(e,a,t))},100))}function yi(e){k&&k.clear(e)}var Ei=class{isAttached(){var e;return(e=this.node)==null?void 0:e.isConnected}createLog(e){let a=document.createElement("div");return a.setAttribute("role","log"),a.setAttribute("aria-live",e),a.setAttribute("aria-relevant","additions"),a}destroy(){this.node&&(this.node=(document.body.removeChild(this.node),null))}announce(e,a="assertive",t=$t){var r,i;if(!this.node)return;let n=document.createElement("div");typeof e=="object"?(n.setAttribute("role","img"),n.setAttribute("aria-labelledby",e["aria-labelledby"])):n.textContent=e,a==="assertive"?(r=this.assertiveLog)==null||r.appendChild(n):(i=this.politeLog)==null||i.appendChild(n),e!==""&&setTimeout(()=>{n.remove()},t)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}},Pi=Symbol.for("react-aria.i18n.locale"),wi=Symbol.for("react-aria.i18n.strings"),Y=void 0,Ie=class Ir{getStringForLocale(a,t){let r=this.getStringsForLocale(t)[a];if(!r)throw Error(`Could not find intl message ${a} in ${t} locale`);return r}getStringsForLocale(a){let t=this.strings[a];return t||(t=Li(a,this.strings,this.defaultLocale),this.strings[a]=t),t}static getGlobalDictionaryForPackage(a){if(typeof window>"u")return null;let t=window[Pi];if(Y===void 0){let i=window[wi];if(!i)return null;for(let n in Y={},i)Y[n]=new Ir({[t]:i[n]},t)}let r=Y==null?void 0:Y[a];if(!r)throw Error(`Strings for package "${a}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(a,t="en-US"){this.strings=Object.fromEntries(Object.entries(a).filter(([,r])=>r)),this.defaultLocale=t}};function Li(e,a,t="en-US"){if(a[e])return a[e];let r=xi(e);if(a[r])return a[r];for(let i in a)if(i.startsWith(r+"-"))return a[i];return a[t]}function xi(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}var kt=new Map,It=new Map,Rt=class{format(e,a){let t=this.strings.getStringForLocale(e,this.locale);return typeof t=="function"?t(a,this):t}plural(e,a,t="cardinal"){let r=a["="+e];if(r)return typeof r=="function"?r():r;let i=this.locale+":"+t,n=kt.get(i);return n||(n=new Intl.PluralRules(this.locale,{type:t}),kt.set(i,n)),r=a[n.select(e)]||a.other,typeof r=="function"?r():r}number(e){let a=It.get(this.locale);return a||(a=new Intl.NumberFormat(this.locale),It.set(this.locale,a)),a.format(e)}select(e,a){let t=e[a]||e.other;return typeof t=="function"?t():t}constructor(e,a){this.locale=e,this.strings=a}},jt=new WeakMap;function Ci(e){let a=jt.get(e);return a||(a=new Ie(e),jt.set(e,a)),a}function At(e,a){return a&&Ie.getGlobalDictionaryForPackage(a)||Ci(e)}function Re(e,a){let{locale:t}=Fe(),r=At(e,a);return(0,l.useMemo)(()=>new Rt(t,r),[t,r])}var Di=RegExp("^.*\\(.*\\).*$"),Ni=["latn","arab","hanidec","deva","beng","fullwide"],je=class{parse(e){return Ae(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,a,t){return Ae(this.locale,this.options,e).isValidPartialNumber(e,a,t)}getNumberingSystem(e){return Ae(this.locale,this.options,e).options.numberingSystem}constructor(e,a={}){this.locale=e,this.options=a}},Bt=new Map;function Ae(e,a,t){let r=Ot(e,a);if(!e.includes("-nu-")&&!r.isValidPartialNumber(t)){for(let i of Ni)if(i!==r.options.numberingSystem){let n=Ot(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,a);if(n.isValidPartialNumber(t))return n}}return r}function Ot(e,a){let t=e+(a?Object.entries(a).sort((i,n)=>i[0]<n[0]?-1:1).join():""),r=Bt.get(t);return r||(r=new Si(e,a),Bt.set(t,r)),r}var Si=class{parse(e){let a=this.sanitize(e);if(this.symbols.group&&(a=X(a,this.symbols.group,"")),this.symbols.decimal&&(a=a.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(a=a.replace(this.symbols.minusSign,"-")),a=a.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let r=a.indexOf("-");a=a.replace("-",""),a=a.replace("+","");let i=a.indexOf(".");i===-1&&(i=a.length),a=a.replace(".",""),a=i-2==0?`0.${a}`:i-2==-1?`0.0${a}`:i-2==-2?"0.00":`${a.slice(0,i-2)}.${a.slice(i-2)}`,r>-1&&(a=`-${a}`)}let t=a?+a:NaN;if(isNaN(t))return NaN;if(this.options.style==="percent"){let r={...this.options,style:"decimal",minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new je(this.locale,r).parse(new Me(this.locale,r).format(t))}return this.options.currencySign==="accounting"&&Di.test(e)&&(t=-1*t),t}sanitize(e){return e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(e=e.replace(",",this.symbols.decimal),e=e.replace("\u060C",this.symbols.decimal)),this.symbols.group&&(e=X(e,".",this.symbols.group))),this.symbols.group==="\u2019"&&e.includes("'")&&(e=X(e,"'",this.symbols.group)),this.options.locale==="fr-FR"&&this.symbols.group&&(e=X(e," ",this.symbols.group),e=X(e,/\u00A0/g,this.symbols.group)),e}isValidPartialNumber(e,a=-1/0,t=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&a<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&t>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(e=X(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),e.length===0)}constructor(e,a={}){this.locale=e,a.roundingIncrement!==1&&a.roundingIncrement!=null&&(a.maximumFractionDigits==null&&a.minimumFractionDigits==null?(a.maximumFractionDigits=0,a.minimumFractionDigits=0):a.maximumFractionDigits==null?a.maximumFractionDigits=a.minimumFractionDigits:a.minimumFractionDigits??(a.minimumFractionDigits=a.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,a),this.options=this.formatter.resolvedOptions(),this.symbols=Mi(e,this.formatter,this.options,a),this.options.style==="percent"&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}},Ht=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Fi=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Mi(e,a,t,r){var C,w,N,x;let i=new Intl.NumberFormat(e,{...t,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),n=i.formatToParts(-10000.111),o=i.formatToParts(10000.111),s=Fi.map(y=>i.formatToParts(y)),u=((C=n.find(y=>y.type==="minusSign"))==null?void 0:C.value)??"-",d=(w=o.find(y=>y.type==="plusSign"))==null?void 0:w.value;!d&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(d="+");let f=(N=new Intl.NumberFormat(e,{...t,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(y=>y.type==="decimal"))==null?void 0:N.value,c=(x=n.find(y=>y.type==="group"))==null?void 0:x.value,m=n.filter(y=>!Ht.has(y.type)).map(y=>Wt(y.value)),v=s.flatMap(y=>y.filter(P=>!Ht.has(P.type)).map(P=>Wt(P.value))),b=[...new Set([...m,...v])].sort((y,P)=>P.length-y.length),p=b.length===0?RegExp("[\\p{White_Space}]","gu"):RegExp(`${b.join("|")}|[\\p{White_Space}]`,"gu"),h=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),g=new Map(h.map((y,P)=>[y,P])),E=RegExp(`[${h.join("")}]`,"g");return{minusSign:u,plusSign:d,decimal:f,group:c,literals:p,numeral:E,index:y=>String(g.get(y))}}function X(e,a,t){return e.replaceAll?e.replaceAll(a,t):e.split(a).join(t)}function Wt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var A=null,ie=new Set,ne=new Map,G=!1,Be=!1,Ti={Tab:!0,Escape:!0};function me(e,a){for(let t of ie)t(e,a)}function Vi(e){return!(e.metaKey||!Qr()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function fe(e){G=!0,Vi(e)&&(A="keyboard",me("keyboard",e))}function J(e){A="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(G=!0,me("pointer",e))}function _t(e){ri(e)&&(G=!0,A="virtual")}function Ut(e){e.target===window||e.target===document||yt||!e.isTrusted||(!G&&!Be&&(A="virtual",me("virtual",e)),G=!1,Be=!1)}function zt(){yt||(G=!1,Be=!0)}function pe(e){if(typeof window>"u"||typeof document>"u"||ne.get(H(e)))return;let a=H(e),t=O(e),r=a.HTMLElement.prototype.focus;a.HTMLElement.prototype.focus=function(){G=!0,r.apply(this,arguments)},t.addEventListener("keydown",fe,!0),t.addEventListener("keyup",fe,!0),t.addEventListener("click",_t,!0),a.addEventListener("focus",Ut,!0),a.addEventListener("blur",zt,!1),typeof PointerEvent<"u"&&(t.addEventListener("pointerdown",J,!0),t.addEventListener("pointermove",J,!0),t.addEventListener("pointerup",J,!0)),a.addEventListener("beforeunload",()=>{Kt(e)},{once:!0}),ne.set(a,{focus:r})}var Kt=(e,a)=>{let t=H(e),r=O(e);a&&r.removeEventListener("DOMContentLoaded",a),ne.has(t)&&(t.HTMLElement.prototype.focus=ne.get(t).focus,r.removeEventListener("keydown",fe,!0),r.removeEventListener("keyup",fe,!0),r.removeEventListener("click",_t,!0),t.removeEventListener("focus",Ut,!0),t.removeEventListener("blur",zt,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",J,!0),r.removeEventListener("pointermove",J,!0),r.removeEventListener("pointerup",J,!0)),ne.delete(t))};function $i(e){let a=O(e),t;return a.readyState==="loading"?(t=()=>{pe(e)},a.addEventListener("DOMContentLoaded",t)):pe(e),()=>Kt(e,t)}typeof document<"u"&&$i();function Oe(){return A!=="pointer"}function Gt(){return A}function qt(e){A=e,me(e,null)}function ki(){pe();let[e,a]=(0,l.useState)(A);return(0,l.useEffect)(()=>{let t=()=>{a(A)};return ie.add(t),()=>{ie.delete(t)}},[]),di()?null:e}var Ii=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ri(e,a,t){let r=O(t==null?void 0:t.target),i=typeof window<"u"?H(t==null?void 0:t.target).HTMLInputElement:HTMLInputElement,n=typeof window<"u"?H(t==null?void 0:t.target).HTMLTextAreaElement:HTMLTextAreaElement,o=typeof window<"u"?H(t==null?void 0:t.target).HTMLElement:HTMLElement,s=typeof window<"u"?H(t==null?void 0:t.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof i&&!Ii.has(r.activeElement.type)||r.activeElement instanceof n||r.activeElement instanceof o&&r.activeElement.isContentEditable,!(e&&a==="keyboard"&&t instanceof s&&!Ti[t.key])}function ji(e,a,t){pe(),(0,l.useEffect)(()=>{let r=(i,n)=>{Ri(!!(t!=null&&t.isTextInput),i,n)&&e(Oe())};return ie.add(r),()=>{ie.delete(r)}},a)}function Zt(e){let a=O(e),t=re(a);if(Gt()==="virtual"){let r=t;ni(()=>{re(a)===r&&e.isConnected&&pt(e)})}else pt(e)}function He(e){let{isDisabled:a,onFocus:t,onBlur:r,onFocusChange:i}=e,n=(0,l.useCallback)(u=>{if(u.target===u.currentTarget)return r&&r(u),i&&i(!1),!0},[r,i]),o=bt(n),s=(0,l.useCallback)(u=>{let d=O(u.target),f=d?re(d):re();u.target===u.currentTarget&&f===ht(u.nativeEvent)&&(t&&t(u),i&&i(!0),o(u))},[i,t,o]);return{focusProps:{onFocus:!a&&(t||i||r)?s:void 0,onBlur:!a&&(r||i)?n:void 0}}}function Yt(e){if(!e)return;let a=!0;return t=>{e({...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){a=!0},continuePropagation(){a=!1},isPropagationStopped(){return a}}),a&&t.stopPropagation()}}function Xt(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Yt(e.onKeyDown),onKeyUp:Yt(e.onKeyUp)}}}var Jt=l.createContext(null);function Ai(e){let a=(0,l.useContext)(Jt)||{};ii(a,e);let{ref:t,...r}=a;return r}function Qt(e,a){let{focusProps:t}=He(e),{keyboardProps:r}=Xt(e),i=V(t,r),n=Ai(a),o=e.isDisabled?{}:n,s=(0,l.useRef)(e.autoFocus);(0,l.useEffect)(()=>{s.current&&a.current&&Zt(a.current),s.current=!1},[a]);let u=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(u=void 0),{focusableProps:V({...i,tabIndex:u},o)}}function We(e){let{isDisabled:a,onBlurWithin:t,onFocusWithin:r,onFocusWithinChange:i}=e,n=(0,l.useRef)({isFocusWithin:!1}),{addGlobalListener:o,removeAllGlobalListeners:s}=Se(),u=(0,l.useCallback)(c=>{c.currentTarget.contains(c.target)&&n.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(n.current.isFocusWithin=!1,s(),t&&t(c),i&&i(!1))},[t,i,n,s]),d=bt(u),f=(0,l.useCallback)(c=>{if(!c.currentTarget.contains(c.target))return;let m=O(c.target),v=re(m);if(!n.current.isFocusWithin&&v===ht(c.nativeEvent)){r&&r(c),i&&i(!0),n.current.isFocusWithin=!0,d(c);let b=c.currentTarget;o(m,"focus",p=>{if(n.current.isFocusWithin&&!gt(b,p.target)){let h=new m.defaultView.FocusEvent("blur",{relatedTarget:p.target});ai(h,b),u(oi(h))}},{capture:!0})}},[r,i,d,o,u]);return a?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:f,onBlur:u}}}var _e=!1,ve=0;function Bi(){_e=!0,setTimeout(()=>{_e=!1},50)}function ea(e){e.pointerType==="touch"&&Bi()}function Oi(){if(!(typeof document>"u"))return ve===0&&typeof PointerEvent<"u"&&document.addEventListener("pointerup",ea),ve++,()=>{ve--,!(ve>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",ea)}}function be(e){let{onHoverStart:a,onHoverChange:t,onHoverEnd:r,isDisabled:i}=e,[n,o]=(0,l.useState)(!1),s=(0,l.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,l.useEffect)(Oi,[]);let{addGlobalListener:u,removeAllGlobalListeners:d}=Se(),{hoverProps:f,triggerHoverEnd:c}=(0,l.useMemo)(()=>{let m=(p,h)=>{if(s.pointerType=h,i||h==="touch"||s.isHovered||!p.currentTarget.contains(p.target))return;s.isHovered=!0;let g=p.currentTarget;s.target=g,u(O(p.target),"pointerover",E=>{s.isHovered&&s.target&&!gt(s.target,E.target)&&v(E,E.pointerType)},{capture:!0}),a&&a({type:"hoverstart",target:g,pointerType:h}),t&&t(!0),o(!0)},v=(p,h)=>{let g=s.target;s.pointerType="",s.target=null,!(h==="touch"||!s.isHovered||!g)&&(s.isHovered=!1,d(),r&&r({type:"hoverend",target:g,pointerType:h}),t&&t(!1),o(!1))},b={};return typeof PointerEvent<"u"&&(b.onPointerEnter=p=>{_e&&p.pointerType==="mouse"||m(p,p.pointerType)},b.onPointerLeave=p=>{!i&&p.currentTarget.contains(p.target)&&v(p,p.pointerType)}),{hoverProps:b,triggerHoverEnd:v}},[a,t,r,i,s,u,d]);return(0,l.useEffect)(()=>{i&&c({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:f,isHovered:n}}function Hi(e,a){let{onScroll:t,isDisabled:r}=e,i=(0,l.useCallback)(n=>{n.ctrlKey||(n.preventDefault(),n.stopPropagation(),t&&t({deltaX:n.deltaX,deltaY:n.deltaY}))},[t]);St(a,"wheel",r?void 0:i)}function he(e={}){let{autoFocus:a=!1,isTextInput:t,within:r}=e,i=(0,l.useRef)({isFocused:!1,isFocusVisible:a||Oe()}),[n,o]=(0,l.useState)(!1),[s,u]=(0,l.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),d=(0,l.useCallback)(()=>u(i.current.isFocused&&i.current.isFocusVisible),[]),f=(0,l.useCallback)(v=>{i.current.isFocused=v,o(v),d()},[d]);ji(v=>{i.current.isFocusVisible=v,d()},[],{isTextInput:t});let{focusProps:c}=He({isDisabled:r,onFocusChange:f}),{focusWithinProps:m}=We({isDisabled:!r,onFocusWithinChange:f});return{isFocused:n,isFocusVisible:s,focusProps:r?m:c}}function ta(e){let{id:a,label:t,"aria-labelledby":r,"aria-label":i,labelElementType:n="label"}=e;a=B(a);let o=B(),s={};t&&(r=r?`${o} ${r}`:o,s={id:o,htmlFor:n==="label"?a:void 0});let u=Dt({id:a,"aria-label":i,"aria-labelledby":r});return{labelProps:s,fieldProps:u}}function aa(e){let{description:a,errorMessage:t,isInvalid:r,validationState:i}=e,{labelProps:n,fieldProps:o}=ta(e),s=vt([!!a,!!t,r,i]),u=vt([!!a,!!t,r,i]);return o=V(o,{"aria-describedby":[s,u,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:n,fieldProps:o,descriptionProps:{id:s},errorMessageProps:{id:u}}}var ge={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},ra={...ge,customError:!0,valid:!1},Q={isInvalid:!1,validationDetails:ge,validationErrors:[]},Wi=(0,l.createContext)({}),ye="__formValidationState"+Date.now();function Ue(e){if(e[ye]){let{realtimeValidation:a,displayValidation:t,updateValidation:r,resetValidation:i,commitValidation:n}=e[ye];return{realtimeValidation:a,displayValidation:t,updateValidation:r,resetValidation:i,commitValidation:n}}return _i(e)}function _i(e){let{isInvalid:a,validationState:t,name:r,value:i,builtinValidation:n,validate:o,validationBehavior:s="aria"}=e;t&&(a||(a=t==="invalid"));let u=a===void 0?null:{isInvalid:a,validationErrors:[],validationDetails:ra},d=(0,l.useMemo)(()=>!o||i==null?null:ia(Ui(o,i)),[o,i]);n!=null&&n.validationDetails.valid&&(n=void 0);let f=(0,l.useContext)(Wi),c=(0,l.useMemo)(()=>r?Array.isArray(r)?r.flatMap(P=>ze(f[P])):ze(f[r]):[],[f,r]),[m,v]=(0,l.useState)(f),[b,p]=(0,l.useState)(!1);f!==m&&(v(f),p(!1));let h=(0,l.useMemo)(()=>ia(b?[]:c),[b,c]),g=(0,l.useRef)(Q),[E,C]=(0,l.useState)(Q),w=(0,l.useRef)(Q),N=()=>{if(!x)return;y(!1);let P=d||n||g.current;Ke(P,w.current)||(w.current=P,C(P))},[x,y]=(0,l.useState)(!1);return(0,l.useEffect)(N),{realtimeValidation:u||h||d||n||Q,displayValidation:s==="native"?u||h||E:u||h||d||n||E,updateValidation(P){s==="aria"&&!Ke(E,P)?C(P):g.current=P},resetValidation(){let P=Q;Ke(P,w.current)||(w.current=P,C(P)),s==="native"&&y(!1),p(!0)},commitValidation(){s==="native"&&y(!0),p(!0)}}}function ze(e){return e?Array.isArray(e)?e:[e]:[]}function Ui(e,a){if(typeof e=="function"){let t=e(a);if(t&&typeof t!="boolean")return ze(t)}return[]}function ia(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:ra}:null}function Ke(e,a){return e===a?!0:!!e&&!!a&&e.isInvalid===a.isInvalid&&e.validationErrors.length===a.validationErrors.length&&e.validationErrors.every((t,r)=>t===a.validationErrors[r])&&Object.entries(e.validationDetails).every(([t,r])=>a.validationDetails[t]===r)}function zi(...e){let a=new Set,t=!1,r={...ge};for(let o of e){var i,n;for(let s of o.validationErrors)a.add(s);for(let s in t||(t=o.isInvalid),r)(i=r)[n=s]||(i[n]=o.validationDetails[s])}return r.valid=!t,{isInvalid:t,validationErrors:[...a],validationDetails:r}}function na(e,a,t){let{validationBehavior:r,focus:i}=e;Et(()=>{if(r==="native"&&(t!=null&&t.current)&&!t.current.disabled){let d=a.realtimeValidation.isInvalid?a.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";t.current.setCustomValidity(d),t.current.hasAttribute("title")||(t.current.title=""),a.realtimeValidation.isInvalid||a.updateValidation(Gi(t.current))}});let n=(0,l.useRef)(!1),o=W(()=>{n.current||a.resetValidation()}),s=W(d=>{var m;a.displayValidation.isInvalid||a.commitValidation();let f=(m=t==null?void 0:t.current)==null?void 0:m.form;if(!d.defaultPrevented&&t&&f&&qi(f)===t.current){var c;i?i():(c=t.current)==null||c.focus(),qt("keyboard")}d.preventDefault()}),u=W(()=>{a.commitValidation()});(0,l.useEffect)(()=>{let d=t==null?void 0:t.current;if(!d)return;let f=d.form,c=f==null?void 0:f.reset;return f&&(f.reset=()=>{n.current=!window.event||window.event.type==="message"&&window.event.target instanceof MessagePort,c==null||c.call(f),n.current=!1}),d.addEventListener("invalid",s),d.addEventListener("change",u),f==null||f.addEventListener("reset",o),()=>{d.removeEventListener("invalid",s),d.removeEventListener("change",u),f==null||f.removeEventListener("reset",o),f&&(f.reset=c)}},[t,s,u,o,r])}function Ki(e){let a=e.validity;return{badInput:a.badInput,customError:a.customError,patternMismatch:a.patternMismatch,rangeOverflow:a.rangeOverflow,rangeUnderflow:a.rangeUnderflow,stepMismatch:a.stepMismatch,tooLong:a.tooLong,tooShort:a.tooShort,typeMismatch:a.typeMismatch,valueMissing:a.valueMissing,valid:a.valid}}function Gi(e){return{isInvalid:!e.validity.valid,validationDetails:Ki(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function qi(e){for(let a=0;a<e.elements.length;a++){let t=e.elements[a];if(!t.validity.valid)return t}return null}function Zi(e,a){let{inputElementType:t="input",isDisabled:r=!1,isRequired:i=!1,isReadOnly:n=!1,type:o="text",validationBehavior:s="aria"}=e,[u,d]=Ve(e.value,e.defaultValue||"",e.onChange),{focusableProps:f}=Qt(e,a),c=Ue({...e,value:u}),{isInvalid:m,validationErrors:v,validationDetails:b}=c.displayValidation,{labelProps:p,fieldProps:h,descriptionProps:g,errorMessageProps:E}=aa({...e,isInvalid:m,errorMessage:e.errorMessage||v}),C=z(e,{labelable:!0}),w={type:o,pattern:e.pattern},[N]=(0,l.useState)(u);return Te(a,e.defaultValue??N,d),na(e,c,a),(0,l.useEffect)(()=>{if(a.current instanceof H(a.current).HTMLTextAreaElement){let x=a.current;Object.defineProperty(x,"defaultValue",{get:()=>x.value,set:()=>{},configurable:!0})}},[a]),{labelProps:p,inputProps:V(C,t==="input"?w:void 0,{disabled:r,readOnly:n,required:i&&s==="native","aria-required":i&&s==="aria"||void 0,"aria-invalid":m||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:u,onChange:x=>d(x.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,enterKeyHint:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...f,...h}),descriptionProps:g,errorMessageProps:E,isInvalid:m,validationErrors:v,validationDetails:b}}function oa(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function Yi(e,a,t){let r=W(c=>{let m=t.current;if(!m)return;let v=null;switch(c.inputType){case"historyUndo":case"historyRedo":return;case"insertLineBreak":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":v=m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd);break;case"deleteContentForward":v=m.selectionEnd===m.selectionStart?m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd+1):m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd);break;case"deleteContentBackward":v=m.selectionEnd===m.selectionStart?m.value.slice(0,m.selectionStart-1)+m.value.slice(m.selectionStart):m.value.slice(0,m.selectionStart)+m.value.slice(m.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":v=m.value.slice(m.selectionStart);break;default:c.data!=null&&(v=m.value.slice(0,m.selectionStart)+c.data+m.value.slice(m.selectionEnd));break}(v==null||!a.validate(v))&&c.preventDefault()});(0,l.useEffect)(()=>{if(!oa()||!t.current)return;let c=t.current;return c.addEventListener("beforeinput",r,!1),()=>{c.removeEventListener("beforeinput",r,!1)}},[t,r]);let i=oa()?null:c=>{let m=c.target.value.slice(0,c.target.selectionStart)+c.data+c.target.value.slice(c.target.selectionEnd);a.validate(m)||c.preventDefault()},{labelProps:n,inputProps:o,descriptionProps:s,errorMessageProps:u,...d}=Zi(e,t),f=(0,l.useRef)(null);return{inputProps:V(o,{onBeforeInput:i,onCompositionStart(){let{value:c,selectionStart:m,selectionEnd:v}=t.current;f.current={value:c,selectionStart:m,selectionEnd:v}},onCompositionEnd(){if(t.current&&!a.validate(t.current.value)){let{value:c,selectionStart:m,selectionEnd:v}=f.current;t.current.value=c,t.current.setSelectionRange(m,v),a.setInputValue(c)}}}),labelProps:n,descriptionProps:s,errorMessageProps:u,...d}}if(typeof HTMLTemplateElement<"u"){let e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}var Ee=(0,l.createContext)(!1);function Xi(e){if((0,l.useContext)(Ee))return l.createElement(l.Fragment,null,e.children);let a=l.createElement(Ee.Provider,{value:!0},e.children);return l.createElement("template",{"data-react-aria-hidden":!0},a)}function Ge(e){let a=(t,r)=>(0,l.useContext)(Ee)?null:e(t,r);return a.displayName=e.displayName||e.name,(0,l.forwardRef)(a)}function Ji(){return(0,l.useContext)(Ee)}function la(e,a){let{elementType:t="button",isDisabled:r,onPress:i,onPressStart:n,onPressEnd:o,onPressUp:s,onPressChange:u,preventFocusOnPress:d,allowFocusWhenDisabled:f,onClick:c,href:m,target:v,rel:b,type:p="button"}=e,h;h=t==="button"?{type:p,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:"button",href:t==="a"&&!r?m:void 0,target:t==="a"?v:void 0,type:t==="input"?p:void 0,disabled:t==="input"?r:void 0,"aria-disabled":!r||t==="input"?void 0:r,rel:t==="a"?b:void 0};let{pressProps:g,isPressed:E}=li({onPressStart:n,onPressEnd:o,onPressChange:u,onPress:i,onPressUp:s,onClick:c,isDisabled:r,preventFocusOnPress:d,ref:a}),{focusableProps:C}=Qt(e,a);f&&(C.tabIndex=r?-1:C.tabIndex);let w=V(C,g,z(e,{labelable:!0}));return{isPressed:E,buttonProps:V(h,w,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}function Qi(e){let{minValue:a,maxValue:t,step:r,formatOptions:i,value:n,defaultValue:o=NaN,onChange:s,locale:u,isDisabled:d,isReadOnly:f}=e;n===null&&(n=NaN),n!==void 0&&!isNaN(n)&&(n=r!==void 0&&!isNaN(r)?j(n,a,t,r):de(n,a,t)),isNaN(o)||(o=r!==void 0&&!isNaN(r)?j(o,a,t,r):de(o,a,t));let[c,m]=Ve(n,isNaN(o)?NaN:o,s),[v]=(0,l.useState)(c),[b,p]=(0,l.useState)(()=>isNaN(c)?"":new Me(u,i).format(c)),h=(0,l.useMemo)(()=>new je(u,i),[u,i]),g=(0,l.useMemo)(()=>h.getNumberingSystem(b),[h,b]),E=(0,l.useMemo)(()=>new Me(u,{...i,numberingSystem:g}),[u,i,g]),C=(0,l.useMemo)(()=>E.resolvedOptions(),[E]),w=(0,l.useCallback)(D=>isNaN(D)||D===null?"":E.format(D),[E]),N=Ue({...e,value:c}),x=r!==void 0&&!isNaN(r)?r:1;C.style==="percent"&&(r===void 0||isNaN(r))&&(x=.01);let[y,P]=(0,l.useState)(c),[M,$]=(0,l.useState)(u),[L,I]=(0,l.useState)(i);(!Object.is(c,y)||u!==M||i!==L)&&(p(w(c)),P(c),$(u),I(i));let S=(0,l.useMemo)(()=>h.parse(b),[h,b]),oe=()=>{if(!b.length){m(NaN),p(n===void 0?"":w(c));return}if(isNaN(S)){p(w(c));return}let D;D=r===void 0||isNaN(r)?de(S,a,t):j(S,a,t,r),D=h.parse(w(D)),m(D),p(w(n===void 0?D:c)),N.commitValidation()},q=(D,ue=0)=>{let _=S;if(isNaN(_))return j(isNaN(ue)?0:ue,a,t,x);{let te=j(_,a,t,x);return D==="+"&&te>_||D==="-"&&te<_?te:j(qe(D,_,x),a,t,x)}},ee=()=>{let D=q("+",a);D===c&&p(w(D)),m(D),N.commitValidation()},xe=()=>{let D=q("-",t);D===c&&p(w(D)),m(D),N.commitValidation()},le=()=>{t!=null&&(m(j(t,a,t,x)),N.commitValidation())},Ce=()=>{a!=null&&(m(a),N.commitValidation())},se=(0,l.useMemo)(()=>!d&&!f&&(isNaN(S)||t===void 0||isNaN(t)||j(S,a,t,x)>S||qe("+",S,x)<=t),[d,f,a,t,x,S]),De=(0,l.useMemo)(()=>!d&&!f&&(isNaN(S)||a===void 0||isNaN(a)||j(S,a,t,x)<S||qe("-",S,x)>=a),[d,f,a,t,x,S]);return{...N,validate:D=>h.isValidPartialNumber(D,a,t),increment:ee,incrementToMax:le,decrement:xe,decrementToMin:Ce,canIncrement:se,canDecrement:De,minValue:a,maxValue:t,numberValue:S,defaultNumberValue:isNaN(o)?v:o,setNumberValue:m,setInputValue:p,inputValue:b,commit:oe}}function qe(e,a,t){let r=e==="+"?a+t:a-t;if(a%1!=0||t%1!=0){let i=a.toString().split("."),n=t.toString().split("."),o=i[1]&&i[1].length||0,s=n[1]&&n[1].length||0,u=10**Math.max(o,s);a=Math.round(a*u),t=Math.round(t*u),r=e==="+"?a+t:a-t,r/=u}return r}var sa={};sa={Empty:"\u0641\u0627\u0631\u063A"};var ua={};ua={Empty:"\u0418\u0437\u043F\u0440\u0430\u0437\u043D\u0438"};var da={};da={Empty:"Pr\xE1zdn\xE9"};var ca={};ca={Empty:"Tom"};var ma={};ma={Empty:"Leer"};var fa={};fa={Empty:"\u0386\u03B4\u03B5\u03B9\u03BF"};var pa={};pa={Empty:"Empty"};var va={};va={Empty:"Vac\xEDo"};var ba={};ba={Empty:"T\xFChjenda"};var ha={};ha={Empty:"Tyhj\xE4"};var ga={};ga={Empty:"Vide"};var ya={};ya={Empty:"\u05E8\u05D9\u05E7"};var Ea={};Ea={Empty:"Prazno"};var Pa={};Pa={Empty:"\xDCres"};var wa={};wa={Empty:"Vuoto"};var La={};La={Empty:"\u7A7A"};var xa={};xa={Empty:"\uBE44\uC5B4 \uC788\uC74C"};var Ca={};Ca={Empty:"Tu\u0161\u010Dias"};var Da={};Da={Empty:"Tuk\u0161s"};var Na={};Na={Empty:"Tom"};var Sa={};Sa={Empty:"Leeg"};var Fa={};Fa={Empty:"Pusty"};var Ma={};Ma={Empty:"Vazio"};var Ta={};Ta={Empty:"Vazio"};var Va={};Va={Empty:"Gol"};var $a={};$a={Empty:"\u041D\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E"};var ka={};ka={Empty:"Pr\xE1zdne"};var Ia={};Ia={Empty:"Prazen"};var Ra={};Ra={Empty:"Prazno"};var ja={};ja={Empty:"Tomt"};var Aa={};Aa={Empty:"Bo\u015F"};var Ba={};Ba={Empty:"\u041F\u0443\u0441\u0442\u043E"};var Oa={};Oa={Empty:"\u7A7A"};var Ha={};Ha={Empty:"\u7A7A\u767D"};var Wa={};Wa={"ar-AE":sa,"bg-BG":ua,"cs-CZ":da,"da-DK":ca,"de-DE":ma,"el-GR":fa,"en-US":pa,"es-ES":va,"et-EE":ba,"fi-FI":ha,"fr-FR":ga,"he-IL":ya,"hr-HR":Ea,"hu-HU":Pa,"it-IT":wa,"ja-JP":La,"ko-KR":xa,"lt-LT":Ca,"lv-LV":Da,"nb-NO":Na,"nl-NL":Sa,"pl-PL":Fa,"pt-BR":Ma,"pt-PT":Ta,"ro-RO":Va,"ru-RU":$a,"sk-SK":ka,"sl-SI":Ia,"sr-SP":Ra,"sv-SE":ja,"tr-TR":Aa,"uk-UA":Ba,"zh-CN":Oa,"zh-TW":Ha};function en(e){return e&&e.__esModule?e.default:e}function _a(e){let a=(0,l.useRef)(void 0),{value:t,textValue:r,minValue:i,maxValue:n,isDisabled:o,isReadOnly:s,isRequired:u,onIncrement:d,onIncrementPage:f,onDecrement:c,onDecrementPage:m,onDecrementToMin:v,onIncrementToMax:b}=e,p=Re(en(Wa),"@react-aria/spinbutton"),h=()=>clearTimeout(a.current);(0,l.useEffect)(()=>()=>h(),[]);let g=L=>{if(!(L.ctrlKey||L.metaKey||L.shiftKey||L.altKey||s||L.nativeEvent.isComposing))switch(L.key){case"PageUp":if(f){L.preventDefault(),f==null||f();break}case"ArrowUp":case"Up":d&&(L.preventDefault(),d==null||d());break;case"PageDown":if(m){L.preventDefault(),m==null||m();break}case"ArrowDown":case"Down":c&&(L.preventDefault(),c==null||c());break;case"Home":v&&(L.preventDefault(),v==null||v());break;case"End":b&&(L.preventDefault(),b==null||b());break}},E=(0,l.useRef)(!1),C=()=>{E.current=!0},w=()=>{E.current=!1},N=r===""?p.format("Empty"):(r||`${t}`).replace("-","\u2212");(0,l.useEffect)(()=>{E.current&&(yi("assertive"),ke(N,"assertive"))},[N]);let x=W(L=>{h(),d==null||d(),a.current=window.setTimeout(()=>{(n===void 0||isNaN(n)||t===void 0||isNaN(t)||t<n)&&x(60)},L)}),y=W(L=>{h(),c==null||c(),a.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||t===void 0||isNaN(t)||t>i)&&y(60)},L)}),P=L=>{L.preventDefault()},{addGlobalListener:M,removeAllGlobalListeners:$}=Se();return{spinButtonProps:{role:"spinbutton","aria-valuenow":t!==void 0&&!isNaN(t)?t:void 0,"aria-valuetext":N,"aria-valuemin":i,"aria-valuemax":n,"aria-disabled":o||void 0,"aria-readonly":s||void 0,"aria-required":u||void 0,onKeyDown:g,onFocus:C,onBlur:w},incrementButtonProps:{onPressStart:()=>{x(400),M(window,"contextmenu",P)},onPressEnd:()=>{h(),$()},onFocus:C,onBlur:w},decrementButtonProps:{onPressStart:()=>{y(400),M(window,"contextmenu",P)},onPressEnd:()=>{h(),$()},onFocus:C,onBlur:w}}}var Ua={};Ua={decrease:e=>`\u062E\u0641\u0636 ${e.fieldLabel}`,increase:e=>`\u0632\u064A\u0627\u062F\u0629 ${e.fieldLabel}`,numberField:"\u062D\u0642\u0644 \u0631\u0642\u0645\u064A"};var za={};za={decrease:e=>`\u041D\u0430\u043C\u0430\u043B\u044F\u0432\u0430\u043D\u0435 ${e.fieldLabel}`,increase:e=>`\u0423\u0441\u0438\u043B\u0432\u0430\u043D\u0435 ${e.fieldLabel}`,numberField:"\u041D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043F\u043E\u043B\u0435\u0442\u043E"};var Ka={};Ka={decrease:e=>`Sn\xED\u017Eit ${e.fieldLabel}`,increase:e=>`Zv\xFD\u0161it ${e.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var Ga={};Ga={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`\xD8g ${e.fieldLabel}`,numberField:"Talfelt"};var qa={};qa={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erh\xF6hen`,numberField:"Nummernfeld"};var Za={};Za={decrease:e=>`\u039C\u03B5\u03AF\u03C9\u03C3\u03B7 ${e.fieldLabel}`,increase:e=>`\u0391\u03CD\u03BE\u03B7\u03C3\u03B7 ${e.fieldLabel}`,numberField:"\u03A0\u03B5\u03B4\u03AF\u03BF \u03B1\u03C1\u03B9\u03B8\u03BC\u03BF\u03CD"};var Ya={};Ya={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var Xa={};Xa={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de n\xFAmero"};var Ja={};Ja={decrease:e=>`V\xE4henda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri v\xE4li"};var Qa={};Qa={decrease:e=>`V\xE4henn\xE4 ${e.fieldLabel}`,increase:e=>`Lis\xE4\xE4 ${e.fieldLabel}`,numberField:"Numerokentt\xE4"};var er={};er={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var tr={};tr={decrease:e=>`\u05D4\u05E7\u05D8\u05DF ${e.fieldLabel}`,increase:e=>`\u05D4\u05D2\u05D3\u05DC ${e.fieldLabel}`,numberField:"\u05E9\u05D3\u05D4 \u05DE\u05E1\u05E4\u05E8"};var ar={};ar={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Pove\u0107aj ${e.fieldLabel}`,numberField:"Polje broja"};var rr={};rr={decrease:e=>`${e.fieldLabel} cs\xF6kkent\xE9se`,increase:e=>`${e.fieldLabel} n\xF6vel\xE9se`,numberField:"Sz\xE1mmez\u0151"};var ir={};ir={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var nr={};nr={decrease:e=>`${e.fieldLabel}\u3092\u7E2E\u5C0F`,increase:e=>`${e.fieldLabel}\u3092\u62E1\u5927`,numberField:"\u6570\u5024\u30D5\u30A3\u30FC\u30EB\u30C9"};var or={};or={decrease:e=>`${e.fieldLabel} \uAC10\uC18C`,increase:e=>`${e.fieldLabel} \uC99D\uAC00`,numberField:"\uBC88\uD638 \uD544\uB4DC"};var lr={};lr={decrease:e=>`Suma\u017Einti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var sr={};sr={decrease:e=>`Samazin\u0101\u0161ana ${e.fieldLabel}`,increase:e=>`Palielin\u0101\u0161ana ${e.fieldLabel}`,numberField:"Skait\u013Cu lauks"};var ur={};ur={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`\xD8k ${e.fieldLabel}`,numberField:"Tallfelt"};var dr={};dr={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var cr={};cr={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwi\u0119ksz ${e.fieldLabel}`,numberField:"Pole numeru"};var mr={};mr={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de n\xFAmero"};var fr={};fr={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo num\xE9rico"};var pr={};pr={decrease:e=>`Sc\u0103dere ${e.fieldLabel}`,increase:e=>`Cre\u0219tere ${e.fieldLabel}`,numberField:"C\xE2mp numeric"};var vr={};vr={decrease:e=>`\u0423\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u0435 ${e.fieldLabel}`,increase:e=>`\u0423\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 ${e.fieldLabel}`,numberField:"\u0427\u0438\u0441\u043B\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435"};var br={};br={decrease:e=>`Zn\xED\u017Ei\u0165 ${e.fieldLabel}`,increase:e=>`Zv\xFD\u0161i\u0165 ${e.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var hr={};hr={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Pove\u010Dajte ${e.fieldLabel}`,numberField:"\u0160tevil\u010Dno polje"};var gr={};gr={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Pove\u0107aj ${e.fieldLabel}`,numberField:"Polje broja"};var yr={};yr={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`\xD6ka ${e.fieldLabel}`,numberField:"Nummerf\xE4lt"};var Er={};Er={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} artt\u0131r`,numberField:"Say\u0131 alan\u0131"};var Pr={};Pr={decrease:e=>`\u0417\u043C\u0435\u043D\u0448\u0438\u0442\u0438 ${e.fieldLabel}`,increase:e=>`\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438 ${e.fieldLabel}`,numberField:"\u041F\u043E\u043B\u0435 \u043D\u043E\u043C\u0435\u0440\u0430"};var wr={};wr={decrease:e=>`\u964D\u4F4E ${e.fieldLabel}`,increase:e=>`\u63D0\u9AD8 ${e.fieldLabel}`,numberField:"\u6570\u5B57\u5B57\u6BB5"};var Lr={};Lr={decrease:e=>`\u7E2E\u5C0F ${e.fieldLabel}`,increase:e=>`\u653E\u5927 ${e.fieldLabel}`,numberField:"\u6578\u5B57\u6B04\u4F4D"};var xr={};xr={"ar-AE":Ua,"bg-BG":za,"cs-CZ":Ka,"da-DK":Ga,"de-DE":qa,"el-GR":Za,"en-US":Ya,"es-ES":Xa,"et-EE":Ja,"fi-FI":Qa,"fr-FR":er,"he-IL":tr,"hr-HR":ar,"hu-HU":rr,"it-IT":ir,"ja-JP":nr,"ko-KR":or,"lt-LT":lr,"lv-LV":sr,"nb-NO":ur,"nl-NL":dr,"pl-PL":cr,"pt-BR":mr,"pt-PT":fr,"ro-RO":pr,"ru-RU":vr,"sk-SK":br,"sl-SI":hr,"sr-SP":gr,"sv-SE":yr,"tr-TR":Er,"uk-UA":Pr,"zh-CN":wr,"zh-TW":Lr};function tn(e){return e&&e.__esModule?e.default:e}function an(e,a,t){let{id:r,decrementAriaLabel:i,incrementAriaLabel:n,isDisabled:o,isReadOnly:s,isRequired:u,minValue:d,maxValue:f,autoFocus:c,label:m,formatOptions:v,onBlur:b=()=>{},onFocus:p,onFocusChange:h,onKeyDown:g,onKeyUp:E,description:C,errorMessage:w,isWheelDisabled:N,...x}=e,{increment:y,incrementToMax:P,decrement:M,decrementToMin:$,numberValue:L,inputValue:I,commit:S,commitValidation:oe}=a,q=Re(tn(xr),"@react-aria/numberfield"),ee=B(r),{focusProps:xe}=He({onBlur(){S()}}),le=Pt(v),Ce=(0,l.useMemo)(()=>le.resolvedOptions(),[le]),se=Pt({...v,currencySign:void 0}),{spinButtonProps:De,incrementButtonProps:tt,decrementButtonProps:D}=_a({isDisabled:o,isReadOnly:s,isRequired:u,maxValue:f,minValue:d,onIncrement:y,onIncrementToMax:P,onDecrement:M,onDecrementToMin:$,value:L,textValue:(0,l.useMemo)(()=>isNaN(L)?"":se.format(L),[se,L])}),[ue,_]=(0,l.useState)(!1),{focusWithinProps:te}=We({isDisabled:o,onFocusWithinChange:_});Hi({onScroll:(0,l.useCallback)(T=>{Math.abs(T.deltaY)<=Math.abs(T.deltaX)||(T.deltaY>0?y():T.deltaY<0&&M())},[M,y]),isDisabled:N||o||s||!ue},t);let at=(Ce.maximumFractionDigits??0)>0,rt=a.minValue===void 0||isNaN(a.minValue)||a.minValue<0,ae="numeric";ui()?rt?ae="text":at&&(ae="decimal"):si()&&(rt?ae="numeric":at&&(ae="decimal"));let Rr=T=>{a.validate(T)&&a.setInputValue(T)},jr=z(e),it=(0,l.useCallback)(T=>{T.nativeEvent.isComposing||(T.key==="Enter"?(S(),oe()):T.continuePropagation())},[S,oe]),{isInvalid:nt,validationErrors:Ar,validationDetails:Br}=a.displayValidation,{labelProps:ot,inputProps:Or,descriptionProps:Hr,errorMessageProps:Wr}=Yi({...x,...jr,name:void 0,form:void 0,label:m,autoFocus:c,isDisabled:o,isReadOnly:s,isRequired:u,validate:void 0,[ye]:a,value:I,defaultValue:"!",autoComplete:"off","aria-label":e["aria-label"]||void 0,"aria-labelledby":e["aria-labelledby"]||void 0,id:ee,type:"text",inputMode:ae,onChange:Rr,onBlur:b,onFocus:p,onFocusChange:h,onKeyDown:(0,l.useMemo)(()=>ti(it,g),[it,g]),onKeyUp:E,description:C,errorMessage:w},a,t);Te(t,a.defaultNumberValue,a.setNumberValue);let lt=V(De,xe,Or,{role:null,"aria-roledescription":ei()?null:q.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});e.validationBehavior==="native"&&(lt["aria-required"]=void 0);let st=T=>{var ct;document.activeElement!==t.current&&(T.pointerType==="mouse"?(ct=t.current)==null||ct.focus():T.target.focus())},Ne=e["aria-label"]||(typeof e.label=="string"?e.label:""),U;Ne||(U=e.label==null?e["aria-labelledby"]:ot.id);let ut=B(),dt=B(),_r=V(tt,{"aria-label":n||q.format("increase",{fieldLabel:Ne}).trim(),id:U&&!n?ut:null,"aria-labelledby":U&&!n?`${ut} ${U}`:null,"aria-controls":ee,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!a.canIncrement,onPressStart:st}),Ur=V(D,{"aria-label":i||q.format("decrease",{fieldLabel:Ne}).trim(),id:U&&!i?dt:null,"aria-labelledby":U&&!i?`${dt} ${U}`:null,"aria-controls":ee,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!a.canDecrement,onPressStart:st});return{groupProps:{...te,role:"group","aria-disabled":o,"aria-invalid":nt?"true":void 0},labelProps:ot,inputProps:lt,incrementButtonProps:_r,decrementButtonProps:Ur,errorMessageProps:Wr,descriptionProps:Hr,isInvalid:nt,validationErrors:Ar,validationDetails:Br}}var Ze=(0,l.createContext)({}),rn=Ge(function(e,a){[e,a]=K(e,a,Ze);let{elementType:t="label",...r}=e;return l.createElement(t,{className:"react-aria-Label",...r,ref:a})}),nn=(0,l.createContext)(null),Ye=(0,l.createContext)({}),Cr=Ge(function(e,a){[e,a]=K(e,a,Ye);let t=e,{isPending:r}=t,{buttonProps:i,isPressed:n}=la(e,a);i=on(i,r);let{focusProps:o,isFocused:s,isFocusVisible:u}=he(e),{hoverProps:d,isHovered:f}=be({...e,isDisabled:e.isDisabled||r}),c={isHovered:f,isPressed:(t.isPressed||n)&&!r,isFocused:s,isFocusVisible:u,isDisabled:e.isDisabled||!1,isPending:r??!1},m=Z({...e,values:c,defaultClassName:"react-aria-Button"}),v=B(i.id),b=B(),p=i["aria-labelledby"];r&&(p?p=`${p} ${b}`:i["aria-label"]&&(p=`${v} ${b}`));let h=(0,l.useRef)(r);(0,l.useEffect)(()=>{let E={"aria-labelledby":p||v};(!h.current&&s&&r||h.current&&s&&!r)&&ke(E,"assertive"),h.current=r},[r,s,p,v]);let g=z(e,{global:!0});return delete g.onClick,l.createElement("button",{...V(g,m,i,o,d),type:i.type==="submit"&&r?"button":i.type,id:v,ref:a,"aria-labelledby":p,slot:e.slot||void 0,"aria-disabled":r?"true":i["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":c.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":u||void 0},l.createElement(nn.Provider,{value:{id:b}},m.children))});function on(e,a){if(a){for(let t in e)t.startsWith("on")&&!(t.includes("Focus")||t.includes("Blur"))&&(e[t]=void 0);e.href=void 0,e.target=void 0}return e}var Xe=(0,l.createContext)({}),Dr=(0,l.forwardRef)(function(e,a){[e,a]=K(e,a,Xe);let{elementType:t="span",...r}=e;return l.createElement(t,{className:"react-aria-Text",...r,ref:a})}),Pe=(0,l.createContext)(null),ln=(0,l.forwardRef)(function(e,a){var t;return(t=(0,l.useContext)(Pe))!=null&&t.isInvalid?l.createElement(sn,{...e,ref:a}):null}),sn=(0,l.forwardRef)((e,a)=>{let t=(0,l.useContext)(Pe),r=z(e,{global:!0}),i=Z({...e,defaultClassName:"react-aria-FieldError",defaultChildren:t.validationErrors.length===0?void 0:t.validationErrors.join(" "),values:t});return i.children==null?null:l.createElement(Dr,{slot:"errorMessage",...r,...i,ref:a})}),Nr=(0,l.createContext)(null),Je=(0,l.createContext)({}),un=(0,l.forwardRef)(function(e,a){[e,a]=K(e,a,Je);let{isDisabled:t,isInvalid:r,isReadOnly:i,onHoverStart:n,onHoverChange:o,onHoverEnd:s,...u}=e,{hoverProps:d,isHovered:f}=be({onHoverStart:n,onHoverChange:o,onHoverEnd:s,isDisabled:t}),{isFocused:c,isFocusVisible:m,focusProps:v}=he({within:!0});t??(t=!!e["aria-disabled"]&&e["aria-disabled"]!=="false"),r??(r=!!e["aria-invalid"]&&e["aria-invalid"]!=="false");let b=Z({...e,values:{isHovered:f,isFocusWithin:c,isFocusVisible:m,isDisabled:t,isInvalid:r},defaultClassName:"react-aria-Group"});return l.createElement("div",{...V(u,v,d),...b,ref:a,role:e.role??"group",slot:e.slot??void 0,"data-focus-within":c||void 0,"data-hovered":f||void 0,"data-focus-visible":m||void 0,"data-disabled":t||void 0,"data-invalid":r||void 0,"data-readonly":i||void 0},b.children)}),Qe=(0,l.createContext)({}),dn=e=>{let{onHoverStart:a,onHoverChange:t,onHoverEnd:r,...i}=e;return i},Sr=Ge(function(e,a){[e,a]=K(e,a,Qe);let{hoverProps:t,isHovered:r}=be(e),{isFocused:i,isFocusVisible:n,focusProps:o}=he({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",u=Z({...e,values:{isHovered:r,isFocused:i,isFocusVisible:n,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return l.createElement("input",{...V(dn(e),o,t),...u,ref:a,"data-focused":i||void 0,"data-disabled":e.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":n||void 0,"data-invalid":s||void 0})}),cn=(0,l.createContext)(null),mn=(0,l.createContext)(null),fn=(0,l.forwardRef)(function(e,a){[e,a]=K(e,a,cn);let{validationBehavior:t}=$e(Nr)||{},r=e.validationBehavior??t??"native",{locale:i}=Fe(),n=Qi({...e,locale:i,validationBehavior:r}),o=(0,l.useRef)(null),[s,u]=Tt(!e["aria-label"]&&!e["aria-labelledby"]),{labelProps:d,groupProps:f,inputProps:c,incrementButtonProps:m,decrementButtonProps:v,descriptionProps:b,errorMessageProps:p,...h}=an({...Vt(e),label:u,validationBehavior:r},n,o),g=Z({...e,values:{state:n,isDisabled:e.isDisabled||!1,isInvalid:h.isInvalid||!1,isRequired:e.isRequired||!1},defaultClassName:"react-aria-NumberField"}),E=z(e,{global:!0});return delete E.id,l.createElement(Mt,{values:[[mn,n],[Je,f],[Qe,{...c,ref:o}],[Ze,{...d,ref:s}],[Ye,{slots:{increment:m,decrement:v}}],[Xe,{slots:{description:b,errorMessage:p}}],[Pe,h]]},l.createElement("div",{...E,...g,ref:a,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-required":e.isRequired||void 0,"data-invalid":h.isInvalid||void 0}),e.name&&l.createElement("input",{type:"hidden",name:e.name,form:e.form,value:isNaN(n.numberValue)?"":n.numberValue,disabled:e.isDisabled||void 0}))}),Fr=ft(),F=mt(Kr(),1);const et=l.forwardRef((e,a)=>{let t=(0,Fr.c)(40),{placeholder:r,variant:i,...n}=e,o=i===void 0?"default":i,{locale:s}=Fe(),u=fn,d;t[0]===s?d=t[1]:(d=ci(s),t[0]=s,t[1]=d);let f;t[2]===d?f=t[3]:(f={minimumFractionDigits:0,maximumFractionDigits:d},t[2]=d,t[3]=f);let c=R("shadow-xs-solid hover:shadow-sm-solid hover:focus-within:shadow-md-solid","flex overflow-hidden rounded-sm border border-input bg-background text-sm font-code ring-offset-background","disabled:cursor-not-allowed disabled:opacity-50 disabled:shadow-xs-solid","focus-within:shadow-md-solid focus-within:outline-hidden focus-within:ring-1 focus-within:ring-ring focus-within:border-primary",o==="default"?"h-6 w-full mb-1":"h-4 w-full mb-0.5",o==="xs"&&"text-xs",n.className),m=n.isDisabled,v=o==="default"?"px-1.5":"px-1",b;t[4]===v?b=t[5]:(b=R("flex-1","w-full","placeholder:text-muted-foreground","outline-hidden","disabled:cursor-not-allowed disabled:opacity-50",v),t[4]=v,t[5]=b);let p;t[6]!==r||t[7]!==n.isDisabled||t[8]!==a||t[9]!==b?(p=(0,F.jsx)(Sr,{ref:a,disabled:m,placeholder:r,onKeyDown:pn,className:b}),t[6]=r,t[7]=n.isDisabled,t[8]=a,t[9]=b,t[10]=p):p=t[10];let h=n.isDisabled,g=o==="xs"&&"w-2 h-2",E;t[11]===g?E=t[12]:(E=R("w-3 h-3 -mb-px",g),t[11]=g,t[12]=E);let C;t[13]===E?C=t[14]:(C=(0,F.jsx)(Zr,{"aria-hidden":!0,className:E}),t[13]=E,t[14]=C);let w;t[15]!==n.isDisabled||t[16]!==C||t[17]!==o?(w=(0,F.jsx)(Mr,{slot:"increment",isDisabled:h,variant:o,children:C}),t[15]=n.isDisabled,t[16]=C,t[17]=o,t[18]=w):w=t[18];let N;t[19]===Symbol.for("react.memo_cache_sentinel")?(N=(0,F.jsx)("div",{className:"h-px shrink-0 divider bg-border z-10"}),t[19]=N):N=t[19];let x=n.isDisabled,y=o==="xs"&&"w-2 h-2",P;t[20]===y?P=t[21]:(P=R("w-3 h-3 -mt-px",y),t[20]=y,t[21]=P);let M;t[22]===P?M=t[23]:(M=(0,F.jsx)(Yr,{"aria-hidden":!0,className:P}),t[22]=P,t[23]=M);let $;t[24]!==n.isDisabled||t[25]!==M||t[26]!==o?($=(0,F.jsx)(Mr,{slot:"decrement",isDisabled:x,variant:o,children:M}),t[24]=n.isDisabled,t[25]=M,t[26]=o,t[27]=$):$=t[27];let L;t[28]!==w||t[29]!==$?(L=(0,F.jsxs)("div",{className:"flex flex-col border-s-2",children:[w,N,$]}),t[28]=w,t[29]=$,t[30]=L):L=t[30];let I;t[31]!==L||t[32]!==c||t[33]!==p?(I=(0,F.jsxs)("div",{className:c,children:[p,L]}),t[31]=L,t[32]=c,t[33]=p,t[34]=I):I=t[34];let S;return t[35]!==u||t[36]!==n||t[37]!==I||t[38]!==f?(S=(0,F.jsx)(u,{...n,formatOptions:f,children:I}),t[35]=u,t[36]=n,t[37]=I,t[38]=f,t[39]=S):S=t[39],S});et.displayName="NumberField";var Mr=e=>{let a=(0,Fr.c)(6),t=!e.isDisabled&&"hover:text-primary hover:bg-muted",r=e.variant==="default"?"px-0.5":"px-0.25",i;a[0]!==t||a[1]!==r?(i=R("cursor-default text-muted-foreground pressed:bg-muted-foreground group-disabled:text-disabled-foreground outline-hidden focus-visible:text-primary","disabled:cursor-not-allowed disabled:opacity-50",t,r),a[0]=t,a[1]=r,a[2]=i):i=a[2];let n;return a[3]!==e||a[4]!==i?(n=(0,F.jsx)(Cr,{...e,className:i}),a[3]=e,a[4]=i,a[5]=n):n=a[5],n};function pn(e){(e.key==="ArrowUp"||e.key==="ArrowDown")&&e.stopPropagation()}var we=ft(),Le=l.forwardRef((e,a)=>{let t=(0,we.c)(28),r,i,n,o,s,u,d;if(t[0]!==a||t[1]!==e){u=Symbol.for("react.early_return_sentinel");e:{if({className:r,type:d,endAdornment:i,...o}=e,n=o.icon,d==="hidden"){u=(0,F.jsx)("input",{type:"hidden",ref:a,...o});break e}s=R("relative",o.rootClassName)}t[0]=a,t[1]=e,t[2]=r,t[3]=i,t[4]=n,t[5]=o,t[6]=s,t[7]=u,t[8]=d}else r=t[2],i=t[3],n=t[4],o=t[5],s=t[6],u=t[7],d=t[8];if(u!==Symbol.for("react.early_return_sentinel"))return u;let f;t[9]===n?f=t[10]:(f=n&&(0,F.jsx)("div",{className:"absolute inset-y-0 left-0 flex items-center pl-[6px] pointer-events-none text-muted-foreground",children:n}),t[9]=n,t[10]=f);let c=n&&"pl-7",m=i&&"pr-10",v;t[11]!==r||t[12]!==c||t[13]!==m?(v=R("shadow-xs-solid hover:shadow-sm-solid disabled:shadow-xs-solid focus-visible:shadow-md-solid","flex h-6 w-full mb-1 rounded-sm border border-input bg-background px-1.5 py-1 text-sm font-code ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:border-primary disabled:cursor-not-allowed disabled:opacity-50",c,m,r),t[11]=r,t[12]=c,t[13]=m,t[14]=v):v=t[14];let b;t[15]===Symbol.for("react.memo_cache_sentinel")?(b=Gr.stopPropagation(),t[15]=b):b=t[15];let p;t[16]!==o||t[17]!==a||t[18]!==v||t[19]!==d?(p=(0,F.jsx)("input",{type:d,className:v,ref:a,onClick:b,...o}),t[16]=o,t[17]=a,t[18]=v,t[19]=d,t[20]=p):p=t[20];let h;t[21]===i?h=t[22]:(h=i&&(0,F.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center pr-[6px] text-muted-foreground h-6",children:i}),t[21]=i,t[22]=h);let g;return t[23]!==s||t[24]!==f||t[25]!==p||t[26]!==h?(g=(0,F.jsxs)("div",{className:s,children:[f,p,h]}),t[23]=s,t[24]=f,t[25]=p,t[26]=h,t[27]=g):g=t[27],g});Le.displayName="Input";const Tr=l.forwardRef((e,a)=>{let t=(0,we.c)(16),r,i,n;t[0]===e?(r=t[1],i=t[2],n=t[3]):({className:r,onValueChange:i,...n}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=n);let o;t[4]!==i||t[5]!==n.delay||t[6]!==n.value?(o={initialValue:n.value,delay:n.delay,onChange:i},t[4]=i,t[5]=n.delay,t[6]=n.value,t[7]=o):o=t[7];let{value:s,onChange:u}=wt(o),d;t[8]===u?d=t[9]:(d=c=>u(c.target.value),t[8]=u,t[9]=d);let f;return t[10]!==r||t[11]!==n||t[12]!==a||t[13]!==d||t[14]!==s?(f=(0,F.jsx)(Le,{ref:a,className:r,...n,onChange:d,value:s}),t[10]=r,t[11]=n,t[12]=a,t[13]=d,t[14]=s,t[15]=f):f=t[15],f});Tr.displayName="DebouncedInput";const Vr=l.forwardRef((e,a)=>{let t=(0,we.c)(13),r,i,n;t[0]===e?(r=t[1],i=t[2],n=t[3]):({className:r,onValueChange:i,...n}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=n);let o;t[4]!==i||t[5]!==n.value?(o={initialValue:n.value,delay:200,onChange:i},t[4]=i,t[5]=n.value,t[6]=o):o=t[6];let{value:s,onChange:u}=wt(o),d;return t[7]!==r||t[8]!==u||t[9]!==n||t[10]!==a||t[11]!==s?(d=(0,F.jsx)(et,{ref:a,className:r,...n,onChange:u,value:s}),t[7]=r,t[8]=u,t[9]=n,t[10]=a,t[11]=s,t[12]=d):d=t[12],d});Vr.displayName="DebouncedNumberInput";const $r=l.forwardRef(({className:e,rootClassName:a,icon:t=(0,F.jsx)(Lt,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),clearable:r=!0,...i},n)=>{let o=l.useId(),s=i.id||o;return(0,F.jsxs)("div",{className:R("flex items-center border-b px-3",a),children:[t,(0,F.jsx)("input",{id:s,ref:n,className:R("placeholder:text-foreground-muted flex h-7 m-1 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...i}),r&&i.value&&(0,F.jsx)("span",{onPointerDown:u=>{var f;u.preventDefault(),u.stopPropagation();let d=document.getElementById(s);d&&d instanceof HTMLInputElement&&(d.focus(),d.value="",(f=i.onChange)==null||f.call(i,{...u,target:d,currentTarget:d,type:"change"}))},children:(0,F.jsx)(Xr,{className:"h-4 w-4 opacity-50 hover:opacity-90 cursor-pointer"})})]})});$r.displayName="SearchInput";const kr=l.forwardRef((e,a)=>{let t=(0,we.c)(23),r,i,n;t[0]===e?(r=t[1],i=t[2],n=t[3]):({className:r,onValueChange:i,...n}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=n);let[o,s]=l.useState(n.value),u;t[4]!==o||t[5]!==i||t[6]!==n.value?(u={prop:n.value,defaultProp:o,onChange:i},t[4]=o,t[5]=i,t[6]=n.value,t[7]=u):u=t[7];let[d,f]=Jr(u),c,m;t[8]===d?(c=t[9],m=t[10]):(c=()=>{s(d||"")},m=[d],t[8]=d,t[9]=c,t[10]=m),l.useEffect(c,m);let v;t[11]===Symbol.for("react.memo_cache_sentinel")?(v=g=>s(g.target.value),t[11]=v):v=t[11];let b,p;t[12]!==o||t[13]!==f?(b=()=>f(o||""),p=g=>{g.key==="Enter"&&f(o||"")},t[12]=o,t[13]=f,t[14]=b,t[15]=p):(b=t[14],p=t[15]);let h;return t[16]!==r||t[17]!==o||t[18]!==n||t[19]!==a||t[20]!==b||t[21]!==p?(h=(0,F.jsx)(Le,{ref:a,className:r,...n,value:o,onChange:v,onBlur:b,onKeyDown:p}),t[16]=r,t[17]=o,t[18]=n,t[19]=a,t[20]=b,t[21]=p,t[22]=h):h=t[22],h});kr.displayName="OnBlurredInput";export{Ft as $,aa as A,ki as B,Ji as C,ge as D,ye as E,Jt as F,Rt as G,je as H,Xt as I,Mt as J,Ie as K,Zt as L,he as M,be as N,Q as O,We as P,gi as Q,Gt as R,Xi as S,zi as T,At as U,Oe as V,Re as W,Z as X,K as Y,Tt as Z,Cr as _,$r as a,St as at,_a as b,Sr as c,z as ct,Nr as d,Vt as et,ln as f,Ye as g,Xe as h,kr as i,Te as it,ta as j,Ue as k,un as l,Lt as lt,Dr as m,Vr as n,de as nt,et as o,Nt as ot,Pe as p,ke as q,Le as r,Ve as rt,Qe as s,Dt as st,Tr as t,$e as tt,Je as u,Ze as v,na as w,la as x,rn as y,qt as z};
@@ -1 +1 @@
1
- import{t as o}from"./toDate-CgbKQM5E.js";function e(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function r(t){return!(!e(t)&&typeof t!="number"||isNaN(+o(t)))}export{r as t};
1
+ import{t as o}from"./toDate-DETS9bBd.js";function e(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function r(t){return!(!e(t)&&typeof t!="number"||isNaN(+o(t)))}export{r as t};
@@ -1,4 +1,4 @@
1
- import"./purify.es-DZrAQFIu.js";import{u as tt}from"./src-DJ8ZKoFs.js";import{t as et}from"./arc-xh3ZebK_.js";import{n as r}from"./src-CmKhyEBC.js";import{B as gt,C as mt,U as xt,_ as kt,a as _t,b as j,c as bt,v as vt,z as $t}from"./chunk-ABZYJK2D-Coo5qi7b.js";import"./dist-DxxvVPQH.js";import{t as wt}from"./chunk-FMBD7UC4-kejklSRQ.js";import{a as Mt,i as Tt,o as it,t as Ct}from"./chunk-TZMSLE5B-KYGSDxPK.js";var X=(function(){var t=r(function(i,n,l,u){for(l||(l={}),u=i.length;u--;l[i[u]]=n);return l},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],o=[1,10],s=[1,11],h=[1,12],y=[1,13],p=[1,14],f={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:r(function(i,n,l,u,d,c,x){var m=c.length-1;switch(d){case 1:return c[m-1];case 2:this.$=[];break;case 3:c[m-1].push(c[m]),this.$=c[m-1];break;case 4:case 5:this.$=c[m];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(c[m].substr(6)),this.$=c[m].substr(6);break;case 9:this.$=c[m].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=c[m].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(c[m].substr(8)),this.$=c[m].substr(8);break;case 13:u.addTask(c[m-1],c[m]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:o,14:s,16:h,17:y,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:o,14:s,16:h,17:y,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:r(function(i,n){if(n.recoverable)this.trace(i);else{var l=Error(i);throw l.hash=n,l}},"parseError"),parse:r(function(i){var n=this,l=[0],u=[],d=[null],c=[],x=this.table,m="",b=0,B=0,A=0,pt=2,Z=1,yt=c.slice.call(arguments,1),k=Object.create(this.lexer),I={yy:{}};for(var D in this.yy)Object.prototype.hasOwnProperty.call(this.yy,D)&&(I.yy[D]=this.yy[D]);k.setInput(i,I.yy),I.yy.lexer=k,I.yy.parser=this,k.yylloc===void 0&&(k.yylloc={});var Y=k.yylloc;c.push(Y);var dt=k.options&&k.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft($){l.length-=2*$,d.length-=$,c.length-=$}r(ft,"popStack");function J(){var $=u.pop()||k.lex()||Z;return typeof $!="number"&&($ instanceof Array&&(u=$,$=u.pop()),$=n.symbols_[$]||$),$}r(J,"lex");for(var _,W,S,v,q,P={},N,T,K,O;;){if(S=l[l.length-1],this.defaultActions[S]?v=this.defaultActions[S]:(_??(_=J()),v=x[S]&&x[S][_]),v===void 0||!v.length||!v[0]){var Q="";for(N in O=[],x[S])this.terminals_[N]&&N>pt&&O.push("'"+this.terminals_[N]+"'");Q=k.showPosition?"Parse error on line "+(b+1)+`:
1
+ import"./purify.es-DZrAQFIu.js";import{u as tt}from"./src-DJ8ZKoFs.js";import{t as et}from"./arc-xh3ZebK_.js";import{n as r}from"./src-CmKhyEBC.js";import{B as gt,C as mt,U as xt,_ as kt,a as _t,b as j,c as bt,v as vt,z as $t}from"./chunk-ABZYJK2D-CtRGq-db.js";import"./dist-DxxvVPQH.js";import{t as wt}from"./chunk-FMBD7UC4-kejklSRQ.js";import{a as Mt,i as Tt,o as it,t as Ct}from"./chunk-TZMSLE5B-Bs5ERkTF.js";var X=(function(){var t=r(function(i,n,l,u){for(l||(l={}),u=i.length;u--;l[i[u]]=n);return l},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],o=[1,10],s=[1,11],h=[1,12],y=[1,13],p=[1,14],f={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:r(function(i,n,l,u,d,c,x){var m=c.length-1;switch(d){case 1:return c[m-1];case 2:this.$=[];break;case 3:c[m-1].push(c[m]),this.$=c[m-1];break;case 4:case 5:this.$=c[m];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(c[m].substr(6)),this.$=c[m].substr(6);break;case 9:this.$=c[m].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=c[m].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(c[m].substr(8)),this.$=c[m].substr(8);break;case 13:u.addTask(c[m-1],c[m]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:o,14:s,16:h,17:y,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:o,14:s,16:h,17:y,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:r(function(i,n){if(n.recoverable)this.trace(i);else{var l=Error(i);throw l.hash=n,l}},"parseError"),parse:r(function(i){var n=this,l=[0],u=[],d=[null],c=[],x=this.table,m="",b=0,B=0,A=0,pt=2,Z=1,yt=c.slice.call(arguments,1),k=Object.create(this.lexer),I={yy:{}};for(var D in this.yy)Object.prototype.hasOwnProperty.call(this.yy,D)&&(I.yy[D]=this.yy[D]);k.setInput(i,I.yy),I.yy.lexer=k,I.yy.parser=this,k.yylloc===void 0&&(k.yylloc={});var Y=k.yylloc;c.push(Y);var dt=k.options&&k.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft($){l.length-=2*$,d.length-=$,c.length-=$}r(ft,"popStack");function J(){var $=u.pop()||k.lex()||Z;return typeof $!="number"&&($ instanceof Array&&(u=$,$=u.pop()),$=n.symbols_[$]||$),$}r(J,"lex");for(var _,W,S,v,q,P={},N,T,K,O;;){if(S=l[l.length-1],this.defaultActions[S]?v=this.defaultActions[S]:(_??(_=J()),v=x[S]&&x[S][_]),v===void 0||!v.length||!v[0]){var Q="";for(N in O=[],x[S])this.terminals_[N]&&N>pt&&O.push("'"+this.terminals_[N]+"'");Q=k.showPosition?"Parse error on line "+(b+1)+`:
2
2
  `+k.showPosition()+`
3
3
  Expecting `+O.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(b+1)+": Unexpected "+(_==Z?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Q,{text:k.match,token:this.terminals_[_]||_,line:k.yylineno,loc:Y,expected:O})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+S+", token: "+_);switch(v[0]){case 1:l.push(_),d.push(k.yytext),c.push(k.yylloc),l.push(v[1]),_=null,W?(_=W,W=null):(B=k.yyleng,m=k.yytext,b=k.yylineno,Y=k.yylloc,A>0&&A--);break;case 2:if(T=this.productions_[v[1]][1],P.$=d[d.length-T],P._$={first_line:c[c.length-(T||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(T||1)].first_column,last_column:c[c.length-1].last_column},dt&&(P._$.range=[c[c.length-(T||1)].range[0],c[c.length-1].range[1]]),q=this.performAction.apply(P,[m,B,b,I.yy,v[1],d,c].concat(yt)),q!==void 0)return q;T&&(l=l.slice(0,-1*T*2),d=d.slice(0,-1*T),c=c.slice(0,-1*T)),l.push(this.productions_[v[1]][0]),d.push(P.$),c.push(P._$),K=x[l[l.length-2]][l[l.length-1]],l.push(K);break;case 3:return!0}}return!0},"parse")};f.lexer=(function(){return{EOF:1,parseError:r(function(i,n){if(this.yy.parser)this.yy.parser.parseError(i,n);else throw Error(i)},"parseError"),setInput:r(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var i=this._input[0];return this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i,i.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:r(function(i){var n=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===u.length?this.yylloc.first_column:0)+u[u.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var i=this.pastInput(),n=Array(i.length+1).join("-");return i+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import"./purify.es-DZrAQFIu.js";import"./src-DJ8ZKoFs.js";import"./chunk-S3R3BYOJ-PVCoxQeQ.js";import{n as o,r as q}from"./src-CmKhyEBC.js";import{G as yt,I as B,Q as ft,X as lt,Z as ct,b as j,d as z}from"./chunk-ABZYJK2D-Coo5qi7b.js";import{t as mt}from"./chunk-EXTU4WIE-DQy5cN5X.js";import{n as bt,t as _t}from"./chunk-MI3HLSF2-D6we5Ftb.js";import"./chunk-CVBHYZKI-Brsoob-W.js";import"./chunk-ATLVNIR6-C0ULYreM.js";import"./dist-DxxvVPQH.js";import"./chunk-JA3XYJ7Z-99Y1UR46.js";import{a as Et,c as kt,i as St}from"./chunk-JZLCHNYA-DRGkEV50.js";import{t as Nt}from"./chunk-FMBD7UC4-kejklSRQ.js";var J=(function(){var i=o(function(t,c,a,r){for(a||(a={}),r=t.length;r--;a[t[r]]=c);return a},"o"),u=[1,4],p=[1,13],s=[1,12],d=[1,15],y=[1,16],_=[1,20],h=[1,19],D=[6,7,8],C=[1,26],L=[1,24],A=[1,25],n=[6,7,11],G=[1,31],O=[6,7,11,24],F=[1,6,13,16,17,20,23],U=[1,35],M=[1,36],$=[1,6,7,11,13,16,17,20,23],b=[1,38],I={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(t,c,a,r,g,e,R){var l=e.length-1;switch(g){case 6:case 7:return r;case 8:r.getLogger().trace("Stop NL ");break;case 9:r.getLogger().trace("Stop EOF ");break;case 11:r.getLogger().trace("Stop NL2 ");break;case 12:r.getLogger().trace("Stop EOF2 ");break;case 15:r.getLogger().info("Node: ",e[l-1].id),r.addNode(e[l-2].length,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 16:r.getLogger().info("Node: ",e[l].id),r.addNode(e[l-1].length,e[l].id,e[l].descr,e[l].type);break;case 17:r.getLogger().trace("Icon: ",e[l]),r.decorateNode({icon:e[l]});break;case 18:case 23:r.decorateNode({class:e[l]});break;case 19:r.getLogger().trace("SPACELIST");break;case 20:r.getLogger().trace("Node: ",e[l-1].id),r.addNode(0,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 21:r.getLogger().trace("Node: ",e[l].id),r.addNode(0,e[l].id,e[l].descr,e[l].type);break;case 22:r.decorateNode({icon:e[l]});break;case 27:r.getLogger().trace("node found ..",e[l-2]),this.$={id:e[l-1],descr:e[l-1],type:r.getType(e[l-2],e[l])};break;case 28:this.$={id:e[l],descr:e[l],type:0};break;case 29:r.getLogger().trace("node found ..",e[l-3]),this.$={id:e[l-3],descr:e[l-1],type:r.getType(e[l-2],e[l])};break;case 30:this.$=e[l-1]+e[l];break;case 31:this.$=e[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:u},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:u},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:y,18:17,19:18,20:_,23:h},i(D,[2,3]),{1:[2,2]},i(D,[2,4]),i(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:y,18:17,19:18,20:_,23:h},{6:p,9:22,12:11,13:s,14:14,16:d,17:y,18:17,19:18,20:_,23:h},{6:C,7:L,10:23,11:A},i(n,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:_,23:h}),i(n,[2,19]),i(n,[2,21],{15:30,24:G}),i(n,[2,22]),i(n,[2,23]),i(O,[2,25]),i(O,[2,26]),i(O,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:L,10:34,11:A},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:y,18:17,19:18,20:_,23:h},i(F,[2,14],{7:U,11:M}),i($,[2,8]),i($,[2,9]),i($,[2,10]),i(n,[2,16],{15:37,24:G}),i(n,[2,17]),i(n,[2,18]),i(n,[2,20],{24:b}),i(O,[2,31]),{21:[1,39]},{22:[1,40]},i(F,[2,13],{7:U,11:M}),i($,[2,11]),i($,[2,12]),i(n,[2,15],{24:b}),i(O,[2,30]),{22:[1,41]},i(O,[2,27]),i(O,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,c){if(c.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=c,a}},"parseError"),parse:o(function(t){var c=this,a=[0],r=[],g=[null],e=[],R=this.table,l="",H=0,it=0,nt=0,gt=2,st=1,ut=e.slice.call(arguments,1),m=Object.create(this.lexer),w={yy:{}};for(var K in this.yy)Object.prototype.hasOwnProperty.call(this.yy,K)&&(w.yy[K]=this.yy[K]);m.setInput(t,w.yy),w.yy.lexer=m,w.yy.parser=this,m.yylloc===void 0&&(m.yylloc={});var Q=m.yylloc;e.push(Q);var dt=m.options&&m.options.ranges;typeof w.yy.parseError=="function"?this.parseError=w.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(N){a.length-=2*N,g.length-=N,e.length-=N}o(pt,"popStack");function rt(){var N=r.pop()||m.lex()||st;return typeof N!="number"&&(N instanceof Array&&(r=N,N=r.pop()),N=c.symbols_[N]||N),N}o(rt,"lex");for(var E,Y,T,S,Z,P={},W,v,ot,X;;){if(T=a[a.length-1],this.defaultActions[T]?S=this.defaultActions[T]:(E??(E=rt()),S=R[T]&&R[T][E]),S===void 0||!S.length||!S[0]){var at="";for(W in X=[],R[T])this.terminals_[W]&&W>gt&&X.push("'"+this.terminals_[W]+"'");at=m.showPosition?"Parse error on line "+(H+1)+`:
1
+ import"./purify.es-DZrAQFIu.js";import"./src-DJ8ZKoFs.js";import"./chunk-S3R3BYOJ-CM-pQ0EF.js";import{n as o,r as q}from"./src-CmKhyEBC.js";import{G as yt,I as B,Q as ft,X as lt,Z as ct,b as j,d as z}from"./chunk-ABZYJK2D-CtRGq-db.js";import{t as mt}from"./chunk-EXTU4WIE-CN3BqsR0.js";import{n as bt,t as _t}from"./chunk-MI3HLSF2-D6we5Ftb.js";import"./chunk-CVBHYZKI-Brsoob-W.js";import"./chunk-ATLVNIR6-CXEe2jMF.js";import"./dist-DxxvVPQH.js";import"./chunk-JA3XYJ7Z-B5-JYmoA.js";import{a as Et,c as kt,i as St}from"./chunk-JZLCHNYA-UFlatyc1.js";import{t as Nt}from"./chunk-FMBD7UC4-kejklSRQ.js";var J=(function(){var i=o(function(t,c,a,r){for(a||(a={}),r=t.length;r--;a[t[r]]=c);return a},"o"),u=[1,4],p=[1,13],s=[1,12],d=[1,15],y=[1,16],_=[1,20],h=[1,19],D=[6,7,8],C=[1,26],L=[1,24],A=[1,25],n=[6,7,11],G=[1,31],O=[6,7,11,24],F=[1,6,13,16,17,20,23],U=[1,35],M=[1,36],$=[1,6,7,11,13,16,17,20,23],b=[1,38],I={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(t,c,a,r,g,e,R){var l=e.length-1;switch(g){case 6:case 7:return r;case 8:r.getLogger().trace("Stop NL ");break;case 9:r.getLogger().trace("Stop EOF ");break;case 11:r.getLogger().trace("Stop NL2 ");break;case 12:r.getLogger().trace("Stop EOF2 ");break;case 15:r.getLogger().info("Node: ",e[l-1].id),r.addNode(e[l-2].length,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 16:r.getLogger().info("Node: ",e[l].id),r.addNode(e[l-1].length,e[l].id,e[l].descr,e[l].type);break;case 17:r.getLogger().trace("Icon: ",e[l]),r.decorateNode({icon:e[l]});break;case 18:case 23:r.decorateNode({class:e[l]});break;case 19:r.getLogger().trace("SPACELIST");break;case 20:r.getLogger().trace("Node: ",e[l-1].id),r.addNode(0,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 21:r.getLogger().trace("Node: ",e[l].id),r.addNode(0,e[l].id,e[l].descr,e[l].type);break;case 22:r.decorateNode({icon:e[l]});break;case 27:r.getLogger().trace("node found ..",e[l-2]),this.$={id:e[l-1],descr:e[l-1],type:r.getType(e[l-2],e[l])};break;case 28:this.$={id:e[l],descr:e[l],type:0};break;case 29:r.getLogger().trace("node found ..",e[l-3]),this.$={id:e[l-3],descr:e[l-1],type:r.getType(e[l-2],e[l])};break;case 30:this.$=e[l-1]+e[l];break;case 31:this.$=e[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:u},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:u},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:y,18:17,19:18,20:_,23:h},i(D,[2,3]),{1:[2,2]},i(D,[2,4]),i(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:y,18:17,19:18,20:_,23:h},{6:p,9:22,12:11,13:s,14:14,16:d,17:y,18:17,19:18,20:_,23:h},{6:C,7:L,10:23,11:A},i(n,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:_,23:h}),i(n,[2,19]),i(n,[2,21],{15:30,24:G}),i(n,[2,22]),i(n,[2,23]),i(O,[2,25]),i(O,[2,26]),i(O,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:L,10:34,11:A},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:y,18:17,19:18,20:_,23:h},i(F,[2,14],{7:U,11:M}),i($,[2,8]),i($,[2,9]),i($,[2,10]),i(n,[2,16],{15:37,24:G}),i(n,[2,17]),i(n,[2,18]),i(n,[2,20],{24:b}),i(O,[2,31]),{21:[1,39]},{22:[1,40]},i(F,[2,13],{7:U,11:M}),i($,[2,11]),i($,[2,12]),i(n,[2,15],{24:b}),i(O,[2,30]),{22:[1,41]},i(O,[2,27]),i(O,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,c){if(c.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=c,a}},"parseError"),parse:o(function(t){var c=this,a=[0],r=[],g=[null],e=[],R=this.table,l="",H=0,it=0,nt=0,gt=2,st=1,ut=e.slice.call(arguments,1),m=Object.create(this.lexer),w={yy:{}};for(var K in this.yy)Object.prototype.hasOwnProperty.call(this.yy,K)&&(w.yy[K]=this.yy[K]);m.setInput(t,w.yy),w.yy.lexer=m,w.yy.parser=this,m.yylloc===void 0&&(m.yylloc={});var Q=m.yylloc;e.push(Q);var dt=m.options&&m.options.ranges;typeof w.yy.parseError=="function"?this.parseError=w.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(N){a.length-=2*N,g.length-=N,e.length-=N}o(pt,"popStack");function rt(){var N=r.pop()||m.lex()||st;return typeof N!="number"&&(N instanceof Array&&(r=N,N=r.pop()),N=c.symbols_[N]||N),N}o(rt,"lex");for(var E,Y,T,S,Z,P={},W,v,ot,X;;){if(T=a[a.length-1],this.defaultActions[T]?S=this.defaultActions[T]:(E??(E=rt()),S=R[T]&&R[T][E]),S===void 0||!S.length||!S[0]){var at="";for(W in X=[],R[T])this.terminals_[W]&&W>gt&&X.push("'"+this.terminals_[W]+"'");at=m.showPosition?"Parse error on line "+(H+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+X.join(", ")+", got '"+(this.terminals_[E]||E)+"'":"Parse error on line "+(H+1)+": Unexpected "+(E==st?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(at,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:Q,expected:X})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+T+", token: "+E);switch(S[0]){case 1:a.push(E),g.push(m.yytext),e.push(m.yylloc),a.push(S[1]),E=null,Y?(E=Y,Y=null):(it=m.yyleng,l=m.yytext,H=m.yylineno,Q=m.yylloc,nt>0&&nt--);break;case 2:if(v=this.productions_[S[1]][1],P.$=g[g.length-v],P._$={first_line:e[e.length-(v||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(v||1)].first_column,last_column:e[e.length-1].last_column},dt&&(P._$.range=[e[e.length-(v||1)].range[0],e[e.length-1].range[1]]),Z=this.performAction.apply(P,[l,it,H,w.yy,S[1],g,e].concat(ut)),Z!==void 0)return Z;v&&(a=a.slice(0,-1*v*2),g=g.slice(0,-1*v),e=e.slice(0,-1*v)),a.push(this.productions_[S[1]][0]),g.push(P.$),e.push(P._$),ot=R[a[a.length-2]][a[a.length-1]],a.push(ot);break;case 3:return!0}}return!0},"parse")};I.lexer=(function(){return{EOF:1,parseError:o(function(t,c){if(this.yy.parser)this.yy.parser.parseError(t,c);else throw Error(t)},"parseError"),setInput:o(function(t,c){return this.yy=c||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var c=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var g=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),c=Array(t.length+1).join("-");return t+this.upcomingInput()+`
@@ -258,4 +258,4 @@ l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
258
258
  |[ \r ]+
259
259
  ?)[ \r ]*`,zt="[\u0300-\u036F]",r4=RegExp(zt+"+$"),a4="("+e1+"+)|"+(t4+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(zt+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(zt+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+e4)+("|"+Qa+")"),t1=class{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(a4,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new ge("EOF",new me(this,t,t));var r=this.tokenRegex.exec(e);if(r===null||r.index!==t)throw new M("Unexpected character: '"+e[t]+"'",new ge(e[t],new me(this,t,t+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var n=e.indexOf(`
260
260
  `,this.tokenRegex.lastIndex);return n===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=n+1,this.lex()}return new ge(a,new me(this,t,this.tokenRegex.lastIndex))}},i4=class{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new M("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(e[t]==null?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(r===void 0&&(r=!1),r){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}},n4=qr;m("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),m("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),m("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),m("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),m("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),m("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),m("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var r1={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};m("\\char",function(e){var t=e.popToken(),r,a="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")a=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new M("\\char` missing argument");a=t.text.charCodeAt(0)}else r=10;if(r){if(a=r1[t.text],a==null||a>=r)throw new M("Invalid base-"+r+" digit "+t.text);for(var n;(n=r1[e.future().text])!=null&&n<r;)a*=r,a+=n,e.popToken()}return"\\@char{"+a+"}"});var At=(e,t,r,a)=>{var n=e.consumeArg().tokens;if(n.length!==1)throw new M("\\newcommand's first argument must be a macro name");var s=n[0].text,h=e.isDefined(s);if(h&&!t)throw new M("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!h&&!r)throw new M("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var c=0;if(n=e.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var p="",g=e.expandNextToken();g.text!=="]"&&g.text!=="EOF";)p+=g.text,g=e.expandNextToken();if(!p.match(/^\s*[0-9]+\s*$/))throw new M("Invalid number of arguments: "+p);c=parseInt(p),n=e.consumeArg().tokens}return h&&a||e.macros.set(s,{tokens:n,numArgs:c}),""};m("\\newcommand",e=>At(e,!1,!0,!1)),m("\\renewcommand",e=>At(e,!0,!1,!1)),m("\\providecommand",e=>At(e,!0,!0,!0)),m("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""}),m("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""}),m("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Ve[r],W.math[r],W.text[r]),""}),m("\\bgroup","{"),m("\\egroup","}"),m("~","\\nobreakspace"),m("\\lq","`"),m("\\rq","'"),m("\\aa","\\r a"),m("\\AA","\\r A"),m("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),m("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),m("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),m("\u212C","\\mathscr{B}"),m("\u2130","\\mathscr{E}"),m("\u2131","\\mathscr{F}"),m("\u210B","\\mathscr{H}"),m("\u2110","\\mathscr{I}"),m("\u2112","\\mathscr{L}"),m("\u2133","\\mathscr{M}"),m("\u211B","\\mathscr{R}"),m("\u212D","\\mathfrak{C}"),m("\u210C","\\mathfrak{H}"),m("\u2128","\\mathfrak{Z}"),m("\\Bbbk","\\Bbb{k}"),m("\xB7","\\cdotp"),m("\\llap","\\mathllap{\\textrm{#1}}"),m("\\rlap","\\mathrlap{\\textrm{#1}}"),m("\\clap","\\mathclap{\\textrm{#1}}"),m("\\mathstrut","\\vphantom{(}"),m("\\underbar","\\underline{\\text{#1}}"),m("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),m("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),m("\\ne","\\neq"),m("\u2260","\\neq"),m("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),m("\u2209","\\notin"),m("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),m("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),m("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),m("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),m("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),m("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),m("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),m("\u27C2","\\perp"),m("\u203C","\\mathclose{!\\mkern-0.8mu!}"),m("\u220C","\\notni"),m("\u231C","\\ulcorner"),m("\u231D","\\urcorner"),m("\u231E","\\llcorner"),m("\u231F","\\lrcorner"),m("\xA9","\\copyright"),m("\xAE","\\textregistered"),m("\uFE0F","\\textregistered"),m("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),m("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),m("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),m("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),m("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),m("\u22EE","\\vdots"),m("\\varGamma","\\mathit{\\Gamma}"),m("\\varDelta","\\mathit{\\Delta}"),m("\\varTheta","\\mathit{\\Theta}"),m("\\varLambda","\\mathit{\\Lambda}"),m("\\varXi","\\mathit{\\Xi}"),m("\\varPi","\\mathit{\\Pi}"),m("\\varSigma","\\mathit{\\Sigma}"),m("\\varUpsilon","\\mathit{\\Upsilon}"),m("\\varPhi","\\mathit{\\Phi}"),m("\\varPsi","\\mathit{\\Psi}"),m("\\varOmega","\\mathit{\\Omega}"),m("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),m("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),m("\\boxed","\\fbox{$\\displaystyle{#1}$}"),m("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),m("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),m("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),m("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),m("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var a1={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};m("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in a1?t=a1[r]:(r.slice(0,4)==="\\not"||r in W.math&&["bin","rel"].includes(W.math[r].group))&&(t="\\dotsb"),t});var Tt={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};m("\\dotso",function(e){return e.future().text in Tt?"\\ldots\\,":"\\ldots"}),m("\\dotsc",function(e){var t=e.future().text;return t in Tt&&t!==","?"\\ldots\\,":"\\ldots"}),m("\\cdots",function(e){return e.future().text in Tt?"\\@cdots\\,":"\\@cdots"}),m("\\dotsb","\\cdots"),m("\\dotsm","\\cdots"),m("\\dotsi","\\!\\cdots"),m("\\dotsx","\\ldots\\,"),m("\\DOTSI","\\relax"),m("\\DOTSB","\\relax"),m("\\DOTSX","\\relax"),m("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),m("\\,","\\tmspace+{3mu}{.1667em}"),m("\\thinspace","\\,"),m("\\>","\\mskip{4mu}"),m("\\:","\\tmspace+{4mu}{.2222em}"),m("\\medspace","\\:"),m("\\;","\\tmspace+{5mu}{.2777em}"),m("\\thickspace","\\;"),m("\\!","\\tmspace-{3mu}{.1667em}"),m("\\negthinspace","\\!"),m("\\negmedspace","\\tmspace-{4mu}{.2222em}"),m("\\negthickspace","\\tmspace-{5mu}{.277em}"),m("\\enspace","\\kern.5em "),m("\\enskip","\\hskip.5em\\relax"),m("\\quad","\\hskip1em\\relax"),m("\\qquad","\\hskip2em\\relax"),m("\\tag","\\@ifstar\\tag@literal\\tag@paren"),m("\\tag@paren","\\tag@literal{({#1})}"),m("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new M("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),m("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),m("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),m("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),m("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),m("\\newline","\\\\\\relax"),m("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var i1=z(ye["Main-Regular"][84][1]-.7*ye["Main-Regular"][65][1]);m("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+i1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),m("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+i1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),m("\\hspace","\\@ifstar\\@hspacer\\@hspace"),m("\\@hspace","\\hskip #1\\relax"),m("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),m("\\ordinarycolon",":"),m("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),m("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),m("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),m("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),m("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),m("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),m("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),m("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),m("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),m("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),m("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),m("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),m("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),m("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),m("\u2237","\\dblcolon"),m("\u2239","\\eqcolon"),m("\u2254","\\coloneqq"),m("\u2255","\\eqqcolon"),m("\u2A74","\\Coloneqq"),m("\\ratio","\\vcentcolon"),m("\\coloncolon","\\dblcolon"),m("\\colonequals","\\coloneqq"),m("\\coloncolonequals","\\Coloneqq"),m("\\equalscolon","\\eqqcolon"),m("\\equalscoloncolon","\\Eqqcolon"),m("\\colonminus","\\coloneq"),m("\\coloncolonminus","\\Coloneq"),m("\\minuscolon","\\eqcolon"),m("\\minuscoloncolon","\\Eqcolon"),m("\\coloncolonapprox","\\Colonapprox"),m("\\coloncolonsim","\\Colonsim"),m("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),m("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),m("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),m("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),m("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),m("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),m("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),m("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),m("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),m("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),m("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),m("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),m("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),m("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),m("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),m("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),m("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),m("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),m("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),m("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),m("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),m("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),m("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),m("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),m("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),m("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),m("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),m("\\imath","\\html@mathml{\\@imath}{\u0131}"),m("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),m("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),m("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),m("\u27E6","\\llbracket"),m("\u27E7","\\rrbracket"),m("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),m("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),m("\u2983","\\lBrace"),m("\u2984","\\rBrace"),m("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),m("\u29B5","\\minuso"),m("\\darr","\\downarrow"),m("\\dArr","\\Downarrow"),m("\\Darr","\\Downarrow"),m("\\lang","\\langle"),m("\\rang","\\rangle"),m("\\uarr","\\uparrow"),m("\\uArr","\\Uparrow"),m("\\Uarr","\\Uparrow"),m("\\N","\\mathbb{N}"),m("\\R","\\mathbb{R}"),m("\\Z","\\mathbb{Z}"),m("\\alef","\\aleph"),m("\\alefsym","\\aleph"),m("\\Alpha","\\mathrm{A}"),m("\\Beta","\\mathrm{B}"),m("\\bull","\\bullet"),m("\\Chi","\\mathrm{X}"),m("\\clubs","\\clubsuit"),m("\\cnums","\\mathbb{C}"),m("\\Complex","\\mathbb{C}"),m("\\Dagger","\\ddagger"),m("\\diamonds","\\diamondsuit"),m("\\empty","\\emptyset"),m("\\Epsilon","\\mathrm{E}"),m("\\Eta","\\mathrm{H}"),m("\\exist","\\exists"),m("\\harr","\\leftrightarrow"),m("\\hArr","\\Leftrightarrow"),m("\\Harr","\\Leftrightarrow"),m("\\hearts","\\heartsuit"),m("\\image","\\Im"),m("\\infin","\\infty"),m("\\Iota","\\mathrm{I}"),m("\\isin","\\in"),m("\\Kappa","\\mathrm{K}"),m("\\larr","\\leftarrow"),m("\\lArr","\\Leftarrow"),m("\\Larr","\\Leftarrow"),m("\\lrarr","\\leftrightarrow"),m("\\lrArr","\\Leftrightarrow"),m("\\Lrarr","\\Leftrightarrow"),m("\\Mu","\\mathrm{M}"),m("\\natnums","\\mathbb{N}"),m("\\Nu","\\mathrm{N}"),m("\\Omicron","\\mathrm{O}"),m("\\plusmn","\\pm"),m("\\rarr","\\rightarrow"),m("\\rArr","\\Rightarrow"),m("\\Rarr","\\Rightarrow"),m("\\real","\\Re"),m("\\reals","\\mathbb{R}"),m("\\Reals","\\mathbb{R}"),m("\\Rho","\\mathrm{P}"),m("\\sdot","\\cdot"),m("\\sect","\\S"),m("\\spades","\\spadesuit"),m("\\sub","\\subset"),m("\\sube","\\subseteq"),m("\\supe","\\supseteq"),m("\\Tau","\\mathrm{T}"),m("\\thetasym","\\vartheta"),m("\\weierp","\\wp"),m("\\Zeta","\\mathrm{Z}"),m("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),m("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),m("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),m("\\bra","\\mathinner{\\langle{#1}|}"),m("\\ket","\\mathinner{|{#1}\\rangle}"),m("\\braket","\\mathinner{\\langle{#1}\\rangle}"),m("\\Bra","\\left\\langle#1\\right|"),m("\\Ket","\\left|#1\\right\\rangle");var n1=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,s=t.consumeArg().tokens,h=t.macros.get("|"),c=t.macros.get("\\|");t.macros.beginGroup();var p=y=>x=>{e&&(x.macros.set("|",h),n.length&&x.macros.set("\\|",c));var S=y;return!y&&n.length&&x.future().text==="|"&&(x.popToken(),S=!0),{tokens:S?n:a,numArgs:0}};t.macros.set("|",p(!1)),n.length&&t.macros.set("\\|",p(!0));var g=t.consumeArg().tokens,v=t.expandTokens([...s,...g,...r]);return t.macros.endGroup(),{tokens:v.reverse(),numArgs:0}};m("\\bra@ket",n1(!1)),m("\\bra@set",n1(!0)),m("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),m("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),m("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),m("\\angln","{\\angl n}"),m("\\blue","\\textcolor{##6495ed}{#1}"),m("\\orange","\\textcolor{##ffa500}{#1}"),m("\\pink","\\textcolor{##ff00af}{#1}"),m("\\red","\\textcolor{##df0030}{#1}"),m("\\green","\\textcolor{##28ae7b}{#1}"),m("\\gray","\\textcolor{gray}{#1}"),m("\\purple","\\textcolor{##9d38bd}{#1}"),m("\\blueA","\\textcolor{##ccfaff}{#1}"),m("\\blueB","\\textcolor{##80f6ff}{#1}"),m("\\blueC","\\textcolor{##63d9ea}{#1}"),m("\\blueD","\\textcolor{##11accd}{#1}"),m("\\blueE","\\textcolor{##0c7f99}{#1}"),m("\\tealA","\\textcolor{##94fff5}{#1}"),m("\\tealB","\\textcolor{##26edd5}{#1}"),m("\\tealC","\\textcolor{##01d1c1}{#1}"),m("\\tealD","\\textcolor{##01a995}{#1}"),m("\\tealE","\\textcolor{##208170}{#1}"),m("\\greenA","\\textcolor{##b6ffb0}{#1}"),m("\\greenB","\\textcolor{##8af281}{#1}"),m("\\greenC","\\textcolor{##74cf70}{#1}"),m("\\greenD","\\textcolor{##1fab54}{#1}"),m("\\greenE","\\textcolor{##0d923f}{#1}"),m("\\goldA","\\textcolor{##ffd0a9}{#1}"),m("\\goldB","\\textcolor{##ffbb71}{#1}"),m("\\goldC","\\textcolor{##ff9c39}{#1}"),m("\\goldD","\\textcolor{##e07d10}{#1}"),m("\\goldE","\\textcolor{##a75a05}{#1}"),m("\\redA","\\textcolor{##fca9a9}{#1}"),m("\\redB","\\textcolor{##ff8482}{#1}"),m("\\redC","\\textcolor{##f9685d}{#1}"),m("\\redD","\\textcolor{##e84d39}{#1}"),m("\\redE","\\textcolor{##bc2612}{#1}"),m("\\maroonA","\\textcolor{##ffbde0}{#1}"),m("\\maroonB","\\textcolor{##ff92c6}{#1}"),m("\\maroonC","\\textcolor{##ed5fa6}{#1}"),m("\\maroonD","\\textcolor{##ca337c}{#1}"),m("\\maroonE","\\textcolor{##9e034e}{#1}"),m("\\purpleA","\\textcolor{##ddd7ff}{#1}"),m("\\purpleB","\\textcolor{##c6b9fc}{#1}"),m("\\purpleC","\\textcolor{##aa87ff}{#1}"),m("\\purpleD","\\textcolor{##7854ab}{#1}"),m("\\purpleE","\\textcolor{##543b78}{#1}"),m("\\mintA","\\textcolor{##f5f9e8}{#1}"),m("\\mintB","\\textcolor{##edf2df}{#1}"),m("\\mintC","\\textcolor{##e0e5cc}{#1}"),m("\\grayA","\\textcolor{##f6f7f7}{#1}"),m("\\grayB","\\textcolor{##f0f1f2}{#1}"),m("\\grayC","\\textcolor{##e3e5e6}{#1}"),m("\\grayD","\\textcolor{##d6d8da}{#1}"),m("\\grayE","\\textcolor{##babec2}{#1}"),m("\\grayF","\\textcolor{##888d93}{#1}"),m("\\grayG","\\textcolor{##626569}{#1}"),m("\\grayH","\\textcolor{##3b3e40}{#1}"),m("\\grayI","\\textcolor{##21242c}{#1}"),m("\\kaBlue","\\textcolor{##314453}{#1}"),m("\\kaGreen","\\textcolor{##71B307}{#1}");var o1={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},o4=class{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new i4(n4,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new t1(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,a;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new ge("EOF",r.loc)),this.pushTokens(a),new ge("",me.range(t,r))}consumeSpaces(){for(;this.future().text===" ";)this.stack.pop()}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var a=this.future(),n,s=0,h=0;do{if(n=this.popToken(),t.push(n),n.text==="{")++s;else if(n.text==="}"){if(--s,s===-1)throw new M("Extra }",n)}else if(n.text==="EOF")throw new M("Unexpected end of input in a macro argument, expected '"+(e&&r?e[h]:"}")+"'",n);if(e&&r)if((s===0||s===1&&e[h]==="{")&&n.text===e[h]){if(++h,h===e.length){t.splice(-h,h);break}}else h=0}while(s!==0||r);return a.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:a,end:n}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new M("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;a<r.length;a++){var n=this.popToken();if(r[a]!==n.text)throw new M("Use of the macro doesn't match its definition",n)}}for(var s=[],h=0;h<e;h++)s.push(this.consumeArg(t&&t[h+1]).tokens);return s}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new M("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,a=t.noexpand?null:this._getExpansion(r);if(a==null||e&&a.unexpandable){if(e&&a==null&&r[0]==="\\"&&!this.isDefined(r))throw new M("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){n=n.slice();for(var h=n.length-1;h>=0;--h){var c=n[h];if(c.text==="#"){if(h===0)throw new M("Incomplete placeholder at end of macro body",c);if(c=n[--h],c.text==="#")n.splice(h+1,1);else if(/^[1-9]$/.test(c.text))n.splice(h,2,...s[c.text-1]);else throw new M("Not a valid argument number",c)}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw Error()}expandMacro(e){return this.macros.has(e)?this.expandTokens([new ge(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.treatAsRelax=(a.noexpand=!1,!1)),t.push(a)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(r=>r.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var r=this.lexer.catcodes[e];if(r!=null&&r!==13)return}var a=typeof t=="function"?t(this):t;if(typeof a=="string"){var n=0;if(a.indexOf("#")!==-1)for(var s=a.replace(/##/g,"");s.indexOf("#"+(n+1))!==-1;)++n;for(var h=new t1(a,this.settings),c=[],p=h.lex();p.text!=="EOF";)c.push(p),p=h.lex();return c.reverse(),{tokens:c,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||Ve.hasOwnProperty(e)||W.math.hasOwnProperty(e)||W.text.hasOwnProperty(e)||o1.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t==null?Ve.hasOwnProperty(e)&&!Ve[e].primitive:typeof t=="string"||typeof t=="function"||!t.unexpandable}},s1=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,E0=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),Bt={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},l1={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},h1=class y1{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new o4(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new M("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken??(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new ge("}")),this.gullet.pushTokens(t);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,a}parseExpression(t,r){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(y1.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||t&&Ve[n.text]&&Ve[n.text].infix)break;var s=this.parseAtom(r);if(s){if(s.type==="internal")continue}else break;a.push(s)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(t){for(var r=-1,a,n=0;n<t.length;n++)if(t[n].type==="infix"){if(r!==-1)throw new M("only one infix operator per group",t[n].token);r=n,a=t[n].replaceWith}if(r!==-1&&a){var s,h,c=t.slice(0,r),p=t.slice(r+1);return s=c.length===1&&c[0].type==="ordgroup"?c[0]:{type:"ordgroup",mode:this.mode,body:c},h=p.length===1&&p[0].type==="ordgroup"?p[0]:{type:"ordgroup",mode:this.mode,body:p},[a==="\\\\abovefrac"?this.callFunction(a,[s,t[r],h],[]):this.callFunction(a,[s,h],[])]}else return t}handleSupSubscript(t){var r=this.fetch(),a=r.text;this.consume(),this.consumeSpaces();var n;do n=this.parseGroup(t);while((n==null?void 0:n.type)==="internal");if(!n)throw new M("Expected group after '"+a+"'",r);return n}formatUnsupportedCmd(t){for(var r=[],a=0;a<t.length;a++)r.push({type:"textord",mode:"text",text:t[a]});var n={type:"text",mode:this.mode,body:r};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var a,n;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(r&&r.type==="op")r.limits=s.text==="\\limits",r.alwaysHandleSupSub=!0;else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=s.text==="\\limits");else throw new M("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(a)throw new M("Double superscript",s);a=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(n)throw new M("Double subscript",s);n=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(a)throw new M("Double superscript",s);var h={type:"textord",mode:this.mode,text:"\\prime"},c=[h];for(this.consume();this.fetch().text==="'";)c.push(h),this.consume();this.fetch().text==="^"&&c.push(this.handleSupSubscript("superscript")),a={type:"ordgroup",mode:this.mode,body:c}}else if(E0[s.text]){var p=s1.test(s.text),g=[];for(g.push(new ge(E0[s.text])),this.consume();;){var v=this.fetch().text;if(!E0[v]||s1.test(v)!==p)break;g.unshift(new ge(E0[v])),this.consume()}var y=this.subparse(g);p?n={type:"ordgroup",mode:"math",body:y}:a={type:"ordgroup",mode:"math",body:y}}else break}return a||n?{type:"supsub",mode:this.mode,base:r,sup:a,sub:n}:r}parseFunction(t,r){var a=this.fetch(),n=a.text,s=Ve[n];if(!s)return null;if(this.consume(),r&&r!=="atom"&&!s.allowedInArgument)throw new M("Got function '"+n+"' with no arguments"+(r?" as "+r:""),a);if(this.mode==="text"&&!s.allowedInText)throw new M("Can't use function '"+n+"' in text mode",a);if(this.mode==="math"&&s.allowedInMath===!1)throw new M("Can't use function '"+n+"' in math mode",a);var{args:h,optArgs:c}=this.parseArguments(n,s);return this.callFunction(n,h,c,a,t)}callFunction(t,r,a,n,s){var h={funcName:t,parser:this,token:n,breakOnTokenText:s},c=Ve[t];if(c&&c.handler)return c.handler(h,r,a);throw new M("No function handler for "+t)}parseArguments(t,r){var a=r.numArgs+r.numOptionalArgs;if(a===0)return{args:[],optArgs:[]};for(var n=[],s=[],h=0;h<a;h++){var c=r.argTypes&&r.argTypes[h],p=h<r.numOptionalArgs;(r.primitive&&c==null||r.type==="sqrt"&&h===1&&s[0]==null)&&(c="primitive");var g=this.parseGroupOfType("argument to '"+t+"'",c,p);if(p)s.push(g);else if(g!=null)n.push(g);else throw new M("Null argument, please report this as a bug")}return{args:n,optArgs:s}}parseGroupOfType(t,r,a){switch(r){case"color":return this.parseColorGroup(a);case"size":return this.parseSizeGroup(a);case"url":return this.parseUrlGroup(a);case"math":case"text":return this.parseArgumentGroup(a,r);case"hbox":var n=this.parseArgumentGroup(a,"text");return n==null?null:{type:"styling",mode:n.mode,body:[n],style:"text"};case"raw":var s=this.parseStringGroup("raw",a);return s==null?null:{type:"raw",mode:"text",string:s.text};case"primitive":if(a)throw new M("A primitive argument cannot be optional");var h=this.parseGroup(t);if(h==null)throw new M("Expected group as "+t,this.fetch());return h;case"original":case null:case void 0:return this.parseArgumentGroup(a);default:throw new M("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var a=this.gullet.scanArgument(r);if(a==null)return null;for(var n="",s;(s=this.fetch()).text!=="EOF";)n+=s.text,this.consume();return this.consume(),a.text=n,a}parseRegexGroup(t,r){for(var a=this.fetch(),n=a,s="",h;(h=this.fetch()).text!=="EOF"&&t.test(s+h.text);)n=h,s+=n.text,this.consume();if(s==="")throw new M("Invalid "+r+": '"+a.text+"'",a);return a.range(n,s)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var a=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!a)throw new M("Invalid color: '"+r.text+"'",r);var n=a[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(t){var r,a=!1;if(this.gullet.consumeSpaces(),r=!t&&this.gullet.future().text!=="{"?this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",a=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!n)throw new M("Invalid size: '"+r.text+"'",r);var s={number:+(n[1]+n[2]),unit:n[3]};if(!Gt(s))throw new M("Invalid unit: '"+s.unit+"'",r);return{type:"size",mode:this.mode,value:s,isBlank:a}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var a=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:a}}parseArgumentGroup(t,r){var a=this.gullet.scanArgument(t);if(a==null)return null;var n=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var h={type:"ordgroup",mode:this.mode,loc:a.loc,body:s};return r&&this.switchMode(n),h}parseGroup(t,r){var a=this.fetch(),n=a.text,s;if(n==="{"||n==="\\begingroup"){this.consume();var h=n==="{"?"}":"\\endgroup";this.gullet.beginGroup();var c=this.parseExpression(!1,h),p=this.fetch();this.expect(h),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:me.range(a,p),body:c,semisimple:n==="\\begingroup"||void 0}}else if(s=this.parseFunction(r,t)||this.parseSymbol(),s==null&&n[0]==="\\"&&!o1.hasOwnProperty(n)){if(this.settings.throwOnError)throw new M("Undefined control sequence: "+n,a);s=this.formatUnsupportedCmd(n),this.consume()}return s}formLigatures(t){for(var r=t.length-1,a=0;a<r;++a){var n=t[a],s=n.text;s==="-"&&t[a+1].text==="-"&&(a+1<r&&t[a+2].text==="-"?(t.splice(a,3,{type:"textord",mode:"text",loc:me.range(n,t[a+2]),text:"---"}),r-=2):(t.splice(a,2,{type:"textord",mode:"text",loc:me.range(n,t[a+1]),text:"--"}),--r)),(s==="'"||s==="`")&&t[a+1].text===s&&(t.splice(a,2,{type:"textord",mode:"text",loc:me.range(n,t[a+1]),text:s+s}),--r)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var a=r.slice(5),n=a.charAt(0)==="*";if(n&&(a=a.slice(1)),a.length<2||a.charAt(0)!==a.slice(-1))throw new M(`\\verb assertion failed --
261
- please report what input caused this bug`);return a=a.slice(1,-1),{type:"verb",mode:"text",body:a,star:n}}l1.hasOwnProperty(r[0])&&!W[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=l1[r[0]]+r.slice(1));var s=r4.exec(r);s&&(r=r.substring(0,s.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var h;if(W[this.mode][r]){this.settings.strict&&this.mode==="math"&&J0.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var c=W[this.mode][r].group,p=me.range(t),g;if(ra.hasOwnProperty(c)){var v=c;g={type:"atom",mode:this.mode,family:v,loc:p,text:r}}else g={type:c,mode:this.mode,loc:p,text:r};h=g}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Et(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),h={type:"textord",mode:"text",loc:me.range(t),text:r};else return null;if(this.consume(),s)for(var y=0;y<s[0].length;y++){var x=s[0][y];if(!Bt[x])throw new M("Unknown accent ' "+x+"'",t);var S=Bt[x][this.mode]||Bt[x].text;if(!S)throw new M("Accent "+x+" unsupported in "+this.mode+" mode",t);h={type:"accent",mode:this.mode,loc:me.range(t),label:S,isStretchy:!1,isShifty:!0,base:h}}return h}};h1.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Nt=function(e,t){if(!(typeof e=="string"||e instanceof String))throw TypeError("KaTeX can only parse string typed expression");var r=new h1(e,t);delete r.gullet.macros.current["\\df@tag"];var a=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new M("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new ge("\\df@tag")])}]}return a},qt=function(e,t,r){t.textContent="";var a=L0(e,r).toNode();t.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),qt=function(){throw new M("KaTeX doesn't work in quirks mode.")});var m1=function(e,t){return L0(e,t).toMarkup()},c1=function(e,t){return Nt(e,new F0(t))},p1=function(e,t,r){if(r.throwOnError||!(e instanceof M))throw e;var a=b.makeSpan(["katex-error"],[new pe(t)]);return a.setAttribute("title",e.toString()),a.setAttribute("style","color:"+r.errorColor),a},L0=function(e,t){var r=new F0(t);try{return Sa(Nt(e,r),e,r)}catch(a){return p1(a,e,r)}},u1=function(e,t){var r=new F0(t);try{return Ma(Nt(e,r),e,r)}catch(a){return p1(a,e,r)}},d1="0.16.27",g1={Span:o0,Anchor:j0,SymbolNode:pe,SvgNode:ze,PathNode:Ee,LineNode:$0},s4={version:d1,render:qt,renderToString:m1,ParseError:M,SETTINGS_SCHEMA:a0,__parse:c1,__renderToDomTree:L0,__renderToHTMLTree:u1,__setFontMetrics:Ht,__defineSymbol:i,__defineFunction:T,__defineMacro:m,__domTree:g1};export{m as a,s4 as c,u1 as d,m1 as f,T as i,qt as l,d1 as m,a0 as n,i as o,Ht as p,g1 as r,c1 as s,M as t,L0 as u};
261
+ please report what input caused this bug`);return a=a.slice(1,-1),{type:"verb",mode:"text",body:a,star:n}}l1.hasOwnProperty(r[0])&&!W[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=l1[r[0]]+r.slice(1));var s=r4.exec(r);s&&(r=r.substring(0,s.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var h;if(W[this.mode][r]){this.settings.strict&&this.mode==="math"&&J0.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var c=W[this.mode][r].group,p=me.range(t),g;if(ra.hasOwnProperty(c)){var v=c;g={type:"atom",mode:this.mode,family:v,loc:p,text:r}}else g={type:c,mode:this.mode,loc:p,text:r};h=g}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Et(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),h={type:"textord",mode:"text",loc:me.range(t),text:r};else return null;if(this.consume(),s)for(var y=0;y<s[0].length;y++){var x=s[0][y];if(!Bt[x])throw new M("Unknown accent ' "+x+"'",t);var S=Bt[x][this.mode]||Bt[x].text;if(!S)throw new M("Accent "+x+" unsupported in "+this.mode+" mode",t);h={type:"accent",mode:this.mode,loc:me.range(t),label:S,isStretchy:!1,isShifty:!0,base:h}}return h}};h1.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Nt=function(e,t){if(!(typeof e=="string"||e instanceof String))throw TypeError("KaTeX can only parse string typed expression");var r=new h1(e,t);delete r.gullet.macros.current["\\df@tag"];var a=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new M("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new ge("\\df@tag")])}]}return a},qt=function(e,t,r){t.textContent="";var a=L0(e,r).toNode();t.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),qt=function(){throw new M("KaTeX doesn't work in quirks mode.")});var m1=function(e,t){return L0(e,t).toMarkup()},c1=function(e,t){return Nt(e,new F0(t))},p1=function(e,t,r){if(r.throwOnError||!(e instanceof M))throw e;var a=b.makeSpan(["katex-error"],[new pe(t)]);return a.setAttribute("title",e.toString()),a.setAttribute("style","color:"+r.errorColor),a},L0=function(e,t){var r=new F0(t);try{return Sa(Nt(e,r),e,r)}catch(a){return p1(a,e,r)}},u1=function(e,t){var r=new F0(t);try{return Ma(Nt(e,r),e,r)}catch(a){return p1(a,e,r)}},d1="0.16.28",g1={Span:o0,Anchor:j0,SymbolNode:pe,SvgNode:ze,PathNode:Ee,LineNode:$0},s4={version:d1,render:qt,renderToString:m1,ParseError:M,SETTINGS_SCHEMA:a0,__parse:c1,__renderToDomTree:L0,__renderToHTMLTree:u1,__setFontMetrics:Ht,__defineSymbol:i,__defineFunction:T,__defineMacro:m,__domTree:g1};export{m as a,s4 as c,u1 as d,m1 as f,T as i,qt as l,d1 as m,a0 as n,i as o,Ht as p,g1 as r,c1 as s,M as t,L0 as u};
@@ -0,0 +1 @@
1
+ import{c as a}from"./katex-CDLTCvjQ.js";export{a as default};
@@ -1 +1 @@
1
- import{s}from"./chunk-LvLJmgfZ.js";import{t as a}from"./compiler-runtime-DeeZ7FnK.js";import{t as m}from"./jsx-runtime-ZmTK25f3.js";import{n}from"./clsx-D8GwTfvk.js";var d=a(),c=s(m(),1);const l=e=>{let r=(0,d.c)(5),o;r[0]===e.className?o=r[1]:(o=n(e.className,"rounded-md bg-muted/40 px-2 text-[0.75rem] font-prose center border border-foreground/20 text-muted-foreground block whitespace-nowrap"),r[0]=e.className,r[1]=o);let t;return r[2]!==e.children||r[3]!==o?(t=(0,c.jsx)("kbd",{className:o,children:e.children}),r[2]=e.children,r[3]=o,r[4]=t):t=r[4],t};export{l as t};
1
+ import{s}from"./chunk-LvLJmgfZ.js";import{t as a}from"./compiler-runtime-B3qBwwSJ.js";import{t as m}from"./jsx-runtime-ZmTK25f3.js";import{n}from"./clsx-D8GwTfvk.js";var d=a(),c=s(m(),1);const l=e=>{let r=(0,d.c)(5),o;r[0]===e.className?o=r[1]:(o=n(e.className,"rounded-md bg-muted/40 px-2 text-[0.75rem] font-prose center border border-foreground/20 text-muted-foreground block whitespace-nowrap"),r[0]=e.className,r[1]=o);let t;return r[2]!==e.children||r[3]!==o?(t=(0,c.jsx)("kbd",{className:o,children:e.children}),r[2]=e.children,r[3]=o,r[4]=t):t=r[4],t};export{l as t};
@@ -0,0 +1 @@
1
+ import{u as n}from"./useEvent-BhXAndur.js";import{r as e}from"./mode-BfhhQnCm.js";const l=r=>{let{children:t}=r;return n(e)?null:t},o=r=>{let{children:t}=r;return n(e)?t:null};export{o as n,l as t};