@qredence/fleet 0.6.1 → 0.6.3

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 (280) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/web/client/assets/DialogTitle-DiAm7YNe.js +1 -0
  3. package/dist/web/client/assets/agent-disclosure-CMrxF7L-.js +1 -0
  4. package/dist/web/client/assets/alert-dialog-CYE37KMM.js +1 -0
  5. package/dist/web/client/assets/analytics-stub-C2vgmGm_.js +1 -0
  6. package/dist/web/client/assets/artifacts-panel-ClDpGWOU.js +1 -0
  7. package/dist/web/client/assets/{bot-Bs7QWJ2q.js → bot-DbB9BKL0.js} +1 -1
  8. package/dist/web/client/assets/bundle-mjs-cJTHqqzI.js +1 -0
  9. package/dist/web/client/assets/button-Dl0ce3Y5.js +1 -0
  10. package/dist/web/client/assets/{card-DA3Vnqay.js → card-DCEnYd2G.js} +1 -1
  11. package/dist/web/client/assets/chat-BVMnC5Qh.js +52 -0
  12. package/dist/web/client/assets/chat-command-palette-YuyaJNbi.js +1 -0
  13. package/dist/web/client/assets/check-B3LlvM65.js +1 -0
  14. package/dist/web/client/assets/{chevron-down-BEVGmnSb.js → chevron-down-DUUprRP5.js} +1 -1
  15. package/dist/web/client/assets/chevron-right-NVqQIoiO.js +1 -0
  16. package/dist/web/client/assets/{chunk-YOKDWASO-BAf618wr.js → chunk-YOKDWASO-Bte3iwlH.js} +6 -6
  17. package/dist/web/client/assets/citations-DXqV2NLy.js +1 -0
  18. package/dist/web/client/assets/collapsible-CUxOjhDJ.js +1 -0
  19. package/dist/web/client/assets/command-Cw4X8Bpk.js +1 -0
  20. package/dist/web/client/assets/createBaseUIEventDetails-B58Jldei.js +1 -0
  21. package/dist/web/client/assets/createLucideIcon-_dfI7Arx.js +1 -0
  22. package/dist/web/client/assets/dialog-BzcIOvFC.js +1 -0
  23. package/dist/web/client/assets/dist-52wg4XPY.js +1 -0
  24. package/dist/web/client/assets/dist-DbHxXSgQ.js +41 -0
  25. package/dist/web/client/assets/ease-CMumuPlX.js +1 -0
  26. package/dist/web/client/assets/{eye-B0DFz5hL.js → eye-CDHqtVoE.js} +1 -1
  27. package/dist/web/client/assets/file-text-TmalmYrb.js +1 -0
  28. package/dist/web/client/assets/{folder-BC5p7qK7.js → folder-vuNT4shY.js} +1 -1
  29. package/dist/web/client/assets/{fork-picker-dialog-B7NNpVmW.js → fork-picker-dialog-BYRr-xTy.js} +1 -1
  30. package/dist/web/client/assets/gauge-BsDqNM1A.js +1 -0
  31. package/dist/web/client/assets/git-branch-CTq9aACS.js +1 -0
  32. package/dist/web/client/assets/globals-BtCXZXL_.css +2 -0
  33. package/dist/web/client/assets/{hard-drive-CHqgr7VQ.js → hard-drive-BT7UxHQu.js} +1 -1
  34. package/dist/web/client/assets/highlighted-body-KPVGNVTW-CgT7gqvs.js +1 -0
  35. package/dist/web/client/assets/horizontal-resize-VLjLByUV.js +1 -0
  36. package/dist/web/client/assets/index-B9aXxpOv.js +12 -0
  37. package/dist/web/client/assets/input-CxZp56Im.js +1 -0
  38. package/dist/web/client/assets/input-group-D7lAfKHR.js +1 -0
  39. package/dist/web/client/assets/ipython-tool-CkHaO3PW.js +3 -0
  40. package/dist/web/client/assets/is-ref-object-BcRWZ4l7.js +1 -0
  41. package/dist/web/client/assets/{loader-circle-DjfHXUPB.js → loader-circle-B5GIZGxd.js} +1 -1
  42. package/dist/web/client/assets/markdown-BHkByC9K.js +2 -0
  43. package/dist/web/client/assets/{markdown-code-xNyjdZ4g.js → markdown-code-CDTRq-HZ.js} +1 -1
  44. package/dist/web/client/assets/mermaid-HWGCJPDP-CY3N5ECk.js +1 -0
  45. package/dist/web/client/assets/message-queue-Dl8wbCOu.js +1 -0
  46. package/dist/web/client/assets/model-selector-list-CHD8lMAl.js +1 -0
  47. package/dist/web/client/assets/{notify-DxL0VD7Z.js → notify-DjVixft7.js} +1 -1
  48. package/dist/web/client/assets/{openui-renderer-TLNe5e_Q.js → openui-renderer-C4e9FOVR.js} +38 -38
  49. package/dist/web/client/assets/{package-CdcJFPf2.js → package-BKBPgwMP.js} +1 -1
  50. package/dist/web/client/assets/{pencil-DcUwsKLn.js → pencil-CdO6qfv3.js} +1 -1
  51. package/dist/web/client/assets/{plug-Dt6VN0zF.js → plug-BRROUIw-.js} +1 -1
  52. package/dist/web/client/assets/prompt-input-WaGSKZCU.js +1 -0
  53. package/dist/web/client/assets/prompt-suggestions-BNyTcyWg.js +1 -0
  54. package/dist/web/client/assets/provider-catalog-ClVvphe0.js +1 -0
  55. package/dist/web/client/assets/provider-label-CwZ-KDxk.js +1 -0
  56. package/dist/web/client/assets/react-CwJFpaho.js +1 -0
  57. package/dist/web/client/assets/react-dom-DX3XddaT.js +1 -0
  58. package/dist/web/client/assets/{refresh-cw-IThTJ3j-.js → refresh-cw-l9WPHRkq.js} +1 -1
  59. package/dist/web/client/assets/repl-panel-L9dmPqio.js +1 -0
  60. package/dist/web/client/assets/{resource-helpers-Q2T0YCMO.js → resource-helpers-BuWybA8l.js} +1 -1
  61. package/dist/web/client/assets/resources-panel-mT-aMCvV.js +1 -0
  62. package/dist/web/client/assets/right-panel-context-CS8tJMzE.js +1 -0
  63. package/dist/web/client/assets/right-panel-registry-BnYCffmM.js +2 -0
  64. package/dist/web/client/assets/{rotate-ccw-WNFNkKQD.js → rotate-ccw-CfGhzOv7.js} +1 -1
  65. package/dist/web/client/assets/routes-DUontXSG.js +16 -0
  66. package/dist/web/client/assets/safe-external-url-BbAom7Bm.js +1 -0
  67. package/dist/web/client/assets/search-BjcXAUrI.js +1 -0
  68. package/dist/web/client/assets/session-insights-panel-B0rl37lo.js +1 -0
  69. package/dist/web/client/assets/session-reasoning-panel-8D2P7iaJ.js +1 -0
  70. package/dist/web/client/assets/session-tool-renderer-Bd3dsE2D.js +1395 -0
  71. package/dist/web/client/assets/session-tree-panel-CM4_wwrM.js +1 -0
  72. package/dist/web/client/assets/settings-dialog-DMTD9m6z.js +2 -0
  73. package/dist/web/client/assets/{skeleton-CkR2VmWc.js → skeleton-C3mo31Qu.js} +1 -1
  74. package/dist/web/client/assets/skeleton-loaders-BMa_G4yX.js +1 -0
  75. package/dist/web/client/assets/sparkles-BY5MFyk6.js +1 -0
  76. package/dist/web/client/assets/square-DQaQu9bp.js +1 -0
  77. package/dist/web/client/assets/{square-terminal-BYTN_I86.js → square-terminal-BsopiuN7.js} +1 -1
  78. package/dist/web/client/assets/{subagent-chat-panel-oeLDPDAK.js → subagent-chat-panel-BESrXxAR.js} +1 -1
  79. package/dist/web/client/assets/subagent-transcript-CAqFJfMj.js +1 -0
  80. package/dist/web/client/assets/subagents-panel-8aKOwWLs.js +1 -0
  81. package/dist/web/client/assets/{sun-BWiZFty0.js → sun-D0llhiMU.js} +1 -1
  82. package/dist/web/client/assets/surfaces-CpfsGAIA.js +1 -0
  83. package/dist/web/client/assets/switch-D3FhZU-S.js +1 -0
  84. package/dist/web/client/assets/terminal-BQAKkBY6.js +1 -0
  85. package/dist/web/client/assets/toast-lnCWGgSE.js +1 -0
  86. package/dist/web/client/assets/tokens-Ch5WqXC_.js +1 -0
  87. package/dist/web/client/assets/tool-result-B_yb2JoE.js +4 -0
  88. package/dist/web/client/assets/tool-timeline-VnMRQoLS.js +1 -0
  89. package/dist/web/client/assets/{triangle-alert-CU-gd7ui.js → triangle-alert-GAYh_5d3.js} +1 -1
  90. package/dist/web/client/assets/ui-preferences-aG2U2jjW.js +1 -0
  91. package/dist/web/client/assets/use-presence-7I2qv4qI.js +1 -0
  92. package/dist/web/client/assets/use-reduced-motion-BOcG709U.js +9 -0
  93. package/dist/web/client/assets/useBaseUiId-D9ZGPZ6f.js +1 -0
  94. package/dist/web/client/assets/useControlled-CgAAWIy9.js +1 -0
  95. package/dist/web/client/assets/utils-Brtgag-m.js +1 -0
  96. package/dist/web/client/assets/virtualized-turn-list-mL3ONUUA.js +6 -0
  97. package/dist/web/client/assets/workspace-panel-CKF5JQl2.js +1 -0
  98. package/dist/web/client/assets/workspace-path-nav-DqPbETfJ.js +2 -0
  99. package/dist/web/client/assets/{wrench-BJNNe07k.js → wrench-Myc12BTA.js} +1 -1
  100. package/dist/web/client/assets/x-BGsDD848.js +1 -0
  101. package/dist/web/client/bundle-budget.json +6 -6
  102. package/dist/web/server/_tanstack-start-manifest_v-Cm8xE-Rb-TMLYN3GY.js +93 -0
  103. package/dist/web/server/{artifacts-panel-D3ySO--V-XSL53CXL.js → artifacts-panel-CwLVBqyi-CDORJY75.js} +37 -41
  104. package/dist/web/server/{chat-command-palette-kAbXhWVg-TJWXH2WW.js → chat-command-palette-DUha04ia-5OV7WVJZ.js} +20 -18
  105. package/dist/web/server/{chunk-SALXCFVO.js → chunk-33QA7BQJ.js} +19 -1
  106. package/dist/web/server/chunk-3Q3QKLHC.js +386 -0
  107. package/dist/web/server/chunk-4EBSM4JR.js +74 -0
  108. package/dist/web/server/{chunk-5UCAJBAH.js → chunk-5RTGRTPD.js} +82 -49
  109. package/dist/web/server/chunk-7E76R7MB.js +2138 -0
  110. package/dist/web/server/{chunk-EBG3XFGQ.js → chunk-7FK6YEMA.js} +49 -44
  111. package/dist/web/server/chunk-7HXCGBUP.js +56 -0
  112. package/dist/web/server/{chunk-P66QQWUM.js → chunk-7NZ3FJDA.js} +14 -1
  113. package/dist/web/server/{chunk-HF7DG7PC.js → chunk-7UTDOTOU.js} +80 -78
  114. package/dist/web/server/{chunk-NNKJTKOQ.js → chunk-ADYZWC5L.js} +311 -281
  115. package/dist/web/server/{chunk-NJ4QEZHK.js → chunk-B2LF64HM.js} +7 -5
  116. package/dist/web/server/{chunk-OZO5ARFA.js → chunk-BQROC4PL.js} +11 -2
  117. package/dist/web/server/{chunk-NIZBFVJF.js → chunk-CAPTFJOC.js} +9 -7
  118. package/dist/web/server/{chunk-DJMHPJBP.js → chunk-CHEC7TWB.js} +3 -1
  119. package/dist/web/server/chunk-DLA5TLKX.js +164 -0
  120. package/dist/web/server/{chunk-PLYZ7P2Y.js → chunk-DP26GVWH.js} +43 -5
  121. package/dist/web/server/{chunk-MNBGB2SP.js → chunk-E5HALE4M.js} +4 -4
  122. package/dist/web/server/chunk-ETCO5KZK.js +113 -0
  123. package/dist/web/server/{chunk-NGCQJ33Y.js → chunk-FMAYMBRS.js} +1492 -1640
  124. package/dist/web/server/{chunk-KP2PNDGL.js → chunk-FTLJ66KU.js} +30 -33
  125. package/dist/web/server/{chunk-BLSX7WHW.js → chunk-H5D5DX3K.js} +23 -21
  126. package/dist/web/server/chunk-HGVJEUV4.js +102 -0
  127. package/dist/web/server/{chunk-WNCAL4HN.js → chunk-HQ5TEXHT.js} +132 -152
  128. package/dist/web/server/{chunk-YOM42BKD.js → chunk-IPV4GLJL.js} +16 -16
  129. package/dist/web/server/chunk-K6PTNSCW.js +31 -0
  130. package/dist/web/server/{chunk-AR7O7JXD.js → chunk-KBWUBWVJ.js} +24 -1
  131. package/dist/web/server/{chunk-O3HDELZ2.js → chunk-KZ35W5M7.js} +667 -661
  132. package/dist/web/server/{chunk-QIULBRTU.js → chunk-MJXXVQNA.js} +79 -84
  133. package/dist/web/server/{chunk-EAJTWMK5.js → chunk-NZ6KQT2X.js} +2 -2
  134. package/dist/web/server/{chunk-YGYOBX7G.js → chunk-O2IC376F.js} +1811 -53
  135. package/dist/web/server/chunk-OMPXUTMX.js +33 -0
  136. package/dist/web/server/{chunk-S3PQ6HKH.js → chunk-OVJYUWSQ.js} +2 -2
  137. package/dist/web/server/{chunk-JTCCQZLN.js → chunk-RJNGEU6C.js} +2 -2
  138. package/dist/web/server/{chunk-UCUFC553.js → chunk-RXUMFFUV.js} +3 -3
  139. package/dist/web/server/{chunk-DLUZFOG3.js → chunk-S2IBIJIG.js} +18 -22
  140. package/dist/web/server/{chunk-DO2O27B2.js → chunk-SDV3P3IW.js} +2 -2
  141. package/dist/web/server/{chunk-2DDWXTVG.js → chunk-T2UTBHJ4.js} +55 -11
  142. package/dist/web/server/chunk-TLNZNR7C.js +46 -0
  143. package/dist/web/server/{chunk-UL2725KQ.js → chunk-TR2GA5OF.js} +57 -49
  144. package/dist/web/server/{chunk-QFRCJWQQ.js → chunk-TU2WNRAL.js} +93 -32
  145. package/dist/web/server/{chunk-FYDQK6UX.js → chunk-UDD5W4CR.js} +32 -10
  146. package/dist/web/server/{chunk-MNPHMZU7.js → chunk-UE32PAV2.js} +47 -57
  147. package/dist/web/server/{chunk-3TIMGWWI.js → chunk-UM3RHJNZ.js} +2 -2
  148. package/dist/web/server/{chunk-ZIFSJ3HQ.js → chunk-V5IFFLZQ.js} +185 -109
  149. package/dist/web/server/{chunk-ETTDO4UO.js → chunk-WTYNN6EV.js} +1 -26
  150. package/dist/web/server/{chunk-EJEPDVK6.js → chunk-WU6X3GPJ.js} +48 -5
  151. package/dist/web/server/{chunk-D27LRYVT.js → chunk-XEG4JTND.js} +10 -9
  152. package/dist/web/server/{chunk-XIB6XNUX.js → chunk-XJ6TGSUB.js} +425 -404
  153. package/dist/web/server/{chunk-NWDI3OWB.js → chunk-XSOUURPF.js} +30 -26
  154. package/dist/web/server/{chunk-RIP3PBWT.js → chunk-YCCF676T.js} +4 -4
  155. package/dist/web/server/{chunk-4WBFCB4O.js → chunk-YDDDSVNB.js} +178 -269
  156. package/dist/web/server/{chunk-GETSIVNU.js → chunk-YVGCPUAW.js} +7 -7
  157. package/dist/web/server/{chunk-4UBOIY2S.js → chunk-ZNFXBGLK.js} +1 -1
  158. package/dist/web/server/{fork-picker-dialog-Ds6Tgtu3-DIBWN7MV.js → fork-picker-dialog-DeMiLZtS-WTRTTP64.js} +10 -8
  159. package/dist/web/server/{markdown-DTnMbD87-FXGGAPJD.js → markdown-BzNejPoZ-6ITTDAV6.js} +2 -3
  160. package/dist/web/server/{markdown-code-BStjFfsy-SSLWUT4S.js → markdown-code-DAwXuW6m-HHVELO6I.js} +3 -4
  161. package/dist/web/server/{fleet-message-queue-D_w8lSeY-T3HB7HVQ.js → message-queue-Demph1x4-GGXJUUKO.js} +14 -10
  162. package/dist/web/server/{model-selector-list-DxeGZoD2-P6S6FSJH.js → model-selector-list-BeGQHwKV-UJYFO4KX.js} +21 -19
  163. package/dist/web/server/{openui-renderer-MKFv6LlH-MDRSVFEY.js → openui-renderer-B4z18Brm-HSMKJ47D.js} +17 -17
  164. package/dist/web/server/{prompt-suggestions-BOItmGnD-YQA7RHLG.js → prompt-suggestions-yPZqX__K-3VGJC4IF.js} +7 -6
  165. package/dist/web/server/{repl-panel-CuyF8wt5-CHDT2Q3N.js → repl-panel-CgUF1qUw-3DFD2V53.js} +10 -11
  166. package/dist/web/server/{resources-panel-CE5pD4vy-V5FXBTYC.js → resources-panel-ChUliWV--JITAGS6Q.js} +6 -7
  167. package/dist/web/server/{router-Dg72SESP-PCWKLFRG.js → router-DfG45nTQ-3VXEUYG5.js} +3336 -238
  168. package/dist/web/server/{routes-BGrVtPYF-SURPAJN6.js → routes-B9F9UfF1-UN2IVBMJ.js} +5156 -4242
  169. package/dist/web/server/server.js +2 -2
  170. package/dist/web/server/{session-insights-panel-CUhdgvRt-VB2HUCQP.js → session-insights-panel-xgrkX1Rp-FDNURBXZ.js} +9 -9
  171. package/dist/web/server/{fleet-reasoning-panel-DG_vuvv0-NCZWEEIT.js → session-reasoning-panel-m1RgcIph-NUXGXVKE.js} +21 -22
  172. package/dist/web/server/session-tool-renderer-CT65wuet-RQBMXHEZ.js +46 -0
  173. package/dist/web/server/session-tree-panel-rS0t1wbf-HNA6AJBY.js +229 -0
  174. package/dist/web/server/{settings-dialog-CK0FJlTg-HZRBAXDZ.js → settings-dialog-CqkrDSnm-LFEKSS7Y.js} +186 -1380
  175. package/dist/web/server/{subagent-chat-panel-gzamnTgK-PQ2TLLJF.js → subagent-chat-panel-Cf7QdDqH-DPPSVLSY.js} +31 -39
  176. package/dist/web/server/{subagents-panel-Berjd7HJ-EI5ZKC6V.js → subagents-panel-_JsUw-6t-MZWM5P45.js} +38 -45
  177. package/dist/web/server/{fleet-tool-timeline-D6yM4ZMz-ZSFVRRRI.js → tool-timeline-QL9k5dzA-RLU26HXT.js} +6 -6
  178. package/dist/web/server/{workspace-panel-CBBa_3UO-B4PPFPMA.js → workspace-panel-BHEB9nRM-Y6KGIVGP.js} +23 -30
  179. package/package.json +1 -1
  180. package/dist/web/client/assets/action-swap-roll-COzQ86wm.js +0 -1
  181. package/dist/web/client/assets/agent-activity-svETLf_5.js +0 -1
  182. package/dist/web/client/assets/agent-disclosure-DAMuuGcM.js +0 -1
  183. package/dist/web/client/assets/analytics-stub-B6zGMuSV.js +0 -1
  184. package/dist/web/client/assets/artifacts-panel-HVjqBMyx.js +0 -1
  185. package/dist/web/client/assets/artifacts-utils-N_kUFbz2.js +0 -1
  186. package/dist/web/client/assets/bundle-mjs-DKHVkVWu.js +0 -1
  187. package/dist/web/client/assets/button-C5wFDY5_.js +0 -1
  188. package/dist/web/client/assets/chat-BhYseKd6.js +0 -52
  189. package/dist/web/client/assets/chat-command-palette-LILDO_vG.js +0 -1
  190. package/dist/web/client/assets/check-JjHKAZas.js +0 -1
  191. package/dist/web/client/assets/chevron-right-DrJxToLs.js +0 -1
  192. package/dist/web/client/assets/chevron-up-CnSvySGH.js +0 -1
  193. package/dist/web/client/assets/circle-alert-CONlFReH.js +0 -1
  194. package/dist/web/client/assets/circle-x-CkKCB__4.js +0 -1
  195. package/dist/web/client/assets/citations-BPv8HIpf.js +0 -2
  196. package/dist/web/client/assets/cn-C8c0S2mI.js +0 -1
  197. package/dist/web/client/assets/collapsible-BoXtZZWN.js +0 -1
  198. package/dist/web/client/assets/command-PhicLCoO.js +0 -1
  199. package/dist/web/client/assets/createBaseUIEventDetails-DV0dQrBX.js +0 -1
  200. package/dist/web/client/assets/createLucideIcon-DwxZHm0M.js +0 -1
  201. package/dist/web/client/assets/dialog-pBGUjAQ7.js +0 -1
  202. package/dist/web/client/assets/dist-BPaFisIZ.js +0 -41
  203. package/dist/web/client/assets/earth-DGZXAN5r.js +0 -1
  204. package/dist/web/client/assets/ease-u56MhKYS.js +0 -1
  205. package/dist/web/client/assets/file-text-T-NcAlZs.js +0 -1
  206. package/dist/web/client/assets/fleet-message-queue-fbYYwMj0.js +0 -1
  207. package/dist/web/client/assets/fleet-pi-tool-renderer-BRgNnmaJ.js +0 -1395
  208. package/dist/web/client/assets/fleet-reasoning-panel-CjA2dwUJ.js +0 -1
  209. package/dist/web/client/assets/fleet-subagent-list-iKUtLJKZ.js +0 -1
  210. package/dist/web/client/assets/fleet-tool-timeline-C8heL7ae.js +0 -1
  211. package/dist/web/client/assets/gauge-DNpstbBn.js +0 -1
  212. package/dist/web/client/assets/globals-CuIiqOTg.css +0 -2
  213. package/dist/web/client/assets/highlighted-body-KPVGNVTW-sUCZ1fHv.js +0 -1
  214. package/dist/web/client/assets/horizontal-resize-Cp3iHMH7.js +0 -1
  215. package/dist/web/client/assets/image-BbPmlw-n.js +0 -1
  216. package/dist/web/client/assets/index-CSGplyr_.js +0 -12
  217. package/dist/web/client/assets/input-PcdubeKn.js +0 -1
  218. package/dist/web/client/assets/input-group-C2HJEZvl.js +0 -1
  219. package/dist/web/client/assets/ipython-tool-CyuMOxz1.js +0 -3
  220. package/dist/web/client/assets/layout-gyLzPvVv.js +0 -1
  221. package/dist/web/client/assets/markdown-lvexwooo.js +0 -2
  222. package/dist/web/client/assets/mermaid-HWGCJPDP-Bm7CuruA.js +0 -1
  223. package/dist/web/client/assets/message-square-hbDao-A1.js +0 -1
  224. package/dist/web/client/assets/model-selector-list-CoXX358G.js +0 -1
  225. package/dist/web/client/assets/plus-DXN1Bg_z.js +0 -1
  226. package/dist/web/client/assets/prompt-input-fwP8TsgQ.js +0 -1
  227. package/dist/web/client/assets/prompt-suggestions-BlGXmWS7.js +0 -1
  228. package/dist/web/client/assets/provider-catalog-DYMFdbKc.js +0 -1
  229. package/dist/web/client/assets/provider-label-B4q5mI65.js +0 -1
  230. package/dist/web/client/assets/react-dom-Bwxum3ti.js +0 -1
  231. package/dist/web/client/assets/repl-panel-C5om8MGU.js +0 -1
  232. package/dist/web/client/assets/resources-panel-D867-goy.js +0 -1
  233. package/dist/web/client/assets/right-panel-context-DHlNWJsF.js +0 -1
  234. package/dist/web/client/assets/right-panel-registry-BBlxLxnx.js +0 -2
  235. package/dist/web/client/assets/routes-XGsAIqBJ.js +0 -16
  236. package/dist/web/client/assets/safe-external-url-D3PJJIcM.js +0 -1
  237. package/dist/web/client/assets/search-eWVnAJsb.js +0 -1
  238. package/dist/web/client/assets/session-insights-panel-YnaXvTpi.js +0 -1
  239. package/dist/web/client/assets/settings-dialog-BSBasR3o.js +0 -2
  240. package/dist/web/client/assets/shield-check-CkA2viVW.js +0 -1
  241. package/dist/web/client/assets/skeleton-loaders-C9vHwAYV.js +0 -1
  242. package/dist/web/client/assets/sparkles-DuclzqlE.js +0 -1
  243. package/dist/web/client/assets/square-Bhn8gjr0.js +0 -1
  244. package/dist/web/client/assets/subagent-transcript-DaVHjNUH.js +0 -1
  245. package/dist/web/client/assets/subagent-utils-DDH5qm9Z.js +0 -1
  246. package/dist/web/client/assets/subagents-panel-D_aVgSCi.js +0 -1
  247. package/dist/web/client/assets/surfaces-BhAXz9So.js +0 -1
  248. package/dist/web/client/assets/switch-WhXeJNNY.js +0 -1
  249. package/dist/web/client/assets/terminal-DOS1s1gm.js +0 -1
  250. package/dist/web/client/assets/toast-D3c9XeGe.js +0 -1
  251. package/dist/web/client/assets/tool-result-Cki8WUNc.js +0 -4
  252. package/dist/web/client/assets/ui-preferences-CImQGZm_.js +0 -1
  253. package/dist/web/client/assets/use-reduced-motion-eORd7fqW.js +0 -9
  254. package/dist/web/client/assets/useBaseUiId-CHqXB2UQ.js +0 -1
  255. package/dist/web/client/assets/useControlled-CJJ9BOQB.js +0 -1
  256. package/dist/web/client/assets/utils-Eg7xtNmV.js +0 -1
  257. package/dist/web/client/assets/virtualized-turn-list-CdMa-ydT.js +0 -6
  258. package/dist/web/client/assets/workspace-panel-77bDbprs.js +0 -1
  259. package/dist/web/client/assets/workspace-path-nav-C0AQNZyy.js +0 -1
  260. package/dist/web/client/assets/x-CsRC_tCI.js +0 -1
  261. package/dist/web/server/_tanstack-start-manifest_v-0L7fqnH4-KMVGUFE4.js +0 -95
  262. package/dist/web/server/agent-activity-BuEE6iVw-CDZLK4D2.js +0 -514
  263. package/dist/web/server/chunk-2JHTYWD5.js +0 -1196
  264. package/dist/web/server/chunk-3JMESBAT.js +0 -35
  265. package/dist/web/server/chunk-42XU6WV7.js +0 -56
  266. package/dist/web/server/chunk-AQ66E5OW.js +0 -33
  267. package/dist/web/server/chunk-BYXBJQAS.js +0 -0
  268. package/dist/web/server/chunk-FAGDMGLK.js +0 -6589
  269. package/dist/web/server/chunk-FJV6EQDW.js +0 -36
  270. package/dist/web/server/chunk-GL6HWDJB.js +0 -19
  271. package/dist/web/server/chunk-L46H6IDX.js +0 -13
  272. package/dist/web/server/chunk-NIDBN7BQ.js +0 -86
  273. package/dist/web/server/chunk-ON33WDZX.js +0 -31
  274. package/dist/web/server/chunk-PVJCTQFK.js +0 -22
  275. package/dist/web/server/chunk-QPNUGF3V.js +0 -35
  276. package/dist/web/server/chunk-S5LFXXDY.js +0 -1265
  277. package/dist/web/server/chunk-VPKX7QRU.js +0 -42
  278. package/dist/web/server/chunk-ZCVWADNW.js +0 -37
  279. package/dist/web/server/fleet-pi-tool-renderer-qwc-qZFq-4U556N5Q.js +0 -51
  280. package/dist/web/server/fleet-subagent-list-BGb0PjhF-2X67FMUV.js +0 -18
@@ -1,8 +1,3 @@
1
- import {
2
- Badge,
3
- UiErrorBoundary,
4
- encodeOpenPanelActionMessage
5
- } from "./chunk-D27LRYVT.js";
6
1
  import {
7
2
  Card,
8
3
  CardContent,
@@ -10,16 +5,7 @@ import {
10
5
  CardHeader,
11
6
  CardTitle,
12
7
  validateAndNormalizeOpenUIHtmlArtifact
13
- } from "./chunk-3TIMGWWI.js";
14
- import {
15
- OpenPanelActionSchema,
16
- RightPanelIdSchema,
17
- WorkspaceRelativePathSchema,
18
- external_exports,
19
- object,
20
- registry,
21
- toJSONSchema
22
- } from "./chunk-PLYZ7P2Y.js";
8
+ } from "./chunk-UM3RHJNZ.js";
23
9
  import {
24
10
  Alert,
25
11
  AlertDescription,
@@ -28,7 +14,21 @@ import {
28
14
  FieldLabel,
29
15
  Separator,
30
16
  Switch
31
- } from "./chunk-KP2PNDGL.js";
17
+ } from "./chunk-FTLJ66KU.js";
18
+ import {
19
+ Badge,
20
+ UiErrorBoundary,
21
+ encodeOpenPanelActionMessage
22
+ } from "./chunk-XEG4JTND.js";
23
+ import {
24
+ OpenPanelActionSchema,
25
+ RightPanelIdSchema,
26
+ WorkspaceRelativePathSchema,
27
+ external_exports,
28
+ object,
29
+ registry,
30
+ toJSONSchema
31
+ } from "./chunk-DP26GVWH.js";
32
32
  import {
33
33
  Select,
34
34
  arrow$2,
@@ -41,16 +41,14 @@ import {
41
41
  shift,
42
42
  size,
43
43
  useFloating
44
- } from "./chunk-NNKJTKOQ.js";
44
+ } from "./chunk-ADYZWC5L.js";
45
45
  import {
46
46
  segmentOpenUIContent
47
47
  } from "./chunk-NFRJDPB3.js";
48
48
  import {
49
- ChevronUp
50
- } from "./chunk-OZO5ARFA.js";
51
- import {
49
+ ChevronUp,
52
50
  isSafeExternalUrl
53
- } from "./chunk-L46H6IDX.js";
51
+ } from "./chunk-BQROC4PL.js";
54
52
  import {
55
53
  ChevronDown
56
54
  } from "./chunk-WWJF4RO2.js";
@@ -84,35 +82,35 @@ import {
84
82
  } from "./chunk-7PQTPSEE.js";
85
83
  import {
86
84
  Input
87
- } from "./chunk-5UCAJBAH.js";
85
+ } from "./chunk-5RTGRTPD.js";
88
86
  import {
89
87
  Dialog,
90
88
  DialogContent,
91
89
  DialogHeader,
92
90
  DialogTitle
93
- } from "./chunk-4WBFCB4O.js";
91
+ } from "./chunk-ETCO5KZK.js";
94
92
  import {
95
93
  Button,
96
94
  require_with_selector,
97
95
  visuallyHidden
98
- } from "./chunk-WNCAL4HN.js";
96
+ } from "./chunk-HQ5TEXHT.js";
99
97
  import {
100
98
  useBaseUiId
101
- } from "./chunk-MNBGB2SP.js";
99
+ } from "./chunk-E5HALE4M.js";
102
100
  import {
103
101
  formatErrorMessage,
104
102
  useIsoLayoutEffect,
105
103
  useRenderElement
106
- } from "./chunk-XIB6XNUX.js";
104
+ } from "./chunk-XJ6TGSUB.js";
107
105
  import {
108
106
  characterEntitiesLegacy
109
107
  } from "./chunk-ST5I2PLN.js";
110
108
  import {
111
109
  Markdown
112
- } from "./chunk-YOM42BKD.js";
110
+ } from "./chunk-IPV4GLJL.js";
113
111
  import {
114
112
  cn
115
- } from "./chunk-DJMHPJBP.js";
113
+ } from "./chunk-CHEC7TWB.js";
116
114
  import {
117
115
  VFile,
118
116
  decodeNamedCharacterReference,
@@ -134,8 +132,8 @@ import {
134
132
  __toESM
135
133
  } from "./chunk-L547YHC4.js";
136
134
 
137
- // web/app/dist/server/assets/openui-renderer-MKFv6LlH.js
138
- import * as React$2 from "react";
135
+ // web/app/dist/server/assets/openui-renderer-B4z18Brm.js
136
+ import * as React2 from "react";
139
137
  import React, { Children, Component as Component2, Fragment as Fragment2, PureComponent, cloneElement as cloneElement2, createContext as createContext2, createElement as createElement2, forwardRef as forwardRef2, isValidElement as isValidElement2, memo as memo2, useCallback as useCallback2, useContext as useContext2, useEffect as useEffect2, useId as useId2, useImperativeHandle, useInsertionEffect, useLayoutEffect as useLayoutEffect3, useMemo as useMemo2, useRef as useRef2, useState as useState2, useSyncExternalStore } from "react";
140
138
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
141
139
  import * as ReactDOM from "react-dom";
@@ -22616,8 +22614,8 @@ function createCollection(name) {
22616
22614
  });
22617
22615
  const CollectionProvider = /* @__PURE__ */ __name$22((props) => {
22618
22616
  const { scope, children } = props;
22619
- const ref = React$2.useRef(null);
22620
- const itemMap = React$2.useRef(/* @__PURE__ */ new Map()).current;
22617
+ const ref = React2.useRef(null);
22618
+ const itemMap = React2.useRef(/* @__PURE__ */ new Map()).current;
22621
22619
  return /* @__PURE__ */ jsx(CollectionProviderImpl, {
22622
22620
  scope,
22623
22621
  itemMap,
@@ -22628,7 +22626,7 @@ function createCollection(name) {
22628
22626
  CollectionProvider.displayName = PROVIDER_NAME2;
22629
22627
  const COLLECTION_SLOT_NAME = name + "CollectionSlot";
22630
22628
  const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);
22631
- const CollectionSlot = React$2.forwardRef((props, forwardedRef) => {
22629
+ const CollectionSlot = React2.forwardRef((props, forwardedRef) => {
22632
22630
  const { scope, children } = props;
22633
22631
  const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
22634
22632
  const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);
@@ -22641,12 +22639,12 @@ function createCollection(name) {
22641
22639
  const ITEM_SLOT_NAME = name + "CollectionItemSlot";
22642
22640
  const ITEM_DATA_ATTR = "data-radix-collection-item";
22643
22641
  const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);
22644
- const CollectionItemSlot = React$2.forwardRef((props, forwardedRef) => {
22642
+ const CollectionItemSlot = React2.forwardRef((props, forwardedRef) => {
22645
22643
  const { scope, children, ...itemData } = props;
22646
- const ref = React$2.useRef(null);
22644
+ const ref = React2.useRef(null);
22647
22645
  const composedRefs = useComposedRefs(forwardedRef, ref);
22648
22646
  const context = useCollectionContext(ITEM_SLOT_NAME, scope);
22649
- React$2.useEffect(() => {
22647
+ React2.useEffect(() => {
22650
22648
  context.itemMap.set(ref, {
22651
22649
  ref,
22652
22650
  ...itemData
@@ -22662,7 +22660,7 @@ function createCollection(name) {
22662
22660
  CollectionItemSlot.displayName = ITEM_SLOT_NAME;
22663
22661
  function useCollection2(scope) {
22664
22662
  const context = useCollectionContext(name + "CollectionConsumer", scope);
22665
- return React$2.useCallback(() => {
22663
+ return React2.useCallback(() => {
22666
22664
  const collectionNode = context.collectionRef.current;
22667
22665
  if (!collectionNode) return [];
22668
22666
  const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
@@ -22994,11 +22992,11 @@ function createCollection2(name) {
22994
22992
  CollectionInit.displayName = PROVIDER_NAME2 + "Init";
22995
22993
  const CollectionProviderImpl = /* @__PURE__ */ __name$22((props) => {
22996
22994
  const { scope, children, state } = props;
22997
- const ref = React$2.useRef(null);
22998
- const [collectionElement, setCollectionElement] = React$2.useState(null);
22995
+ const ref = React2.useRef(null);
22996
+ const [collectionElement, setCollectionElement] = React2.useState(null);
22999
22997
  const composeRefs = useComposedRefs(ref, setCollectionElement);
23000
22998
  const [itemMap, setItemMap] = state;
23001
- React$2.useEffect(() => {
22999
+ React2.useEffect(() => {
23002
23000
  if (!collectionElement) return;
23003
23001
  const observer = getChildListObserver(() => {
23004
23002
  });
@@ -23023,7 +23021,7 @@ function createCollection2(name) {
23023
23021
  CollectionProviderImpl.displayName = PROVIDER_NAME2 + "Impl";
23024
23022
  const COLLECTION_SLOT_NAME = name + "CollectionSlot";
23025
23023
  const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);
23026
- const CollectionSlot = React$2.forwardRef((props, forwardedRef) => {
23024
+ const CollectionSlot = React2.forwardRef((props, forwardedRef) => {
23027
23025
  const { scope, children } = props;
23028
23026
  const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
23029
23027
  const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);
@@ -23036,16 +23034,16 @@ function createCollection2(name) {
23036
23034
  const ITEM_SLOT_NAME = name + "CollectionItemSlot";
23037
23035
  const ITEM_DATA_ATTR = "data-radix-collection-item";
23038
23036
  const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);
23039
- const CollectionItemSlot = React$2.forwardRef((props, forwardedRef) => {
23037
+ const CollectionItemSlot = React2.forwardRef((props, forwardedRef) => {
23040
23038
  const { scope, children, ...itemData } = props;
23041
- const ref = React$2.useRef(null);
23042
- const [element, setElement] = React$2.useState(null);
23039
+ const ref = React2.useRef(null);
23040
+ const [element, setElement] = React2.useState(null);
23043
23041
  const composedRefs = useComposedRefs(forwardedRef, ref, setElement);
23044
23042
  const { setItemMap } = useCollectionContext(ITEM_SLOT_NAME, scope);
23045
- const itemDataRef = React$2.useRef(itemData);
23043
+ const itemDataRef = React2.useRef(itemData);
23046
23044
  if (!shallowEqual$3(itemDataRef.current, itemData)) itemDataRef.current = itemData;
23047
23045
  const memoizedItemData = itemDataRef.current;
23048
- React$2.useEffect(() => {
23046
+ React2.useEffect(() => {
23049
23047
  const itemData2 = memoizedItemData;
23050
23048
  setItemMap((map2) => {
23051
23049
  if (!element) return map2;
@@ -23081,7 +23079,7 @@ function createCollection2(name) {
23081
23079
  });
23082
23080
  CollectionItemSlot.displayName = ITEM_SLOT_NAME;
23083
23081
  function useInitCollection() {
23084
- return React$2.useState(new OrderedDict());
23082
+ return React2.useState(new OrderedDict());
23085
23083
  }
23086
23084
  __name$22(useInitCollection, "useInitCollection");
23087
23085
  function useCollection2(scope) {
@@ -23139,7 +23137,7 @@ var __name$21 = (target, value) => __defProp$21(target, "name", {
23139
23137
  var COLLAPSIBLE_NAME = "Collapsible";
23140
23138
  var [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);
23141
23139
  var [CollapsibleProvider, useCollapsibleContext] = createCollapsibleContext(COLLAPSIBLE_NAME);
23142
- var Collapsible = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$21(function Collapsible2(props, forwardedRef) {
23140
+ var Collapsible = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$21(function Collapsible2(props, forwardedRef) {
23143
23141
  const { __scopeCollapsible, open: openProp, defaultOpen, disabled, onOpenChange, ...collapsibleProps } = props;
23144
23142
  const [open, setOpen] = useControllableState({
23145
23143
  prop: openProp,
@@ -23152,7 +23150,7 @@ var Collapsible = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$21(f
23152
23150
  disabled,
23153
23151
  contentId: useId$1(),
23154
23152
  open,
23155
- onOpenToggle: React$2.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
23153
+ onOpenToggle: React2.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
23156
23154
  children: /* @__PURE__ */ jsx(Primitive.div, {
23157
23155
  "data-state": getState$4(open),
23158
23156
  "data-disabled": disabled ? "" : void 0,
@@ -23162,7 +23160,7 @@ var Collapsible = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$21(f
23162
23160
  });
23163
23161
  }, "Collapsible"));
23164
23162
  var TRIGGER_NAME$8 = "CollapsibleTrigger";
23165
- var CollapsibleTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$21(function CollapsibleTrigger2(props, forwardedRef) {
23163
+ var CollapsibleTrigger = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$21(function CollapsibleTrigger2(props, forwardedRef) {
23166
23164
  const { __scopeCollapsible, ...triggerProps } = props;
23167
23165
  const context = useCollapsibleContext(TRIGGER_NAME$8, __scopeCollapsible);
23168
23166
  return /* @__PURE__ */ jsx(Primitive.button, {
@@ -23178,7 +23176,7 @@ var CollapsibleTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __na
23178
23176
  });
23179
23177
  }, "CollapsibleTrigger"));
23180
23178
  var CONTENT_NAME$7 = "CollapsibleContent";
23181
- var CollapsibleContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$21(function CollapsibleContent2(props, forwardedRef) {
23179
+ var CollapsibleContent = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$21(function CollapsibleContent2(props, forwardedRef) {
23182
23180
  const { forceMount, ...contentProps } = props;
23183
23181
  const context = useCollapsibleContext(CONTENT_NAME$7, props.__scopeCollapsible);
23184
23182
  return /* @__PURE__ */ jsx(Presence, {
@@ -23190,20 +23188,20 @@ var CollapsibleContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __na
23190
23188
  })
23191
23189
  });
23192
23190
  }, "CollapsibleContent"));
23193
- var CollapsibleContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$21(function CollapsibleContentImpl2(props, forwardedRef) {
23191
+ var CollapsibleContentImpl = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$21(function CollapsibleContentImpl2(props, forwardedRef) {
23194
23192
  const { __scopeCollapsible, present, children, ...contentProps } = props;
23195
23193
  const context = useCollapsibleContext(CONTENT_NAME$7, __scopeCollapsible);
23196
- const [isPresent, setIsPresent] = React$2.useState(present);
23197
- const ref = React$2.useRef(null);
23194
+ const [isPresent, setIsPresent] = React2.useState(present);
23195
+ const ref = React2.useRef(null);
23198
23196
  const composedRefs = useComposedRefs(forwardedRef, ref);
23199
- const heightRef = React$2.useRef(0);
23197
+ const heightRef = React2.useRef(0);
23200
23198
  const height = heightRef.current;
23201
- const widthRef = React$2.useRef(0);
23199
+ const widthRef = React2.useRef(0);
23202
23200
  const width = widthRef.current;
23203
23201
  const isOpen = context.open || isPresent;
23204
- const isMountAnimationPreventedRef = React$2.useRef(isOpen);
23205
- const originalStylesRef = React$2.useRef(void 0);
23206
- React$2.useEffect(() => {
23202
+ const isMountAnimationPreventedRef = React2.useRef(isOpen);
23203
+ const originalStylesRef = React2.useRef(void 0);
23204
+ React2.useEffect(() => {
23207
23205
  const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
23208
23206
  return () => cancelAnimationFrame(rAF);
23209
23207
  }, []);
@@ -23253,9 +23251,9 @@ var __name$20 = (target, value) => __defProp$20(target, "name", {
23253
23251
  value,
23254
23252
  configurable: true
23255
23253
  });
23256
- var DirectionContext = React$2.createContext(void 0);
23254
+ var DirectionContext = React2.createContext(void 0);
23257
23255
  function useDirection(localDir) {
23258
- const globalDir = React$2.useContext(DirectionContext);
23256
+ const globalDir = React2.useContext(DirectionContext);
23259
23257
  return localDir || globalDir || "ltr";
23260
23258
  }
23261
23259
  __name$20(useDirection, "useDirection");
@@ -23276,7 +23274,7 @@ var ACCORDION_KEYS = [
23276
23274
  var [Collection$4, useCollection$4, createCollectionScope$4] = /* @__PURE__ */ createCollection(ACCORDION_NAME);
23277
23275
  var [createAccordionContext, createAccordionScope] = createContextScope(ACCORDION_NAME, [createCollectionScope$4, createCollapsibleScope]);
23278
23276
  var useCollapsibleScope = createCollapsibleScope();
23279
- var Accordion$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19(function Accordion2(props, forwardedRef) {
23277
+ var Accordion$2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$19(function Accordion2(props, forwardedRef) {
23280
23278
  const { type, ...accordionProps } = props;
23281
23279
  const singleProps = accordionProps;
23282
23280
  const multipleProps = accordionProps;
@@ -23293,7 +23291,7 @@ var Accordion$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19(f
23293
23291
  }, "Accordion"));
23294
23292
  var [AccordionValueProvider, useAccordionValueContext] = createAccordionContext(ACCORDION_NAME);
23295
23293
  var [AccordionCollapsibleProvider, useAccordionCollapsibleContext] = createAccordionContext(ACCORDION_NAME, { collapsible: false });
23296
- var AccordionImplSingle = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19(function AccordionImplSingle2(props, forwardedRef) {
23294
+ var AccordionImplSingle = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$19(function AccordionImplSingle2(props, forwardedRef) {
23297
23295
  const { value: valueProp, defaultValue, onValueChange = /* @__PURE__ */ __name$19(() => {
23298
23296
  }, "onValueChange"), collapsible = false, ...accordionSingleProps } = props;
23299
23297
  const [value, setValue] = useControllableState({
@@ -23304,9 +23302,9 @@ var AccordionImplSingle = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __n
23304
23302
  });
23305
23303
  return /* @__PURE__ */ jsx(AccordionValueProvider, {
23306
23304
  scope: props.__scopeAccordion,
23307
- value: React$2.useMemo(() => value ? [value] : [], [value]),
23305
+ value: React2.useMemo(() => value ? [value] : [], [value]),
23308
23306
  onItemOpen: setValue,
23309
- onItemClose: React$2.useCallback(() => collapsible && setValue(""), [collapsible, setValue]),
23307
+ onItemClose: React2.useCallback(() => collapsible && setValue(""), [collapsible, setValue]),
23310
23308
  children: /* @__PURE__ */ jsx(AccordionCollapsibleProvider, {
23311
23309
  scope: props.__scopeAccordion,
23312
23310
  collapsible,
@@ -23317,7 +23315,7 @@ var AccordionImplSingle = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __n
23317
23315
  })
23318
23316
  });
23319
23317
  }, "AccordionImplSingle"));
23320
- var AccordionImplMultiple = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19(function AccordionImplMultiple2(props, forwardedRef) {
23318
+ var AccordionImplMultiple = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$19(function AccordionImplMultiple2(props, forwardedRef) {
23321
23319
  const { value: valueProp, defaultValue, onValueChange = /* @__PURE__ */ __name$19(() => {
23322
23320
  }, "onValueChange"), ...accordionMultipleProps } = props;
23323
23321
  const [value, setValue] = useControllableState({
@@ -23326,8 +23324,8 @@ var AccordionImplMultiple = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ _
23326
23324
  onChange: onValueChange,
23327
23325
  caller: ACCORDION_NAME
23328
23326
  });
23329
- const handleItemOpen = React$2.useCallback((itemValue) => setValue((prevValue = []) => [...prevValue, itemValue]), [setValue]);
23330
- const handleItemClose = React$2.useCallback((itemValue) => setValue((prevValue = []) => prevValue.filter((value2) => value2 !== itemValue)), [setValue]);
23327
+ const handleItemOpen = React2.useCallback((itemValue) => setValue((prevValue = []) => [...prevValue, itemValue]), [setValue]);
23328
+ const handleItemClose = React2.useCallback((itemValue) => setValue((prevValue = []) => prevValue.filter((value2) => value2 !== itemValue)), [setValue]);
23331
23329
  return /* @__PURE__ */ jsx(AccordionValueProvider, {
23332
23330
  scope: props.__scopeAccordion,
23333
23331
  value,
@@ -23344,9 +23342,9 @@ var AccordionImplMultiple = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ _
23344
23342
  });
23345
23343
  }, "AccordionImplMultiple"));
23346
23344
  var [AccordionImplProvider, useAccordionContext] = createAccordionContext(ACCORDION_NAME);
23347
- var AccordionImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19(function AccordionImpl2(props, forwardedRef) {
23345
+ var AccordionImpl = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$19(function AccordionImpl2(props, forwardedRef) {
23348
23346
  const { __scopeAccordion, disabled, dir, orientation = "vertical", ...accordionProps } = props;
23349
- const accordionRef = React$2.useRef(null);
23347
+ const accordionRef = React2.useRef(null);
23350
23348
  const composedRefs = useComposedRefs(accordionRef, forwardedRef);
23351
23349
  const getItems = useCollection$4(__scopeAccordion);
23352
23350
  const isDirectionLTR = useDirection(dir) === "ltr";
@@ -23414,7 +23412,7 @@ var AccordionImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19
23414
23412
  }, "AccordionImpl"));
23415
23413
  var ITEM_NAME$3 = "AccordionItem";
23416
23414
  var [AccordionItemProvider, useAccordionItemContext] = createAccordionContext(ITEM_NAME$3);
23417
- var AccordionItem$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19(function AccordionItem2(props, forwardedRef) {
23415
+ var AccordionItem$2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$19(function AccordionItem2(props, forwardedRef) {
23418
23416
  const { __scopeAccordion, value, ...accordionItemProps } = props;
23419
23417
  const accordionContext = useAccordionContext(ITEM_NAME$3, __scopeAccordion);
23420
23418
  const valueContext = useAccordionValueContext(ITEM_NAME$3, __scopeAccordion);
@@ -23443,7 +23441,7 @@ var AccordionItem$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$
23443
23441
  });
23444
23442
  }, "AccordionItem"));
23445
23443
  var HEADER_NAME = "AccordionHeader";
23446
- var AccordionHeader = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19(function AccordionHeader2(props, forwardedRef) {
23444
+ var AccordionHeader = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$19(function AccordionHeader2(props, forwardedRef) {
23447
23445
  const { __scopeAccordion, ...headerProps } = props;
23448
23446
  const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
23449
23447
  const itemContext = useAccordionItemContext(HEADER_NAME, __scopeAccordion);
@@ -23456,7 +23454,7 @@ var AccordionHeader = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$
23456
23454
  });
23457
23455
  }, "AccordionHeader"));
23458
23456
  var TRIGGER_NAME$7 = "AccordionTrigger";
23459
- var AccordionTrigger$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19(function AccordionTrigger2(props, forwardedRef) {
23457
+ var AccordionTrigger$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$19(function AccordionTrigger2(props, forwardedRef) {
23460
23458
  const { __scopeAccordion, ...triggerProps } = props;
23461
23459
  const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
23462
23460
  const itemContext = useAccordionItemContext(TRIGGER_NAME$7, __scopeAccordion);
@@ -23475,7 +23473,7 @@ var AccordionTrigger$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __na
23475
23473
  });
23476
23474
  }, "AccordionTrigger"));
23477
23475
  var CONTENT_NAME$6 = "AccordionContent";
23478
- var AccordionContent$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$19(function AccordionContent2(props, forwardedRef) {
23476
+ var AccordionContent$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$19(function AccordionContent2(props, forwardedRef) {
23479
23477
  const { __scopeAccordion, ...contentProps } = props;
23480
23478
  const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
23481
23479
  const itemContext = useAccordionItemContext(CONTENT_NAME$6, __scopeAccordion);
@@ -25425,7 +25423,7 @@ var __name$18 = (target, value) => __defProp$18(target, "name", {
25425
25423
  configurable: true
25426
25424
  });
25427
25425
  function useSize(element) {
25428
- const [size2, setSize] = React$2.useState(void 0);
25426
+ const [size2, setSize] = React2.useState(void 0);
25429
25427
  useLayoutEffect2(() => {
25430
25428
  if (element) {
25431
25429
  setSize({
@@ -25469,8 +25467,8 @@ var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
25469
25467
  var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
25470
25468
  var Popper = /* @__PURE__ */ __name$17((props) => {
25471
25469
  const { __scopePopper, children } = props;
25472
- const [anchor, setAnchor] = React$2.useState(null);
25473
- const [placementState, setPlacementState] = React$2.useState(void 0);
25470
+ const [anchor, setAnchor] = React2.useState(null);
25471
+ const [placementState, setPlacementState] = React2.useState(void 0);
25474
25472
  return /* @__PURE__ */ jsx(PopperProvider, {
25475
25473
  scope: __scopePopper,
25476
25474
  anchor,
@@ -25481,18 +25479,18 @@ var Popper = /* @__PURE__ */ __name$17((props) => {
25481
25479
  });
25482
25480
  }, "Popper");
25483
25481
  var ANCHOR_NAME = "PopperAnchor";
25484
- var PopperAnchor = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$17(function PopperAnchor2(props, forwardedRef) {
25482
+ var PopperAnchor = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$17(function PopperAnchor2(props, forwardedRef) {
25485
25483
  const { __scopePopper, virtualRef, ...anchorProps } = props;
25486
25484
  const context = usePopperContext(ANCHOR_NAME, __scopePopper);
25487
- const ref = React$2.useRef(null);
25485
+ const ref = React2.useRef(null);
25488
25486
  const onAnchorChange = context.onAnchorChange;
25489
- const callbackRef = React$2.useCallback((node) => {
25487
+ const callbackRef = React2.useCallback((node) => {
25490
25488
  ref.current = node;
25491
25489
  if (node) onAnchorChange(node);
25492
25490
  }, [onAnchorChange]);
25493
25491
  const composedRefs = useComposedRefs(forwardedRef, callbackRef);
25494
- const anchorRef = React$2.useRef(null);
25495
- React$2.useEffect(() => {
25492
+ const anchorRef = React2.useRef(null);
25493
+ React2.useEffect(() => {
25496
25494
  if (!virtualRef) return;
25497
25495
  const previousAnchor = anchorRef.current;
25498
25496
  anchorRef.current = virtualRef.current;
@@ -25510,12 +25508,12 @@ var PopperAnchor = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$17(
25510
25508
  }, "PopperAnchor"));
25511
25509
  var CONTENT_NAME$5 = "PopperContent";
25512
25510
  var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME$5);
25513
- var PopperContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$17(function PopperContent2(props, forwardedRef) {
25511
+ var PopperContent = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$17(function PopperContent2(props, forwardedRef) {
25514
25512
  const { __scopePopper, side = "bottom", sideOffset = 0, align = "center", alignOffset = 0, arrowPadding = 0, avoidCollisions = true, collisionBoundary = [], collisionPadding: collisionPaddingProp = 0, sticky = "partial", hideWhenDetached = false, updatePositionStrategy = "optimized", onPlaced, ...contentProps } = props;
25515
25513
  const context = usePopperContext(CONTENT_NAME$5, __scopePopper);
25516
- const [content, setContent] = React$2.useState(null);
25514
+ const [content, setContent] = React2.useState(null);
25517
25515
  const composedRefs = useComposedRefs(forwardedRef, setContent);
25518
- const [arrow$1, setArrow] = React$2.useState(null);
25516
+ const [arrow$1, setArrow] = React2.useState(null);
25519
25517
  const arrowSize = useSize(arrow$1);
25520
25518
  const arrowWidth = arrowSize?.width ?? 0;
25521
25519
  const arrowHeight = arrowSize?.height ?? 0;
@@ -25594,7 +25592,7 @@ var PopperContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$17
25594
25592
  const arrowX = middlewareData.arrow?.x;
25595
25593
  const arrowY = middlewareData.arrow?.y;
25596
25594
  const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
25597
- const [contentZIndex, setContentZIndex] = React$2.useState();
25595
+ const [contentZIndex, setContentZIndex] = React2.useState();
25598
25596
  useLayoutEffect2(() => {
25599
25597
  if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
25600
25598
  }, [content]);
@@ -25700,7 +25698,7 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
25700
25698
  whiteSpace: "nowrap",
25701
25699
  wordWrap: "normal"
25702
25700
  });
25703
- var Root$6 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$16(function VisuallyHidden2(props, forwardedRef) {
25701
+ var Root$6 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$16(function VisuallyHidden2(props, forwardedRef) {
25704
25702
  return /* @__PURE__ */ jsx(Primitive.span, {
25705
25703
  ...props,
25706
25704
  ref: forwardedRef,
@@ -25723,10 +25721,10 @@ var TOOLTIP_OPEN = "tooltip.open";
25723
25721
  var [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME);
25724
25722
  var TooltipProvider = /* @__PURE__ */ __name$15((props) => {
25725
25723
  const { __scopeTooltip, delayDuration = DEFAULT_DELAY_DURATION$1, skipDelayDuration = 300, disableHoverableContent = false, children } = props;
25726
- const isOpenDelayedRef = React$2.useRef(true);
25727
- const isPointerInTransitRef = React$2.useRef(false);
25728
- const skipDelayTimerRef = React$2.useRef(0);
25729
- React$2.useEffect(() => {
25724
+ const isOpenDelayedRef = React2.useRef(true);
25725
+ const isPointerInTransitRef = React2.useRef(false);
25726
+ const skipDelayTimerRef = React2.useRef(0);
25727
+ React2.useEffect(() => {
25730
25728
  const skipDelayTimer = skipDelayTimerRef.current;
25731
25729
  return () => window.clearTimeout(skipDelayTimer);
25732
25730
  }, []);
@@ -25734,18 +25732,18 @@ var TooltipProvider = /* @__PURE__ */ __name$15((props) => {
25734
25732
  scope: __scopeTooltip,
25735
25733
  isOpenDelayedRef,
25736
25734
  delayDuration,
25737
- onOpen: React$2.useCallback(() => {
25735
+ onOpen: React2.useCallback(() => {
25738
25736
  if (skipDelayDuration <= 0) return;
25739
25737
  window.clearTimeout(skipDelayTimerRef.current);
25740
25738
  isOpenDelayedRef.current = false;
25741
25739
  }, [skipDelayDuration]),
25742
- onClose: React$2.useCallback(() => {
25740
+ onClose: React2.useCallback(() => {
25743
25741
  if (skipDelayDuration <= 0) return;
25744
25742
  window.clearTimeout(skipDelayTimerRef.current);
25745
25743
  skipDelayTimerRef.current = window.setTimeout(() => isOpenDelayedRef.current = true, skipDelayDuration);
25746
25744
  }, [skipDelayDuration]),
25747
25745
  isPointerInTransitRef,
25748
- onPointerInTransitChange: React$2.useCallback((inTransit) => {
25746
+ onPointerInTransitChange: React2.useCallback((inTransit) => {
25749
25747
  isPointerInTransitRef.current = inTransit;
25750
25748
  }, []),
25751
25749
  disableHoverableContent,
@@ -25758,13 +25756,13 @@ var Tooltip$2 = /* @__PURE__ */ __name$15((props) => {
25758
25756
  const { __scopeTooltip, children, open: openProp, defaultOpen, onOpenChange, disableHoverableContent: disableHoverableContentProp, delayDuration: delayDurationProp } = props;
25759
25757
  const providerContext = useTooltipProviderContext(TOOLTIP_NAME, props.__scopeTooltip);
25760
25758
  const popperScope = usePopperScope$2(__scopeTooltip);
25761
- const [trigger, setTrigger] = React$2.useState(null);
25762
- const [contentIdState, setContentId] = React$2.useState(void 0);
25759
+ const [trigger, setTrigger] = React2.useState(null);
25760
+ const [contentIdState, setContentId] = React2.useState(void 0);
25763
25761
  const generatedContentId = useId$1();
25764
- const openTimerRef = React$2.useRef(0);
25762
+ const openTimerRef = React2.useRef(0);
25765
25763
  const disableHoverableContent = disableHoverableContentProp ?? providerContext.disableHoverableContent;
25766
25764
  const delayDuration = delayDurationProp ?? providerContext.delayDuration;
25767
- const wasOpenDelayedRef = React$2.useRef(false);
25765
+ const wasOpenDelayedRef = React2.useRef(false);
25768
25766
  const [open, setOpen] = useControllableState({
25769
25767
  prop: openProp,
25770
25768
  defaultProp: defaultOpen ?? false,
@@ -25777,21 +25775,21 @@ var Tooltip$2 = /* @__PURE__ */ __name$15((props) => {
25777
25775
  }, "onChange"),
25778
25776
  caller: TOOLTIP_NAME
25779
25777
  });
25780
- const stateAttribute = React$2.useMemo(() => {
25778
+ const stateAttribute = React2.useMemo(() => {
25781
25779
  return open ? wasOpenDelayedRef.current ? "delayed-open" : "instant-open" : "closed";
25782
25780
  }, [open]);
25783
- const handleOpen = React$2.useCallback(() => {
25781
+ const handleOpen = React2.useCallback(() => {
25784
25782
  window.clearTimeout(openTimerRef.current);
25785
25783
  openTimerRef.current = 0;
25786
25784
  wasOpenDelayedRef.current = false;
25787
25785
  setOpen(true);
25788
25786
  }, [setOpen]);
25789
- const handleClose = React$2.useCallback(() => {
25787
+ const handleClose = React2.useCallback(() => {
25790
25788
  window.clearTimeout(openTimerRef.current);
25791
25789
  openTimerRef.current = 0;
25792
25790
  setOpen(false);
25793
25791
  }, [setOpen]);
25794
- const handleDelayedOpen = React$2.useCallback(() => {
25792
+ const handleDelayedOpen = React2.useCallback(() => {
25795
25793
  window.clearTimeout(openTimerRef.current);
25796
25794
  openTimerRef.current = window.setTimeout(() => {
25797
25795
  wasOpenDelayedRef.current = true;
@@ -25799,7 +25797,7 @@ var Tooltip$2 = /* @__PURE__ */ __name$15((props) => {
25799
25797
  openTimerRef.current = 0;
25800
25798
  }, delayDuration);
25801
25799
  }, [delayDuration, setOpen]);
25802
- React$2.useEffect(() => {
25800
+ React2.useEffect(() => {
25803
25801
  return () => {
25804
25802
  if (openTimerRef.current) {
25805
25803
  window.clearTimeout(openTimerRef.current);
@@ -25818,7 +25816,7 @@ var Tooltip$2 = /* @__PURE__ */ __name$15((props) => {
25818
25816
  stateAttribute,
25819
25817
  trigger,
25820
25818
  onTriggerChange: setTrigger,
25821
- onTriggerEnter: React$2.useCallback(() => {
25819
+ onTriggerEnter: React2.useCallback(() => {
25822
25820
  if (providerContext.isOpenDelayedRef.current) handleDelayedOpen();
25823
25821
  else handleOpen();
25824
25822
  }, [
@@ -25826,7 +25824,7 @@ var Tooltip$2 = /* @__PURE__ */ __name$15((props) => {
25826
25824
  handleDelayedOpen,
25827
25825
  handleOpen
25828
25826
  ]),
25829
- onTriggerLeave: React$2.useCallback(() => {
25827
+ onTriggerLeave: React2.useCallback(() => {
25830
25828
  if (disableHoverableContent) handleClose();
25831
25829
  else {
25832
25830
  window.clearTimeout(openTimerRef.current);
@@ -25841,17 +25839,17 @@ var Tooltip$2 = /* @__PURE__ */ __name$15((props) => {
25841
25839
  });
25842
25840
  }, "Tooltip");
25843
25841
  var TRIGGER_NAME$6 = "TooltipTrigger";
25844
- var TooltipTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$15(function TooltipTrigger2(props, forwardedRef) {
25842
+ var TooltipTrigger = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$15(function TooltipTrigger2(props, forwardedRef) {
25845
25843
  const { __scopeTooltip, ...triggerProps } = props;
25846
25844
  const context = useTooltipContext(TRIGGER_NAME$6, __scopeTooltip);
25847
25845
  const providerContext = useTooltipProviderContext(TRIGGER_NAME$6, __scopeTooltip);
25848
25846
  const popperScope = usePopperScope$2(__scopeTooltip);
25849
- const ref = React$2.useRef(null);
25847
+ const ref = React2.useRef(null);
25850
25848
  const composedRefs = useComposedRefs(forwardedRef, ref, context.onTriggerChange);
25851
- const isPointerDownRef = React$2.useRef(false);
25852
- const hasPointerMoveOpenedRef = React$2.useRef(false);
25853
- const handlePointerUp = React$2.useCallback(() => isPointerDownRef.current = false, []);
25854
- React$2.useEffect(() => {
25849
+ const isPointerDownRef = React2.useRef(false);
25850
+ const hasPointerMoveOpenedRef = React2.useRef(false);
25851
+ const handlePointerUp = React2.useCallback(() => isPointerDownRef.current = false, []);
25852
+ React2.useEffect(() => {
25855
25853
  return () => document.removeEventListener("pointerup", handlePointerUp);
25856
25854
  }, [handlePointerUp]);
25857
25855
  return /* @__PURE__ */ jsx(Anchor, {
@@ -25905,7 +25903,7 @@ var TooltipPortal = /* @__PURE__ */ __name$15((props) => {
25905
25903
  });
25906
25904
  }, "TooltipPortal");
25907
25905
  var CONTENT_NAME$4 = "TooltipContent";
25908
- var TooltipContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$15(function TooltipContent2(props, forwardedRef) {
25906
+ var TooltipContent = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$15(function TooltipContent2(props, forwardedRef) {
25909
25907
  const portalContext = usePortalContext$2(CONTENT_NAME$4, props.__scopeTooltip);
25910
25908
  const { forceMount = portalContext.forceMount, side = "top", ...contentProps } = props;
25911
25909
  const context = useTooltipContext(CONTENT_NAME$4, props.__scopeTooltip);
@@ -25922,20 +25920,20 @@ var TooltipContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$1
25922
25920
  })
25923
25921
  });
25924
25922
  }, "TooltipContent"));
25925
- var TooltipContentHoverable = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$15(function TooltipContentHoverable2(props, forwardedRef) {
25923
+ var TooltipContentHoverable = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$15(function TooltipContentHoverable2(props, forwardedRef) {
25926
25924
  const context = useTooltipContext(CONTENT_NAME$4, props.__scopeTooltip);
25927
25925
  const providerContext = useTooltipProviderContext(CONTENT_NAME$4, props.__scopeTooltip);
25928
- const ref = React$2.useRef(null);
25926
+ const ref = React2.useRef(null);
25929
25927
  const composedRefs = useComposedRefs(forwardedRef, ref);
25930
- const [pointerGraceArea, setPointerGraceArea] = React$2.useState(null);
25928
+ const [pointerGraceArea, setPointerGraceArea] = React2.useState(null);
25931
25929
  const { trigger, onClose } = context;
25932
25930
  const content = ref.current;
25933
25931
  const { onPointerInTransitChange } = providerContext;
25934
- const handleRemoveGraceArea = React$2.useCallback(() => {
25932
+ const handleRemoveGraceArea = React2.useCallback(() => {
25935
25933
  setPointerGraceArea(null);
25936
25934
  onPointerInTransitChange(false);
25937
25935
  }, [onPointerInTransitChange]);
25938
- const handleCreateGraceArea = React$2.useCallback((event, hoverTarget) => {
25936
+ const handleCreateGraceArea = React2.useCallback((event, hoverTarget) => {
25939
25937
  const currentTarget = event.currentTarget;
25940
25938
  const exitPoint = {
25941
25939
  x: event.clientX,
@@ -25947,10 +25945,10 @@ var TooltipContentHoverable = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */
25947
25945
  setPointerGraceArea(graceArea);
25948
25946
  onPointerInTransitChange(true);
25949
25947
  }, [onPointerInTransitChange]);
25950
- React$2.useEffect(() => {
25948
+ React2.useEffect(() => {
25951
25949
  return () => handleRemoveGraceArea();
25952
25950
  }, [handleRemoveGraceArea]);
25953
- React$2.useEffect(() => {
25951
+ React2.useEffect(() => {
25954
25952
  if (trigger && content) {
25955
25953
  const handleTriggerLeave = /* @__PURE__ */ __name$15((event) => handleCreateGraceArea(event, content), "handleTriggerLeave");
25956
25954
  const handleContentLeave = /* @__PURE__ */ __name$15((event) => handleCreateGraceArea(event, trigger), "handleContentLeave");
@@ -25967,7 +25965,7 @@ var TooltipContentHoverable = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */
25967
25965
  handleCreateGraceArea,
25968
25966
  handleRemoveGraceArea
25969
25967
  ]);
25970
- React$2.useEffect(() => {
25968
+ React2.useEffect(() => {
25971
25969
  if (pointerGraceArea) {
25972
25970
  const handleTrackPointerGrace = /* @__PURE__ */ __name$15((event) => {
25973
25971
  const target = event.target;
@@ -25999,16 +25997,16 @@ var TooltipContentHoverable = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */
25999
25997
  });
26000
25998
  }, "TooltipContentHoverable"));
26001
25999
  var Slottable2 = createSlottable("TooltipContent");
26002
- var TooltipContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$15(function TooltipContentImpl2(props, forwardedRef) {
26000
+ var TooltipContentImpl = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$15(function TooltipContentImpl2(props, forwardedRef) {
26003
26001
  const { __scopeTooltip, children, "aria-label": ariaLabel, id: idProp, onEscapeKeyDown, onPointerDownOutside, ...contentProps } = props;
26004
26002
  const context = useTooltipContext(CONTENT_NAME$4, __scopeTooltip);
26005
26003
  const popperScope = usePopperScope$2(__scopeTooltip);
26006
26004
  const { onClose } = context;
26007
- React$2.useEffect(() => {
26005
+ React2.useEffect(() => {
26008
26006
  document.addEventListener(TOOLTIP_OPEN, onClose);
26009
26007
  return () => document.removeEventListener(TOOLTIP_OPEN, onClose);
26010
26008
  }, [onClose]);
26011
- React$2.useEffect(() => {
26009
+ React2.useEffect(() => {
26012
26010
  if (context.trigger) {
26013
26011
  const handleScroll = /* @__PURE__ */ __name$15((event) => {
26014
26012
  if (event.target instanceof Node && event.target.contains(context.trigger)) onClose();
@@ -33600,8 +33598,8 @@ var __name$14 = (target, value) => __defProp$14(target, "name", {
33600
33598
  });
33601
33599
  var _isHydrated = false;
33602
33600
  function useIsHydrated() {
33603
- const [isHydrated, setIsHydrated] = React$2.useState(_isHydrated);
33604
- React$2.useEffect(() => {
33601
+ const [isHydrated, setIsHydrated] = React2.useState(_isHydrated);
33602
+ React2.useEffect(() => {
33605
33603
  if (!_isHydrated) {
33606
33604
  _isHydrated = true;
33607
33605
  setIsHydrated(true);
@@ -33610,7 +33608,7 @@ function useIsHydrated() {
33610
33608
  return isHydrated;
33611
33609
  }
33612
33610
  __name$14(useIsHydrated, "useIsHydrated");
33613
- var useReactSyncExternalStore = React$2[" useSyncExternalStore ".trim().toString()];
33611
+ var useReactSyncExternalStore = React2[" useSyncExternalStore ".trim().toString()];
33614
33612
  function subscribe() {
33615
33613
  return () => {
33616
33614
  };
@@ -33635,7 +33633,7 @@ var GROUP_NAME = "RovingFocusGroup";
33635
33633
  var [Collection$3, useCollection$3, createCollectionScope$3] = /* @__PURE__ */ createCollection(GROUP_NAME);
33636
33634
  var [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(GROUP_NAME, [createCollectionScope$3]);
33637
33635
  var [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);
33638
- var RovingFocusGroup = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$13(function RovingFocusGroup2(props, forwardedRef) {
33636
+ var RovingFocusGroup = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$13(function RovingFocusGroup2(props, forwardedRef) {
33639
33637
  return /* @__PURE__ */ jsx(Collection$3.Provider, {
33640
33638
  scope: props.__scopeRovingFocusGroup,
33641
33639
  children: /* @__PURE__ */ jsx(Collection$3.Slot, {
@@ -33647,9 +33645,9 @@ var RovingFocusGroup = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name
33647
33645
  })
33648
33646
  });
33649
33647
  }, "RovingFocusGroup"));
33650
- var RovingFocusGroupImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$13(function RovingFocusGroupImpl2(props, forwardedRef) {
33648
+ var RovingFocusGroupImpl = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$13(function RovingFocusGroupImpl2(props, forwardedRef) {
33651
33649
  const { __scopeRovingFocusGroup, orientation, loop = false, dir, currentTabStopId: currentTabStopIdProp, defaultCurrentTabStopId, onCurrentTabStopIdChange, onEntryFocus, preventScrollOnEntryFocus = false, ...groupProps } = props;
33652
- const ref = React$2.useRef(null);
33650
+ const ref = React2.useRef(null);
33653
33651
  const composedRefs = useComposedRefs(forwardedRef, ref);
33654
33652
  const direction = useDirection(dir);
33655
33653
  const [currentTabStopId, setCurrentTabStopId] = useControllableState({
@@ -33658,12 +33656,12 @@ var RovingFocusGroupImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __
33658
33656
  onChange: onCurrentTabStopIdChange,
33659
33657
  caller: GROUP_NAME
33660
33658
  });
33661
- const [isTabbingBackOut, setIsTabbingBackOut] = React$2.useState(false);
33659
+ const [isTabbingBackOut, setIsTabbingBackOut] = React2.useState(false);
33662
33660
  const handleEntryFocus = useCallbackRef$1(onEntryFocus);
33663
33661
  const getItems = useCollection$3(__scopeRovingFocusGroup);
33664
- const isClickFocusRef = React$2.useRef(false);
33665
- const [focusableItemsCount, setFocusableItemsCount] = React$2.useState(0);
33666
- React$2.useEffect(() => {
33662
+ const isClickFocusRef = React2.useRef(false);
33663
+ const [focusableItemsCount, setFocusableItemsCount] = React2.useState(0);
33664
+ React2.useEffect(() => {
33667
33665
  const node = ref.current;
33668
33666
  if (node) {
33669
33667
  node.addEventListener(ENTRY_FOCUS, handleEntryFocus);
@@ -33676,10 +33674,10 @@ var RovingFocusGroupImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __
33676
33674
  dir: direction,
33677
33675
  loop,
33678
33676
  currentTabStopId,
33679
- onItemFocus: React$2.useCallback((tabStopId) => setCurrentTabStopId(tabStopId), [setCurrentTabStopId]),
33680
- onItemShiftTab: React$2.useCallback(() => setIsTabbingBackOut(true), []),
33681
- onFocusableItemAdd: React$2.useCallback(() => setFocusableItemsCount((prevCount) => prevCount + 1), []),
33682
- onFocusableItemRemove: React$2.useCallback(() => setFocusableItemsCount((prevCount) => prevCount - 1), []),
33677
+ onItemFocus: React2.useCallback((tabStopId) => setCurrentTabStopId(tabStopId), [setCurrentTabStopId]),
33678
+ onItemShiftTab: React2.useCallback(() => setIsTabbingBackOut(true), []),
33679
+ onFocusableItemAdd: React2.useCallback(() => setFocusableItemsCount((prevCount) => prevCount + 1), []),
33680
+ onFocusableItemRemove: React2.useCallback(() => setFocusableItemsCount((prevCount) => prevCount - 1), []),
33683
33681
  children: /* @__PURE__ */ jsx(Primitive.div, {
33684
33682
  tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
33685
33683
  "data-orientation": orientation,
@@ -33713,7 +33711,7 @@ var RovingFocusGroupImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __
33713
33711
  });
33714
33712
  }, "RovingFocusGroupImpl"));
33715
33713
  var ITEM_NAME$2 = "RovingFocusGroupItem";
33716
- var RovingFocusGroupItem = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$13(function RovingFocusGroupItem2(props, forwardedRef) {
33714
+ var RovingFocusGroupItem = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$13(function RovingFocusGroupItem2(props, forwardedRef) {
33717
33715
  const { __scopeRovingFocusGroup, focusable = true, active = false, tabStopId, children, ...itemProps } = props;
33718
33716
  const autoId = useId$1();
33719
33717
  const id = tabStopId || autoId;
@@ -33732,7 +33730,7 @@ var RovingFocusGroupItem = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __
33732
33730
  onFocusableItemAdd,
33733
33731
  onFocusableItemRemove
33734
33732
  ]);
33735
- React$2.useEffect(() => {
33733
+ React2.useEffect(() => {
33736
33734
  if (isHydrated || !focusable) return;
33737
33735
  onFocusableItemAdd();
33738
33736
  return () => onFocusableItemRemove();
@@ -33853,11 +33851,11 @@ var [MenuRootProvider, useMenuRootContext] = createMenuContext(MENU_NAME);
33853
33851
  var Menu = /* @__PURE__ */ __name$12((props) => {
33854
33852
  const { __scopeMenu, open = false, children, dir, onOpenChange, modal = true } = props;
33855
33853
  const popperScope = usePopperScope$1(__scopeMenu);
33856
- const [content, setContent] = React$2.useState(null);
33857
- const isUsingKeyboardRef = React$2.useRef(false);
33854
+ const [content, setContent] = React2.useState(null);
33855
+ const isUsingKeyboardRef = React2.useRef(false);
33858
33856
  const handleOpenChange = useCallbackRef$1(onOpenChange);
33859
33857
  const direction = useDirection(dir);
33860
- React$2.useEffect(() => {
33858
+ React2.useEffect(() => {
33861
33859
  const handleKeyDown = /* @__PURE__ */ __name$12(() => {
33862
33860
  isUsingKeyboardRef.current = true;
33863
33861
  document.addEventListener("pointerdown", handlePointer, {
@@ -33877,7 +33875,7 @@ var Menu = /* @__PURE__ */ __name$12((props) => {
33877
33875
  document.removeEventListener("pointermove", handlePointer, { capture: true });
33878
33876
  };
33879
33877
  }, []);
33880
- React$2.useEffect(() => {
33878
+ React2.useEffect(() => {
33881
33879
  if (!open) return;
33882
33880
  const handleBlur = /* @__PURE__ */ __name$12(() => handleOpenChange(false), "handleBlur");
33883
33881
  window.addEventListener("blur", handleBlur);
@@ -33893,7 +33891,7 @@ var Menu = /* @__PURE__ */ __name$12((props) => {
33893
33891
  onContentChange: setContent,
33894
33892
  children: /* @__PURE__ */ jsx(MenuRootProvider, {
33895
33893
  scope: __scopeMenu,
33896
- onClose: React$2.useCallback(() => handleOpenChange(false), [handleOpenChange]),
33894
+ onClose: React2.useCallback(() => handleOpenChange(false), [handleOpenChange]),
33897
33895
  isUsingKeyboardRef,
33898
33896
  dir: direction,
33899
33897
  modal,
@@ -33902,7 +33900,7 @@ var Menu = /* @__PURE__ */ __name$12((props) => {
33902
33900
  })
33903
33901
  });
33904
33902
  }, "Menu");
33905
- var MenuAnchor = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$12(function MenuAnchor2(props, forwardedRef) {
33903
+ var MenuAnchor = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$12(function MenuAnchor2(props, forwardedRef) {
33906
33904
  const { __scopeMenu, ...anchorProps } = props;
33907
33905
  const popperScope = usePopperScope$1(__scopeMenu);
33908
33906
  return /* @__PURE__ */ jsx(Anchor, {
@@ -33931,7 +33929,7 @@ var MenuPortal = /* @__PURE__ */ __name$12((props) => {
33931
33929
  }, "MenuPortal");
33932
33930
  var CONTENT_NAME$3 = "MenuContent";
33933
33931
  var [MenuContentProvider, useMenuContentContext] = createMenuContext(CONTENT_NAME$3);
33934
- var MenuContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$12(function MenuContent2(props, forwardedRef) {
33932
+ var MenuContent = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$12(function MenuContent2(props, forwardedRef) {
33935
33933
  const portalContext = usePortalContext$1(CONTENT_NAME$3, props.__scopeMenu);
33936
33934
  const { forceMount = portalContext.forceMount, ...contentProps } = props;
33937
33935
  const context = useMenuContext(CONTENT_NAME$3, props.__scopeMenu);
@@ -33953,11 +33951,11 @@ var MenuContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$12(f
33953
33951
  })
33954
33952
  });
33955
33953
  }, "MenuContent"));
33956
- var MenuRootContentModal = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$12(function MenuRootContentModal2(props, forwardedRef) {
33954
+ var MenuRootContentModal = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$12(function MenuRootContentModal2(props, forwardedRef) {
33957
33955
  const context = useMenuContext(CONTENT_NAME$3, props.__scopeMenu);
33958
- const ref = React$2.useRef(null);
33956
+ const ref = React2.useRef(null);
33959
33957
  const composedRefs = useComposedRefs(forwardedRef, ref);
33960
- React$2.useEffect(() => {
33958
+ React2.useEffect(() => {
33961
33959
  const content = ref.current;
33962
33960
  if (content) return hideOthers(content);
33963
33961
  }, []);
@@ -33971,7 +33969,7 @@ var MenuRootContentModal = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __
33971
33969
  onDismiss: () => context.onOpenChange(false)
33972
33970
  });
33973
33971
  }, "MenuRootContentModal"));
33974
- var MenuRootContentNonModal = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$12(function MenuRootContentNonModal2(props, forwardedRef) {
33972
+ var MenuRootContentNonModal = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$12(function MenuRootContentNonModal2(props, forwardedRef) {
33975
33973
  const context = useMenuContext(CONTENT_NAME$3, props.__scopeMenu);
33976
33974
  return /* @__PURE__ */ jsx(MenuContentImpl, {
33977
33975
  ...props,
@@ -33983,23 +33981,23 @@ var MenuRootContentNonModal = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */
33983
33981
  });
33984
33982
  }, "MenuRootContentNonModal"));
33985
33983
  var Slot$12 = createSlot("MenuContent.ScrollLock");
33986
- var MenuContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$12(function MenuContentImpl2(props, forwardedRef) {
33984
+ var MenuContentImpl = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$12(function MenuContentImpl2(props, forwardedRef) {
33987
33985
  const { __scopeMenu, loop = false, trapFocus, onOpenAutoFocus, onCloseAutoFocus, disableOutsidePointerEvents, onEntryFocus, onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside, onDismiss, disableOutsideScroll, ...contentProps } = props;
33988
33986
  const context = useMenuContext(CONTENT_NAME$3, __scopeMenu);
33989
33987
  const rootContext = useMenuRootContext(CONTENT_NAME$3, __scopeMenu);
33990
33988
  const popperScope = usePopperScope$1(__scopeMenu);
33991
33989
  const rovingFocusGroupScope = useRovingFocusGroupScope$2(__scopeMenu);
33992
33990
  const getItems = useCollection$2(__scopeMenu);
33993
- const [currentItemId, setCurrentItemId] = React$2.useState(null);
33994
- const contentRef = React$2.useRef(null);
33991
+ const [currentItemId, setCurrentItemId] = React2.useState(null);
33992
+ const contentRef = React2.useRef(null);
33995
33993
  const composedRefs = useComposedRefs(forwardedRef, contentRef, context.onContentChange);
33996
- const timerRef = React$2.useRef(0);
33997
- const searchRef = React$2.useRef("");
33998
- const pointerGraceTimerRef = React$2.useRef(0);
33999
- const pointerGraceIntentRef = React$2.useRef(null);
34000
- const pointerDirRef = React$2.useRef("right");
34001
- const lastPointerXRef = React$2.useRef(0);
34002
- const ScrollLockWrapper = disableOutsideScroll ? ReactRemoveScroll : React$2.Fragment;
33994
+ const timerRef = React2.useRef(0);
33995
+ const searchRef = React2.useRef("");
33996
+ const pointerGraceTimerRef = React2.useRef(0);
33997
+ const pointerGraceIntentRef = React2.useRef(null);
33998
+ const pointerDirRef = React2.useRef("right");
33999
+ const lastPointerXRef = React2.useRef(0);
34000
+ const ScrollLockWrapper = disableOutsideScroll ? ReactRemoveScroll : React2.Fragment;
34003
34001
  const scrollLockWrapperProps = disableOutsideScroll ? {
34004
34002
  as: Slot$12,
34005
34003
  allowPinchZoom: true
@@ -34018,29 +34016,29 @@ var MenuContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$
34018
34016
  }), "updateSearch"))(search);
34019
34017
  if (newItem) setTimeout(() => newItem.focus());
34020
34018
  }, "handleTypeaheadSearch");
34021
- React$2.useEffect(() => {
34019
+ React2.useEffect(() => {
34022
34020
  return () => window.clearTimeout(timerRef.current);
34023
34021
  }, []);
34024
34022
  useFocusGuards();
34025
- const isPointerMovingToSubmenu = React$2.useCallback((event) => {
34023
+ const isPointerMovingToSubmenu = React2.useCallback((event) => {
34026
34024
  return pointerDirRef.current === pointerGraceIntentRef.current?.side && isPointerInGraceArea(event, pointerGraceIntentRef.current?.area);
34027
34025
  }, []);
34028
34026
  return /* @__PURE__ */ jsx(MenuContentProvider, {
34029
34027
  scope: __scopeMenu,
34030
34028
  searchRef,
34031
- onItemEnter: React$2.useCallback((event) => {
34029
+ onItemEnter: React2.useCallback((event) => {
34032
34030
  if (isPointerMovingToSubmenu(event)) event.preventDefault();
34033
34031
  }, [isPointerMovingToSubmenu]),
34034
- onItemLeave: React$2.useCallback((event) => {
34032
+ onItemLeave: React2.useCallback((event) => {
34035
34033
  if (isPointerMovingToSubmenu(event)) return;
34036
34034
  contentRef.current?.focus();
34037
34035
  setCurrentItemId(null);
34038
34036
  }, [isPointerMovingToSubmenu]),
34039
- onTriggerLeave: React$2.useCallback((event) => {
34037
+ onTriggerLeave: React2.useCallback((event) => {
34040
34038
  if (isPointerMovingToSubmenu(event)) event.preventDefault();
34041
34039
  }, [isPointerMovingToSubmenu]),
34042
34040
  pointerGraceTimerRef,
34043
- onPointerGraceIntentChange: React$2.useCallback((intent) => {
34041
+ onPointerGraceIntentChange: React2.useCallback((intent) => {
34044
34042
  pointerGraceIntentRef.current = intent;
34045
34043
  }, []),
34046
34044
  children: /* @__PURE__ */ jsx(ScrollLockWrapper, {
@@ -34126,13 +34124,13 @@ var MenuContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$
34126
34124
  }, "MenuContentImpl"));
34127
34125
  var ITEM_NAME$1 = "MenuItem";
34128
34126
  var ITEM_SELECT = "menu.itemSelect";
34129
- var MenuItem = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$12(function MenuItem2(props, forwardedRef) {
34127
+ var MenuItem = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$12(function MenuItem2(props, forwardedRef) {
34130
34128
  const { disabled = false, onSelect, ...itemProps } = props;
34131
- const ref = React$2.useRef(null);
34129
+ const ref = React2.useRef(null);
34132
34130
  const rootContext = useMenuRootContext(ITEM_NAME$1, props.__scopeMenu);
34133
34131
  const contentContext = useMenuContentContext(ITEM_NAME$1, props.__scopeMenu);
34134
34132
  const composedRefs = useComposedRefs(forwardedRef, ref);
34135
- const isPointerDownRef = React$2.useRef(false);
34133
+ const isPointerDownRef = React2.useRef(false);
34136
34134
  const handleSelect = /* @__PURE__ */ __name$12(() => {
34137
34135
  const menuItem = ref.current;
34138
34136
  if (!disabled && menuItem) {
@@ -34168,15 +34166,15 @@ var MenuItem = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$12(func
34168
34166
  })
34169
34167
  });
34170
34168
  }, "MenuItem"));
34171
- var MenuItemImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$12(function MenuItemImpl2(props, forwardedRef) {
34169
+ var MenuItemImpl = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$12(function MenuItemImpl2(props, forwardedRef) {
34172
34170
  const { __scopeMenu, disabled = false, textValue, ...itemProps } = props;
34173
34171
  const contentContext = useMenuContentContext(ITEM_NAME$1, __scopeMenu);
34174
34172
  const rovingFocusGroupScope = useRovingFocusGroupScope$2(__scopeMenu);
34175
- const ref = React$2.useRef(null);
34173
+ const ref = React2.useRef(null);
34176
34174
  const composedRefs = useComposedRefs(forwardedRef, ref);
34177
- const [isFocused, setIsFocused] = React$2.useState(false);
34178
- const [textContent, setTextContent] = React$2.useState("");
34179
- React$2.useEffect(() => {
34175
+ const [isFocused, setIsFocused] = React2.useState(false);
34176
+ const [textContent, setTextContent] = React2.useState("");
34177
+ React2.useEffect(() => {
34180
34178
  const menuItem = ref.current;
34181
34179
  if (menuItem) setTextContent((menuItem.textContent ?? "").trim());
34182
34180
  }, [itemProps.children]);
@@ -34294,7 +34292,7 @@ var [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(D
34294
34292
  var DropdownMenu = /* @__PURE__ */ __name$11((props) => {
34295
34293
  const { __scopeDropdownMenu, children, dir, open: openProp, defaultOpen, onOpenChange, modal = true } = props;
34296
34294
  const menuScope = useMenuScope(__scopeDropdownMenu);
34297
- const triggerRef = React$2.useRef(null);
34295
+ const triggerRef = React2.useRef(null);
34298
34296
  const [open, setOpen] = useControllableState({
34299
34297
  prop: openProp,
34300
34298
  defaultProp: defaultOpen ?? false,
@@ -34308,7 +34306,7 @@ var DropdownMenu = /* @__PURE__ */ __name$11((props) => {
34308
34306
  contentId: useId$1(),
34309
34307
  open,
34310
34308
  onOpenChange: setOpen,
34311
- onOpenToggle: React$2.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
34309
+ onOpenToggle: React2.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
34312
34310
  modal,
34313
34311
  children: /* @__PURE__ */ jsx(Root3, {
34314
34312
  ...menuScope,
@@ -34321,7 +34319,7 @@ var DropdownMenu = /* @__PURE__ */ __name$11((props) => {
34321
34319
  });
34322
34320
  }, "DropdownMenu");
34323
34321
  var TRIGGER_NAME$5 = "DropdownMenuTrigger";
34324
- var DropdownMenuTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$11(function DropdownMenuTrigger2(props, forwardedRef) {
34322
+ var DropdownMenuTrigger = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$11(function DropdownMenuTrigger2(props, forwardedRef) {
34325
34323
  const { __scopeDropdownMenu, disabled = false, ...triggerProps } = props;
34326
34324
  const context = useDropdownMenuContext(TRIGGER_NAME$5, __scopeDropdownMenu);
34327
34325
  const menuScope = useMenuScope(__scopeDropdownMenu);
@@ -34368,11 +34366,11 @@ var DropdownMenuPortal = /* @__PURE__ */ __name$11((props) => {
34368
34366
  });
34369
34367
  }, "DropdownMenuPortal");
34370
34368
  var CONTENT_NAME$2 = "DropdownMenuContent";
34371
- var DropdownMenuContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$11(function DropdownMenuContent2(props, forwardedRef) {
34369
+ var DropdownMenuContent = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$11(function DropdownMenuContent2(props, forwardedRef) {
34372
34370
  const { __scopeDropdownMenu, ...contentProps } = props;
34373
34371
  const context = useDropdownMenuContext(CONTENT_NAME$2, __scopeDropdownMenu);
34374
34372
  const menuScope = useMenuScope(__scopeDropdownMenu);
34375
- const hasInteractedOutsideRef = React$2.useRef(false);
34373
+ const hasInteractedOutsideRef = React2.useRef(false);
34376
34374
  return /* @__PURE__ */ jsx(Content2$1, {
34377
34375
  id: context.contentId,
34378
34376
  "aria-labelledby": context.triggerId,
@@ -34400,7 +34398,7 @@ var DropdownMenuContent = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __n
34400
34398
  }
34401
34399
  });
34402
34400
  }, "DropdownMenuContent"));
34403
- var DropdownMenuItem = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$11(function DropdownMenuItem2(props, forwardedRef) {
34401
+ var DropdownMenuItem = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$11(function DropdownMenuItem2(props, forwardedRef) {
34404
34402
  const { __scopeDropdownMenu, ...itemProps } = props;
34405
34403
  const menuScope = useMenuScope(__scopeDropdownMenu);
34406
34404
  return /* @__PURE__ */ jsx(Item2$1, {
@@ -38185,11 +38183,11 @@ var __name$9 = (target, value) => __defProp$9(target, "name", {
38185
38183
  configurable: true
38186
38184
  });
38187
38185
  function usePrevious(value) {
38188
- const ref = React$2.useRef({
38186
+ const ref = React2.useRef({
38189
38187
  value,
38190
38188
  previous: value
38191
38189
  });
38192
- return React$2.useMemo(() => {
38190
+ return React2.useMemo(() => {
38193
38191
  if (ref.current.value !== value) {
38194
38192
  ref.current.previous = ref.current.value;
38195
38193
  ref.current.value = value;
@@ -38219,9 +38217,9 @@ var [SelectNativeOptionsProvider, useSelectNativeOptionsContext] = createSelectC
38219
38217
  function SelectProvider(props) {
38220
38218
  const { __scopeSelect, children, open: openProp, defaultOpen, onOpenChange, value: valueProp, defaultValue, onValueChange, dir, name, autoComplete, disabled, required, form, internal_do_not_use_render } = props;
38221
38219
  const popperScope = usePopperScope(__scopeSelect);
38222
- const [trigger, setTrigger] = React$2.useState(null);
38223
- const [valueNode, setValueNode] = React$2.useState(null);
38224
- const [valueNodeHasChildren, setValueNodeHasChildren] = React$2.useState(false);
38220
+ const [trigger, setTrigger] = React2.useState(null);
38221
+ const [valueNode, setValueNode] = React2.useState(null);
38222
+ const [valueNodeHasChildren, setValueNodeHasChildren] = React2.useState(false);
38225
38223
  const direction = useDirection(dir);
38226
38224
  const [open, setOpen] = useControllableState({
38227
38225
  prop: openProp,
@@ -38235,9 +38233,9 @@ function SelectProvider(props) {
38235
38233
  onChange: onValueChange,
38236
38234
  caller: SELECT_NAME
38237
38235
  });
38238
- const triggerPointerDownPosRef = React$2.useRef(null);
38239
- const initialValueRef = React$2.useRef(value);
38240
- React$2.useEffect(() => {
38236
+ const triggerPointerDownPosRef = React2.useRef(null);
38237
+ const initialValueRef = React2.useRef(value);
38238
+ React2.useEffect(() => {
38241
38239
  const associatedForm = form ? trigger?.ownerDocument.getElementById(form) : trigger?.form;
38242
38240
  if (associatedForm instanceof HTMLFormElement) {
38243
38241
  const reset = /* @__PURE__ */ __name$8(() => setValue(initialValueRef.current), "reset");
@@ -38250,13 +38248,13 @@ function SelectProvider(props) {
38250
38248
  setValue
38251
38249
  ]);
38252
38250
  const isFormControl = trigger ? !!form || !!trigger.closest("form") : true;
38253
- const [nativeOptionsSet, setNativeOptionsSet] = React$2.useState(/* @__PURE__ */ new Set());
38251
+ const [nativeOptionsSet, setNativeOptionsSet] = React2.useState(/* @__PURE__ */ new Set());
38254
38252
  const contentId = useId$1();
38255
38253
  const nativeSelectKey = Array.from(nativeOptionsSet).map((option) => option.props.value).join(";");
38256
- const handleNativeOptionAdd = React$2.useCallback((option) => {
38254
+ const handleNativeOptionAdd = React2.useCallback((option) => {
38257
38255
  setNativeOptionsSet((prev) => new Set(prev).add(option));
38258
38256
  }, []);
38259
- const handleNativeOptionRemove = React$2.useCallback((option) => {
38257
+ const handleNativeOptionRemove = React2.useCallback((option) => {
38260
38258
  setNativeOptionsSet((prev) => {
38261
38259
  const optionsSet = new Set(prev);
38262
38260
  optionsSet.delete(option);
@@ -38313,14 +38311,14 @@ var Select$2 = /* @__PURE__ */ __name$8((props) => {
38313
38311
  });
38314
38312
  }, "Select");
38315
38313
  var TRIGGER_NAME$4 = "SelectTrigger";
38316
- var SelectTrigger$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectTrigger2(props, forwardedRef) {
38314
+ var SelectTrigger$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectTrigger2(props, forwardedRef) {
38317
38315
  const { __scopeSelect, disabled = false, ...triggerProps } = props;
38318
38316
  const popperScope = usePopperScope(__scopeSelect);
38319
38317
  const context = useSelectContext(TRIGGER_NAME$4, __scopeSelect);
38320
38318
  const isDisabled = context.disabled || disabled;
38321
38319
  const composedRefs = useComposedRefs(forwardedRef, context.onTriggerChange);
38322
38320
  const getItems = useCollection$1(__scopeSelect);
38323
- const pointerTypeRef = React$2.useRef("touch");
38321
+ const pointerTypeRef = React2.useRef("touch");
38324
38322
  const [searchRef, handleTypeaheadSearch, resetTypeahead] = useTypeaheadSearch((search) => {
38325
38323
  const enabledItems = getItems().filter((item) => !item.disabled);
38326
38324
  const nextItem = findNextItem(enabledItems, search, enabledItems.find((item) => item.value === context.value));
@@ -38379,7 +38377,7 @@ var SelectTrigger$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$
38379
38377
  });
38380
38378
  }, "SelectTrigger"));
38381
38379
  var VALUE_NAME = "SelectValue";
38382
- var SelectValue$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectValue2(props, forwardedRef) {
38380
+ var SelectValue$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectValue2(props, forwardedRef) {
38383
38381
  const { __scopeSelect, className, style, children, placeholder = "", ...valueProps } = props;
38384
38382
  const context = useSelectContext(VALUE_NAME, __scopeSelect);
38385
38383
  const { onValueNodeHasChildrenChange } = context;
@@ -38394,10 +38392,10 @@ var SelectValue$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(
38394
38392
  asChild: showPlaceholder ? false : valueProps.asChild,
38395
38393
  ref: composedRefs,
38396
38394
  style: { pointerEvents: "none" },
38397
- children: /* @__PURE__ */ jsx(React$2.Fragment, { children: showPlaceholder ? placeholder : children }, showPlaceholder ? "placeholder" : "value")
38395
+ children: /* @__PURE__ */ jsx(React2.Fragment, { children: showPlaceholder ? placeholder : children }, showPlaceholder ? "placeholder" : "value")
38398
38396
  });
38399
38397
  }, "SelectValue"));
38400
- var SelectIcon = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectIcon2(props, forwardedRef) {
38398
+ var SelectIcon = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectIcon2(props, forwardedRef) {
38401
38399
  const { __scopeSelect, children, ...iconProps } = props;
38402
38400
  return /* @__PURE__ */ jsx(Primitive.span, {
38403
38401
  "aria-hidden": true,
@@ -38419,11 +38417,11 @@ var SelectPortal = /* @__PURE__ */ __name$8((props) => {
38419
38417
  });
38420
38418
  }, "SelectPortal");
38421
38419
  var CONTENT_NAME$1 = "SelectContent";
38422
- var SelectContent$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectContent2(props, forwardedRef) {
38420
+ var SelectContent$2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectContent2(props, forwardedRef) {
38423
38421
  const portalContext = usePortalContext(CONTENT_NAME$1, props.__scopeSelect);
38424
38422
  const { forceMount = portalContext.forceMount, ...contentProps } = props;
38425
38423
  const context = useSelectContext(CONTENT_NAME$1, props.__scopeSelect);
38426
- const [fragment, setFragment] = React$2.useState();
38424
+ const [fragment, setFragment] = React2.useState();
38427
38425
  useLayoutEffect2(() => {
38428
38426
  setFragment(new DocumentFragment());
38429
38427
  }, []);
@@ -38438,7 +38436,7 @@ var SelectContent$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$
38438
38436
  })
38439
38437
  });
38440
38438
  }, "SelectContent"));
38441
- var SelectContentFragment = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectContentFragment2(props, forwardedRef) {
38439
+ var SelectContentFragment = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectContentFragment2(props, forwardedRef) {
38442
38440
  const { __scopeSelect, children, fragment } = props;
38443
38441
  if (!fragment) return null;
38444
38442
  return ReactDOM.createPortal(/* @__PURE__ */ jsx(SelectContentProvider, {
@@ -38455,23 +38453,23 @@ var SelectContentFragment = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ _
38455
38453
  var CONTENT_MARGIN = 10;
38456
38454
  var [SelectContentProvider, useSelectContentContext] = createSelectContext(CONTENT_NAME$1);
38457
38455
  var Slot = createSlot("SelectContent.RemoveScroll");
38458
- var SelectContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectContentImpl2(props, forwardedRef) {
38456
+ var SelectContentImpl = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectContentImpl2(props, forwardedRef) {
38459
38457
  const { __scopeSelect } = props;
38460
38458
  const { position = "item-aligned", onCloseAutoFocus, onEscapeKeyDown, onPointerDownOutside, side, sideOffset, align, alignOffset, arrowPadding, collisionBoundary, collisionPadding, sticky, hideWhenDetached, avoidCollisions, ...contentProps } = props;
38461
38459
  const context = useSelectContext(CONTENT_NAME$1, __scopeSelect);
38462
- const [content, setContent] = React$2.useState(null);
38463
- const [viewport, setViewport] = React$2.useState(null);
38460
+ const [content, setContent] = React2.useState(null);
38461
+ const [viewport, setViewport] = React2.useState(null);
38464
38462
  const composedRefs = useComposedRefs(forwardedRef, setContent);
38465
- const [selectedItem, setSelectedItem] = React$2.useState(null);
38466
- const [selectedItemText, setSelectedItemText] = React$2.useState(null);
38463
+ const [selectedItem, setSelectedItem] = React2.useState(null);
38464
+ const [selectedItemText, setSelectedItemText] = React2.useState(null);
38467
38465
  const getItems = useCollection$1(__scopeSelect);
38468
- const [isPositioned, setIsPositioned] = React$2.useState(false);
38469
- const firstValidItemFoundRef = React$2.useRef(false);
38470
- React$2.useEffect(() => {
38466
+ const [isPositioned, setIsPositioned] = React2.useState(false);
38467
+ const firstValidItemFoundRef = React2.useRef(false);
38468
+ React2.useEffect(() => {
38471
38469
  if (content) return hideOthers(content);
38472
38470
  }, [content]);
38473
38471
  useFocusGuards();
38474
- const focusFirst2 = React$2.useCallback((candidates) => {
38472
+ const focusFirst2 = React2.useCallback((candidates) => {
38475
38473
  const [firstItem, ...restItems] = getItems().map((item) => item.ref.current);
38476
38474
  const [lastItem] = restItems.slice(-1);
38477
38475
  const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;
@@ -38484,16 +38482,16 @@ var SelectContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __nam
38484
38482
  if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;
38485
38483
  }
38486
38484
  }, [getItems, viewport]);
38487
- const focusSelectedItem = React$2.useCallback(() => focusFirst2([selectedItem, content]), [
38485
+ const focusSelectedItem = React2.useCallback(() => focusFirst2([selectedItem, content]), [
38488
38486
  focusFirst2,
38489
38487
  selectedItem,
38490
38488
  content
38491
38489
  ]);
38492
- React$2.useEffect(() => {
38490
+ React2.useEffect(() => {
38493
38491
  if (isPositioned) focusSelectedItem();
38494
38492
  }, [isPositioned, focusSelectedItem]);
38495
38493
  const { onOpenChange, triggerPointerDownPosRef } = context;
38496
- React$2.useEffect(() => {
38494
+ React2.useEffect(() => {
38497
38495
  if (content) {
38498
38496
  let pointerMoveDelta = {
38499
38497
  x: 0,
@@ -38528,7 +38526,7 @@ var SelectContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __nam
38528
38526
  onOpenChange,
38529
38527
  triggerPointerDownPosRef
38530
38528
  ]);
38531
- React$2.useEffect(() => {
38529
+ React2.useEffect(() => {
38532
38530
  const close = /* @__PURE__ */ __name$8(() => onOpenChange(false), "close");
38533
38531
  window.addEventListener("blur", close);
38534
38532
  window.addEventListener("resize", close);
@@ -38542,15 +38540,15 @@ var SelectContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __nam
38542
38540
  const nextItem = findNextItem(enabledItems, search, enabledItems.find((item) => item.ref.current === document.activeElement));
38543
38541
  if (nextItem) setTimeout(() => nextItem.ref.current?.focus());
38544
38542
  });
38545
- const itemRefCallback = React$2.useCallback((node, value, disabled) => {
38543
+ const itemRefCallback = React2.useCallback((node, value, disabled) => {
38546
38544
  const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
38547
38545
  if (context.value !== void 0 && context.value === value || isFirstValidItem) {
38548
38546
  setSelectedItem(node);
38549
38547
  if (isFirstValidItem) firstValidItemFoundRef.current = true;
38550
38548
  }
38551
38549
  }, [context.value]);
38552
- const handleItemLeave = React$2.useCallback(() => content?.focus(), [content]);
38553
- const itemTextRefCallback = React$2.useCallback((node, value, disabled) => {
38550
+ const handleItemLeave = React2.useCallback(() => content?.focus(), [content]);
38551
+ const itemTextRefCallback = React2.useCallback((node, value, disabled) => {
38554
38552
  const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
38555
38553
  if (context.value !== void 0 && context.value === value || isFirstValidItem) setSelectedItemText(node);
38556
38554
  }, [context.value]);
@@ -38644,18 +38642,18 @@ var SelectContentImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __nam
38644
38642
  })
38645
38643
  });
38646
38644
  }, "SelectContentImpl"));
38647
- var SelectItemAlignedPosition = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectItemAlignedPosition2(props, forwardedRef) {
38645
+ var SelectItemAlignedPosition = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectItemAlignedPosition2(props, forwardedRef) {
38648
38646
  const { __scopeSelect, onPlaced, ...popperProps } = props;
38649
38647
  const context = useSelectContext(CONTENT_NAME$1, __scopeSelect);
38650
38648
  const contentContext = useSelectContentContext(CONTENT_NAME$1, __scopeSelect);
38651
- const [contentWrapper, setContentWrapper] = React$2.useState(null);
38652
- const [content, setContent] = React$2.useState(null);
38649
+ const [contentWrapper, setContentWrapper] = React2.useState(null);
38650
+ const [content, setContent] = React2.useState(null);
38653
38651
  const composedRefs = useComposedRefs(forwardedRef, setContent);
38654
38652
  const getItems = useCollection$1(__scopeSelect);
38655
- const shouldExpandOnScrollRef = React$2.useRef(false);
38656
- const shouldRepositionRef = React$2.useRef(true);
38653
+ const shouldExpandOnScrollRef = React2.useRef(false);
38654
+ const shouldRepositionRef = React2.useRef(true);
38657
38655
  const { viewport, selectedItem, selectedItemText, focusSelectedItem } = contentContext;
38658
- const position = React$2.useCallback(() => {
38656
+ const position = React2.useCallback(() => {
38659
38657
  if (context.trigger && context.valueNode && contentWrapper && content && viewport && selectedItem && selectedItemText) {
38660
38658
  const triggerRect = context.trigger.getBoundingClientRect();
38661
38659
  const contentRect = content.getBoundingClientRect();
@@ -38733,11 +38731,11 @@ var SelectItemAlignedPosition = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__
38733
38731
  onPlaced
38734
38732
  ]);
38735
38733
  useLayoutEffect2(() => position(), [position]);
38736
- const [contentZIndex, setContentZIndex] = React$2.useState();
38734
+ const [contentZIndex, setContentZIndex] = React2.useState();
38737
38735
  useLayoutEffect2(() => {
38738
38736
  if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
38739
38737
  }, [content]);
38740
- const handleScrollButtonChange = React$2.useCallback((node) => {
38738
+ const handleScrollButtonChange = React2.useCallback((node) => {
38741
38739
  if (node && shouldRepositionRef.current === true) {
38742
38740
  position();
38743
38741
  focusSelectedItem?.();
@@ -38769,7 +38767,7 @@ var SelectItemAlignedPosition = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__
38769
38767
  })
38770
38768
  });
38771
38769
  }, "SelectItemAlignedPosition"));
38772
- var SelectPopperPosition = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectPopperPosition2(props, forwardedRef) {
38770
+ var SelectPopperPosition = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectPopperPosition2(props, forwardedRef) {
38773
38771
  const { __scopeSelect, align = "start", collisionPadding = CONTENT_MARGIN, ...popperProps } = props;
38774
38772
  const popperScope = usePopperScope(__scopeSelect);
38775
38773
  return /* @__PURE__ */ jsx(Content$2, {
@@ -38791,12 +38789,12 @@ var SelectPopperPosition = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __
38791
38789
  }, "SelectPopperPosition"));
38792
38790
  var [SelectViewportProvider, useSelectViewportContext] = createSelectContext(CONTENT_NAME$1, {});
38793
38791
  var VIEWPORT_NAME = "SelectViewport";
38794
- var SelectViewport = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectViewport2(props, forwardedRef) {
38792
+ var SelectViewport = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectViewport2(props, forwardedRef) {
38795
38793
  const { __scopeSelect, nonce, ...viewportProps } = props;
38796
38794
  const contentContext = useSelectContentContext(VIEWPORT_NAME, __scopeSelect);
38797
38795
  const viewportContext = useSelectViewportContext(VIEWPORT_NAME, __scopeSelect);
38798
38796
  const composedRefs = useComposedRefs(forwardedRef, contentContext.onViewportChange);
38799
- const prevScrollTopRef = React$2.useRef(0);
38797
+ const prevScrollTopRef = React2.useRef(0);
38800
38798
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("style", {
38801
38799
  dangerouslySetInnerHTML: { __html: `[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}` },
38802
38800
  nonce
@@ -38841,7 +38839,7 @@ var SelectViewport = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8
38841
38839
  })] });
38842
38840
  }, "SelectViewport"));
38843
38841
  var [SelectGroupContextProvider, useSelectGroupContext] = createSelectContext("SelectGroup");
38844
- var SelectGroup$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectGroup2(props, forwardedRef) {
38842
+ var SelectGroup$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectGroup2(props, forwardedRef) {
38845
38843
  const { __scopeSelect, ...groupProps } = props;
38846
38844
  const groupId = useId$1();
38847
38845
  return /* @__PURE__ */ jsx(SelectGroupContextProvider, {
@@ -38856,7 +38854,7 @@ var SelectGroup$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(
38856
38854
  });
38857
38855
  }, "SelectGroup"));
38858
38856
  var LABEL_NAME = "SelectLabel";
38859
- var SelectLabel$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectLabel2(props, forwardedRef) {
38857
+ var SelectLabel$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectLabel2(props, forwardedRef) {
38860
38858
  const { __scopeSelect, ...labelProps } = props;
38861
38859
  const groupContext = useSelectGroupContext(LABEL_NAME, __scopeSelect);
38862
38860
  return /* @__PURE__ */ jsx(Primitive.div, {
@@ -38867,17 +38865,17 @@ var SelectLabel$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(
38867
38865
  }, "SelectLabel"));
38868
38866
  var ITEM_NAME = "SelectItem";
38869
38867
  var [SelectItemContextProvider, useSelectItemContext] = createSelectContext(ITEM_NAME);
38870
- var SelectItem$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectItem2(props, forwardedRef) {
38868
+ var SelectItem$2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectItem2(props, forwardedRef) {
38871
38869
  const { __scopeSelect, value, disabled = false, textValue: textValueProp, ...itemProps } = props;
38872
38870
  const context = useSelectContext(ITEM_NAME, __scopeSelect);
38873
38871
  const contentContext = useSelectContentContext(ITEM_NAME, __scopeSelect);
38874
38872
  const isSelected = context.value === value;
38875
- const [textValue, setTextValue] = React$2.useState(textValueProp ?? "");
38876
- const [isFocused, setIsFocused] = React$2.useState(false);
38873
+ const [textValue, setTextValue] = React2.useState(textValueProp ?? "");
38874
+ const [isFocused, setIsFocused] = React2.useState(false);
38877
38875
  const handleItemRefCallback = useCallbackRef$1((node) => contentContext.itemRefCallback?.(node, value, disabled));
38878
38876
  const composedRefs = useComposedRefs(forwardedRef, handleItemRefCallback);
38879
38877
  const textId = useId$1();
38880
- const pointerTypeRef = React$2.useRef("touch");
38878
+ const pointerTypeRef = React2.useRef("touch");
38881
38879
  const handleSelect = /* @__PURE__ */ __name$8(() => {
38882
38880
  if (!disabled) {
38883
38881
  context.onValueChange(value);
@@ -38890,7 +38888,7 @@ var SelectItem$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(f
38890
38888
  disabled,
38891
38889
  textId,
38892
38890
  isSelected,
38893
- onItemTextChange: React$2.useCallback((node) => {
38891
+ onItemTextChange: React2.useCallback((node) => {
38894
38892
  setTextValue((prevTextValue) => prevTextValue || (node?.textContent ?? "").trim());
38895
38893
  }, []),
38896
38894
  children: /* @__PURE__ */ jsx(Collection$1.ItemSlot, {
@@ -38939,17 +38937,17 @@ var SelectItem$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(f
38939
38937
  });
38940
38938
  }, "SelectItem"));
38941
38939
  var ITEM_TEXT_NAME = "SelectItemText";
38942
- var SelectItemText = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectItemText2(props, forwardedRef) {
38940
+ var SelectItemText = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectItemText2(props, forwardedRef) {
38943
38941
  const { __scopeSelect, className, style, ...itemTextProps } = props;
38944
38942
  const context = useSelectContext(ITEM_TEXT_NAME, __scopeSelect);
38945
38943
  const contentContext = useSelectContentContext(ITEM_TEXT_NAME, __scopeSelect);
38946
38944
  const itemContext = useSelectItemContext(ITEM_TEXT_NAME, __scopeSelect);
38947
38945
  const nativeOptionsContext = useSelectNativeOptionsContext(ITEM_TEXT_NAME, __scopeSelect);
38948
- const [itemTextNode, setItemTextNode] = React$2.useState(null);
38946
+ const [itemTextNode, setItemTextNode] = React2.useState(null);
38949
38947
  const handleItemTextRefCallback = useCallbackRef$1((node) => contentContext.itemTextRefCallback?.(node, itemContext.value, itemContext.disabled));
38950
38948
  const composedRefs = useComposedRefs(forwardedRef, setItemTextNode, itemContext.onItemTextChange, handleItemTextRefCallback);
38951
38949
  const textContent = itemTextNode?.textContent;
38952
- const nativeOption = React$2.useMemo(() => /* @__PURE__ */ jsx("option", {
38950
+ const nativeOption = React2.useMemo(() => /* @__PURE__ */ jsx("option", {
38953
38951
  value: itemContext.value,
38954
38952
  disabled: itemContext.disabled,
38955
38953
  children: textContent
@@ -38974,7 +38972,7 @@ var SelectItemText = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8
38974
38972
  }), itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren && !shouldShowPlaceholder(context.value) ? ReactDOM.createPortal(itemTextProps.children, context.valueNode) : null] });
38975
38973
  }, "SelectItemText"));
38976
38974
  var ITEM_INDICATOR_NAME = "SelectItemIndicator";
38977
- var SelectItemIndicator = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectItemIndicator2(props, forwardedRef) {
38975
+ var SelectItemIndicator = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectItemIndicator2(props, forwardedRef) {
38978
38976
  const { __scopeSelect, ...itemIndicatorProps } = props;
38979
38977
  return useSelectItemContext(ITEM_INDICATOR_NAME, __scopeSelect).isSelected ? /* @__PURE__ */ jsx(Primitive.span, {
38980
38978
  "aria-hidden": true,
@@ -38982,7 +38980,7 @@ var SelectItemIndicator = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __n
38982
38980
  ref: forwardedRef
38983
38981
  }) : null;
38984
38982
  }, "SelectItemIndicator"));
38985
- var SelectSeparator$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectSeparator2(props, forwardedRef) {
38983
+ var SelectSeparator$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectSeparator2(props, forwardedRef) {
38986
38984
  const { __scopeSelect, ...separatorProps } = props;
38987
38985
  return /* @__PURE__ */ jsx(Primitive.div, {
38988
38986
  "aria-hidden": true,
@@ -38991,16 +38989,16 @@ var SelectSeparator$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __nam
38991
38989
  });
38992
38990
  }, "SelectSeparator"));
38993
38991
  var BUBBLE_INPUT_NAME$4 = "SelectBubbleInput";
38994
- var SelectBubbleInput = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$8(function SelectBubbleInput2({ __scopeSelect, ...props }, forwardedRef) {
38992
+ var SelectBubbleInput = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$8(function SelectBubbleInput2({ __scopeSelect, ...props }, forwardedRef) {
38995
38993
  const context = useSelectContext(BUBBLE_INPUT_NAME$4, __scopeSelect);
38996
38994
  const { value, onValueChange, required, disabled, name, autoComplete, form } = context;
38997
38995
  const { nativeOptions, nativeSelectKey } = context;
38998
- const ref = React$2.useRef(null);
38996
+ const ref = React2.useRef(null);
38999
38997
  const composedRefs = useComposedRefs(forwardedRef, ref);
39000
38998
  const selectValue = value ?? "";
39001
38999
  const prevValue = usePrevious(selectValue);
39002
39000
  const hasEmptyValueOption = Array.from(nativeOptions).some((option) => (option.props.value ?? "") === "");
39003
- React$2.useEffect(() => {
39001
+ React2.useEffect(() => {
39004
39002
  const select = ref.current;
39005
39003
  if (!select) return;
39006
39004
  const selectProto = window.HTMLSelectElement.prototype;
@@ -39040,9 +39038,9 @@ function shouldShowPlaceholder(value) {
39040
39038
  __name$8(shouldShowPlaceholder, "shouldShowPlaceholder");
39041
39039
  function useTypeaheadSearch(onSearchChange) {
39042
39040
  const handleSearchChange = useCallbackRef$1(onSearchChange);
39043
- const searchRef = React$2.useRef("");
39044
- const timerRef = React$2.useRef(0);
39045
- const handleTypeaheadSearch = React$2.useCallback((key) => {
39041
+ const searchRef = React2.useRef("");
39042
+ const timerRef = React2.useRef(0);
39043
+ const handleTypeaheadSearch = React2.useCallback((key) => {
39046
39044
  const search = searchRef.current + key;
39047
39045
  handleSearchChange(search);
39048
39046
  (/* @__PURE__ */ __name$8((function updateSearch(value) {
@@ -39051,11 +39049,11 @@ function useTypeaheadSearch(onSearchChange) {
39051
39049
  if (value !== "") timerRef.current = window.setTimeout(() => updateSearch(""), 1e3);
39052
39050
  }), "updateSearch"))(search);
39053
39051
  }, [handleSearchChange]);
39054
- const resetTypeahead = React$2.useCallback(() => {
39052
+ const resetTypeahead = React2.useCallback(() => {
39055
39053
  searchRef.current = "";
39056
39054
  window.clearTimeout(timerRef.current);
39057
39055
  }, []);
39058
- React$2.useEffect(() => {
39056
+ React2.useEffect(() => {
39059
39057
  return () => window.clearTimeout(timerRef.current);
39060
39058
  }, []);
39061
39059
  return [
@@ -51497,7 +51495,7 @@ var Curve$1 = function Curve(props) {
51497
51495
  var className = props.className, points = props.points, path2 = props.path, pathRef = props.pathRef;
51498
51496
  if ((!points || !points.length) && !path2) return null;
51499
51497
  var realPath = points && points.length ? getPath$3(props) : path2;
51500
- return /* @__PURE__ */ React$2.createElement("path", _extends$59({}, filterProps(props, false), adaptEventHandlers$1(props), {
51498
+ return /* @__PURE__ */ React2.createElement("path", _extends$59({}, filterProps(props, false), adaptEventHandlers$1(props), {
51501
51499
  className: clsx("recharts-curve", className),
51502
51500
  d: realPath,
51503
51501
  ref: pathRef
@@ -53240,7 +53238,7 @@ function _extends$56() {
53240
53238
  var Dot$1 = function Dot(props) {
53241
53239
  var cx = props.cx, cy = props.cy, r2 = props.r, className = props.className;
53242
53240
  var layerClass = clsx("recharts-dot", className);
53243
- if (cx === +cx && cy === +cy && r2 === +r2) return /* @__PURE__ */ React$2.createElement("circle", _extends$56({}, filterProps(props, false), adaptEventHandlers$1(props), {
53241
+ if (cx === +cx && cy === +cy && r2 === +r2) return /* @__PURE__ */ React2.createElement("circle", _extends$56({}, filterProps(props, false), adaptEventHandlers$1(props), {
53244
53242
  className: layerClass,
53245
53243
  cx,
53246
53244
  cy,
@@ -60350,7 +60348,7 @@ var ZAxis = /* @__PURE__ */ (function(_React$Component) {
60350
60348
  return null;
60351
60349
  }
60352
60350
  }]);
60353
- })(React$2.Component);
60351
+ })(React2.Component);
60354
60352
  _defineProperty$54(ZAxis, "displayName", "ZAxis");
60355
60353
  _defineProperty$54(ZAxis, "defaultProps", {
60356
60354
  zAxisId: 0,
@@ -60395,12 +60393,12 @@ function _objectWithoutPropertiesLoose$30(source, excluded) {
60395
60393
  }
60396
60394
  function ScatterSymbol(_ref2) {
60397
60395
  var option = _ref2.option, isActive = _ref2.isActive, props = _objectWithoutProperties$30(_ref2, _excluded$30);
60398
- if (typeof option === "string") return /* @__PURE__ */ React$2.createElement(Shape$1, _extends$36({
60399
- option: /* @__PURE__ */ React$2.createElement(Symbols$1, _extends$36({ type: option }, props)),
60396
+ if (typeof option === "string") return /* @__PURE__ */ React2.createElement(Shape$1, _extends$36({
60397
+ option: /* @__PURE__ */ React2.createElement(Symbols$1, _extends$36({ type: option }, props)),
60400
60398
  isActive,
60401
60399
  shapeType: "symbols"
60402
60400
  }, props));
60403
- return /* @__PURE__ */ React$2.createElement(Shape$1, _extends$36({
60401
+ return /* @__PURE__ */ React2.createElement(Shape$1, _extends$36({
60404
60402
  option,
60405
60403
  isActive,
60406
60404
  shapeType: "symbols"
@@ -60928,7 +60926,7 @@ function XAxisImpl$1(_ref2) {
60928
60926
  var height = useChartHeight$1();
60929
60927
  var axisOptions = useXAxisOrThrow(xAxisId);
60930
60928
  if (axisOptions == null) return null;
60931
- return /* @__PURE__ */ React$2.createElement(CartesianAxis$1, _extends$34({}, axisOptions, {
60929
+ return /* @__PURE__ */ React2.createElement(CartesianAxis$1, _extends$34({}, axisOptions, {
60932
60930
  className: clsx("recharts-".concat(axisOptions.axisType, " ").concat(axisOptions.axisType), axisOptions.className),
60933
60931
  viewBox: {
60934
60932
  x: 0,
@@ -60950,10 +60948,10 @@ var XAxis$1 = /* @__PURE__ */ (function(_React$Component) {
60950
60948
  return _createClass$3(XAxis2, [{
60951
60949
  key: "render",
60952
60950
  value: function render() {
60953
- return /* @__PURE__ */ React$2.createElement(XAxisImpl$1, this.props);
60951
+ return /* @__PURE__ */ React2.createElement(XAxisImpl$1, this.props);
60954
60952
  }
60955
60953
  }]);
60956
- })(React$2.Component);
60954
+ })(React2.Component);
60957
60955
  _defineProperty$52(XAxis$1, "displayName", "XAxis");
60958
60956
  _defineProperty$52(XAxis$1, "defaultProps", {
60959
60957
  allowDecimals: true,
@@ -61086,7 +61084,7 @@ var YAxisImpl$1 = function YAxisImpl(_ref2) {
61086
61084
  var height = useChartHeight$1();
61087
61085
  var axisOptions = useYAxisOrThrow(yAxisId);
61088
61086
  if (axisOptions == null) return null;
61089
- return /* @__PURE__ */ React$2.createElement(CartesianAxis$1, _extends$33({}, axisOptions, {
61087
+ return /* @__PURE__ */ React2.createElement(CartesianAxis$1, _extends$33({}, axisOptions, {
61090
61088
  className: clsx("recharts-".concat(axisOptions.axisType, " ").concat(axisOptions.axisType), axisOptions.className),
61091
61089
  viewBox: {
61092
61090
  x: 0,
@@ -61108,10 +61106,10 @@ var YAxis$1 = /* @__PURE__ */ (function(_React$Component) {
61108
61106
  return _createClass$2(YAxis2, [{
61109
61107
  key: "render",
61110
61108
  value: function render() {
61111
- return /* @__PURE__ */ React$2.createElement(YAxisImpl$1, this.props);
61109
+ return /* @__PURE__ */ React2.createElement(YAxisImpl$1, this.props);
61112
61110
  }
61113
61111
  }]);
61114
- })(React$2.Component);
61112
+ })(React2.Component);
61115
61113
  _defineProperty$51(YAxis$1, "displayName", "YAxis");
61116
61114
  _defineProperty$51(YAxis$1, "defaultProps", {
61117
61115
  allowDuplicatedCategory: true,
@@ -63310,7 +63308,7 @@ var __name$7 = (target, value) => __defProp$7(target, "name", {
63310
63308
  });
63311
63309
  var DEFAULT_ORIENTATION = "horizontal";
63312
63310
  var ORIENTATIONS = ["horizontal", "vertical"];
63313
- var Separator$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$7(function Separator2(props, forwardedRef) {
63311
+ var Separator$2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$7(function Separator2(props, forwardedRef) {
63314
63312
  const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;
63315
63313
  const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;
63316
63314
  const semanticProps = decorative ? { role: "none" } : {
@@ -63345,10 +63343,10 @@ function CheckboxProvider(props) {
63345
63343
  onChange: onCheckedChange,
63346
63344
  caller: CHECKBOX_NAME
63347
63345
  });
63348
- const [control, setControl] = React$2.useState(null);
63349
- const [bubbleInput, setBubbleInput] = React$2.useState(null);
63350
- const hasConsumerStoppedPropagationRef = React$2.useRef(false);
63351
- const [userInteractionCount, onUserInteraction] = React$2.useReducer((count) => count + 1, 0);
63346
+ const [control, setControl] = React2.useState(null);
63347
+ const [bubbleInput, setBubbleInput] = React2.useState(null);
63348
+ const hasConsumerStoppedPropagationRef = React2.useRef(false);
63349
+ const [userInteractionCount, onUserInteraction] = React2.useReducer((count) => count + 1, 0);
63352
63350
  const isFormControl = control ? !!form || !!control.closest("form") : true;
63353
63351
  const context = {
63354
63352
  checked,
@@ -63376,11 +63374,11 @@ function CheckboxProvider(props) {
63376
63374
  }
63377
63375
  __name$6(CheckboxProvider, "CheckboxProvider");
63378
63376
  var TRIGGER_NAME$3 = "CheckboxTrigger";
63379
- var CheckboxTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$6(function CheckboxTrigger2({ __scopeCheckbox, onKeyDown, onClick, ...checkboxProps }, forwardedRef) {
63377
+ var CheckboxTrigger = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$6(function CheckboxTrigger2({ __scopeCheckbox, onKeyDown, onClick, ...checkboxProps }, forwardedRef) {
63380
63378
  const { control, value, disabled, checked, required, setControl, setChecked, hasConsumerStoppedPropagationRef, onUserInteraction, isFormControl, bubbleInput } = useCheckboxContext(TRIGGER_NAME$3, __scopeCheckbox);
63381
63379
  const composedRefs = useComposedRefs(forwardedRef, setControl);
63382
- const initialCheckedStateRef = React$2.useRef(checked);
63383
- React$2.useEffect(() => {
63380
+ const initialCheckedStateRef = React2.useRef(checked);
63381
+ React2.useEffect(() => {
63384
63382
  const form = control?.form;
63385
63383
  if (form) {
63386
63384
  const reset = /* @__PURE__ */ __name$6(() => setChecked(initialCheckedStateRef.current), "reset");
@@ -63412,7 +63410,7 @@ var CheckboxTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$
63412
63410
  })
63413
63411
  });
63414
63412
  }, "CheckboxTrigger"));
63415
- var Checkbox = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$6(function Checkbox2(props, forwardedRef) {
63413
+ var Checkbox = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$6(function Checkbox2(props, forwardedRef) {
63416
63414
  const { __scopeCheckbox, name, checked, defaultChecked, required, disabled, value, onCheckedChange, form, ...checkboxProps } = props;
63417
63415
  return /* @__PURE__ */ jsx(CheckboxProvider, {
63418
63416
  __scopeCheckbox,
@@ -63432,7 +63430,7 @@ var Checkbox = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$6(funct
63432
63430
  });
63433
63431
  }, "Checkbox"));
63434
63432
  var INDICATOR_NAME = "CheckboxIndicator";
63435
- var CheckboxIndicator = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$6(function CheckboxIndicator2(props, forwardedRef) {
63433
+ var CheckboxIndicator = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$6(function CheckboxIndicator2(props, forwardedRef) {
63436
63434
  const { __scopeCheckbox, forceMount, ...indicatorProps } = props;
63437
63435
  const context = useCheckboxContext(INDICATOR_NAME, __scopeCheckbox);
63438
63436
  return /* @__PURE__ */ jsx(Presence, {
@@ -63450,14 +63448,14 @@ var CheckboxIndicator = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __nam
63450
63448
  });
63451
63449
  }, "CheckboxIndicator"));
63452
63450
  var BUBBLE_INPUT_NAME$3 = "CheckboxBubbleInput";
63453
- var CheckboxBubbleInput = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$6(function CheckboxBubbleInput2({ __scopeCheckbox, onClick, ...props }, forwardedRef) {
63451
+ var CheckboxBubbleInput = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$6(function CheckboxBubbleInput2({ __scopeCheckbox, onClick, ...props }, forwardedRef) {
63454
63452
  const { control, hasConsumerStoppedPropagationRef, userInteractionCount, checked, defaultChecked, required, disabled, name, value, form, bubbleInput, setBubbleInput } = useCheckboxContext(BUBBLE_INPUT_NAME$3, __scopeCheckbox);
63455
63453
  const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);
63456
63454
  const controlSize = useSize(control);
63457
- const shouldStopClickPropagationRef = React$2.useRef(false);
63458
- const prevCheckedRef = React$2.useRef(checked);
63459
- const prevUserInteractionCountRef = React$2.useRef(userInteractionCount);
63460
- React$2.useEffect(() => {
63455
+ const shouldStopClickPropagationRef = React2.useRef(false);
63456
+ const prevCheckedRef = React2.useRef(checked);
63457
+ const prevUserInteractionCountRef = React2.useRef(userInteractionCount);
63458
+ React2.useEffect(() => {
63461
63459
  const input = bubbleInput;
63462
63460
  if (!input) return;
63463
63461
  const inputProto = window.HTMLInputElement.prototype;
@@ -63481,7 +63479,7 @@ var CheckboxBubbleInput = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __n
63481
63479
  hasConsumerStoppedPropagationRef,
63482
63480
  userInteractionCount
63483
63481
  ]);
63484
- const defaultCheckedRef = React$2.useRef(isIndeterminate(checked) ? false : checked);
63482
+ const defaultCheckedRef = React2.useRef(isIndeterminate(checked) ? false : checked);
63485
63483
  return /* @__PURE__ */ jsx(Primitive.input, {
63486
63484
  type: "checkbox",
63487
63485
  "aria-hidden": true,
@@ -63525,7 +63523,7 @@ var __name$5 = (target, value) => __defProp$5(target, "name", {
63525
63523
  value,
63526
63524
  configurable: true
63527
63525
  });
63528
- var Root$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$5(function AspectRatio2(props, forwardedRef) {
63526
+ var Root$2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$5(function AspectRatio2(props, forwardedRef) {
63529
63527
  const { ratio = 1, style, ...aspectRatioProps } = props;
63530
63528
  return /* @__PURE__ */ jsx("div", {
63531
63529
  style: {
@@ -63553,7 +63551,7 @@ var __name$4 = (target, value) => __defProp$4(target, "name", {
63553
63551
  value,
63554
63552
  configurable: true
63555
63553
  });
63556
- var Root$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$4(function Label2(props, forwardedRef) {
63554
+ var Root$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$4(function Label2(props, forwardedRef) {
63557
63555
  return /* @__PURE__ */ jsx(Primitive.label, {
63558
63556
  ...props,
63559
63557
  ref: forwardedRef,
@@ -63574,10 +63572,10 @@ var [createRadioContext, createRadioScope] = createContextScope(RADIO_NAME);
63574
63572
  var [RadioProviderImpl, useRadioContext] = createRadioContext(RADIO_NAME);
63575
63573
  function RadioProvider(props) {
63576
63574
  const { __scopeRadio, checked = false, children, disabled, form, name, onCheck, required, value = "on", internal_do_not_use_render } = props;
63577
- const [control, setControl] = React$2.useState(null);
63578
- const [bubbleInput, setBubbleInput] = React$2.useState(null);
63579
- const hasConsumerStoppedPropagationRef = React$2.useRef(false);
63580
- const [userInteractionCount, onUserInteraction] = React$2.useReducer((count) => count + 1, 0);
63575
+ const [control, setControl] = React2.useState(null);
63576
+ const [bubbleInput, setBubbleInput] = React2.useState(null);
63577
+ const hasConsumerStoppedPropagationRef = React2.useRef(false);
63578
+ const [userInteractionCount, onUserInteraction] = React2.useReducer((count) => count + 1, 0);
63581
63579
  const context = {
63582
63580
  checked,
63583
63581
  disabled,
@@ -63603,7 +63601,7 @@ function RadioProvider(props) {
63603
63601
  }
63604
63602
  __name$3(RadioProvider, "RadioProvider");
63605
63603
  var TRIGGER_NAME$2 = "RadioTrigger";
63606
- var RadioTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$3(function RadioTrigger2({ __scopeRadio, onClick, ...radioProps }, forwardedRef) {
63604
+ var RadioTrigger = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$3(function RadioTrigger2({ __scopeRadio, onClick, ...radioProps }, forwardedRef) {
63607
63605
  const { checked, disabled, value, setControl, onCheck, hasConsumerStoppedPropagationRef, onUserInteraction, isFormControl, bubbleInput } = useRadioContext(TRIGGER_NAME$2, __scopeRadio);
63608
63606
  const composedRefs = useComposedRefs(forwardedRef, setControl);
63609
63607
  return /* @__PURE__ */ jsx(Primitive.button, {
@@ -63629,14 +63627,14 @@ var RadioTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$3(f
63629
63627
  });
63630
63628
  }, "RadioTrigger"));
63631
63629
  var BUBBLE_INPUT_NAME$2 = "RadioBubbleInput";
63632
- var RadioBubbleInput = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$3(function RadioBubbleInput2({ __scopeRadio, onClick, ...props }, forwardedRef) {
63630
+ var RadioBubbleInput = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$3(function RadioBubbleInput2({ __scopeRadio, onClick, ...props }, forwardedRef) {
63633
63631
  const { control, checked, required, disabled, name, value, form, bubbleInput, setBubbleInput, hasConsumerStoppedPropagationRef, userInteractionCount } = useRadioContext(BUBBLE_INPUT_NAME$2, __scopeRadio);
63634
63632
  const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);
63635
63633
  const controlSize = useSize(control);
63636
- const shouldStopClickPropagationRef = React$2.useRef(false);
63637
- const prevCheckedRef = React$2.useRef(checked);
63638
- const prevUserInteractionCountRef = React$2.useRef(userInteractionCount);
63639
- React$2.useEffect(() => {
63634
+ const shouldStopClickPropagationRef = React2.useRef(false);
63635
+ const prevCheckedRef = React2.useRef(checked);
63636
+ const prevUserInteractionCountRef = React2.useRef(userInteractionCount);
63637
+ React2.useEffect(() => {
63640
63638
  const input = bubbleInput;
63641
63639
  if (!input) return;
63642
63640
  const inputProto = window.HTMLInputElement.prototype;
@@ -63659,7 +63657,7 @@ var RadioBubbleInput = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name
63659
63657
  hasConsumerStoppedPropagationRef,
63660
63658
  userInteractionCount
63661
63659
  ]);
63662
- const defaultCheckedRef = React$2.useRef(checked);
63660
+ const defaultCheckedRef = React2.useRef(checked);
63663
63661
  return /* @__PURE__ */ jsx(Primitive.input, {
63664
63662
  type: "radio",
63665
63663
  "aria-hidden": true,
@@ -63705,7 +63703,7 @@ var [createRadioGroupContext, createRadioGroupScope] = createContextScope(RADIO_
63705
63703
  var useRovingFocusGroupScope$1 = createRovingFocusGroupScope();
63706
63704
  var useRadioScope = createRadioScope();
63707
63705
  var [RadioGroupProvider, useRadioGroupContext] = createRadioGroupContext(RADIO_GROUP_NAME);
63708
- var RadioGroup$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$3(function RadioGroup2(props, forwardedRef) {
63706
+ var RadioGroup$2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$3(function RadioGroup2(props, forwardedRef) {
63709
63707
  const { __scopeRadioGroup, name, form, defaultValue, value: valueProp, required = false, disabled = false, orientation, dir, loop = true, onValueChange, ...groupProps } = props;
63710
63708
  const rovingFocusGroupScope = useRovingFocusGroupScope$1(__scopeRadioGroup);
63711
63709
  const direction = useDirection(dir);
@@ -63715,10 +63713,10 @@ var RadioGroup$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$3(f
63715
63713
  onChange: onValueChange,
63716
63714
  caller: RADIO_GROUP_NAME
63717
63715
  });
63718
- const [control, setControl] = React$2.useState(null);
63716
+ const [control, setControl] = React2.useState(null);
63719
63717
  const composedRefs = useComposedRefs(forwardedRef, setControl);
63720
- const initialValueRef = React$2.useRef(value);
63721
- React$2.useEffect(() => {
63718
+ const initialValueRef = React2.useRef(value);
63719
+ React2.useEffect(() => {
63722
63720
  const associatedForm = form ? control?.ownerDocument.getElementById(form) : control?.closest("form");
63723
63721
  if (associatedForm instanceof HTMLFormElement) {
63724
63722
  const reset = /* @__PURE__ */ __name$3(() => setValue(initialValueRef.current), "reset");
@@ -63777,15 +63775,15 @@ function RadioGroupItemProvider(props) {
63777
63775
  });
63778
63776
  }
63779
63777
  __name$3(RadioGroupItemProvider, "RadioGroupItemProvider");
63780
- var RadioGroupItemTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$3(function RadioGroupItemTrigger2(props, forwardedRef) {
63778
+ var RadioGroupItemTrigger = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$3(function RadioGroupItemTrigger2(props, forwardedRef) {
63781
63779
  const { __scopeRadioGroup, ...triggerProps } = props;
63782
63780
  const rovingFocusGroupScope = useRovingFocusGroupScope$1(__scopeRadioGroup);
63783
63781
  const radioScope = useRadioScope(__scopeRadioGroup);
63784
63782
  const { checked, disabled } = useRadioContext(ITEM_TRIGGER_NAME, radioScope.__scopeRadio);
63785
- const ref = React$2.useRef(null);
63783
+ const ref = React2.useRef(null);
63786
63784
  const composedRefs = useComposedRefs(forwardedRef, ref);
63787
- const isArrowKeyPressedRef = React$2.useRef(false);
63788
- React$2.useEffect(() => {
63785
+ const isArrowKeyPressedRef = React2.useRef(false);
63786
+ React2.useEffect(() => {
63789
63787
  const handleKeyDown = /* @__PURE__ */ __name$3((event) => {
63790
63788
  if (ARROW_KEYS$1.includes(event.key)) isArrowKeyPressedRef.current = true;
63791
63789
  }, "handleKeyDown");
@@ -63815,7 +63813,7 @@ var RadioGroupItemTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ _
63815
63813
  })
63816
63814
  });
63817
63815
  }, "RadioGroupItemTrigger"));
63818
- var RadioGroupItem = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$3(function RadioGroupItem2(props, forwardedRef) {
63816
+ var RadioGroupItem = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$3(function RadioGroupItem2(props, forwardedRef) {
63819
63817
  const { __scopeRadioGroup, value, disabled, ...itemProps } = props;
63820
63818
  return /* @__PURE__ */ jsx(RadioGroupItemProvider, {
63821
63819
  __scopeRadioGroup,
@@ -63828,7 +63826,7 @@ var RadioGroupItem = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$3
63828
63826
  }), isFormControl && /* @__PURE__ */ jsx(RadioGroupItemBubbleInput, { __scopeRadioGroup })] })
63829
63827
  });
63830
63828
  }, "RadioGroupItem"));
63831
- var RadioGroupItemBubbleInput = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$3(function RadioGroupItemBubbleInput2(props, forwardedRef) {
63829
+ var RadioGroupItemBubbleInput = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$3(function RadioGroupItemBubbleInput2(props, forwardedRef) {
63832
63830
  const { __scopeRadioGroup, ...bubbleProps } = props;
63833
63831
  const radioScope = useRadioScope(__scopeRadioGroup);
63834
63832
  return /* @__PURE__ */ jsx(RadioBubbleInput, {
@@ -63879,15 +63877,15 @@ var SLIDER_NAME = "Slider";
63879
63877
  var [Collection, useCollection, createCollectionScope] = /* @__PURE__ */ createCollection(SLIDER_NAME);
63880
63878
  var [createSliderContext, createSliderScope] = createContextScope(SLIDER_NAME, [createCollectionScope]);
63881
63879
  var [SliderProvider, useSliderContext] = createSliderContext(SLIDER_NAME);
63882
- var Slider$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(function Slider2(props, forwardedRef) {
63880
+ var Slider$2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$2(function Slider2(props, forwardedRef) {
63883
63881
  const { name, min = 0, max = 100, step = 1, orientation = "horizontal", disabled = false, minStepsBetweenThumbs = 0, defaultValue = [min], value, onValueChange = /* @__PURE__ */ __name$2(() => {
63884
63882
  }, "onValueChange"), onValueCommit = /* @__PURE__ */ __name$2(() => {
63885
63883
  }, "onValueCommit"), inverted = false, form, ...sliderProps } = props;
63886
- const thumbRefs = React$2.useRef(/* @__PURE__ */ new Set());
63887
- const valueIndexToChangeRef = React$2.useRef(0);
63888
- const isKeyboardInteractionRef = React$2.useRef(false);
63884
+ const thumbRefs = React2.useRef(/* @__PURE__ */ new Set());
63885
+ const valueIndexToChangeRef = React2.useRef(0);
63886
+ const isKeyboardInteractionRef = React2.useRef(false);
63889
63887
  const SliderOrientation = orientation === "horizontal" ? SliderHorizontal : SliderVertical;
63890
- const [control, setControl] = React$2.useState(null);
63888
+ const [control, setControl] = React2.useState(null);
63891
63889
  const composedRefs = useComposedRefs(forwardedRef, setControl);
63892
63890
  const [values = [], setValues] = useControllableState({
63893
63891
  prop: value,
@@ -63901,9 +63899,9 @@ var Slider$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(funct
63901
63899
  onValueChange(value2);
63902
63900
  }, "onChange")
63903
63901
  });
63904
- const valuesBeforeSlideStartRef = React$2.useRef(values);
63905
- const initialValuesRef = React$2.useRef(values);
63906
- React$2.useEffect(() => {
63902
+ const valuesBeforeSlideStartRef = React2.useRef(values);
63903
+ const initialValuesRef = React2.useRef(values);
63904
+ React2.useEffect(() => {
63907
63905
  const associatedForm = form ? control?.ownerDocument.getElementById(form) : control?.closest("form");
63908
63906
  if (associatedForm instanceof HTMLFormElement) {
63909
63907
  const reset = /* @__PURE__ */ __name$2(() => setValues(initialValuesRef.current), "reset");
@@ -64010,11 +64008,11 @@ var [SliderOrientationProvider, useSliderOrientationContext] = createSliderConte
64010
64008
  size: "width",
64011
64009
  direction: 1
64012
64010
  });
64013
- var SliderHorizontal = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(function SliderHorizontal2(props, forwardedRef) {
64011
+ var SliderHorizontal = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$2(function SliderHorizontal2(props, forwardedRef) {
64014
64012
  const { min, max, dir, inverted, onSlideStart, onSlideMove, onSlideEnd, onStepKeyDown, ...sliderProps } = props;
64015
- const [slider, setSlider] = React$2.useState(null);
64013
+ const [slider, setSlider] = React2.useState(null);
64016
64014
  const composedRefs = useComposedRefs(forwardedRef, setSlider);
64017
- const rectRef = React$2.useRef(void 0);
64015
+ const rectRef = React2.useRef(void 0);
64018
64016
  const direction = useDirection(dir);
64019
64017
  const isDirectionLTR = direction === "ltr";
64020
64018
  const isSlidingFromLeft = isDirectionLTR && !inverted || !isDirectionLTR && inverted;
@@ -64062,11 +64060,11 @@ var SliderHorizontal = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name
64062
64060
  })
64063
64061
  });
64064
64062
  }, "SliderHorizontal"));
64065
- var SliderVertical = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(function SliderVertical2(props, forwardedRef) {
64063
+ var SliderVertical = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$2(function SliderVertical2(props, forwardedRef) {
64066
64064
  const { min, max, inverted, onSlideStart, onSlideMove, onSlideEnd, onStepKeyDown, ...sliderProps } = props;
64067
- const sliderRef = React$2.useRef(null);
64065
+ const sliderRef = React2.useRef(null);
64068
64066
  const ref = useComposedRefs(forwardedRef, sliderRef);
64069
- const rectRef = React$2.useRef(void 0);
64067
+ const rectRef = React2.useRef(void 0);
64070
64068
  const isSlidingFromBottom = !inverted;
64071
64069
  function getValueFromPointer(pointerPosition) {
64072
64070
  const rect = rectRef.current || sliderRef.current.getBoundingClientRect();
@@ -64111,7 +64109,7 @@ var SliderVertical = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2
64111
64109
  })
64112
64110
  });
64113
64111
  }, "SliderVertical"));
64114
- var SliderImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(function SliderImpl2(props, forwardedRef) {
64112
+ var SliderImpl = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$2(function SliderImpl2(props, forwardedRef) {
64115
64113
  const { __scopeSlider, onSlideStart, onSlideMove, onSlideEnd, onHomeKeyDown, onEndKeyDown, onStepKeyDown, ...sliderProps } = props;
64116
64114
  const context = useSliderContext(SLIDER_NAME, __scopeSlider);
64117
64115
  return /* @__PURE__ */ jsx(Primitive.span, {
@@ -64152,7 +64150,7 @@ var SliderImpl = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(fun
64152
64150
  });
64153
64151
  }, "SliderImpl"));
64154
64152
  var TRACK_NAME = "SliderTrack";
64155
- var SliderTrack = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(function SliderTrack2(props, forwardedRef) {
64153
+ var SliderTrack = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$2(function SliderTrack2(props, forwardedRef) {
64156
64154
  const { __scopeSlider, ...trackProps } = props;
64157
64155
  const context = useSliderContext(TRACK_NAME, __scopeSlider);
64158
64156
  return /* @__PURE__ */ jsx(Primitive.span, {
@@ -64163,11 +64161,11 @@ var SliderTrack = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(fu
64163
64161
  });
64164
64162
  }, "SliderTrack"));
64165
64163
  var RANGE_NAME = "SliderRange";
64166
- var SliderRange = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(function SliderRange2(props, forwardedRef) {
64164
+ var SliderRange = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$2(function SliderRange2(props, forwardedRef) {
64167
64165
  const { __scopeSlider, ...rangeProps } = props;
64168
64166
  const context = useSliderContext(RANGE_NAME, __scopeSlider);
64169
64167
  const orientation = useSliderOrientationContext(RANGE_NAME, __scopeSlider);
64170
- const ref = React$2.useRef(null);
64168
+ const ref = React2.useRef(null);
64171
64169
  const composedRefs = useComposedRefs(forwardedRef, ref);
64172
64170
  const valuesCount = context.values.length;
64173
64171
  const percentages = context.values.map((value) => convertValueToPercentage(value, context.min, context.max));
@@ -64191,14 +64189,14 @@ function SliderThumbProvider(props) {
64191
64189
  const { __scopeSlider, name, children, internal_do_not_use_render } = props;
64192
64190
  const context = useSliderContext(THUMB_PROVIDER_NAME, __scopeSlider);
64193
64191
  const getItems = useCollection(__scopeSlider);
64194
- const [thumb, setThumb] = React$2.useState(null);
64195
- const index = React$2.useMemo(() => thumb ? getItems().findIndex((item) => item.ref.current === thumb) : -1, [getItems, thumb]);
64192
+ const [thumb, setThumb] = React2.useState(null);
64193
+ const index = React2.useMemo(() => thumb ? getItems().findIndex((item) => item.ref.current === thumb) : -1, [getItems, thumb]);
64196
64194
  const size2 = useSize(thumb);
64197
64195
  const isFormControl = thumb ? !!context.form || !!thumb.closest("form") : true;
64198
64196
  const value = context.values[index];
64199
64197
  const resolvedName = name ?? (context.name ? context.name + (context.values.length > 1 ? "[]" : "") : void 0);
64200
64198
  const percent = value === void 0 ? 0 : convertValueToPercentage(value, context.min, context.max);
64201
- React$2.useEffect(() => {
64199
+ React2.useEffect(() => {
64202
64200
  if (thumb) {
64203
64201
  context.thumbs.add(thumb);
64204
64202
  return () => {
@@ -64225,7 +64223,7 @@ function SliderThumbProvider(props) {
64225
64223
  }
64226
64224
  __name$2(SliderThumbProvider, "SliderThumbProvider");
64227
64225
  var THUMB_TRIGGER_NAME = "SliderThumbTrigger";
64228
- var SliderThumbTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(function SliderThumbTrigger2(props, forwardedRef) {
64226
+ var SliderThumbTrigger = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$2(function SliderThumbTrigger2(props, forwardedRef) {
64229
64227
  const { __scopeSlider, ...thumbProps } = props;
64230
64228
  const context = useSliderContext(THUMB_TRIGGER_NAME, __scopeSlider);
64231
64229
  const orientation = useSliderOrientationContext(THUMB_TRIGGER_NAME, __scopeSlider);
@@ -64262,7 +64260,7 @@ var SliderThumbTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __na
64262
64260
  })
64263
64261
  });
64264
64262
  }, "SliderThumbTrigger"));
64265
- var SliderThumb = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(function SliderThumb2(props, forwardedRef) {
64263
+ var SliderThumb = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$2(function SliderThumb2(props, forwardedRef) {
64266
64264
  const { __scopeSlider, name, ...thumbProps } = props;
64267
64265
  return /* @__PURE__ */ jsx(SliderThumbProvider, {
64268
64266
  __scopeSlider,
@@ -64275,12 +64273,12 @@ var SliderThumb = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(fu
64275
64273
  });
64276
64274
  }, "SliderThumb"));
64277
64275
  var BUBBLE_INPUT_NAME$1 = "SliderBubbleInput";
64278
- var SliderBubbleInput = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$2(function SliderBubbleInput2({ __scopeSlider, ...props }, forwardedRef) {
64276
+ var SliderBubbleInput = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$2(function SliderBubbleInput2({ __scopeSlider, ...props }, forwardedRef) {
64279
64277
  const { value, name, form } = useSliderThumbContext(BUBBLE_INPUT_NAME$1, __scopeSlider);
64280
- const ref = React$2.useRef(null);
64278
+ const ref = React2.useRef(null);
64281
64279
  const composedRefs = useComposedRefs(ref, forwardedRef);
64282
64280
  const prevValue = usePrevious(value);
64283
- React$2.useEffect(() => {
64281
+ React2.useEffect(() => {
64284
64282
  const input = ref.current;
64285
64283
  if (!input) return;
64286
64284
  const inputProto = window.HTMLInputElement.prototype;
@@ -64398,10 +64396,10 @@ function SwitchProvider(props) {
64398
64396
  onChange: onCheckedChange,
64399
64397
  caller: SWITCH_NAME
64400
64398
  });
64401
- const [control, setControl] = React$2.useState(null);
64402
- const [bubbleInput, setBubbleInput] = React$2.useState(null);
64403
- const hasConsumerStoppedPropagationRef = React$2.useRef(false);
64404
- const [userInteractionCount, onUserInteraction] = React$2.useReducer((count) => count + 1, 0);
64399
+ const [control, setControl] = React2.useState(null);
64400
+ const [bubbleInput, setBubbleInput] = React2.useState(null);
64401
+ const hasConsumerStoppedPropagationRef = React2.useRef(false);
64402
+ const [userInteractionCount, onUserInteraction] = React2.useReducer((count) => count + 1, 0);
64405
64403
  const context = {
64406
64404
  checked,
64407
64405
  setChecked,
@@ -64428,11 +64426,11 @@ function SwitchProvider(props) {
64428
64426
  }
64429
64427
  __name$1(SwitchProvider, "SwitchProvider");
64430
64428
  var TRIGGER_NAME$1 = "SwitchTrigger";
64431
- var SwitchTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$1(function SwitchTrigger2({ __scopeSwitch, onClick, ...switchProps }, forwardedRef) {
64429
+ var SwitchTrigger = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$1(function SwitchTrigger2({ __scopeSwitch, onClick, ...switchProps }, forwardedRef) {
64432
64430
  const { control, form, value, disabled, checked, required, setControl, setChecked, hasConsumerStoppedPropagationRef, onUserInteraction, isFormControl, bubbleInput } = useSwitchContext(TRIGGER_NAME$1, __scopeSwitch);
64433
64431
  const composedRefs = useComposedRefs(forwardedRef, setControl);
64434
- const initialCheckedStateRef = React$2.useRef(checked);
64435
- React$2.useEffect(() => {
64432
+ const initialCheckedStateRef = React2.useRef(checked);
64433
+ React2.useEffect(() => {
64436
64434
  const associatedForm = form ? control?.ownerDocument.getElementById(form) : control?.form;
64437
64435
  if (associatedForm instanceof HTMLFormElement) {
64438
64436
  const reset = /* @__PURE__ */ __name$1(() => setChecked(initialCheckedStateRef.current), "reset");
@@ -64465,7 +64463,7 @@ var SwitchTrigger = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$1(
64465
64463
  })
64466
64464
  });
64467
64465
  }, "SwitchTrigger"));
64468
- var Switch2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$1(function Switch22(props, forwardedRef) {
64466
+ var Switch2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$1(function Switch22(props, forwardedRef) {
64469
64467
  const { __scopeSwitch, name, checked, defaultChecked, required, disabled, value, onCheckedChange, form, ...switchProps } = props;
64470
64468
  return /* @__PURE__ */ jsx(SwitchProvider, {
64471
64469
  __scopeSwitch,
@@ -64485,7 +64483,7 @@ var Switch2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$1(functi
64485
64483
  });
64486
64484
  }, "Switch"));
64487
64485
  var THUMB_NAME = "SwitchThumb";
64488
- var SwitchThumb = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$1(function SwitchThumb2(props, forwardedRef) {
64486
+ var SwitchThumb = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$1(function SwitchThumb2(props, forwardedRef) {
64489
64487
  const { __scopeSwitch, ...thumbProps } = props;
64490
64488
  const context = useSwitchContext(THUMB_NAME, __scopeSwitch);
64491
64489
  return /* @__PURE__ */ jsx(Primitive.span, {
@@ -64496,14 +64494,14 @@ var SwitchThumb = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$1(fu
64496
64494
  });
64497
64495
  }, "SwitchThumb"));
64498
64496
  var BUBBLE_INPUT_NAME = "SwitchBubbleInput";
64499
- var SwitchBubbleInput = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name$1(function SwitchBubbleInput2({ __scopeSwitch, onClick, ...props }, forwardedRef) {
64497
+ var SwitchBubbleInput = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name$1(function SwitchBubbleInput2({ __scopeSwitch, onClick, ...props }, forwardedRef) {
64500
64498
  const { control, hasConsumerStoppedPropagationRef, userInteractionCount, checked, defaultChecked, required, disabled, name, value, form, bubbleInput, setBubbleInput } = useSwitchContext(BUBBLE_INPUT_NAME, __scopeSwitch);
64501
64499
  const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);
64502
64500
  const controlSize = useSize(control);
64503
- const shouldStopClickPropagationRef = React$2.useRef(false);
64504
- const prevCheckedRef = React$2.useRef(checked);
64505
- const prevUserInteractionCountRef = React$2.useRef(userInteractionCount);
64506
- React$2.useEffect(() => {
64501
+ const shouldStopClickPropagationRef = React2.useRef(false);
64502
+ const prevCheckedRef = React2.useRef(checked);
64503
+ const prevUserInteractionCountRef = React2.useRef(userInteractionCount);
64504
+ React2.useEffect(() => {
64507
64505
  const input = bubbleInput;
64508
64506
  if (!input) return;
64509
64507
  const inputProto = window.HTMLInputElement.prototype;
@@ -64526,7 +64524,7 @@ var SwitchBubbleInput = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __nam
64526
64524
  hasConsumerStoppedPropagationRef,
64527
64525
  userInteractionCount
64528
64526
  ]);
64529
- const defaultCheckedRef = React$2.useRef(checked);
64527
+ const defaultCheckedRef = React2.useRef(checked);
64530
64528
  return /* @__PURE__ */ jsx(Primitive.input, {
64531
64529
  type: "checkbox",
64532
64530
  "aria-hidden": true,
@@ -64570,7 +64568,7 @@ var TABS_NAME = "Tabs";
64570
64568
  var [createTabsContext, createTabsScope] = createContextScope(TABS_NAME, [createRovingFocusGroupScope]);
64571
64569
  var useRovingFocusGroupScope = createRovingFocusGroupScope();
64572
64570
  var [TabsProvider, useTabsContext] = createTabsContext(TABS_NAME);
64573
- var Tabs$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name(function Tabs2(props, forwardedRef) {
64571
+ var Tabs$2 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name(function Tabs2(props, forwardedRef) {
64574
64572
  const { __scopeTabs, value: valueProp, onValueChange, defaultValue, orientation = "horizontal", dir, activationMode = "automatic", ...tabsProps } = props;
64575
64573
  const direction = useDirection(dir);
64576
64574
  const [value, setValue] = useControllableState({
@@ -64596,7 +64594,7 @@ var Tabs$2 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name(function
64596
64594
  });
64597
64595
  }, "Tabs"));
64598
64596
  var TAB_LIST_NAME = "TabsList";
64599
- var TabsList$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name(function TabsList2(props, forwardedRef) {
64597
+ var TabsList$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name(function TabsList2(props, forwardedRef) {
64600
64598
  const { __scopeTabs, loop = true, ...listProps } = props;
64601
64599
  const context = useTabsContext(TAB_LIST_NAME, __scopeTabs);
64602
64600
  const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
@@ -64615,7 +64613,7 @@ var TabsList$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name(funct
64615
64613
  });
64616
64614
  }, "TabsList"));
64617
64615
  var TRIGGER_NAME = "TabsTrigger";
64618
- var TabsTrigger$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name(function TabsTrigger2(props, forwardedRef) {
64616
+ var TabsTrigger$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name(function TabsTrigger2(props, forwardedRef) {
64619
64617
  const { __scopeTabs, value, disabled = false, ...triggerProps } = props;
64620
64618
  const context = useTabsContext(TRIGGER_NAME, __scopeTabs);
64621
64619
  const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
@@ -64654,14 +64652,14 @@ var TabsTrigger$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name(fu
64654
64652
  });
64655
64653
  }, "TabsTrigger"));
64656
64654
  var CONTENT_NAME = "TabsContent";
64657
- var TabsContent$1 = /* @__PURE__ */ React$2.forwardRef(/* @__PURE__ */ __name(function TabsContent2(props, forwardedRef) {
64655
+ var TabsContent$1 = /* @__PURE__ */ React2.forwardRef(/* @__PURE__ */ __name(function TabsContent2(props, forwardedRef) {
64658
64656
  const { __scopeTabs, value, forceMount, children, ...contentProps } = props;
64659
64657
  const context = useTabsContext(CONTENT_NAME, __scopeTabs);
64660
64658
  const triggerId = makeTriggerId(context.baseId, value);
64661
64659
  const contentId = makeContentId(context.baseId, value);
64662
64660
  const isSelected = value === context.value;
64663
- const isMountAnimationPreventedRef = React$2.useRef(isSelected);
64664
- React$2.useEffect(() => {
64661
+ const isMountAnimationPreventedRef = React2.useRef(isSelected);
64662
+ React2.useEffect(() => {
64665
64663
  const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
64666
64664
  return () => cancelAnimationFrame(rAF);
64667
64665
  }, []);
@@ -80371,14 +80369,14 @@ var Surface = /* @__PURE__ */ forwardRef2((props, ref) => {
80371
80369
  y: 0
80372
80370
  };
80373
80371
  var layerClass = clsx("recharts-surface", className);
80374
- return /* @__PURE__ */ React$2.createElement("svg", _extends$31({}, svgPropertiesAndEvents(others), {
80372
+ return /* @__PURE__ */ React2.createElement("svg", _extends$31({}, svgPropertiesAndEvents(others), {
80375
80373
  className: layerClass,
80376
80374
  width,
80377
80375
  height,
80378
80376
  style,
80379
80377
  viewBox: "".concat(svgView.x, " ").concat(svgView.y, " ").concat(svgView.width, " ").concat(svgView.height),
80380
80378
  ref
80381
- }), /* @__PURE__ */ React$2.createElement("title", null, title), /* @__PURE__ */ React$2.createElement("desc", null, desc), children);
80379
+ }), /* @__PURE__ */ React2.createElement("title", null, title), /* @__PURE__ */ React2.createElement("desc", null, desc), children);
80382
80380
  });
80383
80381
  var _excluded$27 = ["children", "className"];
80384
80382
  function _extends$30() {
@@ -80408,10 +80406,10 @@ function _objectWithoutPropertiesLoose$27(r2, e) {
80408
80406
  }
80409
80407
  return t;
80410
80408
  }
80411
- var Layer = /* @__PURE__ */ React$2.forwardRef((props, ref) => {
80409
+ var Layer = /* @__PURE__ */ React2.forwardRef((props, ref) => {
80412
80410
  var children = props.children, className = props.className, others = _objectWithoutProperties$27(props, _excluded$27);
80413
80411
  var layerClass = clsx("recharts-layer", className);
80414
- return /* @__PURE__ */ React$2.createElement("g", _extends$30({ className: layerClass }, svgPropertiesAndEvents(others), { ref }), children);
80412
+ return /* @__PURE__ */ React2.createElement("g", _extends$30({ className: layerClass }, svgPropertiesAndEvents(others), { ref }), children);
80415
80413
  });
80416
80414
  function isUnsafeProperty(key) {
80417
80415
  return key === "__proto__";
@@ -80939,7 +80937,7 @@ var Symbols2 = (_ref2) => {
80939
80937
  };
80940
80938
  var className = props.className, cx = props.cx, cy = props.cy;
80941
80939
  var filteredProps = svgPropertiesAndEvents(props);
80942
- if (isNumber2(cx) && isNumber2(cy) && isNumber2(size2)) return /* @__PURE__ */ React$2.createElement("path", _extends$29({}, filteredProps, {
80940
+ if (isNumber2(cx) && isNumber2(cy) && isNumber2(size2)) return /* @__PURE__ */ React2.createElement("path", _extends$29({}, filteredProps, {
80943
80941
  className: clsx("recharts-symbols", className),
80944
80942
  transform: "translate(".concat(cx, ", ").concat(cy, ")"),
80945
80943
  d: getPath4()
@@ -81100,7 +81098,7 @@ function Icon(_ref2) {
81100
81098
  var color2 = data.inactive ? inactiveColor : data.color;
81101
81099
  var preferredIcon = iconType !== null && iconType !== void 0 ? iconType : data.type;
81102
81100
  if (preferredIcon === "none") return null;
81103
- if (preferredIcon === "plainline") return /* @__PURE__ */ React$2.createElement("line", {
81101
+ if (preferredIcon === "plainline") return /* @__PURE__ */ React2.createElement("line", {
81104
81102
  strokeWidth: 4,
81105
81103
  fill: "none",
81106
81104
  stroke: color2,
@@ -81111,25 +81109,25 @@ function Icon(_ref2) {
81111
81109
  y2: halfSize,
81112
81110
  className: "recharts-legend-icon"
81113
81111
  });
81114
- if (preferredIcon === "line") return /* @__PURE__ */ React$2.createElement("path", {
81112
+ if (preferredIcon === "line") return /* @__PURE__ */ React2.createElement("path", {
81115
81113
  strokeWidth: 4,
81116
81114
  fill: "none",
81117
81115
  stroke: color2,
81118
81116
  d: "M0,".concat(halfSize, "h").concat(thirdSize, "\n A").concat(sixthSize, ",").concat(sixthSize, ",0,1,1,").concat(2 * thirdSize, ",").concat(halfSize, "\n H").concat(SIZE, "M").concat(2 * thirdSize, ",").concat(halfSize, "\n A").concat(sixthSize, ",").concat(sixthSize, ",0,1,1,").concat(thirdSize, ",").concat(halfSize),
81119
81117
  className: "recharts-legend-icon"
81120
81118
  });
81121
- if (preferredIcon === "rect") return /* @__PURE__ */ React$2.createElement("path", {
81119
+ if (preferredIcon === "rect") return /* @__PURE__ */ React2.createElement("path", {
81122
81120
  stroke: "none",
81123
81121
  fill: color2,
81124
81122
  d: "M0,".concat(SIZE / 8, "h").concat(SIZE, "v").concat(SIZE * 3 / 4, "h").concat(-SIZE, "z"),
81125
81123
  className: "recharts-legend-icon"
81126
81124
  });
81127
- if (/* @__PURE__ */ React$2.isValidElement(data.legendIcon)) {
81125
+ if (/* @__PURE__ */ React2.isValidElement(data.legendIcon)) {
81128
81126
  var iconProps = _objectSpread$41({}, data);
81129
81127
  delete iconProps.legendIcon;
81130
- return /* @__PURE__ */ React$2.cloneElement(data.legendIcon, iconProps);
81128
+ return /* @__PURE__ */ React2.cloneElement(data.legendIcon, iconProps);
81131
81129
  }
81132
- return /* @__PURE__ */ React$2.createElement(Symbols2, {
81130
+ return /* @__PURE__ */ React2.createElement(Symbols2, {
81133
81131
  fill: color2,
81134
81132
  cx: halfSize,
81135
81133
  cy: halfSize,
@@ -81170,21 +81168,21 @@ function Items(props) {
81170
81168
  (_finalLabelStyle$whit = finalLabelStyle.whiteSpace) !== null && _finalLabelStyle$whit !== void 0 || (finalLabelStyle.whiteSpace = "normal");
81171
81169
  (_finalLabelStyle$over = finalLabelStyle.overflowWrap) !== null && _finalLabelStyle$over !== void 0 || (finalLabelStyle.overflowWrap = "break-word");
81172
81170
  var finalValue = finalFormatter ? finalFormatter(entry.value, entry, i) : entry.value;
81173
- return /* @__PURE__ */ React$2.createElement("li", _extends$28({
81171
+ return /* @__PURE__ */ React2.createElement("li", _extends$28({
81174
81172
  className,
81175
81173
  style: itemStyle,
81176
81174
  key: "legend-item-".concat(i)
81177
- }, adaptEventsOfChild2(props, entry, i)), /* @__PURE__ */ React$2.createElement(Surface, {
81175
+ }, adaptEventsOfChild2(props, entry, i)), /* @__PURE__ */ React2.createElement(Surface, {
81178
81176
  width: iconSize,
81179
81177
  height: iconSize,
81180
81178
  viewBox,
81181
81179
  style: svgStyle,
81182
81180
  "aria-label": entry.value == null ? "legend icon" : "".concat(entry.value, " legend icon")
81183
- }, /* @__PURE__ */ React$2.createElement(Icon, {
81181
+ }, /* @__PURE__ */ React2.createElement(Icon, {
81184
81182
  data: entry,
81185
81183
  iconType,
81186
81184
  inactiveColor
81187
- })), /* @__PURE__ */ React$2.createElement("span", {
81185
+ })), /* @__PURE__ */ React2.createElement("span", {
81188
81186
  className: "recharts-legend-item-text",
81189
81187
  style: finalLabelStyle
81190
81188
  }, finalValue));
@@ -81199,10 +81197,10 @@ var DefaultLegendContent = (outsideProps) => {
81199
81197
  margin: 0,
81200
81198
  textAlign: layout === "horizontal" ? align : "left"
81201
81199
  };
81202
- return /* @__PURE__ */ React$2.createElement("ul", {
81200
+ return /* @__PURE__ */ React2.createElement("ul", {
81203
81201
  className: "recharts-default-legend",
81204
81202
  style: finalStyle
81205
- }, /* @__PURE__ */ React$2.createElement(Items, _extends$28({}, props, { payload })));
81203
+ }, /* @__PURE__ */ React2.createElement(Items, _extends$28({}, props, { payload })));
81206
81204
  };
81207
81205
  function uniqBy$1(arr, mapper) {
81208
81206
  const map2 = /* @__PURE__ */ new Map();
@@ -84356,7 +84354,7 @@ function ResponsiveContainerContextProvider(_ref2) {
84356
84354
  height
84357
84355
  }), [width, height]);
84358
84356
  if (!isAcceptableSize(size2)) return null;
84359
- return /* @__PURE__ */ React$2.createElement(ResponsiveContainerContext.Provider, { value: size2 }, children);
84357
+ return /* @__PURE__ */ React2.createElement(ResponsiveContainerContext.Provider, { value: size2 }, children);
84360
84358
  }
84361
84359
  var useResponsiveContainerContext = () => useContext2(ResponsiveContainerContext);
84362
84360
  var SizeDetectorContainer = /* @__PURE__ */ forwardRef2((_ref2, ref) => {
@@ -84411,7 +84409,7 @@ var SizeDetectorContainer = /* @__PURE__ */ forwardRef2((_ref2, ref) => {
84411
84409
  maxHeight
84412
84410
  }), calculatedWidth = _calculateChartDimens.calculatedWidth, calculatedHeight = _calculateChartDimens.calculatedHeight;
84413
84411
  warn3(containerWidth < 0 || containerHeight < 0 || calculatedWidth != null && calculatedWidth > 0 || calculatedHeight != null && calculatedHeight > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", calculatedWidth, calculatedHeight, width, height, minWidth, minHeight, aspect);
84414
- return /* @__PURE__ */ React$2.createElement("div", _extends$27({
84412
+ return /* @__PURE__ */ React2.createElement("div", _extends$27({
84415
84413
  id: id ? "".concat(id) : void 0,
84416
84414
  className: clsx("recharts-responsive-container", className),
84417
84415
  style: _objectSpread$38(_objectSpread$38({}, style), {}, {
@@ -84422,10 +84420,10 @@ var SizeDetectorContainer = /* @__PURE__ */ forwardRef2((_ref2, ref) => {
84422
84420
  maxHeight
84423
84421
  }),
84424
84422
  ref: containerRef
84425
- }, others), /* @__PURE__ */ React$2.createElement("div", { style: getInnerDivStyle({
84423
+ }, others), /* @__PURE__ */ React2.createElement("div", { style: getInnerDivStyle({
84426
84424
  width,
84427
84425
  height
84428
- }) }, /* @__PURE__ */ React$2.createElement(ResponsiveContainerContextProvider, {
84426
+ }) }, /* @__PURE__ */ React2.createElement(ResponsiveContainerContextProvider, {
84429
84427
  width: calculatedWidth,
84430
84428
  height: calculatedHeight
84431
84429
  }, children)));
@@ -84444,11 +84442,11 @@ var ResponsiveContainer = /* @__PURE__ */ forwardRef2((props, ref) => {
84444
84442
  aspect: props.aspect,
84445
84443
  maxHeight: props.maxHeight
84446
84444
  }), calculatedWidth = _calculateChartDimens2.calculatedWidth, calculatedHeight = _calculateChartDimens2.calculatedHeight;
84447
- if (isNumber2(calculatedWidth) && isNumber2(calculatedHeight)) return /* @__PURE__ */ React$2.createElement(ResponsiveContainerContextProvider, {
84445
+ if (isNumber2(calculatedWidth) && isNumber2(calculatedHeight)) return /* @__PURE__ */ React2.createElement(ResponsiveContainerContextProvider, {
84448
84446
  width: calculatedWidth,
84449
84447
  height: calculatedHeight
84450
84448
  }, props.children);
84451
- return /* @__PURE__ */ React$2.createElement(SizeDetectorContainer, _extends$27({}, props, {
84449
+ return /* @__PURE__ */ React2.createElement(SizeDetectorContainer, _extends$27({}, props, {
84452
84450
  width,
84453
84451
  height,
84454
84452
  ref
@@ -84724,7 +84722,7 @@ var canUseDOM = () => !!(typeof window !== "undefined" && typeof window.document
84724
84722
  var isDOM = /* @__PURE__ */ canUseDOM();
84725
84723
  var isRunningInReactNative = () => typeof navigator !== "undefined" && navigator.product === "ReactNative";
84726
84724
  var isReactNative = /* @__PURE__ */ isRunningInReactNative();
84727
- var getUseIsomorphicLayoutEffect = () => isDOM || isReactNative ? React$2.useLayoutEffect : React$2.useEffect;
84725
+ var getUseIsomorphicLayoutEffect = () => isDOM || isReactNative ? React2.useLayoutEffect : React2.useEffect;
84728
84726
  var useIsomorphicLayoutEffect = /* @__PURE__ */ getUseIsomorphicLayoutEffect();
84729
84727
  function is(x2, y2) {
84730
84728
  if (x2 === y2) return x2 !== 0 || y2 !== 0 || 1 / x2 === 1 / y2;
@@ -84742,19 +84740,19 @@ function shallowEqual(objA, objB) {
84742
84740
  var ContextKey = /* @__PURE__ */ Symbol.for(`react-redux-context`);
84743
84741
  var gT = typeof globalThis !== "undefined" ? globalThis : {};
84744
84742
  function getContext() {
84745
- if (!React$2.createContext) return {};
84743
+ if (!React2.createContext) return {};
84746
84744
  const contextMap = gT[ContextKey] ??= /* @__PURE__ */ new Map();
84747
- let realContext = contextMap.get(React$2.createContext);
84745
+ let realContext = contextMap.get(React2.createContext);
84748
84746
  if (!realContext) {
84749
- realContext = React$2.createContext(null);
84750
- contextMap.set(React$2.createContext, realContext);
84747
+ realContext = React2.createContext(null);
84748
+ contextMap.set(React2.createContext, realContext);
84751
84749
  }
84752
84750
  return realContext;
84753
84751
  }
84754
84752
  var ReactReduxContext = /* @__PURE__ */ getContext();
84755
84753
  function Provider(providerProps) {
84756
84754
  const { children, context, serverState, store: store2 } = providerProps;
84757
- const contextValue = React$2.useMemo(() => {
84755
+ const contextValue = React2.useMemo(() => {
84758
84756
  const subscription = createSubscription(store2);
84759
84757
  return {
84760
84758
  store: store2,
@@ -84762,7 +84760,7 @@ function Provider(providerProps) {
84762
84760
  getServerState: serverState ? () => serverState : void 0
84763
84761
  };
84764
84762
  }, [store2, serverState]);
84765
- const previousState = React$2.useMemo(() => store2.getState(), [store2]);
84763
+ const previousState = React2.useMemo(() => store2.getState(), [store2]);
84766
84764
  useIsomorphicLayoutEffect(() => {
84767
84765
  const { subscription } = contextValue;
84768
84766
  subscription.onStateChange = subscription.notifyNestedSubs;
@@ -84774,7 +84772,7 @@ function Provider(providerProps) {
84774
84772
  };
84775
84773
  }, [contextValue, previousState]);
84776
84774
  const Context = context || ReactReduxContext;
84777
- return /* @__PURE__ */ React$2.createElement(Context.Provider, { value: contextValue }, children);
84775
+ return /* @__PURE__ */ React2.createElement(Context.Provider, { value: contextValue }, children);
84778
84776
  }
84779
84777
  var Provider_default = Provider;
84780
84778
  var propsToShallowCompare = /* @__PURE__ */ new Set([
@@ -84961,9 +84959,9 @@ function LegendContent(props) {
84961
84959
  var contextPayload = props.contextPayload, otherProps = _objectWithoutProperties$24(props, _excluded$24);
84962
84960
  var finalPayload = getUniqPayload(contextPayload, props.payloadUniqBy, defaultUniqBy$1);
84963
84961
  var contentProps = _objectSpread$37(_objectSpread$37({}, otherProps), {}, { payload: finalPayload });
84964
- if (/* @__PURE__ */ React$2.isValidElement(props.content)) return /* @__PURE__ */ React$2.cloneElement(props.content, contentProps);
84965
- if (typeof props.content === "function") return /* @__PURE__ */ React$2.createElement(props.content, contentProps);
84966
- return /* @__PURE__ */ React$2.createElement(DefaultLegendContent, contentProps);
84962
+ if (/* @__PURE__ */ React2.isValidElement(props.content)) return /* @__PURE__ */ React2.cloneElement(props.content, contentProps);
84963
+ if (typeof props.content === "function") return /* @__PURE__ */ React2.createElement(props.content, contentProps);
84964
+ return /* @__PURE__ */ React2.createElement(DefaultLegendContent, contentProps);
84967
84965
  }
84968
84966
  function getLayoutForPosition(position) {
84969
84967
  if (position === "left" || position === "right" || position === "insideLeft" || position === "insideRight") return "vertical";
@@ -85099,18 +85097,18 @@ function LegendImpl(outsideProps) {
85099
85097
  }, positionStyle), wrapperStyle);
85100
85098
  var legendPortal = portalFromProps !== null && portalFromProps !== void 0 ? portalFromProps : legendPortalFromContext;
85101
85099
  if (legendPortal == null || contextPayload == null) return null;
85102
- var legendElement = /* @__PURE__ */ React$2.createElement("div", {
85100
+ var legendElement = /* @__PURE__ */ React2.createElement("div", {
85103
85101
  className: "recharts-legend-wrapper",
85104
85102
  style: outerStyle,
85105
85103
  ref: updateBoundingBox
85106
- }, /* @__PURE__ */ React$2.createElement(LegendSettingsDispatcher, {
85104
+ }, /* @__PURE__ */ React2.createElement(LegendSettingsDispatcher, {
85107
85105
  layout,
85108
85106
  align: props.align,
85109
85107
  verticalAlign: props.verticalAlign,
85110
85108
  itemSorter: props.itemSorter,
85111
85109
  position: props.position,
85112
85110
  offset: props.offset
85113
- }), shouldReportDimensions && /* @__PURE__ */ React$2.createElement(LegendSizeDispatcher, lastBoundingBox), /* @__PURE__ */ React$2.createElement(LegendContent, _extends$26({}, props, { layout }, widthOrHeight, {
85111
+ }), shouldReportDimensions && /* @__PURE__ */ React2.createElement(LegendSizeDispatcher, lastBoundingBox), /* @__PURE__ */ React2.createElement(LegendContent, _extends$26({}, props, { layout }, widthOrHeight, {
85114
85112
  margin,
85115
85113
  chartWidth,
85116
85114
  chartHeight,
@@ -85118,7 +85116,7 @@ function LegendImpl(outsideProps) {
85118
85116
  })));
85119
85117
  return /* @__PURE__ */ createPortal2(legendElement, legendPortal);
85120
85118
  }
85121
- var Legend = /* @__PURE__ */ React$2.memo(LegendImpl, propsAreEqual);
85119
+ var Legend = /* @__PURE__ */ React2.memo(LegendImpl, propsAreEqual);
85122
85120
  Legend.displayName = "Legend";
85123
85121
  function _extends$25() {
85124
85122
  return _extends$25 = Object.assign ? Object.assign.bind() : function(n) {
@@ -85263,13 +85261,13 @@ var DefaultTooltipContent2 = (props) => {
85263
85261
  else return null;
85264
85262
  }
85265
85263
  var finalItemStyle = _objectSpread$36(_objectSpread$36({}, defaultDefaultTooltipContentProps.itemStyle), {}, { color: entry.color || defaultDefaultTooltipContentProps.itemStyle.color }, itemStyle);
85266
- return /* @__PURE__ */ React$2.createElement("li", {
85264
+ return /* @__PURE__ */ React2.createElement("li", {
85267
85265
  className: "recharts-tooltip-item",
85268
85266
  key: "tooltip-item-".concat(i),
85269
85267
  style: finalItemStyle
85270
- }, isNumOrStr2(finalName) ? /* @__PURE__ */ React$2.createElement("span", { className: "recharts-tooltip-item-name" }, finalName) : null, isNumOrStr2(finalName) ? /* @__PURE__ */ React$2.createElement("span", { className: "recharts-tooltip-item-separator" }, separator) : null, /* @__PURE__ */ React$2.createElement("span", { className: "recharts-tooltip-item-value" }, finalValue), /* @__PURE__ */ React$2.createElement("span", { className: "recharts-tooltip-item-unit" }, entry.unit || ""));
85268
+ }, isNumOrStr2(finalName) ? /* @__PURE__ */ React2.createElement("span", { className: "recharts-tooltip-item-name" }, finalName) : null, isNumOrStr2(finalName) ? /* @__PURE__ */ React2.createElement("span", { className: "recharts-tooltip-item-separator" }, separator) : null, /* @__PURE__ */ React2.createElement("span", { className: "recharts-tooltip-item-value" }, finalValue), /* @__PURE__ */ React2.createElement("span", { className: "recharts-tooltip-item-unit" }, entry.unit || ""));
85271
85269
  });
85272
- return /* @__PURE__ */ React$2.createElement("ul", {
85270
+ return /* @__PURE__ */ React2.createElement("ul", {
85273
85271
  className: "recharts-tooltip-item-list",
85274
85272
  style: listStyle
85275
85273
  }, items);
@@ -85287,13 +85285,13 @@ var DefaultTooltipContent2 = (props) => {
85287
85285
  role: "status",
85288
85286
  "aria-live": "assertive"
85289
85287
  } : {};
85290
- return /* @__PURE__ */ React$2.createElement("div", _extends$25({
85288
+ return /* @__PURE__ */ React2.createElement("div", _extends$25({
85291
85289
  className: wrapperCN,
85292
85290
  style: finalStyle
85293
- }, accessibilityAttributes), /* @__PURE__ */ React$2.createElement("p", {
85291
+ }, accessibilityAttributes), /* @__PURE__ */ React2.createElement("p", {
85294
85292
  className: labelCN,
85295
85293
  style: finalLabelStyle
85296
- }, /* @__PURE__ */ React$2.isValidElement(finalLabel) ? finalLabel : "".concat(finalLabel)), renderContent2());
85294
+ }, /* @__PURE__ */ React2.isValidElement(finalLabel) ? finalLabel : "".concat(finalLabel)), renderContent2());
85297
85295
  };
85298
85296
  var CSS_CLASS_PREFIX = "recharts-tooltip-wrapper";
85299
85297
  var TOOLTIP_HIDDEN = { visibility: "hidden" };
@@ -85528,14 +85526,14 @@ function resolveTransitionProperty(args) {
85528
85526
  function TooltipBoundingBoxImpl(props) {
85529
85527
  var _props$coordinate3, _props$coordinate4, _props$coordinate$x2, _props$coordinate5, _props$coordinate$y2, _props$coordinate6;
85530
85528
  var prefersReducedMotion = usePrefersReducedMotion();
85531
- var _React$useState2 = _slicedToArray$17(React$2.useState(() => ({
85529
+ var _React$useState2 = _slicedToArray$17(React2.useState(() => ({
85532
85530
  dismissed: false,
85533
85531
  dismissedAtCoordinate: {
85534
85532
  x: 0,
85535
85533
  y: 0
85536
85534
  }
85537
85535
  })), 2), state = _React$useState2[0], setState = _React$useState2[1];
85538
- React$2.useEffect(() => {
85536
+ React2.useEffect(() => {
85539
85537
  var handleKeyDown = (event) => {
85540
85538
  if (event.key === "Escape") {
85541
85539
  var _props$coordinate$x, _props$coordinate, _props$coordinate$y, _props$coordinate2;
@@ -85577,7 +85575,7 @@ function TooltipBoundingBoxImpl(props) {
85577
85575
  top: 0,
85578
85576
  left: 0
85579
85577
  })), {}, { visibility: !state.dismissed && props.active && props.hasPayload ? "visible" : "hidden" }, props.wrapperStyle);
85580
- return /* @__PURE__ */ React$2.createElement("div", {
85578
+ return /* @__PURE__ */ React2.createElement("div", {
85581
85579
  xmlns: "http://www.w3.org/1999/xhtml",
85582
85580
  tabIndex: -1,
85583
85581
  className: cssClasses,
@@ -85585,7 +85583,7 @@ function TooltipBoundingBoxImpl(props) {
85585
85583
  ref: props.innerRef
85586
85584
  }, props.children);
85587
85585
  }
85588
- var TooltipBoundingBox = /* @__PURE__ */ React$2.memo(TooltipBoundingBoxImpl);
85586
+ var TooltipBoundingBox = /* @__PURE__ */ React2.memo(TooltipBoundingBoxImpl);
85589
85587
  var useAccessibilityLayer = () => {
85590
85588
  var _useAppSelector;
85591
85589
  return (_useAppSelector = useAppSelector((state) => state.rootProps.accessibilityLayer)) !== null && _useAppSelector !== void 0 ? _useAppSelector : true;
@@ -85703,7 +85701,7 @@ var Curve2 = (props) => {
85703
85701
  connectNulls: props.connectNulls
85704
85702
  };
85705
85703
  var realPath = points && points.length ? getPath$1(getPathInput) : path2;
85706
- return /* @__PURE__ */ React$2.createElement("path", _extends$24({}, svgPropertiesNoEvents(props), adaptEventHandlers2(props), {
85704
+ return /* @__PURE__ */ React2.createElement("path", _extends$24({}, svgPropertiesNoEvents(props), adaptEventHandlers2(props), {
85707
85705
  className: clsx("recharts-curve", className),
85708
85706
  d: realPath === null ? void 0 : realPath,
85709
85707
  ref: pathRef
@@ -85802,7 +85800,7 @@ var Cross2 = (_ref2) => {
85802
85800
  height
85803
85801
  }, rest2);
85804
85802
  if (!isNumber2(x2) || !isNumber2(y2) || !isNumber2(width) || !isNumber2(height) || !isNumber2(top) || !isNumber2(left)) return null;
85805
- return /* @__PURE__ */ React$2.createElement("path", _extends$23({}, svgPropertiesAndEvents(props), {
85803
+ return /* @__PURE__ */ React2.createElement("path", _extends$23({}, svgPropertiesAndEvents(props), {
85806
85804
  className: clsx("recharts-cross", className),
85807
85805
  d: getPath3(x2, y2, width, height, top, left)
85808
85806
  }));
@@ -86596,7 +86594,7 @@ var Rectangle2 = (rectangleProps) => {
86596
86594
  var _svgPropertiesAndEven = svgPropertiesAndEvents(props);
86597
86595
  _svgPropertiesAndEven.radius;
86598
86596
  var otherPathProps = _objectWithoutProperties$22(_svgPropertiesAndEven, _excluded$22);
86599
- return /* @__PURE__ */ React$2.createElement("path", _extends$22({}, otherPathProps, {
86597
+ return /* @__PURE__ */ React2.createElement("path", _extends$22({}, otherPathProps, {
86600
86598
  x: round(x2),
86601
86599
  y: round(y2),
86602
86600
  width: round(width),
@@ -86613,7 +86611,7 @@ var Rectangle2 = (rectangleProps) => {
86613
86611
  var from2 = "0px ".concat(totalLength === -1 ? 1 : totalLength, "px");
86614
86612
  var to2 = "".concat(totalLength, "px ").concat(totalLength, "px");
86615
86613
  var transition = getTransitionVal2(["strokeDasharray"], animationDuration, typeof animationEasing === "string" ? animationEasing : defaultRectangleProps.animationEasing);
86616
- return /* @__PURE__ */ React$2.createElement(JavascriptAnimate, {
86614
+ return /* @__PURE__ */ React2.createElement(JavascriptAnimate, {
86617
86615
  animationId,
86618
86616
  key: animationId,
86619
86617
  canBegin: totalLength > 0,
@@ -86642,7 +86640,7 @@ var Rectangle2 = (rectangleProps) => {
86642
86640
  var _svgPropertiesAndEven2 = svgPropertiesAndEvents(props);
86643
86641
  _svgPropertiesAndEven2.radius;
86644
86642
  var otherPathProps2 = _objectWithoutProperties$22(_svgPropertiesAndEven2, _excluded2$12);
86645
- return /* @__PURE__ */ React$2.createElement("path", _extends$22({}, otherPathProps2, {
86643
+ return /* @__PURE__ */ React2.createElement("path", _extends$22({}, otherPathProps2, {
86646
86644
  radius: typeof radius === "number" ? radius : void 0,
86647
86645
  className: layerClass,
86648
86646
  d: getRectanglePath2(currX, currY, currWidth, currHeight, radius),
@@ -87022,7 +87020,7 @@ var Sector2 = (sectorProps) => {
87022
87020
  startAngle,
87023
87021
  endAngle
87024
87022
  });
87025
- return /* @__PURE__ */ React$2.createElement("path", _extends$21({}, svgPropertiesAndEvents(props), {
87023
+ return /* @__PURE__ */ React2.createElement("path", _extends$21({}, svgPropertiesAndEvents(props), {
87026
87024
  className: layerClass,
87027
87025
  d: path2
87028
87026
  }));
@@ -90197,7 +90195,7 @@ function CursorInternal(props) {
90197
90195
  payloadIndex: activeTooltipIndex,
90198
90196
  className: clsx("recharts-tooltip-cursor", extraClassName)
90199
90197
  });
90200
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: (_props$zIndex = props.zIndex) !== null && _props$zIndex !== void 0 ? _props$zIndex : preferredZIndex }, /* @__PURE__ */ React$2.createElement(RenderCursor, {
90198
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: (_props$zIndex = props.zIndex) !== null && _props$zIndex !== void 0 ? _props$zIndex : preferredZIndex }, /* @__PURE__ */ React2.createElement(RenderCursor, {
90201
90199
  cursor,
90202
90200
  cursorComp,
90203
90201
  cursorProps
@@ -90209,7 +90207,7 @@ function Cursor(props) {
90209
90207
  var layout = useChartLayout();
90210
90208
  var chartName = useChartName();
90211
90209
  if (tooltipAxisBandSize == null || offset2 == null || layout == null || chartName == null) return null;
90212
- return /* @__PURE__ */ React$2.createElement(CursorInternal, _extends$20({}, props, {
90210
+ return /* @__PURE__ */ React2.createElement(CursorInternal, _extends$20({}, props, {
90213
90211
  offset: offset2,
90214
90212
  layout,
90215
90213
  tooltipAxisBandSize,
@@ -90738,9 +90736,9 @@ function defaultUniqBy(entry) {
90738
90736
  return entry.dataKey;
90739
90737
  }
90740
90738
  function renderContent(content, props) {
90741
- if (/* @__PURE__ */ React$2.isValidElement(content)) return /* @__PURE__ */ React$2.cloneElement(content, props);
90742
- if (typeof content === "function") return /* @__PURE__ */ React$2.createElement(content, props);
90743
- return /* @__PURE__ */ React$2.createElement(DefaultTooltipContent2, props);
90739
+ if (/* @__PURE__ */ React2.isValidElement(content)) return /* @__PURE__ */ React2.cloneElement(content, props);
90740
+ if (typeof content === "function") return /* @__PURE__ */ React2.createElement(content, props);
90741
+ return /* @__PURE__ */ React2.createElement(DefaultTooltipContent2, props);
90744
90742
  }
90745
90743
  var emptyPayload = [];
90746
90744
  var defaultTooltipProps = {
@@ -90818,7 +90816,7 @@ function Tooltip(outsideProps) {
90818
90816
  coordinate,
90819
90817
  accessibilityLayer
90820
90818
  });
90821
- var tooltipElement = /* @__PURE__ */ React$2.createElement(TooltipBoundingBox, {
90819
+ var tooltipElement = /* @__PURE__ */ React2.createElement(TooltipBoundingBox, {
90822
90820
  allowEscapeViewBox,
90823
90821
  animationDuration,
90824
90822
  animationEasing,
@@ -90836,7 +90834,7 @@ function Tooltip(outsideProps) {
90836
90834
  innerRef: updateBoundingBox,
90837
90835
  hasPortalFromProps: Boolean(portalFromProps)
90838
90836
  }, renderContent(content, tooltipContentProps));
90839
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ createPortal2(tooltipElement, tooltipPortal), finalIsActive && /* @__PURE__ */ React$2.createElement(Cursor, {
90837
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ createPortal2(tooltipElement, tooltipPortal), finalIsActive && /* @__PURE__ */ React2.createElement(Cursor, {
90840
90838
  cursor,
90841
90839
  tooltipEventType,
90842
90840
  coordinate,
@@ -91442,7 +91440,7 @@ var Text2 = /* @__PURE__ */ forwardRef2((outsideProps, ref) => {
91442
91440
  }
91443
91441
  if (angle) transforms.push("rotate(".concat(angle, ", ").concat(x2, ", ").concat(y2, ")"));
91444
91442
  if (transforms.length) textProps.transform = transforms.join(" ");
91445
- return /* @__PURE__ */ React$2.createElement("text", _extends$19({}, svgPropertiesAndEvents(textProps), {
91443
+ return /* @__PURE__ */ React2.createElement("text", _extends$19({}, svgPropertiesAndEvents(textProps), {
91446
91444
  ref,
91447
91445
  x: x2,
91448
91446
  y: y2,
@@ -91451,7 +91449,7 @@ var Text2 = /* @__PURE__ */ forwardRef2((outsideProps, ref) => {
91451
91449
  fill: fill.includes("url") ? DEFAULT_FILL : fill
91452
91450
  }), wordsByLines.map((line, index) => {
91453
91451
  var words = line.words.join(breakAll ? "" : " ");
91454
- return /* @__PURE__ */ React$2.createElement("tspan", {
91452
+ return /* @__PURE__ */ React2.createElement("tspan", {
91455
91453
  x: x2,
91456
91454
  dy: index === 0 ? startDy : lineHeight,
91457
91455
  key: "".concat(words, "-").concat(index)
@@ -91549,7 +91547,7 @@ var CartesianLabelContextProvider = (_ref2) => {
91549
91547
  width,
91550
91548
  height
91551
91549
  ]);
91552
- return /* @__PURE__ */ React$2.createElement(CartesianLabelContext.Provider, { value: viewBox }, children);
91550
+ return /* @__PURE__ */ React2.createElement(CartesianLabelContext.Provider, { value: viewBox }, children);
91553
91551
  };
91554
91552
  var useCartesianLabelContext = () => {
91555
91553
  var labelChildContext = useContext2(CartesianLabelContext);
@@ -91576,7 +91574,7 @@ var PolarLabelContextProvider = (_ref2) => {
91576
91574
  endAngle,
91577
91575
  clockWise
91578
91576
  ]);
91579
- return /* @__PURE__ */ React$2.createElement(PolarLabelContext.Provider, { value: viewBox }, children);
91577
+ return /* @__PURE__ */ React2.createElement(PolarLabelContext.Provider, { value: viewBox }, children);
91580
91578
  };
91581
91579
  var usePolarLabelContext = () => {
91582
91580
  var labelChildContext = useContext2(PolarLabelContext);
@@ -91623,13 +91621,13 @@ var renderRadialLabel2 = (labelProps, position, label, attrs, viewBox) => {
91623
91621
  var endPoint = polarToCartesian2(cx, cy, radius, labelAngle + (direction ? 1 : -1) * 359);
91624
91622
  var path2 = "M".concat(startPoint.x, ",").concat(startPoint.y, "\n A").concat(radius, ",").concat(radius, ",0,1,").concat(direction ? 0 : 1, ",\n ").concat(endPoint.x, ",").concat(endPoint.y);
91625
91623
  var id = isNullish2(labelProps.id) ? uniqueId2("recharts-radial-line-") : labelProps.id;
91626
- return /* @__PURE__ */ React$2.createElement("text", _extends$18({}, attrs, {
91624
+ return /* @__PURE__ */ React2.createElement("text", _extends$18({}, attrs, {
91627
91625
  dominantBaseline: "central",
91628
91626
  className: clsx("recharts-radial-bar-label", className)
91629
- }), /* @__PURE__ */ React$2.createElement("defs", null, /* @__PURE__ */ React$2.createElement("path", {
91627
+ }), /* @__PURE__ */ React2.createElement("defs", null, /* @__PURE__ */ React2.createElement("path", {
91630
91628
  id,
91631
91629
  d: path2
91632
- })), /* @__PURE__ */ React$2.createElement("textPath", { xlinkHref: "#".concat(id) }, label));
91630
+ })), /* @__PURE__ */ React2.createElement("textPath", { xlinkHref: "#".concat(id) }, label));
91633
91631
  };
91634
91632
  var getAttrsOfPolarLabel2 = (viewBox, offset2, position) => {
91635
91633
  var cx = viewBox.cx, cy = viewBox.cy, innerRadius = viewBox.innerRadius, outerRadius = viewBox.outerRadius;
@@ -91736,7 +91734,7 @@ function Label(outerProps) {
91736
91734
  var attrs = svgPropertiesAndEvents(props);
91737
91735
  if (isRadialPolarLabel && isPolar2(viewBox)) return renderRadialLabel2(props, position, label, attrs, viewBox);
91738
91736
  if (positionAttrs == null) return null;
91739
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: props.zIndex }, /* @__PURE__ */ React$2.createElement(Text2, _extends$18({
91737
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: props.zIndex }, /* @__PURE__ */ React2.createElement(Text2, _extends$18({
91740
91738
  ref: labelRef,
91741
91739
  className: clsx("recharts-label", className)
91742
91740
  }, attrs, positionAttrs, {
@@ -91751,23 +91749,23 @@ var parseLabel2 = (label, viewBox, labelRef) => {
91751
91749
  viewBox,
91752
91750
  labelRef
91753
91751
  };
91754
- if (label === true) return /* @__PURE__ */ React$2.createElement(Label, _extends$18({ key: "label-implicit" }, commonProps));
91755
- if (isNumOrStr2(label)) return /* @__PURE__ */ React$2.createElement(Label, _extends$18({
91752
+ if (label === true) return /* @__PURE__ */ React2.createElement(Label, _extends$18({ key: "label-implicit" }, commonProps));
91753
+ if (isNumOrStr2(label)) return /* @__PURE__ */ React2.createElement(Label, _extends$18({
91756
91754
  key: "label-implicit",
91757
91755
  value: label
91758
91756
  }, commonProps));
91759
91757
  if (/* @__PURE__ */ isValidElement2(label)) {
91760
91758
  if (label.type === Label) return /* @__PURE__ */ cloneElement2(label, _objectSpread$19({ key: "label-implicit" }, commonProps));
91761
- return /* @__PURE__ */ React$2.createElement(Label, _extends$18({
91759
+ return /* @__PURE__ */ React2.createElement(Label, _extends$18({
91762
91760
  key: "label-implicit",
91763
91761
  content: label
91764
91762
  }, commonProps));
91765
91763
  }
91766
- if (isLabelContentAFunction(label)) return /* @__PURE__ */ React$2.createElement(Label, _extends$18({
91764
+ if (isLabelContentAFunction(label)) return /* @__PURE__ */ React2.createElement(Label, _extends$18({
91767
91765
  key: "label-implicit",
91768
91766
  content: label
91769
91767
  }, commonProps));
91770
- if (label && typeof label === "object") return /* @__PURE__ */ React$2.createElement(Label, _extends$18({}, label, { key: "label-implicit" }, commonProps));
91768
+ if (label && typeof label === "object") return /* @__PURE__ */ React2.createElement(Label, _extends$18({}, label, { key: "label-implicit" }, commonProps));
91771
91769
  return null;
91772
91770
  };
91773
91771
  function CartesianLabelFromLabelProp(_ref3) {
@@ -91831,11 +91829,11 @@ function LabelList(_ref2) {
91831
91829
  var polarData = usePolarLabelListContext();
91832
91830
  var data = cartesianData || polarData;
91833
91831
  if (!data || !data.length) return null;
91834
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: zIndex !== null && zIndex !== void 0 ? zIndex : DefaultZIndexes.label }, /* @__PURE__ */ React$2.createElement(Layer, { className: "recharts-label-list" }, data.map((entry, index) => {
91832
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: zIndex !== null && zIndex !== void 0 ? zIndex : DefaultZIndexes.label }, /* @__PURE__ */ React2.createElement(Layer, { className: "recharts-label-list" }, data.map((entry, index) => {
91835
91833
  var _restProps$fill;
91836
91834
  var value = isNullish2(dataKey) ? valueAccessor(entry, index) : getValueByDataKey(entry.payload, dataKey);
91837
91835
  var idProps = isNullish2(id) ? {} : { id: "".concat(id, "-").concat(index) };
91838
- return /* @__PURE__ */ React$2.createElement(Label, _extends$17({ key: "label-".concat(index) }, svgPropertiesAndEvents(entry), others, idProps, {
91836
+ return /* @__PURE__ */ React2.createElement(Label, _extends$17({ key: "label-".concat(index) }, svgPropertiesAndEvents(entry), others, idProps, {
91839
91837
  fill: (_restProps$fill = restProps.fill) !== null && _restProps$fill !== void 0 ? _restProps$fill : entry.fill,
91840
91838
  parentViewBox: entry.parentViewBox,
91841
91839
  value,
@@ -91850,12 +91848,12 @@ LabelList.displayName = "LabelList";
91850
91848
  function LabelListFromLabelProp(_ref2) {
91851
91849
  var label = _ref2.label;
91852
91850
  if (!label) return null;
91853
- if (label === true) return /* @__PURE__ */ React$2.createElement(LabelList, { key: "labelList-implicit" });
91854
- if (/* @__PURE__ */ React$2.isValidElement(label) || isLabelContentAFunction(label)) return /* @__PURE__ */ React$2.createElement(LabelList, {
91851
+ if (label === true) return /* @__PURE__ */ React2.createElement(LabelList, { key: "labelList-implicit" });
91852
+ if (/* @__PURE__ */ React2.isValidElement(label) || isLabelContentAFunction(label)) return /* @__PURE__ */ React2.createElement(LabelList, {
91855
91853
  key: "labelList-implicit",
91856
91854
  content: label
91857
91855
  });
91858
- if (typeof label === "object") return /* @__PURE__ */ React$2.createElement(LabelList, _extends$17({ key: "labelList-implicit" }, label, { type: String(label.type) }));
91856
+ if (typeof label === "object") return /* @__PURE__ */ React2.createElement(LabelList, _extends$17({ key: "labelList-implicit" }, label, { type: String(label.type) }));
91859
91857
  return null;
91860
91858
  }
91861
91859
  function _extends$16() {
@@ -91870,7 +91868,7 @@ function _extends$16() {
91870
91868
  var Dot2 = (props) => {
91871
91869
  var cx = props.cx, cy = props.cy, r2 = props.r, className = props.className;
91872
91870
  var layerClass = clsx("recharts-dot", className);
91873
- if (isNumber2(cx) && isNumber2(cy) && isNumber2(r2)) return /* @__PURE__ */ React$2.createElement("circle", _extends$16({}, svgPropertiesNoEvents(props), adaptEventHandlers2(props), {
91871
+ if (isNumber2(cx) && isNumber2(cy) && isNumber2(r2)) return /* @__PURE__ */ React2.createElement("circle", _extends$16({}, svgPropertiesNoEvents(props), adaptEventHandlers2(props), {
91874
91872
  className: layerClass,
91875
91873
  cx,
91876
91874
  cy,
@@ -92232,12 +92230,12 @@ function Shape(_ref2) {
92232
92230
  var index = getShapeIndex(shapeProps);
92233
92231
  var shape;
92234
92232
  if (/* @__PURE__ */ isValidElement2(option)) shape = renderWithShapeElement(option, shapeProps);
92235
- else if (option === DefaultShape) shape = /* @__PURE__ */ React$2.createElement(DefaultShape, shapeProps);
92233
+ else if (option === DefaultShape) shape = /* @__PURE__ */ React2.createElement(DefaultShape, shapeProps);
92236
92234
  else if (typeof option === "function") shape = option(shapeProps, index);
92237
- else if (typeof option === "object") shape = /* @__PURE__ */ React$2.createElement(DefaultShape, mergeShapeProps(option, shapeProps));
92238
- else shape = /* @__PURE__ */ React$2.createElement(DefaultShape, shapeProps);
92239
- if (isActiveShape(shapeProps)) return /* @__PURE__ */ React$2.createElement(Layer, { className: activeClassName }, shape);
92240
- return /* @__PURE__ */ React$2.createElement(Layer, { className: inActiveClassName }, shape);
92235
+ else if (typeof option === "object") shape = /* @__PURE__ */ React2.createElement(DefaultShape, mergeShapeProps(option, shapeProps));
92236
+ else shape = /* @__PURE__ */ React2.createElement(DefaultShape, shapeProps);
92237
+ if (isActiveShape(shapeProps)) return /* @__PURE__ */ React2.createElement(Layer, { className: activeClassName }, shape);
92238
+ return /* @__PURE__ */ React2.createElement(Layer, { className: inActiveClassName }, shape);
92241
92239
  }
92242
92240
  var useMouseEnterItemDispatch = (onMouseEnterFromProps, dataKey, graphicalItemId) => {
92243
92241
  var dispatch = useAppDispatch();
@@ -92555,7 +92553,7 @@ function AnimatedItems(props) {
92555
92553
  var animationStartItems = useAnimationStartSnapshot(animationId, previousItemsRef);
92556
92554
  var rawPrevItems = (_animationStartItems$ = animationStartItems.startValue) !== null && _animationStartItems$ !== void 0 ? _animationStartItems$ : null;
92557
92555
  var animationItems = matchAnimationItems(rawPrevItems, items, animationMatchBy !== null && animationMatchBy !== void 0 ? animationMatchBy : matchByIndex);
92558
- return /* @__PURE__ */ React$2.createElement(JavascriptAnimate, {
92556
+ return /* @__PURE__ */ React2.createElement(JavascriptAnimate, {
92559
92557
  animationId,
92560
92558
  begin: animationBegin,
92561
92559
  duration: animationDuration,
@@ -92617,9 +92615,9 @@ function _arrayWithHoles$6(r2) {
92617
92615
  if (Array.isArray(r2)) return r2;
92618
92616
  }
92619
92617
  var useIdFallback = () => {
92620
- return _slicedToArray$6(React$2.useState(() => uniqueId2("uid-")), 1)[0];
92618
+ return _slicedToArray$6(React2.useState(() => uniqueId2("uid-")), 1)[0];
92621
92619
  };
92622
- var useId$12 = (_ref = React$2["useId".toString()]) !== null && _ref !== void 0 ? _ref : useIdFallback;
92620
+ var useId$12 = (_ref = React2["useId".toString()]) !== null && _ref !== void 0 ? _ref : useIdFallback;
92623
92621
  function useUniqueId(prefix2, customId) {
92624
92622
  var generatedId = useId$12();
92625
92623
  if (customId) return customId;
@@ -92629,7 +92627,7 @@ var GraphicalItemIdContext = /* @__PURE__ */ createContext2(void 0);
92629
92627
  var RegisterGraphicalItemId = (_ref2) => {
92630
92628
  var id = _ref2.id, type = _ref2.type, children = _ref2.children;
92631
92629
  var resolvedId = useUniqueId("recharts-".concat(type), id);
92632
- return /* @__PURE__ */ React$2.createElement(GraphicalItemIdContext.Provider, { value: resolvedId }, children(resolvedId));
92630
+ return /* @__PURE__ */ React2.createElement(GraphicalItemIdContext.Provider, { value: resolvedId }, children(resolvedId));
92633
92631
  };
92634
92632
  var graphicalItemsSlice = createSlice({
92635
92633
  name: "graphicalItems",
@@ -92817,11 +92815,11 @@ function SetPiePayloadLegend(props) {
92817
92815
  var cells = useMemo2(() => findAllByType(props.children, Cell2), [props.children]);
92818
92816
  var legendPayload = useAppSelector((state) => selectPieLegend(state, props.id, cells));
92819
92817
  if (legendPayload == null) return null;
92820
- return /* @__PURE__ */ React$2.createElement(SetPolarLegendPayload, { legendPayload });
92818
+ return /* @__PURE__ */ React2.createElement(SetPolarLegendPayload, { legendPayload });
92821
92819
  }
92822
92820
  function getActiveShapeFill(activeShape) {
92823
92821
  if (activeShape == null || typeof activeShape === "boolean" || typeof activeShape === "function") return;
92824
- if (/* @__PURE__ */ React$2.isValidElement(activeShape)) {
92822
+ if (/* @__PURE__ */ React2.isValidElement(activeShape)) {
92825
92823
  var _activeShape$props;
92826
92824
  var _fill = (_activeShape$props = activeShape.props) === null || _activeShape$props === void 0 ? void 0 : _activeShape$props.fill;
92827
92825
  return typeof _fill === "string" ? _fill : void 0;
@@ -92829,7 +92827,7 @@ function getActiveShapeFill(activeShape) {
92829
92827
  var fill = activeShape.fill;
92830
92828
  return typeof fill === "string" ? fill : void 0;
92831
92829
  }
92832
- var SetPieTooltipEntrySettings = /* @__PURE__ */ React$2.memo((_ref2) => {
92830
+ var SetPieTooltipEntrySettings = /* @__PURE__ */ React2.memo((_ref2) => {
92833
92831
  var dataKey = _ref2.dataKey, nameKey = _ref2.nameKey, sectors = _ref2.sectors, stroke = _ref2.stroke, strokeWidth = _ref2.strokeWidth, fill = _ref2.fill, name = _ref2.name, hide = _ref2.hide, tooltipType = _ref2.tooltipType, formatter = _ref2.formatter, id = _ref2.id, activeShape = _ref2.activeShape;
92834
92832
  var activeShapeFill = getActiveShapeFill(activeShape);
92835
92833
  var tooltipEntrySettings = {
@@ -92860,7 +92858,7 @@ var SetPieTooltipEntrySettings = /* @__PURE__ */ React$2.memo((_ref2) => {
92860
92858
  graphicalItemId: id
92861
92859
  }
92862
92860
  };
92863
- return /* @__PURE__ */ React$2.createElement(SetTooltipEntrySettings, { tooltipEntrySettings });
92861
+ return /* @__PURE__ */ React2.createElement(SetTooltipEntrySettings, { tooltipEntrySettings });
92864
92862
  });
92865
92863
  var getTextAnchor = (x2, cx) => {
92866
92864
  if (x2 > cx) return "start";
@@ -92886,25 +92884,25 @@ var parseDeltaAngle = (startAngle, endAngle) => {
92886
92884
  return mathSign2(endAngle - startAngle) * Math.min(Math.abs(endAngle - startAngle), 360);
92887
92885
  };
92888
92886
  var renderLabelLineItem = (option, props) => {
92889
- if (/* @__PURE__ */ React$2.isValidElement(option)) return /* @__PURE__ */ React$2.cloneElement(option, props);
92887
+ if (/* @__PURE__ */ React2.isValidElement(option)) return /* @__PURE__ */ React2.cloneElement(option, props);
92890
92888
  if (typeof option === "function") return option(props);
92891
92889
  var className = clsx("recharts-pie-label-line", typeof option !== "boolean" ? option.className : "");
92892
92890
  props.key;
92893
92891
  var otherProps = _objectWithoutProperties$17(props, _excluded$17);
92894
- return /* @__PURE__ */ React$2.createElement(Curve2, _extends$15({}, otherProps, {
92892
+ return /* @__PURE__ */ React2.createElement(Curve2, _extends$15({}, otherProps, {
92895
92893
  type: "linear",
92896
92894
  className
92897
92895
  }));
92898
92896
  };
92899
92897
  var renderLabelItem = (option, props, value) => {
92900
- if (/* @__PURE__ */ React$2.isValidElement(option)) return /* @__PURE__ */ React$2.cloneElement(option, props);
92898
+ if (/* @__PURE__ */ React2.isValidElement(option)) return /* @__PURE__ */ React2.cloneElement(option, props);
92901
92899
  var label = value;
92902
92900
  if (typeof option === "function") {
92903
92901
  label = option(props);
92904
- if (/* @__PURE__ */ React$2.isValidElement(label)) return label;
92902
+ if (/* @__PURE__ */ React2.isValidElement(label)) return label;
92905
92903
  }
92906
92904
  var className = clsx("recharts-pie-label-text", getClassNameFromUnknown(option));
92907
- return /* @__PURE__ */ React$2.createElement(Text2, _extends$15({}, props, {
92905
+ return /* @__PURE__ */ React2.createElement(Text2, _extends$15({}, props, {
92908
92906
  alignmentBaseline: "middle",
92909
92907
  className
92910
92908
  }), label);
@@ -92932,18 +92930,18 @@ function PieLabels(_ref2) {
92932
92930
  points: [polarToCartesian2(entry.cx, entry.cy, entry.outerRadius, midAngle), endPoint],
92933
92931
  key: "line"
92934
92932
  });
92935
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, {
92933
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, {
92936
92934
  zIndex: DefaultZIndexes.label,
92937
92935
  key: "label-".concat(entry.startAngle, "-").concat(entry.endAngle, "-").concat(entry.midAngle, "-").concat(i)
92938
- }, /* @__PURE__ */ React$2.createElement(Layer, null, labelLine && renderLabelLineItem(labelLine, lineProps), renderLabelItem(label, labelProps, getValueByDataKey(entry, dataKey))));
92936
+ }, /* @__PURE__ */ React2.createElement(Layer, null, labelLine && renderLabelLineItem(labelLine, lineProps), renderLabelItem(label, labelProps, getValueByDataKey(entry, dataKey))));
92939
92937
  });
92940
- return /* @__PURE__ */ React$2.createElement(Layer, { className: "recharts-pie-labels" }, labels);
92938
+ return /* @__PURE__ */ React2.createElement(Layer, { className: "recharts-pie-labels" }, labels);
92941
92939
  }
92942
92940
  function PieLabelList(_ref3) {
92943
92941
  var sectors = _ref3.sectors, props = _ref3.props, showLabels = _ref3.showLabels;
92944
92942
  var label = props.label;
92945
- if (typeof label === "object" && label != null && "position" in label) return /* @__PURE__ */ React$2.createElement(LabelListFromLabelProp, { label });
92946
- return /* @__PURE__ */ React$2.createElement(PieLabels, {
92943
+ if (typeof label === "object" && label != null && "position" in label) return /* @__PURE__ */ React2.createElement(LabelListFromLabelProp, { label });
92944
+ return /* @__PURE__ */ React2.createElement(PieLabels, {
92947
92945
  sectors,
92948
92946
  props,
92949
92947
  showLabels
@@ -92959,7 +92957,7 @@ function PieSectors(props) {
92959
92957
  var onMouseLeaveFromContext = useMouseLeaveItemDispatch(onMouseLeaveFromProps);
92960
92958
  var onClickFromContext = useMouseClickItemDispatch(onItemClickFromProps, allOtherPieProps.dataKey, id);
92961
92959
  if (sectors == null || sectors.length === 0) return null;
92962
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, sectors.map((entry, i) => {
92960
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, sectors.map((entry, i) => {
92963
92961
  if ((entry === null || entry === void 0 ? void 0 : entry.startAngle) === 0 && (entry === null || entry === void 0 ? void 0 : entry.endAngle) === 0 && sectors.length !== 1) return null;
92964
92962
  var graphicalItemMatches = activeGraphicalItemId == null || activeGraphicalItemId === id;
92965
92963
  var isActive = String(i) === activeIndex && (activeDataKey == null || allOtherPieProps.dataKey === activeDataKey) && graphicalItemMatches;
@@ -92975,7 +92973,7 @@ function PieSectors(props) {
92975
92973
  [DATA_ITEM_INDEX_ATTRIBUTE_NAME]: i,
92976
92974
  [DATA_ITEM_GRAPHICAL_ITEM_ID_ATTRIBUTE_NAME]: id
92977
92975
  });
92978
- return /* @__PURE__ */ React$2.createElement(Layer, _extends$15({
92976
+ return /* @__PURE__ */ React2.createElement(Layer, _extends$15({
92979
92977
  key: "sector-".concat(entry === null || entry === void 0 ? void 0 : entry.startAngle, "-").concat(entry === null || entry === void 0 ? void 0 : entry.endAngle, "-").concat(entry.midAngle, "-").concat(i),
92980
92978
  tabIndex: -1,
92981
92979
  className: "recharts-pie-sector"
@@ -92983,7 +92981,7 @@ function PieSectors(props) {
92983
92981
  onMouseEnter: onMouseEnterFromContext(entry, i),
92984
92982
  onMouseLeave: onMouseLeaveFromContext(entry, i),
92985
92983
  onClick: onClickFromContext(entry, i)
92986
- }), /* @__PURE__ */ React$2.createElement(Shape, {
92984
+ }), /* @__PURE__ */ React2.createElement(Shape, {
92987
92985
  option: sectorOptions !== null && sectorOptions !== void 0 ? sectorOptions : shape,
92988
92986
  DefaultShape: defaultPieSectorShape,
92989
92987
  shapeProps: sectorProps
@@ -93079,7 +93077,7 @@ function PieLabelListProvider(_ref5) {
93079
93077
  fill: entry.fill
93080
93078
  }));
93081
93079
  }, [sectors, showLabels]);
93082
- return /* @__PURE__ */ React$2.createElement(PolarLabelListContextProvider, { value: showLabels ? labelListEntries : void 0 }, children);
93080
+ return /* @__PURE__ */ React2.createElement(PolarLabelListContextProvider, { value: showLabels ? labelListEntries : void 0 }, children);
93083
93081
  }
93084
93082
  var defaultPieAnimateItems = (items, animationElapsedTime) => {
93085
93083
  if (items == null) return [];
@@ -93117,10 +93115,10 @@ function SectorsWithAnimation(_ref6) {
93117
93115
  var layout = usePolarChartLayout();
93118
93116
  if (layout == null) return null;
93119
93117
  var firstSector = sectors[0];
93120
- return /* @__PURE__ */ React$2.createElement(PieLabelListProvider, {
93118
+ return /* @__PURE__ */ React2.createElement(PieLabelListProvider, {
93121
93119
  showLabels: !isAnimating,
93122
93120
  sectors
93123
- }, /* @__PURE__ */ React$2.createElement(AnimatedItems, {
93121
+ }, /* @__PURE__ */ React2.createElement(AnimatedItems, {
93124
93122
  animationInput: props,
93125
93123
  animationIdPrefix: "recharts-pie-",
93126
93124
  items: sectors,
@@ -93134,7 +93132,7 @@ function SectorsWithAnimation(_ref6) {
93134
93132
  animationInterpolateFn,
93135
93133
  animationMatchBy: props.animationMatchBy,
93136
93134
  layout
93137
- }, (stepData, animationElapsedTime, isEntrance) => /* @__PURE__ */ React$2.createElement(Layer, null, /* @__PURE__ */ React$2.createElement(PieSectors, {
93135
+ }, (stepData, animationElapsedTime, isEntrance) => /* @__PURE__ */ React2.createElement(Layer, null, /* @__PURE__ */ React2.createElement(PieSectors, {
93138
93136
  sectors: stepData,
93139
93137
  activeShape,
93140
93138
  inactiveShape,
@@ -93144,11 +93142,11 @@ function SectorsWithAnimation(_ref6) {
93144
93142
  animationElapsedTime,
93145
93143
  isAnimating: isAnimating || animationElapsedTime < 1,
93146
93144
  isEntrance
93147
- }))), /* @__PURE__ */ React$2.createElement(PieLabelList, {
93145
+ }))), /* @__PURE__ */ React2.createElement(PieLabelList, {
93148
93146
  showLabels: !isAnimating,
93149
93147
  sectors,
93150
93148
  props
93151
- }), /* @__PURE__ */ React$2.createElement(PolarLabelContextProvider, {
93149
+ }), /* @__PURE__ */ React2.createElement(PolarLabelContextProvider, {
93152
93150
  cx: (_firstSector$cx = firstSector === null || firstSector === void 0 ? void 0 : firstSector.cx) !== null && _firstSector$cx !== void 0 ? _firstSector$cx : 0,
93153
93151
  cy: (_firstSector$cy = firstSector === null || firstSector === void 0 ? void 0 : firstSector.cy) !== null && _firstSector$cy !== void 0 ? _firstSector$cy : 0,
93154
93152
  innerRadius: (_firstSector$innerRad = firstSector === null || firstSector === void 0 ? void 0 : firstSector.innerRadius) !== null && _firstSector$innerRad !== void 0 ? _firstSector$innerRad : 0,
@@ -93194,12 +93192,12 @@ function PieImpl(props) {
93194
93192
  var layerClass = clsx("recharts-pie", className);
93195
93193
  if (hide || sectors == null) {
93196
93194
  previousSectorsRef.current = null;
93197
- return /* @__PURE__ */ React$2.createElement(Layer, {
93195
+ return /* @__PURE__ */ React2.createElement(Layer, {
93198
93196
  tabIndex: rootTabIndex,
93199
93197
  className: layerClass
93200
93198
  });
93201
93199
  }
93202
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: props.zIndex }, /* @__PURE__ */ React$2.createElement(SetPieTooltipEntrySettings, {
93200
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: props.zIndex }, /* @__PURE__ */ React2.createElement(SetPieTooltipEntrySettings, {
93203
93201
  dataKey: props.dataKey,
93204
93202
  nameKey: props.nameKey,
93205
93203
  sectors,
@@ -93212,10 +93210,10 @@ function PieImpl(props) {
93212
93210
  formatter: props.formatter,
93213
93211
  id,
93214
93212
  activeShape: props.activeShape
93215
- }), /* @__PURE__ */ React$2.createElement(Layer, {
93213
+ }), /* @__PURE__ */ React2.createElement(Layer, {
93216
93214
  tabIndex: rootTabIndex,
93217
93215
  className: layerClass
93218
- }, /* @__PURE__ */ React$2.createElement(SectorsWithAnimation, {
93216
+ }, /* @__PURE__ */ React2.createElement(SectorsWithAnimation, {
93219
93217
  props: _objectSpread$16(_objectSpread$16({}, propsWithoutId), {}, { sectors }),
93220
93218
  previousSectorsRef,
93221
93219
  id
@@ -93225,10 +93223,10 @@ function PieFn(outsideProps) {
93225
93223
  var props = resolveDefaultProps(outsideProps, defaultPieProps);
93226
93224
  var externalId = props.id, propsWithoutId = _objectWithoutProperties$17(props, _excluded4$2);
93227
93225
  var presentationProps = svgPropertiesNoEvents(propsWithoutId);
93228
- return /* @__PURE__ */ React$2.createElement(RegisterGraphicalItemId, {
93226
+ return /* @__PURE__ */ React2.createElement(RegisterGraphicalItemId, {
93229
93227
  id: externalId,
93230
93228
  type: "pie"
93231
- }, (id) => /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(SetPolarGraphicalItem, {
93229
+ }, (id) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(SetPolarGraphicalItem, {
93232
93230
  type: "pie",
93233
93231
  id,
93234
93232
  data: propsWithoutId.data,
@@ -93252,7 +93250,7 @@ function PieFn(outsideProps) {
93252
93250
  cornerRadius: propsWithoutId.cornerRadius,
93253
93251
  presentationProps,
93254
93252
  maxRadius: props.maxRadius
93255
- }), /* @__PURE__ */ React$2.createElement(SetPiePayloadLegend, _extends$15({}, propsWithoutId, { id })), /* @__PURE__ */ React$2.createElement(PieImpl, _extends$15({}, propsWithoutId, { id }))));
93253
+ }), /* @__PURE__ */ React2.createElement(SetPiePayloadLegend, _extends$15({}, propsWithoutId, { id })), /* @__PURE__ */ React2.createElement(PieImpl, _extends$15({}, propsWithoutId, { id }))));
93256
93254
  }
93257
93255
  var Pie = PieFn;
93258
93256
  Pie.displayName = "Pie";
@@ -93334,7 +93332,7 @@ function DotItem(_ref2) {
93334
93332
  var finalClassName = clsx(className, typeof option !== "boolean" ? option.className : ""), _ref22 = dotProps !== null && dotProps !== void 0 ? dotProps : {};
93335
93333
  _ref22.points;
93336
93334
  var props = _objectWithoutProperties$16(_ref22, _excluded$16);
93337
- return /* @__PURE__ */ React$2.createElement(Dot2, _extends$14({}, props, { className: finalClassName }));
93335
+ return /* @__PURE__ */ React2.createElement(Dot2, _extends$14({}, props, { className: finalClassName }));
93338
93336
  }
93339
93337
  function shouldRenderDots(points, dot2) {
93340
93338
  if (points == null) return false;
@@ -93357,7 +93355,7 @@ function Dots(_ref3) {
93357
93355
  payload: entry.payload,
93358
93356
  points
93359
93357
  });
93360
- return /* @__PURE__ */ React$2.createElement(DotItem, {
93358
+ return /* @__PURE__ */ React2.createElement(DotItem, {
93361
93359
  key: "dot-".concat(i),
93362
93360
  option: dot2,
93363
93361
  dotProps,
@@ -93366,7 +93364,7 @@ function Dots(_ref3) {
93366
93364
  });
93367
93365
  var layerProps = {};
93368
93366
  if (needClip && clipPathId != null) layerProps.clipPath = "url(#clipPath-".concat(clipDot ? "" : "dots-").concat(clipPathId, ")");
93369
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex }, /* @__PURE__ */ React$2.createElement(Layer, _extends$14({ className }, layerProps), dots));
93367
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex }, /* @__PURE__ */ React2.createElement(Layer, _extends$14({ className }, layerProps), dots));
93370
93368
  }
93371
93369
  function ownKeys$14(e, r2) {
93372
93370
  var t = Object.keys(e);
@@ -93615,8 +93613,8 @@ var ActivePoint = (_ref2) => {
93615
93613
  var dot2;
93616
93614
  if (/* @__PURE__ */ isValidElement2(activeDot)) dot2 = /* @__PURE__ */ cloneElement2(activeDot, dotProps);
93617
93615
  else if (typeof activeDot === "function") dot2 = activeDot(dotProps);
93618
- else dot2 = /* @__PURE__ */ React$2.createElement(Dot2, dotProps);
93619
- return /* @__PURE__ */ React$2.createElement(Layer, {
93616
+ else dot2 = /* @__PURE__ */ React2.createElement(Dot2, dotProps);
93617
+ return /* @__PURE__ */ React2.createElement(Layer, {
93620
93618
  className: "recharts-active-dot",
93621
93619
  clipPath
93622
93620
  }, dot2);
@@ -93628,7 +93626,7 @@ function ActivePoints(_ref2) {
93628
93626
  if (points == null || activeDataPoints == null) return null;
93629
93627
  var activePoint = points.find((p) => activeDataPoints.includes(p.payload));
93630
93628
  if (isNullish2(activePoint)) return null;
93631
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex }, /* @__PURE__ */ React$2.createElement(ActivePoint, {
93629
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex }, /* @__PURE__ */ React2.createElement(ActivePoint, {
93632
93630
  point: activePoint,
93633
93631
  childIndex: Number(activeTooltipIndex),
93634
93632
  mainColor,
@@ -93977,7 +93975,7 @@ var ClipPathProvider = (_ref2) => {
93977
93975
  var plotArea = usePlotArea();
93978
93976
  if (plotArea == null) return null;
93979
93977
  var x2 = plotArea.x, y2 = plotArea.y, width = plotArea.width, height = plotArea.height;
93980
- return /* @__PURE__ */ React$2.createElement(ClipPathIdContext.Provider, { value: clipPathId }, /* @__PURE__ */ React$2.createElement("defs", null, /* @__PURE__ */ React$2.createElement("clipPath", { id: clipPathId }, /* @__PURE__ */ React$2.createElement("rect", {
93978
+ return /* @__PURE__ */ React2.createElement(ClipPathIdContext.Provider, { value: clipPathId }, /* @__PURE__ */ React2.createElement("defs", null, /* @__PURE__ */ React2.createElement("clipPath", { id: clipPathId }, /* @__PURE__ */ React2.createElement("rect", {
93981
93979
  x: x2,
93982
93980
  y: y2,
93983
93981
  height,
@@ -94591,7 +94589,7 @@ function AxisLine(axisLineProps) {
94591
94589
  y2: y2 + height
94592
94590
  });
94593
94591
  }
94594
- return /* @__PURE__ */ React$2.createElement("line", _extends$13({}, props, { className: clsx("recharts-cartesian-axis-line", get$1(axisLine, "className")) }));
94592
+ return /* @__PURE__ */ React2.createElement("line", _extends$13({}, props, { className: clsx("recharts-cartesian-axis-line", get$1(axisLine, "className")) }));
94595
94593
  }
94596
94594
  function getTickLineCoord(data, x2, y2, width, height, orientation, tickSize, mirror, tickMargin) {
94597
94595
  var x1, x22, y1, y22, tx, ty;
@@ -94665,12 +94663,12 @@ function TickItem(props) {
94665
94663
  var option = props.option, tickProps = props.tickProps, value = props.value;
94666
94664
  var tickItem;
94667
94665
  var combinedClassName = clsx(tickProps.className, "recharts-cartesian-axis-tick-value");
94668
- if (/* @__PURE__ */ React$2.isValidElement(option)) tickItem = /* @__PURE__ */ React$2.cloneElement(option, _objectSpread$10(_objectSpread$10({}, tickProps), {}, { className: combinedClassName }));
94666
+ if (/* @__PURE__ */ React2.isValidElement(option)) tickItem = /* @__PURE__ */ React2.cloneElement(option, _objectSpread$10(_objectSpread$10({}, tickProps), {}, { className: combinedClassName }));
94669
94667
  else if (typeof option === "function") tickItem = option(_objectSpread$10(_objectSpread$10({}, tickProps), {}, { className: combinedClassName }));
94670
94668
  else {
94671
94669
  var className = "recharts-cartesian-axis-tick-value";
94672
94670
  if (typeof option !== "boolean") className = clsx(className, getClassNameFromUnknown(option));
94673
- tickItem = /* @__PURE__ */ React$2.createElement(Text2, _extends$13({}, tickProps, { className }), value);
94671
+ tickItem = /* @__PURE__ */ React2.createElement(Text2, _extends$13({}, tickProps, { className }), value);
94674
94672
  }
94675
94673
  return tickItem;
94676
94674
  }
@@ -94732,10 +94730,10 @@ var Ticks = /* @__PURE__ */ forwardRef2((props, ref) => {
94732
94730
  var tickLineCoords = finalTicks.map((entry) => _objectSpread$10({ entry }, getTickLineCoord(entry, x2, y2, width, height, orientation, tickSize, mirror, tickMargin)));
94733
94731
  var tickLines = tickLineCoords.map((_ref2) => {
94734
94732
  var entry = _ref2.entry, lineCoord = _ref2.line;
94735
- return /* @__PURE__ */ React$2.createElement(Layer, {
94733
+ return /* @__PURE__ */ React2.createElement(Layer, {
94736
94734
  className: "recharts-cartesian-axis-tick",
94737
94735
  key: "tick-".concat(entry.value, "-").concat(entry.coordinate, "-").concat(entry.tickCoord)
94738
- }, tickLine && /* @__PURE__ */ React$2.createElement("line", _extends$13({}, tickLineProps, lineCoord, { className: clsx("recharts-cartesian-axis-tick-line", get$1(tickLine, "className")) })));
94736
+ }, tickLine && /* @__PURE__ */ React2.createElement("line", _extends$13({}, tickLineProps, lineCoord, { className: clsx("recharts-cartesian-axis-tick-line", get$1(tickLine, "className")) })));
94739
94737
  });
94740
94738
  var tickLabels = tickLineCoords.map((_ref3, i) => {
94741
94739
  var _ref4, _tickTextProps$angle;
@@ -94751,23 +94749,23 @@ var Ticks = /* @__PURE__ */ forwardRef2((props, ref) => {
94751
94749
  tickFormatter,
94752
94750
  padding
94753
94751
  }, tickTextProps), {}, { angle: (_ref4 = (_tickTextProps$angle = tickTextProps === null || tickTextProps === void 0 ? void 0 : tickTextProps.angle) !== null && _tickTextProps$angle !== void 0 ? _tickTextProps$angle : axisProps.angle) !== null && _ref4 !== void 0 ? _ref4 : 0 })), customTickProps);
94754
- return /* @__PURE__ */ React$2.createElement(Layer, _extends$13({
94752
+ return /* @__PURE__ */ React2.createElement(Layer, _extends$13({
94755
94753
  className: "recharts-cartesian-axis-tick-label",
94756
94754
  key: "tick-label-".concat(entry.value, "-").concat(entry.coordinate, "-").concat(entry.tickCoord)
94757
- }, adaptEventsOfChild2(events, entry, i)), tick && /* @__PURE__ */ React$2.createElement(TickItem, {
94755
+ }, adaptEventsOfChild2(events, entry, i)), tick && /* @__PURE__ */ React2.createElement(TickItem, {
94758
94756
  option: tick,
94759
94757
  tickProps: finalTickProps,
94760
94758
  value: "".concat(typeof tickFormatter === "function" ? tickFormatter(entry.value, i) : entry.value).concat(unit2 || "")
94761
94759
  }));
94762
94760
  });
94763
- return /* @__PURE__ */ React$2.createElement("g", { className: "recharts-cartesian-axis-ticks recharts-".concat(axisType, "-ticks") }, /* @__PURE__ */ React$2.createElement(RenderedTicksReporter, {
94761
+ return /* @__PURE__ */ React2.createElement("g", { className: "recharts-cartesian-axis-ticks recharts-".concat(axisType, "-ticks") }, /* @__PURE__ */ React2.createElement(RenderedTicksReporter, {
94764
94762
  ticks: finalTicks,
94765
94763
  axisId,
94766
94764
  axisType
94767
- }), tickLabels.length > 0 && /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: DefaultZIndexes.label }, /* @__PURE__ */ React$2.createElement("g", {
94765
+ }), tickLabels.length > 0 && /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: DefaultZIndexes.label }, /* @__PURE__ */ React2.createElement("g", {
94768
94766
  className: "recharts-cartesian-axis-tick-labels recharts-".concat(axisType, "-tick-labels"),
94769
94767
  ref
94770
- }, tickLabels)), tickLines.length > 0 && /* @__PURE__ */ React$2.createElement("g", { className: "recharts-cartesian-axis-tick-lines recharts-".concat(axisType, "-tick-lines") }, tickLines));
94768
+ }, tickLabels)), tickLines.length > 0 && /* @__PURE__ */ React2.createElement("g", { className: "recharts-cartesian-axis-tick-lines recharts-".concat(axisType, "-tick-lines") }, tickLines));
94771
94769
  });
94772
94770
  var CartesianAxisComponent = /* @__PURE__ */ forwardRef2((props, ref) => {
94773
94771
  var axisLine = props.axisLine, width = props.width, height = props.height, className = props.className, hide = props.hide, ticks2 = props.ticks, axisType = props.axisType, axisId = props.axisId, rest2 = _objectWithoutProperties$15(props, _excluded$15);
@@ -94814,7 +94812,7 @@ var CartesianAxisComponent = /* @__PURE__ */ forwardRef2((props, ref) => {
94814
94812
  }, [fontSize, letterSpacing]);
94815
94813
  if (hide) return null;
94816
94814
  if (width != null && width <= 0 || height != null && height <= 0) return null;
94817
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: props.zIndex }, /* @__PURE__ */ React$2.createElement(Layer, { className: clsx("recharts-cartesian-axis", className) }, /* @__PURE__ */ React$2.createElement(AxisLine, {
94815
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: props.zIndex }, /* @__PURE__ */ React2.createElement(Layer, { className: clsx("recharts-cartesian-axis", className) }, /* @__PURE__ */ React2.createElement(AxisLine, {
94818
94816
  x: props.x,
94819
94817
  y: props.y,
94820
94818
  width,
@@ -94823,7 +94821,7 @@ var CartesianAxisComponent = /* @__PURE__ */ forwardRef2((props, ref) => {
94823
94821
  mirror: props.mirror,
94824
94822
  axisLine,
94825
94823
  otherSvgProps: svgPropertiesNoEvents(props)
94826
- }), /* @__PURE__ */ React$2.createElement(Ticks, {
94824
+ }), /* @__PURE__ */ React2.createElement(Ticks, {
94827
94825
  ref: layerRef,
94828
94826
  axisType,
94829
94827
  events: rest2,
@@ -94847,21 +94845,21 @@ var CartesianAxisComponent = /* @__PURE__ */ forwardRef2((props, ref) => {
94847
94845
  x: props.x,
94848
94846
  y: props.y,
94849
94847
  axisId
94850
- }), /* @__PURE__ */ React$2.createElement(CartesianLabelContextProvider, {
94848
+ }), /* @__PURE__ */ React2.createElement(CartesianLabelContextProvider, {
94851
94849
  x: props.x,
94852
94850
  y: props.y,
94853
94851
  width: props.width,
94854
94852
  height: props.height,
94855
94853
  lowerWidth: props.width,
94856
94854
  upperWidth: props.width
94857
- }, /* @__PURE__ */ React$2.createElement(CartesianLabelFromLabelProp, {
94855
+ }, /* @__PURE__ */ React2.createElement(CartesianLabelFromLabelProp, {
94858
94856
  label: props.label,
94859
94857
  labelRef: props.labelRef
94860
94858
  }), props.children)));
94861
94859
  });
94862
- var CartesianAxis = /* @__PURE__ */ React$2.forwardRef((outsideProps, ref) => {
94860
+ var CartesianAxis = /* @__PURE__ */ React2.forwardRef((outsideProps, ref) => {
94863
94861
  var props = resolveDefaultProps(outsideProps, defaultCartesianAxisProps);
94864
- return /* @__PURE__ */ React$2.createElement(CartesianAxisComponent, _extends$13({}, props, { ref }));
94862
+ return /* @__PURE__ */ React2.createElement(CartesianAxisComponent, _extends$13({}, props, { ref }));
94865
94863
  });
94866
94864
  CartesianAxis.displayName = "CartesianAxis";
94867
94865
  var RechartsThemeContext = /* @__PURE__ */ createContext2({ grid: {
@@ -94954,7 +94952,7 @@ var Background2 = (props) => {
94954
94952
  var fill = props.fill;
94955
94953
  if (!fill || fill === "none") return null;
94956
94954
  var fillOpacity = props.fillOpacity, x2 = props.x, y2 = props.y, width = props.width, height = props.height, ry = props.ry;
94957
- return /* @__PURE__ */ React$2.createElement("rect", {
94955
+ return /* @__PURE__ */ React2.createElement("rect", {
94958
94956
  x: x2,
94959
94957
  y: y2,
94960
94958
  ry,
@@ -94969,7 +94967,7 @@ var Background2 = (props) => {
94969
94967
  function LineItem(_ref2) {
94970
94968
  var option = _ref2.option, lineItemProps = _ref2.lineItemProps;
94971
94969
  var lineItem;
94972
- if (/* @__PURE__ */ React$2.isValidElement(option)) lineItem = /* @__PURE__ */ React$2.cloneElement(option, lineItemProps);
94970
+ if (/* @__PURE__ */ React2.isValidElement(option)) lineItem = /* @__PURE__ */ React2.cloneElement(option, lineItemProps);
94973
94971
  else if (typeof option === "function") lineItem = option(lineItemProps);
94974
94972
  else {
94975
94973
  var _svgPropertiesNoEvent;
@@ -94977,7 +94975,7 @@ function LineItem(_ref2) {
94977
94975
  _ref22.offset;
94978
94976
  var restOfFilteredProps = _objectWithoutProperties$14(_ref22, _excluded2$7);
94979
94977
  var strokeDasharray = Array.isArray(restOfFilteredProps.strokeDasharray) ? restOfFilteredProps.strokeDasharray.join(",") : restOfFilteredProps.strokeDasharray;
94980
- lineItem = /* @__PURE__ */ React$2.createElement("line", _extends$12({}, restOfFilteredProps, {
94978
+ lineItem = /* @__PURE__ */ React2.createElement("line", _extends$12({}, restOfFilteredProps, {
94981
94979
  strokeDasharray,
94982
94980
  x1,
94983
94981
  y1,
@@ -95004,13 +95002,13 @@ function HorizontalGridLines(props) {
95004
95002
  key: "line-".concat(i),
95005
95003
  index: i
95006
95004
  });
95007
- return /* @__PURE__ */ React$2.createElement(LineItem, {
95005
+ return /* @__PURE__ */ React2.createElement(LineItem, {
95008
95006
  key: "line-".concat(i),
95009
95007
  option: horizontal,
95010
95008
  lineItemProps
95011
95009
  });
95012
95010
  });
95013
- return /* @__PURE__ */ React$2.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, items);
95011
+ return /* @__PURE__ */ React2.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, items);
95014
95012
  }
95015
95013
  function VerticalGridLines(props) {
95016
95014
  var y2 = props.y, height = props.height, _props$vertical = props.vertical, vertical = _props$vertical === void 0 ? true : _props$vertical, verticalPoints = props.verticalPoints;
@@ -95027,13 +95025,13 @@ function VerticalGridLines(props) {
95027
95025
  key: "line-".concat(i),
95028
95026
  index: i
95029
95027
  });
95030
- return /* @__PURE__ */ React$2.createElement(LineItem, {
95028
+ return /* @__PURE__ */ React2.createElement(LineItem, {
95031
95029
  option: vertical,
95032
95030
  lineItemProps,
95033
95031
  key: "line-".concat(i)
95034
95032
  });
95035
95033
  });
95036
- return /* @__PURE__ */ React$2.createElement("g", { className: "recharts-cartesian-grid-vertical" }, items);
95034
+ return /* @__PURE__ */ React2.createElement("g", { className: "recharts-cartesian-grid-vertical" }, items);
95037
95035
  }
95038
95036
  function HorizontalStripes(props) {
95039
95037
  var horizontalFill = props.horizontalFill, fillOpacity = props.fillOpacity, x2 = props.x, y2 = props.y, width = props.width, height = props.height, horizontalPoints = props.horizontalPoints, _props$horizontal2 = props.horizontal;
@@ -95045,7 +95043,7 @@ function HorizontalStripes(props) {
95045
95043
  var lineHeight = nextPoint == null ? y2 + height - entry : nextPoint - entry;
95046
95044
  if (lineHeight <= 0) return null;
95047
95045
  var colorIndex = i % horizontalFill.length;
95048
- return /* @__PURE__ */ React$2.createElement("rect", {
95046
+ return /* @__PURE__ */ React2.createElement("rect", {
95049
95047
  key: "react-".concat(i),
95050
95048
  y: entry,
95051
95049
  x: x2,
@@ -95057,7 +95055,7 @@ function HorizontalStripes(props) {
95057
95055
  className: "recharts-cartesian-grid-bg"
95058
95056
  });
95059
95057
  });
95060
- return /* @__PURE__ */ React$2.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, items);
95058
+ return /* @__PURE__ */ React2.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, items);
95061
95059
  }
95062
95060
  function VerticalStripes(props) {
95063
95061
  var _props$vertical2 = props.vertical, vertical = _props$vertical2 === void 0 ? true : _props$vertical2, verticalFill = props.verticalFill, fillOpacity = props.fillOpacity, x2 = props.x, y2 = props.y, width = props.width, height = props.height, verticalPoints = props.verticalPoints;
@@ -95069,7 +95067,7 @@ function VerticalStripes(props) {
95069
95067
  var lineWidth = nextPoint == null ? x2 + width - entry : nextPoint - entry;
95070
95068
  if (lineWidth <= 0) return null;
95071
95069
  var colorIndex = i % verticalFill.length;
95072
- return /* @__PURE__ */ React$2.createElement("rect", {
95070
+ return /* @__PURE__ */ React2.createElement("rect", {
95073
95071
  key: "react-".concat(i),
95074
95072
  x: entry,
95075
95073
  y: y2,
@@ -95081,7 +95079,7 @@ function VerticalStripes(props) {
95081
95079
  className: "recharts-cartesian-grid-bg"
95082
95080
  });
95083
95081
  });
95084
- return /* @__PURE__ */ React$2.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, items);
95082
+ return /* @__PURE__ */ React2.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, items);
95085
95083
  }
95086
95084
  var defaultVerticalCoordinatesGenerator2 = (_ref3, syncWithTicks) => {
95087
95085
  var xAxis = _ref3.xAxis, width = _ref3.width, height = _ref3.height, offset2 = _ref3.offset;
@@ -95167,7 +95165,7 @@ function CartesianGrid(props) {
95167
95165
  warn3(Array.isArray(_generatorResult), "verticalCoordinatesGenerator should return Array but instead it returned [".concat(typeof _generatorResult, "]"));
95168
95166
  if (Array.isArray(_generatorResult)) verticalPoints = _generatorResult;
95169
95167
  }
95170
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: propsIncludingDefaults.zIndex }, /* @__PURE__ */ React$2.createElement("g", { className: "recharts-cartesian-grid" }, /* @__PURE__ */ React$2.createElement(Background2, {
95168
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: propsIncludingDefaults.zIndex }, /* @__PURE__ */ React2.createElement("g", { className: "recharts-cartesian-grid" }, /* @__PURE__ */ React2.createElement(Background2, {
95171
95169
  fill: (_propsIncludingDefaul5 = propsIncludingDefaults.fill) !== null && _propsIncludingDefaul5 !== void 0 ? _propsIncludingDefaul5 : theme.grid.fill,
95172
95170
  fillOpacity: (_propsIncludingDefaul6 = propsIncludingDefaults.fillOpacity) !== null && _propsIncludingDefaul6 !== void 0 ? _propsIncludingDefaul6 : theme.grid.fillOpacity,
95173
95171
  x: propsIncludingDefaults.x,
@@ -95175,12 +95173,12 @@ function CartesianGrid(props) {
95175
95173
  width: propsIncludingDefaults.width,
95176
95174
  height: propsIncludingDefaults.height,
95177
95175
  ry: propsIncludingDefaults.ry
95178
- }), /* @__PURE__ */ React$2.createElement(HorizontalStripes, _extends$12({}, propsIncludingDefaults, { horizontalPoints })), /* @__PURE__ */ React$2.createElement(VerticalStripes, _extends$12({}, propsIncludingDefaults, { verticalPoints })), /* @__PURE__ */ React$2.createElement(HorizontalGridLines, _extends$12({}, propsIncludingDefaults, themeProps, {
95176
+ }), /* @__PURE__ */ React2.createElement(HorizontalStripes, _extends$12({}, propsIncludingDefaults, { horizontalPoints })), /* @__PURE__ */ React2.createElement(VerticalStripes, _extends$12({}, propsIncludingDefaults, { verticalPoints })), /* @__PURE__ */ React2.createElement(HorizontalGridLines, _extends$12({}, propsIncludingDefaults, themeProps, {
95179
95177
  offset: offset2,
95180
95178
  horizontalPoints,
95181
95179
  xAxis,
95182
95180
  yAxis
95183
- })), /* @__PURE__ */ React$2.createElement(VerticalGridLines, _extends$12({}, propsIncludingDefaults, themeProps, {
95181
+ })), /* @__PURE__ */ React2.createElement(VerticalGridLines, _extends$12({}, propsIncludingDefaults, themeProps, {
95184
95182
  offset: offset2,
95185
95183
  verticalPoints,
95186
95184
  xAxis,
@@ -95279,7 +95277,7 @@ function LineDrawShape(props) {
95279
95277
  var pathRef = curveProps.pathRef;
95280
95278
  strokeDasharray = computeAnimatedStrokeDasharray(userStrokeDasharray, getTotalLength$1((_pathRef$current = pathRef === null || pathRef === void 0 ? void 0 : pathRef.current) !== null && _pathRef$current !== void 0 ? _pathRef$current : null), visibleLength);
95281
95279
  } else if (userStrokeDasharray != null) strokeDasharray = String(userStrokeDasharray);
95282
- return /* @__PURE__ */ React$2.createElement(Curve2, _extends$11({}, curveProps, {
95280
+ return /* @__PURE__ */ React2.createElement(Curve2, _extends$11({}, curveProps, {
95283
95281
  connectNulls: finalConnectNulls,
95284
95282
  strokeDasharray
95285
95283
  }));
@@ -95362,7 +95360,7 @@ var ErrorBarContext = /* @__PURE__ */ createContext2({
95362
95360
  });
95363
95361
  function SetErrorBarContext(props) {
95364
95362
  var children = props.children, rest2 = _objectWithoutProperties$12(props, _excluded$12);
95365
- return /* @__PURE__ */ React$2.createElement(ErrorBarContext.Provider, { value: rest2 }, children);
95363
+ return /* @__PURE__ */ React2.createElement(ErrorBarContext.Provider, { value: rest2 }, children);
95366
95364
  }
95367
95365
  function useNeedsClip(xAxisId, yAxisId) {
95368
95366
  var _xAxis$allowDataOverf, _yAxis$allowDataOverf;
@@ -95388,7 +95386,7 @@ function GraphicalItemClipPath(_ref2) {
95388
95386
  var clipY = needClipY && yAxisRange ? Math.min(yAxisRange[0], yAxisRange[1]) : y2 - height / 2;
95389
95387
  var clipWidth = needClipX && xAxisRange ? Math.abs(xAxisRange[1] - xAxisRange[0]) : width * 2;
95390
95388
  var clipHeight = needClipY && yAxisRange ? Math.abs(yAxisRange[1] - yAxisRange[0]) : height * 2;
95391
- return /* @__PURE__ */ React$2.createElement("clipPath", { id: "clipPath-".concat(clipPathId) }, /* @__PURE__ */ React$2.createElement("rect", {
95389
+ return /* @__PURE__ */ React2.createElement("clipPath", { id: "clipPath-".concat(clipPathId) }, /* @__PURE__ */ React2.createElement("rect", {
95392
95390
  x: clipX,
95393
95391
  y: clipY,
95394
95392
  width: clipWidth,
@@ -95634,7 +95632,7 @@ var computeLegendPayloadFromAreaData$1 = (props) => {
95634
95632
  payload: props
95635
95633
  }];
95636
95634
  };
95637
- var SetLineTooltipEntrySettings = /* @__PURE__ */ React$2.memo((_ref2) => {
95635
+ var SetLineTooltipEntrySettings = /* @__PURE__ */ React2.memo((_ref2) => {
95638
95636
  var dataKey = _ref2.dataKey, data = _ref2.data, stroke = _ref2.stroke, strokeWidth = _ref2.strokeWidth, fill = _ref2.fill, name = _ref2.name, hide = _ref2.hide, unit2 = _ref2.unit, formatter = _ref2.formatter, tooltipType = _ref2.tooltipType, id = _ref2.id;
95639
95637
  var tooltipEntrySettings = {
95640
95638
  dataDefinedOnItem: data,
@@ -95654,14 +95652,14 @@ var SetLineTooltipEntrySettings = /* @__PURE__ */ React$2.memo((_ref2) => {
95654
95652
  graphicalItemId: id
95655
95653
  }
95656
95654
  };
95657
- return /* @__PURE__ */ React$2.createElement(SetTooltipEntrySettings, { tooltipEntrySettings });
95655
+ return /* @__PURE__ */ React2.createElement(SetTooltipEntrySettings, { tooltipEntrySettings });
95658
95656
  });
95659
95657
  function LineDotsWrapper(_ref2) {
95660
95658
  var clipPathId = _ref2.clipPathId, points = _ref2.points, props = _ref2.props;
95661
95659
  var dot2 = props.dot, dataKey = props.dataKey, needClip = props.needClip;
95662
95660
  props.id;
95663
95661
  var lineProps = svgPropertiesNoEvents(_objectWithoutProperties$11(props, _excluded$11));
95664
- return /* @__PURE__ */ React$2.createElement(Dots, {
95662
+ return /* @__PURE__ */ React2.createElement(Dots, {
95665
95663
  points,
95666
95664
  dot: dot2,
95667
95665
  className: "recharts-line-dots",
@@ -95694,7 +95692,7 @@ function LineLabelListProvider(_ref3) {
95694
95692
  });
95695
95693
  });
95696
95694
  }, [points]);
95697
- return /* @__PURE__ */ React$2.createElement(CartesianLabelListContextProvider, { value: showLabels ? labelListEntries : void 0 }, children);
95695
+ return /* @__PURE__ */ React2.createElement(CartesianLabelListContextProvider, { value: showLabels ? labelListEntries : void 0 }, children);
95698
95696
  }
95699
95697
  function StaticCurve(_ref4) {
95700
95698
  var clipPathId = _ref4.clipPathId, pathRef = _ref4.pathRef, points = _ref4.points, props = _ref4.props, animationElapsedTime = _ref4.animationElapsedTime, isAnimating = _ref4.isAnimating, isEntrance = _ref4.isEntrance, visibleLength = _ref4.visibleLength;
@@ -95714,11 +95712,11 @@ function StaticCurve(_ref4) {
95714
95712
  isEntrance: props.animateNewValues ? isEntrance : false,
95715
95713
  visibleLength
95716
95714
  });
95717
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, (points === null || points === void 0 ? void 0 : points.length) > 1 && /* @__PURE__ */ React$2.createElement(Shape, {
95715
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, (points === null || points === void 0 ? void 0 : points.length) > 1 && /* @__PURE__ */ React2.createElement(Shape, {
95718
95716
  option: shape,
95719
95717
  DefaultShape: defaultLineProps.shape,
95720
95718
  shapeProps: curveProps
95721
- }), /* @__PURE__ */ React$2.createElement(LineDotsWrapper, {
95719
+ }), /* @__PURE__ */ React2.createElement(LineDotsWrapper, {
95722
95720
  points,
95723
95721
  clipPathId,
95724
95722
  props
@@ -95732,10 +95730,10 @@ function CurveWithAnimation(_ref5) {
95732
95730
  var showLabels = !isAnimating;
95733
95731
  var getVisibleLength = useAnimatedLineLength(points);
95734
95732
  var shouldUpdatePreviousRef = useCallback2((animationElapsedTime) => animationElapsedTime > 0 && totalLength > 0, [totalLength]);
95735
- return /* @__PURE__ */ React$2.createElement(LineLabelListProvider, {
95733
+ return /* @__PURE__ */ React2.createElement(LineLabelListProvider, {
95736
95734
  points,
95737
95735
  showLabels
95738
- }, props.children, /* @__PURE__ */ React$2.createElement(AnimatedItems, {
95736
+ }, props.children, /* @__PURE__ */ React2.createElement(AnimatedItems, {
95739
95737
  animationInput: points,
95740
95738
  animationIdPrefix: "recharts-line-",
95741
95739
  items: points,
@@ -95753,7 +95751,7 @@ function CurveWithAnimation(_ref5) {
95753
95751
  }, (stepData, animationElapsedTime, isEntrance) => {
95754
95752
  var animationActive = isAnimating || animationElapsedTime < 1;
95755
95753
  var visibleLength = animationActive ? getVisibleLength(animationElapsedTime, totalLength) : null;
95756
- return /* @__PURE__ */ React$2.createElement(StaticCurve, {
95754
+ return /* @__PURE__ */ React2.createElement(StaticCurve, {
95757
95755
  props,
95758
95756
  points: stepData,
95759
95757
  clipPathId,
@@ -95763,13 +95761,13 @@ function CurveWithAnimation(_ref5) {
95763
95761
  isEntrance,
95764
95762
  visibleLength
95765
95763
  });
95766
- }), /* @__PURE__ */ React$2.createElement(LabelListFromLabelProp, { label: props.label }));
95764
+ }), /* @__PURE__ */ React2.createElement(LabelListFromLabelProp, { label: props.label }));
95767
95765
  }
95768
95766
  function RenderCurve(_ref6) {
95769
95767
  var clipPathId = _ref6.clipPathId, props = _ref6.props;
95770
95768
  var previousPointsRef = useRef2(null);
95771
95769
  var pathRef = useRef2(null);
95772
- return /* @__PURE__ */ React$2.createElement(CurveWithAnimation, {
95770
+ return /* @__PURE__ */ React2.createElement(CurveWithAnimation, {
95773
95771
  props,
95774
95772
  clipPathId,
95775
95773
  previousPointsRef,
@@ -95795,25 +95793,25 @@ var LineWithState = class extends Component2 {
95795
95793
  var clipDot = isClipDot(dot2);
95796
95794
  var dotSize = r2 * 2 + strokeWidth;
95797
95795
  var activePointsClipPath = needClip ? "url(#clipPath-".concat(clipDot ? "" : "dots-").concat(clipPathId, ")") : void 0;
95798
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex }, /* @__PURE__ */ React$2.createElement(Layer, { className: layerClass }, needClip && /* @__PURE__ */ React$2.createElement("defs", null, /* @__PURE__ */ React$2.createElement(GraphicalItemClipPath, {
95796
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex }, /* @__PURE__ */ React2.createElement(Layer, { className: layerClass }, needClip && /* @__PURE__ */ React2.createElement("defs", null, /* @__PURE__ */ React2.createElement(GraphicalItemClipPath, {
95799
95797
  clipPathId,
95800
95798
  xAxisId,
95801
95799
  yAxisId
95802
- }), !clipDot && /* @__PURE__ */ React$2.createElement("clipPath", { id: "clipPath-dots-".concat(clipPathId) }, /* @__PURE__ */ React$2.createElement("rect", {
95800
+ }), !clipDot && /* @__PURE__ */ React2.createElement("clipPath", { id: "clipPath-dots-".concat(clipPathId) }, /* @__PURE__ */ React2.createElement("rect", {
95803
95801
  x: left - dotSize / 2,
95804
95802
  y: top - dotSize / 2,
95805
95803
  width: width + dotSize,
95806
95804
  height: height + dotSize
95807
- }))), /* @__PURE__ */ React$2.createElement(SetErrorBarContext, {
95805
+ }))), /* @__PURE__ */ React2.createElement(SetErrorBarContext, {
95808
95806
  xAxisId,
95809
95807
  yAxisId,
95810
95808
  data: points,
95811
95809
  dataPointFormatter: errorBarDataPointFormatter$1,
95812
95810
  errorBarOffset: 0
95813
- }, /* @__PURE__ */ React$2.createElement(RenderCurve, {
95811
+ }, /* @__PURE__ */ React2.createElement(RenderCurve, {
95814
95812
  props: this.props,
95815
95813
  clipPathId
95816
- }))), /* @__PURE__ */ React$2.createElement(ActivePoints, {
95814
+ }))), /* @__PURE__ */ React2.createElement(ActivePoints, {
95817
95815
  activeDot: this.props.activeDot,
95818
95816
  points,
95819
95817
  mainColor: this.props.stroke,
@@ -95831,7 +95829,7 @@ function LineImpl(props) {
95831
95829
  var points = useAppSelector((state) => selectLinePoints(state, xAxisId, yAxisId, isPanorama, id));
95832
95830
  if (layout !== "horizontal" && layout !== "vertical" || points == null || plotArea == null) return null;
95833
95831
  var height = plotArea.height, width = plotArea.width, left = plotArea.x, top = plotArea.y;
95834
- return /* @__PURE__ */ React$2.createElement(LineWithState, _extends$10({}, everythingElse, {
95832
+ return /* @__PURE__ */ React2.createElement(LineWithState, _extends$10({}, everythingElse, {
95835
95833
  id,
95836
95834
  connectNulls,
95837
95835
  dot: dot2,
@@ -95895,10 +95893,10 @@ function computeLinePoints(_ref7) {
95895
95893
  function LineFn(outsideProps) {
95896
95894
  var props = resolveDefaultProps(outsideProps, defaultLineProps);
95897
95895
  var isPanorama = useIsPanorama();
95898
- return /* @__PURE__ */ React$2.createElement(RegisterGraphicalItemId, {
95896
+ return /* @__PURE__ */ React2.createElement(RegisterGraphicalItemId, {
95899
95897
  id: props.id,
95900
95898
  type: "line"
95901
- }, (id) => /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(SetLegendPayload, { legendPayload: computeLegendPayloadFromAreaData$1(props) }), /* @__PURE__ */ React$2.createElement(SetLineTooltipEntrySettings, {
95899
+ }, (id) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(SetLegendPayload, { legendPayload: computeLegendPayloadFromAreaData$1(props) }), /* @__PURE__ */ React2.createElement(SetLineTooltipEntrySettings, {
95902
95900
  dataKey: props.dataKey,
95903
95901
  data: props.data,
95904
95902
  stroke: props.stroke,
@@ -95910,7 +95908,7 @@ function LineFn(outsideProps) {
95910
95908
  formatter: props.formatter,
95911
95909
  tooltipType: props.tooltipType,
95912
95910
  id
95913
- }), /* @__PURE__ */ React$2.createElement(SetCartesianGraphicalItem, {
95911
+ }), /* @__PURE__ */ React2.createElement(SetCartesianGraphicalItem, {
95914
95912
  type: "line",
95915
95913
  id,
95916
95914
  data: props.data,
@@ -95920,9 +95918,9 @@ function LineFn(outsideProps) {
95920
95918
  dataKey: props.dataKey,
95921
95919
  hide: props.hide,
95922
95920
  isPanorama
95923
- }), /* @__PURE__ */ React$2.createElement(LineImpl, _extends$10({}, props, { id }))));
95921
+ }), /* @__PURE__ */ React2.createElement(LineImpl, _extends$10({}, props, { id }))));
95924
95922
  }
95925
- var Line = /* @__PURE__ */ React$2.memo(LineFn, propsAreEqual);
95923
+ var Line = /* @__PURE__ */ React2.memo(LineFn, propsAreEqual);
95926
95924
  Line.displayName = "Line";
95927
95925
  function selectXAxisIdFromGraphicalItemId(state, id) {
95928
95926
  var _state$graphicalItems, _state$graphicalItems2;
@@ -96053,7 +96051,7 @@ function HorizontalClipRect(_ref2) {
96053
96051
  var maxY = Math.max(...points.map((entry) => entry.y || 0));
96054
96052
  if (isNumber2(baseLine)) maxY = Math.max(baseLine, maxY);
96055
96053
  else if (baseLine && Array.isArray(baseLine) && baseLine.length) maxY = Math.max(...baseLine.map((entry) => entry.y || 0), maxY);
96056
- if (isNumber2(maxY)) return /* @__PURE__ */ React$2.createElement("rect", {
96054
+ if (isNumber2(maxY)) return /* @__PURE__ */ React2.createElement("rect", {
96057
96055
  x: startX < endX ? startX : startX - width,
96058
96056
  y: 0,
96059
96057
  width,
@@ -96071,7 +96069,7 @@ function VerticalClipRect(_ref2) {
96071
96069
  var maxX = Math.max(...points.map((entry) => entry.x || 0));
96072
96070
  if (isNumber2(baseLine)) maxX = Math.max(baseLine, maxX);
96073
96071
  else if (baseLine && Array.isArray(baseLine) && baseLine.length) maxX = Math.max(...baseLine.map((entry) => entry.x || 0), maxX);
96074
- if (isNumber2(maxX)) return /* @__PURE__ */ React$2.createElement("rect", {
96072
+ if (isNumber2(maxX)) return /* @__PURE__ */ React2.createElement("rect", {
96075
96073
  x: 0,
96076
96074
  y: startY < endY ? startY : startY - height,
96077
96075
  width: maxX + (strokeWidth ? parseInt("".concat(strokeWidth), 10) : 1),
@@ -96081,13 +96079,13 @@ function VerticalClipRect(_ref2) {
96081
96079
  }
96082
96080
  function RevealClipRect(_ref3) {
96083
96081
  var alpha3 = _ref3.alpha, layout = _ref3.layout, points = _ref3.points, baseLine = _ref3.baseLine, strokeWidth = _ref3.strokeWidth;
96084
- if (layout === "vertical") return /* @__PURE__ */ React$2.createElement(VerticalClipRect, {
96082
+ if (layout === "vertical") return /* @__PURE__ */ React2.createElement(VerticalClipRect, {
96085
96083
  alpha: alpha3,
96086
96084
  points,
96087
96085
  baseLine,
96088
96086
  strokeWidth
96089
96087
  });
96090
- return /* @__PURE__ */ React$2.createElement(HorizontalClipRect, {
96088
+ return /* @__PURE__ */ React2.createElement(HorizontalClipRect, {
96091
96089
  alpha: alpha3,
96092
96090
  points,
96093
96091
  baseLine,
@@ -96101,7 +96099,7 @@ function AreaRevealShape(props) {
96101
96099
  var clipId = useId$12();
96102
96100
  var id = restProps.id, baseLine = restProps.baseLine;
96103
96101
  var strokeSvgProps = svgPropertiesNoEvents(_objectWithoutProperties$10(restProps, _excluded2$5));
96104
- var fillCurve = /* @__PURE__ */ React$2.createElement(Curve2, _extends$9({}, restProps, {
96102
+ var fillCurve = /* @__PURE__ */ React2.createElement(Curve2, _extends$9({}, restProps, {
96105
96103
  id,
96106
96104
  baseLine,
96107
96105
  connectNulls: finalConnectNulls,
@@ -96109,7 +96107,7 @@ function AreaRevealShape(props) {
96109
96107
  className: "recharts-area-area",
96110
96108
  layout
96111
96109
  }));
96112
- var strokeCurve = stroke !== "none" && /* @__PURE__ */ React$2.createElement(Curve2, _extends$9({}, strokeSvgProps, {
96110
+ var strokeCurve = stroke !== "none" && /* @__PURE__ */ React2.createElement(Curve2, _extends$9({}, strokeSvgProps, {
96113
96111
  className: "recharts-area-curve",
96114
96112
  layout,
96115
96113
  type: restProps.type,
@@ -96118,7 +96116,7 @@ function AreaRevealShape(props) {
96118
96116
  stroke,
96119
96117
  points: restProps.points
96120
96118
  }));
96121
- var baselineCurve = stroke !== "none" && isRange && Array.isArray(baseLine) && /* @__PURE__ */ React$2.createElement(Curve2, _extends$9({}, strokeSvgProps, {
96119
+ var baselineCurve = stroke !== "none" && isRange && Array.isArray(baseLine) && /* @__PURE__ */ React2.createElement(Curve2, _extends$9({}, strokeSvgProps, {
96122
96120
  className: "recharts-area-curve",
96123
96121
  layout,
96124
96122
  type: restProps.type,
@@ -96129,15 +96127,15 @@ function AreaRevealShape(props) {
96129
96127
  }));
96130
96128
  if (isEntrance && (isAnimating || animationElapsedTime < 1)) {
96131
96129
  var _restProps$points;
96132
- return /* @__PURE__ */ React$2.createElement(Layer, null, /* @__PURE__ */ React$2.createElement("defs", null, /* @__PURE__ */ React$2.createElement("clipPath", { id: clipId }, /* @__PURE__ */ React$2.createElement(RevealClipRect, {
96130
+ return /* @__PURE__ */ React2.createElement(Layer, null, /* @__PURE__ */ React2.createElement("defs", null, /* @__PURE__ */ React2.createElement("clipPath", { id: clipId }, /* @__PURE__ */ React2.createElement(RevealClipRect, {
96133
96131
  alpha: animationElapsedTime,
96134
96132
  points: (_restProps$points = restProps.points) !== null && _restProps$points !== void 0 ? _restProps$points : [],
96135
96133
  baseLine,
96136
96134
  layout,
96137
96135
  strokeWidth: restProps.strokeWidth
96138
- }))), /* @__PURE__ */ React$2.createElement(Layer, { clipPath: "url(#".concat(clipId, ")") }, fillCurve, strokeCurve, baselineCurve));
96136
+ }))), /* @__PURE__ */ React2.createElement(Layer, { clipPath: "url(#".concat(clipId, ")") }, fillCurve, strokeCurve, baselineCurve));
96139
96137
  }
96140
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, fillCurve, strokeCurve, baselineCurve);
96138
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, fillCurve, strokeCurve, baselineCurve);
96141
96139
  }
96142
96140
  var _excluded$9 = ["id"];
96143
96141
  var _excluded2$4 = [
@@ -96275,7 +96273,7 @@ var computeLegendPayloadFromAreaData = (props) => {
96275
96273
  payload: props
96276
96274
  }];
96277
96275
  };
96278
- var SetAreaTooltipEntrySettings = /* @__PURE__ */ React$2.memo((_ref2) => {
96276
+ var SetAreaTooltipEntrySettings = /* @__PURE__ */ React2.memo((_ref2) => {
96279
96277
  var dataKey = _ref2.dataKey, data = _ref2.data, stroke = _ref2.stroke, strokeWidth = _ref2.strokeWidth, fill = _ref2.fill, name = _ref2.name, hide = _ref2.hide, unit2 = _ref2.unit, formatter = _ref2.formatter, tooltipType = _ref2.tooltipType, id = _ref2.id;
96280
96278
  var tooltipEntrySettings = {
96281
96279
  dataDefinedOnItem: data,
@@ -96295,13 +96293,13 @@ var SetAreaTooltipEntrySettings = /* @__PURE__ */ React$2.memo((_ref2) => {
96295
96293
  graphicalItemId: id
96296
96294
  }
96297
96295
  };
96298
- return /* @__PURE__ */ React$2.createElement(SetTooltipEntrySettings, { tooltipEntrySettings });
96296
+ return /* @__PURE__ */ React2.createElement(SetTooltipEntrySettings, { tooltipEntrySettings });
96299
96297
  });
96300
96298
  function AreaDotsWrapper(_ref2) {
96301
96299
  var clipPathId = _ref2.clipPathId, points = _ref2.points, props = _ref2.props;
96302
96300
  var needClip = props.needClip, dot2 = props.dot, dataKey = props.dataKey;
96303
96301
  var areaProps = svgPropertiesNoEvents(props);
96304
- return /* @__PURE__ */ React$2.createElement(Dots, {
96302
+ return /* @__PURE__ */ React2.createElement(Dots, {
96305
96303
  points,
96306
96304
  dot: dot2,
96307
96305
  className: "recharts-area-dots",
@@ -96332,7 +96330,7 @@ function AreaLabelListProvider(_ref3) {
96332
96330
  fill: void 0
96333
96331
  });
96334
96332
  });
96335
- return /* @__PURE__ */ React$2.createElement(CartesianLabelListContextProvider, { value: showLabels ? labelListEntries : void 0 }, children);
96333
+ return /* @__PURE__ */ React2.createElement(CartesianLabelListContextProvider, { value: showLabels ? labelListEntries : void 0 }, children);
96336
96334
  }
96337
96335
  function StaticArea(_ref4) {
96338
96336
  var points = _ref4.points, baseLine = _ref4.baseLine, needClip = _ref4.needClip, clipPathId = _ref4.clipPathId, props = _ref4.props, animationElapsedTime = _ref4.animationElapsedTime, isAnimating = _ref4.isAnimating, isEntrance = _ref4.isEntrance;
@@ -96351,11 +96349,11 @@ function StaticArea(_ref4) {
96351
96349
  isAnimating,
96352
96350
  isEntrance
96353
96351
  });
96354
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, (points === null || points === void 0 ? void 0 : points.length) > 1 && /* @__PURE__ */ React$2.createElement(Layer, { clipPath: needClip ? "url(#clipPath-".concat(clipPathId, ")") : void 0 }, /* @__PURE__ */ React$2.createElement(Shape, {
96352
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, (points === null || points === void 0 ? void 0 : points.length) > 1 && /* @__PURE__ */ React2.createElement(Layer, { clipPath: needClip ? "url(#clipPath-".concat(clipPathId, ")") : void 0 }, /* @__PURE__ */ React2.createElement(Shape, {
96355
96353
  option: shape,
96356
96354
  DefaultShape: defaultAreaProps.shape,
96357
96355
  shapeProps: curveProps
96358
- })), /* @__PURE__ */ React$2.createElement(AreaDotsWrapper, {
96356
+ })), /* @__PURE__ */ React2.createElement(AreaDotsWrapper, {
96359
96357
  points,
96360
96358
  props: propsWithoutId,
96361
96359
  clipPathId
@@ -96382,7 +96380,7 @@ function AreaWithAnimation(_ref5) {
96382
96380
  if (Array.isArray(baseLine) && Array.isArray(prevBaseLine)) baseLineAnimationItems = matchAnimationItems(prevBaseLine, baseLine, animationMatchBy);
96383
96381
  else if (Array.isArray(baseLine)) baseLineAnimationItems = matchAnimationItems(null, baseLine, animationMatchBy);
96384
96382
  else baseLineAnimationItems = null;
96385
- return /* @__PURE__ */ React$2.createElement(AnimatedItems, {
96383
+ return /* @__PURE__ */ React2.createElement(AnimatedItems, {
96386
96384
  animationInput,
96387
96385
  animationIdPrefix: "recharts-area-",
96388
96386
  items: points,
@@ -96402,10 +96400,10 @@ function AreaWithAnimation(_ref5) {
96402
96400
  else if (Array.isArray(baseLine)) stepBaseLine = animationInterpolateFn(baseLineAnimationItems, animationElapsedTime, layout);
96403
96401
  else stepBaseLine = isEntrance ? baseLine : interpolateScalarBaseLine(baseLine, prevBaseLine, animationElapsedTime);
96404
96402
  baseLineAnimationState.syncStepValue(stepBaseLine, animationElapsedTime);
96405
- return /* @__PURE__ */ React$2.createElement(AreaLabelListProvider, {
96403
+ return /* @__PURE__ */ React2.createElement(AreaLabelListProvider, {
96406
96404
  showLabels: !isAnimating,
96407
96405
  points
96408
- }, props.children, /* @__PURE__ */ React$2.createElement(StaticArea, {
96406
+ }, props.children, /* @__PURE__ */ React2.createElement(StaticArea, {
96409
96407
  points: stepPoints,
96410
96408
  baseLine: stepBaseLine,
96411
96409
  needClip,
@@ -96414,14 +96412,14 @@ function AreaWithAnimation(_ref5) {
96414
96412
  animationElapsedTime,
96415
96413
  isAnimating: isAnimating || animationElapsedTime < 1,
96416
96414
  isEntrance
96417
- }), /* @__PURE__ */ React$2.createElement(LabelListFromLabelProp, { label: props.label }));
96415
+ }), /* @__PURE__ */ React2.createElement(LabelListFromLabelProp, { label: props.label }));
96418
96416
  });
96419
96417
  }
96420
96418
  function RenderArea(_ref6) {
96421
96419
  var needClip = _ref6.needClip, clipPathId = _ref6.clipPathId, props = _ref6.props;
96422
96420
  var previousPointsRef = useRef2(null);
96423
96421
  var previousBaselineRef = useRef2();
96424
- return /* @__PURE__ */ React$2.createElement(AreaWithAnimation, {
96422
+ return /* @__PURE__ */ React2.createElement(AreaWithAnimation, {
96425
96423
  needClip,
96426
96424
  clipPathId,
96427
96425
  props,
@@ -96439,26 +96437,26 @@ var AreaWithState = class extends PureComponent {
96439
96437
  var clipDot = isClipDot(dot2);
96440
96438
  var dotSize = r2 * 2 + strokeWidth;
96441
96439
  var activePointsClipPath = needClip ? "url(#clipPath-".concat(clipDot ? "" : "dots-").concat(clipPathId, ")") : void 0;
96442
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex }, /* @__PURE__ */ React$2.createElement(Layer, { className: layerClass }, needClip && /* @__PURE__ */ React$2.createElement("defs", null, /* @__PURE__ */ React$2.createElement(GraphicalItemClipPath, {
96440
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex }, /* @__PURE__ */ React2.createElement(Layer, { className: layerClass }, needClip && /* @__PURE__ */ React2.createElement("defs", null, /* @__PURE__ */ React2.createElement(GraphicalItemClipPath, {
96443
96441
  clipPathId,
96444
96442
  xAxisId,
96445
96443
  yAxisId
96446
- }), !clipDot && /* @__PURE__ */ React$2.createElement("clipPath", { id: "clipPath-dots-".concat(clipPathId) }, /* @__PURE__ */ React$2.createElement("rect", {
96444
+ }), !clipDot && /* @__PURE__ */ React2.createElement("clipPath", { id: "clipPath-dots-".concat(clipPathId) }, /* @__PURE__ */ React2.createElement("rect", {
96447
96445
  x: left - dotSize / 2,
96448
96446
  y: top - dotSize / 2,
96449
96447
  width: width + dotSize,
96450
96448
  height: height + dotSize
96451
- }))), /* @__PURE__ */ React$2.createElement(RenderArea, {
96449
+ }))), /* @__PURE__ */ React2.createElement(RenderArea, {
96452
96450
  needClip,
96453
96451
  clipPathId,
96454
96452
  props: this.props
96455
- })), /* @__PURE__ */ React$2.createElement(ActivePoints, {
96453
+ })), /* @__PURE__ */ React2.createElement(ActivePoints, {
96456
96454
  points,
96457
96455
  mainColor: getLegendItemColor(this.props.stroke, this.props.fill),
96458
96456
  itemDataKey: this.props.dataKey,
96459
96457
  activeDot: this.props.activeDot,
96460
96458
  clipPath: activePointsClipPath
96461
- }), this.props.isRange && Array.isArray(baseLine) && /* @__PURE__ */ React$2.createElement(ActivePoints, {
96459
+ }), this.props.isRange && Array.isArray(baseLine) && /* @__PURE__ */ React2.createElement(ActivePoints, {
96462
96460
  points: baseLine,
96463
96461
  mainColor: getLegendItemColor(this.props.stroke, this.props.fill),
96464
96462
  itemDataKey: this.props.dataKey,
@@ -96480,7 +96478,7 @@ function AreaImpl(props) {
96480
96478
  if (chartName !== "AreaChart" && chartName !== "ComposedChart") return null;
96481
96479
  var height = plotArea.height, width = plotArea.width, left = plotArea.x, top = plotArea.y;
96482
96480
  if (!points || !points.length) return null;
96483
- return /* @__PURE__ */ React$2.createElement(AreaWithState, _extends$8({}, everythingElse, {
96481
+ return /* @__PURE__ */ React2.createElement(AreaWithState, _extends$8({}, everythingElse, {
96484
96482
  activeDot,
96485
96483
  animationBegin,
96486
96484
  animationDuration,
@@ -96600,10 +96598,10 @@ function computeArea(_ref8) {
96600
96598
  function AreaFn(outsideProps) {
96601
96599
  var props = resolveDefaultProps(outsideProps, defaultAreaProps);
96602
96600
  var isPanorama = useIsPanorama();
96603
- return /* @__PURE__ */ React$2.createElement(RegisterGraphicalItemId, {
96601
+ return /* @__PURE__ */ React2.createElement(RegisterGraphicalItemId, {
96604
96602
  id: props.id,
96605
96603
  type: "area"
96606
- }, (id) => /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(SetLegendPayload, { legendPayload: computeLegendPayloadFromAreaData(props) }), /* @__PURE__ */ React$2.createElement(SetAreaTooltipEntrySettings, {
96604
+ }, (id) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(SetLegendPayload, { legendPayload: computeLegendPayloadFromAreaData(props) }), /* @__PURE__ */ React2.createElement(SetAreaTooltipEntrySettings, {
96607
96605
  dataKey: props.dataKey,
96608
96606
  data: props.data,
96609
96607
  stroke: props.stroke,
@@ -96615,7 +96613,7 @@ function AreaFn(outsideProps) {
96615
96613
  formatter: props.formatter,
96616
96614
  tooltipType: props.tooltipType,
96617
96615
  id
96618
- }), /* @__PURE__ */ React$2.createElement(SetCartesianGraphicalItem, {
96616
+ }), /* @__PURE__ */ React2.createElement(SetCartesianGraphicalItem, {
96619
96617
  type: "area",
96620
96618
  id,
96621
96619
  data: props.data,
@@ -96629,9 +96627,9 @@ function AreaFn(outsideProps) {
96629
96627
  baseValue: props.baseValue,
96630
96628
  isPanorama,
96631
96629
  connectNulls: props.connectNulls
96632
- }), /* @__PURE__ */ React$2.createElement(AreaImpl, _extends$8({}, props, { id }))));
96630
+ }), /* @__PURE__ */ React2.createElement(AreaImpl, _extends$8({}, props, { id }))));
96633
96631
  }
96634
- var Area = /* @__PURE__ */ React$2.memo(AreaFn, propsAreEqual);
96632
+ var Area = /* @__PURE__ */ React2.memo(AreaFn, propsAreEqual);
96635
96633
  Area.displayName = "Area";
96636
96634
  var _excluded$8 = ["option"];
96637
96635
  function _objectWithoutProperties$8(e, t) {
@@ -96655,7 +96653,7 @@ function _objectWithoutPropertiesLoose$8(r2, e) {
96655
96653
  var defaultBarShape = Rectangle2;
96656
96654
  function BarRectangle(_ref2) {
96657
96655
  var option = _ref2.option, shapeProps = _objectWithoutProperties$8(_ref2, _excluded$8);
96658
- return /* @__PURE__ */ React$2.createElement(Shape, {
96656
+ return /* @__PURE__ */ React2.createElement(Shape, {
96659
96657
  option,
96660
96658
  DefaultShape: defaultBarShape,
96661
96659
  shapeProps,
@@ -96860,7 +96858,7 @@ var useBarStackClipPathUrl = (index) => {
96860
96858
  var BarStackClipLayer = (_ref2) => {
96861
96859
  var index = _ref2.index, rest2 = _objectWithoutProperties$7(_ref2, _excluded$7);
96862
96860
  var clipPathUrl = useBarStackClipPathUrl(index);
96863
- return /* @__PURE__ */ React$2.createElement(Layer, _extends$7({
96861
+ return /* @__PURE__ */ React2.createElement(Layer, _extends$7({
96864
96862
  className: "recharts-bar-stack-layer",
96865
96863
  clipPath: clipPathUrl
96866
96864
  }, rest2));
@@ -97004,7 +97002,7 @@ var computeLegendPayloadFromBarData = (props) => {
97004
97002
  payload: props
97005
97003
  }];
97006
97004
  };
97007
- var SetBarTooltipEntrySettings = /* @__PURE__ */ React$2.memo((_ref2) => {
97005
+ var SetBarTooltipEntrySettings = /* @__PURE__ */ React2.memo((_ref2) => {
97008
97006
  var dataKey = _ref2.dataKey, stroke = _ref2.stroke, strokeWidth = _ref2.strokeWidth, fill = _ref2.fill, name = _ref2.name, hide = _ref2.hide, unit2 = _ref2.unit, formatter = _ref2.formatter, tooltipType = _ref2.tooltipType, id = _ref2.id;
97009
97007
  var tooltipEntrySettings = {
97010
97008
  dataDefinedOnItem: void 0,
@@ -97024,7 +97022,7 @@ var SetBarTooltipEntrySettings = /* @__PURE__ */ React$2.memo((_ref2) => {
97024
97022
  graphicalItemId: id
97025
97023
  }
97026
97024
  };
97027
- return /* @__PURE__ */ React$2.createElement(SetTooltipEntrySettings, { tooltipEntrySettings });
97025
+ return /* @__PURE__ */ React2.createElement(SetTooltipEntrySettings, { tooltipEntrySettings });
97028
97026
  });
97029
97027
  function BarBackground(props) {
97030
97028
  var activeIndex = useAppSelector(selectActiveTooltipIndex);
@@ -97035,7 +97033,7 @@ function BarBackground(props) {
97035
97033
  var onClickFromContext = useMouseClickItemDispatch(onItemClickFromProps, dataKey, allOtherBarProps.id);
97036
97034
  if (!backgroundFromProps || data == null) return null;
97037
97035
  var backgroundProps = svgPropertiesNoEventsFromUnknown(backgroundFromProps);
97038
- return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: getZIndexFromUnknown(backgroundFromProps, DefaultZIndexes.barBackground) }, data.map((entry, i) => {
97036
+ return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: getZIndexFromUnknown(backgroundFromProps, DefaultZIndexes.barBackground) }, data.map((entry, i) => {
97039
97037
  entry.value;
97040
97038
  var backgroundFromDataEntry = entry.background;
97041
97039
  entry.tooltipPosition;
@@ -97055,7 +97053,7 @@ function BarBackground(props) {
97055
97053
  index: i,
97056
97054
  className: "recharts-bar-background-rectangle"
97057
97055
  });
97058
- return /* @__PURE__ */ React$2.createElement(BarRectangle, _extends$6({ key: "background-bar-".concat(i) }, barRectangleProps));
97056
+ return /* @__PURE__ */ React2.createElement(BarRectangle, _extends$6({ key: "background-bar-".concat(i) }, barRectangleProps));
97059
97057
  }));
97060
97058
  }
97061
97059
  function BarLabelListProvider(_ref2) {
@@ -97077,7 +97075,7 @@ function BarLabelListProvider(_ref2) {
97077
97075
  fill: entry.fill
97078
97076
  });
97079
97077
  });
97080
- return /* @__PURE__ */ React$2.createElement(CartesianLabelListContextProvider, { value: showLabels ? labelListEntries : void 0 }, children);
97078
+ return /* @__PURE__ */ React2.createElement(CartesianLabelListContextProvider, { value: showLabels ? labelListEntries : void 0 }, children);
97081
97079
  }
97082
97080
  function BarRectangleWithActiveState(props) {
97083
97081
  var shape = props.shape, activeBar = props.activeBar, baseProps = props.baseProps, entry = props.entry, index = props.index, dataKey = props.dataKey;
@@ -97112,7 +97110,7 @@ function BarRectangleWithActiveState(props) {
97112
97110
  if (activeBar === true) option = shape;
97113
97111
  else option = activeBar;
97114
97112
  } else option = shape;
97115
- var content = /* @__PURE__ */ React$2.createElement(BarRectangle, _extends$6({}, baseProps, { name: String(baseProps.name) }, entry, {
97113
+ var content = /* @__PURE__ */ React2.createElement(BarRectangle, _extends$6({}, baseProps, { name: String(baseProps.name) }, entry, {
97116
97114
  isActive: isVisuallyActive,
97117
97115
  option,
97118
97116
  index,
@@ -97122,12 +97120,12 @@ function BarRectangleWithActiveState(props) {
97122
97120
  isEntrance: props.isEntrance,
97123
97121
  onTransitionEnd: handleTransitionEnd
97124
97122
  }));
97125
- if (shouldRenderInLayer) return /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: DefaultZIndexes.activeBar }, /* @__PURE__ */ React$2.createElement(BarStackClipLayer, { index: entry.originalDataIndex }, content));
97123
+ if (shouldRenderInLayer) return /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: DefaultZIndexes.activeBar }, /* @__PURE__ */ React2.createElement(BarStackClipLayer, { index: entry.originalDataIndex }, content));
97126
97124
  return content;
97127
97125
  }
97128
97126
  function BarRectangleNeverActive(props) {
97129
97127
  var shape = props.shape, baseProps = props.baseProps, entry = props.entry, index = props.index, dataKey = props.dataKey;
97130
- return /* @__PURE__ */ React$2.createElement(BarRectangle, _extends$6({}, baseProps, { name: String(baseProps.name) }, entry, {
97128
+ return /* @__PURE__ */ React2.createElement(BarRectangle, _extends$6({}, baseProps, { name: String(baseProps.name) }, entry, {
97131
97129
  isActive: false,
97132
97130
  option: shape,
97133
97131
  index,
@@ -97147,8 +97145,8 @@ function BarRectangles(_ref3) {
97147
97145
  var onMouseLeaveFromContext = useMouseLeaveItemDispatch(onMouseLeaveFromProps);
97148
97146
  var onClickFromContext = useMouseClickItemDispatch(onItemClickFromProps, dataKey, id);
97149
97147
  if (!data) return null;
97150
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, data.map((entry, i) => {
97151
- return /* @__PURE__ */ React$2.createElement(BarStackClipLayer, _extends$6({
97148
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, data.map((entry, i) => {
97149
+ return /* @__PURE__ */ React2.createElement(BarStackClipLayer, _extends$6({
97152
97150
  index: entry.originalDataIndex,
97153
97151
  key: "rectangle-".concat(entry === null || entry === void 0 ? void 0 : entry.x, "-").concat(entry === null || entry === void 0 ? void 0 : entry.y, "-").concat(entry === null || entry === void 0 ? void 0 : entry.value, "-").concat(i),
97154
97152
  className: "recharts-bar-rectangle"
@@ -97156,7 +97154,7 @@ function BarRectangles(_ref3) {
97156
97154
  onMouseEnter: onMouseEnterFromContext(entry, entry.originalDataIndex),
97157
97155
  onMouseLeave: onMouseLeaveFromContext(entry, entry.originalDataIndex),
97158
97156
  onClick: onClickFromContext(entry, entry.originalDataIndex)
97159
- }), activeBar ? /* @__PURE__ */ React$2.createElement(BarRectangleWithActiveState, {
97157
+ }), activeBar ? /* @__PURE__ */ React2.createElement(BarRectangleWithActiveState, {
97160
97158
  shape,
97161
97159
  activeBar,
97162
97160
  baseProps,
@@ -97166,7 +97164,7 @@ function BarRectangles(_ref3) {
97166
97164
  animationElapsedTime,
97167
97165
  isAnimating,
97168
97166
  isEntrance
97169
- }) : /* @__PURE__ */ React$2.createElement(BarRectangleNeverActive, {
97167
+ }) : /* @__PURE__ */ React2.createElement(BarRectangleNeverActive, {
97170
97168
  shape,
97171
97169
  baseProps,
97172
97170
  entry,
@@ -97210,10 +97208,10 @@ function RectanglesWithAnimation(_ref5) {
97210
97208
  var props = _ref5.props, previousRectanglesRef = _ref5.previousRectanglesRef;
97211
97209
  var data = props.data, isAnimationActive = props.isAnimationActive, animationBegin = props.animationBegin, animationDuration = props.animationDuration, animationEasing = props.animationEasing, animationInterpolateFn = props.animationInterpolateFn, layout = props.layout;
97212
97210
  var _useAnimationCallback = useAnimationCallbacks(props.onAnimationStart, props.onAnimationEnd), isAnimating = _useAnimationCallback.isAnimating, handleAnimationStart = _useAnimationCallback.handleAnimationStart, handleAnimationEnd = _useAnimationCallback.handleAnimationEnd;
97213
- return /* @__PURE__ */ React$2.createElement(BarLabelListProvider, {
97211
+ return /* @__PURE__ */ React2.createElement(BarLabelListProvider, {
97214
97212
  showLabels: !isAnimating,
97215
97213
  rects: data
97216
- }, /* @__PURE__ */ React$2.createElement(AnimatedItems, {
97214
+ }, /* @__PURE__ */ React2.createElement(AnimatedItems, {
97217
97215
  animationInput: data,
97218
97216
  animationIdPrefix: "recharts-bar-",
97219
97217
  items: data,
@@ -97227,17 +97225,17 @@ function RectanglesWithAnimation(_ref5) {
97227
97225
  animationInterpolateFn,
97228
97226
  animationMatchBy: props.animationMatchBy,
97229
97227
  layout
97230
- }, (stepData, animationElapsedTime, isEntrance) => /* @__PURE__ */ React$2.createElement(Layer, null, /* @__PURE__ */ React$2.createElement(BarRectangles, {
97228
+ }, (stepData, animationElapsedTime, isEntrance) => /* @__PURE__ */ React2.createElement(Layer, null, /* @__PURE__ */ React2.createElement(BarRectangles, {
97231
97229
  props,
97232
97230
  data: stepData,
97233
97231
  animationElapsedTime,
97234
97232
  isAnimating: isAnimating || animationElapsedTime < 1,
97235
97233
  isEntrance
97236
- }))), /* @__PURE__ */ React$2.createElement(LabelListFromLabelProp, { label: props.label }), props.children);
97234
+ }))), /* @__PURE__ */ React2.createElement(LabelListFromLabelProp, { label: props.label }), props.children);
97237
97235
  }
97238
97236
  function RenderRectangles(props) {
97239
97237
  var previousRectanglesRef = useRef2(null);
97240
- return /* @__PURE__ */ React$2.createElement(RectanglesWithAnimation, {
97238
+ return /* @__PURE__ */ React2.createElement(RectanglesWithAnimation, {
97241
97239
  previousRectanglesRef,
97242
97240
  props
97243
97241
  });
@@ -97258,22 +97256,22 @@ var BarWithState = class extends PureComponent {
97258
97256
  if (hide || data == null) return null;
97259
97257
  var layerClass = clsx("recharts-bar", className);
97260
97258
  var clipPathId = id;
97261
- return /* @__PURE__ */ React$2.createElement(Layer, {
97259
+ return /* @__PURE__ */ React2.createElement(Layer, {
97262
97260
  className: layerClass,
97263
97261
  id
97264
- }, needClip && /* @__PURE__ */ React$2.createElement("defs", null, /* @__PURE__ */ React$2.createElement(GraphicalItemClipPath, {
97262
+ }, needClip && /* @__PURE__ */ React2.createElement("defs", null, /* @__PURE__ */ React2.createElement(GraphicalItemClipPath, {
97265
97263
  clipPathId,
97266
97264
  xAxisId,
97267
97265
  yAxisId
97268
- })), /* @__PURE__ */ React$2.createElement(Layer, {
97266
+ })), /* @__PURE__ */ React2.createElement(Layer, {
97269
97267
  className: "recharts-bar-rectangles",
97270
97268
  clipPath: needClip ? "url(#clipPath-".concat(clipPathId, ")") : void 0
97271
- }, /* @__PURE__ */ React$2.createElement(BarBackground, {
97269
+ }, /* @__PURE__ */ React2.createElement(BarBackground, {
97272
97270
  data,
97273
97271
  dataKey,
97274
97272
  background,
97275
97273
  allOtherBarProps: this.props
97276
- }), /* @__PURE__ */ React$2.createElement(RenderRectangles, this.props)));
97274
+ }), /* @__PURE__ */ React2.createElement(RenderRectangles, this.props)));
97277
97275
  }
97278
97276
  };
97279
97277
  var defaultBarProps = {
@@ -97306,13 +97304,13 @@ function BarImpl(props) {
97306
97304
  var firstDataPoint = rects === null || rects === void 0 ? void 0 : rects[0];
97307
97305
  if (firstDataPoint == null || firstDataPoint.height == null || firstDataPoint.width == null) errorBarOffset = 0;
97308
97306
  else errorBarOffset = layout === "vertical" ? firstDataPoint.height / 2 : firstDataPoint.width / 2;
97309
- return /* @__PURE__ */ React$2.createElement(SetErrorBarContext, {
97307
+ return /* @__PURE__ */ React2.createElement(SetErrorBarContext, {
97310
97308
  xAxisId,
97311
97309
  yAxisId,
97312
97310
  data: rects,
97313
97311
  dataPointFormatter: errorBarDataPointFormatter,
97314
97312
  errorBarOffset
97315
- }, /* @__PURE__ */ React$2.createElement(BarWithState, _extends$6({}, props, {
97313
+ }, /* @__PURE__ */ React2.createElement(BarWithState, _extends$6({}, props, {
97316
97314
  layout,
97317
97315
  needClip,
97318
97316
  data: rects,
@@ -97422,10 +97420,10 @@ function BarFn(outsideProps) {
97422
97420
  var props = resolveDefaultProps(outsideProps, defaultBarProps);
97423
97421
  var stackId = useStackId(props.stackId);
97424
97422
  var isPanorama = useIsPanorama();
97425
- return /* @__PURE__ */ React$2.createElement(RegisterGraphicalItemId, {
97423
+ return /* @__PURE__ */ React2.createElement(RegisterGraphicalItemId, {
97426
97424
  id: props.id,
97427
97425
  type: "bar"
97428
- }, (id) => /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(SetLegendPayload, { legendPayload: computeLegendPayloadFromBarData(props) }), /* @__PURE__ */ React$2.createElement(SetBarTooltipEntrySettings, {
97426
+ }, (id) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(SetLegendPayload, { legendPayload: computeLegendPayloadFromBarData(props) }), /* @__PURE__ */ React2.createElement(SetBarTooltipEntrySettings, {
97429
97427
  dataKey: props.dataKey,
97430
97428
  stroke: props.stroke,
97431
97429
  strokeWidth: props.strokeWidth,
@@ -97436,7 +97434,7 @@ function BarFn(outsideProps) {
97436
97434
  formatter: props.formatter,
97437
97435
  tooltipType: props.tooltipType,
97438
97436
  id
97439
- }), /* @__PURE__ */ React$2.createElement(SetCartesianGraphicalItem, {
97437
+ }), /* @__PURE__ */ React2.createElement(SetCartesianGraphicalItem, {
97440
97438
  type: "bar",
97441
97439
  id,
97442
97440
  data: void 0,
@@ -97451,9 +97449,9 @@ function BarFn(outsideProps) {
97451
97449
  maxBarSize: props.maxBarSize,
97452
97450
  isPanorama,
97453
97451
  hasCustomShape: props.shape != null && props.shape !== defaultBarShape
97454
- }), /* @__PURE__ */ React$2.createElement(ZIndexLayer, { zIndex: props.zIndex }, /* @__PURE__ */ React$2.createElement(BarImpl, _extends$6({}, props, { id })))));
97452
+ }), /* @__PURE__ */ React2.createElement(ZIndexLayer, { zIndex: props.zIndex }, /* @__PURE__ */ React2.createElement(BarImpl, _extends$6({}, props, { id })))));
97455
97453
  }
97456
- var Bar = /* @__PURE__ */ React$2.memo(BarFn, propsAreEqual);
97454
+ var Bar = /* @__PURE__ */ React2.memo(BarFn, propsAreEqual);
97457
97455
  Bar.displayName = "Bar";
97458
97456
  var _excluded$5 = ["domain", "range"];
97459
97457
  var _excluded2$2 = ["domain", "range"];
@@ -97632,7 +97630,7 @@ var XAxisImpl = (props) => {
97632
97630
  synchronizedSettings.id;
97633
97631
  synchronizedSettings.scale;
97634
97632
  var restSynchronizedSettings = _objectWithoutProperties$4(synchronizedSettings, _excluded3$1);
97635
- return /* @__PURE__ */ React$2.createElement(CartesianAxis, _extends$5({}, allOtherProps, restSynchronizedSettings, {
97633
+ return /* @__PURE__ */ React2.createElement(CartesianAxis, _extends$5({}, allOtherProps, restSynchronizedSettings, {
97636
97634
  ref: cartesianAxisRef,
97637
97635
  labelRef,
97638
97636
  x: position.x,
@@ -97673,7 +97671,7 @@ var xAxisDefaultProps = {
97673
97671
  };
97674
97672
  var XAxisSettingsDispatcher = (outsideProps) => {
97675
97673
  var props = resolveDefaultProps(outsideProps, xAxisDefaultProps);
97676
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(SetXAxisSettings, {
97674
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(SetXAxisSettings, {
97677
97675
  allowDataOverflow: props.allowDataOverflow,
97678
97676
  allowDecimals: props.allowDecimals,
97679
97677
  allowDuplicatedCategory: props.allowDuplicatedCategory,
@@ -97699,9 +97697,9 @@ var XAxisSettingsDispatcher = (outsideProps) => {
97699
97697
  type: props.type,
97700
97698
  unit: props.unit,
97701
97699
  niceTicks: props.niceTicks
97702
- }), /* @__PURE__ */ React$2.createElement(XAxisImpl, props));
97700
+ }), /* @__PURE__ */ React2.createElement(XAxisImpl, props));
97703
97701
  };
97704
- var XAxis = /* @__PURE__ */ React$2.memo(XAxisSettingsDispatcher, axisPropsAreEqual);
97702
+ var XAxis = /* @__PURE__ */ React2.memo(XAxisSettingsDispatcher, axisPropsAreEqual);
97705
97703
  XAxis.displayName = "XAxis";
97706
97704
  var _excluded$3 = ["type"];
97707
97705
  var _excluded2 = [
@@ -97847,7 +97845,7 @@ function YAxisImpl2(props) {
97847
97845
  synchronizedSettings.id;
97848
97846
  synchronizedSettings.scale;
97849
97847
  var restSynchronizedSettings = _objectWithoutProperties$3(synchronizedSettings, _excluded3);
97850
- return /* @__PURE__ */ React$2.createElement(CartesianAxis, _extends$4({}, allOtherProps, restSynchronizedSettings, {
97848
+ return /* @__PURE__ */ React2.createElement(CartesianAxis, _extends$4({}, allOtherProps, restSynchronizedSettings, {
97851
97849
  ref: cartesianAxisRef,
97852
97850
  labelRef,
97853
97851
  x: position.x,
@@ -97889,7 +97887,7 @@ var yAxisDefaultProps = {
97889
97887
  };
97890
97888
  var YAxisSettingsDispatcher = (outsideProps) => {
97891
97889
  var props = resolveDefaultProps(outsideProps, yAxisDefaultProps);
97892
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(SetYAxisSettings, {
97890
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(SetYAxisSettings, {
97893
97891
  interval: props.interval,
97894
97892
  id: props.yAxisId,
97895
97893
  scale: props.scale,
@@ -97915,9 +97913,9 @@ var YAxisSettingsDispatcher = (outsideProps) => {
97915
97913
  tick: props.tick,
97916
97914
  tickFormatter: props.tickFormatter,
97917
97915
  niceTicks: props.niceTicks
97918
- }), /* @__PURE__ */ React$2.createElement(YAxisImpl2, props));
97916
+ }), /* @__PURE__ */ React2.createElement(YAxisImpl2, props));
97919
97917
  };
97920
- var YAxis = /* @__PURE__ */ React$2.memo(YAxisSettingsDispatcher, axisPropsAreEqual);
97918
+ var YAxis = /* @__PURE__ */ React2.memo(YAxisSettingsDispatcher, axisPropsAreEqual);
97921
97919
  YAxis.displayName = "YAxis";
97922
97920
  var pickChartPointer = (_state, chartPointer) => chartPointer;
97923
97921
  var selectActivePropsFromChartPointer = createSelector([
@@ -98462,7 +98460,7 @@ function RechartsStoreProvider(_ref2) {
98462
98460
  if (isPanorama) return children;
98463
98461
  if (storeRef.current == null) storeRef.current = createRechartsStore(preloadedState, reduxStoreName);
98464
98462
  var nonNullContext = RechartsReduxContext;
98465
- return /* @__PURE__ */ React$2.createElement(Provider_default, {
98463
+ return /* @__PURE__ */ React2.createElement(Provider_default, {
98466
98464
  context: nonNullContext,
98467
98465
  store: storeRef.current
98468
98466
  }, children);
@@ -98521,7 +98519,7 @@ function ZIndexSvgPortal(_ref2) {
98521
98519
  zIndex,
98522
98520
  isPanorama
98523
98521
  ]);
98524
- return /* @__PURE__ */ React$2.createElement("g", {
98522
+ return /* @__PURE__ */ React2.createElement("g", {
98525
98523
  tabIndex: -1,
98526
98524
  ref,
98527
98525
  className: "recharts-zIndex-layer_".concat(zIndex)
@@ -98533,11 +98531,11 @@ function AllZIndexPortals(_ref2) {
98533
98531
  if (!allRegisteredZIndexes || allRegisteredZIndexes.length === 0) return children;
98534
98532
  var allNegativeZIndexes = allRegisteredZIndexes.filter((zIndex) => zIndex < 0);
98535
98533
  var allPositiveZIndexes = allRegisteredZIndexes.filter((zIndex) => zIndex > 0);
98536
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, allNegativeZIndexes.map((zIndex) => /* @__PURE__ */ React$2.createElement(ZIndexSvgPortal, {
98534
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, allNegativeZIndexes.map((zIndex) => /* @__PURE__ */ React2.createElement(ZIndexSvgPortal, {
98537
98535
  key: zIndex,
98538
98536
  zIndex,
98539
98537
  isPanorama
98540
- })), children, allPositiveZIndexes.map((zIndex) => /* @__PURE__ */ React$2.createElement(ZIndexSvgPortal, {
98538
+ })), children, allPositiveZIndexes.map((zIndex) => /* @__PURE__ */ React2.createElement(ZIndexSvgPortal, {
98541
98539
  key: zIndex,
98542
98540
  zIndex,
98543
98541
  isPanorama
@@ -98589,7 +98587,7 @@ var MainChartSurface = /* @__PURE__ */ forwardRef2((props, ref) => {
98589
98587
  if (typeof otherAttributes.role === "string") role = otherAttributes.role;
98590
98588
  else role = hasAccessibilityLayer ? "application" : void 0;
98591
98589
  }
98592
- return /* @__PURE__ */ React$2.createElement(Surface, _extends$3({}, otherAttributes, {
98590
+ return /* @__PURE__ */ React2.createElement(Surface, _extends$3({}, otherAttributes, {
98593
98591
  title,
98594
98592
  desc,
98595
98593
  role,
@@ -98605,7 +98603,7 @@ var BrushPanoramaSurface = (_ref2) => {
98605
98603
  var brushDimensions = useAppSelector(selectBrushDimensions);
98606
98604
  if (!brushDimensions) return null;
98607
98605
  var width = brushDimensions.width, height = brushDimensions.height, y2 = brushDimensions.y, x2 = brushDimensions.x;
98608
- return /* @__PURE__ */ React$2.createElement(Surface, {
98606
+ return /* @__PURE__ */ React2.createElement(Surface, {
98609
98607
  width,
98610
98608
  height,
98611
98609
  x: x2,
@@ -98614,8 +98612,8 @@ var BrushPanoramaSurface = (_ref2) => {
98614
98612
  };
98615
98613
  var RootSurface = /* @__PURE__ */ forwardRef2((_ref2, ref) => {
98616
98614
  var children = _ref2.children, rest2 = _objectWithoutProperties$2(_ref2, _excluded$2);
98617
- if (useIsPanorama()) return /* @__PURE__ */ React$2.createElement(BrushPanoramaSurface, null, /* @__PURE__ */ React$2.createElement(AllZIndexPortals, { isPanorama: true }, children));
98618
- return /* @__PURE__ */ React$2.createElement(MainChartSurface, _extends$3({ ref }, rest2), /* @__PURE__ */ React$2.createElement(AllZIndexPortals, { isPanorama: false }, children));
98615
+ if (useIsPanorama()) return /* @__PURE__ */ React2.createElement(BrushPanoramaSurface, null, /* @__PURE__ */ React2.createElement(AllZIndexPortals, { isPanorama: true }, children));
98616
+ return /* @__PURE__ */ React2.createElement(MainChartSurface, _extends$3({ ref }, rest2), /* @__PURE__ */ React2.createElement(AllZIndexPortals, { isPanorama: false }, children));
98619
98617
  });
98620
98618
  function _slicedToArray$1(r2, e) {
98621
98619
  return _arrayWithHoles$1(r2) || _iterableToArrayLimit$1(r2, e) || _unsupportedIterableToArray$1(r2, e) || _nonIterableRest$1();
@@ -98824,10 +98822,10 @@ var ResponsiveDiv = /* @__PURE__ */ forwardRef2((props, ref) => {
98824
98822
  if (observer != null) observer.disconnect();
98825
98823
  };
98826
98824
  }, [setContainerSize]);
98827
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(ReportChartSize, {
98825
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(ReportChartSize, {
98828
98826
  width: sizes2.containerWidth,
98829
98827
  height: sizes2.containerHeight
98830
- }), /* @__PURE__ */ React$2.createElement("div", _extends$2({ ref: innerRef }, props)));
98828
+ }), /* @__PURE__ */ React2.createElement("div", _extends$2({ ref: innerRef }, props)));
98831
98829
  });
98832
98830
  var ReadSizeOnceDiv = /* @__PURE__ */ forwardRef2((props, ref) => {
98833
98831
  var width = props.width, height = props.height;
@@ -98853,30 +98851,30 @@ var ReadSizeOnceDiv = /* @__PURE__ */ forwardRef2((props, ref) => {
98853
98851
  setContainerSize(containerWidth, containerHeight);
98854
98852
  }
98855
98853
  }, [ref, setContainerSize]);
98856
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(ReportChartSize, {
98854
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(ReportChartSize, {
98857
98855
  width: sizes2.containerWidth,
98858
98856
  height: sizes2.containerHeight
98859
- }), /* @__PURE__ */ React$2.createElement("div", _extends$2({ ref: innerRef }, props)));
98857
+ }), /* @__PURE__ */ React2.createElement("div", _extends$2({ ref: innerRef }, props)));
98860
98858
  });
98861
98859
  var StaticDiv = /* @__PURE__ */ forwardRef2((props, ref) => {
98862
98860
  var width = props.width, height = props.height;
98863
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(ReportChartSize, {
98861
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(ReportChartSize, {
98864
98862
  width,
98865
98863
  height
98866
- }), /* @__PURE__ */ React$2.createElement("div", _extends$2({ ref }, props)));
98864
+ }), /* @__PURE__ */ React2.createElement("div", _extends$2({ ref }, props)));
98867
98865
  });
98868
98866
  var NonResponsiveDiv = /* @__PURE__ */ forwardRef2((props, ref) => {
98869
98867
  var width = props.width, height = props.height;
98870
- if (typeof width === "string" || typeof height === "string") return /* @__PURE__ */ React$2.createElement(ReadSizeOnceDiv, _extends$2({}, props, { ref }));
98871
- if (typeof width === "number" && typeof height === "number") return /* @__PURE__ */ React$2.createElement(StaticDiv, _extends$2({}, props, {
98868
+ if (typeof width === "string" || typeof height === "string") return /* @__PURE__ */ React2.createElement(ReadSizeOnceDiv, _extends$2({}, props, { ref }));
98869
+ if (typeof width === "number" && typeof height === "number") return /* @__PURE__ */ React2.createElement(StaticDiv, _extends$2({}, props, {
98872
98870
  width,
98873
98871
  height,
98874
98872
  ref
98875
98873
  }));
98876
- return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(ReportChartSize, {
98874
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(ReportChartSize, {
98877
98875
  width,
98878
98876
  height
98879
- }), /* @__PURE__ */ React$2.createElement("div", _extends$2({ ref }, props)));
98877
+ }), /* @__PURE__ */ React2.createElement("div", _extends$2({ ref }, props)));
98880
98878
  });
98881
98879
  function getWrapperDivComponent(responsive) {
98882
98880
  return responsive ? ResponsiveDiv : NonResponsiveDiv;
@@ -98988,7 +98986,7 @@ var RechartsWrapper = /* @__PURE__ */ forwardRef2((props, ref) => {
98988
98986
  }));
98989
98987
  }, [dispatch, onTouchEnd]);
98990
98988
  var WrapperDiv = getWrapperDivComponent(responsive);
98991
- return /* @__PURE__ */ React$2.createElement(TooltipPortalContext.Provider, { value: tooltipPortal }, /* @__PURE__ */ React$2.createElement(LegendPortalContext.Provider, { value: legendPortal }, /* @__PURE__ */ React$2.createElement(WrapperDiv, {
98989
+ return /* @__PURE__ */ React2.createElement(TooltipPortalContext.Provider, { value: tooltipPortal }, /* @__PURE__ */ React2.createElement(LegendPortalContext.Provider, { value: legendPortal }, /* @__PURE__ */ React2.createElement(WrapperDiv, {
98992
98990
  width: width !== null && width !== void 0 ? width : style === null || style === void 0 ? void 0 : style.width,
98993
98991
  height: height !== null && height !== void 0 ? height : style === null || style === void 0 ? void 0 : style.height,
98994
98992
  className: clsx("recharts-wrapper", className),
@@ -99013,7 +99011,7 @@ var RechartsWrapper = /* @__PURE__ */ forwardRef2((props, ref) => {
99013
99011
  onTouchMove: myOnTouchMove,
99014
99012
  onTouchStart: myOnTouchStart,
99015
99013
  ref: innerRef
99016
- }, /* @__PURE__ */ React$2.createElement(EventSynchronizer, null), children)));
99014
+ }, /* @__PURE__ */ React2.createElement(EventSynchronizer, null), children)));
99017
99015
  });
99018
99016
  var _excluded$1 = [
99019
99017
  "width",
@@ -99047,15 +99045,15 @@ function _objectWithoutPropertiesLoose$1(r2, e) {
99047
99045
  var CategoricalChart = /* @__PURE__ */ forwardRef2((props, ref) => {
99048
99046
  var width = props.width, height = props.height, responsive = props.responsive, children = props.children, className = props.className, style = props.style, compact = props.compact, title = props.title, desc = props.desc;
99049
99047
  var attrs = svgPropertiesNoEvents(_objectWithoutProperties$1(props, _excluded$1));
99050
- if (compact) return /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement(ReportChartSize, {
99048
+ if (compact) return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(ReportChartSize, {
99051
99049
  width,
99052
99050
  height
99053
- }), /* @__PURE__ */ React$2.createElement(RootSurface, {
99051
+ }), /* @__PURE__ */ React2.createElement(RootSurface, {
99054
99052
  otherAttributes: attrs,
99055
99053
  title,
99056
99054
  desc
99057
99055
  }, children));
99058
- return /* @__PURE__ */ React$2.createElement(RechartsWrapper, {
99056
+ return /* @__PURE__ */ React2.createElement(RechartsWrapper, {
99059
99057
  className,
99060
99058
  style,
99061
99059
  width,
@@ -99072,12 +99070,12 @@ var CategoricalChart = /* @__PURE__ */ forwardRef2((props, ref) => {
99072
99070
  onTouchStart: props.onTouchStart,
99073
99071
  onTouchMove: props.onTouchMove,
99074
99072
  onTouchEnd: props.onTouchEnd
99075
- }, /* @__PURE__ */ React$2.createElement(RootSurface, {
99073
+ }, /* @__PURE__ */ React2.createElement(RootSurface, {
99076
99074
  otherAttributes: attrs,
99077
99075
  title,
99078
99076
  desc,
99079
99077
  ref
99080
- }, /* @__PURE__ */ React$2.createElement(ClipPathProvider, null, children)));
99078
+ }, /* @__PURE__ */ React2.createElement(ClipPathProvider, null, children)));
99081
99079
  });
99082
99080
  function _extends$1() {
99083
99081
  return _extends$1 = Object.assign ? Object.assign.bind() : function(n) {
@@ -99158,16 +99156,16 @@ var CartesianChart = /* @__PURE__ */ forwardRef2(function CartesianChart2(props,
99158
99156
  tooltipPayloadSearcher,
99159
99157
  eventEmitter: void 0
99160
99158
  };
99161
- return /* @__PURE__ */ React$2.createElement(RechartsStoreProvider, {
99159
+ return /* @__PURE__ */ React2.createElement(RechartsStoreProvider, {
99162
99160
  preloadedState: { options },
99163
99161
  reduxStoreName: (_categoricalChartProp = categoricalChartProps.id) !== null && _categoricalChartProp !== void 0 ? _categoricalChartProp : chartName
99164
- }, /* @__PURE__ */ React$2.createElement(ChartDataContextProvider, { chartData: categoricalChartProps.data }), /* @__PURE__ */ React$2.createElement(ReportMainChartProps, {
99162
+ }, /* @__PURE__ */ React2.createElement(ChartDataContextProvider, { chartData: categoricalChartProps.data }), /* @__PURE__ */ React2.createElement(ReportMainChartProps, {
99165
99163
  layout: rootChartProps.layout,
99166
99164
  margin: rootChartProps.margin
99167
- }), /* @__PURE__ */ React$2.createElement(ReportEventSettings, {
99165
+ }), /* @__PURE__ */ React2.createElement(ReportEventSettings, {
99168
99166
  throttleDelay: rootChartProps.throttleDelay,
99169
99167
  throttledEvents: rootChartProps.throttledEvents
99170
- }), /* @__PURE__ */ React$2.createElement(ReportChartProps, {
99168
+ }), /* @__PURE__ */ React2.createElement(ReportChartProps, {
99171
99169
  baseValue: rootChartProps.baseValue,
99172
99170
  accessibilityLayer: rootChartProps.accessibilityLayer,
99173
99171
  barCategoryGap: rootChartProps.barCategoryGap,
@@ -99179,11 +99177,11 @@ var CartesianChart = /* @__PURE__ */ forwardRef2(function CartesianChart2(props,
99179
99177
  syncMethod: rootChartProps.syncMethod,
99180
99178
  className: rootChartProps.className,
99181
99179
  reverseStackOrder: rootChartProps.reverseStackOrder
99182
- }), /* @__PURE__ */ React$2.createElement(CategoricalChart, _extends$1({}, rootChartProps, { ref })));
99180
+ }), /* @__PURE__ */ React2.createElement(CategoricalChart, _extends$1({}, rootChartProps, { ref })));
99183
99181
  });
99184
99182
  var allowedTooltipTypes$3 = ["axis"];
99185
99183
  var LineChart = /* @__PURE__ */ forwardRef2((props, ref) => {
99186
- return /* @__PURE__ */ React$2.createElement(CartesianChart, {
99184
+ return /* @__PURE__ */ React2.createElement(CartesianChart, {
99187
99185
  chartName: "LineChart",
99188
99186
  defaultTooltipEventType: "axis",
99189
99187
  validateTooltipEventTypes: allowedTooltipTypes$3,
@@ -99194,7 +99192,7 @@ var LineChart = /* @__PURE__ */ forwardRef2((props, ref) => {
99194
99192
  });
99195
99193
  var allowedTooltipTypes$2 = ["axis", "item"];
99196
99194
  var BarChart = /* @__PURE__ */ forwardRef2((props, ref) => {
99197
- return /* @__PURE__ */ React$2.createElement(CartesianChart, {
99195
+ return /* @__PURE__ */ React2.createElement(CartesianChart, {
99198
99196
  chartName: "BarChart",
99199
99197
  defaultTooltipEventType: "axis",
99200
99198
  validateTooltipEventTypes: allowedTooltipTypes$2,
@@ -99313,16 +99311,16 @@ var PolarChart = /* @__PURE__ */ forwardRef2(function PolarChart2(props, ref) {
99313
99311
  tooltipPayloadSearcher: props.tooltipPayloadSearcher,
99314
99312
  eventEmitter: void 0
99315
99313
  };
99316
- return /* @__PURE__ */ React$2.createElement(RechartsStoreProvider, {
99314
+ return /* @__PURE__ */ React2.createElement(RechartsStoreProvider, {
99317
99315
  preloadedState: { options },
99318
99316
  reduxStoreName: (_polarChartProps$id = polarChartProps.id) !== null && _polarChartProps$id !== void 0 ? _polarChartProps$id : chartName
99319
- }, /* @__PURE__ */ React$2.createElement(ChartDataContextProvider, { chartData: polarChartProps.data }), /* @__PURE__ */ React$2.createElement(ReportMainChartProps, {
99317
+ }, /* @__PURE__ */ React2.createElement(ChartDataContextProvider, { chartData: polarChartProps.data }), /* @__PURE__ */ React2.createElement(ReportMainChartProps, {
99320
99318
  layout,
99321
99319
  margin: polarChartProps.margin
99322
- }), /* @__PURE__ */ React$2.createElement(ReportEventSettings, {
99320
+ }), /* @__PURE__ */ React2.createElement(ReportEventSettings, {
99323
99321
  throttleDelay: polarChartProps.throttleDelay,
99324
99322
  throttledEvents: polarChartProps.throttledEvents
99325
- }), /* @__PURE__ */ React$2.createElement(ReportChartProps, {
99323
+ }), /* @__PURE__ */ React2.createElement(ReportChartProps, {
99326
99324
  baseValue: void 0,
99327
99325
  accessibilityLayer: polarChartProps.accessibilityLayer,
99328
99326
  barCategoryGap: polarChartProps.barCategoryGap,
@@ -99334,14 +99332,14 @@ var PolarChart = /* @__PURE__ */ forwardRef2(function PolarChart2(props, ref) {
99334
99332
  syncMethod: polarChartProps.syncMethod,
99335
99333
  className: polarChartProps.className,
99336
99334
  reverseStackOrder: polarChartProps.reverseStackOrder
99337
- }), /* @__PURE__ */ React$2.createElement(ReportPolarOptions, {
99335
+ }), /* @__PURE__ */ React2.createElement(ReportPolarOptions, {
99338
99336
  cx: polarChartProps.cx,
99339
99337
  cy: polarChartProps.cy,
99340
99338
  startAngle: polarChartProps.startAngle,
99341
99339
  endAngle: polarChartProps.endAngle,
99342
99340
  innerRadius: polarChartProps.innerRadius,
99343
99341
  outerRadius: polarChartProps.outerRadius
99344
- }), /* @__PURE__ */ React$2.createElement(CategoricalChart, _extends({}, otherCategoricalProps, { ref })));
99342
+ }), /* @__PURE__ */ React2.createElement(CategoricalChart, _extends({}, otherCategoricalProps, { ref })));
99345
99343
  });
99346
99344
  function ownKeys(e, r2) {
99347
99345
  var t = Object.keys(e);
@@ -99394,7 +99392,7 @@ var defaultPieChartProps = _objectSpread(_objectSpread({}, defaultPolarChartProp
99394
99392
  });
99395
99393
  var PieChart = /* @__PURE__ */ forwardRef2((props, ref) => {
99396
99394
  var propsWithDefaults = resolveDefaultProps(props, defaultPieChartProps);
99397
- return /* @__PURE__ */ React$2.createElement(PolarChart, {
99395
+ return /* @__PURE__ */ React2.createElement(PolarChart, {
99398
99396
  chartName: "PieChart",
99399
99397
  defaultTooltipEventType: "item",
99400
99398
  validateTooltipEventTypes: allowedTooltipTypes$1,
@@ -99405,7 +99403,7 @@ var PieChart = /* @__PURE__ */ forwardRef2((props, ref) => {
99405
99403
  });
99406
99404
  var allowedTooltipTypes = ["axis"];
99407
99405
  var AreaChart = /* @__PURE__ */ forwardRef2((props, ref) => {
99408
- return /* @__PURE__ */ React$2.createElement(CartesianChart, {
99406
+ return /* @__PURE__ */ React2.createElement(CartesianChart, {
99409
99407
  chartName: "AreaChart",
99410
99408
  defaultTooltipEventType: "axis",
99411
99409
  validateTooltipEventTypes: allowedTooltipTypes,
@@ -99435,16 +99433,16 @@ function sanitizeChartColor(value) {
99435
99433
  function getChartColorVarName(key) {
99436
99434
  return `--color-${sanitizeChartToken(key)}`;
99437
99435
  }
99438
- var ChartContext = React$2.createContext(null);
99436
+ var ChartContext = React2.createContext(null);
99439
99437
  function useChart() {
99440
- const context = React$2.useContext(ChartContext);
99438
+ const context = React2.useContext(ChartContext);
99441
99439
  if (!context) throw new Error("useChart must be used within a <ChartContainer />");
99442
99440
  return context;
99443
99441
  }
99444
99442
  function ChartContainer({ id, className, children, config: config2, initialDimension = INITIAL_DIMENSION, ...props }) {
99445
- const uniqueId3 = React$2.useId();
99443
+ const uniqueId3 = React2.useId();
99446
99444
  const chartId = sanitizeChartToken(`chart-${id ?? uniqueId3.replace(/:/g, "")}`);
99447
- const chartContextValue = React$2.useMemo(() => ({ config: config2 }), [config2]);
99445
+ const chartContextValue = React2.useMemo(() => ({ config: config2 }), [config2]);
99448
99446
  return /* @__PURE__ */ jsx(ChartContext.Provider, {
99449
99447
  value: chartContextValue,
99450
99448
  children: /* @__PURE__ */ jsxs("div", {
@@ -99479,7 +99477,7 @@ ${colorConfig.map(([key, itemConfig]) => {
99479
99477
  var ChartTooltip = Tooltip;
99480
99478
  function ChartTooltipLabel({ label, labelFormatter, payload, hideLabel, labelClassName, labelKey }) {
99481
99479
  const { config: config2 } = useChart();
99482
- return React$2.useMemo(() => {
99480
+ return React2.useMemo(() => {
99483
99481
  if (hideLabel || !payload?.length) return null;
99484
99482
  const [item] = payload;
99485
99483
  const key = `${labelKey ?? item.dataKey ?? item.name ?? "value"}`;
@@ -99614,18 +99612,24 @@ function formatNumber(value, locale2, options) {
99614
99612
  function valueToPercent(value, min, max) {
99615
99613
  return (value - min) * 100 / (max - min);
99616
99614
  }
99617
- var ProgressRootContext = /* @__PURE__ */ React$2.createContext(void 0);
99615
+ var ProgressRootContext = /* @__PURE__ */ React2.createContext(void 0);
99618
99616
  function useProgressRootContext() {
99619
- const context = React$2.useContext(ProgressRootContext);
99617
+ const context = React2.useContext(ProgressRootContext);
99620
99618
  if (context === void 0) throw new Error(formatErrorMessage(51));
99621
99619
  return context;
99622
99620
  }
99621
+ var complete = "data-complete";
99622
+ var indeterminate = "data-indeterminate";
99623
+ var progressing = "data-progressing";
99623
99624
  var progressStateAttributesMapping = { status(value) {
99624
- return { [`data-${value}`]: "" };
99625
+ if (value === "progressing") return { [progressing]: "" };
99626
+ if (value === "complete") return { [complete]: "" };
99627
+ if (value === "indeterminate") return { [indeterminate]: "" };
99628
+ return null;
99625
99629
  } };
99626
- var ProgressRoot = /* @__PURE__ */ React$2.forwardRef(function ProgressRoot2(componentProps, forwardedRef) {
99630
+ var ProgressRoot = /* @__PURE__ */ React2.forwardRef(function ProgressRoot2(componentProps, forwardedRef) {
99627
99631
  const { format: format2, getAriaValueText, locale: locale2, max = 100, min = 0, value, render, className, children, style, ...elementProps } = componentProps;
99628
- const [labelId, setLabelId] = React$2.useState();
99632
+ const [labelId, setLabelId] = React2.useState();
99629
99633
  let status = "indeterminate";
99630
99634
  let percentageValue = null;
99631
99635
  let clampedValue = null;
@@ -99639,7 +99643,7 @@ var ProgressRoot = /* @__PURE__ */ React$2.forwardRef(function ProgressRoot2(com
99639
99643
  formattedValue = format2 ? formatNumber(clampedValue, locale2, format2) : formatNumber(percentageValue / 100, locale2, { style: "percent" });
99640
99644
  defaultAriaValueText = formattedValue;
99641
99645
  }
99642
- const state = React$2.useMemo(() => ({ status }), [status]);
99646
+ const state = React2.useMemo(() => ({ status }), [status]);
99643
99647
  const defaultProps2 = {
99644
99648
  "aria-labelledby": labelId,
99645
99649
  "aria-valuemax": max,
@@ -99647,13 +99651,13 @@ var ProgressRoot = /* @__PURE__ */ React$2.forwardRef(function ProgressRoot2(com
99647
99651
  "aria-valuenow": clampedValue ?? void 0,
99648
99652
  "aria-valuetext": getAriaValueText ? getAriaValueText(formattedValue, value) : defaultAriaValueText,
99649
99653
  role: "progressbar",
99650
- children: /* @__PURE__ */ jsxs(React$2.Fragment, { children: [children, /* @__PURE__ */ jsx("span", {
99654
+ children: /* @__PURE__ */ jsxs(React2.Fragment, { children: [children, /* @__PURE__ */ jsx("span", {
99651
99655
  role: "presentation",
99652
99656
  style: visuallyHidden,
99653
99657
  children: "x"
99654
99658
  })] })
99655
99659
  };
99656
- const contextValue = React$2.useMemo(() => ({
99660
+ const contextValue = React2.useMemo(() => ({
99657
99661
  formattedValue,
99658
99662
  percentageValue,
99659
99663
  setLabelId,
@@ -99677,7 +99681,7 @@ var ProgressRoot = /* @__PURE__ */ React$2.forwardRef(function ProgressRoot2(com
99677
99681
  children: element
99678
99682
  });
99679
99683
  });
99680
- var ProgressTrack$1 = /* @__PURE__ */ React$2.forwardRef(function ProgressTrack(componentProps, forwardedRef) {
99684
+ var ProgressTrack$1 = /* @__PURE__ */ React2.forwardRef(function ProgressTrack(componentProps, forwardedRef) {
99681
99685
  const { render, className, style, ...elementProps } = componentProps;
99682
99686
  const { state } = useProgressRootContext();
99683
99687
  return useRenderElement("div", componentProps, {
@@ -99687,7 +99691,7 @@ var ProgressTrack$1 = /* @__PURE__ */ React$2.forwardRef(function ProgressTrack(
99687
99691
  stateAttributesMapping: progressStateAttributesMapping
99688
99692
  });
99689
99693
  });
99690
- var ProgressIndicator$1 = /* @__PURE__ */ React$2.forwardRef(function ProgressIndicator(componentProps, forwardedRef) {
99694
+ var ProgressIndicator$1 = /* @__PURE__ */ React2.forwardRef(function ProgressIndicator(componentProps, forwardedRef) {
99691
99695
  const { render, className, style, ...elementProps } = componentProps;
99692
99696
  const { percentageValue, state } = useProgressRootContext();
99693
99697
  const indicatorStyle = percentageValue == null ? {} : {
@@ -99702,21 +99706,21 @@ var ProgressIndicator$1 = /* @__PURE__ */ React$2.forwardRef(function ProgressIn
99702
99706
  stateAttributesMapping: progressStateAttributesMapping
99703
99707
  });
99704
99708
  });
99705
- var ProgressValue$1 = /* @__PURE__ */ React$2.forwardRef(function ProgressValue(componentProps, forwardedRef) {
99709
+ var ProgressValue$1 = /* @__PURE__ */ React2.forwardRef(function ProgressValue(componentProps, forwardedRef) {
99706
99710
  const { className, render, children, style, ...elementProps } = componentProps;
99707
99711
  const { value, formattedValue, state } = useProgressRootContext();
99708
- const indeterminate = state.status === "indeterminate";
99712
+ const indeterminate2 = state.status === "indeterminate";
99709
99713
  return useRenderElement("span", componentProps, {
99710
99714
  state,
99711
99715
  ref: forwardedRef,
99712
99716
  props: [{
99713
99717
  "aria-hidden": true,
99714
- children: typeof children === "function" ? children(indeterminate ? "indeterminate" : formattedValue, value) : indeterminate ? null : formattedValue
99718
+ children: typeof children === "function" ? children(indeterminate2 ? "indeterminate" : formattedValue, value) : indeterminate2 ? null : formattedValue
99715
99719
  }, elementProps],
99716
99720
  stateAttributesMapping: progressStateAttributesMapping
99717
99721
  });
99718
99722
  });
99719
- var ProgressLabel$1 = /* @__PURE__ */ React$2.forwardRef(function ProgressLabel(componentProps, forwardedRef) {
99723
+ var ProgressLabel$1 = /* @__PURE__ */ React2.forwardRef(function ProgressLabel(componentProps, forwardedRef) {
99720
99724
  const { render, className, style, id: idProp, ...elementProps } = componentProps;
99721
99725
  const { setLabelId, state } = useProgressRootContext();
99722
99726
  const id = useRegisteredLabelId(idProp, setLabelId);
@@ -100268,7 +100272,7 @@ function PanelActionComponent({ props: { focus, label, panel, relativePath } })
100268
100272
  }
100269
100273
  var PanelActionDef = defineComponent$1({
100270
100274
  name: "PanelAction",
100271
- description: "A trusted local action that opens Resources, Workspace, Artifacts, REPL, Subagents, or Session insights. relativePath selects a contained workspace-relative path and is valid only for Workspace and Artifacts panels.",
100275
+ description: "A trusted local action that opens Resources, Workspace, Artifacts, REPL, Subagents, Session insights, or Session tree. relativePath selects a contained workspace-relative path and is valid only for Workspace and Artifacts panels.",
100272
100276
  props: external_exports.object({
100273
100277
  label: external_exports.string().describe("Visible action label"),
100274
100278
  panel: RightPanelIdSchema,
@@ -100843,17 +100847,17 @@ var openUILibrary = createLibrary$1({ components: [
100843
100847
  }) : null, /* @__PURE__ */ jsx("ul", {
100844
100848
  className: "flex flex-col gap-2",
100845
100849
  children: items.map((item, index) => {
100846
- const complete = item.status === "completed";
100850
+ const complete2 = item.status === "completed";
100847
100851
  const active = item.status === "in-progress";
100848
100852
  return /* @__PURE__ */ jsxs("li", {
100849
100853
  className: "flex items-start gap-2 text-sm",
100850
100854
  children: [/* @__PURE__ */ jsx("span", {
100851
100855
  "aria-hidden": "true",
100852
- className: cn("mt-1 size-2 shrink-0 rounded-full border", complete && "border-emerald-500 bg-emerald-500", active && "border-primary bg-primary/30", !complete && !active && "border-muted-foreground/50")
100856
+ className: cn("mt-1 size-2 shrink-0 rounded-full border", complete2 && "border-emerald-500 bg-emerald-500", active && "border-primary bg-primary/30", !complete2 && !active && "border-muted-foreground/50")
100853
100857
  }), /* @__PURE__ */ jsxs("span", {
100854
100858
  className: "min-w-0 flex-1",
100855
100859
  children: [/* @__PURE__ */ jsx("span", {
100856
- className: cn(complete && "text-muted-foreground line-through"),
100860
+ className: cn(complete2 && "text-muted-foreground line-through"),
100857
100861
  children: item.label
100858
100862
  }), item.detail ? /* @__PURE__ */ jsx("span", {
100859
100863
  className: "mt-0.5 block text-xs text-muted-foreground",
@@ -101028,14 +101032,16 @@ function GenerativeTextRenderer({ content, className, isStreaming, messageId, on
101028
101032
  }, []);
101029
101033
  if (segments.length === 1 && segments[0]?.type === "markdown") return /* @__PURE__ */ jsx(Markdown, {
101030
101034
  className,
101031
- content
101035
+ content,
101036
+ isStreaming
101032
101037
  });
101033
101038
  return /* @__PURE__ */ jsx("div", {
101034
101039
  className: `flex w-full flex-col gap-3 ${className ?? ""}`,
101035
101040
  children: segments.map((segment) => {
101036
101041
  if (segment.type === "markdown") return /* @__PURE__ */ jsx(Markdown, {
101037
101042
  content: segment.content,
101038
- className: "leading-relaxed [&_p]:leading-relaxed"
101043
+ className: "leading-relaxed [&_p]:leading-relaxed",
101044
+ isStreaming
101039
101045
  }, segment.id);
101040
101046
  const blockId = `${messageId ?? "message"}:${segment.id}`;
101041
101047
  return /* @__PURE__ */ jsx(OpenUIBlock, {