uapp-communication-sdk 1.0.0-dev.101

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 (2272) hide show
  1. package/ChatHead-148558a8-OzyqHKjD.js +12 -0
  2. package/ChatHead-148558a8-gdOGhIok.cjs +2 -0
  3. package/CloudflareMeetingExperience-15Abwl_o.cjs +2 -0
  4. package/CloudflareMeetingExperience-DEoxCj-1.js +102 -0
  5. package/ExperienceError-BMPPV7Rk.js +22 -0
  6. package/ExperienceError-D_VBeqGy.cjs +2 -0
  7. package/README.md +747 -0
  8. package/ResizeObserver.es-02979d4e-08-m4hFC.cjs +2 -0
  9. package/ResizeObserver.es-02979d4e-7ifz085B.js +278 -0
  10. package/TextMessage-2b375fe4-BWbcMohK.js +25 -0
  11. package/TextMessage-2b375fe4-Bt0VNPuV.cjs +4 -0
  12. package/ZoomMeetingExperience-CEl73r3S.cjs +1413 -0
  13. package/ZoomMeetingExperience-waSxkv-U.js +219630 -0
  14. package/browser-24d8ab3e-Dc1oiNSF.cjs +2 -0
  15. package/browser-24d8ab3e-NtKNY0W9.js +6 -0
  16. package/communication-sdk.cjs +9 -0
  17. package/communication-sdk.js +26804 -0
  18. package/communication-sdk.standalone.js +2101 -0
  19. package/date-b1f78dea-CMBworrP.js +18 -0
  20. package/date-b1f78dea-DZ5M_dXV.cjs +2 -0
  21. package/debounce-0169a54d-BTbObJU4.js +105 -0
  22. package/debounce-0169a54d-D2rXxKxS.cjs +2 -0
  23. package/debounce-d193e708-6SsBoYvf.cjs +2 -0
  24. package/debounce-d193e708-D7pSN-I8.js +78 -0
  25. package/es-CsZYZpOU.js +60349 -0
  26. package/es-zyxbWpTB.cjs +1029 -0
  27. package/file-6114f1a9-BqdWZ5p6.js +33 -0
  28. package/file-6114f1a9-tHgu1ZLQ.cjs +2 -0
  29. package/floating-ui.dom.esm-21c3d54e-BPpyJeSs.js +837 -0
  30. package/floating-ui.dom.esm-21c3d54e-BU9X0ai0.cjs +2 -0
  31. package/full-screen-d36ffc68-BdzItNrC.cjs +2 -0
  32. package/full-screen-d36ffc68-DTjfmPnC.js +10 -0
  33. package/grid-a3ca5a3e-Bb63kX0E.js +75 -0
  34. package/grid-a3ca5a3e-Be7O6bWJ.cjs +2 -0
  35. package/hark-6327d91e-BC3gpCxb.js +91 -0
  36. package/hark-6327d91e-Myicfflm.cjs +2 -0
  37. package/icon.jpg +0 -0
  38. package/index-3f51790f-Dyjz_XrU.js +139 -0
  39. package/index-3f51790f-w6gq2XfJ.cjs +2 -0
  40. package/index-8be19fcf-RtyrL2rS.cjs +2 -0
  41. package/index-8be19fcf-cQ0uyH2h.js +59 -0
  42. package/join-error-e87be64a-Bp5K1v67.cjs +2 -0
  43. package/join-error-e87be64a-Bxi3HnXN.js +22 -0
  44. package/jsx-runtime-DkX7fJRX.js +495 -0
  45. package/jsx-runtime-VQ627FC0.cjs +17 -0
  46. package/lead management v1.svg +40 -0
  47. package/meetings-B7mnw5UW.cjs +2 -0
  48. package/meetings-DbdB2N77.js +5943 -0
  49. package/merge-d1e6bb2e-CLFPYFC_.cjs +2 -0
  50. package/merge-d1e6bb2e-Z4TT7NcY.js +302 -0
  51. package/package.json +31 -0
  52. package/realtimekit-call-media-CbmaiBD9.cjs +2 -0
  53. package/realtimekit-call-media-Ld5BAFoJ.js +76 -0
  54. package/rtk-ai-toggle.entry-DVrRSGA9.cjs +2 -0
  55. package/rtk-ai-toggle.entry-OBio-KNg.js +49 -0
  56. package/rtk-ai-transcriptions.entry-VmDdXptH.js +103 -0
  57. package/rtk-ai-transcriptions.entry-iRAyUe3j.cjs +3 -0
  58. package/rtk-ai_3.entry-DZdnTUew.js +170 -0
  59. package/rtk-ai_3.entry-SO0XPWjs.cjs +4 -0
  60. package/rtk-audio-grid.entry-AEFQMHT6.js +79 -0
  61. package/rtk-audio-grid.entry-C6NvAzqI.cjs +3 -0
  62. package/rtk-audio-tile.entry-DNqDI1ba.cjs +2 -0
  63. package/rtk-audio-tile.entry-lRi3-4R4.js +70 -0
  64. package/rtk-audio-visualizer_4.entry-Bq-dYs3k.cjs +2 -0
  65. package/rtk-audio-visualizer_4.entry-xfJm5ZS2.js +274 -0
  66. package/rtk-avatar_26.entry-BwjFPpy0.cjs +202 -0
  67. package/rtk-avatar_26.entry-DbUwLoJm.js +1827 -0
  68. package/rtk-breakout-room-manager_3.entry-C2lVHKZR.js +357 -0
  69. package/rtk-breakout-room-manager_3.entry-CzDVrIM5.cjs +3 -0
  70. package/rtk-breakout-rooms-manager_9.entry-CV9rgQ8j.cjs +4 -0
  71. package/rtk-breakout-rooms-manager_9.entry-CvoYR_UV.js +816 -0
  72. package/rtk-breakout-rooms-toggle.entry-CfevWxty.js +51 -0
  73. package/rtk-breakout-rooms-toggle.entry-DfUwvbqC.cjs +2 -0
  74. package/rtk-camera-selector_2.entry-BYalbIF0.cjs +285 -0
  75. package/rtk-camera-selector_2.entry-DCxgi-gT.js +163 -0
  76. package/rtk-camera-toggle.entry-BfTHfTcP.js +95 -0
  77. package/rtk-camera-toggle.entry-CRNKUyEU.cjs +2 -0
  78. package/rtk-caption-toggle.entry-C7p1F6Vq.js +56 -0
  79. package/rtk-caption-toggle.entry-D2-u4lUj.cjs +2 -0
  80. package/rtk-chat-composer-ui.entry-C-GxLGZQ.cjs +4 -0
  81. package/rtk-chat-composer-ui.entry-CQuFQXI2.js +284 -0
  82. package/rtk-chat-message.entry-BIHo3z8_.js +130 -0
  83. package/rtk-chat-message.entry-mdtGZQIw.cjs +2 -0
  84. package/rtk-chat-messages-ui.entry-BufAJNDa.cjs +3 -0
  85. package/rtk-chat-messages-ui.entry-CdWLSTD3.js +172 -0
  86. package/rtk-chat-search-results.entry-CelDuopX.js +36 -0
  87. package/rtk-chat-search-results.entry-D1xJf9ya.cjs +2 -0
  88. package/rtk-chat-selector-ui.entry-S0GjqNHM.cjs +3 -0
  89. package/rtk-chat-selector-ui.entry-qMtwX3VI.js +67 -0
  90. package/rtk-chat-toggle.entry-BOOsVdeB.cjs +2 -0
  91. package/rtk-chat-toggle.entry-CASwiW_Y.js +80 -0
  92. package/rtk-clock.entry-B7wLY0Ej.js +72 -0
  93. package/rtk-clock.entry-B_0IN3dc.cjs +2 -0
  94. package/rtk-controlbar-button.entry-B7QgRQjJ.js +47 -0
  95. package/rtk-controlbar-button.entry-gFNDA_mn.cjs +5 -0
  96. package/rtk-controlbar.entry-93Z2xx45.cjs +2 -0
  97. package/rtk-controlbar.entry-LhIvQ0z6.js +35 -0
  98. package/rtk-debugger-audio_4.entry-DhZDHMzq.js +332 -0
  99. package/rtk-debugger-audio_4.entry-kv-N7GJ-.cjs +6 -0
  100. package/rtk-debugger-toggle.entry-E7NszqGx.cjs +2 -0
  101. package/rtk-debugger-toggle.entry-cbmO71xv.js +38 -0
  102. package/rtk-dialog-manager.entry-BQW-m5CC.js +152 -0
  103. package/rtk-dialog-manager.entry-zxRgOwOI.cjs +2 -0
  104. package/rtk-dialog.entry-CqHtEY7c.cjs +2 -0
  105. package/rtk-dialog.entry-ZEU9JtT8.js +54 -0
  106. package/rtk-ended-screen.entry-BnvjUAgP.cjs +2 -0
  107. package/rtk-ended-screen.entry-gbdikjgw.js +73 -0
  108. package/rtk-file-dropzone.entry-BJwpZhT2.js +39 -0
  109. package/rtk-file-dropzone.entry-fPsoD4pP.cjs +2 -0
  110. package/rtk-file-message_3.entry-Clp2m-p6.cjs +2 -0
  111. package/rtk-file-message_3.entry-DPmUIUTX.js +190 -0
  112. package/rtk-fullscreen-toggle.entry-9M8mf4eD.cjs +2 -0
  113. package/rtk-fullscreen-toggle.entry-Cm374dN_.js +40 -0
  114. package/rtk-grid-pagination.entry-DFm3Iodb.cjs +2 -0
  115. package/rtk-grid-pagination.entry-WwwQ4fcv.js +93 -0
  116. package/rtk-grid.entry-CWK4EGAc.js +190 -0
  117. package/rtk-grid.entry-CuC69sIo.cjs +2 -0
  118. package/rtk-header.entry-DaEYIzCt.cjs +2 -0
  119. package/rtk-header.entry-F7DpoWxc.js +35 -0
  120. package/rtk-idle-screen.entry-DBqSQ8HC.js +75 -0
  121. package/rtk-idle-screen.entry-Dfd1Qdlx.cjs +2 -0
  122. package/rtk-image-viewer.entry-5Z1lBL8A.js +68 -0
  123. package/rtk-image-viewer.entry-Db-p_k_T.cjs +3 -0
  124. package/rtk-information-tooltip.entry-CyTdSzHI.js +34 -0
  125. package/rtk-information-tooltip.entry-Dmvc71Vw.cjs +2 -0
  126. package/rtk-leave-button.entry-B0TnzoX-.cjs +2 -0
  127. package/rtk-leave-button.entry-D3fh2Aw6.js +37 -0
  128. package/rtk-livestream-indicator_3.entry-C6pB6ADp.cjs +47 -0
  129. package/rtk-livestream-indicator_3.entry-P5ht8aip.js +18768 -0
  130. package/rtk-livestream-toggle.entry-CI3ITTf5.cjs +2 -0
  131. package/rtk-livestream-toggle.entry-Olo2C18X.js +87 -0
  132. package/rtk-logo.entry-BzLSXiww.cjs +2 -0
  133. package/rtk-logo.entry-CxNectDO.js +47 -0
  134. package/rtk-meeting-title.entry-BFor3DOV.cjs +2 -0
  135. package/rtk-meeting-title.entry-BIDLog9O.js +31 -0
  136. package/rtk-message-list-view.entry-C1M13eK5.cjs +3 -0
  137. package/rtk-message-list-view.entry-Df0isnx0.js +157 -0
  138. package/rtk-mic-toggle.entry-D-yCYv8A.js +95 -0
  139. package/rtk-mic-toggle.entry-DClZvBQd.cjs +2 -0
  140. package/rtk-mixed-grid.entry-DPwmH1lF.cjs +2 -0
  141. package/rtk-mixed-grid.entry-DwNRXcoo.js +174 -0
  142. package/rtk-more-toggle.entry-DrUAS0Gc.cjs +2 -0
  143. package/rtk-more-toggle.entry-tsi4ffXn.js +59 -0
  144. package/rtk-mute-all-button.entry-B93B0noJ.cjs +2 -0
  145. package/rtk-mute-all-button.entry-CtCbXCqU.js +52 -0
  146. package/rtk-name-tag.entry-CQvXGZxI.cjs +2 -0
  147. package/rtk-name-tag.entry-Cg8Gz-X6.js +44 -0
  148. package/rtk-network-indicator.entry-Bo9m9X5G.js +51 -0
  149. package/rtk-network-indicator.entry-Cqf_kWaj.cjs +2 -0
  150. package/rtk-notification.entry-CjjqXW_D.cjs +2 -0
  151. package/rtk-notification.entry-DlNMwa-_.js +76 -0
  152. package/rtk-notifications.entry-C8o2lBdj.js +353 -0
  153. package/rtk-notifications.entry-nHc1-KcQ.cjs +2 -0
  154. package/rtk-participant-count.entry-CCERDgnn.cjs +2 -0
  155. package/rtk-participant-count.entry-DcXyannJ.js +48 -0
  156. package/rtk-participant-setup.entry-Bv37TykR.cjs +2 -0
  157. package/rtk-participant-setup.entry-DigTtvFz.js +68 -0
  158. package/rtk-participant_2.entry-Cy0erP_B.cjs +2 -0
  159. package/rtk-participant_2.entry-DglsZGdC.js +322 -0
  160. package/rtk-participants-audio.entry-BGzXAn1F.cjs +4 -0
  161. package/rtk-participants-audio.entry-CqgkssV2.js +112 -0
  162. package/rtk-participants-stage-list_4.entry-DrbG5M4g.cjs +2 -0
  163. package/rtk-participants-stage-list_4.entry-WRBze1hg.js +331 -0
  164. package/rtk-participants-toggle.entry-Bp31E5bu.js +79 -0
  165. package/rtk-participants-toggle.entry-CTBsQj33.cjs +2 -0
  166. package/rtk-participants.entry-BP1oZ1qQ.cjs +3 -0
  167. package/rtk-participants.entry-D1ONRYNt.js +121 -0
  168. package/rtk-pip-toggle.entry-B4Euq2fG.js +47 -0
  169. package/rtk-pip-toggle.entry-C0fPttaY.cjs +2 -0
  170. package/rtk-plugin-main_2.entry-DCeIdf9M.cjs +3 -0
  171. package/rtk-plugin-main_2.entry-Dbeo8Vxq.js +111 -0
  172. package/rtk-plugins-toggle.entry-6R02C59I.cjs +2 -0
  173. package/rtk-plugins-toggle.entry-fIHatyL0.js +68 -0
  174. package/rtk-poll_2.entry-BTsB9GS5.js +148 -0
  175. package/rtk-poll_2.entry-BebrZ256.cjs +4 -0
  176. package/rtk-polls-toggle.entry-BYtJV_3X.js +73 -0
  177. package/rtk-polls-toggle.entry-BkR9BeEP.cjs +2 -0
  178. package/rtk-recording-indicator.entry-CE2s78p4.cjs +2 -0
  179. package/rtk-recording-indicator.entry-DCI4Fmk6.js +52 -0
  180. package/rtk-recording-toggle.entry-CCi-8L4J.js +103 -0
  181. package/rtk-recording-toggle.entry-CjMtfzWA.cjs +2 -0
  182. package/rtk-screen-share-toggle.entry-B6YehzIs.js +119 -0
  183. package/rtk-screen-share-toggle.entry-CiO__9E7.cjs +2 -0
  184. package/rtk-screenshare-view.entry-CS5aEBpa.cjs +296 -0
  185. package/rtk-screenshare-view.entry-DDmqE2sZ.js +128 -0
  186. package/rtk-settings-audio_2.entry-BFE1i57F.cjs +2 -0
  187. package/rtk-settings-audio_2.entry-BHibrom8.js +118 -0
  188. package/rtk-settings-toggle.entry-ChADrqnU.cjs +2 -0
  189. package/rtk-settings-toggle.entry-DcnzFfdf.js +41 -0
  190. package/rtk-settings.entry-B0MYbO2R.js +82 -0
  191. package/rtk-settings.entry-BUXN1kqm.cjs +3 -0
  192. package/rtk-setup-screen.entry-BJgJQNY1.js +114 -0
  193. package/rtk-setup-screen.entry-sLKF-r_m.cjs +2 -0
  194. package/rtk-sidebar-ui.entry-Cc5IzRaC.js +70 -0
  195. package/rtk-sidebar-ui.entry-DI9sGtmM.cjs +137 -0
  196. package/rtk-sidebar.entry-Bw8W8yAT.js +115 -0
  197. package/rtk-sidebar.entry-itCPVxbn.cjs +2 -0
  198. package/rtk-simple-grid.entry-_rivH90G.cjs +2 -0
  199. package/rtk-simple-grid.entry-sgI0cr9u.js +85 -0
  200. package/rtk-spotlight-grid.entry-BFaBssUO.cjs +2 -0
  201. package/rtk-spotlight-grid.entry-CTnJTCvq.js +63 -0
  202. package/rtk-spotlight-indicator.entry-BkPvg5Ez.cjs +2 -0
  203. package/rtk-spotlight-indicator.entry-K8rD0fvD.js +59 -0
  204. package/rtk-stage-toggle.entry-BKuZZabh.cjs +2 -0
  205. package/rtk-stage-toggle.entry-CCHghl8a.js +87 -0
  206. package/rtk-stage.entry-DONeGgHM.cjs +2 -0
  207. package/rtk-stage.entry-enEhuWV6.js +21 -0
  208. package/rtk-transcript.entry-BNjpfknm.cjs +2 -0
  209. package/rtk-transcript.entry-Cby-uxXZ.js +46 -0
  210. package/rtk-transcripts.entry-DyYEshpM.js +101 -0
  211. package/rtk-transcripts.entry-uKvWdMez.cjs +2 -0
  212. package/rtk-ui-provider.entry-BP2pS8mN.cjs +2 -0
  213. package/rtk-ui-provider.entry-BdSfAjQD.js +118 -0
  214. package/rtk-waiting-screen.entry-0VvsmJny.js +31 -0
  215. package/rtk-waiting-screen.entry-h-NmKAKI.cjs +2 -0
  216. package/scroll-2d8e810c-B3Y6cdqn.js +11 -0
  217. package/scroll-2d8e810c-lAwqeGvB.cjs +2 -0
  218. package/sidebar-6b71ecaa-B8FBrLd-.cjs +2 -0
  219. package/sidebar-6b71ecaa-CTDWYRHS.js +24 -0
  220. package/string-068ce30a-B_DfAHxl.cjs +2 -0
  221. package/string-068ce30a-DsdGnSiw.js +9 -0
  222. package/sw.js +33 -0
  223. package/types/app/App.d.ts +7 -0
  224. package/types/app/App.d.ts.map +1 -0
  225. package/types/app/AppErrorBoundary.d.ts +23 -0
  226. package/types/app/AppErrorBoundary.d.ts.map +1 -0
  227. package/types/app/di/composition-root.d.ts +47 -0
  228. package/types/app/di/composition-root.d.ts.map +1 -0
  229. package/types/app/pages/ForbiddenPage.d.ts +3 -0
  230. package/types/app/pages/ForbiddenPage.d.ts.map +1 -0
  231. package/types/app/pages/NotFoundPage.d.ts +3 -0
  232. package/types/app/pages/NotFoundPage.d.ts.map +1 -0
  233. package/types/app/pages/ProfilePage.d.ts +3 -0
  234. package/types/app/pages/ProfilePage.d.ts.map +1 -0
  235. package/types/app/pages/ProfileTimezoneDropdown.d.ts +6 -0
  236. package/types/app/pages/ProfileTimezoneDropdown.d.ts.map +1 -0
  237. package/types/app/pages/profile-page.d.ts +2 -0
  238. package/types/app/pages/profile-page.d.ts.map +1 -0
  239. package/types/app/pages/profile-timezone-utils.d.ts +2 -0
  240. package/types/app/pages/profile-timezone-utils.d.ts.map +1 -0
  241. package/types/app/router/AppRouter.d.ts +7 -0
  242. package/types/app/router/AppRouter.d.ts.map +1 -0
  243. package/types/app/shell/AccountMenu.d.ts +7 -0
  244. package/types/app/shell/AccountMenu.d.ts.map +1 -0
  245. package/types/app/shell/AccountProfilePanel.d.ts +7 -0
  246. package/types/app/shell/AccountProfilePanel.d.ts.map +1 -0
  247. package/types/app/shell/AppLauncher.d.ts +4 -0
  248. package/types/app/shell/AppLauncher.d.ts.map +1 -0
  249. package/types/app/shell/AppPlaceholderPage.d.ts +4 -0
  250. package/types/app/shell/AppPlaceholderPage.d.ts.map +1 -0
  251. package/types/app/shell/AppShell.d.ts +8 -0
  252. package/types/app/shell/AppShell.d.ts.map +1 -0
  253. package/types/app/shell/HubSubNav.d.ts +9 -0
  254. package/types/app/shell/HubSubNav.d.ts.map +1 -0
  255. package/types/app/shell/NotificationsMenu.d.ts +4 -0
  256. package/types/app/shell/NotificationsMenu.d.ts.map +1 -0
  257. package/types/app/shell/PlaceholderPage.d.ts +14 -0
  258. package/types/app/shell/PlaceholderPage.d.ts.map +1 -0
  259. package/types/app/shell/TopBar.d.ts +10 -0
  260. package/types/app/shell/TopBar.d.ts.map +1 -0
  261. package/types/app/shell/account-actions.d.ts +8 -0
  262. package/types/app/shell/account-actions.d.ts.map +1 -0
  263. package/types/app/shell/badge-count.d.ts +3 -0
  264. package/types/app/shell/badge-count.d.ts.map +1 -0
  265. package/types/app/shell/notification-cards.d.ts +22 -0
  266. package/types/app/shell/notification-cards.d.ts.map +1 -0
  267. package/types/app/shell/notification-sections.d.ts +14 -0
  268. package/types/app/shell/notification-sections.d.ts.map +1 -0
  269. package/types/app/shell/shell-data.d.ts +54 -0
  270. package/types/app/shell/shell-data.d.ts.map +1 -0
  271. package/types/app/shell/shell-notifications.d.ts +39 -0
  272. package/types/app/shell/shell-notifications.d.ts.map +1 -0
  273. package/types/app/shell/store/use-notification-store.d.ts +10 -0
  274. package/types/app/shell/store/use-notification-store.d.ts.map +1 -0
  275. package/types/app/shell/use-account-profile.d.ts +13 -0
  276. package/types/app/shell/use-account-profile.d.ts.map +1 -0
  277. package/types/app/shell/use-bottom-nav-items.d.ts +3 -0
  278. package/types/app/shell/use-bottom-nav-items.d.ts.map +1 -0
  279. package/types/app/shell/use-notification-realtime.d.ts +2 -0
  280. package/types/app/shell/use-notification-realtime.d.ts.map +1 -0
  281. package/types/app/shell/use-shell-motion.d.ts +15 -0
  282. package/types/app/shell/use-shell-motion.d.ts.map +1 -0
  283. package/types/app/shell/use-theme.d.ts +11 -0
  284. package/types/app/shell/use-theme.d.ts.map +1 -0
  285. package/types/app/shell/user-display.d.ts +8 -0
  286. package/types/app/shell/user-display.d.ts.map +1 -0
  287. package/types/core/config/app-config.d.ts +34 -0
  288. package/types/core/config/app-config.d.ts.map +1 -0
  289. package/types/core/config/index.d.ts +2 -0
  290. package/types/core/config/index.d.ts.map +1 -0
  291. package/types/core/domain/errors/invalid-email-error.d.ts +13 -0
  292. package/types/core/domain/errors/invalid-email-error.d.ts.map +1 -0
  293. package/types/core/domain/errors/invalid-time-error.d.ts +14 -0
  294. package/types/core/domain/errors/invalid-time-error.d.ts.map +1 -0
  295. package/types/core/domain/index.d.ts +16 -0
  296. package/types/core/domain/index.d.ts.map +1 -0
  297. package/types/core/domain/value-objects/email.d.ts +18 -0
  298. package/types/core/domain/value-objects/email.d.ts.map +1 -0
  299. package/types/core/domain/value-objects/time-of-day.d.ts +24 -0
  300. package/types/core/domain/value-objects/time-of-day.d.ts.map +1 -0
  301. package/types/core/domain/value-objects/time-range.d.ts +22 -0
  302. package/types/core/domain/value-objects/time-range.d.ts.map +1 -0
  303. package/types/core/domain/value-objects/weekday.d.ts +16 -0
  304. package/types/core/domain/value-objects/weekday.d.ts.map +1 -0
  305. package/types/core/errors/app-error.d.ts +37 -0
  306. package/types/core/errors/app-error.d.ts.map +1 -0
  307. package/types/core/errors/index.d.ts +2 -0
  308. package/types/core/errors/index.d.ts.map +1 -0
  309. package/types/core/http/auth-refresh-http-client.d.ts +32 -0
  310. package/types/core/http/auth-refresh-http-client.d.ts.map +1 -0
  311. package/types/core/http/fetch-http-client.d.ts +40 -0
  312. package/types/core/http/fetch-http-client.d.ts.map +1 -0
  313. package/types/core/http/http-client.d.ts +62 -0
  314. package/types/core/http/http-client.d.ts.map +1 -0
  315. package/types/core/http/index.d.ts +6 -0
  316. package/types/core/http/index.d.ts.map +1 -0
  317. package/types/core/http/retry-http-client.d.ts +36 -0
  318. package/types/core/http/retry-http-client.d.ts.map +1 -0
  319. package/types/core/http/timeout-http-client.d.ts +27 -0
  320. package/types/core/http/timeout-http-client.d.ts.map +1 -0
  321. package/types/core/logger/index.d.ts +2 -0
  322. package/types/core/logger/index.d.ts.map +1 -0
  323. package/types/core/logger/logger.d.ts +29 -0
  324. package/types/core/logger/logger.d.ts.map +1 -0
  325. package/types/core/realtime/index.d.ts +4 -0
  326. package/types/core/realtime/index.d.ts.map +1 -0
  327. package/types/core/realtime/null-realtime-connection.d.ts +11 -0
  328. package/types/core/realtime/null-realtime-connection.d.ts.map +1 -0
  329. package/types/core/realtime/realtime-connection.d.ts +37 -0
  330. package/types/core/realtime/realtime-connection.d.ts.map +1 -0
  331. package/types/core/realtime/reconnect-policy.d.ts +23 -0
  332. package/types/core/realtime/reconnect-policy.d.ts.map +1 -0
  333. package/types/core/realtime/signalr-connection.d.ts +11 -0
  334. package/types/core/realtime/signalr-connection.d.ts.map +1 -0
  335. package/types/core/result/index.d.ts +2 -0
  336. package/types/core/result/index.d.ts.map +1 -0
  337. package/types/core/result/result.d.ts +35 -0
  338. package/types/core/result/result.d.ts.map +1 -0
  339. package/types/core/time/clock.d.ts +22 -0
  340. package/types/core/time/clock.d.ts.map +1 -0
  341. package/types/core/time/index.d.ts +4 -0
  342. package/types/core/time/index.d.ts.map +1 -0
  343. package/types/core/time/timezone.d.ts +46 -0
  344. package/types/core/time/timezone.d.ts.map +1 -0
  345. package/types/core/time/viewer-timezone.d.ts +43 -0
  346. package/types/core/time/viewer-timezone.d.ts.map +1 -0
  347. package/types/features/api-keys/api-keys-module.d.ts +19 -0
  348. package/types/features/api-keys/api-keys-module.d.ts.map +1 -0
  349. package/types/features/api-keys/application/index.d.ts +7 -0
  350. package/types/features/api-keys/application/index.d.ts.map +1 -0
  351. package/types/features/api-keys/application/queries/use-api-keys.d.ts +10 -0
  352. package/types/features/api-keys/application/queries/use-api-keys.d.ts.map +1 -0
  353. package/types/features/api-keys/application/use-cases/confirm-api-key-rotation.d.ts +18 -0
  354. package/types/features/api-keys/application/use-cases/confirm-api-key-rotation.d.ts.map +1 -0
  355. package/types/features/api-keys/application/use-cases/create-api-key.d.ts +14 -0
  356. package/types/features/api-keys/application/use-cases/create-api-key.d.ts.map +1 -0
  357. package/types/features/api-keys/application/use-cases/delete-api-key.d.ts +15 -0
  358. package/types/features/api-keys/application/use-cases/delete-api-key.d.ts.map +1 -0
  359. package/types/features/api-keys/application/use-cases/rotate-api-key.d.ts +14 -0
  360. package/types/features/api-keys/application/use-cases/rotate-api-key.d.ts.map +1 -0
  361. package/types/features/api-keys/application/use-cases/update-api-key.d.ts +14 -0
  362. package/types/features/api-keys/application/use-cases/update-api-key.d.ts.map +1 -0
  363. package/types/features/api-keys/domain/entities/api-key-credentials.d.ts +7 -0
  364. package/types/features/api-keys/domain/entities/api-key-credentials.d.ts.map +1 -0
  365. package/types/features/api-keys/domain/entities/api-key.d.ts +58 -0
  366. package/types/features/api-keys/domain/entities/api-key.d.ts.map +1 -0
  367. package/types/features/api-keys/domain/entities/index.d.ts +3 -0
  368. package/types/features/api-keys/domain/entities/index.d.ts.map +1 -0
  369. package/types/features/api-keys/domain/errors/api-key-errors.d.ts +20 -0
  370. package/types/features/api-keys/domain/errors/api-key-errors.d.ts.map +1 -0
  371. package/types/features/api-keys/domain/index.d.ts +6 -0
  372. package/types/features/api-keys/domain/index.d.ts.map +1 -0
  373. package/types/features/api-keys/domain/ports/api-key-gateway.d.ts +50 -0
  374. package/types/features/api-keys/domain/ports/api-key-gateway.d.ts.map +1 -0
  375. package/types/features/api-keys/domain/value-objects/api-key-display-name.d.ts +8 -0
  376. package/types/features/api-keys/domain/value-objects/api-key-display-name.d.ts.map +1 -0
  377. package/types/features/api-keys/domain/value-objects/api-key-origin.d.ts +28 -0
  378. package/types/features/api-keys/domain/value-objects/api-key-origin.d.ts.map +1 -0
  379. package/types/features/api-keys/domain/value-objects/index.d.ts +3 -0
  380. package/types/features/api-keys/domain/value-objects/index.d.ts.map +1 -0
  381. package/types/features/api-keys/index.d.ts +6 -0
  382. package/types/features/api-keys/index.d.ts.map +1 -0
  383. package/types/features/api-keys/infrastructure/api-key-dto.d.ts +245 -0
  384. package/types/features/api-keys/infrastructure/api-key-dto.d.ts.map +1 -0
  385. package/types/features/api-keys/infrastructure/http-api-key-gateway.d.ts +27 -0
  386. package/types/features/api-keys/infrastructure/http-api-key-gateway.d.ts.map +1 -0
  387. package/types/features/api-keys/infrastructure/index.d.ts +3 -0
  388. package/types/features/api-keys/infrastructure/index.d.ts.map +1 -0
  389. package/types/features/api-keys/presentation/ApiKeyCard.d.ts +12 -0
  390. package/types/features/api-keys/presentation/ApiKeyCard.d.ts.map +1 -0
  391. package/types/features/api-keys/presentation/ApiKeyCredentialsModal.d.ts +8 -0
  392. package/types/features/api-keys/presentation/ApiKeyCredentialsModal.d.ts.map +1 -0
  393. package/types/features/api-keys/presentation/ApiKeysModuleProvider.d.ts +12 -0
  394. package/types/features/api-keys/presentation/ApiKeysModuleProvider.d.ts.map +1 -0
  395. package/types/features/api-keys/presentation/ApiKeysPage.d.ts +3 -0
  396. package/types/features/api-keys/presentation/ApiKeysPage.d.ts.map +1 -0
  397. package/types/features/api-keys/presentation/CodeText.d.ts +12 -0
  398. package/types/features/api-keys/presentation/CodeText.d.ts.map +1 -0
  399. package/types/features/api-keys/presentation/CreateApiKeyFields.d.ts +21 -0
  400. package/types/features/api-keys/presentation/CreateApiKeyFields.d.ts.map +1 -0
  401. package/types/features/api-keys/presentation/CreateApiKeyModal.d.ts +9 -0
  402. package/types/features/api-keys/presentation/CreateApiKeyModal.d.ts.map +1 -0
  403. package/types/features/api-keys/presentation/EditApiKeyModal.d.ts +24 -0
  404. package/types/features/api-keys/presentation/EditApiKeyModal.d.ts.map +1 -0
  405. package/types/features/api-keys/presentation/EditOriginsField.d.ts +11 -0
  406. package/types/features/api-keys/presentation/EditOriginsField.d.ts.map +1 -0
  407. package/types/features/api-keys/presentation/IntegrationGuideDrawer.d.ts +19 -0
  408. package/types/features/api-keys/presentation/IntegrationGuideDrawer.d.ts.map +1 -0
  409. package/types/features/api-keys/presentation/WidgetEventsSection.d.ts +20 -0
  410. package/types/features/api-keys/presentation/WidgetEventsSection.d.ts.map +1 -0
  411. package/types/features/api-keys/presentation/api-base-url.d.ts +10 -0
  412. package/types/features/api-keys/presentation/api-base-url.d.ts.map +1 -0
  413. package/types/features/api-keys/presentation/api-key-confirmations.d.ts +12 -0
  414. package/types/features/api-keys/presentation/api-key-confirmations.d.ts.map +1 -0
  415. package/types/features/api-keys/presentation/api-key-modules.d.ts +18 -0
  416. package/types/features/api-keys/presentation/api-key-modules.d.ts.map +1 -0
  417. package/types/features/api-keys/presentation/api-keys-module-context.d.ts +4 -0
  418. package/types/features/api-keys/presentation/api-keys-module-context.d.ts.map +1 -0
  419. package/types/features/api-keys/presentation/guide-section.d.ts +14 -0
  420. package/types/features/api-keys/presentation/guide-section.d.ts.map +1 -0
  421. package/types/features/api-keys/presentation/index.d.ts +4 -0
  422. package/types/features/api-keys/presentation/index.d.ts.map +1 -0
  423. package/types/features/api-keys/presentation/integration-guide-sections.d.ts +35 -0
  424. package/types/features/api-keys/presentation/integration-guide-sections.d.ts.map +1 -0
  425. package/types/features/api-keys/presentation/integration-guide.d.ts +100 -0
  426. package/types/features/api-keys/presentation/integration-guide.d.ts.map +1 -0
  427. package/types/features/api-keys/presentation/sdk-script-url.d.ts +16 -0
  428. package/types/features/api-keys/presentation/sdk-script-url.d.ts.map +1 -0
  429. package/types/features/api-keys/presentation/use-api-keys-module.d.ts +4 -0
  430. package/types/features/api-keys/presentation/use-api-keys-module.d.ts.map +1 -0
  431. package/types/features/api-keys/presentation/use-api-keys-page-controller.d.ts +39 -0
  432. package/types/features/api-keys/presentation/use-api-keys-page-controller.d.ts.map +1 -0
  433. package/types/features/api-keys/presentation/use-create-api-key-form-state.d.ts +35 -0
  434. package/types/features/api-keys/presentation/use-create-api-key-form-state.d.ts.map +1 -0
  435. package/types/features/api-keys/presentation/use-edit-api-key-form-state.d.ts +41 -0
  436. package/types/features/api-keys/presentation/use-edit-api-key-form-state.d.ts.map +1 -0
  437. package/types/features/auth/application/index.d.ts +5 -0
  438. package/types/features/auth/application/index.d.ts.map +1 -0
  439. package/types/features/auth/application/use-cases/complete-sso-login.d.ts +23 -0
  440. package/types/features/auth/application/use-cases/complete-sso-login.d.ts.map +1 -0
  441. package/types/features/auth/application/use-cases/logout.d.ts +16 -0
  442. package/types/features/auth/application/use-cases/logout.d.ts.map +1 -0
  443. package/types/features/auth/application/use-cases/refresh-session.d.ts +21 -0
  444. package/types/features/auth/application/use-cases/refresh-session.d.ts.map +1 -0
  445. package/types/features/auth/application/use-cases/restore-session.d.ts +24 -0
  446. package/types/features/auth/application/use-cases/restore-session.d.ts.map +1 -0
  447. package/types/features/auth/auth-module.d.ts +24 -0
  448. package/types/features/auth/auth-module.d.ts.map +1 -0
  449. package/types/features/auth/domain/entities/auth-session.d.ts +44 -0
  450. package/types/features/auth/domain/entities/auth-session.d.ts.map +1 -0
  451. package/types/features/auth/domain/entities/authenticated-user.d.ts +24 -0
  452. package/types/features/auth/domain/entities/authenticated-user.d.ts.map +1 -0
  453. package/types/features/auth/domain/errors/auth-errors.d.ts +24 -0
  454. package/types/features/auth/domain/errors/auth-errors.d.ts.map +1 -0
  455. package/types/features/auth/domain/index.d.ts +6 -0
  456. package/types/features/auth/domain/index.d.ts.map +1 -0
  457. package/types/features/auth/domain/ports/auth-gateway.d.ts +21 -0
  458. package/types/features/auth/domain/ports/auth-gateway.d.ts.map +1 -0
  459. package/types/features/auth/domain/ports/session-store.d.ts +12 -0
  460. package/types/features/auth/domain/ports/session-store.d.ts.map +1 -0
  461. package/types/features/auth/index.d.ts +11 -0
  462. package/types/features/auth/index.d.ts.map +1 -0
  463. package/types/features/auth/infrastructure/dto/token-response.dto.d.ts +40 -0
  464. package/types/features/auth/infrastructure/dto/token-response.dto.d.ts.map +1 -0
  465. package/types/features/auth/infrastructure/index.d.ts +7 -0
  466. package/types/features/auth/infrastructure/index.d.ts.map +1 -0
  467. package/types/features/auth/infrastructure/jwt-claims.d.ts +37 -0
  468. package/types/features/auth/infrastructure/jwt-claims.d.ts.map +1 -0
  469. package/types/features/auth/infrastructure/local-session-store.d.ts +44 -0
  470. package/types/features/auth/infrastructure/local-session-store.d.ts.map +1 -0
  471. package/types/features/auth/infrastructure/sso-session-mapper.d.ts +14 -0
  472. package/types/features/auth/infrastructure/sso-session-mapper.d.ts.map +1 -0
  473. package/types/features/auth/infrastructure/uapp-sso-auth-gateway.d.ts +28 -0
  474. package/types/features/auth/infrastructure/uapp-sso-auth-gateway.d.ts.map +1 -0
  475. package/types/features/auth/infrastructure/uapp-sso-protocol.d.ts +59 -0
  476. package/types/features/auth/infrastructure/uapp-sso-protocol.d.ts.map +1 -0
  477. package/types/features/auth/presentation/AuthStoreProvider.d.ts +12 -0
  478. package/types/features/auth/presentation/AuthStoreProvider.d.ts.map +1 -0
  479. package/types/features/auth/presentation/LoginPage.d.ts +7 -0
  480. package/types/features/auth/presentation/LoginPage.d.ts.map +1 -0
  481. package/types/features/auth/presentation/ProtectedRoute.d.ts +13 -0
  482. package/types/features/auth/presentation/ProtectedRoute.d.ts.map +1 -0
  483. package/types/features/auth/presentation/SsoBootstrap.d.ts +15 -0
  484. package/types/features/auth/presentation/SsoBootstrap.d.ts.map +1 -0
  485. package/types/features/auth/presentation/SsoCallbackPage.d.ts +9 -0
  486. package/types/features/auth/presentation/SsoCallbackPage.d.ts.map +1 -0
  487. package/types/features/auth/presentation/auth-store-context.d.ts +4 -0
  488. package/types/features/auth/presentation/auth-store-context.d.ts.map +1 -0
  489. package/types/features/auth/presentation/index.d.ts +9 -0
  490. package/types/features/auth/presentation/index.d.ts.map +1 -0
  491. package/types/features/auth/presentation/sentry-user-bridge.d.ts +6 -0
  492. package/types/features/auth/presentation/sentry-user-bridge.d.ts.map +1 -0
  493. package/types/features/auth/presentation/use-auth.d.ts +22 -0
  494. package/types/features/auth/presentation/use-auth.d.ts.map +1 -0
  495. package/types/features/auth/presentation/use-proactive-token-refresh.d.ts +6 -0
  496. package/types/features/auth/presentation/use-proactive-token-refresh.d.ts.map +1 -0
  497. package/types/features/auth/store/auth-store.d.ts +40 -0
  498. package/types/features/auth/store/auth-store.d.ts.map +1 -0
  499. package/types/features/auth/store/index.d.ts +2 -0
  500. package/types/features/auth/store/index.d.ts.map +1 -0
  501. package/types/features/calls/application/index.d.ts +6 -0
  502. package/types/features/calls/application/index.d.ts.map +1 -0
  503. package/types/features/calls/application/use-cases/accept-call.d.ts +15 -0
  504. package/types/features/calls/application/use-cases/accept-call.d.ts.map +1 -0
  505. package/types/features/calls/application/use-cases/get-call-history.d.ts +15 -0
  506. package/types/features/calls/application/use-cases/get-call-history.d.ts.map +1 -0
  507. package/types/features/calls/application/use-cases/heartbeat-call.d.ts +26 -0
  508. package/types/features/calls/application/use-cases/heartbeat-call.d.ts.map +1 -0
  509. package/types/features/calls/application/use-cases/respond-call.d.ts +29 -0
  510. package/types/features/calls/application/use-cases/respond-call.d.ts.map +1 -0
  511. package/types/features/calls/application/use-cases/start-call.d.ts +15 -0
  512. package/types/features/calls/application/use-cases/start-call.d.ts.map +1 -0
  513. package/types/features/calls/calls-module.d.ts +30 -0
  514. package/types/features/calls/calls-module.d.ts.map +1 -0
  515. package/types/features/calls/domain/call.d.ts +64 -0
  516. package/types/features/calls/domain/call.d.ts.map +1 -0
  517. package/types/features/calls/domain/errors/call-errors.d.ts +10 -0
  518. package/types/features/calls/domain/errors/call-errors.d.ts.map +1 -0
  519. package/types/features/calls/domain/index.d.ts +4 -0
  520. package/types/features/calls/domain/index.d.ts.map +1 -0
  521. package/types/features/calls/domain/ports/call-gateway.d.ts +19 -0
  522. package/types/features/calls/domain/ports/call-gateway.d.ts.map +1 -0
  523. package/types/features/calls/index.d.ts +13 -0
  524. package/types/features/calls/index.d.ts.map +1 -0
  525. package/types/features/calls/infrastructure/call-mappers.d.ts +8 -0
  526. package/types/features/calls/infrastructure/call-mappers.d.ts.map +1 -0
  527. package/types/features/calls/infrastructure/calls-realtime-parsers.d.ts +6 -0
  528. package/types/features/calls/infrastructure/calls-realtime-parsers.d.ts.map +1 -0
  529. package/types/features/calls/infrastructure/calls-realtime-protocol.d.ts +55 -0
  530. package/types/features/calls/infrastructure/calls-realtime-protocol.d.ts.map +1 -0
  531. package/types/features/calls/infrastructure/dto/call-dtos.d.ts +275 -0
  532. package/types/features/calls/infrastructure/dto/call-dtos.d.ts.map +1 -0
  533. package/types/features/calls/infrastructure/http-call-gateway.d.ts +28 -0
  534. package/types/features/calls/infrastructure/http-call-gateway.d.ts.map +1 -0
  535. package/types/features/calls/infrastructure/http-call-routes.d.ts +11 -0
  536. package/types/features/calls/infrastructure/http-call-routes.d.ts.map +1 -0
  537. package/types/features/calls/infrastructure/index.d.ts +4 -0
  538. package/types/features/calls/infrastructure/index.d.ts.map +1 -0
  539. package/types/features/calls/presentation/CallButton.d.ts +15 -0
  540. package/types/features/calls/presentation/CallButton.d.ts.map +1 -0
  541. package/types/features/calls/presentation/CallCenter.d.ts +8 -0
  542. package/types/features/calls/presentation/CallCenter.d.ts.map +1 -0
  543. package/types/features/calls/presentation/CallOverlay.d.ts +7 -0
  544. package/types/features/calls/presentation/CallOverlay.d.ts.map +1 -0
  545. package/types/features/calls/presentation/CallsModuleProvider.d.ts +8 -0
  546. package/types/features/calls/presentation/CallsModuleProvider.d.ts.map +1 -0
  547. package/types/features/calls/presentation/CallsRealtimeProvider.d.ts +6 -0
  548. package/types/features/calls/presentation/CallsRealtimeProvider.d.ts.map +1 -0
  549. package/types/features/calls/presentation/call-notifications.d.ts +25 -0
  550. package/types/features/calls/presentation/call-notifications.d.ts.map +1 -0
  551. package/types/features/calls/presentation/call-pip.d.ts +62 -0
  552. package/types/features/calls/presentation/call-pip.d.ts.map +1 -0
  553. package/types/features/calls/presentation/calls-module-context.d.ts +4 -0
  554. package/types/features/calls/presentation/calls-module-context.d.ts.map +1 -0
  555. package/types/features/calls/presentation/calls-realtime-handlers.d.ts +12 -0
  556. package/types/features/calls/presentation/calls-realtime-handlers.d.ts.map +1 -0
  557. package/types/features/calls/presentation/index.d.ts +8 -0
  558. package/types/features/calls/presentation/index.d.ts.map +1 -0
  559. package/types/features/calls/presentation/media/call-media-props.d.ts +16 -0
  560. package/types/features/calls/presentation/media/call-media-props.d.ts.map +1 -0
  561. package/types/features/calls/presentation/media/call-media-stage.d.ts +11 -0
  562. package/types/features/calls/presentation/media/call-media-stage.d.ts.map +1 -0
  563. package/types/features/calls/presentation/media/realtimekit-call-media.d.ts +19 -0
  564. package/types/features/calls/presentation/media/realtimekit-call-media.d.ts.map +1 -0
  565. package/types/features/calls/presentation/ringtone.d.ts +18 -0
  566. package/types/features/calls/presentation/ringtone.d.ts.map +1 -0
  567. package/types/features/calls/presentation/use-call-actions.d.ts +27 -0
  568. package/types/features/calls/presentation/use-call-actions.d.ts.map +1 -0
  569. package/types/features/calls/presentation/use-call-heartbeat.d.ts +38 -0
  570. package/types/features/calls/presentation/use-call-heartbeat.d.ts.map +1 -0
  571. package/types/features/calls/presentation/use-call-pip.d.ts +30 -0
  572. package/types/features/calls/presentation/use-call-pip.d.ts.map +1 -0
  573. package/types/features/calls/presentation/use-calls-module.d.ts +6 -0
  574. package/types/features/calls/presentation/use-calls-module.d.ts.map +1 -0
  575. package/types/features/calls/presentation/use-calls-realtime-controller.d.ts +6 -0
  576. package/types/features/calls/presentation/use-calls-realtime-controller.d.ts.map +1 -0
  577. package/types/features/calls/presentation/use-incoming-alert.d.ts +14 -0
  578. package/types/features/calls/presentation/use-incoming-alert.d.ts.map +1 -0
  579. package/types/features/calls/presentation/use-start-call.d.ts +9 -0
  580. package/types/features/calls/presentation/use-start-call.d.ts.map +1 -0
  581. package/types/features/calls/store/call-store.d.ts +71 -0
  582. package/types/features/calls/store/call-store.d.ts.map +1 -0
  583. package/types/features/chat/application/index.d.ts +29 -0
  584. package/types/features/chat/application/index.d.ts.map +1 -0
  585. package/types/features/chat/application/use-cases/create-group.d.ts +15 -0
  586. package/types/features/chat/application/use-cases/create-group.d.ts.map +1 -0
  587. package/types/features/chat/application/use-cases/delete-conversation.d.ts +15 -0
  588. package/types/features/chat/application/use-cases/delete-conversation.d.ts.map +1 -0
  589. package/types/features/chat/application/use-cases/delete-message-for-me.d.ts +15 -0
  590. package/types/features/chat/application/use-cases/delete-message-for-me.d.ts.map +1 -0
  591. package/types/features/chat/application/use-cases/delete-message.d.ts +15 -0
  592. package/types/features/chat/application/use-cases/delete-message.d.ts.map +1 -0
  593. package/types/features/chat/application/use-cases/download-chat-media.d.ts +18 -0
  594. package/types/features/chat/application/use-cases/download-chat-media.d.ts.map +1 -0
  595. package/types/features/chat/application/use-cases/edit-message.d.ts +15 -0
  596. package/types/features/chat/application/use-cases/edit-message.d.ts.map +1 -0
  597. package/types/features/chat/application/use-cases/get-conversation-counts.d.ts +15 -0
  598. package/types/features/chat/application/use-cases/get-conversation-counts.d.ts.map +1 -0
  599. package/types/features/chat/application/use-cases/get-conversation.d.ts +15 -0
  600. package/types/features/chat/application/use-cases/get-conversation.d.ts.map +1 -0
  601. package/types/features/chat/application/use-cases/get-group-member-pool.d.ts +18 -0
  602. package/types/features/chat/application/use-cases/get-group-member-pool.d.ts.map +1 -0
  603. package/types/features/chat/application/use-cases/get-messages-before.d.ts +15 -0
  604. package/types/features/chat/application/use-cases/get-messages-before.d.ts.map +1 -0
  605. package/types/features/chat/application/use-cases/get-messages-since.d.ts +15 -0
  606. package/types/features/chat/application/use-cases/get-messages-since.d.ts.map +1 -0
  607. package/types/features/chat/application/use-cases/get-messages.d.ts +15 -0
  608. package/types/features/chat/application/use-cases/get-messages.d.ts.map +1 -0
  609. package/types/features/chat/application/use-cases/get-viewer.d.ts +15 -0
  610. package/types/features/chat/application/use-cases/get-viewer.d.ts.map +1 -0
  611. package/types/features/chat/application/use-cases/leave-conversation.d.ts +15 -0
  612. package/types/features/chat/application/use-cases/leave-conversation.d.ts.map +1 -0
  613. package/types/features/chat/application/use-cases/list-conversations.d.ts +15 -0
  614. package/types/features/chat/application/use-cases/list-conversations.d.ts.map +1 -0
  615. package/types/features/chat/application/use-cases/list-staff.d.ts +15 -0
  616. package/types/features/chat/application/use-cases/list-staff.d.ts.map +1 -0
  617. package/types/features/chat/application/use-cases/mark-delivered.d.ts +15 -0
  618. package/types/features/chat/application/use-cases/mark-delivered.d.ts.map +1 -0
  619. package/types/features/chat/application/use-cases/mark-read.d.ts +15 -0
  620. package/types/features/chat/application/use-cases/mark-read.d.ts.map +1 -0
  621. package/types/features/chat/application/use-cases/react-to-message.d.ts +15 -0
  622. package/types/features/chat/application/use-cases/react-to-message.d.ts.map +1 -0
  623. package/types/features/chat/application/use-cases/refresh-portal.d.ts +15 -0
  624. package/types/features/chat/application/use-cases/refresh-portal.d.ts.map +1 -0
  625. package/types/features/chat/application/use-cases/save-members.d.ts +15 -0
  626. package/types/features/chat/application/use-cases/save-members.d.ts.map +1 -0
  627. package/types/features/chat/application/use-cases/send-media-message.d.ts +15 -0
  628. package/types/features/chat/application/use-cases/send-media-message.d.ts.map +1 -0
  629. package/types/features/chat/application/use-cases/send-message.d.ts +15 -0
  630. package/types/features/chat/application/use-cases/send-message.d.ts.map +1 -0
  631. package/types/features/chat/application/use-cases/set-archived.d.ts +15 -0
  632. package/types/features/chat/application/use-cases/set-archived.d.ts.map +1 -0
  633. package/types/features/chat/application/use-cases/set-favourite.d.ts +15 -0
  634. package/types/features/chat/application/use-cases/set-favourite.d.ts.map +1 -0
  635. package/types/features/chat/application/use-cases/set-pinned.d.ts +15 -0
  636. package/types/features/chat/application/use-cases/set-pinned.d.ts.map +1 -0
  637. package/types/features/chat/application/use-cases/start-direct.d.ts +15 -0
  638. package/types/features/chat/application/use-cases/start-direct.d.ts.map +1 -0
  639. package/types/features/chat/application/use-cases/subscribe-push.d.ts +15 -0
  640. package/types/features/chat/application/use-cases/subscribe-push.d.ts.map +1 -0
  641. package/types/features/chat/chat-module.d.ts +58 -0
  642. package/types/features/chat/chat-module.d.ts.map +1 -0
  643. package/types/features/chat/domain/chat-constants.d.ts +13 -0
  644. package/types/features/chat/domain/chat-constants.d.ts.map +1 -0
  645. package/types/features/chat/domain/entities/chat-message.d.ts +102 -0
  646. package/types/features/chat/domain/entities/chat-message.d.ts.map +1 -0
  647. package/types/features/chat/domain/entities/conversation.d.ts +122 -0
  648. package/types/features/chat/domain/entities/conversation.d.ts.map +1 -0
  649. package/types/features/chat/domain/errors/chat-errors.d.ts +35 -0
  650. package/types/features/chat/domain/errors/chat-errors.d.ts.map +1 -0
  651. package/types/features/chat/domain/index.d.ts +8 -0
  652. package/types/features/chat/domain/index.d.ts.map +1 -0
  653. package/types/features/chat/domain/ports/chat-gateway.d.ts +122 -0
  654. package/types/features/chat/domain/ports/chat-gateway.d.ts.map +1 -0
  655. package/types/features/chat/domain/ports/chat-outbox-store.d.ts +16 -0
  656. package/types/features/chat/domain/ports/chat-outbox-store.d.ts.map +1 -0
  657. package/types/features/chat/domain/server-instant.d.ts +10 -0
  658. package/types/features/chat/domain/server-instant.d.ts.map +1 -0
  659. package/types/features/chat/index.d.ts +8 -0
  660. package/types/features/chat/index.d.ts.map +1 -0
  661. package/types/features/chat/infrastructure/chat-gateway-errors.d.ts +17 -0
  662. package/types/features/chat/infrastructure/chat-gateway-errors.d.ts.map +1 -0
  663. package/types/features/chat/infrastructure/chat-mappers.d.ts +13 -0
  664. package/types/features/chat/infrastructure/chat-mappers.d.ts.map +1 -0
  665. package/types/features/chat/infrastructure/chat-outbox-store.d.ts +4 -0
  666. package/types/features/chat/infrastructure/chat-outbox-store.d.ts.map +1 -0
  667. package/types/features/chat/infrastructure/chat-realtime-parsers.d.ts +12 -0
  668. package/types/features/chat/infrastructure/chat-realtime-parsers.d.ts.map +1 -0
  669. package/types/features/chat/infrastructure/chat-realtime-protocol.d.ts +144 -0
  670. package/types/features/chat/infrastructure/chat-realtime-protocol.d.ts.map +1 -0
  671. package/types/features/chat/infrastructure/chat-seed.d.ts +68 -0
  672. package/types/features/chat/infrastructure/chat-seed.d.ts.map +1 -0
  673. package/types/features/chat/infrastructure/dto/chat-dtos.d.ts +1035 -0
  674. package/types/features/chat/infrastructure/dto/chat-dtos.d.ts.map +1 -0
  675. package/types/features/chat/infrastructure/hidden-messages-storage.d.ts +8 -0
  676. package/types/features/chat/infrastructure/hidden-messages-storage.d.ts.map +1 -0
  677. package/types/features/chat/infrastructure/http-chat-conversation-actions.d.ts +20 -0
  678. package/types/features/chat/infrastructure/http-chat-conversation-actions.d.ts.map +1 -0
  679. package/types/features/chat/infrastructure/http-chat-gateway-helpers.d.ts +16 -0
  680. package/types/features/chat/infrastructure/http-chat-gateway-helpers.d.ts.map +1 -0
  681. package/types/features/chat/infrastructure/http-chat-gateway.d.ts +53 -0
  682. package/types/features/chat/infrastructure/http-chat-gateway.d.ts.map +1 -0
  683. package/types/features/chat/infrastructure/http-chat-message-actions.d.ts +16 -0
  684. package/types/features/chat/infrastructure/http-chat-message-actions.d.ts.map +1 -0
  685. package/types/features/chat/infrastructure/http-chat-paths.d.ts +24 -0
  686. package/types/features/chat/infrastructure/http-chat-paths.d.ts.map +1 -0
  687. package/types/features/chat/infrastructure/http-chat-query-actions.d.ts +30 -0
  688. package/types/features/chat/infrastructure/http-chat-query-actions.d.ts.map +1 -0
  689. package/types/features/chat/infrastructure/http-chat-routes.d.ts +34 -0
  690. package/types/features/chat/infrastructure/http-chat-routes.d.ts.map +1 -0
  691. package/types/features/chat/infrastructure/index.d.ts +9 -0
  692. package/types/features/chat/infrastructure/index.d.ts.map +1 -0
  693. package/types/features/chat/infrastructure/mock-chat-gateway.d.ts +50 -0
  694. package/types/features/chat/infrastructure/mock-chat-gateway.d.ts.map +1 -0
  695. package/types/features/chat/infrastructure/mock-chat-helpers.d.ts +41 -0
  696. package/types/features/chat/infrastructure/mock-chat-helpers.d.ts.map +1 -0
  697. package/types/features/chat/infrastructure/mock-chat-message-ops.d.ts +9 -0
  698. package/types/features/chat/infrastructure/mock-chat-message-ops.d.ts.map +1 -0
  699. package/types/features/chat/infrastructure/normalize-chat-media-path.d.ts +2 -0
  700. package/types/features/chat/infrastructure/normalize-chat-media-path.d.ts.map +1 -0
  701. package/types/features/chat/presentation/AddMemberPanel.d.ts +10 -0
  702. package/types/features/chat/presentation/AddMemberPanel.d.ts.map +1 -0
  703. package/types/features/chat/presentation/ChatConfirmDialogs.d.ts +13 -0
  704. package/types/features/chat/presentation/ChatConfirmDialogs.d.ts.map +1 -0
  705. package/types/features/chat/presentation/ChatMediaImage.d.ts +13 -0
  706. package/types/features/chat/presentation/ChatMediaImage.d.ts.map +1 -0
  707. package/types/features/chat/presentation/ChatModuleProvider.d.ts +12 -0
  708. package/types/features/chat/presentation/ChatModuleProvider.d.ts.map +1 -0
  709. package/types/features/chat/presentation/ChatPage.d.ts +9 -0
  710. package/types/features/chat/presentation/ChatPage.d.ts.map +1 -0
  711. package/types/features/chat/presentation/ChatRealtimeProvider.d.ts +11 -0
  712. package/types/features/chat/presentation/ChatRealtimeProvider.d.ts.map +1 -0
  713. package/types/features/chat/presentation/ChatSkeleton.d.ts +3 -0
  714. package/types/features/chat/presentation/ChatSkeleton.d.ts.map +1 -0
  715. package/types/features/chat/presentation/ChatTabs.d.ts +10 -0
  716. package/types/features/chat/presentation/ChatTabs.d.ts.map +1 -0
  717. package/types/features/chat/presentation/ConversationHeader.d.ts +21 -0
  718. package/types/features/chat/presentation/ConversationHeader.d.ts.map +1 -0
  719. package/types/features/chat/presentation/ConversationList.d.ts +30 -0
  720. package/types/features/chat/presentation/ConversationList.d.ts.map +1 -0
  721. package/types/features/chat/presentation/ConversationRow.d.ts +12 -0
  722. package/types/features/chat/presentation/ConversationRow.d.ts.map +1 -0
  723. package/types/features/chat/presentation/ConversationView.d.ts +14 -0
  724. package/types/features/chat/presentation/ConversationView.d.ts.map +1 -0
  725. package/types/features/chat/presentation/DeleteMessageDialog.d.ts +16 -0
  726. package/types/features/chat/presentation/DeleteMessageDialog.d.ts.map +1 -0
  727. package/types/features/chat/presentation/DmCallAction.d.ts +7 -0
  728. package/types/features/chat/presentation/DmCallAction.d.ts.map +1 -0
  729. package/types/features/chat/presentation/EmojiPicker.d.ts +5 -0
  730. package/types/features/chat/presentation/EmojiPicker.d.ts.map +1 -0
  731. package/types/features/chat/presentation/FileAttachmentCard.d.ts +14 -0
  732. package/types/features/chat/presentation/FileAttachmentCard.d.ts.map +1 -0
  733. package/types/features/chat/presentation/ManageMembersModal.d.ts +9 -0
  734. package/types/features/chat/presentation/ManageMembersModal.d.ts.map +1 -0
  735. package/types/features/chat/presentation/MediaViewer.d.ts +8 -0
  736. package/types/features/chat/presentation/MediaViewer.d.ts.map +1 -0
  737. package/types/features/chat/presentation/MemberRow.d.ts +17 -0
  738. package/types/features/chat/presentation/MemberRow.d.ts.map +1 -0
  739. package/types/features/chat/presentation/MessageAlbum.d.ts +22 -0
  740. package/types/features/chat/presentation/MessageAlbum.d.ts.map +1 -0
  741. package/types/features/chat/presentation/MessageBubble.d.ts +27 -0
  742. package/types/features/chat/presentation/MessageBubble.d.ts.map +1 -0
  743. package/types/features/chat/presentation/MessageComposer.d.ts +21 -0
  744. package/types/features/chat/presentation/MessageComposer.d.ts.map +1 -0
  745. package/types/features/chat/presentation/MessageList.d.ts +25 -0
  746. package/types/features/chat/presentation/MessageList.d.ts.map +1 -0
  747. package/types/features/chat/presentation/MessageSendState.d.ts +20 -0
  748. package/types/features/chat/presentation/MessageSendState.d.ts.map +1 -0
  749. package/types/features/chat/presentation/MessageThread.d.ts +17 -0
  750. package/types/features/chat/presentation/MessageThread.d.ts.map +1 -0
  751. package/types/features/chat/presentation/MessageTicks.d.ts +10 -0
  752. package/types/features/chat/presentation/MessageTicks.d.ts.map +1 -0
  753. package/types/features/chat/presentation/MobileSelectionHeader.d.ts +11 -0
  754. package/types/features/chat/presentation/MobileSelectionHeader.d.ts.map +1 -0
  755. package/types/features/chat/presentation/NewConversationButton.d.ts +12 -0
  756. package/types/features/chat/presentation/NewConversationButton.d.ts.map +1 -0
  757. package/types/features/chat/presentation/NewGroupModal.d.ts +11 -0
  758. package/types/features/chat/presentation/NewGroupModal.d.ts.map +1 -0
  759. package/types/features/chat/presentation/ReplyPreview.d.ts +7 -0
  760. package/types/features/chat/presentation/ReplyPreview.d.ts.map +1 -0
  761. package/types/features/chat/presentation/RowMenu.d.ts +11 -0
  762. package/types/features/chat/presentation/RowMenu.d.ts.map +1 -0
  763. package/types/features/chat/presentation/SharedPostCard.d.ts +13 -0
  764. package/types/features/chat/presentation/SharedPostCard.d.ts.map +1 -0
  765. package/types/features/chat/presentation/StartDirectPicker.d.ts +11 -0
  766. package/types/features/chat/presentation/StartDirectPicker.d.ts.map +1 -0
  767. package/types/features/chat/presentation/active-conversation-pane.d.ts +13 -0
  768. package/types/features/chat/presentation/active-conversation-pane.d.ts.map +1 -0
  769. package/types/features/chat/presentation/apply-reaction-toggle.d.ts +20 -0
  770. package/types/features/chat/presentation/apply-reaction-toggle.d.ts.map +1 -0
  771. package/types/features/chat/presentation/chat-emojis.d.ts +5 -0
  772. package/types/features/chat/presentation/chat-emojis.d.ts.map +1 -0
  773. package/types/features/chat/presentation/chat-module-context.d.ts +4 -0
  774. package/types/features/chat/presentation/chat-module-context.d.ts.map +1 -0
  775. package/types/features/chat/presentation/chat-realtime-handlers.d.ts +18 -0
  776. package/types/features/chat/presentation/chat-realtime-handlers.d.ts.map +1 -0
  777. package/types/features/chat/presentation/chat-realtime-ui.d.ts +16 -0
  778. package/types/features/chat/presentation/chat-realtime-ui.d.ts.map +1 -0
  779. package/types/features/chat/presentation/chat-tabs.d.ts +21 -0
  780. package/types/features/chat/presentation/chat-tabs.d.ts.map +1 -0
  781. package/types/features/chat/presentation/chat-url.d.ts +21 -0
  782. package/types/features/chat/presentation/chat-url.d.ts.map +1 -0
  783. package/types/features/chat/presentation/composer-actions.d.ts +15 -0
  784. package/types/features/chat/presentation/composer-actions.d.ts.map +1 -0
  785. package/types/features/chat/presentation/conversation-access.d.ts +10 -0
  786. package/types/features/chat/presentation/conversation-access.d.ts.map +1 -0
  787. package/types/features/chat/presentation/conversation-composer.d.ts +19 -0
  788. package/types/features/chat/presentation/conversation-composer.d.ts.map +1 -0
  789. package/types/features/chat/presentation/conversation-thread-pane.d.ts +17 -0
  790. package/types/features/chat/presentation/conversation-thread-pane.d.ts.map +1 -0
  791. package/types/features/chat/presentation/dm-presence.d.ts +36 -0
  792. package/types/features/chat/presentation/dm-presence.d.ts.map +1 -0
  793. package/types/features/chat/presentation/format-message-time.d.ts +24 -0
  794. package/types/features/chat/presentation/format-message-time.d.ts.map +1 -0
  795. package/types/features/chat/presentation/group-header.d.ts +21 -0
  796. package/types/features/chat/presentation/group-header.d.ts.map +1 -0
  797. package/types/features/chat/presentation/group-menu-items.d.ts +10 -0
  798. package/types/features/chat/presentation/group-menu-items.d.ts.map +1 -0
  799. package/types/features/chat/presentation/group-messages.d.ts +43 -0
  800. package/types/features/chat/presentation/group-messages.d.ts.map +1 -0
  801. package/types/features/chat/presentation/index.d.ts +8 -0
  802. package/types/features/chat/presentation/index.d.ts.map +1 -0
  803. package/types/features/chat/presentation/jump-to-message.d.ts +13 -0
  804. package/types/features/chat/presentation/jump-to-message.d.ts.map +1 -0
  805. package/types/features/chat/presentation/last-seen.d.ts +7 -0
  806. package/types/features/chat/presentation/last-seen.d.ts.map +1 -0
  807. package/types/features/chat/presentation/manage-members.d.ts +15 -0
  808. package/types/features/chat/presentation/manage-members.d.ts.map +1 -0
  809. package/types/features/chat/presentation/merge-incoming-message.d.ts +17 -0
  810. package/types/features/chat/presentation/merge-incoming-message.d.ts.map +1 -0
  811. package/types/features/chat/presentation/message-actions.d.ts +11 -0
  812. package/types/features/chat/presentation/message-actions.d.ts.map +1 -0
  813. package/types/features/chat/presentation/message-bubble-body.d.ts +27 -0
  814. package/types/features/chat/presentation/message-bubble-body.d.ts.map +1 -0
  815. package/types/features/chat/presentation/message-reactions.d.ts +14 -0
  816. package/types/features/chat/presentation/message-reactions.d.ts.map +1 -0
  817. package/types/features/chat/presentation/new-conversation.d.ts +10 -0
  818. package/types/features/chat/presentation/new-conversation.d.ts.map +1 -0
  819. package/types/features/chat/presentation/normalize-user-id.d.ts +4 -0
  820. package/types/features/chat/presentation/normalize-user-id.d.ts.map +1 -0
  821. package/types/features/chat/presentation/optimistic-send.d.ts +67 -0
  822. package/types/features/chat/presentation/optimistic-send.d.ts.map +1 -0
  823. package/types/features/chat/presentation/pick-attachable-files.d.ts +21 -0
  824. package/types/features/chat/presentation/pick-attachable-files.d.ts.map +1 -0
  825. package/types/features/chat/presentation/prepend-older-messages.d.ts +13 -0
  826. package/types/features/chat/presentation/prepend-older-messages.d.ts.map +1 -0
  827. package/types/features/chat/presentation/resolve-media-kind.d.ts +9 -0
  828. package/types/features/chat/presentation/resolve-media-kind.d.ts.map +1 -0
  829. package/types/features/chat/presentation/resolve-message-identity.d.ts +12 -0
  830. package/types/features/chat/presentation/resolve-message-identity.d.ts.map +1 -0
  831. package/types/features/chat/presentation/resolve-reply-preview.d.ts +22 -0
  832. package/types/features/chat/presentation/resolve-reply-preview.d.ts.map +1 -0
  833. package/types/features/chat/presentation/tick-state.d.ts +23 -0
  834. package/types/features/chat/presentation/tick-state.d.ts.map +1 -0
  835. package/types/features/chat/presentation/unread-chat-count.d.ts +14 -0
  836. package/types/features/chat/presentation/unread-chat-count.d.ts.map +1 -0
  837. package/types/features/chat/presentation/use-active-conversation.d.ts +32 -0
  838. package/types/features/chat/presentation/use-active-conversation.d.ts.map +1 -0
  839. package/types/features/chat/presentation/use-chat-actions.d.ts +17 -0
  840. package/types/features/chat/presentation/use-chat-actions.d.ts.map +1 -0
  841. package/types/features/chat/presentation/use-chat-media-src.d.ts +15 -0
  842. package/types/features/chat/presentation/use-chat-media-src.d.ts.map +1 -0
  843. package/types/features/chat/presentation/use-chat-module.d.ts +4 -0
  844. package/types/features/chat/presentation/use-chat-module.d.ts.map +1 -0
  845. package/types/features/chat/presentation/use-chat-page-state.d.ts +24 -0
  846. package/types/features/chat/presentation/use-chat-page-state.d.ts.map +1 -0
  847. package/types/features/chat/presentation/use-chat.d.ts +86 -0
  848. package/types/features/chat/presentation/use-chat.d.ts.map +1 -0
  849. package/types/features/chat/presentation/use-conversation-confirm.d.ts +19 -0
  850. package/types/features/chat/presentation/use-conversation-confirm.d.ts.map +1 -0
  851. package/types/features/chat/presentation/use-conversations.d.ts +88 -0
  852. package/types/features/chat/presentation/use-conversations.d.ts.map +1 -0
  853. package/types/features/chat/presentation/use-debounced-value.d.ts +6 -0
  854. package/types/features/chat/presentation/use-debounced-value.d.ts.map +1 -0
  855. package/types/features/chat/presentation/use-hidden-messages.d.ts +14 -0
  856. package/types/features/chat/presentation/use-hidden-messages.d.ts.map +1 -0
  857. package/types/features/chat/presentation/use-infinite-scroll.d.ts +19 -0
  858. package/types/features/chat/presentation/use-infinite-scroll.d.ts.map +1 -0
  859. package/types/features/chat/presentation/use-jump-to-message.d.ts +3 -0
  860. package/types/features/chat/presentation/use-jump-to-message.d.ts.map +1 -0
  861. package/types/features/chat/presentation/use-load-older-messages.d.ts +17 -0
  862. package/types/features/chat/presentation/use-load-older-messages.d.ts.map +1 -0
  863. package/types/features/chat/presentation/use-mark-read-on-view.d.ts +13 -0
  864. package/types/features/chat/presentation/use-mark-read-on-view.d.ts.map +1 -0
  865. package/types/features/chat/presentation/use-mark-read.d.ts +13 -0
  866. package/types/features/chat/presentation/use-mark-read.d.ts.map +1 -0
  867. package/types/features/chat/presentation/use-media-viewer.d.ts +20 -0
  868. package/types/features/chat/presentation/use-media-viewer.d.ts.map +1 -0
  869. package/types/features/chat/presentation/use-member-draft.d.ts +18 -0
  870. package/types/features/chat/presentation/use-member-draft.d.ts.map +1 -0
  871. package/types/features/chat/presentation/use-message-delete.d.ts +17 -0
  872. package/types/features/chat/presentation/use-message-delete.d.ts.map +1 -0
  873. package/types/features/chat/presentation/use-pending-attachments.d.ts +20 -0
  874. package/types/features/chat/presentation/use-pending-attachments.d.ts.map +1 -0
  875. package/types/features/chat/presentation/use-seed-receipts.d.ts +8 -0
  876. package/types/features/chat/presentation/use-seed-receipts.d.ts.map +1 -0
  877. package/types/features/chat/presentation/use-send-media.d.ts +11 -0
  878. package/types/features/chat/presentation/use-send-media.d.ts.map +1 -0
  879. package/types/features/chat/presentation/use-send-message.d.ts +14 -0
  880. package/types/features/chat/presentation/use-send-message.d.ts.map +1 -0
  881. package/types/features/chat/presentation/use-staff-search.d.ts +19 -0
  882. package/types/features/chat/presentation/use-staff-search.d.ts.map +1 -0
  883. package/types/features/chat/presentation/use-sync-on-reconnect.d.ts +6 -0
  884. package/types/features/chat/presentation/use-sync-on-reconnect.d.ts.map +1 -0
  885. package/types/features/chat/presentation/use-thread-scroll.d.ts +23 -0
  886. package/types/features/chat/presentation/use-thread-scroll.d.ts.map +1 -0
  887. package/types/features/chat/presentation/use-typing.d.ts +14 -0
  888. package/types/features/chat/presentation/use-typing.d.ts.map +1 -0
  889. package/types/features/chat/presentation/use-web-push.d.ts +6 -0
  890. package/types/features/chat/presentation/use-web-push.d.ts.map +1 -0
  891. package/types/features/chat/presentation/useChatRealtime.d.ts +11 -0
  892. package/types/features/chat/presentation/useChatRealtime.d.ts.map +1 -0
  893. package/types/features/chat/presentation/with-viewer-perspective.d.ts +12 -0
  894. package/types/features/chat/presentation/with-viewer-perspective.d.ts.map +1 -0
  895. package/types/features/chat/store/chat-realtime-context.d.ts +4 -0
  896. package/types/features/chat/store/chat-realtime-context.d.ts.map +1 -0
  897. package/types/features/chat/store/chat-realtime-store.d.ts +43 -0
  898. package/types/features/chat/store/chat-realtime-store.d.ts.map +1 -0
  899. package/types/features/chat/store/index.d.ts +5 -0
  900. package/types/features/chat/store/index.d.ts.map +1 -0
  901. package/types/features/chat/store/realtime-reducers.d.ts +83 -0
  902. package/types/features/chat/store/realtime-reducers.d.ts.map +1 -0
  903. package/types/features/chat/store/use-chat-realtime-store.d.ts +6 -0
  904. package/types/features/chat/store/use-chat-realtime-store.d.ts.map +1 -0
  905. package/types/features/feed/application/index.d.ts +19 -0
  906. package/types/features/feed/application/index.d.ts.map +1 -0
  907. package/types/features/feed/application/use-cases/acknowledge-post.d.ts +15 -0
  908. package/types/features/feed/application/use-cases/acknowledge-post.d.ts.map +1 -0
  909. package/types/features/feed/application/use-cases/add-comment.d.ts +19 -0
  910. package/types/features/feed/application/use-cases/add-comment.d.ts.map +1 -0
  911. package/types/features/feed/application/use-cases/create-post.d.ts +15 -0
  912. package/types/features/feed/application/use-cases/create-post.d.ts.map +1 -0
  913. package/types/features/feed/application/use-cases/detect-location.d.ts +11 -0
  914. package/types/features/feed/application/use-cases/detect-location.d.ts.map +1 -0
  915. package/types/features/feed/application/use-cases/get-notifications.d.ts +12 -0
  916. package/types/features/feed/application/use-cases/get-notifications.d.ts.map +1 -0
  917. package/types/features/feed/application/use-cases/get-post.d.ts +15 -0
  918. package/types/features/feed/application/use-cases/get-post.d.ts.map +1 -0
  919. package/types/features/feed/application/use-cases/list-feed-audiences.d.ts +11 -0
  920. package/types/features/feed/application/use-cases/list-feed-audiences.d.ts.map +1 -0
  921. package/types/features/feed/application/use-cases/list-feed-categories.d.ts +11 -0
  922. package/types/features/feed/application/use-cases/list-feed-categories.d.ts.map +1 -0
  923. package/types/features/feed/application/use-cases/list-feed-feelings.d.ts +11 -0
  924. package/types/features/feed/application/use-cases/list-feed-feelings.d.ts.map +1 -0
  925. package/types/features/feed/application/use-cases/list-feed.d.ts +21 -0
  926. package/types/features/feed/application/use-cases/list-feed.d.ts.map +1 -0
  927. package/types/features/feed/application/use-cases/mark-notification-read.d.ts +12 -0
  928. package/types/features/feed/application/use-cases/mark-notification-read.d.ts.map +1 -0
  929. package/types/features/feed/application/use-cases/mark-seen.d.ts +15 -0
  930. package/types/features/feed/application/use-cases/mark-seen.d.ts.map +1 -0
  931. package/types/features/feed/application/use-cases/react-to-post.d.ts +15 -0
  932. package/types/features/feed/application/use-cases/react-to-post.d.ts.map +1 -0
  933. package/types/features/feed/application/use-cases/search-feed-users.d.ts +11 -0
  934. package/types/features/feed/application/use-cases/search-feed-users.d.ts.map +1 -0
  935. package/types/features/feed/application/use-cases/set-post-pinned.d.ts +15 -0
  936. package/types/features/feed/application/use-cases/set-post-pinned.d.ts.map +1 -0
  937. package/types/features/feed/application/use-cases/toggle-bookmark.d.ts +15 -0
  938. package/types/features/feed/application/use-cases/toggle-bookmark.d.ts.map +1 -0
  939. package/types/features/feed/application/use-cases/update-post.d.ts +15 -0
  940. package/types/features/feed/application/use-cases/update-post.d.ts.map +1 -0
  941. package/types/features/feed/application/use-cases/upload-feed-image-use-case.d.ts +14 -0
  942. package/types/features/feed/application/use-cases/upload-feed-image-use-case.d.ts.map +1 -0
  943. package/types/features/feed/domain/errors/feed-errors.d.ts +15 -0
  944. package/types/features/feed/domain/errors/feed-errors.d.ts.map +1 -0
  945. package/types/features/feed/domain/feed-options.d.ts +28 -0
  946. package/types/features/feed/domain/feed-options.d.ts.map +1 -0
  947. package/types/features/feed/domain/feed-post.d.ts +88 -0
  948. package/types/features/feed/domain/feed-post.d.ts.map +1 -0
  949. package/types/features/feed/domain/index.d.ts +5 -0
  950. package/types/features/feed/domain/index.d.ts.map +1 -0
  951. package/types/features/feed/domain/ports/feed-gateway.d.ts +69 -0
  952. package/types/features/feed/domain/ports/feed-gateway.d.ts.map +1 -0
  953. package/types/features/feed/feed-module.d.ts +34 -0
  954. package/types/features/feed/feed-module.d.ts.map +1 -0
  955. package/types/features/feed/index.d.ts +9 -0
  956. package/types/features/feed/index.d.ts.map +1 -0
  957. package/types/features/feed/infrastructure/dto/feed-dtos.d.ts +1022 -0
  958. package/types/features/feed/infrastructure/dto/feed-dtos.d.ts.map +1 -0
  959. package/types/features/feed/infrastructure/dto/notification-dtos.d.ts +77 -0
  960. package/types/features/feed/infrastructure/dto/notification-dtos.d.ts.map +1 -0
  961. package/types/features/feed/infrastructure/feed-gateway-errors.d.ts +21 -0
  962. package/types/features/feed/infrastructure/feed-gateway-errors.d.ts.map +1 -0
  963. package/types/features/feed/infrastructure/feed-mappers.d.ts +8 -0
  964. package/types/features/feed/infrastructure/feed-mappers.d.ts.map +1 -0
  965. package/types/features/feed/infrastructure/feed-realtime-protocol.d.ts +38 -0
  966. package/types/features/feed/infrastructure/feed-realtime-protocol.d.ts.map +1 -0
  967. package/types/features/feed/infrastructure/geolocation-detector.d.ts +16 -0
  968. package/types/features/feed/infrastructure/geolocation-detector.d.ts.map +1 -0
  969. package/types/features/feed/infrastructure/http-feed-gateway.d.ts +35 -0
  970. package/types/features/feed/infrastructure/http-feed-gateway.d.ts.map +1 -0
  971. package/types/features/feed/infrastructure/index.d.ts +2 -0
  972. package/types/features/feed/infrastructure/index.d.ts.map +1 -0
  973. package/types/features/feed/presentation/EditPostForm.d.ts +9 -0
  974. package/types/features/feed/presentation/EditPostForm.d.ts.map +1 -0
  975. package/types/features/feed/presentation/EditPostImages.d.ts +10 -0
  976. package/types/features/feed/presentation/EditPostImages.d.ts.map +1 -0
  977. package/types/features/feed/presentation/FeedComposer.d.ts +3 -0
  978. package/types/features/feed/presentation/FeedComposer.d.ts.map +1 -0
  979. package/types/features/feed/presentation/FeedEmptyState.d.ts +3 -0
  980. package/types/features/feed/presentation/FeedEmptyState.d.ts.map +1 -0
  981. package/types/features/feed/presentation/FeedImage.d.ts +13 -0
  982. package/types/features/feed/presentation/FeedImage.d.ts.map +1 -0
  983. package/types/features/feed/presentation/FeedModuleProvider.d.ts +9 -0
  984. package/types/features/feed/presentation/FeedModuleProvider.d.ts.map +1 -0
  985. package/types/features/feed/presentation/FeedPage.d.ts +3 -0
  986. package/types/features/feed/presentation/FeedPage.d.ts.map +1 -0
  987. package/types/features/feed/presentation/FeedPostCard.d.ts +12 -0
  988. package/types/features/feed/presentation/FeedPostCard.d.ts.map +1 -0
  989. package/types/features/feed/presentation/FeedPostCardSubcomponents.d.ts +20 -0
  990. package/types/features/feed/presentation/FeedPostCardSubcomponents.d.ts.map +1 -0
  991. package/types/features/feed/presentation/FeedPostList.d.ts +7 -0
  992. package/types/features/feed/presentation/FeedPostList.d.ts.map +1 -0
  993. package/types/features/feed/presentation/FeedPromotionsRail.d.ts +4 -0
  994. package/types/features/feed/presentation/FeedPromotionsRail.d.ts.map +1 -0
  995. package/types/features/feed/presentation/FeedScopeTabs.d.ts +8 -0
  996. package/types/features/feed/presentation/FeedScopeTabs.d.ts.map +1 -0
  997. package/types/features/feed/presentation/FeedSkeleton.d.ts +6 -0
  998. package/types/features/feed/presentation/FeedSkeleton.d.ts.map +1 -0
  999. package/types/features/feed/presentation/Lightbox.d.ts +21 -0
  1000. package/types/features/feed/presentation/Lightbox.d.ts.map +1 -0
  1001. package/types/features/feed/presentation/PostCardContent.d.ts +30 -0
  1002. package/types/features/feed/presentation/PostCardContent.d.ts.map +1 -0
  1003. package/types/features/feed/presentation/PostComments.d.ts +9 -0
  1004. package/types/features/feed/presentation/PostComments.d.ts.map +1 -0
  1005. package/types/features/feed/presentation/PostHeader.d.ts +12 -0
  1006. package/types/features/feed/presentation/PostHeader.d.ts.map +1 -0
  1007. package/types/features/feed/presentation/PostImages.d.ts +7 -0
  1008. package/types/features/feed/presentation/PostImages.d.ts.map +1 -0
  1009. package/types/features/feed/presentation/PromotionsPanel.d.ts +12 -0
  1010. package/types/features/feed/presentation/PromotionsPanel.d.ts.map +1 -0
  1011. package/types/features/feed/presentation/SharePostModal.d.ts +9 -0
  1012. package/types/features/feed/presentation/SharePostModal.d.ts.map +1 -0
  1013. package/types/features/feed/presentation/SharedPostForm.d.ts +70 -0
  1014. package/types/features/feed/presentation/SharedPostForm.d.ts.map +1 -0
  1015. package/types/features/feed/presentation/WhatYouMissed.d.ts +7 -0
  1016. package/types/features/feed/presentation/WhatYouMissed.d.ts.map +1 -0
  1017. package/types/features/feed/presentation/composer-audience.d.ts +11 -0
  1018. package/types/features/feed/presentation/composer-audience.d.ts.map +1 -0
  1019. package/types/features/feed/presentation/composer-category-utils.d.ts +19 -0
  1020. package/types/features/feed/presentation/composer-category-utils.d.ts.map +1 -0
  1021. package/types/features/feed/presentation/composer-data.d.ts +23 -0
  1022. package/types/features/feed/presentation/composer-data.d.ts.map +1 -0
  1023. package/types/features/feed/presentation/composer-extras.d.ts +37 -0
  1024. package/types/features/feed/presentation/composer-extras.d.ts.map +1 -0
  1025. package/types/features/feed/presentation/composer-header.d.ts +18 -0
  1026. package/types/features/feed/presentation/composer-header.d.ts.map +1 -0
  1027. package/types/features/feed/presentation/composer-item-template-sheets.d.ts +23 -0
  1028. package/types/features/feed/presentation/composer-item-template-sheets.d.ts.map +1 -0
  1029. package/types/features/feed/presentation/composer-meta.d.ts +11 -0
  1030. package/types/features/feed/presentation/composer-meta.d.ts.map +1 -0
  1031. package/types/features/feed/presentation/composer-mini-sheets.d.ts +11 -0
  1032. package/types/features/feed/presentation/composer-mini-sheets.d.ts.map +1 -0
  1033. package/types/features/feed/presentation/composer-photos.d.ts +11 -0
  1034. package/types/features/feed/presentation/composer-photos.d.ts.map +1 -0
  1035. package/types/features/feed/presentation/composer-profile.d.ts +17 -0
  1036. package/types/features/feed/presentation/composer-profile.d.ts.map +1 -0
  1037. package/types/features/feed/presentation/composer-schedule.d.ts +24 -0
  1038. package/types/features/feed/presentation/composer-schedule.d.ts.map +1 -0
  1039. package/types/features/feed/presentation/composer-tag-sheet.d.ts +12 -0
  1040. package/types/features/feed/presentation/composer-tag-sheet.d.ts.map +1 -0
  1041. package/types/features/feed/presentation/composer-utils.d.ts +12 -0
  1042. package/types/features/feed/presentation/composer-utils.d.ts.map +1 -0
  1043. package/types/features/feed/presentation/execute-save-post.d.ts +23 -0
  1044. package/types/features/feed/presentation/execute-save-post.d.ts.map +1 -0
  1045. package/types/features/feed/presentation/feed-module-context.d.ts +4 -0
  1046. package/types/features/feed/presentation/feed-module-context.d.ts.map +1 -0
  1047. package/types/features/feed/presentation/feed-promos.d.ts +28 -0
  1048. package/types/features/feed/presentation/feed-promos.d.ts.map +1 -0
  1049. package/types/features/feed/presentation/feed-utils.d.ts +20 -0
  1050. package/types/features/feed/presentation/feed-utils.d.ts.map +1 -0
  1051. package/types/features/feed/presentation/index.d.ts +4 -0
  1052. package/types/features/feed/presentation/index.d.ts.map +1 -0
  1053. package/types/features/feed/presentation/share-rows.d.ts +41 -0
  1054. package/types/features/feed/presentation/share-rows.d.ts.map +1 -0
  1055. package/types/features/feed/presentation/use-composer-form-state.d.ts +41 -0
  1056. package/types/features/feed/presentation/use-composer-form-state.d.ts.map +1 -0
  1057. package/types/features/feed/presentation/use-edit-post-state.d.ts +46 -0
  1058. package/types/features/feed/presentation/use-edit-post-state.d.ts.map +1 -0
  1059. package/types/features/feed/presentation/use-feed-module.d.ts +4 -0
  1060. package/types/features/feed/presentation/use-feed-module.d.ts.map +1 -0
  1061. package/types/features/feed/presentation/use-feed-post-card-state.d.ts +51 -0
  1062. package/types/features/feed/presentation/use-feed-post-card-state.d.ts.map +1 -0
  1063. package/types/features/feed/presentation/use-feed.d.ts +36 -0
  1064. package/types/features/feed/presentation/use-feed.d.ts.map +1 -0
  1065. package/types/features/feed/presentation/use-scroll-to-post.d.ts +11 -0
  1066. package/types/features/feed/presentation/use-scroll-to-post.d.ts.map +1 -0
  1067. package/types/features/feed/presentation/use-share-post-modal-logic.d.ts +33 -0
  1068. package/types/features/feed/presentation/use-share-post-modal-logic.d.ts.map +1 -0
  1069. package/types/features/meeting-video/application/index.d.ts +6 -0
  1070. package/types/features/meeting-video/application/index.d.ts.map +1 -0
  1071. package/types/features/meeting-video/application/use-cases/end-meeting-now.d.ts +15 -0
  1072. package/types/features/meeting-video/application/use-cases/end-meeting-now.d.ts.map +1 -0
  1073. package/types/features/meeting-video/application/use-cases/extend-meeting.d.ts +15 -0
  1074. package/types/features/meeting-video/application/use-cases/extend-meeting.d.ts.map +1 -0
  1075. package/types/features/meeting-video/application/use-cases/get-meeting-room-status.d.ts +21 -0
  1076. package/types/features/meeting-video/application/use-cases/get-meeting-room-status.d.ts.map +1 -0
  1077. package/types/features/meeting-video/application/use-cases/join-meeting-video.d.ts +15 -0
  1078. package/types/features/meeting-video/application/use-cases/join-meeting-video.d.ts.map +1 -0
  1079. package/types/features/meeting-video/domain/errors/meeting-video-errors.d.ts +10 -0
  1080. package/types/features/meeting-video/domain/errors/meeting-video-errors.d.ts.map +1 -0
  1081. package/types/features/meeting-video/domain/index.d.ts +4 -0
  1082. package/types/features/meeting-video/domain/index.d.ts.map +1 -0
  1083. package/types/features/meeting-video/domain/meeting-join-ticket.d.ts +30 -0
  1084. package/types/features/meeting-video/domain/meeting-join-ticket.d.ts.map +1 -0
  1085. package/types/features/meeting-video/domain/ports/meeting-video-gateway.d.ts +14 -0
  1086. package/types/features/meeting-video/domain/ports/meeting-video-gateway.d.ts.map +1 -0
  1087. package/types/features/meeting-video/index.d.ts +5 -0
  1088. package/types/features/meeting-video/index.d.ts.map +1 -0
  1089. package/types/features/meeting-video/infrastructure/dto/meeting-video-dtos.d.ts +47 -0
  1090. package/types/features/meeting-video/infrastructure/dto/meeting-video-dtos.d.ts.map +1 -0
  1091. package/types/features/meeting-video/infrastructure/http-meeting-video-gateway.d.ts +25 -0
  1092. package/types/features/meeting-video/infrastructure/http-meeting-video-gateway.d.ts.map +1 -0
  1093. package/types/features/meeting-video/infrastructure/http-meeting-video-routes.d.ts +13 -0
  1094. package/types/features/meeting-video/infrastructure/http-meeting-video-routes.d.ts.map +1 -0
  1095. package/types/features/meeting-video/infrastructure/index.d.ts +4 -0
  1096. package/types/features/meeting-video/infrastructure/index.d.ts.map +1 -0
  1097. package/types/features/meeting-video/infrastructure/meeting-video-mappers.d.ts +6 -0
  1098. package/types/features/meeting-video/infrastructure/meeting-video-mappers.d.ts.map +1 -0
  1099. package/types/features/meeting-video/meeting-video-module.d.ts +16 -0
  1100. package/types/features/meeting-video/meeting-video-module.d.ts.map +1 -0
  1101. package/types/features/meeting-video/presentation/FloatingMeetingWidget.d.ts +8 -0
  1102. package/types/features/meeting-video/presentation/FloatingMeetingWidget.d.ts.map +1 -0
  1103. package/types/features/meeting-video/presentation/MeetingRoomTrigger.d.ts +14 -0
  1104. package/types/features/meeting-video/presentation/MeetingRoomTrigger.d.ts.map +1 -0
  1105. package/types/features/meeting-video/presentation/MeetingTimeControls.d.ts +16 -0
  1106. package/types/features/meeting-video/presentation/MeetingTimeControls.d.ts.map +1 -0
  1107. package/types/features/meeting-video/presentation/MeetingVideoModuleProvider.d.ts +9 -0
  1108. package/types/features/meeting-video/presentation/MeetingVideoModuleProvider.d.ts.map +1 -0
  1109. package/types/features/meeting-video/presentation/MeetingVideoRoom.d.ts +15 -0
  1110. package/types/features/meeting-video/presentation/MeetingVideoRoom.d.ts.map +1 -0
  1111. package/types/features/meeting-video/presentation/PersistentMeetingOverlay.d.ts +22 -0
  1112. package/types/features/meeting-video/presentation/PersistentMeetingOverlay.d.ts.map +1 -0
  1113. package/types/features/meeting-video/presentation/experiences/CloudflareMeetingExperience.d.ts +8 -0
  1114. package/types/features/meeting-video/presentation/experiences/CloudflareMeetingExperience.d.ts.map +1 -0
  1115. package/types/features/meeting-video/presentation/experiences/ExperienceError.d.ts +6 -0
  1116. package/types/features/meeting-video/presentation/experiences/ExperienceError.d.ts.map +1 -0
  1117. package/types/features/meeting-video/presentation/experiences/ZoomMeetingExperience.d.ts +10 -0
  1118. package/types/features/meeting-video/presentation/experiences/ZoomMeetingExperience.d.ts.map +1 -0
  1119. package/types/features/meeting-video/presentation/experiences/meeting-experience.d.ts +11 -0
  1120. package/types/features/meeting-video/presentation/experiences/meeting-experience.d.ts.map +1 -0
  1121. package/types/features/meeting-video/presentation/index.d.ts +7 -0
  1122. package/types/features/meeting-video/presentation/index.d.ts.map +1 -0
  1123. package/types/features/meeting-video/presentation/meeting-video-module-context.d.ts +4 -0
  1124. package/types/features/meeting-video/presentation/meeting-video-module-context.d.ts.map +1 -0
  1125. package/types/features/meeting-video/presentation/use-active-meeting-store.d.ts +24 -0
  1126. package/types/features/meeting-video/presentation/use-active-meeting-store.d.ts.map +1 -0
  1127. package/types/features/meeting-video/presentation/use-join-meeting-video.d.ts +10 -0
  1128. package/types/features/meeting-video/presentation/use-join-meeting-video.d.ts.map +1 -0
  1129. package/types/features/meeting-video/presentation/use-meeting-room-guard.d.ts +43 -0
  1130. package/types/features/meeting-video/presentation/use-meeting-room-guard.d.ts.map +1 -0
  1131. package/types/features/meeting-video/presentation/use-meeting-video-module.d.ts +4 -0
  1132. package/types/features/meeting-video/presentation/use-meeting-video-module.d.ts.map +1 -0
  1133. package/types/features/meetings/application/index.d.ts +8 -0
  1134. package/types/features/meetings/application/index.d.ts.map +1 -0
  1135. package/types/features/meetings/application/use-cases/book-meeting.d.ts +15 -0
  1136. package/types/features/meetings/application/use-cases/book-meeting.d.ts.map +1 -0
  1137. package/types/features/meetings/application/use-cases/cancel-meeting.d.ts +15 -0
  1138. package/types/features/meetings/application/use-cases/cancel-meeting.d.ts.map +1 -0
  1139. package/types/features/meetings/application/use-cases/list-attendee-availability.d.ts +15 -0
  1140. package/types/features/meetings/application/use-cases/list-attendee-availability.d.ts.map +1 -0
  1141. package/types/features/meetings/application/use-cases/list-available-slots.d.ts +15 -0
  1142. package/types/features/meetings/application/use-cases/list-available-slots.d.ts.map +1 -0
  1143. package/types/features/meetings/application/use-cases/list-contacts.d.ts +15 -0
  1144. package/types/features/meetings/application/use-cases/list-contacts.d.ts.map +1 -0
  1145. package/types/features/meetings/application/use-cases/list-meetings.d.ts +15 -0
  1146. package/types/features/meetings/application/use-cases/list-meetings.d.ts.map +1 -0
  1147. package/types/features/meetings/application/use-cases/respond-to-meeting.d.ts +15 -0
  1148. package/types/features/meetings/application/use-cases/respond-to-meeting.d.ts.map +1 -0
  1149. package/types/features/meetings/domain/errors/meeting-errors.d.ts +25 -0
  1150. package/types/features/meetings/domain/errors/meeting-errors.d.ts.map +1 -0
  1151. package/types/features/meetings/domain/index.d.ts +7 -0
  1152. package/types/features/meetings/domain/index.d.ts.map +1 -0
  1153. package/types/features/meetings/domain/meeting-timezones.d.ts +20 -0
  1154. package/types/features/meetings/domain/meeting-timezones.d.ts.map +1 -0
  1155. package/types/features/meetings/domain/meeting.d.ts +82 -0
  1156. package/types/features/meetings/domain/meeting.d.ts.map +1 -0
  1157. package/types/features/meetings/domain/ports/calendar-writer.d.ts +16 -0
  1158. package/types/features/meetings/domain/ports/calendar-writer.d.ts.map +1 -0
  1159. package/types/features/meetings/domain/ports/meeting-gateway.d.ts +51 -0
  1160. package/types/features/meetings/domain/ports/meeting-gateway.d.ts.map +1 -0
  1161. package/types/features/meetings/domain/slot-availability.d.ts +67 -0
  1162. package/types/features/meetings/domain/slot-availability.d.ts.map +1 -0
  1163. package/types/features/meetings/index.d.ts +7 -0
  1164. package/types/features/meetings/index.d.ts.map +1 -0
  1165. package/types/features/meetings/infrastructure/dto/meeting-dtos.d.ts +489 -0
  1166. package/types/features/meetings/infrastructure/dto/meeting-dtos.d.ts.map +1 -0
  1167. package/types/features/meetings/infrastructure/http-meeting-gateway.d.ts +30 -0
  1168. package/types/features/meetings/infrastructure/http-meeting-gateway.d.ts.map +1 -0
  1169. package/types/features/meetings/infrastructure/http-meeting-routes.d.ts +16 -0
  1170. package/types/features/meetings/infrastructure/http-meeting-routes.d.ts.map +1 -0
  1171. package/types/features/meetings/infrastructure/index.d.ts +4 -0
  1172. package/types/features/meetings/infrastructure/index.d.ts.map +1 -0
  1173. package/types/features/meetings/infrastructure/meeting-gateway-errors.d.ts +12 -0
  1174. package/types/features/meetings/infrastructure/meeting-gateway-errors.d.ts.map +1 -0
  1175. package/types/features/meetings/infrastructure/meeting-mappers.d.ts +25 -0
  1176. package/types/features/meetings/infrastructure/meeting-mappers.d.ts.map +1 -0
  1177. package/types/features/meetings/infrastructure/meeting-seed.d.ts +27 -0
  1178. package/types/features/meetings/infrastructure/meeting-seed.d.ts.map +1 -0
  1179. package/types/features/meetings/infrastructure/mock-meeting-gateway.d.ts +22 -0
  1180. package/types/features/meetings/infrastructure/mock-meeting-gateway.d.ts.map +1 -0
  1181. package/types/features/meetings/meetings-module.d.ts +19 -0
  1182. package/types/features/meetings/meetings-module.d.ts.map +1 -0
  1183. package/types/features/meetings/presentation/AttendeeSidebar.d.ts +16 -0
  1184. package/types/features/meetings/presentation/AttendeeSidebar.d.ts.map +1 -0
  1185. package/types/features/meetings/presentation/BookBar.d.ts +17 -0
  1186. package/types/features/meetings/presentation/BookBar.d.ts.map +1 -0
  1187. package/types/features/meetings/presentation/BookMeetingPanel.d.ts +6 -0
  1188. package/types/features/meetings/presentation/BookMeetingPanel.d.ts.map +1 -0
  1189. package/types/features/meetings/presentation/BookingCalendar.d.ts +11 -0
  1190. package/types/features/meetings/presentation/BookingCalendar.d.ts.map +1 -0
  1191. package/types/features/meetings/presentation/BookingConfirmModal.d.ts +16 -0
  1192. package/types/features/meetings/presentation/BookingConfirmModal.d.ts.map +1 -0
  1193. package/types/features/meetings/presentation/BookingSuccessScreen.d.ts +9 -0
  1194. package/types/features/meetings/presentation/BookingSuccessScreen.d.ts.map +1 -0
  1195. package/types/features/meetings/presentation/BookingsPage.d.ts +4 -0
  1196. package/types/features/meetings/presentation/BookingsPage.d.ts.map +1 -0
  1197. package/types/features/meetings/presentation/ContactColumn.d.ts +16 -0
  1198. package/types/features/meetings/presentation/ContactColumn.d.ts.map +1 -0
  1199. package/types/features/meetings/presentation/GroupMeetingWizard.d.ts +6 -0
  1200. package/types/features/meetings/presentation/GroupMeetingWizard.d.ts.map +1 -0
  1201. package/types/features/meetings/presentation/MeetingCard.d.ts +14 -0
  1202. package/types/features/meetings/presentation/MeetingCard.d.ts.map +1 -0
  1203. package/types/features/meetings/presentation/MeetingParticipantsChip.d.ts +21 -0
  1204. package/types/features/meetings/presentation/MeetingParticipantsChip.d.ts.map +1 -0
  1205. package/types/features/meetings/presentation/MeetingsModuleProvider.d.ts +9 -0
  1206. package/types/features/meetings/presentation/MeetingsModuleProvider.d.ts.map +1 -0
  1207. package/types/features/meetings/presentation/MeetingsSkeleton.d.ts +3 -0
  1208. package/types/features/meetings/presentation/MeetingsSkeleton.d.ts.map +1 -0
  1209. package/types/features/meetings/presentation/ScheduledMeetings.d.ts +3 -0
  1210. package/types/features/meetings/presentation/ScheduledMeetings.d.ts.map +1 -0
  1211. package/types/features/meetings/presentation/SlotsColumn.d.ts +15 -0
  1212. package/types/features/meetings/presentation/SlotsColumn.d.ts.map +1 -0
  1213. package/types/features/meetings/presentation/StepConfirm.d.ts +8 -0
  1214. package/types/features/meetings/presentation/StepConfirm.d.ts.map +1 -0
  1215. package/types/features/meetings/presentation/StepDetails.d.ts +8 -0
  1216. package/types/features/meetings/presentation/StepDetails.d.ts.map +1 -0
  1217. package/types/features/meetings/presentation/StepParticipants.d.ts +8 -0
  1218. package/types/features/meetings/presentation/StepParticipants.d.ts.map +1 -0
  1219. package/types/features/meetings/presentation/StepTime.d.ts +6 -0
  1220. package/types/features/meetings/presentation/StepTime.d.ts.map +1 -0
  1221. package/types/features/meetings/presentation/TimelineGrid.d.ts +24 -0
  1222. package/types/features/meetings/presentation/TimelineGrid.d.ts.map +1 -0
  1223. package/types/features/meetings/presentation/TimezoneSelect.d.ts +8 -0
  1224. package/types/features/meetings/presentation/TimezoneSelect.d.ts.map +1 -0
  1225. package/types/features/meetings/presentation/booking-date.d.ts +17 -0
  1226. package/types/features/meetings/presentation/booking-date.d.ts.map +1 -0
  1227. package/types/features/meetings/presentation/booking-draft-result.d.ts +115 -0
  1228. package/types/features/meetings/presentation/booking-draft-result.d.ts.map +1 -0
  1229. package/types/features/meetings/presentation/booking-helpers.d.ts +61 -0
  1230. package/types/features/meetings/presentation/booking-helpers.d.ts.map +1 -0
  1231. package/types/features/meetings/presentation/index.d.ts +4 -0
  1232. package/types/features/meetings/presentation/index.d.ts.map +1 -0
  1233. package/types/features/meetings/presentation/meetings-module-context.d.ts +4 -0
  1234. package/types/features/meetings/presentation/meetings-module-context.d.ts.map +1 -0
  1235. package/types/features/meetings/presentation/use-booking-draft.d.ts +4 -0
  1236. package/types/features/meetings/presentation/use-booking-draft.d.ts.map +1 -0
  1237. package/types/features/meetings/presentation/use-booking-viewer.d.ts +15 -0
  1238. package/types/features/meetings/presentation/use-booking-viewer.d.ts.map +1 -0
  1239. package/types/features/meetings/presentation/use-debounced-value.d.ts +6 -0
  1240. package/types/features/meetings/presentation/use-debounced-value.d.ts.map +1 -0
  1241. package/types/features/meetings/presentation/use-group-wizard-state.d.ts +14 -0
  1242. package/types/features/meetings/presentation/use-group-wizard-state.d.ts.map +1 -0
  1243. package/types/features/meetings/presentation/use-meetings-module.d.ts +4 -0
  1244. package/types/features/meetings/presentation/use-meetings-module.d.ts.map +1 -0
  1245. package/types/features/meetings/presentation/use-meetings.d.ts +32 -0
  1246. package/types/features/meetings/presentation/use-meetings.d.ts.map +1 -0
  1247. package/types/features/module-access/application/index.d.ts +2 -0
  1248. package/types/features/module-access/application/index.d.ts.map +1 -0
  1249. package/types/features/module-access/application/use-cases/get-module-access.d.ts +15 -0
  1250. package/types/features/module-access/application/use-cases/get-module-access.d.ts.map +1 -0
  1251. package/types/features/module-access/domain/index.d.ts +2 -0
  1252. package/types/features/module-access/domain/index.d.ts.map +1 -0
  1253. package/types/features/module-access/domain/module-access.d.ts +100 -0
  1254. package/types/features/module-access/domain/module-access.d.ts.map +1 -0
  1255. package/types/features/module-access/index.d.ts +9 -0
  1256. package/types/features/module-access/index.d.ts.map +1 -0
  1257. package/types/features/module-access/infrastructure/http-module-access-gateway.d.ts +20 -0
  1258. package/types/features/module-access/infrastructure/http-module-access-gateway.d.ts.map +1 -0
  1259. package/types/features/module-access/infrastructure/index.d.ts +2 -0
  1260. package/types/features/module-access/infrastructure/index.d.ts.map +1 -0
  1261. package/types/features/module-access/module-access-module.d.ts +16 -0
  1262. package/types/features/module-access/module-access-module.d.ts.map +1 -0
  1263. package/types/features/module-access/presentation/ModuleAccessModuleProvider.d.ts +9 -0
  1264. package/types/features/module-access/presentation/ModuleAccessModuleProvider.d.ts.map +1 -0
  1265. package/types/features/module-access/presentation/RequireModule.d.ts +13 -0
  1266. package/types/features/module-access/presentation/RequireModule.d.ts.map +1 -0
  1267. package/types/features/module-access/presentation/index.d.ts +5 -0
  1268. package/types/features/module-access/presentation/index.d.ts.map +1 -0
  1269. package/types/features/module-access/presentation/module-access-module-context.d.ts +4 -0
  1270. package/types/features/module-access/presentation/module-access-module-context.d.ts.map +1 -0
  1271. package/types/features/module-access/presentation/use-module-access-module.d.ts +4 -0
  1272. package/types/features/module-access/presentation/use-module-access-module.d.ts.map +1 -0
  1273. package/types/features/module-access/presentation/use-module-access.d.ts +33 -0
  1274. package/types/features/module-access/presentation/use-module-access.d.ts.map +1 -0
  1275. package/types/features/org/application/index.d.ts +26 -0
  1276. package/types/features/org/application/index.d.ts.map +1 -0
  1277. package/types/features/org/application/use-cases/assign-manager.d.ts +15 -0
  1278. package/types/features/org/application/use-cases/assign-manager.d.ts.map +1 -0
  1279. package/types/features/org/application/use-cases/assign-user-branch.d.ts +15 -0
  1280. package/types/features/org/application/use-cases/assign-user-branch.d.ts.map +1 -0
  1281. package/types/features/org/application/use-cases/assign-user-type.d.ts +15 -0
  1282. package/types/features/org/application/use-cases/assign-user-type.d.ts.map +1 -0
  1283. package/types/features/org/application/use-cases/delete-branch.d.ts +15 -0
  1284. package/types/features/org/application/use-cases/delete-branch.d.ts.map +1 -0
  1285. package/types/features/org/application/use-cases/delete-team.d.ts +15 -0
  1286. package/types/features/org/application/use-cases/delete-team.d.ts.map +1 -0
  1287. package/types/features/org/application/use-cases/delete-user-type.d.ts +15 -0
  1288. package/types/features/org/application/use-cases/delete-user-type.d.ts.map +1 -0
  1289. package/types/features/org/application/use-cases/get-assignable-roles.d.ts +15 -0
  1290. package/types/features/org/application/use-cases/get-assignable-roles.d.ts.map +1 -0
  1291. package/types/features/org/application/use-cases/get-hierarchy-plan.d.ts +15 -0
  1292. package/types/features/org/application/use-cases/get-hierarchy-plan.d.ts.map +1 -0
  1293. package/types/features/org/application/use-cases/get-my-user-types.d.ts +15 -0
  1294. package/types/features/org/application/use-cases/get-my-user-types.d.ts.map +1 -0
  1295. package/types/features/org/application/use-cases/get-user-branches.d.ts +15 -0
  1296. package/types/features/org/application/use-cases/get-user-branches.d.ts.map +1 -0
  1297. package/types/features/org/application/use-cases/get-user-types-for.d.ts +15 -0
  1298. package/types/features/org/application/use-cases/get-user-types-for.d.ts.map +1 -0
  1299. package/types/features/org/application/use-cases/group-membership-hierarchy.d.ts +22 -0
  1300. package/types/features/org/application/use-cases/group-membership-hierarchy.d.ts.map +1 -0
  1301. package/types/features/org/application/use-cases/list-branch-options.d.ts +15 -0
  1302. package/types/features/org/application/use-cases/list-branch-options.d.ts.map +1 -0
  1303. package/types/features/org/application/use-cases/list-branches.d.ts +15 -0
  1304. package/types/features/org/application/use-cases/list-branches.d.ts.map +1 -0
  1305. package/types/features/org/application/use-cases/list-hierarchy-edges.d.ts +15 -0
  1306. package/types/features/org/application/use-cases/list-hierarchy-edges.d.ts.map +1 -0
  1307. package/types/features/org/application/use-cases/list-teams.d.ts +15 -0
  1308. package/types/features/org/application/use-cases/list-teams.d.ts.map +1 -0
  1309. package/types/features/org/application/use-cases/list-user-types.d.ts +15 -0
  1310. package/types/features/org/application/use-cases/list-user-types.d.ts.map +1 -0
  1311. package/types/features/org/application/use-cases/remove-manager.d.ts +15 -0
  1312. package/types/features/org/application/use-cases/remove-manager.d.ts.map +1 -0
  1313. package/types/features/org/application/use-cases/remove-user-branch.d.ts +15 -0
  1314. package/types/features/org/application/use-cases/remove-user-branch.d.ts.map +1 -0
  1315. package/types/features/org/application/use-cases/remove-user-type.d.ts +15 -0
  1316. package/types/features/org/application/use-cases/remove-user-type.d.ts.map +1 -0
  1317. package/types/features/org/application/use-cases/save-branch.d.ts +18 -0
  1318. package/types/features/org/application/use-cases/save-branch.d.ts.map +1 -0
  1319. package/types/features/org/application/use-cases/save-team.d.ts +18 -0
  1320. package/types/features/org/application/use-cases/save-team.d.ts.map +1 -0
  1321. package/types/features/org/application/use-cases/save-user-type.d.ts +18 -0
  1322. package/types/features/org/application/use-cases/save-user-type.d.ts.map +1 -0
  1323. package/types/features/org/application/use-cases/set-default-branch.d.ts +15 -0
  1324. package/types/features/org/application/use-cases/set-default-branch.d.ts.map +1 -0
  1325. package/types/features/org/application/use-cases/switch-my-user-type.d.ts +15 -0
  1326. package/types/features/org/application/use-cases/switch-my-user-type.d.ts.map +1 -0
  1327. package/types/features/org/domain/branch.d.ts +43 -0
  1328. package/types/features/org/domain/branch.d.ts.map +1 -0
  1329. package/types/features/org/domain/data-access-scope.d.ts +12 -0
  1330. package/types/features/org/domain/data-access-scope.d.ts.map +1 -0
  1331. package/types/features/org/domain/errors/org-errors.d.ts +33 -0
  1332. package/types/features/org/domain/errors/org-errors.d.ts.map +1 -0
  1333. package/types/features/org/domain/hierarchy.d.ts +63 -0
  1334. package/types/features/org/domain/hierarchy.d.ts.map +1 -0
  1335. package/types/features/org/domain/index.d.ts +8 -0
  1336. package/types/features/org/domain/index.d.ts.map +1 -0
  1337. package/types/features/org/domain/ports/org-gateway.d.ts +59 -0
  1338. package/types/features/org/domain/ports/org-gateway.d.ts.map +1 -0
  1339. package/types/features/org/domain/team.d.ts +28 -0
  1340. package/types/features/org/domain/team.d.ts.map +1 -0
  1341. package/types/features/org/domain/user-type.d.ts +67 -0
  1342. package/types/features/org/domain/user-type.d.ts.map +1 -0
  1343. package/types/features/org/index.d.ts +8 -0
  1344. package/types/features/org/index.d.ts.map +1 -0
  1345. package/types/features/org/infrastructure/dto/org-dtos.d.ts +522 -0
  1346. package/types/features/org/infrastructure/dto/org-dtos.d.ts.map +1 -0
  1347. package/types/features/org/infrastructure/http-org-gateway.d.ts +59 -0
  1348. package/types/features/org/infrastructure/http-org-gateway.d.ts.map +1 -0
  1349. package/types/features/org/infrastructure/http-org-routes.d.ts +40 -0
  1350. package/types/features/org/infrastructure/http-org-routes.d.ts.map +1 -0
  1351. package/types/features/org/infrastructure/index.d.ts +6 -0
  1352. package/types/features/org/infrastructure/index.d.ts.map +1 -0
  1353. package/types/features/org/infrastructure/org-gateway-errors.d.ts +15 -0
  1354. package/types/features/org/infrastructure/org-gateway-errors.d.ts.map +1 -0
  1355. package/types/features/org/infrastructure/org-mappers.d.ts +24 -0
  1356. package/types/features/org/infrastructure/org-mappers.d.ts.map +1 -0
  1357. package/types/features/org/org-module.d.ts +38 -0
  1358. package/types/features/org/org-module.d.ts.map +1 -0
  1359. package/types/features/org/presentation/AccessControlPage.d.ts +9 -0
  1360. package/types/features/org/presentation/AccessControlPage.d.ts.map +1 -0
  1361. package/types/features/org/presentation/AssignManagerModal.d.ts +13 -0
  1362. package/types/features/org/presentation/AssignManagerModal.d.ts.map +1 -0
  1363. package/types/features/org/presentation/BranchFormModal.d.ts +16 -0
  1364. package/types/features/org/presentation/BranchFormModal.d.ts.map +1 -0
  1365. package/types/features/org/presentation/BranchTimezoneField.d.ts +6 -0
  1366. package/types/features/org/presentation/BranchTimezoneField.d.ts.map +1 -0
  1367. package/types/features/org/presentation/BranchesPanel.d.ts +11 -0
  1368. package/types/features/org/presentation/BranchesPanel.d.ts.map +1 -0
  1369. package/types/features/org/presentation/GroupMembershipSetting.d.ts +8 -0
  1370. package/types/features/org/presentation/GroupMembershipSetting.d.ts.map +1 -0
  1371. package/types/features/org/presentation/HierarchyInsertPicker.d.ts +18 -0
  1372. package/types/features/org/presentation/HierarchyInsertPicker.d.ts.map +1 -0
  1373. package/types/features/org/presentation/MemberAccessCard.d.ts +11 -0
  1374. package/types/features/org/presentation/MemberAccessCard.d.ts.map +1 -0
  1375. package/types/features/org/presentation/MemberAccessModal.d.ts +14 -0
  1376. package/types/features/org/presentation/MemberAccessModal.d.ts.map +1 -0
  1377. package/types/features/org/presentation/OrgChartPanel.d.ts +10 -0
  1378. package/types/features/org/presentation/OrgChartPanel.d.ts.map +1 -0
  1379. package/types/features/org/presentation/OrgChartTree.d.ts +17 -0
  1380. package/types/features/org/presentation/OrgChartTree.d.ts.map +1 -0
  1381. package/types/features/org/presentation/OrgModuleProvider.d.ts +9 -0
  1382. package/types/features/org/presentation/OrgModuleProvider.d.ts.map +1 -0
  1383. package/types/features/org/presentation/TeamFormModal.d.ts +16 -0
  1384. package/types/features/org/presentation/TeamFormModal.d.ts.map +1 -0
  1385. package/types/features/org/presentation/TeamsPanel.d.ts +11 -0
  1386. package/types/features/org/presentation/TeamsPanel.d.ts.map +1 -0
  1387. package/types/features/org/presentation/TypeSwitcher.d.ts +8 -0
  1388. package/types/features/org/presentation/TypeSwitcher.d.ts.map +1 -0
  1389. package/types/features/org/presentation/UserTypeFormFields.d.ts +21 -0
  1390. package/types/features/org/presentation/UserTypeFormFields.d.ts.map +1 -0
  1391. package/types/features/org/presentation/UserTypeFormView.d.ts +14 -0
  1392. package/types/features/org/presentation/UserTypeFormView.d.ts.map +1 -0
  1393. package/types/features/org/presentation/UserTypeLadder.d.ts +8 -0
  1394. package/types/features/org/presentation/UserTypeLadder.d.ts.map +1 -0
  1395. package/types/features/org/presentation/UserTypesPanel.d.ts +13 -0
  1396. package/types/features/org/presentation/UserTypesPanel.d.ts.map +1 -0
  1397. package/types/features/org/presentation/index.d.ts +6 -0
  1398. package/types/features/org/presentation/index.d.ts.map +1 -0
  1399. package/types/features/org/presentation/org-module-context.d.ts +4 -0
  1400. package/types/features/org/presentation/org-module-context.d.ts.map +1 -0
  1401. package/types/features/org/presentation/org-query-keys.d.ts +10 -0
  1402. package/types/features/org/presentation/org-query-keys.d.ts.map +1 -0
  1403. package/types/features/org/presentation/org-role-color.d.ts +4 -0
  1404. package/types/features/org/presentation/org-role-color.d.ts.map +1 -0
  1405. package/types/features/org/presentation/use-assign-manager-form.d.ts +29 -0
  1406. package/types/features/org/presentation/use-assign-manager-form.d.ts.map +1 -0
  1407. package/types/features/org/presentation/use-group-membership.d.ts +6 -0
  1408. package/types/features/org/presentation/use-group-membership.d.ts.map +1 -0
  1409. package/types/features/org/presentation/use-my-user-type.d.ts +12 -0
  1410. package/types/features/org/presentation/use-my-user-type.d.ts.map +1 -0
  1411. package/types/features/org/presentation/use-org-admin.d.ts +62 -0
  1412. package/types/features/org/presentation/use-org-admin.d.ts.map +1 -0
  1413. package/types/features/org/presentation/use-org-module.d.ts +4 -0
  1414. package/types/features/org/presentation/use-org-module.d.ts.map +1 -0
  1415. package/types/features/org/presentation/use-save-branch-handler.d.ts +7 -0
  1416. package/types/features/org/presentation/use-save-branch-handler.d.ts.map +1 -0
  1417. package/types/features/org/presentation/use-save-team-handler.d.ts +7 -0
  1418. package/types/features/org/presentation/use-save-team-handler.d.ts.map +1 -0
  1419. package/types/features/org/presentation/use-save-user-type-handler.d.ts +7 -0
  1420. package/types/features/org/presentation/use-save-user-type-handler.d.ts.map +1 -0
  1421. package/types/features/org/presentation/use-user-type-form.d.ts +25 -0
  1422. package/types/features/org/presentation/use-user-type-form.d.ts.map +1 -0
  1423. package/types/features/permissions/application/index.d.ts +4 -0
  1424. package/types/features/permissions/application/index.d.ts.map +1 -0
  1425. package/types/features/permissions/application/use-cases/delete-permission-set.d.ts +15 -0
  1426. package/types/features/permissions/application/use-cases/delete-permission-set.d.ts.map +1 -0
  1427. package/types/features/permissions/application/use-cases/get-permission-catalog.d.ts +15 -0
  1428. package/types/features/permissions/application/use-cases/get-permission-catalog.d.ts.map +1 -0
  1429. package/types/features/permissions/application/use-cases/save-permission-set.d.ts +15 -0
  1430. package/types/features/permissions/application/use-cases/save-permission-set.d.ts.map +1 -0
  1431. package/types/features/permissions/domain/errors/permission-errors.d.ts +18 -0
  1432. package/types/features/permissions/domain/errors/permission-errors.d.ts.map +1 -0
  1433. package/types/features/permissions/domain/index.d.ts +5 -0
  1434. package/types/features/permissions/domain/index.d.ts.map +1 -0
  1435. package/types/features/permissions/domain/permission-rules.d.ts +20 -0
  1436. package/types/features/permissions/domain/permission-rules.d.ts.map +1 -0
  1437. package/types/features/permissions/domain/permission.d.ts +42 -0
  1438. package/types/features/permissions/domain/permission.d.ts.map +1 -0
  1439. package/types/features/permissions/domain/ports/permission-gateway.d.ts +13 -0
  1440. package/types/features/permissions/domain/ports/permission-gateway.d.ts.map +1 -0
  1441. package/types/features/permissions/index.d.ts +7 -0
  1442. package/types/features/permissions/index.d.ts.map +1 -0
  1443. package/types/features/permissions/infrastructure/http-permission-gateway.d.ts +23 -0
  1444. package/types/features/permissions/infrastructure/http-permission-gateway.d.ts.map +1 -0
  1445. package/types/features/permissions/infrastructure/http-permission-routes.d.ts +15 -0
  1446. package/types/features/permissions/infrastructure/http-permission-routes.d.ts.map +1 -0
  1447. package/types/features/permissions/infrastructure/index.d.ts +2 -0
  1448. package/types/features/permissions/infrastructure/index.d.ts.map +1 -0
  1449. package/types/features/permissions/infrastructure/permission-dtos.d.ts +200 -0
  1450. package/types/features/permissions/infrastructure/permission-dtos.d.ts.map +1 -0
  1451. package/types/features/permissions/infrastructure/permission-gateway-errors.d.ts +10 -0
  1452. package/types/features/permissions/infrastructure/permission-gateway-errors.d.ts.map +1 -0
  1453. package/types/features/permissions/infrastructure/permission-mappers.d.ts +8 -0
  1454. package/types/features/permissions/infrastructure/permission-mappers.d.ts.map +1 -0
  1455. package/types/features/permissions/permissions-module.d.ts +15 -0
  1456. package/types/features/permissions/permissions-module.d.ts.map +1 -0
  1457. package/types/features/permissions/presentation/EditorLegend.d.ts +3 -0
  1458. package/types/features/permissions/presentation/EditorLegend.d.ts.map +1 -0
  1459. package/types/features/permissions/presentation/EditorModal.d.ts +18 -0
  1460. package/types/features/permissions/presentation/EditorModal.d.ts.map +1 -0
  1461. package/types/features/permissions/presentation/EditorSurface.d.ts +15 -0
  1462. package/types/features/permissions/presentation/EditorSurface.d.ts.map +1 -0
  1463. package/types/features/permissions/presentation/PermissionRow.d.ts +16 -0
  1464. package/types/features/permissions/presentation/PermissionRow.d.ts.map +1 -0
  1465. package/types/features/permissions/presentation/PermissionSetCard.d.ts +12 -0
  1466. package/types/features/permissions/presentation/PermissionSetCard.d.ts.map +1 -0
  1467. package/types/features/permissions/presentation/PermissionsEditor.d.ts +8 -0
  1468. package/types/features/permissions/presentation/PermissionsEditor.d.ts.map +1 -0
  1469. package/types/features/permissions/presentation/PermissionsModuleProvider.d.ts +9 -0
  1470. package/types/features/permissions/presentation/PermissionsModuleProvider.d.ts.map +1 -0
  1471. package/types/features/permissions/presentation/PermissionsPage.d.ts +8 -0
  1472. package/types/features/permissions/presentation/PermissionsPage.d.ts.map +1 -0
  1473. package/types/features/permissions/presentation/SetsGrid.d.ts +15 -0
  1474. package/types/features/permissions/presentation/SetsGrid.d.ts.map +1 -0
  1475. package/types/features/permissions/presentation/index.d.ts +4 -0
  1476. package/types/features/permissions/presentation/index.d.ts.map +1 -0
  1477. package/types/features/permissions/presentation/permissions-module-context.d.ts +4 -0
  1478. package/types/features/permissions/presentation/permissions-module-context.d.ts.map +1 -0
  1479. package/types/features/permissions/presentation/use-permission-catalog.d.ts +5 -0
  1480. package/types/features/permissions/presentation/use-permission-catalog.d.ts.map +1 -0
  1481. package/types/features/permissions/presentation/use-permission-mutations.d.ts +6 -0
  1482. package/types/features/permissions/presentation/use-permission-mutations.d.ts.map +1 -0
  1483. package/types/features/permissions/presentation/use-permission-set-actions.d.ts +27 -0
  1484. package/types/features/permissions/presentation/use-permission-set-actions.d.ts.map +1 -0
  1485. package/types/features/permissions/presentation/use-permissions-module.d.ts +4 -0
  1486. package/types/features/permissions/presentation/use-permissions-module.d.ts.map +1 -0
  1487. package/types/features/permissions/presentation/use-permissions-state.d.ts +35 -0
  1488. package/types/features/permissions/presentation/use-permissions-state.d.ts.map +1 -0
  1489. package/types/features/presence/application/index.d.ts +3 -0
  1490. package/types/features/presence/application/index.d.ts.map +1 -0
  1491. package/types/features/presence/application/use-cases/get-presence-of.d.ts +14 -0
  1492. package/types/features/presence/application/use-cases/get-presence-of.d.ts.map +1 -0
  1493. package/types/features/presence/application/use-cases/my-presence-use-cases.d.ts +26 -0
  1494. package/types/features/presence/application/use-cases/my-presence-use-cases.d.ts.map +1 -0
  1495. package/types/features/presence/domain/errors/presence-errors.d.ts +8 -0
  1496. package/types/features/presence/domain/errors/presence-errors.d.ts.map +1 -0
  1497. package/types/features/presence/domain/index.d.ts +5 -0
  1498. package/types/features/presence/domain/index.d.ts.map +1 -0
  1499. package/types/features/presence/domain/my-presence.d.ts +28 -0
  1500. package/types/features/presence/domain/my-presence.d.ts.map +1 -0
  1501. package/types/features/presence/domain/others-presence.d.ts +18 -0
  1502. package/types/features/presence/domain/others-presence.d.ts.map +1 -0
  1503. package/types/features/presence/domain/ports/presence-gateway.d.ts +23 -0
  1504. package/types/features/presence/domain/ports/presence-gateway.d.ts.map +1 -0
  1505. package/types/features/presence/index.d.ts +4 -0
  1506. package/types/features/presence/index.d.ts.map +1 -0
  1507. package/types/features/presence/infrastructure/dto/presence-dtos.d.ts +63 -0
  1508. package/types/features/presence/infrastructure/dto/presence-dtos.d.ts.map +1 -0
  1509. package/types/features/presence/infrastructure/http-presence-gateway.d.ts +25 -0
  1510. package/types/features/presence/infrastructure/http-presence-gateway.d.ts.map +1 -0
  1511. package/types/features/presence/infrastructure/http-presence-routes.d.ts +12 -0
  1512. package/types/features/presence/infrastructure/http-presence-routes.d.ts.map +1 -0
  1513. package/types/features/presence/infrastructure/index.d.ts +3 -0
  1514. package/types/features/presence/infrastructure/index.d.ts.map +1 -0
  1515. package/types/features/presence/infrastructure/presence-mappers.d.ts +13 -0
  1516. package/types/features/presence/infrastructure/presence-mappers.d.ts.map +1 -0
  1517. package/types/features/presence/presence-module.d.ts +17 -0
  1518. package/types/features/presence/presence-module.d.ts.map +1 -0
  1519. package/types/features/presence/presentation/MyPresenceMenu.d.ts +23 -0
  1520. package/types/features/presence/presentation/MyPresenceMenu.d.ts.map +1 -0
  1521. package/types/features/presence/presentation/PresenceModuleProvider.d.ts +7 -0
  1522. package/types/features/presence/presentation/PresenceModuleProvider.d.ts.map +1 -0
  1523. package/types/features/presence/presentation/ViewerPresenceBadge.d.ts +22 -0
  1524. package/types/features/presence/presentation/ViewerPresenceBadge.d.ts.map +1 -0
  1525. package/types/features/presence/presentation/index.d.ts +7 -0
  1526. package/types/features/presence/presentation/index.d.ts.map +1 -0
  1527. package/types/features/presence/presentation/presence-module-context.d.ts +3 -0
  1528. package/types/features/presence/presentation/presence-module-context.d.ts.map +1 -0
  1529. package/types/features/presence/presentation/use-live-presence-poll.d.ts +18 -0
  1530. package/types/features/presence/presentation/use-live-presence-poll.d.ts.map +1 -0
  1531. package/types/features/presence/presentation/use-my-presence.d.ts +13 -0
  1532. package/types/features/presence/presentation/use-my-presence.d.ts.map +1 -0
  1533. package/types/features/presence/presentation/use-presence-module.d.ts +3 -0
  1534. package/types/features/presence/presentation/use-presence-module.d.ts.map +1 -0
  1535. package/types/features/schedule/application/index.d.ts +10 -0
  1536. package/types/features/schedule/application/index.d.ts.map +1 -0
  1537. package/types/features/schedule/application/use-cases/create-block.d.ts +15 -0
  1538. package/types/features/schedule/application/use-cases/create-block.d.ts.map +1 -0
  1539. package/types/features/schedule/application/use-cases/delete-block.d.ts +15 -0
  1540. package/types/features/schedule/application/use-cases/delete-block.d.ts.map +1 -0
  1541. package/types/features/schedule/application/use-cases/get-availability.d.ts +15 -0
  1542. package/types/features/schedule/application/use-cases/get-availability.d.ts.map +1 -0
  1543. package/types/features/schedule/application/use-cases/get-effective-availability.d.ts +18 -0
  1544. package/types/features/schedule/application/use-cases/get-effective-availability.d.ts.map +1 -0
  1545. package/types/features/schedule/application/use-cases/get-preferences.d.ts +15 -0
  1546. package/types/features/schedule/application/use-cases/get-preferences.d.ts.map +1 -0
  1547. package/types/features/schedule/application/use-cases/index.d.ts +9 -0
  1548. package/types/features/schedule/application/use-cases/index.d.ts.map +1 -0
  1549. package/types/features/schedule/application/use-cases/list-schedule-blocks.d.ts +15 -0
  1550. package/types/features/schedule/application/use-cases/list-schedule-blocks.d.ts.map +1 -0
  1551. package/types/features/schedule/application/use-cases/save-availability.d.ts +15 -0
  1552. package/types/features/schedule/application/use-cases/save-availability.d.ts.map +1 -0
  1553. package/types/features/schedule/application/use-cases/save-preferences.d.ts +15 -0
  1554. package/types/features/schedule/application/use-cases/save-preferences.d.ts.map +1 -0
  1555. package/types/features/schedule/application/use-cases/update-block.d.ts +19 -0
  1556. package/types/features/schedule/application/use-cases/update-block.d.ts.map +1 -0
  1557. package/types/features/schedule/domain/datetime.d.ts +16 -0
  1558. package/types/features/schedule/domain/datetime.d.ts.map +1 -0
  1559. package/types/features/schedule/domain/day-availability.d.ts +14 -0
  1560. package/types/features/schedule/domain/day-availability.d.ts.map +1 -0
  1561. package/types/features/schedule/domain/effective-availability.d.ts +34 -0
  1562. package/types/features/schedule/domain/effective-availability.d.ts.map +1 -0
  1563. package/types/features/schedule/domain/errors/schedule-errors.d.ts +25 -0
  1564. package/types/features/schedule/domain/errors/schedule-errors.d.ts.map +1 -0
  1565. package/types/features/schedule/domain/index.d.ts +15 -0
  1566. package/types/features/schedule/domain/index.d.ts.map +1 -0
  1567. package/types/features/schedule/domain/ports/calendar-sink.d.ts +16 -0
  1568. package/types/features/schedule/domain/ports/calendar-sink.d.ts.map +1 -0
  1569. package/types/features/schedule/domain/ports/schedule-gateway.d.ts +20 -0
  1570. package/types/features/schedule/domain/ports/schedule-gateway.d.ts.map +1 -0
  1571. package/types/features/schedule/domain/recurrence-calc.d.ts +13 -0
  1572. package/types/features/schedule/domain/recurrence-calc.d.ts.map +1 -0
  1573. package/types/features/schedule/domain/recurrence.d.ts +65 -0
  1574. package/types/features/schedule/domain/recurrence.d.ts.map +1 -0
  1575. package/types/features/schedule/domain/schedule-block.d.ts +66 -0
  1576. package/types/features/schedule/domain/schedule-block.d.ts.map +1 -0
  1577. package/types/features/schedule/domain/schedule-preferences.d.ts +18 -0
  1578. package/types/features/schedule/domain/schedule-preferences.d.ts.map +1 -0
  1579. package/types/features/schedule/domain/schedule-status.d.ts +12 -0
  1580. package/types/features/schedule/domain/schedule-status.d.ts.map +1 -0
  1581. package/types/features/schedule/domain/schedule-summary.d.ts +13 -0
  1582. package/types/features/schedule/domain/schedule-summary.d.ts.map +1 -0
  1583. package/types/features/schedule/domain/schedule-week.d.ts +30 -0
  1584. package/types/features/schedule/domain/schedule-week.d.ts.map +1 -0
  1585. package/types/features/schedule/domain/time-range.d.ts +3 -0
  1586. package/types/features/schedule/domain/time-range.d.ts.map +1 -0
  1587. package/types/features/schedule/domain/weekday.d.ts +8 -0
  1588. package/types/features/schedule/domain/weekday.d.ts.map +1 -0
  1589. package/types/features/schedule/index.d.ts +8 -0
  1590. package/types/features/schedule/index.d.ts.map +1 -0
  1591. package/types/features/schedule/infrastructure/dto/schedule-dtos.d.ts +1051 -0
  1592. package/types/features/schedule/infrastructure/dto/schedule-dtos.d.ts.map +1 -0
  1593. package/types/features/schedule/infrastructure/http-schedule-gateway.d.ts +37 -0
  1594. package/types/features/schedule/infrastructure/http-schedule-gateway.d.ts.map +1 -0
  1595. package/types/features/schedule/infrastructure/http-schedule-routes.d.ts +18 -0
  1596. package/types/features/schedule/infrastructure/http-schedule-routes.d.ts.map +1 -0
  1597. package/types/features/schedule/infrastructure/index.d.ts +4 -0
  1598. package/types/features/schedule/infrastructure/index.d.ts.map +1 -0
  1599. package/types/features/schedule/infrastructure/mock-schedule-gateway.d.ts +27 -0
  1600. package/types/features/schedule/infrastructure/mock-schedule-gateway.d.ts.map +1 -0
  1601. package/types/features/schedule/infrastructure/schedule-gateway-errors.d.ts +11 -0
  1602. package/types/features/schedule/infrastructure/schedule-gateway-errors.d.ts.map +1 -0
  1603. package/types/features/schedule/infrastructure/schedule-mappers.d.ts +23 -0
  1604. package/types/features/schedule/infrastructure/schedule-mappers.d.ts.map +1 -0
  1605. package/types/features/schedule/infrastructure/schedule-seed.d.ts +22 -0
  1606. package/types/features/schedule/infrastructure/schedule-seed.d.ts.map +1 -0
  1607. package/types/features/schedule/presentation/AgendaList.d.ts +9 -0
  1608. package/types/features/schedule/presentation/AgendaList.d.ts.map +1 -0
  1609. package/types/features/schedule/presentation/BlockEditor.d.ts +11 -0
  1610. package/types/features/schedule/presentation/BlockEditor.d.ts.map +1 -0
  1611. package/types/features/schedule/presentation/BlockFields.d.ts +9 -0
  1612. package/types/features/schedule/presentation/BlockFields.d.ts.map +1 -0
  1613. package/types/features/schedule/presentation/BookingPrefFields.d.ts +10 -0
  1614. package/types/features/schedule/presentation/BookingPrefFields.d.ts.map +1 -0
  1615. package/types/features/schedule/presentation/CalendarChips.d.ts +15 -0
  1616. package/types/features/schedule/presentation/CalendarChips.d.ts.map +1 -0
  1617. package/types/features/schedule/presentation/CalendarGridLayers.d.ts +23 -0
  1618. package/types/features/schedule/presentation/CalendarGridLayers.d.ts.map +1 -0
  1619. package/types/features/schedule/presentation/CustomTimesSection.d.ts +13 -0
  1620. package/types/features/schedule/presentation/CustomTimesSection.d.ts.map +1 -0
  1621. package/types/features/schedule/presentation/DayColumn.d.ts +26 -0
  1622. package/types/features/schedule/presentation/DayColumn.d.ts.map +1 -0
  1623. package/types/features/schedule/presentation/HoursForm.d.ts +10 -0
  1624. package/types/features/schedule/presentation/HoursForm.d.ts.map +1 -0
  1625. package/types/features/schedule/presentation/MonthCalendar.d.ts +12 -0
  1626. package/types/features/schedule/presentation/MonthCalendar.d.ts.map +1 -0
  1627. package/types/features/schedule/presentation/RecurrenceBuilder.d.ts +11 -0
  1628. package/types/features/schedule/presentation/RecurrenceBuilder.d.ts.map +1 -0
  1629. package/types/features/schedule/presentation/ScheduleBody.d.ts +31 -0
  1630. package/types/features/schedule/presentation/ScheduleBody.d.ts.map +1 -0
  1631. package/types/features/schedule/presentation/ScheduleModuleProvider.d.ts +9 -0
  1632. package/types/features/schedule/presentation/ScheduleModuleProvider.d.ts.map +1 -0
  1633. package/types/features/schedule/presentation/SchedulePage.d.ts +4 -0
  1634. package/types/features/schedule/presentation/SchedulePage.d.ts.map +1 -0
  1635. package/types/features/schedule/presentation/ScheduleSidebar.d.ts +15 -0
  1636. package/types/features/schedule/presentation/ScheduleSidebar.d.ts.map +1 -0
  1637. package/types/features/schedule/presentation/TimezoneCombobox.d.ts +10 -0
  1638. package/types/features/schedule/presentation/TimezoneCombobox.d.ts.map +1 -0
  1639. package/types/features/schedule/presentation/UpcomingOccurrences.d.ts +9 -0
  1640. package/types/features/schedule/presentation/UpcomingOccurrences.d.ts.map +1 -0
  1641. package/types/features/schedule/presentation/WeekCalendar.d.ts +24 -0
  1642. package/types/features/schedule/presentation/WeekCalendar.d.ts.map +1 -0
  1643. package/types/features/schedule/presentation/WorkingHoursEditor.d.ts +9 -0
  1644. package/types/features/schedule/presentation/WorkingHoursEditor.d.ts.map +1 -0
  1645. package/types/features/schedule/presentation/block-draft.d.ts +53 -0
  1646. package/types/features/schedule/presentation/block-draft.d.ts.map +1 -0
  1647. package/types/features/schedule/presentation/conflict-resolution.d.ts +44 -0
  1648. package/types/features/schedule/presentation/conflict-resolution.d.ts.map +1 -0
  1649. package/types/features/schedule/presentation/drag-slot.d.ts +16 -0
  1650. package/types/features/schedule/presentation/drag-slot.d.ts.map +1 -0
  1651. package/types/features/schedule/presentation/index.d.ts +5 -0
  1652. package/types/features/schedule/presentation/index.d.ts.map +1 -0
  1653. package/types/features/schedule/presentation/schedule-dates.d.ts +36 -0
  1654. package/types/features/schedule/presentation/schedule-dates.d.ts.map +1 -0
  1655. package/types/features/schedule/presentation/schedule-grid.d.ts +73 -0
  1656. package/types/features/schedule/presentation/schedule-grid.d.ts.map +1 -0
  1657. package/types/features/schedule/presentation/schedule-module-context.d.ts +4 -0
  1658. package/types/features/schedule/presentation/schedule-module-context.d.ts.map +1 -0
  1659. package/types/features/schedule/presentation/use-conflict-resolver.d.ts +13 -0
  1660. package/types/features/schedule/presentation/use-conflict-resolver.d.ts.map +1 -0
  1661. package/types/features/schedule/presentation/use-hours-form.d.ts +36 -0
  1662. package/types/features/schedule/presentation/use-hours-form.d.ts.map +1 -0
  1663. package/types/features/schedule/presentation/use-schedule-controller.d.ts +28 -0
  1664. package/types/features/schedule/presentation/use-schedule-controller.d.ts.map +1 -0
  1665. package/types/features/schedule/presentation/use-schedule-data.d.ts +24 -0
  1666. package/types/features/schedule/presentation/use-schedule-data.d.ts.map +1 -0
  1667. package/types/features/schedule/presentation/use-schedule-module.d.ts +4 -0
  1668. package/types/features/schedule/presentation/use-schedule-module.d.ts.map +1 -0
  1669. package/types/features/schedule/presentation/use-schedule.d.ts +18 -0
  1670. package/types/features/schedule/presentation/use-schedule.d.ts.map +1 -0
  1671. package/types/features/schedule/presentation/use-viewer-timezone.d.ts +10 -0
  1672. package/types/features/schedule/presentation/use-viewer-timezone.d.ts.map +1 -0
  1673. package/types/features/schedule/presentation/working-hours-tz.d.ts +18 -0
  1674. package/types/features/schedule/presentation/working-hours-tz.d.ts.map +1 -0
  1675. package/types/features/schedule/schedule-module.d.ts +28 -0
  1676. package/types/features/schedule/schedule-module.d.ts.map +1 -0
  1677. package/types/features/settings/application/feed-pref/delete-feed-category-item.d.ts +9 -0
  1678. package/types/features/settings/application/feed-pref/delete-feed-category-item.d.ts.map +1 -0
  1679. package/types/features/settings/application/feed-pref/delete-feed-template.d.ts +9 -0
  1680. package/types/features/settings/application/feed-pref/delete-feed-template.d.ts.map +1 -0
  1681. package/types/features/settings/application/feed-pref/get-content-prefs.d.ts +13 -0
  1682. package/types/features/settings/application/feed-pref/get-content-prefs.d.ts.map +1 -0
  1683. package/types/features/settings/application/feed-pref/list-external-feed-category-items.d.ts +9 -0
  1684. package/types/features/settings/application/feed-pref/list-external-feed-category-items.d.ts.map +1 -0
  1685. package/types/features/settings/application/feed-pref/list-feed-categories.d.ts +9 -0
  1686. package/types/features/settings/application/feed-pref/list-feed-categories.d.ts.map +1 -0
  1687. package/types/features/settings/application/feed-pref/list-feed-category-items.d.ts +9 -0
  1688. package/types/features/settings/application/feed-pref/list-feed-category-items.d.ts.map +1 -0
  1689. package/types/features/settings/application/feed-pref/list-feed-templates.d.ts +9 -0
  1690. package/types/features/settings/application/feed-pref/list-feed-templates.d.ts.map +1 -0
  1691. package/types/features/settings/application/feed-pref/save-content-prefs.d.ts +9 -0
  1692. package/types/features/settings/application/feed-pref/save-content-prefs.d.ts.map +1 -0
  1693. package/types/features/settings/application/feed-pref/save-feed-categories.d.ts +9 -0
  1694. package/types/features/settings/application/feed-pref/save-feed-categories.d.ts.map +1 -0
  1695. package/types/features/settings/application/feed-pref/save-feed-category-item.d.ts +9 -0
  1696. package/types/features/settings/application/feed-pref/save-feed-category-item.d.ts.map +1 -0
  1697. package/types/features/settings/application/feed-pref/save-feed-template.d.ts +9 -0
  1698. package/types/features/settings/application/feed-pref/save-feed-template.d.ts.map +1 -0
  1699. package/types/features/settings/application/group-category-use-cases.d.ts +23 -0
  1700. package/types/features/settings/application/group-category-use-cases.d.ts.map +1 -0
  1701. package/types/features/settings/application/index.d.ts +31 -0
  1702. package/types/features/settings/application/index.d.ts.map +1 -0
  1703. package/types/features/settings/application/org-settings-use-cases.d.ts +19 -0
  1704. package/types/features/settings/application/org-settings-use-cases.d.ts.map +1 -0
  1705. package/types/features/settings/application/promotions/delete-comm-template.d.ts +9 -0
  1706. package/types/features/settings/application/promotions/delete-comm-template.d.ts.map +1 -0
  1707. package/types/features/settings/application/promotions/delete-promotion.d.ts +9 -0
  1708. package/types/features/settings/application/promotions/delete-promotion.d.ts.map +1 -0
  1709. package/types/features/settings/application/promotions/list-comm-templates.d.ts +9 -0
  1710. package/types/features/settings/application/promotions/list-comm-templates.d.ts.map +1 -0
  1711. package/types/features/settings/application/promotions/list-promo-categories.d.ts +9 -0
  1712. package/types/features/settings/application/promotions/list-promo-categories.d.ts.map +1 -0
  1713. package/types/features/settings/application/promotions/list-promotions.d.ts +9 -0
  1714. package/types/features/settings/application/promotions/list-promotions.d.ts.map +1 -0
  1715. package/types/features/settings/application/promotions/promotions-use-case-deps.d.ts +7 -0
  1716. package/types/features/settings/application/promotions/promotions-use-case-deps.d.ts.map +1 -0
  1717. package/types/features/settings/application/promotions/save-comm-template.d.ts +9 -0
  1718. package/types/features/settings/application/promotions/save-comm-template.d.ts.map +1 -0
  1719. package/types/features/settings/application/promotions/save-promo-categories.d.ts +9 -0
  1720. package/types/features/settings/application/promotions/save-promo-categories.d.ts.map +1 -0
  1721. package/types/features/settings/application/promotions/save-promotion.d.ts +9 -0
  1722. package/types/features/settings/application/promotions/save-promotion.d.ts.map +1 -0
  1723. package/types/features/settings/application/provision-group.d.ts +14 -0
  1724. package/types/features/settings/application/provision-group.d.ts.map +1 -0
  1725. package/types/features/settings/application/usage-use-cases.d.ts +13 -0
  1726. package/types/features/settings/application/usage-use-cases.d.ts.map +1 -0
  1727. package/types/features/settings/application/webhook-registry/delete-webhook-endpoint.d.ts +9 -0
  1728. package/types/features/settings/application/webhook-registry/delete-webhook-endpoint.d.ts.map +1 -0
  1729. package/types/features/settings/application/webhook-registry/list-webhook-endpoints.d.ts +9 -0
  1730. package/types/features/settings/application/webhook-registry/list-webhook-endpoints.d.ts.map +1 -0
  1731. package/types/features/settings/application/webhook-registry/save-webhook-endpoint.d.ts +9 -0
  1732. package/types/features/settings/application/webhook-registry/save-webhook-endpoint.d.ts.map +1 -0
  1733. package/types/features/settings/application/webhook-registry/send-test-event.d.ts +9 -0
  1734. package/types/features/settings/application/webhook-registry/send-test-event.d.ts.map +1 -0
  1735. package/types/features/settings/application/webhook-registry/webhook-use-case-deps.d.ts +5 -0
  1736. package/types/features/settings/application/webhook-registry/webhook-use-case-deps.d.ts.map +1 -0
  1737. package/types/features/settings/application/webhook-use-cases.d.ts +25 -0
  1738. package/types/features/settings/application/webhook-use-cases.d.ts.map +1 -0
  1739. package/types/features/settings/domain/array-move.d.ts +5 -0
  1740. package/types/features/settings/domain/array-move.d.ts.map +1 -0
  1741. package/types/features/settings/domain/errors/settings-errors.d.ts +20 -0
  1742. package/types/features/settings/domain/errors/settings-errors.d.ts.map +1 -0
  1743. package/types/features/settings/domain/feed-category-item.d.ts +7 -0
  1744. package/types/features/settings/domain/feed-category-item.d.ts.map +1 -0
  1745. package/types/features/settings/domain/feed-pref.d.ts +61 -0
  1746. package/types/features/settings/domain/feed-pref.d.ts.map +1 -0
  1747. package/types/features/settings/domain/feed-template.d.ts +14 -0
  1748. package/types/features/settings/domain/feed-template.d.ts.map +1 -0
  1749. package/types/features/settings/domain/group-category.d.ts +39 -0
  1750. package/types/features/settings/domain/group-category.d.ts.map +1 -0
  1751. package/types/features/settings/domain/index.d.ts +23 -0
  1752. package/types/features/settings/domain/index.d.ts.map +1 -0
  1753. package/types/features/settings/domain/org-settings.d.ts +69 -0
  1754. package/types/features/settings/domain/org-settings.d.ts.map +1 -0
  1755. package/types/features/settings/domain/ports/feed-preferences-gateway.d.ts +19 -0
  1756. package/types/features/settings/domain/ports/feed-preferences-gateway.d.ts.map +1 -0
  1757. package/types/features/settings/domain/ports/group-categories-gateway.d.ts +10 -0
  1758. package/types/features/settings/domain/ports/group-categories-gateway.d.ts.map +1 -0
  1759. package/types/features/settings/domain/ports/group-provisioning-gateway.d.ts +34 -0
  1760. package/types/features/settings/domain/ports/group-provisioning-gateway.d.ts.map +1 -0
  1761. package/types/features/settings/domain/ports/org-settings-gateway.d.ts +13 -0
  1762. package/types/features/settings/domain/ports/org-settings-gateway.d.ts.map +1 -0
  1763. package/types/features/settings/domain/ports/promotions-gateway.d.ts +14 -0
  1764. package/types/features/settings/domain/ports/promotions-gateway.d.ts.map +1 -0
  1765. package/types/features/settings/domain/ports/settings-gateway.d.ts +14 -0
  1766. package/types/features/settings/domain/ports/settings-gateway.d.ts.map +1 -0
  1767. package/types/features/settings/domain/ports/usage-gateway.d.ts +9 -0
  1768. package/types/features/settings/domain/ports/usage-gateway.d.ts.map +1 -0
  1769. package/types/features/settings/domain/ports/webhook-gateway.d.ts +17 -0
  1770. package/types/features/settings/domain/ports/webhook-gateway.d.ts.map +1 -0
  1771. package/types/features/settings/domain/promo-fields.d.ts +65 -0
  1772. package/types/features/settings/domain/promo-fields.d.ts.map +1 -0
  1773. package/types/features/settings/domain/promo-samples.d.ts +4 -0
  1774. package/types/features/settings/domain/promo-samples.d.ts.map +1 -0
  1775. package/types/features/settings/domain/promotion.d.ts +73 -0
  1776. package/types/features/settings/domain/promotion.d.ts.map +1 -0
  1777. package/types/features/settings/domain/usage.d.ts +48 -0
  1778. package/types/features/settings/domain/usage.d.ts.map +1 -0
  1779. package/types/features/settings/domain/value-objects/setting-name.d.ts +17 -0
  1780. package/types/features/settings/domain/value-objects/setting-name.d.ts.map +1 -0
  1781. package/types/features/settings/domain/webhook-registry.d.ts +80 -0
  1782. package/types/features/settings/domain/webhook-registry.d.ts.map +1 -0
  1783. package/types/features/settings/domain/webhook.d.ts +59 -0
  1784. package/types/features/settings/domain/webhook.d.ts.map +1 -0
  1785. package/types/features/settings/index.d.ts +14 -0
  1786. package/types/features/settings/index.d.ts.map +1 -0
  1787. package/types/features/settings/infrastructure/dto/feed-pref/feed-category-item-dtos.d.ts +29 -0
  1788. package/types/features/settings/infrastructure/dto/feed-pref/feed-category-item-dtos.d.ts.map +1 -0
  1789. package/types/features/settings/infrastructure/dto/feed-pref/feed-pref-dtos.d.ts +70 -0
  1790. package/types/features/settings/infrastructure/dto/feed-pref/feed-pref-dtos.d.ts.map +1 -0
  1791. package/types/features/settings/infrastructure/dto/feed-pref/feed-template-dtos.d.ts +138 -0
  1792. package/types/features/settings/infrastructure/dto/feed-pref/feed-template-dtos.d.ts.map +1 -0
  1793. package/types/features/settings/infrastructure/dto/group-category-dtos.d.ts +278 -0
  1794. package/types/features/settings/infrastructure/dto/group-category-dtos.d.ts.map +1 -0
  1795. package/types/features/settings/infrastructure/dto/group-provisioning-dtos.d.ts +16 -0
  1796. package/types/features/settings/infrastructure/dto/group-provisioning-dtos.d.ts.map +1 -0
  1797. package/types/features/settings/infrastructure/dto/org-settings/org-settings-dtos.d.ts +747 -0
  1798. package/types/features/settings/infrastructure/dto/org-settings/org-settings-dtos.d.ts.map +1 -0
  1799. package/types/features/settings/infrastructure/dto/promotions/promotion-dtos.d.ts +347 -0
  1800. package/types/features/settings/infrastructure/dto/promotions/promotion-dtos.d.ts.map +1 -0
  1801. package/types/features/settings/infrastructure/dto/settings/settings-dtos.d.ts +821 -0
  1802. package/types/features/settings/infrastructure/dto/settings/settings-dtos.d.ts.map +1 -0
  1803. package/types/features/settings/infrastructure/http-feed-preferences-gateway.d.ts +31 -0
  1804. package/types/features/settings/infrastructure/http-feed-preferences-gateway.d.ts.map +1 -0
  1805. package/types/features/settings/infrastructure/http-group-categories-gateway.d.ts +18 -0
  1806. package/types/features/settings/infrastructure/http-group-categories-gateway.d.ts.map +1 -0
  1807. package/types/features/settings/infrastructure/http-group-provisioning-gateway.d.ts +16 -0
  1808. package/types/features/settings/infrastructure/http-group-provisioning-gateway.d.ts.map +1 -0
  1809. package/types/features/settings/infrastructure/http-org-settings-gateway.d.ts +24 -0
  1810. package/types/features/settings/infrastructure/http-org-settings-gateway.d.ts.map +1 -0
  1811. package/types/features/settings/infrastructure/http-promotions-gateway.d.ts +22 -0
  1812. package/types/features/settings/infrastructure/http-promotions-gateway.d.ts.map +1 -0
  1813. package/types/features/settings/infrastructure/http-usage-gateway.d.ts +23 -0
  1814. package/types/features/settings/infrastructure/http-usage-gateway.d.ts.map +1 -0
  1815. package/types/features/settings/infrastructure/http-webhook-gateway.d.ts +25 -0
  1816. package/types/features/settings/infrastructure/http-webhook-gateway.d.ts.map +1 -0
  1817. package/types/features/settings/infrastructure/index.d.ts +10 -0
  1818. package/types/features/settings/infrastructure/index.d.ts.map +1 -0
  1819. package/types/features/settings/infrastructure/mappers/feed-category-item-mappers.d.ts +4 -0
  1820. package/types/features/settings/infrastructure/mappers/feed-category-item-mappers.d.ts.map +1 -0
  1821. package/types/features/settings/infrastructure/mappers/feed-pref-mappers.d.ts +5 -0
  1822. package/types/features/settings/infrastructure/mappers/feed-pref-mappers.d.ts.map +1 -0
  1823. package/types/features/settings/infrastructure/mappers/feed-template-mappers.d.ts +4 -0
  1824. package/types/features/settings/infrastructure/mappers/feed-template-mappers.d.ts.map +1 -0
  1825. package/types/features/settings/infrastructure/mappers/group-category-mappers.d.ts +25 -0
  1826. package/types/features/settings/infrastructure/mappers/group-category-mappers.d.ts.map +1 -0
  1827. package/types/features/settings/infrastructure/mappers/org-settings-mappers.d.ts +15 -0
  1828. package/types/features/settings/infrastructure/mappers/org-settings-mappers.d.ts.map +1 -0
  1829. package/types/features/settings/infrastructure/mappers/promotion-mappers.d.ts +6 -0
  1830. package/types/features/settings/infrastructure/mappers/promotion-mappers.d.ts.map +1 -0
  1831. package/types/features/settings/infrastructure/mappers/settings-mappers.d.ts +15 -0
  1832. package/types/features/settings/infrastructure/mappers/settings-mappers.d.ts.map +1 -0
  1833. package/types/features/settings/infrastructure/mock-settings-gateway.d.ts +42 -0
  1834. package/types/features/settings/infrastructure/mock-settings-gateway.d.ts.map +1 -0
  1835. package/types/features/settings/infrastructure/settings-gateway-errors.d.ts +13 -0
  1836. package/types/features/settings/infrastructure/settings-gateway-errors.d.ts.map +1 -0
  1837. package/types/features/settings/infrastructure/settings-seed.d.ts +23 -0
  1838. package/types/features/settings/infrastructure/settings-seed.d.ts.map +1 -0
  1839. package/types/features/settings/presentation/AddTopicsModal.d.ts +16 -0
  1840. package/types/features/settings/presentation/AddTopicsModal.d.ts.map +1 -0
  1841. package/types/features/settings/presentation/CampaignRow.d.ts +10 -0
  1842. package/types/features/settings/presentation/CampaignRow.d.ts.map +1 -0
  1843. package/types/features/settings/presentation/CampaignsPanel.d.ts +15 -0
  1844. package/types/features/settings/presentation/CampaignsPanel.d.ts.map +1 -0
  1845. package/types/features/settings/presentation/CategoryCampaigns.d.ts +9 -0
  1846. package/types/features/settings/presentation/CategoryCampaigns.d.ts.map +1 -0
  1847. package/types/features/settings/presentation/CategoryEditor.d.ts +7 -0
  1848. package/types/features/settings/presentation/CategoryEditor.d.ts.map +1 -0
  1849. package/types/features/settings/presentation/CategoryFields.d.ts +17 -0
  1850. package/types/features/settings/presentation/CategoryFields.d.ts.map +1 -0
  1851. package/types/features/settings/presentation/ConnectedFeed.d.ts +26 -0
  1852. package/types/features/settings/presentation/ConnectedFeed.d.ts.map +1 -0
  1853. package/types/features/settings/presentation/DeptSections.d.ts +11 -0
  1854. package/types/features/settings/presentation/DeptSections.d.ts.map +1 -0
  1855. package/types/features/settings/presentation/EventWebhookGuide.d.ts +21 -0
  1856. package/types/features/settings/presentation/EventWebhookGuide.d.ts.map +1 -0
  1857. package/types/features/settings/presentation/FeedCategoriesTab.d.ts +3 -0
  1858. package/types/features/settings/presentation/FeedCategoriesTab.d.ts.map +1 -0
  1859. package/types/features/settings/presentation/FeedCategoryItems.d.ts +7 -0
  1860. package/types/features/settings/presentation/FeedCategoryItems.d.ts.map +1 -0
  1861. package/types/features/settings/presentation/FeedItemModal.d.ts +10 -0
  1862. package/types/features/settings/presentation/FeedItemModal.d.ts.map +1 -0
  1863. package/types/features/settings/presentation/FeedItemRow.d.ts +9 -0
  1864. package/types/features/settings/presentation/FeedItemRow.d.ts.map +1 -0
  1865. package/types/features/settings/presentation/FeedItemsPanel.d.ts +14 -0
  1866. package/types/features/settings/presentation/FeedItemsPanel.d.ts.map +1 -0
  1867. package/types/features/settings/presentation/FeedPrefsEditor.d.ts +12 -0
  1868. package/types/features/settings/presentation/FeedPrefsEditor.d.ts.map +1 -0
  1869. package/types/features/settings/presentation/FeedPrefsFooter.d.ts +7 -0
  1870. package/types/features/settings/presentation/FeedPrefsFooter.d.ts.map +1 -0
  1871. package/types/features/settings/presentation/FeedSettingsPage.d.ts +4 -0
  1872. package/types/features/settings/presentation/FeedSettingsPage.d.ts.map +1 -0
  1873. package/types/features/settings/presentation/FeedTemplateEditorViews.d.ts +11 -0
  1874. package/types/features/settings/presentation/FeedTemplateEditorViews.d.ts.map +1 -0
  1875. package/types/features/settings/presentation/FeedTemplatesTab.d.ts +3 -0
  1876. package/types/features/settings/presentation/FeedTemplatesTab.d.ts.map +1 -0
  1877. package/types/features/settings/presentation/FixedProtocolNotice.d.ts +18 -0
  1878. package/types/features/settings/presentation/FixedProtocolNotice.d.ts.map +1 -0
  1879. package/types/features/settings/presentation/GroupCategoriesPage.d.ts +4 -0
  1880. package/types/features/settings/presentation/GroupCategoriesPage.d.ts.map +1 -0
  1881. package/types/features/settings/presentation/IntegrationGuide.d.ts +15 -0
  1882. package/types/features/settings/presentation/IntegrationGuide.d.ts.map +1 -0
  1883. package/types/features/settings/presentation/OrgCard.d.ts +12 -0
  1884. package/types/features/settings/presentation/OrgCard.d.ts.map +1 -0
  1885. package/types/features/settings/presentation/OrgDetailsCard.d.ts +9 -0
  1886. package/types/features/settings/presentation/OrgDetailsCard.d.ts.map +1 -0
  1887. package/types/features/settings/presentation/OutboundDynamicFields.d.ts +10 -0
  1888. package/types/features/settings/presentation/OutboundDynamicFields.d.ts.map +1 -0
  1889. package/types/features/settings/presentation/OutboundIntegrationGuide.d.ts +9 -0
  1890. package/types/features/settings/presentation/OutboundIntegrationGuide.d.ts.map +1 -0
  1891. package/types/features/settings/presentation/PreferencesTab.d.ts +3 -0
  1892. package/types/features/settings/presentation/PreferencesTab.d.ts.map +1 -0
  1893. package/types/features/settings/presentation/PromoCampaignModal.d.ts +14 -0
  1894. package/types/features/settings/presentation/PromoCampaignModal.d.ts.map +1 -0
  1895. package/types/features/settings/presentation/PromoCategoryCard.d.ts +16 -0
  1896. package/types/features/settings/presentation/PromoCategoryCard.d.ts.map +1 -0
  1897. package/types/features/settings/presentation/PromoCategoryModal.d.ts +9 -0
  1898. package/types/features/settings/presentation/PromoCategoryModal.d.ts.map +1 -0
  1899. package/types/features/settings/presentation/PromoCategoryRow.d.ts +31 -0
  1900. package/types/features/settings/presentation/PromoCategoryRow.d.ts.map +1 -0
  1901. package/types/features/settings/presentation/PromoTemplatesTab.d.ts +3 -0
  1902. package/types/features/settings/presentation/PromoTemplatesTab.d.ts.map +1 -0
  1903. package/types/features/settings/presentation/PromotionsPage.d.ts +4 -0
  1904. package/types/features/settings/presentation/PromotionsPage.d.ts.map +1 -0
  1905. package/types/features/settings/presentation/RegistryDetail.d.ts +7 -0
  1906. package/types/features/settings/presentation/RegistryDetail.d.ts.map +1 -0
  1907. package/types/features/settings/presentation/SettingsModuleProvider.d.ts +9 -0
  1908. package/types/features/settings/presentation/SettingsModuleProvider.d.ts.map +1 -0
  1909. package/types/features/settings/presentation/SettingsSkeleton.d.ts +3 -0
  1910. package/types/features/settings/presentation/SettingsSkeleton.d.ts.map +1 -0
  1911. package/types/features/settings/presentation/SimulateFeedModal.d.ts +12 -0
  1912. package/types/features/settings/presentation/SimulateFeedModal.d.ts.map +1 -0
  1913. package/types/features/settings/presentation/TeamSettingsPage.d.ts +4 -0
  1914. package/types/features/settings/presentation/TeamSettingsPage.d.ts.map +1 -0
  1915. package/types/features/settings/presentation/TemplateEditorViews.d.ts +11 -0
  1916. package/types/features/settings/presentation/TemplateEditorViews.d.ts.map +1 -0
  1917. package/types/features/settings/presentation/TemplateFormModal.d.ts +9 -0
  1918. package/types/features/settings/presentation/TemplateFormModal.d.ts.map +1 -0
  1919. package/types/features/settings/presentation/TemplatesTab.d.ts +7 -0
  1920. package/types/features/settings/presentation/TemplatesTab.d.ts.map +1 -0
  1921. package/types/features/settings/presentation/TopicSections.d.ts +11 -0
  1922. package/types/features/settings/presentation/TopicSections.d.ts.map +1 -0
  1923. package/types/features/settings/presentation/UsagePage.d.ts +4 -0
  1924. package/types/features/settings/presentation/UsagePage.d.ts.map +1 -0
  1925. package/types/features/settings/presentation/WebhookRegistry.d.ts +4 -0
  1926. package/types/features/settings/presentation/WebhookRegistry.d.ts.map +1 -0
  1927. package/types/features/settings/presentation/WebhookTabs.d.ts +24 -0
  1928. package/types/features/settings/presentation/WebhookTabs.d.ts.map +1 -0
  1929. package/types/features/settings/presentation/WebhooksPage.d.ts +4 -0
  1930. package/types/features/settings/presentation/WebhooksPage.d.ts.map +1 -0
  1931. package/types/features/settings/presentation/WorkHoursCard.d.ts +11 -0
  1932. package/types/features/settings/presentation/WorkHoursCard.d.ts.map +1 -0
  1933. package/types/features/settings/presentation/WorkHoursRow.d.ts +10 -0
  1934. package/types/features/settings/presentation/WorkHoursRow.d.ts.map +1 -0
  1935. package/types/features/settings/presentation/WorkHoursTabs.d.ts +11 -0
  1936. package/types/features/settings/presentation/WorkHoursTabs.d.ts.map +1 -0
  1937. package/types/features/settings/presentation/category-editor-parts.d.ts +12 -0
  1938. package/types/features/settings/presentation/category-editor-parts.d.ts.map +1 -0
  1939. package/types/features/settings/presentation/category-fields.d.ts +12 -0
  1940. package/types/features/settings/presentation/category-fields.d.ts.map +1 -0
  1941. package/types/features/settings/presentation/category-preview.d.ts +13 -0
  1942. package/types/features/settings/presentation/category-preview.d.ts.map +1 -0
  1943. package/types/features/settings/presentation/category-samples.d.ts +3 -0
  1944. package/types/features/settings/presentation/category-samples.d.ts.map +1 -0
  1945. package/types/features/settings/presentation/event-webhook-guide.d.ts +30 -0
  1946. package/types/features/settings/presentation/event-webhook-guide.d.ts.map +1 -0
  1947. package/types/features/settings/presentation/feed-categories-tab-utils.d.ts +17 -0
  1948. package/types/features/settings/presentation/feed-categories-tab-utils.d.ts.map +1 -0
  1949. package/types/features/settings/presentation/feed-category-utils.d.ts +3 -0
  1950. package/types/features/settings/presentation/feed-category-utils.d.ts.map +1 -0
  1951. package/types/features/settings/presentation/index.d.ts +5 -0
  1952. package/types/features/settings/presentation/index.d.ts.map +1 -0
  1953. package/types/features/settings/presentation/integration-guide.d.ts +24 -0
  1954. package/types/features/settings/presentation/integration-guide.d.ts.map +1 -0
  1955. package/types/features/settings/presentation/pref-chips.d.ts +9 -0
  1956. package/types/features/settings/presentation/pref-chips.d.ts.map +1 -0
  1957. package/types/features/settings/presentation/promo-field-palette.d.ts +12 -0
  1958. package/types/features/settings/presentation/promo-field-palette.d.ts.map +1 -0
  1959. package/types/features/settings/presentation/promo-token-line.d.ts +18 -0
  1960. package/types/features/settings/presentation/promo-token-line.d.ts.map +1 -0
  1961. package/types/features/settings/presentation/settings-module-context.d.ts +4 -0
  1962. package/types/features/settings/presentation/settings-module-context.d.ts.map +1 -0
  1963. package/types/features/settings/presentation/use-categories-editor.d.ts +19 -0
  1964. package/types/features/settings/presentation/use-categories-editor.d.ts.map +1 -0
  1965. package/types/features/settings/presentation/use-category-feed.d.ts +19 -0
  1966. package/types/features/settings/presentation/use-category-feed.d.ts.map +1 -0
  1967. package/types/features/settings/presentation/use-feed-prefs-editor.d.ts +19 -0
  1968. package/types/features/settings/presentation/use-feed-prefs-editor.d.ts.map +1 -0
  1969. package/types/features/settings/presentation/use-promo-category-feed.d.ts +17 -0
  1970. package/types/features/settings/presentation/use-promo-category-feed.d.ts.map +1 -0
  1971. package/types/features/settings/presentation/use-promotions-settings.d.ts +11 -0
  1972. package/types/features/settings/presentation/use-promotions-settings.d.ts.map +1 -0
  1973. package/types/features/settings/presentation/use-provision-group.d.ts +8 -0
  1974. package/types/features/settings/presentation/use-provision-group.d.ts.map +1 -0
  1975. package/types/features/settings/presentation/use-settings-module.d.ts +4 -0
  1976. package/types/features/settings/presentation/use-settings-module.d.ts.map +1 -0
  1977. package/types/features/settings/presentation/use-settings.d.ts +23 -0
  1978. package/types/features/settings/presentation/use-settings.d.ts.map +1 -0
  1979. package/types/features/settings/presentation/use-webhooks-settings.d.ts +11 -0
  1980. package/types/features/settings/presentation/use-webhooks-settings.d.ts.map +1 -0
  1981. package/types/features/settings/presentation/webhook-registry-parts.d.ts +24 -0
  1982. package/types/features/settings/presentation/webhook-registry-parts.d.ts.map +1 -0
  1983. package/types/features/settings/presentation/webhook-table.d.ts +14 -0
  1984. package/types/features/settings/presentation/webhook-table.d.ts.map +1 -0
  1985. package/types/features/settings/settings-module.d.ts +46 -0
  1986. package/types/features/settings/settings-module.d.ts.map +1 -0
  1987. package/types/features/user-access/application/index.d.ts +3 -0
  1988. package/types/features/user-access/application/index.d.ts.map +1 -0
  1989. package/types/features/user-access/application/use-cases/get-user-access.d.ts +15 -0
  1990. package/types/features/user-access/application/use-cases/get-user-access.d.ts.map +1 -0
  1991. package/types/features/user-access/application/use-cases/save-user-access.d.ts +15 -0
  1992. package/types/features/user-access/application/use-cases/save-user-access.d.ts.map +1 -0
  1993. package/types/features/user-access/domain/index.d.ts +3 -0
  1994. package/types/features/user-access/domain/index.d.ts.map +1 -0
  1995. package/types/features/user-access/domain/user-access-rules.d.ts +31 -0
  1996. package/types/features/user-access/domain/user-access-rules.d.ts.map +1 -0
  1997. package/types/features/user-access/domain/user-access.d.ts +62 -0
  1998. package/types/features/user-access/domain/user-access.d.ts.map +1 -0
  1999. package/types/features/user-access/index.d.ts +8 -0
  2000. package/types/features/user-access/index.d.ts.map +1 -0
  2001. package/types/features/user-access/infrastructure/http-user-access-gateway.d.ts +21 -0
  2002. package/types/features/user-access/infrastructure/http-user-access-gateway.d.ts.map +1 -0
  2003. package/types/features/user-access/infrastructure/index.d.ts +2 -0
  2004. package/types/features/user-access/infrastructure/index.d.ts.map +1 -0
  2005. package/types/features/user-access/presentation/ManageAccessModal.d.ts +13 -0
  2006. package/types/features/user-access/presentation/ManageAccessModal.d.ts.map +1 -0
  2007. package/types/features/user-access/presentation/UserAccessEditor.d.ts +17 -0
  2008. package/types/features/user-access/presentation/UserAccessEditor.d.ts.map +1 -0
  2009. package/types/features/user-access/presentation/UserAccessModuleProvider.d.ts +9 -0
  2010. package/types/features/user-access/presentation/UserAccessModuleProvider.d.ts.map +1 -0
  2011. package/types/features/user-access/presentation/UserAccessRow.d.ts +20 -0
  2012. package/types/features/user-access/presentation/UserAccessRow.d.ts.map +1 -0
  2013. package/types/features/user-access/presentation/index.d.ts +6 -0
  2014. package/types/features/user-access/presentation/index.d.ts.map +1 -0
  2015. package/types/features/user-access/presentation/use-save-user-access.d.ts +5 -0
  2016. package/types/features/user-access/presentation/use-save-user-access.d.ts.map +1 -0
  2017. package/types/features/user-access/presentation/use-user-access-module.d.ts +4 -0
  2018. package/types/features/user-access/presentation/use-user-access-module.d.ts.map +1 -0
  2019. package/types/features/user-access/presentation/use-user-access.d.ts +6 -0
  2020. package/types/features/user-access/presentation/use-user-access.d.ts.map +1 -0
  2021. package/types/features/user-access/presentation/user-access-module-context.d.ts +4 -0
  2022. package/types/features/user-access/presentation/user-access-module-context.d.ts.map +1 -0
  2023. package/types/features/user-access/user-access-module.d.ts +14 -0
  2024. package/types/features/user-access/user-access-module.d.ts.map +1 -0
  2025. package/types/features/users/application/index.d.ts +3 -0
  2026. package/types/features/users/application/index.d.ts.map +1 -0
  2027. package/types/features/users/application/use-cases/list-directory-facets.d.ts +21 -0
  2028. package/types/features/users/application/use-cases/list-directory-facets.d.ts.map +1 -0
  2029. package/types/features/users/application/use-cases/list-users.d.ts +15 -0
  2030. package/types/features/users/application/use-cases/list-users.d.ts.map +1 -0
  2031. package/types/features/users/domain/entities/user.d.ts +58 -0
  2032. package/types/features/users/domain/entities/user.d.ts.map +1 -0
  2033. package/types/features/users/domain/errors/user-errors.d.ts +10 -0
  2034. package/types/features/users/domain/errors/user-errors.d.ts.map +1 -0
  2035. package/types/features/users/domain/index.d.ts +4 -0
  2036. package/types/features/users/domain/index.d.ts.map +1 -0
  2037. package/types/features/users/domain/ports/user-gateway.d.ts +43 -0
  2038. package/types/features/users/domain/ports/user-gateway.d.ts.map +1 -0
  2039. package/types/features/users/index.d.ts +7 -0
  2040. package/types/features/users/index.d.ts.map +1 -0
  2041. package/types/features/users/infrastructure/dto/user-dtos.d.ts +155 -0
  2042. package/types/features/users/infrastructure/dto/user-dtos.d.ts.map +1 -0
  2043. package/types/features/users/infrastructure/http-user-gateway.d.ts +25 -0
  2044. package/types/features/users/infrastructure/http-user-gateway.d.ts.map +1 -0
  2045. package/types/features/users/infrastructure/http-user-routes.d.ts +22 -0
  2046. package/types/features/users/infrastructure/http-user-routes.d.ts.map +1 -0
  2047. package/types/features/users/infrastructure/index.d.ts +3 -0
  2048. package/types/features/users/infrastructure/index.d.ts.map +1 -0
  2049. package/types/features/users/infrastructure/mock-user-gateway.d.ts +15 -0
  2050. package/types/features/users/infrastructure/mock-user-gateway.d.ts.map +1 -0
  2051. package/types/features/users/infrastructure/user-gateway-errors.d.ts +8 -0
  2052. package/types/features/users/infrastructure/user-gateway-errors.d.ts.map +1 -0
  2053. package/types/features/users/infrastructure/user-mappers.d.ts +5 -0
  2054. package/types/features/users/infrastructure/user-mappers.d.ts.map +1 -0
  2055. package/types/features/users/presentation/PaginationControls.d.ts +11 -0
  2056. package/types/features/users/presentation/PaginationControls.d.ts.map +1 -0
  2057. package/types/features/users/presentation/UserPresenceCell.d.ts +18 -0
  2058. package/types/features/users/presentation/UserPresenceCell.d.ts.map +1 -0
  2059. package/types/features/users/presentation/UsersModuleProvider.d.ts +9 -0
  2060. package/types/features/users/presentation/UsersModuleProvider.d.ts.map +1 -0
  2061. package/types/features/users/presentation/UsersPage.d.ts +7 -0
  2062. package/types/features/users/presentation/UsersPage.d.ts.map +1 -0
  2063. package/types/features/users/presentation/UsersPageToolbar.d.ts +14 -0
  2064. package/types/features/users/presentation/UsersPageToolbar.d.ts.map +1 -0
  2065. package/types/features/users/presentation/filter-users.d.ts +18 -0
  2066. package/types/features/users/presentation/filter-users.d.ts.map +1 -0
  2067. package/types/features/users/presentation/index.d.ts +4 -0
  2068. package/types/features/users/presentation/index.d.ts.map +1 -0
  2069. package/types/features/users/presentation/use-debounced-value.d.ts +3 -0
  2070. package/types/features/users/presentation/use-debounced-value.d.ts.map +1 -0
  2071. package/types/features/users/presentation/use-users-module.d.ts +4 -0
  2072. package/types/features/users/presentation/use-users-module.d.ts.map +1 -0
  2073. package/types/features/users/presentation/use-users.d.ts +10 -0
  2074. package/types/features/users/presentation/use-users.d.ts.map +1 -0
  2075. package/types/features/users/presentation/users-module-context.d.ts +4 -0
  2076. package/types/features/users/presentation/users-module-context.d.ts.map +1 -0
  2077. package/types/features/users/users-module.d.ts +18 -0
  2078. package/types/features/users/users-module.d.ts.map +1 -0
  2079. package/types/main.d.ts +2 -0
  2080. package/types/main.d.ts.map +1 -0
  2081. package/types/sdk/CommsProvider.d.ts +14 -0
  2082. package/types/sdk/CommsProvider.d.ts.map +1 -0
  2083. package/types/sdk/SdkErrorBoundary.d.ts +28 -0
  2084. package/types/sdk/SdkErrorBoundary.d.ts.map +1 -0
  2085. package/types/sdk/SdkProviders.d.ts +24 -0
  2086. package/types/sdk/SdkProviders.d.ts.map +1 -0
  2087. package/types/sdk/elements/BaseUappElement.d.ts +11 -0
  2088. package/types/sdk/elements/BaseUappElement.d.ts.map +1 -0
  2089. package/types/sdk/elements/WidgetConfigNotice.d.ts +12 -0
  2090. package/types/sdk/elements/WidgetConfigNotice.d.ts.map +1 -0
  2091. package/types/sdk/elements/WidgetRoot.d.ts +18 -0
  2092. package/types/sdk/elements/WidgetRoot.d.ts.map +1 -0
  2093. package/types/sdk/elements/bookings-widget-routes.d.ts +21 -0
  2094. package/types/sdk/elements/bookings-widget-routes.d.ts.map +1 -0
  2095. package/types/sdk/elements/chat-widget-routes.d.ts +17 -0
  2096. package/types/sdk/elements/chat-widget-routes.d.ts.map +1 -0
  2097. package/types/sdk/elements/define-configured-widget.d.ts +8 -0
  2098. package/types/sdk/elements/define-configured-widget.d.ts.map +1 -0
  2099. package/types/sdk/elements/single-page-widget-routes.d.ts +17 -0
  2100. package/types/sdk/elements/single-page-widget-routes.d.ts.map +1 -0
  2101. package/types/sdk/elements/uapp-bookings.d.ts +3 -0
  2102. package/types/sdk/elements/uapp-bookings.d.ts.map +1 -0
  2103. package/types/sdk/elements/uapp-chat.d.ts +3 -0
  2104. package/types/sdk/elements/uapp-chat.d.ts.map +1 -0
  2105. package/types/sdk/elements/uapp-feed.d.ts +3 -0
  2106. package/types/sdk/elements/uapp-feed.d.ts.map +1 -0
  2107. package/types/sdk/elements/uapp-schedule.d.ts +3 -0
  2108. package/types/sdk/elements/uapp-schedule.d.ts.map +1 -0
  2109. package/types/sdk/elements/widget-config.d.ts +14 -0
  2110. package/types/sdk/elements/widget-config.d.ts.map +1 -0
  2111. package/types/sdk/index.d.ts +32 -0
  2112. package/types/sdk/index.d.ts.map +1 -0
  2113. package/types/sdk/notifications/notification-client.d.ts +56 -0
  2114. package/types/sdk/notifications/notification-client.d.ts.map +1 -0
  2115. package/types/sdk/notifications/notification-payload.d.ts +26 -0
  2116. package/types/sdk/notifications/notification-payload.d.ts.map +1 -0
  2117. package/types/sdk/presence/presence-client.d.ts +99 -0
  2118. package/types/sdk/presence/presence-client.d.ts.map +1 -0
  2119. package/types/sdk/runtime/SdkNotificationBridge.d.ts +22 -0
  2120. package/types/sdk/runtime/SdkNotificationBridge.d.ts.map +1 -0
  2121. package/types/sdk/runtime/auth/in-memory-key-value-storage.d.ts +18 -0
  2122. package/types/sdk/runtime/auth/in-memory-key-value-storage.d.ts.map +1 -0
  2123. package/types/sdk/runtime/auth/sdk-auth-module.d.ts +25 -0
  2124. package/types/sdk/runtime/auth/sdk-auth-module.d.ts.map +1 -0
  2125. package/types/sdk/runtime/auth/sdk-auth-protocol.d.ts +23 -0
  2126. package/types/sdk/runtime/auth/sdk-auth-protocol.d.ts.map +1 -0
  2127. package/types/sdk/runtime/auth/sdk-handshake-runner.d.ts +56 -0
  2128. package/types/sdk/runtime/auth/sdk-handshake-runner.d.ts.map +1 -0
  2129. package/types/sdk/runtime/auth/sdk-host-token-auth-gateway.d.ts +21 -0
  2130. package/types/sdk/runtime/auth/sdk-host-token-auth-gateway.d.ts.map +1 -0
  2131. package/types/sdk/runtime/auth/sdk-signed-auth-gateway.d.ts +44 -0
  2132. package/types/sdk/runtime/auth/sdk-signed-auth-gateway.d.ts.map +1 -0
  2133. package/types/sdk/runtime/auth/shared-handshake.d.ts +36 -0
  2134. package/types/sdk/runtime/auth/shared-handshake.d.ts.map +1 -0
  2135. package/types/sdk/runtime/headless-session.d.ts +34 -0
  2136. package/types/sdk/runtime/headless-session.d.ts.map +1 -0
  2137. package/types/sdk/runtime/module-scopes.d.ts +16 -0
  2138. package/types/sdk/runtime/module-scopes.d.ts.map +1 -0
  2139. package/types/sdk/runtime/sdk-composition-root.d.ts +48 -0
  2140. package/types/sdk/runtime/sdk-composition-root.d.ts.map +1 -0
  2141. package/types/sdk/runtime/sdk-module-access-gateway.d.ts +19 -0
  2142. package/types/sdk/runtime/sdk-module-access-gateway.d.ts.map +1 -0
  2143. package/types/sdk/runtime/sdk-module-access.d.ts +13 -0
  2144. package/types/sdk/runtime/sdk-module-access.d.ts.map +1 -0
  2145. package/types/sdk/runtime/sdk-runtime-registry.d.ts +64 -0
  2146. package/types/sdk/runtime/sdk-runtime-registry.d.ts.map +1 -0
  2147. package/types/sdk/runtime/styles.d.ts +26 -0
  2148. package/types/sdk/runtime/styles.d.ts.map +1 -0
  2149. package/types/sdk/runtime/theme.d.ts +14 -0
  2150. package/types/sdk/runtime/theme.d.ts.map +1 -0
  2151. package/types/sdk/runtime/timezone.d.ts +11 -0
  2152. package/types/sdk/runtime/timezone.d.ts.map +1 -0
  2153. package/types/sdk/runtime/use-sdk-composition.d.ts +38 -0
  2154. package/types/sdk/runtime/use-sdk-composition.d.ts.map +1 -0
  2155. package/types/sdk/runtime/use-sdk-handshake.d.ts +24 -0
  2156. package/types/sdk/runtime/use-sdk-handshake.d.ts.map +1 -0
  2157. package/types/sdk/runtime/use-sdk-theme.d.ts +9 -0
  2158. package/types/sdk/runtime/use-sdk-theme.d.ts.map +1 -0
  2159. package/types/sdk/types.d.ts +114 -0
  2160. package/types/sdk/types.d.ts.map +1 -0
  2161. package/types/shared/forms/domain-resolver.d.ts +27 -0
  2162. package/types/shared/forms/domain-resolver.d.ts.map +1 -0
  2163. package/types/shared/forms/index.d.ts +2 -0
  2164. package/types/shared/forms/index.d.ts.map +1 -0
  2165. package/types/shared/presence/PresenceBadge.d.ts +34 -0
  2166. package/types/shared/presence/PresenceBadge.d.ts.map +1 -0
  2167. package/types/shared/presence/index.d.ts +4 -0
  2168. package/types/shared/presence/index.d.ts.map +1 -0
  2169. package/types/shared/presence/live-presence-store.d.ts +41 -0
  2170. package/types/shared/presence/live-presence-store.d.ts.map +1 -0
  2171. package/types/shared/presence/presence-status.d.ts +41 -0
  2172. package/types/shared/presence/presence-status.d.ts.map +1 -0
  2173. package/types/shared/ui/Alert/Alert.d.ts +9 -0
  2174. package/types/shared/ui/Alert/Alert.d.ts.map +1 -0
  2175. package/types/shared/ui/Avatar/Avatar.d.ts +15 -0
  2176. package/types/shared/ui/Avatar/Avatar.d.ts.map +1 -0
  2177. package/types/shared/ui/Badge/Badge.d.ts +14 -0
  2178. package/types/shared/ui/Badge/Badge.d.ts.map +1 -0
  2179. package/types/shared/ui/BottomNavigation/BottomNavBar.d.ts +14 -0
  2180. package/types/shared/ui/BottomNavigation/BottomNavBar.d.ts.map +1 -0
  2181. package/types/shared/ui/Button/Button.d.ts +16 -0
  2182. package/types/shared/ui/Button/Button.d.ts.map +1 -0
  2183. package/types/shared/ui/Card/Card.d.ts +12 -0
  2184. package/types/shared/ui/Card/Card.d.ts.map +1 -0
  2185. package/types/shared/ui/CodeBlock/CodeBlock.d.ts +9 -0
  2186. package/types/shared/ui/CodeBlock/CodeBlock.d.ts.map +1 -0
  2187. package/types/shared/ui/ConfirmDialog/ConfirmDialog.d.ts +14 -0
  2188. package/types/shared/ui/ConfirmDialog/ConfirmDialog.d.ts.map +1 -0
  2189. package/types/shared/ui/Drawer/Drawer.d.ts +38 -0
  2190. package/types/shared/ui/Drawer/Drawer.d.ts.map +1 -0
  2191. package/types/shared/ui/DropdownMenu/DropdownMenu.d.ts +40 -0
  2192. package/types/shared/ui/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  2193. package/types/shared/ui/EmptyState/EmptyState.d.ts +11 -0
  2194. package/types/shared/ui/EmptyState/EmptyState.d.ts.map +1 -0
  2195. package/types/shared/ui/IconButton/IconButton.d.ts +14 -0
  2196. package/types/shared/ui/IconButton/IconButton.d.ts.map +1 -0
  2197. package/types/shared/ui/Modal/Modal.d.ts +33 -0
  2198. package/types/shared/ui/Modal/Modal.d.ts.map +1 -0
  2199. package/types/shared/ui/Popover/Popover.d.ts +24 -0
  2200. package/types/shared/ui/Popover/Popover.d.ts.map +1 -0
  2201. package/types/shared/ui/SecretField/SecretField.d.ts +10 -0
  2202. package/types/shared/ui/SecretField/SecretField.d.ts.map +1 -0
  2203. package/types/shared/ui/SegmentedControl/SegmentedControl.d.ts +17 -0
  2204. package/types/shared/ui/SegmentedControl/SegmentedControl.d.ts.map +1 -0
  2205. package/types/shared/ui/Select/Select.d.ts +8 -0
  2206. package/types/shared/ui/Select/Select.d.ts.map +1 -0
  2207. package/types/shared/ui/Skeleton/Skeleton.d.ts +11 -0
  2208. package/types/shared/ui/Skeleton/Skeleton.d.ts.map +1 -0
  2209. package/types/shared/ui/Spinner/Spinner.d.ts +7 -0
  2210. package/types/shared/ui/Spinner/Spinner.d.ts.map +1 -0
  2211. package/types/shared/ui/Stat/Stat.d.ts +13 -0
  2212. package/types/shared/ui/Stat/Stat.d.ts.map +1 -0
  2213. package/types/shared/ui/Tabs/Tabs.d.ts +24 -0
  2214. package/types/shared/ui/Tabs/Tabs.d.ts.map +1 -0
  2215. package/types/shared/ui/TextField/TextField.d.ts +11 -0
  2216. package/types/shared/ui/TextField/TextField.d.ts.map +1 -0
  2217. package/types/shared/ui/TimePicker/TimePicker.d.ts +18 -0
  2218. package/types/shared/ui/TimePicker/TimePicker.d.ts.map +1 -0
  2219. package/types/shared/ui/Toast/Toast.d.ts +3 -0
  2220. package/types/shared/ui/Toast/Toast.d.ts.map +1 -0
  2221. package/types/shared/ui/Toast/use-toast.d.ts +13 -0
  2222. package/types/shared/ui/Toast/use-toast.d.ts.map +1 -0
  2223. package/types/shared/ui/Tooltip/Tooltip.d.ts +19 -0
  2224. package/types/shared/ui/Tooltip/Tooltip.d.ts.map +1 -0
  2225. package/types/shared/ui/clipboard.d.ts +10 -0
  2226. package/types/shared/ui/clipboard.d.ts.map +1 -0
  2227. package/types/shared/ui/index.d.ts +39 -0
  2228. package/types/shared/ui/index.d.ts.map +1 -0
  2229. package/types/shared/ui/is-event-outside.d.ts +17 -0
  2230. package/types/shared/ui/is-event-outside.d.ts.map +1 -0
  2231. package/types/shared/ui/layout/Container.d.ts +15 -0
  2232. package/types/shared/ui/layout/Container.d.ts.map +1 -0
  2233. package/types/shared/ui/layout/Grid.d.ts +14 -0
  2234. package/types/shared/ui/layout/Grid.d.ts.map +1 -0
  2235. package/types/shared/ui/layout/Inline.d.ts +17 -0
  2236. package/types/shared/ui/layout/Inline.d.ts.map +1 -0
  2237. package/types/shared/ui/layout/PageHeader.d.ts +13 -0
  2238. package/types/shared/ui/layout/PageHeader.d.ts.map +1 -0
  2239. package/types/shared/ui/layout/Stack.d.ts +13 -0
  2240. package/types/shared/ui/layout/Stack.d.ts.map +1 -0
  2241. package/types/shared/ui/layout/space.d.ts +16 -0
  2242. package/types/shared/ui/layout/space.d.ts.map +1 -0
  2243. package/types/shared/ui/motion/index.d.ts +2 -0
  2244. package/types/shared/ui/motion/index.d.ts.map +1 -0
  2245. package/types/shared/ui/motion/presets.d.ts +10 -0
  2246. package/types/shared/ui/motion/presets.d.ts.map +1 -0
  2247. package/types/shared/ui/portal-container-context.d.ts +13 -0
  2248. package/types/shared/ui/portal-container-context.d.ts.map +1 -0
  2249. package/types/shared/ui/portal-container.d.ts +7 -0
  2250. package/types/shared/ui/portal-container.d.ts.map +1 -0
  2251. package/types/shared/ui/use-media-query.d.ts +6 -0
  2252. package/types/shared/ui/use-media-query.d.ts.map +1 -0
  2253. package/types/shared/ui/use-portal-container.d.ts +8 -0
  2254. package/types/shared/ui/use-portal-container.d.ts.map +1 -0
  2255. package/types/shared/utils/assert-never.d.ts +7 -0
  2256. package/types/shared/utils/assert-never.d.ts.map +1 -0
  2257. package/types/shared/utils/avatar.d.ts +7 -0
  2258. package/types/shared/utils/avatar.d.ts.map +1 -0
  2259. package/types/shared/utils/character-limit.d.ts +15 -0
  2260. package/types/shared/utils/character-limit.d.ts.map +1 -0
  2261. package/types/shared/utils/cn.d.ts +4 -0
  2262. package/types/shared/utils/cn.d.ts.map +1 -0
  2263. package/types/shared/utils/css-vars.d.ts +9 -0
  2264. package/types/shared/utils/css-vars.d.ts.map +1 -0
  2265. package/types/shared/utils/format-role-name.d.ts +2 -0
  2266. package/types/shared/utils/format-role-name.d.ts.map +1 -0
  2267. package/types/shared/utils/index.d.ts +7 -0
  2268. package/types/shared/utils/index.d.ts.map +1 -0
  2269. package/ui-store-4fbabb78-D3qAYH9k.js +3775 -0
  2270. package/ui-store-4fbabb78-DJ1d5tcD.cjs +29 -0
  2271. package/use-active-meeting-store-BYNg3cF3.cjs +52 -0
  2272. package/use-active-meeting-store-hqtfgGa_.js +12267 -0
@@ -0,0 +1,52 @@
1
+ const e=require("./jsx-runtime-VQ627FC0.cjs");let t=require("react"),n=e.o(t,1);t=e.o(t);let r=require("react-dom"),i=e.o(r,1);r=e.o(r);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(null,arguments)}var o;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(o||={});function s(e){e===void 0&&(e={});let{initialEntries:t=[`/`],initialIndex:n,v5Compat:r=!1}=e,i;i=t.map((e,t)=>h(e,typeof e==`string`?null:e.state,t===0?`default`:void 0));let a=u(n??i.length-1),s=o.Pop,c=null;function u(e){return Math.min(Math.max(e,0),i.length-1)}function m(){return i[a]}function h(e,t,n){t===void 0&&(t=null);let r=d(i?m().pathname:`/`,e,t,n);return l(r.pathname.charAt(0)===`/`,`relative pathnames are not supported in memory history: `+JSON.stringify(e)),r}function g(e){return typeof e==`string`?e:f(e)}return{get index(){return a},get action(){return s},get location(){return m()},createHref:g,createURL(e){return new URL(g(e),`http://localhost`)},encodeLocation(e){let t=typeof e==`string`?p(e):e;return{pathname:t.pathname||``,search:t.search||``,hash:t.hash||``}},push(e,t){s=o.Push;let n=h(e,t);a+=1,i.splice(a,i.length,n),r&&c&&c({action:s,location:n,delta:1})},replace(e,t){s=o.Replace;let n=h(e,t);i[a]=n,r&&c&&c({action:s,location:n,delta:0})},go(e){s=o.Pop;let t=u(a+e),n=i[t];a=t,c&&c({action:s,location:n,delta:e})},listen(e){return c=e,()=>{c=null}}}}function c(e,t){if(e===!1||e==null)throw Error(t)}function l(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function u(){return Math.random().toString(36).substr(2,8)}function d(e,t,n,r){return n===void 0&&(n=null),a({pathname:typeof e==`string`?e:e.pathname,search:``,hash:``},typeof t==`string`?p(t):t,{state:n,key:t&&t.key||r||u()})}function f(e){let{pathname:t=`/`,search:n=``,hash:r=``}=e;return n&&n!==`?`&&(t+=n.charAt(0)===`?`?n:`?`+n),r&&r!==`#`&&(t+=r.charAt(0)===`#`?r:`#`+r),t}function p(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var m;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(m||={});function h(e,t,n){return n===void 0&&(n=`/`),g(e,t,n,!1)}function g(e,t,n,r){let i=A((typeof t==`string`?p(t):t).pathname||`/`,n);if(i==null)return null;let a=v(e);b(a);let o=null,s=re(i);for(let e=0;o==null&&e<a.length;++e)o=O(a[e],s,r);return o}function _(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function v(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=``);let i=(e,i,a)=>{let o={relativePath:a===void 0?e.path||``:a,caseSensitive:e.caseSensitive===!0,childrenIndex:i,route:e};o.relativePath.startsWith(`/`)&&(c(o.relativePath.startsWith(r),`Absolute route path "`+o.relativePath+`" nested under path `+(`"`+r+`" is not valid. An absolute child route path `)+`must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(r.length));let s=fe([r,o.relativePath]),l=n.concat(o);e.children&&e.children.length>0&&(c(e.index!==!0,`Index routes must not have child routes. Please remove `+(`all child routes from route path "`+s+`".`)),v(e.children,t,l,s)),!(e.path==null&&!e.index)&&t.push({path:s,score:ee(s,e.index),routesMeta:l})};return e.forEach((e,t)=>{var n;if(e.path===``||!((n=e.path)!=null&&n.includes(`?`)))i(e,t);else for(let n of y(e.path))i(e,t,n)}),t}function y(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=y(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function b(e){e.sort((e,t)=>e.score===t.score?te(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var x=/^:[\w-]+$/,S=3,C=2,w=1,T=10,E=-2,D=e=>e===`*`;function ee(e,t){let n=e.split(`/`),r=n.length;return n.some(D)&&(r+=E),t&&(r+=C),n.filter(e=>!D(e)).reduce((e,t)=>e+(x.test(t)?S:t===``?w:T),r)}function te(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function O(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=k({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=k({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:fe([a,u.pathname]),pathnameBase:pe(fe([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=fe([a,u.pathnameBase]))}return o}function k(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=ne(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,t,n)=>{let{paramName:r,isOptional:i}=t;if(r===`*`){let e=s[n]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let c=s[n];return i&&!c?e[r]=void 0:e[r]=(c||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function ne(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),l(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "`+e+`" will be treated as if it were `+(`"`+e.replace(/\*$/,`/*`)+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+(`please change the route path to "`+e.replace(/\*$/,`/*`)+`".`));let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:n!=null}),n?`/?([^\\/]+)?`:`/([^\\/]+)`));return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function re(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return l(!1,`The URL path "`+e+`" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent `+(`encoding (`+t+`).`)),e}}function A(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var j=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ie=e=>j.test(e);function ae(e,t){t===void 0&&(t=`/`);let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?p(e):e,a;if(n)if(ie(n))a=n;else{if(n.includes(`//`)){let e=n;n=de(n),l(!1,`Pathnames cannot have embedded double slashes - normalizing `+(e+` -> `+n))}a=n.startsWith(`/`)?oe(n.substring(1),`/`):oe(n,t)}else a=t;return{pathname:a,search:me(r),hash:he(i)}}function oe(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function se(e,t,n,r){return`Cannot include a '`+e+`' character in a manually specified `+("`to."+t+"` field ["+JSON.stringify(r)+`]. Please separate it out to the `)+("`to."+n+"` field. Alternatively you may provide the full path as ")+`a string in <Link to="..."> and the router will parse it for you.`}function ce(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function le(e,t){let n=ce(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function ue(e,t,n,r){r===void 0&&(r=!1);let i;typeof e==`string`?i=p(e):(i=a({},e),c(!i.pathname||!i.pathname.includes(`?`),se(`?`,`pathname`,`search`,i)),c(!i.pathname||!i.pathname.includes(`#`),se(`#`,`pathname`,`hash`,i)),c(!i.search||!i.search.includes(`#`),se(`#`,`search`,`hash`,i)));let o=e===``||i.pathname===``,s=o?`/`:i.pathname,l;if(s==null)l=n;else{let e=t.length-1;if(!r&&s.startsWith(`..`)){let t=s.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}l=e>=0?t[e]:`/`}let u=ae(i,l),d=s&&s!==`/`&&s.endsWith(`/`),f=(o||s===`.`)&&n.endsWith(`/`);return!u.pathname.endsWith(`/`)&&(d||f)&&(u.pathname+=`/`),u}var de=e=>e.replace(/\/\/+/g,`/`),fe=e=>de(e.join(`/`)),pe=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),me=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,he=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e;function ge(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}var _e=[`post`,`put`,`patch`,`delete`];new Set(_e);var ve=[`get`,..._e];new Set(ve);function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ye.apply(null,arguments)}var be=t.createContext(null);process.env.NODE_ENV!==`production`&&(be.displayName=`DataRouter`);var xe=t.createContext(null);process.env.NODE_ENV!==`production`&&(xe.displayName=`DataRouterState`);var Se=t.createContext(null);process.env.NODE_ENV!==`production`&&(Se.displayName=`Await`);var M=t.createContext(null);process.env.NODE_ENV!==`production`&&(M.displayName=`Navigation`);var Ce=t.createContext(null);process.env.NODE_ENV!==`production`&&(Ce.displayName=`Location`);var we=t.createContext({outlet:null,matches:[],isDataRoute:!1});process.env.NODE_ENV!==`production`&&(we.displayName=`Route`);var Te=t.createContext(null);process.env.NODE_ENV!==`production`&&(Te.displayName=`RouteError`);function Ee(e,n){let{relative:r}=n===void 0?{}:n;!De()&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`useHref() may be used only in the context of a <Router> component.`));let{basename:i,navigator:a}=t.useContext(M),{hash:o,pathname:s,search:l}=Ie(e,{relative:r}),u=s;return i!==`/`&&(u=s===`/`?i:fe([i,s])),a.createHref({pathname:u,search:l,hash:o})}function De(){return t.useContext(Ce)!=null}function Oe(){return!De()&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`useLocation() may be used only in the context of a <Router> component.`)),t.useContext(Ce).location}var ke=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function Ae(e){t.useContext(M).static||t.useLayoutEffect(e)}function je(){let{isDataRoute:e}=t.useContext(we);return e?tt():Me()}function Me(){!De()&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`useNavigate() may be used only in the context of a <Router> component.`));let e=t.useContext(be),{basename:n,future:r,navigator:i}=t.useContext(M),{matches:a}=t.useContext(we),{pathname:o}=Oe(),s=JSON.stringify(le(a,r.v7_relativeSplatPath)),u=t.useRef(!1);return Ae(()=>{u.current=!0}),t.useCallback(function(t,r){if(r===void 0&&(r={}),process.env.NODE_ENV!==`production`&&l(u.current,ke),!u.current)return;if(typeof t==`number`){i.go(t);return}let a=ue(t,JSON.parse(s),o,r.relative===`path`);e==null&&n!==`/`&&(a.pathname=a.pathname===`/`?n:fe([n,a.pathname])),(r.replace?i.replace:i.push)(a,r.state,r)},[n,i,s,o,e])}var Ne=t.createContext(null);function Pe(e){let n=t.useContext(we).outlet;return n&&t.createElement(Ne.Provider,{value:e},n)}function Fe(){let{matches:e}=t.useContext(we),n=e[e.length-1];return n?n.params:{}}function Ie(e,n){let{relative:r}=n===void 0?{}:n,{future:i}=t.useContext(M),{matches:a}=t.useContext(we),{pathname:o}=Oe(),s=JSON.stringify(le(a,i.v7_relativeSplatPath));return t.useMemo(()=>ue(e,JSON.parse(s),o,r===`path`),[e,s,o,r])}function Le(e,t){return Re(e,t)}function Re(e,n,r,i){!De()&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`useRoutes() may be used only in the context of a <Router> component.`));let{navigator:a}=t.useContext(M),{matches:s}=t.useContext(we),u=s[s.length-1],d=u?u.params:{},f=u?u.pathname:`/`,m=u?u.pathnameBase:`/`,g=u&&u.route;if(process.env.NODE_ENV!==`production`){let e=g&&g.path||``;rt(f,!g||e.endsWith(`*`),"You rendered descendant <Routes> (or called `useRoutes()`) at "+(`"`+f+`" (under <Route path="`+e+`">) but the `)+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
2
+
3
+ `+(`Please change the parent <Route path="`+e+`"> to <Route `)+(`path="`+(e===`/`?`*`:e+`/*`)+`">.`))}let _=Oe(),v;if(n){let e=typeof n==`string`?p(n):n;!(m===`/`||e.pathname?.startsWith(m))&&(process.env.NODE_ENV===`production`?c(!1):c(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+(`matched by all parent routes. The current pathname base is "`+m+`" `)+(`but pathname "`+e.pathname+'" was given in the `location` prop.'))),v=e}else v=_;let y=v.pathname||`/`,b=y;if(m!==`/`){let e=m.replace(/^\//,``).split(`/`);b=`/`+y.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let x=h(e,{pathname:b});process.env.NODE_ENV!==`production`&&(process.env.NODE_ENV!==`production`&&l(g||x!=null,`No routes matched location "`+v.pathname+v.search+v.hash+`" `),process.env.NODE_ENV!==`production`&&l(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "`+v.pathname+v.search+v.hash+`" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`));let S=Ue(x&&x.map(e=>Object.assign({},e,{params:Object.assign({},d,e.params),pathname:fe([m,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?m:fe([m,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),s,r,i);return n&&S?t.createElement(Ce.Provider,{value:{location:ye({pathname:`/`,search:``,hash:``,state:null,key:`default`},v),navigationType:o.Pop}},S):S}function ze(){let e=et(),n=ge(e)?e.status+` `+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i=`rgba(200,200,200, 0.5)`,a={padding:`0.5rem`,backgroundColor:i},o={padding:`2px 4px`,backgroundColor:i},s=null;return process.env.NODE_ENV!==`production`&&(console.error(`Error handled by React Router default ErrorBoundary:`,e),s=t.createElement(t.Fragment,null,t.createElement(`p`,null,`💿 Hey developer 👋`),t.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,t.createElement(`code`,{style:o},`ErrorBoundary`),` or`,` `,t.createElement(`code`,{style:o},`errorElement`),` prop on your route.`))),t.createElement(t.Fragment,null,t.createElement(`h2`,null,`Unexpected Application Error!`),t.createElement(`h3`,{style:{fontStyle:`italic`}},n),r?t.createElement(`pre`,{style:a},r):null,s)}var Be=t.createElement(ze,null),Ve=class extends t.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error(`React Router caught the following error during render`,e,t)}render(){return this.state.error===void 0?this.props.children:t.createElement(we.Provider,{value:this.props.routeContext},t.createElement(Te.Provider,{value:this.state.error,children:this.props.component}))}};function He(e){let{routeContext:n,match:r,children:i}=e,a=t.useContext(be);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(we.Provider,{value:n},i)}function Ue(e,n,r,i){if(n===void 0&&(n=[]),r===void 0&&(r=null),i===void 0&&(i=null),e==null){var a;if(!r)return null;if(r.errors)e=r.matches;else if((a=i)!=null&&a.v7_partialHydration&&n.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let o=e,s=r?.errors;if(s!=null){let e=o.findIndex(e=>e.route.id&&s?.[e.route.id]!==void 0);!(e>=0)&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`Could not find a matching route for errors on route IDs: `+Object.keys(s).join(`,`))),o=o.slice(0,Math.min(o.length,e+1))}let l=!1,u=-1;if(r&&i&&i.v7_partialHydration)for(let e=0;e<o.length;e++){let t=o[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(u=e),t.route.id){let{loaderData:e,errors:n}=r,i=t.route.loader&&e[t.route.id]===void 0&&(!n||n[t.route.id]===void 0);if(t.route.lazy||i){l=!0,o=u>=0?o.slice(0,u+1):[o[0]];break}}}return o.reduceRight((e,i,a)=>{let c,d=!1,f=null,p=null;r&&(c=s&&i.route.id?s[i.route.id]:void 0,f=i.route.errorElement||Be,l&&(u<0&&a===0?(rt(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):u===a&&(d=!0,p=i.route.hydrateFallbackElement||null)));let m=n.concat(o.slice(0,a+1)),h=()=>{let n;return n=c?f:d?p:i.route.Component?t.createElement(i.route.Component,null):i.route.element?i.route.element:e,t.createElement(He,{match:i,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:n})};return r&&(i.route.ErrorBoundary||i.route.errorElement||a===0)?t.createElement(Ve,{location:r.location,revalidation:r.revalidation,component:f,error:c,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var We=function(e){return e.UseBlocker=`useBlocker`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e}(We||{}),Ge=function(e){return e.UseBlocker=`useBlocker`,e.UseLoaderData=`useLoaderData`,e.UseActionData=`useActionData`,e.UseRouteError=`useRouteError`,e.UseNavigation=`useNavigation`,e.UseRouteLoaderData=`useRouteLoaderData`,e.UseMatches=`useMatches`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e.UseRouteId=`useRouteId`,e}(Ge||{});function Ke(e){return e+` must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.`}function qe(e){let n=t.useContext(be);return!n&&(process.env.NODE_ENV===`production`?c(!1):c(!1,Ke(e))),n}function Je(e){let n=t.useContext(xe);return!n&&(process.env.NODE_ENV===`production`?c(!1):c(!1,Ke(e))),n}function Ye(e){let n=t.useContext(we);return!n&&(process.env.NODE_ENV===`production`?c(!1):c(!1,Ke(e))),n}function Xe(e){let t=Ye(e),n=t.matches[t.matches.length-1];return!n.route.id&&(process.env.NODE_ENV===`production`?c(!1):c(!1,e+` can only be used on routes that contain a unique "id"`)),n.route.id}function Ze(){return Xe(Ge.UseRouteId)}function Qe(){return Je(Ge.UseNavigation).navigation}function $e(){let{matches:e,loaderData:n}=Je(Ge.UseMatches);return t.useMemo(()=>e.map(e=>_(e,n)),[e,n])}function et(){let e=t.useContext(Te),n=Je(Ge.UseRouteError),r=Xe(Ge.UseRouteError);return e===void 0?n.errors?.[r]:e}function tt(){let{router:e}=qe(We.UseNavigateStable),n=Xe(Ge.UseNavigateStable),r=t.useRef(!1);return Ae(()=>{r.current=!0}),t.useCallback(function(t,i){i===void 0&&(i={}),process.env.NODE_ENV!==`production`&&l(r.current,ke),r.current&&(typeof t==`number`?e.navigate(t):e.navigate(t,ye({fromRouteId:n},i)))},[e,n])}var nt={};function rt(e,t,n){!t&&!nt[e]&&(nt[e]=!0,process.env.NODE_ENV!==`production`&&l(!1,n))}var it={};function at(e,t){process.env.NODE_ENV!==`production`&&!it[t]&&(it[t]=!0,console.warn(t))}var ot=(e,t,n)=>at(e,`⚠️ React Router Future Flag Warning: `+t+`. `+("You can use the `"+e+"` future flag to opt-in early. ")+(`For more information, see `+n+`.`));function st(e,t){e?.v7_startTransition===void 0&&ot(`v7_startTransition`,"React Router will begin wrapping state updates in `React.startTransition` in v7",`https://reactrouter.com/v6/upgrading/future#v7_starttransition`),e?.v7_relativeSplatPath===void 0&&(!t||t.v7_relativeSplatPath===void 0)&&ot(`v7_relativeSplatPath`,`Relative route resolution within Splat routes is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath`),t&&(t.v7_fetcherPersist===void 0&&ot(`v7_fetcherPersist`,`The persistence behavior of fetchers is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist`),t.v7_normalizeFormMethod===void 0&&ot(`v7_normalizeFormMethod`,"Casing of `formMethod` fields is being normalized to uppercase in v7",`https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod`),t.v7_partialHydration===void 0&&ot(`v7_partialHydration`,"`RouterProvider` hydration behavior is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_partialhydration`),t.v7_skipActionErrorRevalidation===void 0&&ot(`v7_skipActionErrorRevalidation`,"The revalidation behavior after 4xx/5xx `action` responses is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation`))}var ct=t.startTransition;function lt(e){let{basename:n,children:r,initialEntries:i,initialIndex:a,future:o}=e,c=t.useRef();c.current??=s({initialEntries:i,initialIndex:a,v5Compat:!0});let l=c.current,[u,d]=t.useState({action:l.action,location:l.location}),{v7_startTransition:f}=o||{},p=t.useCallback(e=>{f&&ct?ct(()=>d(e)):d(e)},[d,f]);return t.useLayoutEffect(()=>l.listen(p),[l,p]),t.useEffect(()=>st(o),[o]),t.createElement(ft,{basename:n,children:r,location:u.location,navigationType:u.action,navigator:l,future:o})}function ut(e){let{to:n,replace:r,state:i,relative:a}=e;!De()&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`<Navigate> may be used only in the context of a <Router> component.`));let{future:o,static:s}=t.useContext(M);process.env.NODE_ENV!==`production`&&l(!s,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:u}=t.useContext(we),{pathname:d}=Oe(),f=je(),p=ue(n,le(u,o.v7_relativeSplatPath),d,a===`path`),m=JSON.stringify(p);return t.useEffect(()=>f(JSON.parse(m),{replace:r,state:i,relative:a}),[f,m,a,r,i]),null}function dt(e){process.env.NODE_ENV===`production`?c(!1):c(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function ft(e){let{basename:n=`/`,children:r=null,location:i,navigationType:a=o.Pop,navigator:s,static:u=!1,future:d}=e;De()&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`));let f=n.replace(/^\/*/,`/`),m=t.useMemo(()=>({basename:f,navigator:s,static:u,future:ye({v7_relativeSplatPath:!1},d)}),[f,d,s,u]);typeof i==`string`&&(i=p(i));let{pathname:h=`/`,search:g=``,hash:_=``,state:v=null,key:y=`default`}=i,b=t.useMemo(()=>{let e=A(h,f);return e==null?null:{location:{pathname:e,search:g,hash:_,state:v,key:y},navigationType:a}},[f,h,g,_,v,y,a]);return process.env.NODE_ENV!==`production`&&l(b!=null,`<Router basename="`+f+`"> is not able to match the URL `+(`"`+h+g+_+`" because it does not start with the `)+`basename, so the <Router> won't render anything.`),b==null?null:t.createElement(M.Provider,{value:m},t.createElement(Ce.Provider,{children:r,value:b}))}function pt(e){let{children:t,location:n}=e;return Le(ht(t),n)}var mt=function(e){return e[e.pending=0]=`pending`,e[e.success=1]=`success`,e[e.error=2]=`error`,e}(mt||{});new Promise(()=>{}),t.Component;function ht(e,n){n===void 0&&(n=[]);let r=[];return t.Children.forEach(e,(e,i)=>{if(!t.isValidElement(e))return;let a=[...n,i];if(e.type===t.Fragment){r.push.apply(r,ht(e.props.children,a));return}e.type!==dt&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`[`+(typeof e.type==`string`?e.type:e.type.name)+`] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`)),!(!e.props.index||!e.props.children)&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`An index route cannot have child routes.`));let o={id:e.props.id||a.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=ht(e.props.children,a)),r.push(o)}),r}function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gt.apply(null,arguments)}function _t(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var vt=`get`,yt=`application/x-www-form-urlencoded`;function bt(e){return e!=null&&typeof e.tagName==`string`}function xt(e){return bt(e)&&e.tagName.toLowerCase()===`button`}function St(e){return bt(e)&&e.tagName.toLowerCase()===`form`}function Ct(e){return bt(e)&&e.tagName.toLowerCase()===`input`}function wt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Tt(e,t){return e.button===0&&(!t||t===`_self`)&&!wt(e)}function Et(e){return e===void 0&&(e=``),new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Dt(e,t){let n=Et(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var Ot=null;function kt(){if(Ot===null)try{new FormData(document.createElement(`form`),0),Ot=!1}catch{Ot=!0}return Ot}var At=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function jt(e){return e!=null&&!At.has(e)?(process.env.NODE_ENV!==`production`&&l(!1,`"`+e+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` and will default to "application/x-www-form-urlencoded"'),null):e}function Mt(e,t){let n,r,i,a,o;if(St(e)){let o=e.getAttribute(`action`);r=o?A(o,t):null,n=e.getAttribute(`method`)||vt,i=jt(e.getAttribute(`enctype`))||yt,a=new FormData(e)}else if(xt(e)||Ct(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?A(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||vt,i=jt(e.getAttribute(`formenctype`))||jt(o.getAttribute(`enctype`))||yt,a=new FormData(o,e),!kt()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?t+`.`:``;a.append(e+`x`,`0`),a.append(e+`y`,`0`)}else t&&a.append(t,r)}}else if(bt(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=vt,r=null,i=yt,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}var Nt=[`onClick`,`relative`,`reloadDocument`,`replace`,`state`,`target`,`to`,`preventScrollReset`,`viewTransition`],Pt=[`aria-current`,`caseSensitive`,`className`,`end`,`style`,`to`,`viewTransition`,`children`],Ft=[`fetcherKey`,`navigate`,`reloadDocument`,`replace`,`state`,`method`,`action`,`onSubmit`,`relative`,`preventScrollReset`,`viewTransition`],It=`6`;try{window.__reactRouterVersion=It}catch{}var Lt=t.createContext({isTransitioning:!1});process.env.NODE_ENV!==`production`&&(Lt.displayName=`ViewTransition`);var Rt=t.createContext(new Map);process.env.NODE_ENV!==`production`&&(Rt.displayName=`Fetchers`);var zt=t.startTransition;function Bt(e){let{basename:n,children:r,future:i,history:a}=e,[o,s]=t.useState({action:a.action,location:a.location}),{v7_startTransition:c}=i||{},l=t.useCallback(e=>{c&&zt?zt(()=>s(e)):s(e)},[s,c]);return t.useLayoutEffect(()=>a.listen(l),[a,l]),t.useEffect(()=>st(i),[i]),t.createElement(ft,{basename:n,children:r,location:o.location,navigationType:o.action,navigator:a,future:i})}process.env.NODE_ENV!==`production`&&(Bt.displayName=`unstable_HistoryRouter`);var Vt=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Ht=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ut=t.forwardRef(function(e,n){let{onClick:r,relative:i,reloadDocument:a,replace:o,state:s,target:c,to:u,preventScrollReset:d,viewTransition:f}=e,p=_t(e,Nt),{basename:m}=t.useContext(M),h,g=!1;if(typeof u==`string`&&Ht.test(u)&&(h=u,Vt))try{let e=new URL(window.location.href),t=u.startsWith(`//`)?new URL(e.protocol+u):new URL(u),n=A(t.pathname,m);t.origin===e.origin&&n!=null?u=n+t.search+t.hash:g=!0}catch{process.env.NODE_ENV!==`production`&&l(!1,`<Link to="`+u+`"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let _=Ee(u,{relative:i}),v=Qt(u,{replace:o,state:s,target:c,preventScrollReset:d,relative:i,viewTransition:f});function y(e){r&&r(e),e.defaultPrevented||v(e)}return t.createElement(`a`,gt({},p,{href:h||_,onClick:g||a?r:y,ref:n,target:c}))});process.env.NODE_ENV!==`production`&&(Ut.displayName=`Link`);var Wt=t.forwardRef(function(e,n){let{"aria-current":r=`page`,caseSensitive:i=!1,className:a=``,end:o=!1,style:s,to:c,viewTransition:l,children:u}=e,d=_t(e,Pt),f=Ie(c,{relative:d.relative}),p=Oe(),m=t.useContext(xe),{navigator:h,basename:g}=t.useContext(M),_=m!=null&&un(f)&&l===!0,v=h.encodeLocation?h.encodeLocation(f).pathname:f.pathname,y=p.pathname,b=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;i||(y=y.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&g&&(b=A(b,g)||b);let x=v!==`/`&&v.endsWith(`/`)?v.length-1:v.length,S=y===v||!o&&y.startsWith(v)&&y.charAt(x)===`/`,C=b!=null&&(b===v||!o&&b.startsWith(v)&&b.charAt(v.length)===`/`),w={isActive:S,isPending:C,isTransitioning:_},T=S?r:void 0,E;E=typeof a==`function`?a(w):[a,S?`active`:null,C?`pending`:null,_?`transitioning`:null].filter(Boolean).join(` `);let D=typeof s==`function`?s(w):s;return t.createElement(Ut,gt({},d,{"aria-current":T,className:E,ref:n,style:D,to:c,viewTransition:l}),typeof u==`function`?u(w):u)});process.env.NODE_ENV!==`production`&&(Wt.displayName=`NavLink`);var Gt=t.forwardRef((e,n)=>{let{fetcherKey:r,navigate:i,reloadDocument:a,replace:o,state:s,method:c=vt,action:l,onSubmit:u,relative:d,preventScrollReset:f,viewTransition:p}=e,m=_t(e,Ft),h=rn(),g=an(l,{relative:d}),_=c.toLowerCase()===`get`?`get`:`post`;return t.createElement(`form`,gt({ref:n,method:_,action:g,onSubmit:a?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,n=t?.getAttribute(`formmethod`)||c;h(t||e.currentTarget,{fetcherKey:r,method:n,navigate:i,replace:o,state:s,relative:d,preventScrollReset:f,viewTransition:p})}},m))});process.env.NODE_ENV!==`production`&&(Gt.displayName=`Form`);function Kt(e){let{getKey:t,storageKey:n}=e;return cn({getKey:t,storageKey:n}),null}process.env.NODE_ENV!==`production`&&(Kt.displayName=`ScrollRestoration`);var qt;(function(e){e.UseScrollRestoration=`useScrollRestoration`,e.UseSubmit=`useSubmit`,e.UseSubmitFetcher=`useSubmitFetcher`,e.UseFetcher=`useFetcher`,e.useViewTransitionState=`useViewTransitionState`})(qt||={});var Jt;(function(e){e.UseFetcher=`useFetcher`,e.UseFetchers=`useFetchers`,e.UseScrollRestoration=`useScrollRestoration`})(Jt||={});function Yt(e){return e+` must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.`}function Xt(e){let n=t.useContext(be);return!n&&(process.env.NODE_ENV===`production`?c(!1):c(!1,Yt(e))),n}function Zt(e){let n=t.useContext(xe);return!n&&(process.env.NODE_ENV===`production`?c(!1):c(!1,Yt(e))),n}function Qt(e,n){let{target:r,replace:i,state:a,preventScrollReset:o,relative:s,viewTransition:c}=n===void 0?{}:n,l=je(),u=Oe(),d=Ie(e,{relative:s});return t.useCallback(t=>{Tt(t,r)&&(t.preventDefault(),l(e,{replace:i===void 0?f(u)===f(d):i,state:a,preventScrollReset:o,relative:s,viewTransition:c}))},[u,l,d,i,a,r,e,o,s,c])}function $t(e){process.env.NODE_ENV!==`production`&&l(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let n=t.useRef(Et(e)),r=t.useRef(!1),i=Oe(),a=t.useMemo(()=>Dt(i.search,r.current?null:n.current),[i.search]),o=je();return[a,t.useCallback((e,t)=>{let n=Et(typeof e==`function`?e(a):e);r.current=!0,o(`?`+n,t)},[o,a])]}function en(){if(typeof document>`u`)throw Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}var tn=0,nn=()=>`__`+String(++tn)+`__`;function rn(){let{router:e}=Xt(qt.UseSubmit),{basename:n}=t.useContext(M),r=Ze();return t.useCallback(function(t,i){i===void 0&&(i={}),en();let{action:a,method:o,encType:s,formData:c,body:l}=Mt(t,n);if(i.navigate===!1){let t=i.fetcherKey||nn();e.fetch(t,r,i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:l,formMethod:i.method||o,formEncType:i.encType||s,flushSync:i.flushSync})}else e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:l,formMethod:i.method||o,formEncType:i.encType||s,replace:i.replace,state:i.state,fromRouteId:r,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,n,r])}function an(e,n){let{relative:r}=n===void 0?{}:n,{basename:i}=t.useContext(M),a=t.useContext(we);!a&&(process.env.NODE_ENV===`production`?c(!1):c(!1,`useFormAction must be used inside a RouteContext`));let[o]=a.matches.slice(-1),s=gt({},Ie(e||`.`,{relative:r})),l=Oe();if(e==null){s.search=l.search;let e=new URLSearchParams(s.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();s.search=n?`?`+n:``}}return(!e||e===`.`)&&o.route.index&&(s.search=s.search?s.search.replace(/^\?/,`?index&`):`?index`),i!==`/`&&(s.pathname=s.pathname===`/`?i:fe([i,s.pathname])),f(s)}var on=`react-router-scroll-positions`,sn={};function cn(e){let{getKey:n,storageKey:r}=e===void 0?{}:e,{router:i}=Xt(qt.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:o}=Zt(Jt.UseScrollRestoration),{basename:s}=t.useContext(M),c=Oe(),u=$e(),d=Qe();t.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),ln(t.useCallback(()=>{if(d.state===`idle`){let e=(n?n(c,u):null)||c.key;sn[e]=window.scrollY}try{sessionStorage.setItem(r||on,JSON.stringify(sn))}catch(e){process.env.NODE_ENV!==`production`&&l(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (`+e+`).`)}window.history.scrollRestoration=`auto`},[r,n,d.state,c,u])),typeof document<`u`&&(t.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(r||on);e&&(sn=JSON.parse(e))}catch{}},[r]),t.useLayoutEffect(()=>{let e=n&&s!==`/`?(e,t)=>n(gt({},e,{pathname:A(e.pathname,s)||e.pathname}),t):n,t=i?.enableScrollRestoration(sn,()=>window.scrollY,e);return()=>t&&t()},[i,s,n]),t.useLayoutEffect(()=>{if(a!==!1){if(typeof a==`number`){window.scrollTo(0,a);return}if(c.hash){let e=document.getElementById(decodeURIComponent(c.hash.slice(1)));if(e){e.scrollIntoView();return}}o!==!0&&window.scrollTo(0,0)}},[c,a,o]))}function ln(e,n){let{capture:r}=n||{};t.useEffect(()=>{let t=r==null?void 0:{capture:r};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,r])}function un(e,n){n===void 0&&(n={});let r=t.useContext(Lt);r??(process.env.NODE_ENV===`production`?c(!1):c(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"));let{basename:i}=Xt(qt.useViewTransitionState),a=Ie(e,{relative:n.relative});if(!r.isTransitioning)return!1;let o=A(r.currentLocation.pathname,i)||r.currentLocation.pathname,s=A(r.nextLocation.pathname,i)||r.nextLocation.pathname;return k(a.pathname,s)!=null||k(a.pathname,o)!=null}var dn=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),fn=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),pn=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),mn=e=>{let t=pn(e);return t.charAt(0).toUpperCase()+t.slice(1)},hn={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},gn=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},_n=(0,n.createContext)({}),vn=()=>(0,n.useContext)(_n),yn=(0,n.forwardRef)(({color:e,size:t,strokeWidth:r,absoluteStrokeWidth:i,className:a=``,children:o,iconNode:s,...c},l)=>{let{size:u=24,strokeWidth:d=2,absoluteStrokeWidth:f=!1,color:p=`currentColor`,className:m=``}=vn()??{},h=i??f?Number(r??d)*24/Number(t??u):r??d;return(0,n.createElement)(`svg`,{ref:l,...hn,width:t??u??hn.width,height:t??u??hn.height,stroke:e??p,strokeWidth:h,className:dn(`lucide`,m,a),...!o&&!gn(c)&&{"aria-hidden":`true`},...c},[...s.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(o)?o:[o]])}),bn=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...i},a)=>(0,n.createElement)(yn,{ref:a,iconNode:t,className:dn(`lucide-${fn(mn(e))}`,`lucide-${e}`,r),...i}));return r.displayName=mn(e),r},xn=bn(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Sn=bn(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Cn=bn(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),wn=bn(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),Tn=bn(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),N=(...e)=>e.filter(e=>!!e).join(` `),En=e=>e,Dn=e=>{let[t,r]=(0,n.useState)(()=>window.matchMedia(e).matches);return(0,n.useEffect)(()=>{let t=window.matchMedia(e),n=()=>{r(t.matches)};return r(t.matches),t.addEventListener(`change`,n),()=>{t.removeEventListener(`change`,n)}},[e]),t},P=e.t(),On={spinner:`_spinner_164a8_1`,spin:`_spin_164a8_1`,sm:`_sm_164a8_10`,md:`_md_164a8_15`,lg:`_lg_164a8_20`},kn=({size:e=`md`,label:t=`Loading`})=>(0,P.jsx)(`span`,{className:N(On.spinner,On[e]),role:`status`,"aria-label":t}),An={button:`_button_1xtk2_1`,sm:`_sm_1xtk2_36`,md:`_md_1xtk2_40`,lg:`_lg_1xtk2_44`,primary:`_primary_1xtk2_50`,secondary:`_secondary_1xtk2_63`,ghost:`_ghost_1xtk2_74`,danger:`_danger_1xtk2_82`,fullWidth:`_fullWidth_1xtk2_92`,loadingTextHidden:`_loadingTextHidden_1xtk2_96`},jn=({variant:e=`primary`,size:t=`md`,isLoading:n=!1,fullWidth:r=!1,disabled:i,type:a=`button`,className:o,children:s,...c})=>(0,P.jsxs)(`button`,{type:a,className:N(An.button,An[e],An[t],r&&An.fullWidth,o),disabled:i===!0||n,"aria-busy":n,...c,children:[n?(0,P.jsx)(kn,{size:`sm`}):null,(0,P.jsx)(`span`,{className:N(n&&An.loadingTextHidden),children:s})]}),Mn={alert:`_alert_r5ybz_1`,error:`_error_r5ybz_12`,info:`_info_r5ybz_18`,success:`_success_r5ybz_24`,title:`_title_r5ybz_30`,body:`_body_r5ybz_35`},Nn=({tone:e=`info`,title:t,children:n})=>(0,P.jsx)(`div`,{className:N(Mn.alert,Mn[e]),role:e===`error`?`alert`:`status`,children:(0,P.jsxs)(`div`,{children:[t===void 0?null:(0,P.jsx)(`p`,{className:Mn.title,children:t}),(0,P.jsx)(`p`,{className:Mn.body,children:n})]})}),Pn={field:`_field_i2e93_1`,label:`_label_i2e93_7`,input:`_input_i2e93_13`,invalid:`_invalid_i2e93_28`,error:`_error_i2e93_32`},Fn=(0,n.forwardRef)(({label:e,error:t,className:r,...i},a)=>{let o=(0,n.useId)(),s=`${o}-error`,c=t!==void 0&&t.length>0;return(0,P.jsxs)(`div`,{className:Pn.field,children:[(0,P.jsx)(`label`,{className:Pn.label,htmlFor:o,children:e}),(0,P.jsx)(`input`,{id:o,ref:a,className:N(Pn.input,c&&Pn.invalid,r),"aria-invalid":c,"aria-describedby":c?s:void 0,...i}),c?(0,P.jsx)(`span`,{id:s,className:Pn.error,children:t}):null]})});Fn.displayName=`TextField`;var In={select:`_select_1yaeg_3`},Ln=(0,n.forwardRef)(({className:e,children:t,...n},r)=>(0,P.jsx)(`select`,{ref:r,className:N(In.select,e),...n,children:t}));Ln.displayName=`Select`;var Rn={iconButton:`_iconButton_2jhbr_1`,ghost:`_ghost_2jhbr_29`,danger:`_danger_2jhbr_33`},zn=({label:e,variant:t=`ghost`,type:n=`button`,className:r,children:i,...a})=>(0,P.jsx)(`button`,{type:n,"aria-label":e,title:e,className:N(Rn.iconButton,Rn[t],r),...a,children:i});typeof window<`u`&&window.document&&window.document.createElement;function F(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function Bn(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Vn(...e){return t=>{let n=!1,r=e.map(e=>{let r=Bn(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Bn(e[t],null)}}}}function I(...e){return n.useCallback(Vn(...e),e)}function Hn(e,t=[]){let r=[];function i(t,i){let a=n.createContext(i);a.displayName=t+`Context`;let o=r.length;r=[...r,i];let s=t=>{let{scope:r,children:i,...s}=t,c=r?.[e]?.[o]||a,l=n.useMemo(()=>s,Object.values(s));return(0,P.jsx)(c.Provider,{value:l,children:i})};s.displayName=t+`Provider`;function c(r,s){let c=s?.[e]?.[o]||a,l=n.useContext(c);if(l)return l;if(i!==void 0)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}return[s,c]}let a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return a.scopeName=e,[i,Un(a,...t)]}function Un(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var Wn=globalThis?.document?n.useLayoutEffect:()=>{},Gn=n.useId||(()=>void 0),Kn=0;function qn(e){let[t,r]=n.useState(Gn());return Wn(()=>{e||r(e=>e??String(Kn++))},[e]),e||(t?`radix-${t}`:``)}var Jn=n.useInsertionEffect||Wn;function Yn({prop:e,defaultProp:t,onChange:r=()=>{},caller:i}){let[a,o,s]=Xn({defaultProp:t,onChange:r}),c=e!==void 0,l=c?e:a;{let t=n.useRef(e!==void 0);n.useEffect(()=>{let e=t.current;e!==c&&console.warn(`${i} is changing from ${e?`controlled`:`uncontrolled`} to ${c?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=c},[c,i])}return[l,n.useCallback(t=>{if(c){let n=Zn(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[c,e,o,s])]}function Xn({defaultProp:e,onChange:t}){let[r,i]=n.useState(e),a=n.useRef(r),o=n.useRef(t);return Jn(()=>{o.current=t},[t]),n.useEffect(()=>{a.current!==r&&(o.current?.(r),a.current=r)},[r,a]),[r,i,o]}function Zn(e){return typeof e==`function`}function Qn(e){let t=n.forwardRef((t,r)=>{let{children:i,...a}=t,o=null,s=!1,c=[];or(i)&&typeof ur==`function`&&(i=ur(i._payload)),n.Children.forEach(i,e=>{if(ir(e)){s=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;or(n)&&typeof ur==`function`&&(n=ur(n._payload)),o=tr(t,n),c.push(o?.props?.children)}else c.push(e)}),o?o=n.cloneElement(o,void 0,c):!s&&n.Children.count(i)===1&&n.isValidElement(i)&&(o=i);let l=o?rr(o):void 0,u=I(r,l);if(!o){if(i||i===0)throw Error(s?lr(e):cr(e));return i}let d=nr(a,o.props??{});return o.type!==n.Fragment&&(d.ref=r?u:l),n.cloneElement(o,d)});return t.displayName=`${e}.Slot`,t}var $n=Symbol.for(`radix.slottable`);function er(e){let t=e=>`child`in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=$n,t}var tr=(e,t)=>{if(`child`in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null};function nr(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function rr(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function ir(e){return n.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===$n}var ar=Symbol.for(`react.lazy`);function or(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===ar&&`_payload`in e&&sr(e._payload)}function sr(e){return typeof e==`object`&&!!e&&`then`in e}var cr=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,lr=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,ur=n.use,L=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let r=Qn(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...a}=e,o=i?r:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,P.jsx)(o,{...a,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function dr(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}function fr(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>((...e)=>t.current?.(...e)),[])}function pr(e,t=globalThis?.document){let r=fr(e);n.useEffect(()=>{let e=e=>{e.key===`Escape`&&r(e)};return t.addEventListener(`keydown`,e,{capture:!0}),()=>t.removeEventListener(`keydown`,e,{capture:!0})},[r,t])}var mr=`DismissableLayer`,hr=`dismissableLayer.update`,gr=`dismissableLayer.pointerDownOutside`,_r=`dismissableLayer.focusOutside`,vr,yr=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),br=n.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:i=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:c,onDismiss:l,...u}=e,d=n.useContext(yr),[f,p]=n.useState(null),m=f?.ownerDocument??globalThis?.document,[,h]=n.useState({}),g=I(t,e=>p(e)),_=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=_.indexOf(v),b=f?_.indexOf(f):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,S=b>=y,C=n.useRef(!1),w=wr(e=>{let t=e.target;if(!(t instanceof Node))return;let n=[...d.branches].some(e=>e.contains(t));!S||n||(o?.(e),c?.(e),e.defaultPrevented||l?.())},{ownerDocument:m,deferPointerDownOutside:i,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:d.dismissableSurfaces}),T=Tr(e=>{if(i&&C.current)return;let t=e.target;[...d.branches].some(e=>e.contains(t))||(s?.(e),c?.(e),e.defaultPrevented||l?.())},m);return pr(e=>{b===d.layers.size-1&&(a?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},m),n.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(vr=m.body.style.pointerEvents,m.body.style.pointerEvents=`none`),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Er(),()=>{r&&(d.layersWithOutsidePointerEventsDisabled.delete(f),d.layersWithOutsidePointerEventsDisabled.size===0&&(m.body.style.pointerEvents=vr))}},[f,m,r,d]),n.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Er())},[f,d]),n.useEffect(()=>{let e=()=>h({});return document.addEventListener(hr,e),()=>document.removeEventListener(hr,e)},[]),(0,P.jsx)(L.div,{...u,ref:g,style:{pointerEvents:x?S?`auto`:`none`:void 0,...e.style},onFocusCapture:F(e.onFocusCapture,T.onFocusCapture),onBlurCapture:F(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:F(e.onPointerDownCapture,w.onPointerDownCapture)})});br.displayName=mr;var xr=`DismissableLayerBranch`,Sr=n.forwardRef((e,t)=>{let r=n.useContext(yr),i=n.useRef(null),a=I(t,i);return n.useEffect(()=>{let e=i.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,P.jsx)(L.div,{...e,ref:a})});Sr.displayName=xr;function Cr(){let e=n.useContext(yr),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}function wr(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:o}=t,s=fr(e),c=n.useRef(!1),l=n.useRef(!1),u=n.useRef(new Map),d=n.useRef(()=>{});return n.useEffect(()=>{function e(){l.current=!1,a.current=!1,u.current.clear()}function t(){return Array.from(u.current.values()).some(Boolean)}function n(e){if(!l.current)return;let t=e.target;t instanceof Node&&[...o].some(e=>e.contains(t))||u.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{l.current&&d.current()},0)}function f(e){l.current&&u.current.set(e.type,!1)}let p=n=>{if(n.target&&!c.current){let o=function(){r.removeEventListener(`click`,d.current);let n=t();e(),n||Dr(gr,s,c,{discrete:!0})},c={originalEvent:n};l.current=!0,a.current=i&&n.button===0,u.current.clear(),!i||n.button!==0?o():(r.removeEventListener(`click`,d.current),d.current=o,r.addEventListener(`click`,d.current,{once:!0}))}else r.removeEventListener(`click`,d.current),e();c.current=!1},m=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of m)r.addEventListener(e,n,!0),r.addEventListener(e,f);let h=window.setTimeout(()=>{r.addEventListener(`pointerdown`,p)},0);return()=>{window.clearTimeout(h),r.removeEventListener(`pointerdown`,p),r.removeEventListener(`click`,d.current);for(let e of m)r.removeEventListener(e,n,!0),r.removeEventListener(e,f)}},[r,s,i,a,o]),{onPointerDownCapture:()=>c.current=!0}}function Tr(e,t=globalThis?.document){let r=fr(e),i=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!i.current&&Dr(_r,r,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function Er(){let e=new CustomEvent(hr);document.dispatchEvent(e)}function Dr(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?dr(i,a):i.dispatchEvent(a)}var Or=`focusScope.autoFocusOnMount`,kr=`focusScope.autoFocusOnUnmount`,Ar={bubbles:!1,cancelable:!0},jr=`FocusScope`,Mr=n.forwardRef((e,t)=>{let{loop:r=!1,trapped:i=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...s}=e,[c,l]=n.useState(null),u=fr(a),d=fr(o),f=n.useRef(null),p=I(t,e=>l(e)),m=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(i){let e=function(e){if(m.paused||!c)return;let t=e.target;c.contains(t)?f.current=t:zr(f.current,{select:!0})},t=function(e){if(m.paused||!c)return;let t=e.relatedTarget;t!==null&&(c.contains(t)||zr(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&zr(c)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return c&&r.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[i,c,m.paused]),n.useEffect(()=>{if(c){Br.add(m);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(Or,Ar);c.addEventListener(Or,u),c.dispatchEvent(t),t.defaultPrevented||(Nr(Ur(Fr(c)),{select:!0}),document.activeElement===e&&zr(c))}return()=>{c.removeEventListener(Or,u),setTimeout(()=>{let t=new CustomEvent(kr,Ar);c.addEventListener(kr,d),c.dispatchEvent(t),t.defaultPrevented||zr(e??document.body,{select:!0}),c.removeEventListener(kr,d),Br.remove(m)},0)}}},[c,u,d,m]);let h=n.useCallback(e=>{if(!r&&!i||m.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[i,a]=Pr(t);i&&a?!e.shiftKey&&n===a?(e.preventDefault(),r&&zr(i,{select:!0})):e.shiftKey&&n===i&&(e.preventDefault(),r&&zr(a,{select:!0})):n===t&&e.preventDefault()}},[r,i,m.paused]);return(0,P.jsx)(L.div,{tabIndex:-1,...s,ref:p,onKeyDown:h})});Mr.displayName=jr;function Nr(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(zr(r,{select:t}),document.activeElement!==n)return}function Pr(e){let t=Fr(e);return[Ir(t,e),Ir(t.reverse(),e)]}function Fr(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ir(e,t){for(let n of e)if(!Lr(n,{upTo:t}))return n}function Lr(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function Rr(e){return e instanceof HTMLInputElement&&`select`in e}function zr(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Rr(e)&&t&&e.select()}}var Br=Vr();function Vr(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=Hr(e,t),e.unshift(t)},remove(t){e=Hr(e,t),e[0]?.resume()}}}function Hr(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Ur(e){return e.filter(e=>e.tagName!==`A`)}var Wr=`Portal`,Gr=n.forwardRef((e,t)=>{let{container:r,...a}=e,[o,s]=n.useState(!1);Wn(()=>s(!0),[]);let c=r||o&&globalThis?.document?.body;return c?i.createPortal((0,P.jsx)(L.div,{...a,ref:t}),c):null});Gr.displayName=Wr;function Kr(e,t){return n.useReducer((e,n)=>t[e][n]??e,e)}var qr=e=>{let{present:t,children:r}=e,i=Jr(t),a=typeof r==`function`?r({present:i.isPresent}):n.Children.only(r),o=Xr(i.ref,Qr(a));return typeof r==`function`||i.isPresent?n.cloneElement(a,{ref:o}):null};qr.displayName=`Presence`;function Jr(e){let[t,r]=n.useState(),i=n.useRef(null),a=n.useRef(e),o=n.useRef(`none`),[s,c]=Kr(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return n.useEffect(()=>{let e=Zr(i.current);o.current=s===`mounted`?e:`none`},[s]),Wn(()=>{let t=i.current,n=a.current;if(n!==e){let r=o.current,i=Zr(t);e?c(`MOUNT`):i===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),a.current=e}},[e,c]),Wn(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,r=r=>{let o=Zr(i.current).includes(CSS.escape(r.animationName));if(r.target===t&&o&&(c(`ANIMATION_END`),!a.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},s=e=>{e.target===t&&(o.current=Zr(i.current))};return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,r),t.addEventListener(`animationend`,r),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,r),t.removeEventListener(`animationend`,r)}}else c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:n.useCallback(e=>{i.current=e?getComputedStyle(e):null,r(e)},[])}}function Yr(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Xr(...e){let t=n.useRef(e);return t.current=e,n.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=Yr(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():Yr(n[e],null)}}},[])}function Zr(e){return e?.animationName||`none`}function Qr(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var $r=0,ei=null;function ti(){n.useEffect(()=>{ei||={start:ni(),end:ni()};let{start:e,end:t}=ei;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),$r++,()=>{$r===1&&(ei?.start.remove(),ei?.end.remove(),ei=null),$r=Math.max(0,$r-1)}},[])}function ni(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}var ri=function(){return ri=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ri.apply(this,arguments)};function ii(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function ai(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var oi=`right-scroll-bar-position`,si=`width-before-scroll-bar`,ci=`with-scroll-bars-hidden`,li=`--removed-body-scroll-bar-size`;function ui(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function di(e,n){var r=(0,t.useState)(function(){return{value:e,callback:n,facade:{get current(){return r.value},set current(e){var t=r.value;t!==e&&(r.value=e,r.callback(e,t))}}}})[0];return r.callback=n,r.facade}var fi=typeof window<`u`?t.useLayoutEffect:t.useEffect,pi=new WeakMap;function mi(e,t){var n=di(t||null,function(t){return e.forEach(function(e){return ui(e,t)})});return fi(function(){var t=pi.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||ui(e,null)}),i.forEach(function(e){r.has(e)||ui(e,a)})}pi.set(n,e)},[e]),n}function hi(e){return e}function gi(e,t){t===void 0&&(t=hi);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function _i(e){e===void 0&&(e={});var t=gi(null);return t.options=ri({async:!0,ssr:!1},e),t}var vi=function(e){var n=e.sideCar,r=ii(e,[`sideCar`]);if(!n)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=n.read();if(!i)throw Error(`Sidecar medium not found`);return t.createElement(i,ri({},r))};vi.isSideCarExport=!0;function yi(e,t){return e.useMedium(t),vi}var bi=_i(),xi=function(){},Si=t.forwardRef(function(e,n){var r=t.useRef(null),i=t.useState({onScrollCapture:xi,onWheelCapture:xi,onTouchMoveCapture:xi}),a=i[0],o=i[1],s=e.forwardProps,c=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=ii(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=mi([r,n]),w=ri(ri({},x),a);return t.createElement(t.Fragment,null,d&&t.createElement(S,{sideCar:bi,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:g,setCallbacks:o,allowPinchZoom:!!_,lockRef:r,gapMode:b}),s?t.cloneElement(t.Children.only(c),ri(ri({},w),{ref:C})):t.createElement(y,ri({},w,{className:l,ref:C}),c))});Si.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Si.classNames={fullWidth:si,zeroRight:oi};var Ci,wi=function(){if(Ci)return Ci;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function Ti(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=wi();return t&&e.setAttribute(`nonce`,t),e}function Ei(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Di(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var Oi=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Ti())&&(Ei(t,n),Di(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ki=function(){var e=Oi();return function(n,r){t.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&r])}},Ai=function(){var e=ki();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},ji={left:0,top:0,right:0,gap:0},Mi=function(e){return parseInt(e||``,10)||0},Ni=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[Mi(n),Mi(r),Mi(i)]},Pi=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return ji;var t=Ni(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Fi=Ai(),Ii=`data-scroll-locked`,Li=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
4
+ .${ci} {
5
+ overflow: hidden ${r};
6
+ padding-right: ${s}px ${r};
7
+ }
8
+ body[${Ii}] {
9
+ overflow: hidden ${r};
10
+ overscroll-behavior: contain;
11
+ ${[t&&`position: relative ${r};`,n===`margin`&&`
12
+ padding-left: ${i}px;
13
+ padding-top: ${a}px;
14
+ padding-right: ${o}px;
15
+ margin-left:0;
16
+ margin-top:0;
17
+ margin-right: ${s}px ${r};
18
+ `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)}
19
+ }
20
+
21
+ .${oi} {
22
+ right: ${s}px ${r};
23
+ }
24
+
25
+ .${si} {
26
+ margin-right: ${s}px ${r};
27
+ }
28
+
29
+ .${oi} .${oi} {
30
+ right: 0 ${r};
31
+ }
32
+
33
+ .${si} .${si} {
34
+ margin-right: 0 ${r};
35
+ }
36
+
37
+ body[${Ii}] {
38
+ ${li}: ${s}px;
39
+ }
40
+ `},Ri=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},zi=function(){t.useEffect(function(){return document.body.setAttribute(Ii,(Ri()+1).toString()),function(){var e=Ri()-1;e<=0?document.body.removeAttribute(Ii):document.body.setAttribute(Ii,e.toString())}},[])},Bi=function(e){var n=e.noRelative,r=e.noImportant,i=e.gapMode,a=i===void 0?`margin`:i;zi();var o=t.useMemo(function(){return Pi(a)},[a]);return t.createElement(Fi,{styles:Li(o,!n,a,r?``:`!important`)})},Vi=!1;if(typeof window<`u`)try{var Hi=Object.defineProperty({},"passive",{get:function(){return Vi=!0,!0}});window.addEventListener(`test`,Hi,Hi),window.removeEventListener(`test`,Hi,Hi)}catch{Vi=!1}var Ui=Vi?{passive:!1}:!1,Wi=function(e){return e.tagName===`TEXTAREA`},Gi=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!Wi(e)&&n[t]===`visible`)},Ki=function(e){return Gi(e,`overflowY`)},qi=function(e){return Gi(e,`overflowX`)},Ji=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),Zi(e,r)){var i=Qi(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Yi=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},Xi=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Zi=function(e,t){return e===`v`?Ki(t):qi(t)},Qi=function(e,t){return e===`v`?Yi(t):Xi(t)},$i=function(e,t){return e===`h`&&t===`rtl`?-1:1},ea=function(e,t,n,r,i){var a=$i(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=Qi(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&Zi(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},ta=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},na=function(e){return[e.deltaX,e.deltaY]},ra=function(e){return e&&`current`in e?e.current:e},ia=function(e,t){return e[0]===t[0]&&e[1]===t[1]},aa=function(e){return`
41
+ .block-interactivity-${e} {pointer-events: none;}
42
+ .allow-interactivity-${e} {pointer-events: all;}
43
+ `},oa=0,sa=[];function ca(e){var n=t.useRef([]),r=t.useRef([0,0]),i=t.useRef(),a=t.useState(oa++)[0],o=t.useState(Ai)[0],s=t.useRef(e);t.useEffect(function(){s.current=e},[e]),t.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${a}`);var t=ai([e.lockRef.current],(e.shards||[]).map(ra),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${a}`)}),function(){document.body.classList.remove(`block-interactivity-${a}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${a}`)})}}},[e.inert,e.lockRef.current,e.shards]);var c=t.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!s.current.allowPinchZoom;var n=ta(e),a=r.current,o=`deltaX`in e?e.deltaX:a[0]-n[0],c=`deltaY`in e?e.deltaY:a[1]-n[1],l,u=e.target,d=Math.abs(o)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=Ji(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=Ji(d,u)),!m)return!1;if(!i.current&&`changedTouches`in e&&(o||c)&&(i.current=l),!l)return!0;var h=i.current||l;return ea(h,t,e,h===`h`?o:c,!0)},[]),l=t.useCallback(function(e){var t=e;if(!(!sa.length||sa[sa.length-1]!==o)){var r=`deltaY`in t?na(t):ta(t),i=n.current.filter(function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&ia(e.delta,r)})[0];if(i&&i.should){t.cancelable&&t.preventDefault();return}if(!i){var a=(s.current.shards||[]).map(ra).filter(Boolean).filter(function(e){return e.contains(t.target)});(a.length>0?c(t,a[0]):!s.current.noIsolation)&&t.cancelable&&t.preventDefault()}}},[]),u=t.useCallback(function(e,t,r,i){var a={name:e,delta:t,target:r,should:i,shadowParent:la(r)};n.current.push(a),setTimeout(function(){n.current=n.current.filter(function(e){return e!==a})},1)},[]),d=t.useCallback(function(e){r.current=ta(e),i.current=void 0},[]),f=t.useCallback(function(t){u(t.type,na(t),t.target,c(t,e.lockRef.current))},[]),p=t.useCallback(function(t){u(t.type,ta(t),t.target,c(t,e.lockRef.current))},[]);t.useEffect(function(){return sa.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener(`wheel`,l,Ui),document.addEventListener(`touchmove`,l,Ui),document.addEventListener(`touchstart`,d,Ui),function(){sa=sa.filter(function(e){return e!==o}),document.removeEventListener(`wheel`,l,Ui),document.removeEventListener(`touchmove`,l,Ui),document.removeEventListener(`touchstart`,d,Ui)}},[]);var m=e.removeScrollBar,h=e.inert;return t.createElement(t.Fragment,null,h?t.createElement(o,{styles:aa(a)}):null,m?t.createElement(Bi,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function la(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var ua=yi(bi,ca),da=t.forwardRef(function(e,n){return t.createElement(Si,ri({},e,{ref:n,sideCar:ua}))});da.classNames=Si.classNames;var fa=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},pa=new WeakMap,ma=new WeakMap,ha={},ga=0,_a=function(e){return e&&(e.host||_a(e.parentNode))},va=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=_a(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},ya=function(e,t,n,r){var i=va(t,Array.isArray(e)?e:[e]);ha[n]||(ha[n]=new WeakMap);var a=ha[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(pa.get(e)||0)+1,l=(a.get(e)||0)+1;pa.set(e,c),a.set(e,l),o.push(e),c===1&&i&&ma.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),ga++,function(){o.forEach(function(e){var t=pa.get(e)-1,i=a.get(e)-1;pa.set(e,t),a.set(e,i),t||(ma.has(e)||e.removeAttribute(r),ma.delete(e)),i||e.removeAttribute(n)}),ga--,ga||(pa=new WeakMap,pa=new WeakMap,ma=new WeakMap,ha={})}},ba=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||fa(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),ya(r,i,n,`aria-hidden`)):function(){return null}},xa=`Dialog`,[Sa,Ca]=Hn(xa),[wa,Ta]=Sa(xa),Ea=e=>{let{__scopeDialog:t,children:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=n.useRef(null),l=n.useRef(null),[u,d]=Yn({prop:i,defaultProp:a??!1,onChange:o,caller:xa});return(0,P.jsx)(wa,{scope:t,triggerRef:c,contentRef:l,contentId:qn(),titleId:qn(),descriptionId:qn(),open:u,onOpenChange:d,onOpenToggle:n.useCallback(()=>d(e=>!e),[d]),modal:s,children:r})};Ea.displayName=xa;var Da=`DialogTrigger`,Oa=n.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Ta(Da,n),a=I(t,i.triggerRef);return(0,P.jsx)(L.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":Ja(i.open),...r,ref:a,onClick:F(e.onClick,i.onOpenToggle)})});Oa.displayName=Da;var ka=`DialogPortal`,[Aa,ja]=Sa(ka,{forceMount:void 0}),Ma=e=>{let{__scopeDialog:t,forceMount:r,children:i,container:a}=e,o=Ta(ka,t);return(0,P.jsx)(Aa,{scope:t,forceMount:r,children:n.Children.map(i,e=>(0,P.jsx)(qr,{present:r||o.open,children:(0,P.jsx)(Gr,{asChild:!0,container:a,children:e})}))})};Ma.displayName=ka;var Na=`DialogOverlay`,Pa=n.forwardRef((e,t)=>{let n=ja(Na,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Ta(Na,e.__scopeDialog);return a.modal?(0,P.jsx)(qr,{present:r||a.open,children:(0,P.jsx)(Ia,{...i,ref:t})}):null});Pa.displayName=Na;var Fa=Qn(`DialogOverlay.RemoveScroll`),Ia=n.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Ta(Na,n),a=I(t,Cr());return(0,P.jsx)(da,{as:Fa,allowPinchZoom:!0,shards:[i.contentRef],children:(0,P.jsx)(L.div,{"data-state":Ja(i.open),...r,ref:a,style:{pointerEvents:`auto`,...r.style}})})}),La=`DialogContent`,Ra=n.forwardRef((e,t)=>{let n=ja(La,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Ta(La,e.__scopeDialog);return(0,P.jsx)(qr,{present:r||a.open,children:a.modal?(0,P.jsx)(za,{...i,ref:t}):(0,P.jsx)(Ba,{...i,ref:t})})});Ra.displayName=La;var za=n.forwardRef((e,t)=>{let r=Ta(La,e.__scopeDialog),i=n.useRef(null),a=I(t,r.contentRef,i);return n.useEffect(()=>{let e=i.current;if(e)return ba(e)},[]),(0,P.jsx)(Va,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:F(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:F(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:F(e.onFocusOutside,e=>e.preventDefault())})}),Ba=n.forwardRef((e,t)=>{let r=Ta(La,e.__scopeDialog),i=n.useRef(!1),a=n.useRef(!1);return(0,P.jsx)(Va,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||r.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,t.detail.originalEvent.type===`pointerdown`&&(a.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&a.current&&t.preventDefault()}})}),Va=n.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=Ta(La,n);return ti(),(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(Mr,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,P.jsx)(br,{role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Ja(s.open),...o,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})}),Ha=`DialogTitle`,Ua=n.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Ta(Ha,n);return(0,P.jsx)(L.h2,{id:i.titleId,...r,ref:t})});Ua.displayName=Ha;var Wa=`DialogDescription`,Ga=n.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Ta(Wa,n);return(0,P.jsx)(L.p,{id:i.descriptionId,...r,ref:t})});Ga.displayName=Wa;var Ka=`DialogClose`,qa=n.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Ta(Ka,n);return(0,P.jsx)(L.button,{type:`button`,...r,ref:t,onClick:F(e.onClick,()=>i.onOpenChange(!1))})});qa.displayName=Ka;function Ja(e){return e?`open`:`closed`}var Ya=(0,n.createContext)(void 0),Xa=()=>(0,n.useContext)(Ya)??void 0,Za=(0,n.createContext)({});function Qa(e){let t=(0,n.useRef)(null);return t.current===null&&(t.current=e()),t.current}var $a=typeof window<`u`?n.useLayoutEffect:n.useEffect,eo=(0,n.createContext)(null);function to(e,t){e.indexOf(t)===-1&&e.push(t)}function no(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var ro=(e,t,n)=>n>t?t:n<e?e:n;function io(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}var ao=()=>{},oo=()=>{};typeof process<`u`&&process.env.NODE_ENV!==`production`&&(ao=(e,t,n)=>{!e&&typeof console<`u`&&console.warn(io(t,n))},oo=(e,t,n)=>{if(!e)throw Error(io(t,n))});var so={},co=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),lo=e=>typeof e==`object`&&!!e,uo=e=>/^0[^.\s]+$/u.test(e);function fo(e){let t;return()=>(t===void 0&&(t=e()),t)}var R=e=>e,po=(...e)=>e.reduce((e,t)=>n=>t(e(n))),mo=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},ho=class{constructor(){this.subscriptions=[]}add(e){return to(this.subscriptions,e),()=>no(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},z=e=>e*1e3,go=e=>e/1e3,_o=(e,t)=>t?1e3/t*e:0,vo=new Set;function yo(e,t,n){e||vo.has(t)||(console.warn(io(t,n)),vo.add(t))}var bo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,xo=1e-7,So=12;function Co(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=bo(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>xo&&++s<So);return o}function wo(e,t,n,r){if(e===t&&n===r)return R;let i=t=>Co(t,0,1,e,n);return e=>e===0||e===1?e:bo(i(e),t,r)}var To=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Eo=e=>t=>1-e(1-t),Do=wo(.33,1.53,.69,.99),Oo=Eo(Do),ko=To(Oo),Ao=e=>e>=1?1:(e*=2)<1?.5*Oo(e):.5*(2-2**(-10*(e-1))),jo=e=>1-Math.sin(Math.acos(e)),Mo=Eo(jo),No=To(jo),Po=wo(.42,0,1,1),Fo=wo(0,0,.58,1),Io=wo(.42,0,.58,1),Lo=e=>Array.isArray(e)&&typeof e[0]!=`number`,Ro=e=>Array.isArray(e)&&typeof e[0]==`number`,zo={linear:R,easeIn:Po,easeInOut:Io,easeOut:Fo,circIn:jo,circInOut:No,circOut:Mo,backIn:Oo,backInOut:ko,backOut:Do,anticipate:Ao},Bo=e=>typeof e==`string`,Vo=e=>{if(Ro(e)){oo(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return wo(t,n,r,i)}else if(Bo(e))return oo(zo[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),zo[e];return e},Ho=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Uo={value:null,addProjectionMetrics:null};function Wo(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&Uo.value&&Uo.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var Go=40;function Ko(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Ho.reduce((e,n)=>(e[n]=Wo(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=so.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Go),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Ho.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Ho.length;t++)o[Ho[t]].cancel(e)},state:i,steps:o}}var{schedule:B,cancel:qo,state:V,steps:Jo}=Ko(typeof requestAnimationFrame<`u`?requestAnimationFrame:R,!0),Yo;function Xo(){Yo=void 0}var H={now:()=>(Yo===void 0&&H.set(V.isProcessing||so.useManualTiming?V.timestamp:performance.now()),Yo),set:e=>{Yo=e,queueMicrotask(Xo)}},Zo={layout:0,mainThread:0,waapi:0},Qo=e=>t=>typeof t==`string`&&t.startsWith(e),$o=Qo(`--`),es=Qo(`var(--`),ts=e=>es(e)?ns.test(e.split(`/*`)[0].trim()):!1,ns=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function rs(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var is={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},as={...is,transform:e=>ro(0,1,e)},os={...is,default:1},ss=e=>Math.round(e*1e5)/1e5,cs=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ls(e){return e==null}var us=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ds=(e,t)=>n=>!!(typeof n==`string`&&us.test(n)&&n.startsWith(e)||t&&!ls(n)&&Object.prototype.hasOwnProperty.call(n,t)),fs=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(cs);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},ps=e=>ro(0,255,e),ms={...is,transform:e=>Math.round(ps(e))},hs={test:ds(`rgb`,`red`),parse:fs(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+ms.transform(e)+`, `+ms.transform(t)+`, `+ms.transform(n)+`, `+ss(as.transform(r))+`)`};function gs(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var _s={test:ds(`#`),parse:gs,transform:hs.transform},vs=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ys=vs(`deg`),bs=vs(`%`),U=vs(`px`),xs=vs(`vh`),Ss=vs(`vw`),Cs={...bs,parse:e=>bs.parse(e)/100,transform:e=>bs.transform(e*100)},ws={test:ds(`hsl`,`hue`),parse:fs(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+bs.transform(ss(t))+`, `+bs.transform(ss(n))+`, `+ss(as.transform(r))+`)`},W={test:e=>hs.test(e)||_s.test(e)||ws.test(e),parse:e=>hs.test(e)?hs.parse(e):ws.test(e)?ws.parse(e):_s.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?hs.transform(e):ws.transform(e),getAnimatableNone:e=>{let t=W.parse(e);return t.alpha=0,W.transform(t)}},Ts=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Es(e){return isNaN(e)&&typeof e==`string`&&(e.match(cs)?.length||0)+(e.match(Ts)?.length||0)>0}var Ds=`number`,Os=`color`,ks=`var`,As=`var(`,js="${}",Ms=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ns(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(Ms,e=>(W.test(e)?(r.color.push(a),i.push(Os),n.push(W.parse(e))):e.startsWith(As)?(r.var.push(a),i.push(ks),n.push(e)):(r.number.push(a),i.push(Ds),n.push(parseFloat(e))),++a,js)).split(js),indexes:r,types:i}}function Ps(e){return Ns(e).values}function Fs({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===Ds?i+=ss(r[a]):e===Os?i+=W.transform(r[a]):i+=r[a]}return i}}function Is(e){return Fs(Ns(e))}var Ls=e=>typeof e==`number`?0:W.test(e)?W.getAnimatableNone(e):e,Rs=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Ls(e);function zs(e){let t=Ns(e);return Fs(t)(t.values.map((e,n)=>Rs(e,t.split[n])))}var Bs={test:Es,parse:Ps,createTransformer:Is,getAnimatableNone:zs};function Vs(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Hs({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Vs(s,r,e+1/3),a=Vs(s,r,e),o=Vs(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Us(e,t){return n=>n>0?t:e}var G=(e,t,n)=>e+(t-e)*n,Ws=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Gs=[_s,hs,ws],Ks=e=>Gs.find(t=>t.test(e));function qs(e){let t=Ks(e);if(ao(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,`color-not-animatable`),!t)return!1;let n=t.parse(e);return t===ws&&(n=Hs(n)),n}var Js=(e,t)=>{let n=qs(e),r=qs(t);if(!n||!r)return Us(e,t);let i={...n};return e=>(i.red=Ws(n.red,r.red,e),i.green=Ws(n.green,r.green,e),i.blue=Ws(n.blue,r.blue,e),i.alpha=G(n.alpha,r.alpha,e),hs.transform(i))},Ys=new Set([`none`,`hidden`]);function Xs(e,t){return Ys.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Zs(e,t){return n=>G(e,t,n)}function Qs(e){return typeof e==`number`?Zs:typeof e==`string`?ts(e)?Us:W.test(e)?Js:nc:Array.isArray(e)?$s:typeof e==`object`?W.test(e)?Js:ec:Us}function $s(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Qs(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function ec(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Qs(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function tc(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var nc=(e,t)=>{let n=Bs.createTransformer(t),r=Ns(e),i=Ns(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Ys.has(e)&&!i.values.length||Ys.has(t)&&!r.values.length?Xs(e,t):po($s(tc(r,i),i.values),n):(ao(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,`complex-values-different`),Us(e,t))};function rc(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?G(e,t,n):Qs(e)(e,t)}var ic=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>B.update(t,e),stop:()=>qo(t),now:()=>V.isProcessing?V.timestamp:H.now()}},ac=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},oc=2e4;function sc(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function cc(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(sc(r),oc);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:go(i)}}var K={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function lc(e,t){return e*Math.sqrt(1-t*t)}var uc=12;function dc(e,t,n){let r=n;for(let n=1;n<uc;n++)r-=e(r)/t(r);return r}var fc=.001;function pc({duration:e=K.duration,bounce:t=K.bounce,velocity:n=K.velocity,mass:r=K.mass}){let i,a;ao(e<=z(K.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=ro(K.minDamping,K.maxDamping,o),e=ro(K.minDuration,K.maxDuration,go(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=lc(t,o),c=Math.exp(-i);return fc-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=lc(t**2,o);return(-i(t)+fc>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=dc(i,a,s);if(e=z(e),isNaN(c))return{stiffness:K.stiffness,damping:K.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var mc=[`duration`,`bounce`],hc=[`stiffness`,`damping`,`mass`];function gc(e,t){return t.some(t=>e[t]!==void 0)}function _c(e){let t={velocity:K.velocity,stiffness:K.stiffness,damping:K.damping,mass:K.mass,isResolvedFromDuration:!1,...e};if(!gc(e,hc)&&gc(e,mc))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*ro(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:K.mass,stiffness:i,damping:a}}else{let n=pc({...e,velocity:0});t={...t,...n,mass:K.mass},t.isResolvedFromDuration=!0}return t}function vc(e=K.visualDuration,t=K.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=_c({...n,velocity:-go(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=go(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?K.restSpeed.granular:K.restSpeed.default,i||=v?K.restDelta.granular:K.restDelta.default;let y,b,x,S,C,w;if(h<1)x=lc(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>z(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=z(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=z(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(sc(T),oc),t=ac(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}vc.applyToOptions=e=>{let t=cc(e,100,vc);return e.ease=t.ease,e.duration=z(t.duration),e.type=`keyframes`,e};var yc=5;function bc(e,t,n){let r=Math.max(t-yc,0);return _o(n-e(r),t-r)}function xc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=vc({keyframes:[f.value,m(f.value)],velocity:bc(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Sc(e,t,n){let r=[],i=n||so.mix||rc,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=po(Array.isArray(t)?t[n]||R:t,a)),r.push(a)}return r}function Cc(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(oo(a===t.length,`Both input and output ranges must be the same length`,`range-length`),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Sc(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=mo(e[r],e[r+1],n);return s[r](i)};return n?t=>l(ro(e[0],e[a-1],t)):l}function wc(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=mo(0,t,r);e.push(G(n,1,i))}}function Tc(e){let t=[0];return wc(t,e.length-1),t}function Ec(e,t){return e.map(e=>e*t)}function Dc(e,t){return e.map(()=>t||Io).splice(0,e.length-1)}function Oc({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Lo(r)?r.map(Vo):Vo(r),a={done:!1,value:t[0]},o=Cc(Ec(n&&n.length===t.length?n:Tc(t),e),t,{ease:Array.isArray(i)?i:Dc(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var kc=e=>e!==null;function Ac(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(kc),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var jc={decay:xc,inertia:xc,tween:Oc,keyframes:Oc,spring:vc};function Mc(e){typeof e.type==`string`&&(e.type=jc[e.type])}var Nc=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},Pc=e=>e/100,Fc=class extends Nc{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==H.now()&&this.tick(H.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Zo.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;Mc(e);let{type:t=Oc,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Oc;process.env.NODE_ENV!==`production`&&s!==Oc&&oo(o.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${o}`,`spring-two-frames`),s!==Oc&&typeof o[0]!=`number`&&(this.mixKeyframes=po(Pc,rc(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=sc(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=ro(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==xc&&(b.value=Ac(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return go(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+go(e)}get time(){return go(this.currentTime)}set time(e){e=z(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return bc(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(H.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=go(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=ic,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(H.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Zo.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function Ic(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Lc=e=>e*180/Math.PI,Rc=e=>Bc(Lc(Math.atan2(e[1],e[0]))),zc={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Rc,rotateZ:Rc,skewX:e=>Lc(Math.atan(e[1])),skewY:e=>Lc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Bc=e=>(e%=360,e<0&&(e+=360),e),Vc=Rc,Hc=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Uc=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Wc={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Hc,scaleY:Uc,scale:e=>(Hc(e)+Uc(e))/2,rotateX:e=>Bc(Lc(Math.atan2(e[6],e[5]))),rotateY:e=>Bc(Lc(Math.atan2(-e[2],e[0]))),rotateZ:Vc,rotate:Vc,skewX:e=>Lc(Math.atan(e[4])),skewY:e=>Lc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Gc(e){return+!!e.includes(`scale`)}function Kc(e,t){if(!e||e===`none`)return Gc(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Wc,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=zc,i=t}if(!i)return Gc(t);let a=r[t],o=i[1].split(`,`).map(Jc);return typeof a==`function`?a(o):o[a]}var qc=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Kc(n,t)};function Jc(e){return parseFloat(e.trim())}var Yc=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Xc=new Set([...Yc,`pathRotation`]),Zc=e=>e===is||e===U,Qc=new Set([`x`,`y`,`z`]),$c=Yc.filter(e=>!Qc.has(e));function el(e){let t=[];return $c.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var tl={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Kc(t,`x`),y:(e,{transform:t})=>Kc(t,`y`)};tl.translateX=tl.x,tl.translateY=tl.y;var nl=new Set,rl=!1,il=!1,al=!1;function ol(){if(il){let e=Array.from(nl).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=el(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}il=!1,rl=!1,nl.forEach(e=>e.complete(al)),nl.clear()}function sl(){nl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(il=!0)})}function cl(){al=!0,sl(),ol(),al=!1}var ll=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(nl.add(this),rl||(rl=!0,B.read(sl),B.resolveKeyframes(ol))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Ic(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),nl.delete(this)}cancel(){this.state===`scheduled`&&(nl.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},ul=e=>e.startsWith(`--`);function dl(e,t,n){ul(t)?e.style.setProperty(t,n):e.style[t]=n}var fl={};function pl(e,t){let n=fo(e);return()=>fl[t]??n()}var ml=pl(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),hl=pl(()=>window.ViewTimeline!==void 0,`viewTimeline`),gl=pl(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),_l=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,vl={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:_l([0,.65,.55,1]),circOut:_l([.55,0,1,.45]),backIn:_l([.31,.01,.66,-.59]),backOut:_l([.33,1.53,.69,.99])};function yl(e,t){if(e)return typeof e==`function`?gl()?ac(e,t):`ease-out`:Ro(e)?_l(e):Array.isArray(e)?e.map(e=>yl(e,t)||vl.easeOut):vl[e]}function bl(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=yl(s,i);Array.isArray(d)&&(u.easing=d),Uo.value&&Zo.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return Uo.value&&p.finished.finally(()=>{Zo.waapi--}),p}function xl(e){return typeof e==`function`&&`applyToOptions`in e}function Sl({type:e,...t}){return xl(e)&&gl()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Cl=class extends Nc{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,oo(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=Sl(e);this.animation=bl(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Ac(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),dl(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return go(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+go(e)}get time(){return go(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=z(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ml()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),R):r(this)}},wl={anticipate:Ao,backInOut:ko,circInOut:No};function Tl(e){return e in wl}function El(e){typeof e.ease==`string`&&Tl(e.ease)&&(e.ease=wl[e.ease])}var Dl=10,Ol=class extends Cl{constructor(e){El(e),Mc(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new Fc({...a,autoplay:!1}),s=Math.max(Dl,H.now()-this.startTime),c=ro(0,Dl,s-Dl),l=o.sample(s).value,{name:u}=this.options;i&&u&&dl(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},kl=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Bs.test(e)||e===`0`)&&!e.startsWith(`url(`));function Al(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function jl(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=kl(i,t),s=kl(a,t);return ao(o===s,`You are trying to animate ${t} from "${i}" to "${a}". "${o?a:i}" is not an animatable value.`,`value-not-animatable`),!o||!s?!1:Al(e)||(n===`spring`||xl(n))&&r}function Ml(e){e.duration=0,e.type=`keyframes`}var Nl=new Set([`opacity`,`clipPath`,`filter`,`transform`]),Pl=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Fl(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Pl.test(e[t]))return!0;return!1}var Il=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Ll=fo(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Rl(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return Ll()&&n&&(Nl.has(n)||Il.has(n)&&Fl(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var zl=40,Bl=class extends Nc{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=H.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||ll;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=H.now();let u=!0;jl(e,i,a,o)||(u=!1,(so.instantAnimations||!s)&&l?.(Ac(e,n,t)),e[0]=e[e.length-1],Ml(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>zl?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Rl(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Ol({...d,element:p})}catch{m=new Fc(d)}else m=new Fc(d);m.finished.then(()=>{this.notifyFinished()}).catch(R),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),cl()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Vl(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Hl=30,Ul=e=>!isNaN(parseFloat(e)),Wl={current:void 0},Gl=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=H.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=H.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Ul(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return process.env.NODE_ENV!==`production`&&yo(!1,`value.onChange(callback) is deprecated. Switch to value.on("change", callback).`),this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new ho);let n=this.events[e].add(t);return e===`change`?()=>{n(),B.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Wl.current&&Wl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=H.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Hl)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Hl);return _o(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Kl(e,t){return new Gl(e,t)}function ql(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Jl(e,t){let n=e?.[t]??e?.default??e;return n===e?n:ql(n,e)}var Yl={type:`spring`,stiffness:500,damping:25,restSpeed:10},Xl=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Zl={type:`keyframes`,duration:.8},Ql={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},$l=(e,{keyframes:t})=>t.length>2?Zl:Xc.has(e)?e.startsWith(`scale`)?Xl(t[1]):Yl:Ql,eu=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function tu(e){for(let t in e)if(!eu.has(t))return!0;return!1}var nu=(e,t,n,r={},i,a)=>o=>{let s=Jl(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=z(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};tu(s)||Object.assign(u,$l(e,u)),u.duration&&=z(u.duration),u.repeatDelay&&=z(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Ml(u),u.delay===0&&(d=!0)),(so.instantAnimations||so.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Ml(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Ac(u.keyframes,s);if(e!==void 0){B.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new Fc(u):new Bl(u)},ru=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function iu(e){let t=ru.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}var au=4;function ou(e,t,n=1){oo(n<=au,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=iu(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return co(e)?parseFloat(e):e}return ts(i)?ou(i,t,n+1):i}function su(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function cu(e,t,n,r){if(typeof t==`function`){let[i,a]=su(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=su(r);t=t(n===void 0?e.custom:n,i,a)}return t}function lu(e,t,n){let r=e.getProps();return cu(r,t,n===void 0?r.custom:n,e)}var uu=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Yc]),du=e=>Array.isArray(e);function fu(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Kl(n))}function pu(e){return du(e)?e[e.length-1]||0:e}function mu(e,t){let{transitionEnd:n={},transition:r={},...i}=lu(e,t)||{};i={...i,...n};for(let t in i)fu(e,t,pu(i[t]))}var q=e=>!!(e&&e.getVelocity);function hu(e){return!!(q(e)&&e.add)}function gu(e,t){let n=e.getValue(`willChange`);if(hu(n))return n.add(t);if(!n&&so.WillChange){let n=new so.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function _u(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var vu=`data-`+_u(`framerAppearId`);function yu(e){return e.props[vu]}function bu({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function xu(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?ql(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&bu(f,t))continue;let o={delay:n,...Jl(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){B.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=yu(e);if(n){let e=window.MotionHandoffAnimation(n,t,B);e!==null&&(o.startTime=e,p=!0)}}gu(e,t);let m=l??e.shouldReduceMotion;r.start(nu(t,r,i,m&&uu.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>B.update(()=>{o&&mu(e,o)});d.length?Promise.all(d).then(t):t()}return d}function Su(e,t,n={}){let r=lu(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(xu(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Cu(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function Cu(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Su(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Vl(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function wu(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Su(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Su(e,t,n);else{let i=typeof t==`function`?lu(e,t,n.custom):t;r=Promise.all(xu(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Tu={test:e=>e===`auto`,parse:e=>e},Eu=e=>t=>t.test(e),Du=[is,U,bs,ys,Ss,xs,Tu],Ou=e=>Du.find(Eu(e));function ku(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||uo(e)}var Au=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function ju(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(cs)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Au.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Mu=/\b([a-z-]*)\(.*?\)/gu,Nu={...Bs,getAnimatableNone:e=>{let t=e.match(Mu);return t?t.map(ju).join(` `):e}},Pu={...Bs,getAnimatableNone:e=>{let t=Bs.parse(e);return Bs.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Fu={...is,transform:Math.round},Iu={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,inset:U,insetBlock:U,insetBlockStart:U,insetBlockEnd:U,insetInline:U,insetInlineStart:U,insetInlineEnd:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,paddingBlock:U,paddingBlockStart:U,paddingBlockEnd:U,paddingInline:U,paddingInlineStart:U,paddingInlineEnd:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,marginBlock:U,marginBlockStart:U,marginBlockEnd:U,marginInline:U,marginInlineStart:U,marginInlineEnd:U,fontSize:U,backgroundPositionX:U,backgroundPositionY:U,rotate:ys,pathRotation:ys,rotateX:ys,rotateY:ys,rotateZ:ys,scale:os,scaleX:os,scaleY:os,scaleZ:os,skew:ys,skewX:ys,skewY:ys,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:as,originX:Cs,originY:Cs,originZ:U,zIndex:Fu,fillOpacity:as,strokeOpacity:as,numOctaves:Fu},Lu={...Iu,color:W,backgroundColor:W,outlineColor:W,fill:W,stroke:W,borderColor:W,borderTopColor:W,borderRightColor:W,borderBottomColor:W,borderLeftColor:W,filter:Nu,WebkitFilter:Nu,mask:Pu,WebkitMask:Pu},Ru=e=>Lu[e],zu=new Set([Nu,Pu]);function Bu(e,t){let n=Ru(e);return zu.has(n)||(n=Bs),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Vu=new Set([`auto`,`none`,`0`]);function Hu(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Vu.has(t)&&Ns(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Bu(n,i)}var Uu=class extends ll{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),ts(r))){let i=ou(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!uu.has(n)||e.length!==2)return;let[r,i]=e,a=Ou(r),o=Ou(i);if(rs(r)!==rs(i)&&tl[n]){this.needsMeasurement=!0;return}if(a!==o)if(Zc(a)&&Zc(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else tl[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||ku(e[t]))&&n.push(t);n.length&&Hu(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tl[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=tl[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function Wu(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Gu=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Ku(e){return lo(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:qu,cancel:Ju}=Ko(queueMicrotask,!1),Yu={x:!1,y:!1};function Xu(){return Yu.x||Yu.y}function Zu(e){return e===`x`||e===`y`?Yu[e]?null:(Yu[e]=!0,()=>{Yu[e]=!1}):Yu.x||Yu.y?null:(Yu.x=Yu.y=!0,()=>{Yu.x=Yu.y=!1})}function Qu(e,t){let n=Wu(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function $u(e){return!(e.pointerType===`touch`||Xu())}function ed(e,t,n={}){let[r,i,a]=Qu(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!$u(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var td=(e,t)=>t?e===t?!0:td(e,t.parentElement):!1,nd=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,rd=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function id(e){return rd.has(e.tagName)||e.isContentEditable===!0}var ad=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function od(e){return ad.has(e.tagName)||e.isContentEditable===!0}var sd=new WeakSet;function cd(e){return t=>{t.key===`Enter`&&e(t)}}function ld(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var ud=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=cd(()=>{if(sd.has(n))return;ld(n,`down`);let e=cd(()=>{ld(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>ld(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function dd(e){return nd(e)&&!Xu()}var fd=new WeakSet;function pd(e,t,n={}){let[r,i,a]=Qu(e,n),o=e=>{let r=e.currentTarget;if(!dd(e)||fd.has(e))return;sd.add(r),n.stopPropagation&&fd.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),sd.has(r)&&sd.delete(r),dd(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||td(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Ku(e)&&(e.addEventListener(`focus`,e=>ud(e,i)),!id(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function md(e){return lo(e)&&`ownerSVGElement`in e}var hd=new WeakMap,gd,_d=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:md(r)&&`getBBox`in r?r.getBBox()[t]:r[n],vd=_d(`inline`,`width`,`offsetWidth`),yd=_d(`block`,`height`,`offsetHeight`);function bd({target:e,borderBoxSize:t}){hd.get(e)?.forEach(n=>{n(e,{get width(){return vd(e,t)},get height(){return yd(e,t)}})})}function xd(e){e.forEach(bd)}function Sd(){typeof ResizeObserver>`u`||(gd=new ResizeObserver(xd))}function Cd(e,t){gd||Sd();let n=Wu(e);return n.forEach(e=>{let n=hd.get(e);n||(n=new Set,hd.set(e,n)),n.add(t),gd?.observe(e)}),()=>{n.forEach(e=>{let n=hd.get(e);n?.delete(t),n?.size||gd?.unobserve(e)})}}var wd=new Set,Td;function Ed(){Td=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};wd.forEach(t=>t(e))},window.addEventListener(`resize`,Td)}function Dd(e){return wd.add(e),Td||Ed(),()=>{wd.delete(e),!wd.size&&typeof Td==`function`&&(window.removeEventListener(`resize`,Td),Td=void 0)}}function Od(e,t){return typeof e==`function`?Dd(e):Cd(e,t)}function kd(e){return md(e)&&e.tagName===`svg`}var Ad=[...Du,W,Bs],jd=e=>Ad.find(Eu(e)),Md=()=>({translate:0,scale:1,origin:0,originPoint:0}),Nd=()=>({x:Md(),y:Md()}),Pd=()=>({min:0,max:0}),J=()=>({x:Pd(),y:Pd()}),Fd=new WeakMap;function Id(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Ld(e){return typeof e==`string`||Array.isArray(e)}var Rd=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],zd=[`initial`,...Rd];function Bd(e){return Id(e.animate)||zd.some(t=>Ld(e[t]))}function Vd(e){return!!(Bd(e)||e.variants)}function Hd(e,t,n){for(let r in t){let i=t[r],a=n[r];if(q(i))e.addValue(r,i);else if(q(a))e.addValue(r,Kl(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Kl(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Ud={current:null},Wd={current:!1},Gd=typeof window<`u`;function Kd(){if(Wd.current=!0,Gd)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Ud.current=e.matches;e.addEventListener(`change`,t),t()}else Ud.current=!1}var qd=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Jd={};function Yd(e){Jd=e}function Xd(){return Jd}var Zd=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ll,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=H.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,B.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Bd(t),this.isVariantNode=Vd(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&q(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Fd.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Wd.current||Kd(),this.shouldReduceMotion=Ud.current),process.env.NODE_ENV!==`production`&&yo(this.shouldReduceMotion!==!0,`You have Reduced Motion enabled on your device. Animations may not appear as expected.`,`reduced-motion-disabled`),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),qo(this.notifyUpdate),qo(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Nl.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Cl({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:z(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Xc.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&B.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Jd){let t=Jd[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):J()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<qd.length;t++){let n=qd[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Hd(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Kl(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(co(n)||uo(n))?n=parseFloat(n):!jd(n)&&Bs.test(t)&&(n=Bu(e,t)),this.setBaseTarget(e,q(n)?n.get():n)),q(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=cu(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!q(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new ho),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){qu.render(this.render)}},Qd=class extends Zd{constructor(){super(...arguments),this.KeyframeResolver=Uu}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;q(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},$d=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function ef({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function tf({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function nf(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function rf(e){return e===void 0||e===1}function af({scale:e,scaleX:t,scaleY:n}){return!rf(e)||!rf(t)||!rf(n)}function of(e){return af(e)||sf(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function sf(e){return cf(e.x)||cf(e.y)}function cf(e){return e&&e!==`0%`}function lf(e,t,n){return n+t*(e-n)}function uf(e,t,n,r,i){return i!==void 0&&(e=lf(e,i,r)),lf(e,n,r)+t}function df(e,t=0,n=1,r,i){e.min=uf(e.min,t,n,r,i),e.max=uf(e.max,t,n,r,i)}function ff(e,{x:t,y:n}){df(e.x,t.translate,t.scale,t.originPoint),df(e.y,n.translate,n.scale,n.originPoint)}var pf=.999999999999,mf=1.0000000000001;function hf(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(gf(e.x,-a.scroll.offset.x),gf(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,ff(e,o)),r&&of(a.latestValues)&&yf(e,a.latestValues,a.layout?.layoutBox))}t.x<mf&&t.x>pf&&(t.x=1),t.y<mf&&t.y>pf&&(t.y=1)}function gf(e,t){e.min+=t,e.max+=t}function _f(e,t,n,r,i=.5){df(e,t,n,G(e.min,e.max,i),r)}function vf(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function yf(e,t,n){let r=n??e;_f(e.x,vf(t.x,r.x),t.scaleX,t.scale,t.originX),_f(e.y,vf(t.y,r.y),t.scaleY,t.scale,t.originY)}function bf(e,t){return ef(nf(e.getBoundingClientRect(),t))}function xf(e,t,n){let r=bf(e,n),{scroll:i}=t;return i&&(gf(r.x,i.offset.x),gf(r.y,i.offset.y)),r}var Sf={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},Cf=Yc.length;function wf(e,t,n){let r=``,i=!0;for(let a=0;a<Cf;a++){let o=Yc[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Gu(s,Iu[o]);if(!c){i=!1;let t=Sf[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Gu(a,Iu.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function Tf(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Xc.has(e)){o=!0;continue}else if($o(e)){i[e]=n;continue}else{let t=Gu(n,Iu[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=wf(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Ef(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Df(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Of={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(U.test(e))e=parseFloat(e);else return e;return`${Df(e,t.target.x)}% ${Df(e,t.target.y)}%`}},kf={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Bs.parse(e);if(i.length>5)return r;let a=Bs.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=G(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},Af={borderRadius:{...Of,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:Of,borderTopRightRadius:Of,borderBottomLeftRadius:Of,borderBottomRightRadius:Of,boxShadow:kf};function jf(e,{layout:t,layoutId:n}){return Xc.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Af[e]||e===`opacity`)}function Mf(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(q(r[t])||i&&q(i[t])||jf(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Nf(e){return window.getComputedStyle(e)}var Pf=class extends Qd{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Ef}readValueFromInstance(e,t){if(Xc.has(t))return this.projection?.isProjecting?Gc(t):qc(e,t);{let n=Nf(e),r=($o(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return bf(e,t)}build(e,t,n){Tf(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Mf(e,t,n)}},Ff={offset:`stroke-dashoffset`,array:`stroke-dasharray`},If={offset:`strokeDashoffset`,array:`strokeDasharray`};function Lf(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Ff:If;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Rf=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function zf(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Tf(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Rf)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Lf(d,i,a,o,!1)}var Bf=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),Vf=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Hf(e,t,n,r){Ef(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Bf.has(n)?n:_u(n),t.attrs[n])}function Uf(e,t,n){let r=Mf(e,t,n);for(let n in e)if(q(e[n])||q(t[n])){let t=Yc.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Wf=class extends Qd{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=J}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Xc.has(t)){let e=Ru(t);return e&&e.default||0}return t=Bf.has(t)?t:_u(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Uf(e,t,n)}build(e,t,n){zf(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Hf(e,t,n,r)}mount(e){this.isSVGTag=Vf(e.tagName),super.mount(e)}},Gf=zd.length;function Kf(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Kf(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Gf;n++){let r=zd[n],i=e.props[r];(Ld(i)||i===!1)&&(t[r]=i)}return t}function qf(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Jf=[...Rd].reverse(),Yf=Rd.length;function Xf(e){return t=>Promise.all(t.map(({animation:t,options:n})=>wu(e,t,n)))}function Zf(e){let t=Xf(e),n=ep(),r=!0,i=!1,a=t=>(n,r)=>{let i=lu(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Kf(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Yf;t++){let p=Jf[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Ld(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Id(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Qf(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=du(t)&&du(n)?!qf(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=lu(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Vl(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=lu(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=ep(),i=!0}}}function Qf(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!qf(t,e):!1}function $f(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ep(){return{animate:$f(!0),whileInView:$f(),whileHover:$f(),whileTap:$f(),whileDrag:$f(),whileFocus:$f(),exit:$f()}}function tp(e,t){e.min=t.min,e.max=t.max}function np(e,t){tp(e.x,t.x),tp(e.y,t.y)}function rp(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var ip=.9999,ap=1.0001,op=-.01,sp=.01;function Y(e){return e.max-e.min}function cp(e,t,n){return Math.abs(e-t)<=n}function lp(e,t,n,r=.5){e.origin=r,e.originPoint=G(t.min,t.max,e.origin),e.scale=Y(n)/Y(t),e.translate=G(n.min,n.max,e.origin)-e.originPoint,(e.scale>=ip&&e.scale<=ap||isNaN(e.scale))&&(e.scale=1),(e.translate>=op&&e.translate<=sp||isNaN(e.translate))&&(e.translate=0)}function up(e,t,n,r){lp(e.x,t.x,n.x,r?r.originX:void 0),lp(e.y,t.y,n.y,r?r.originY:void 0)}function dp(e,t,n,r=0){e.min=(r?G(n.min,n.max,r):n.min)+t.min,e.max=e.min+Y(t)}function fp(e,t,n,r){dp(e.x,t.x,n.x,r?.x),dp(e.y,t.y,n.y,r?.y)}function pp(e,t,n,r=0){let i=r?G(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Y(t)}function mp(e,t,n,r){pp(e.x,t.x,n.x,r?.x),pp(e.y,t.y,n.y,r?.y)}function hp(e,t,n,r,i){return e-=t,e=lf(e,1/n,r),i!==void 0&&(e=lf(e,1/i,r)),e}function gp(e,t=0,n=1,r=.5,i,a=e,o=e){if(bs.test(t)&&(t=parseFloat(t),t=G(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=G(a.min,a.max,r);e===a&&(s-=t),e.min=hp(e.min,t,n,s,i),e.max=hp(e.max,t,n,s,i)}function _p(e,t,[n,r,i],a,o){gp(e,t[n],t[r],t[i],t.scale,a,o)}var vp=[`x`,`scaleX`,`originX`],yp=[`y`,`scaleY`,`originY`];function bp(e,t,n,r){_p(e.x,t,vp,n?n.x:void 0,r?r.x:void 0),_p(e.y,t,yp,n?n.y:void 0,r?r.y:void 0)}function xp(e){return e.translate===0&&e.scale===1}function Sp(e){return xp(e.x)&&xp(e.y)}function Cp(e,t){return e.min===t.min&&e.max===t.max}function wp(e,t){return Cp(e.x,t.x)&&Cp(e.y,t.y)}function Tp(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ep(e,t){return Tp(e.x,t.x)&&Tp(e.y,t.y)}function Dp(e){return Y(e.x)/Y(e.y)}function Op(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function kp(e){return[e(`x`),e(`y`)]}function Ap(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var jp=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],Mp=jp.length,Np=e=>typeof e==`string`?parseFloat(e):e,Pp=e=>typeof e==`number`||U.test(e);function Fp(e,t,n,r,i,a){i?(e.opacity=G(0,n.opacity??1,Lp(r)),e.opacityExit=G(t.opacity??1,0,Rp(r))):a&&(e.opacity=G(t.opacity??1,n.opacity??1,r));for(let i=0;i<Mp;i++){let a=jp[i],o=Ip(t,a),s=Ip(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Pp(o)===Pp(s)?(e[a]=Math.max(G(Np(o),Np(s),r),0),(bs.test(s)||bs.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=G(t.rotate||0,n.rotate||0,r))}function Ip(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Lp=zp(0,.5,Mo),Rp=zp(.5,.95,R);function zp(e,t,n){return r=>r<e?0:r>t?1:n(mo(e,t,r))}function Bp(e,t,n){let r=q(e)?e:Kl(e);return r.start(nu(``,r,t,n)),r.animation}function Vp(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Hp=(e,t)=>e.depth-t.depth,Up=class{constructor(){this.children=[],this.isDirty=!1}add(e){to(this.children,e),this.isDirty=!0}remove(e){no(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Hp),this.isDirty=!1,this.children.forEach(e)}};function Wp(e,t){let n=H.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(qo(r),e(a-t))};return B.setup(r,!0),()=>qo(r)}function Gp(e){return q(e)?e.get():e}var Kp=class{constructor(){this.members=[]}add(e){to(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(no(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(no(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},qp={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Jp={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Yp=[``,`X`,`Y`,`Z`],Xp=1e3,Zp=0;function Qp(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function $p(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=yu(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,B,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&$p(r)}function em({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Zp++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Uo.value&&(Jp.nodes=Jp.calculatedTargetDeltas=Jp.calculatedProjections=0),this.nodes.forEach(rm),this.nodes.forEach(fm),this.nodes.forEach(pm),this.nodes.forEach(im),Uo.addProjectionMetrics&&Uo.addProjectionMetrics(Jp)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Up)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ho),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=md(t)&&!kd(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;B.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Wp(i,250),qp.hasAnimatedSinceResize&&(qp.hasAnimatedSinceResize=!1,this.nodes.forEach(dm)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||bm,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Ep(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Jl(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||dm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),qo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(mm),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&$p(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(sm),this.nodes.forEach(om);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(cm);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(lm),this.nodes.forEach(um),this.nodes.forEach(tm),this.nodes.forEach(nm)):this.nodes.forEach(cm),this.clearAllSnapshots();let e=H.now();V.delta=ro(0,1e3/60,e-V.timestamp),V.timestamp=e,V.isProcessing=!0,Jo.update.process(V),Jo.preRender.process(V),Jo.render.process(V),V.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,qu.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(am),this.sharedNodes.forEach(hm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,B.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){B.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Y(this.snapshot.measuredBox.x)&&!Y(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=J(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Sp(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||of(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),wm(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return J();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Em))){let{scroll:e}=this.root;e&&(gf(t.x,e.offset.x),gf(t.y,e.offset.y))}return t}removeElementScroll(e){let t=J();if(np(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&np(t,e),gf(t.x,i.offset.x),gf(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||J();np(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(gf(r.x,-n.scroll.offset.x),gf(r.y,-n.scroll.offset.y)),of(n.latestValues)&&yf(r,n.latestValues,n.layout?.layoutBox)}return of(this.latestValues)&&yf(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=J();np(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!of(n.latestValues))continue;let r;n.instance&&(af(n.latestValues)&&n.updateSnapshot(),r=J(),np(r,n.measurePageBox())),bp(t,n.latestValues,n.snapshot?.layoutBox,r)}return of(this.latestValues)&&bp(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==V.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=V.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=J(),this.targetWithTransforms=J()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),fp(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):np(this.target,this.layout.layoutBox),ff(this.target,this.targetDelta)):np(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Uo.value&&Jp.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||af(this.parent.latestValues)||sf(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=J(),this.relativeTargetOrigin=J(),mp(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),np(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===V.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;np(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;hf(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=J());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(rp(this.prevProjectionDelta.x,this.projectionDelta.x),rp(this.prevProjectionDelta.y,this.projectionDelta.y)),up(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Op(this.projectionDelta.x,this.prevProjectionDelta.x)||!Op(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Uo.value&&Jp.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Nd(),this.projectionDelta=Nd(),this.projectionDeltaWithTransform=Nd()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=Nd();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=J(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(ym));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=G(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=G(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(gm(o.x,e.x,n),gm(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(mp(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),vm(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&wp(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=J(),np(f,this.relativeTarget)),c&&(this.animationValues=a,Fp(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(qo(this.pendingAnimation),void 0),this.pendingAnimation=B.update(()=>{qp.hasAnimatedSinceResize=!0,Zo.layout++,this.motionValue||=Kl(0),this.motionValue.jump(0,!1),this.currentAnimation=Bp(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Zo.layout--},onComplete:()=>{Zo.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Xp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&Tm(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||J();let t=Y(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Y(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}np(t,n),yf(t,i),up(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Kp),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Qp(`z`,e,r,this.animationValues);for(let t=0;t<Yp.length;t++)Qp(`rotate${Yp[t]}`,e,r,this.animationValues),Qp(`skew${Yp[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Gp(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Gp(t?.pointerEvents)||``),this.hasProjected&&!of(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Ap(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Af){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Af[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Gp(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(om),this.root.sharedNodes.clear()}}}function tm(e){e.updateLayout()}function nm(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)kp(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Y(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;tp(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else Tm(i,t.layoutBox,n)&&kp(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Y(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=Nd();up(o,n,t.layoutBox);let s=Nd();a?up(s,e.applyTransform(r,!0),t.measuredBox):up(s,n,t.layoutBox);let c=!Sp(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=J();mp(s,t.layoutBox,i.layoutBox,o);let c=J();mp(c,n,a.layoutBox,o),Ep(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function rm(e){Uo.value&&Jp.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function im(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function am(e){e.clearSnapshot()}function om(e){e.clearMeasurements()}function sm(e){e.isLayoutDirty=!0,e.updateLayout()}function cm(e){e.isLayoutDirty=!1}function lm(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function um(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function dm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function fm(e){e.resolveTargetDelta()}function pm(e){e.calcProjection()}function mm(e){e.resetSkewAndRotation()}function hm(e){e.removeLeadSnapshot()}function gm(e,t,n){e.translate=G(t.translate,0,n),e.scale=G(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function _m(e,t,n,r){e.min=G(t.min,n.min,r),e.max=G(t.max,n.max,r)}function vm(e,t,n,r){_m(e.x,t.x,n.x,r),_m(e.y,t.y,n.y,r)}function ym(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var bm={duration:.45,ease:[.4,0,.1,1]},xm=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Sm=xm(`applewebkit/`)&&!xm(`chrome/`)?Math.round:R;function Cm(e){e.min=Sm(e.min),e.max=Sm(e.max)}function wm(e){Cm(e.x),Cm(e.y)}function Tm(e,t,n){return e===`position`||e===`preserve-aspect`&&!cp(Dp(t),Dp(n),.2)}function Em(e){return e!==e.root&&e.scroll?.wasRoot}var Dm=em({attachResizeListener:(e,t)=>Vp(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Om={current:void 0},km=em({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Om.current){let e=new Dm({});e.mount(window),e.setOptions({layoutScroll:!0}),Om.current=e}return Om.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),Am=(0,n.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function jm(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Mm(...e){return t=>{let n=!1,r=e.map(e=>{let r=jm(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():jm(e[t],null)}}}}function Nm(...e){return n.useCallback(Mm(...e),e)}var Pm=class extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Ku(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Ku(e)&&e.offsetWidth||0,r=Ku(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Fm({children:e,isPresent:t,anchorX:r,anchorY:i,root:a,pop:o}){let s=(0,n.useId)(),c=(0,n.useRef)(null),l=(0,n.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:u}=(0,n.useContext)(Am),d=Nm(c,e.props?.ref??e?.ref);return(0,n.useInsertionEffect)(()=>{let{width:e,height:n,top:d,left:f,right:p,bottom:m,direction:h}=l.current;if(t||o===!1||!c.current||!e||!n)return;let g=h===`rtl`,_=r===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=i===`bottom`?`bottom: ${m}`:`top: ${d}`;c.current.dataset.motionPopId=s;let y=document.createElement(`style`);u&&(y.nonce=u);let b=a??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
44
+ [data-motion-pop-id="${s}"] {
45
+ position: absolute !important;
46
+ width: ${e}px !important;
47
+ height: ${n}px !important;
48
+ ${_}px !important;
49
+ ${v}px !important;
50
+ }
51
+ `),()=>{c.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,P.jsx)(Pm,{isPresent:t,childRef:c,sizeRef:l,pop:o,children:o===!1?e:n.cloneElement(e,{ref:d})})}var Im=({children:e,initial:t,isPresent:r,onExitComplete:i,custom:a,presenceAffectsLayout:o,mode:s,anchorX:c,anchorY:l,root:u})=>{let d=Qa(Lm),f=(0,n.useId)(),p=!0,m=(0,n.useMemo)(()=>(p=!1,{id:f,initial:t,isPresent:r,custom:a,onExitComplete:e=>{d.set(e,!0);for(let e of d.values())if(!e)return;i&&i()},register:e=>(d.set(e,!1),()=>d.delete(e))}),[r,d,i]);return o&&p&&(m={...m}),(0,n.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[r]),n.useEffect(()=>{!r&&!d.size&&i&&i()},[r]),e=(0,P.jsx)(Fm,{pop:s===`popLayout`,isPresent:r,anchorX:c,anchorY:l,root:u,children:e}),(0,P.jsx)(eo.Provider,{value:m,children:e})};function Lm(){return new Map}function Rm(e=!0){let t=(0,n.useContext)(eo);if(t===null)return[!0,null];let{isPresent:r,onExitComplete:i,register:a}=t,o=(0,n.useId)();(0,n.useEffect)(()=>{if(e)return a(o)},[e]);let s=(0,n.useCallback)(()=>e&&i&&i(o),[o,i,e]);return!r&&i?[!1,s]:[!0]}var zm=e=>e.key||``;function Bm(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}var Vm=({children:e,custom:t,initial:r=!0,onExitComplete:i,presenceAffectsLayout:a=!0,mode:o=`sync`,propagate:s=!1,anchorX:c=`left`,anchorY:l=`top`,root:u})=>{let[d,f]=Rm(s),p=(0,n.useMemo)(()=>Bm(e),[e]),m=s&&!d?[]:p.map(zm),h=(0,n.useRef)(!0),g=(0,n.useRef)(p),_=Qa(()=>new Map),v=(0,n.useRef)(new Set),[y,b]=(0,n.useState)(p),[x,S]=(0,n.useState)(p);$a(()=>{h.current=!1,g.current=p;for(let e=0;e<x.length;e++){let t=zm(x[e]);m.includes(t)?(_.delete(t),v.current.delete(t)):_.get(t)!==!0&&_.set(t,!1)}},[x,m.length,m.join(`-`)]);let C=[];if(p!==y){let e=[...p];for(let t=0;t<x.length;t++){let n=x[t],r=zm(n);m.includes(r)||(e.splice(t,0,n),C.push(n))}return o===`wait`&&C.length&&(e=C),S(Bm(e)),b(p),null}process.env.NODE_ENV!==`production`&&o===`wait`&&x.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);let{forceRender:w}=(0,n.useContext)(Za);return(0,P.jsx)(P.Fragment,{children:x.map(e=>{let n=zm(e),y=s&&!d?!1:p===x||m.includes(n);return(0,P.jsx)(Im,{isPresent:y,initial:!h.current||r?void 0:!1,custom:t,presenceAffectsLayout:a,mode:o,root:u,onExitComplete:y?void 0:()=>{if(v.current.has(n))return;if(_.has(n))v.current.add(n),_.set(n,!0);else return;let e=!0;_.forEach(t=>{t||(e=!1)}),e&&(w?.(),S(g.current),s&&f?.(),i&&i())},anchorX:c,anchorY:l,children:e},n)})})},Hm=(0,n.createContext)({strict:!1}),Um={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Wm=!1;function Gm(){if(Wm)return;let e={};for(let t in Um)e[t]={isEnabled:e=>Um[t].some(t=>!!e[t])};Yd(e),Wm=!0}function Km(){return Gm(),Xd()}function qm(e){let t=Km();for(let n in e)t[n]={...t[n],...e[n]};Yd(t)}var Jm=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function Ym(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Jm.has(e)}var Xm=e.i({default:()=>Zm}),Zm,Qm=e.r((()=>{throw Zm={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),$m=e=>!Ym(e);function eh(e){typeof e==`function`&&($m=t=>t.startsWith(`on`)?!Ym(t):e(t))}try{eh((Qm(),e.a(Xm)).default)}catch{}function th(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||q(e[i])||($m(i)||n===!0&&Ym(i)||!t&&!Ym(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var nh=(0,n.createContext)({});function rh(e,t){if(Bd(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Ld(t)?t:void 0,animate:Ld(n)?n:void 0}}return e.inherit===!1?{}:t}function ih(e){let{initial:t,animate:r}=rh(e,(0,n.useContext)(nh));return(0,n.useMemo)(()=>({initial:t,animate:r}),[ah(t),ah(r)])}function ah(e){return Array.isArray(e)?e.join(` `):e}var oh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function sh(e,t,n){for(let r in t)!q(t[r])&&!jf(r,n)&&(e[r]=t[r])}function ch({transformTemplate:e},t){return(0,n.useMemo)(()=>{let n=oh();return Tf(n,t,e),Object.assign({},n.vars,n.style)},[t])}function lh(e,t){let n=e.style||{},r={};return sh(r,n,e),Object.assign(r,ch(e,t)),r}function uh(e,t){let n={},r=lh(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var dh=()=>({...oh(),attrs:{}});function fh(e,t,r,i){let a=(0,n.useMemo)(()=>{let n=dh();return zf(n,t,Vf(i),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};sh(t,e.style,e),a.style={...t,...a.style}}return a}var ph=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function mh(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(ph.indexOf(e)>-1||/[A-Z]/u.test(e))}function hh(e,t,r,{latestValues:i},a,o=!1,s){let c=(s??mh(e)?fh:uh)(t,i,a,e),l=th(t,typeof e==`string`,o),u=e===n.Fragment?{}:{...l,...c,ref:r},{children:d}=t,f=(0,n.useMemo)(()=>q(d)?d.get():d,[d]);return(0,n.createElement)(e,{...u,children:f})}function gh({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:_h(n,r,i,e),renderState:t()}}function _h(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Gp(a[e]);let{initial:o,animate:s}=e,c=Bd(e),l=Vd(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Id(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=cu(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var vh=e=>(t,r)=>{let i=(0,n.useContext)(nh),a=(0,n.useContext)(eo),o=()=>gh(e,t,i,a);return r?o():Qa(o)},yh=vh({scrapeMotionValuesFromProps:Mf,createRenderState:oh}),bh=vh({scrapeMotionValuesFromProps:Uf,createRenderState:dh}),xh=Symbol.for(`motionComponentSymbol`);function Sh(e,t,r){let i=(0,n.useRef)(r);(0,n.useInsertionEffect)(()=>{i.current=r});let a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let r=i.current;if(typeof r==`function`)if(n){let e=r(n);typeof e==`function`&&(a.current=e)}else a.current?(a.current(),a.current=null):r(n);else r&&(r.current=n)},[t])}var Ch=(0,n.createContext)({});function wh(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function Th(e,t,r,i,a,o){let{visualElement:s}=(0,n.useContext)(nh),c=(0,n.useContext)(Hm),l=(0,n.useContext)(eo),u=(0,n.useContext)(Am),d=u.reducedMotion,f=u.skipAnimations,p=(0,n.useRef)(null),m=(0,n.useRef)(!1);i||=c.renderer,!p.current&&i&&(p.current=i(e,{visualState:t,parent:s,props:r,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:o}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let h=p.current,g=(0,n.useContext)(Ch);h&&!h.projection&&a&&(h.type===`html`||h.type===`svg`)&&Eh(p.current,r,a,g);let _=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{h&&_.current&&h.update(r,l)});let v=r[vu],y=(0,n.useRef)(!!v&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return $a(()=>{m.current=!0,h&&(_.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),y.current&&h.animationState&&h.animationState.animateChanges())}),(0,n.useEffect)(()=>{h&&(!y.current&&h.animationState&&h.animationState.animateChanges(),y.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),!1),h.enteringChildren=void 0)}),h}function Eh(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:Dh(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&wh(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function Dh(e){if(e)return e.options.allowProjection===!1?Dh(e.parent):e.projection}function Oh(e,{forwardMotionProps:t=!1,type:r}={},i,a){i&&qm(i);let o=r?r===`svg`:mh(e),s=o?bh:yh;function c(r,c){let l,u={...(0,n.useContext)(Am),...r,layoutId:kh(r)},{isStatic:d}=u,f=ih(r),p=s(r,d);if(!d&&typeof window<`u`){Ah(u,i);let t=jh(u);l=t.MeasureLayout,f.visualElement=Th(e,p,u,a,t.ProjectionNode,o)}return(0,P.jsxs)(nh.Provider,{value:f,children:[l&&f.visualElement?(0,P.jsx)(l,{visualElement:f.visualElement,...u}):null,hh(e,r,Sh(p,f.visualElement,c),p,d,t,o)]})}c.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let l=(0,n.forwardRef)(c);return l[xh]=e,l}function kh({layoutId:e}){let t=(0,n.useContext)(Za).id;return t&&e!==void 0?t+`-`+e:e}function Ah(e,t){let r=(0,n.useContext)(Hm).strict;if(process.env.NODE_ENV!==`production`&&t&&r){let t="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?ao(!1,t,`lazy-strict-mode`):oo(!1,t,`lazy-strict-mode`)}}function jh(e){let{drag:t,layout:n}=Km();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Mh(e,t){if(typeof Proxy>`u`)return Oh;let n=new Map,r=(n,r)=>Oh(n,r,e,t);return new Proxy((e,t)=>(process.env.NODE_ENV!==`production`&&yo(!1,`motion() is deprecated. Use motion.create() instead.`),r(e,t)),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,Oh(a,void 0,e,t)),n.get(a))})}var Nh=(e,t)=>t.isSVG??mh(e)?new Wf(t):new Pf(t,{allowProjection:e!==n.Fragment}),Ph=class extends $d{constructor(e){super(e),e.animationState||=Zf(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Id(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},Fh=0,Ih={animation:{Feature:Ph},exit:{Feature:class extends $d{constructor(){super(...arguments),this.id=Fh++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=lu(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function Lh(e){return{point:{x:e.pageX,y:e.pageY}}}var Rh=e=>t=>nd(t)&&e(t,Lh(t));function zh(e,t,n,r){return Vp(e,t,Rh(n),r)}var Bh=({current:e})=>e?e.ownerDocument.defaultView:null,Vh=(e,t)=>Math.abs(e-t);function Hh(e,t){let n=Vh(e.x,t.x),r=Vh(e.y,t.y);return Math.sqrt(n**2+r**2)}var Uh=new Set([`auto`,`scroll`]),Wh=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Gh(this.lastRawMoveEventInfo,this.transformPagePoint));let e=qh(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Hh(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=V;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=Gh(t,this.transformPagePoint),B.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=qh(e.type===`pointercancel`?this.lastMoveEventInfo:Gh(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!nd(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=Gh(Lh(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=V;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,qh(s,this.history)),this.removeListeners=po(zh(this.contextWindow,`pointermove`,this.handlePointerMove),zh(this.contextWindow,`pointerup`,this.handlePointerUp),zh(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(Uh.has(e.overflowX)||Uh.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),B.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),qo(this.updatePoint)}};function Gh(e,t){return t?{point:t(e.point)}:e}function Kh(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qh({point:e},t){return{point:e,delta:Kh(e,Yh(t)),offset:Kh(e,Jh(t)),velocity:Xh(t,.1)}}function Jh(e){return e[0]}function Yh(e){return e[e.length-1]}function Xh(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Yh(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>z(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>z(t)*2&&(r=e[1]);let a=go(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Zh(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?G(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?G(n,e,r.max):Math.min(e,n)),e}function Qh(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function $h(e,{top:t,left:n,bottom:r,right:i}){return{x:Qh(e.x,n,i),y:Qh(e.y,t,r)}}function eg(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function tg(e,t){return{x:eg(e.x,t.x),y:eg(e.y,t.y)}}function ng(e,t){let n=.5,r=Y(e),i=Y(t);return i>r?n=mo(t.min,t.max-r,e.min):r>i&&(n=mo(e.min,e.max-i,t.min)),ro(0,1,n)}function rg(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var ig=.35;function ag(e=ig){return e===!1?e=0:e===!0&&(e=ig),{x:og(e,`left`,`right`),y:og(e,`top`,`bottom`)}}function og(e,t,n){return{min:sg(e,t),max:sg(e,n)}}function sg(e,t){return typeof e==`number`?e:e[t]||0}var cg=new WeakMap,lg=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=J(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(Lh(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Zu(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),kp(e=>{let t=this.getAxisMotionValue(e).get()||0;if(bs.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Y(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&B.update(()=>i(e,t),!1,!0),gu(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=pg(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&B.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new Wh(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:Bh(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&B.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!fg(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Zh(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&wh(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=$h(n.layoutBox,e):this.constraints=!1,this.elastic=ag(t),r!==this.constraints&&!wh(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&kp(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=rg(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!wh(e))return!1;let n=e.current;oo(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.",`drag-constraints-ref`);let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=xf(n,r.root,this.visualElement.getTransformPagePoint()),a=tg(r.layout.layoutBox,i);if(t){let e=t(tf(a));this.hasMutatedConstraints=!!e,e&&(a=ef(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=kp(o=>{if(!fg(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return gu(this.visualElement,e),n.start(nu(e,n,0,t,this.visualElement,!1))}stopAnimation(){kp(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){kp(t=>{let{drag:n}=this.getProps();if(!fg(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-G(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!wh(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};kp(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=ng({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),kp(t=>{if(!fg(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(G(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;cg.set(this.visualElement,this);let e=this.visualElement.current,t=zh(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&od(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();wh(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=dg(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),B.read(r);let o=Vp(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(kp(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=ig,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function ug(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function dg(e,t,n){let r=Od(e,ug(n)),i=Od(t,ug(n));return()=>{r(),i()}}function fg(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function pg(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var mg=class extends $d{constructor(e){super(e),this.removeGroupControls=R,this.removeListeners=R,this.controls=new lg(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||R}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},hg=e=>(t,n)=>{e&&B.update(()=>e(t,n),!1,!0)},gg=class extends $d{constructor(){super(...arguments),this.removePointerDownListener=R}onPointerDown(e){this.session=new Wh(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Bh(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:hg(e),onStart:hg(t),onMove:hg(n),onEnd:(e,t)=>{delete this.session,r&&B.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=zh(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},_g=!1,vg=class extends n.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),_g&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),qp.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),_g=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||B.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),qu.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;_g=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function yg(e){let[t,r]=Rm(),i=(0,n.useContext)(Za);return(0,P.jsx)(vg,{...e,layoutGroup:i,switchLayoutGroup:(0,n.useContext)(Ch),isPresent:t,safeToRemove:r})}var bg={pan:{Feature:gg},drag:{Feature:mg,ProjectionNode:km,MeasureLayout:yg}};function xg(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&B.postRender(()=>i(t,Lh(t)))}var Sg=class extends $d{mount(){let{current:e}=this.node;e&&(this.unmount=ed(e,(e,t)=>(xg(this.node,t,`Start`),e=>xg(this.node,e,`End`))))}unmount(){}},Cg=class extends $d{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=po(Vp(this.node.current,`focus`,()=>this.onFocus()),Vp(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function wg(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&B.postRender(()=>i(t,Lh(t)))}var Tg=class extends $d{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=pd(e,(e,t)=>(wg(this.node,t,`Start`),(e,{success:t})=>wg(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},Eg=new WeakMap,Dg=new WeakMap,Og=e=>{let t=Eg.get(e.target);t&&t(e)},kg=e=>{e.forEach(Og)};function Ag({root:e,...t}){let n=e||document;Dg.has(n)||Dg.set(n,{});let r=Dg.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(kg,{root:e,...t})),r[i]}function jg(e,t,n){let r=Ag(t);return Eg.set(e,n),r.observe(e),()=>{Eg.delete(e),r.unobserve(e)}}var Mg={some:0,all:1},Ng=class extends $d{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:Mg[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=jg(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Pg(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Pg({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Fg={inView:{Feature:Ng},tap:{Feature:Tg},focus:{Feature:Cg},hover:{Feature:Sg}},Ig={layout:{ProjectionNode:km,MeasureLayout:yg}},Lg=Mh({...Ih,...Fg,...bg,...Ig},Nh),Rg={hidden:{opacity:0,y:8},visible:{opacity:1,y:0,transition:{duration:.18,ease:`easeOut`}},exit:{opacity:0,y:4,transition:{duration:.12,ease:`easeIn`}}},zg={hidden:{opacity:0,scale:.96},visible:{opacity:1,scale:1,transition:{duration:.16,ease:`easeOut`}},exit:{opacity:0,scale:.97,transition:{duration:.12,ease:`easeIn`}}},Bg={hidden:{opacity:0},visible:{opacity:1,transition:{duration:.16,ease:`easeOut`}},exit:{opacity:0,transition:{duration:.12,ease:`easeIn`}}},Vg={overlay:`_overlay_1u32w_1`,positioner:`_positioner_1u32w_11`,positionerMedium:`_positionerMedium_1u32w_25`,positionerWide:`_positionerWide_1u32w_30`,overlayHi:`_overlayHi_1u32w_35`,positionerHi:`_positionerHi_1u32w_39`,content:`_content_1u32w_9`,header:`_header_1u32w_62`,heading:`_heading_1u32w_70`,title:`_title_1u32w_76`,description:`_description_1u32w_83`,body:`_body_1u32w_89`,footer:`_footer_1u32w_98`},Hg=Lg.create(Pa),Ug=({open:e,onOpenChange:t,title:n,description:r,children:i,footer:a,elevated:o=!1,size:s=`default`})=>{let c=Xa();return(0,P.jsx)(Ea,{open:e,onOpenChange:t,modal:c===void 0,children:(0,P.jsx)(Vm,{children:e?(0,P.jsxs)(Ma,{forceMount:!0,container:c,children:[(0,P.jsx)(Hg,{className:N(Vg.overlay,o&&Vg.overlayHi),variants:Bg,initial:`hidden`,animate:`visible`,exit:`exit`}),(0,P.jsx)(Ra,{className:N(Vg.positioner,s===`medium`&&Vg.positionerMedium,s===`wide`&&Vg.positionerWide,o&&Vg.positionerHi),forceMount:!0,children:(0,P.jsxs)(Lg.div,{className:Vg.content,variants:zg,initial:`hidden`,animate:`visible`,exit:`exit`,children:[(0,P.jsxs)(`header`,{className:Vg.header,children:[(0,P.jsxs)(`div`,{className:Vg.heading,children:[(0,P.jsx)(Ua,{className:Vg.title,children:n}),r===void 0?null:(0,P.jsx)(Ga,{className:Vg.description,children:r})]}),(0,P.jsx)(qa,{asChild:!0,children:(0,P.jsx)(zn,{label:`Close dialog`,children:(0,P.jsx)(Wg,{})})})]}),(0,P.jsx)(`div`,{className:Vg.body,children:i}),a===void 0?null:(0,P.jsx)(`footer`,{className:Vg.footer,children:a})]})})]}):null})})},Wg=()=>(0,P.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,"aria-hidden":`true`,children:(0,P.jsx)(`path`,{d:`M4 4l8 8M12 4l-8 8`})}),Gg=({open:e,title:t,message:n,confirmLabel:r=`Delete`,onConfirm:i,onCancel:a,elevated:o=!1})=>(0,P.jsx)(Ug,{open:e,elevated:o,onOpenChange:e=>{e||a()},title:t,footer:(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(jn,{variant:`ghost`,onClick:a,children:`Cancel`}),(0,P.jsx)(jn,{variant:`danger`,onClick:i,children:r})]}),children:n}),Kg={overlay:`_overlay_1rzp2_1`,drawerFadeIn:`_drawerFadeIn_1rzp2_1`,drawerFadeOut:`_drawerFadeOut_1rzp2_1`,panelLeft:`_panelLeft_1rzp2_17`,panelRight:`_panelRight_1rzp2_18`,body:`_body_1rzp2_32`,footer:`_footer_1rzp2_38`,panelWide:`_panelWide_1rzp2_52`,drawerSlideInLeft:`_drawerSlideInLeft_1rzp2_1`,drawerSlideOutLeft:`_drawerSlideOutLeft_1rzp2_1`,drawerSlideInRight:`_drawerSlideInRight_1rzp2_1`,drawerSlideOutRight:`_drawerSlideOutRight_1rzp2_1`,srOnly:`_srOnly_1rzp2_138`},qg=({open:e,onOpenChange:t,title:n,side:r=`left`,size:i=`default`,children:a,footer:o})=>{let s=Xa();return(0,P.jsx)(Ea,{open:e,onOpenChange:t,modal:s===void 0,children:(0,P.jsxs)(Ma,{container:s,children:[(0,P.jsx)(Pa,{className:Kg.overlay}),(0,P.jsxs)(Ra,{className:N(r===`left`?Kg.panelLeft:Kg.panelRight,i===`wide`&&Kg.panelWide),children:[(0,P.jsx)(Ua,{className:Kg.srOnly,children:n}),(0,P.jsx)(`div`,{className:Kg.body,children:a}),o!==void 0&&(0,P.jsx)(`div`,{className:Kg.footer,children:o})]})]})})};function Jg(e){let t=e+`CollectionProvider`,[r,i]=Hn(t),[a,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,i=n.useRef(null),o=n.useRef(new Map).current;return(0,P.jsx)(a,{scope:t,itemMap:o,collectionRef:i,children:r})};s.displayName=t;let c=e+`CollectionSlot`,l=Qn(c),u=n.forwardRef((e,t)=>{let{scope:n,children:r}=e;return(0,P.jsx)(l,{ref:I(t,o(c,n).collectionRef),children:r})});u.displayName=c;let d=e+`CollectionItemSlot`,f=`data-radix-collection-item`,p=Qn(d),m=n.forwardRef((e,t)=>{let{scope:r,children:i,...a}=e,s=n.useRef(null),c=I(t,s),l=o(d,r);return n.useEffect(()=>(l.itemMap.set(s,{ref:s,...a}),()=>void l.itemMap.delete(s))),(0,P.jsx)(p,{[f]:``,ref:c,children:i})});m.displayName=d;function h(t){let r=o(e+`CollectionConsumer`,t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])}return[{Provider:s,Slot:u,ItemSlot:m},h,i]}var Yg=n.createContext(void 0);function Xg(e){let t=n.useContext(Yg);return e||t||`ltr`}var Zg=[`top`,`right`,`bottom`,`left`],Qg=Math.min,$g=Math.max,e_=Math.round,t_=Math.floor,n_=e=>({x:e,y:e}),r_={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function i_(e,t,n){return $g(e,Qg(t,n))}function a_(e,t){return typeof e==`function`?e(t):e}function o_(e){return e.split(`-`)[0]}function s_(e){return e.split(`-`)[1]}function c_(e){return e===`x`?`y`:`x`}function l_(e){return e===`y`?`height`:`width`}function u_(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function d_(e){return c_(u_(e))}function f_(e,t,n){n===void 0&&(n=!1);let r=s_(e),i=d_(e),a=l_(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=x_(o)),[o,x_(o)]}function p_(e){let t=x_(e);return[m_(e),t,m_(t)]}function m_(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var h_=[`left`,`right`],g_=[`right`,`left`],__=[`top`,`bottom`],v_=[`bottom`,`top`];function y_(e,t,n){switch(e){case`top`:case`bottom`:return n?t?g_:h_:t?h_:g_;case`left`:case`right`:return t?__:v_;default:return[]}}function b_(e,t,n,r){let i=s_(e),a=y_(o_(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(m_)))),a}function x_(e){let t=o_(e);return r_[t]+e.slice(t.length)}function S_(e){return{top:0,right:0,bottom:0,left:0,...e}}function C_(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:S_(e)}function w_(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function T_(e,t,n){let{reference:r,floating:i}=e,a=u_(t),o=d_(t),s=l_(o),c=o_(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(s_(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function E_(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=a_(t,e),p=C_(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=w_(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=w_(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var D_=50,O_=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:E_},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=T_(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<D_&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=T_(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},k_=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=a_(e,t)||{};if(l==null)return{};let d=C_(u),f={x:n,y:r},p=d_(i),m=l_(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Qg(d[_],T),D=Qg(d[v],T),ee=E,te=C-h[m]-D,O=C/2-h[m]/2+w,k=i_(ee,O,te),ne=!c.arrow&&s_(i)!=null&&O!==k&&a.reference[m]/2-(O<ee?E:D)-h[m]/2<0,re=ne?O<ee?O-ee:O-te:0;return{[p]:f[p]+re,data:{[p]:k,centerOffset:O-k-re,...ne&&{alignmentOffset:re}},reset:ne}}}),A_=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=a_(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=o_(r),_=u_(o),v=o_(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[x_(o)]:p_(o)),x=p!==`none`;!d&&x&&b.push(...b_(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=f_(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==u_(t))||T.every(e=>u_(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=u_(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function j_(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function M_(e){return Zg.some(t=>e[t]>=0)}var N_=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=a_(e,t);switch(i){case`referenceHidden`:{let e=j_(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:M_(e)}}}case`escaped`:{let e=j_(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:M_(e)}}}default:return{}}}}},P_=new Set([`left`,`top`]);async function F_(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=o_(n),s=s_(n),c=u_(n)===`y`,l=P_.has(o)?-1:1,u=a&&c?-1:1,d=a_(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var I_=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await F_(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},L_=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=a_(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=u_(o_(i)),p=c_(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=i_(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=i_(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},R_=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=a_(e,t),u={x:n,y:r},d=u_(i),f=c_(d),p=u[f],m=u[d],h=a_(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=P_.has(o_(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},z_=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=a_(e,t),u=await o.detectOverflow(t,l),d=o_(i),f=s_(i),p=u_(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=Qg(h-u[g],v),x=Qg(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=$g(u.left,0),t=$g(u.right,0),n=$g(u.top,0),r=$g(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:$g(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:$g(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function B_(){return typeof window<`u`}function V_(e){return W_(e)?(e.nodeName||``).toLowerCase():`#document`}function H_(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function U_(e){return((W_(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function W_(e){return B_()?e instanceof Node||e instanceof H_(e).Node:!1}function G_(e){return B_()?e instanceof Element||e instanceof H_(e).Element:!1}function K_(e){return B_()?e instanceof HTMLElement||e instanceof H_(e).HTMLElement:!1}function q_(e){return!B_()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof H_(e).ShadowRoot}function J_(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=av(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Y_(e){return/^(table|td|th)$/.test(V_(e))}function X_(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Z_=/transform|translate|scale|rotate|perspective|filter/,Q_=/paint|layout|strict|content/,$_=e=>!!e&&e!==`none`,ev;function tv(e){let t=G_(e)?av(e):e;return $_(t.transform)||$_(t.translate)||$_(t.scale)||$_(t.rotate)||$_(t.perspective)||!rv()&&($_(t.backdropFilter)||$_(t.filter))||Z_.test(t.willChange||``)||Q_.test(t.contain||``)}function nv(e){let t=sv(e);for(;K_(t)&&!iv(t);){if(tv(t))return t;if(X_(t))return null;t=sv(t)}return null}function rv(){return ev??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),ev}function iv(e){return/^(html|body|#document)$/.test(V_(e))}function av(e){return H_(e).getComputedStyle(e)}function ov(e){return G_(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function sv(e){if(V_(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||q_(e)&&e.host||U_(e);return q_(t)?t.host:t}function cv(e){let t=sv(e);return iv(t)?e.ownerDocument?e.ownerDocument.body:e.body:K_(t)&&J_(t)?t:cv(t)}function lv(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=cv(e),i=r===e.ownerDocument?.body,a=H_(r);if(i){let e=uv(a);return t.concat(a,a.visualViewport||[],J_(r)?r:[],e&&n?lv(e):[])}else return t.concat(r,lv(r,[],n))}function uv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function dv(e){let t=av(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=K_(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=e_(n)!==a||e_(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function fv(e){return G_(e)?e:e.contextElement}function pv(e){let t=fv(e);if(!K_(t))return n_(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=dv(t),o=(a?e_(n.width):n.width)/r,s=(a?e_(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var mv=n_(0);function hv(e){let t=H_(e);return!rv()||!t.visualViewport?mv:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function gv(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==H_(e)?!1:t}function _v(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=fv(e),o=n_(1);t&&(r?G_(r)&&(o=pv(r)):o=pv(e));let s=gv(a,n,r)?hv(a):n_(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=H_(a),t=r&&G_(r)?H_(r):r,n=e,i=uv(n);for(;i&&r&&t!==n;){let e=pv(i),t=i.getBoundingClientRect(),r=av(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=H_(i),i=uv(n)}}return w_({width:u,height:d,x:c,y:l})}function vv(e,t){let n=ov(e).scrollLeft;return t?t.left+n:_v(U_(e)).left+n}function yv(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-vv(e,n),y:n.top+t.scrollTop}}function bv(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=U_(r),s=t?X_(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=n_(1),u=n_(0),d=K_(r);if((d||!d&&!a)&&((V_(r)!==`body`||J_(o))&&(c=ov(r)),d)){let e=_v(r);l=pv(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?yv(o,c):n_(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function xv(e){return Array.from(e.getClientRects())}function Sv(e){let t=U_(e),n=ov(e),r=e.ownerDocument.body,i=$g(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=$g(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+vv(e),s=-n.scrollTop;return av(r).direction===`rtl`&&(o+=$g(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Cv=25;function wv(e,t){let n=H_(e),r=U_(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=rv();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=vv(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=Cv&&(a-=o)}else l<=Cv&&(a+=l);return{width:a,height:o,x:s,y:c}}function Tv(e,t){let n=_v(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=K_(e)?pv(e):n_(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Ev(e,t,n){let r;if(t===`viewport`)r=wv(e,n);else if(t===`document`)r=Sv(U_(e));else if(G_(t))r=Tv(t,n);else{let n=hv(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return w_(r)}function Dv(e,t){let n=sv(e);return n===t||!G_(n)||iv(n)?!1:av(n).position===`fixed`||Dv(n,t)}function Ov(e,t){let n=t.get(e);if(n)return n;let r=lv(e,[],!1).filter(e=>G_(e)&&V_(e)!==`body`),i=null,a=av(e).position===`fixed`,o=a?sv(e):e;for(;G_(o)&&!iv(o);){let t=av(o),n=tv(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||J_(o)&&!n&&Dv(e,o))?r=r.filter(e=>e!==o):i=t,o=sv(o)}return t.set(e,r),r}function kv(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?X_(t)?[]:Ov(t,this._c):[].concat(n),r],o=Ev(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Ev(t,a[e],i);s=$g(n.top,s),c=Qg(n.right,c),l=Qg(n.bottom,l),u=$g(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Av(e){let{width:t,height:n}=dv(e);return{width:t,height:n}}function jv(e,t,n){let r=K_(t),i=U_(t),a=n===`fixed`,o=_v(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=n_(0);function l(){c.x=vv(i)}if(r||!r&&!a)if((V_(t)!==`body`||J_(i))&&(s=ov(t)),r){let e=_v(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?yv(i,s):n_(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function Mv(e){return av(e).position===`static`}function Nv(e,t){if(!K_(e)||av(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return U_(e)===n&&(n=n.ownerDocument.body),n}function Pv(e,t){let n=H_(e);if(X_(e))return n;if(!K_(e)){let t=sv(e);for(;t&&!iv(t);){if(G_(t)&&!Mv(t))return t;t=sv(t)}return n}let r=Nv(e,t);for(;r&&Y_(r)&&Mv(r);)r=Nv(r,t);return r&&iv(r)&&Mv(r)&&!tv(r)?n:r||nv(e)||n}var Fv=async function(e){let t=this.getOffsetParent||Pv,n=this.getDimensions,r=await n(e.floating);return{reference:jv(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Iv(e){return av(e).direction===`rtl`}var Lv={convertOffsetParentRelativeRectToViewportRelativeRect:bv,getDocumentElement:U_,getClippingRect:kv,getOffsetParent:Pv,getElementRects:Fv,getClientRects:xv,getDimensions:Av,getScale:pv,isElement:G_,isRTL:Iv};function Rv(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function zv(e,t){let n=null,r,i=U_(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=t_(d),h=t_(i.clientWidth-(u+f)),g=t_(i.clientHeight-(d+p)),_=t_(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:$g(0,Qg(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!Rv(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Bv(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=fv(e),u=i||a?[...l?lv(l):[],...t?lv(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?zv(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?_v(e):null;c&&g();function g(){let t=_v(e);h&&!Rv(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Vv=I_,Hv=L_,Uv=A_,Wv=z_,Gv=N_,Kv=k_,qv=R_,Jv=(e,t,n)=>{let r=new Map,i={platform:Lv,...n},a={...i.platform,_c:r};return O_(e,t,{...i,platform:a})},Yv=typeof document<`u`?n.useLayoutEffect:function(){};function Xv(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Xv(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!Xv(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function Zv(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Qv(e,t){let n=Zv(e);return Math.round(t*n)/n}function $v(e){let t=n.useRef(e);return Yv(()=>{t.current=e}),t}function ey(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:r=`absolute`,middleware:a=[],platform:o,elements:{reference:s,floating:c}={},transform:l=!0,whileElementsMounted:u,open:d}=e,[f,p]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=n.useState(a);Xv(m,a)||h(a);let[g,_]=n.useState(null),[v,y]=n.useState(null),b=n.useCallback(e=>{e!==w.current&&(w.current=e,_(e))},[]),x=n.useCallback(e=>{e!==T.current&&(T.current=e,y(e))},[]),S=s||g,C=c||v,w=n.useRef(null),T=n.useRef(null),E=n.useRef(f),D=u!=null,ee=$v(u),te=$v(o),O=$v(d),k=n.useCallback(()=>{if(!w.current||!T.current)return;let e={placement:t,strategy:r,middleware:m};te.current&&(e.platform=te.current),Jv(w.current,T.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};ne.current&&!Xv(E.current,t)&&(E.current=t,i.flushSync(()=>{p(t)}))})},[m,t,r,te,O]);Yv(()=>{d===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let ne=n.useRef(!1);Yv(()=>(ne.current=!0,()=>{ne.current=!1}),[]),Yv(()=>{if(S&&(w.current=S),C&&(T.current=C),S&&C){if(ee.current)return ee.current(S,C,k);k()}},[S,C,k,ee,D]);let re=n.useMemo(()=>({reference:w,floating:T,setReference:b,setFloating:x}),[b,x]),A=n.useMemo(()=>({reference:S,floating:C}),[S,C]),j=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!A.floating)return e;let t=Qv(A.floating,f.x),n=Qv(A.floating,f.y);return l?{...e,transform:`translate(`+t+`px, `+n+`px)`,...Zv(A.floating)>=1.5&&{willChange:`transform`}}:{position:r,left:t,top:n}},[r,l,A.floating,f.x,f.y]);return n.useMemo(()=>({...f,update:k,refs:re,elements:A,floatingStyles:j}),[f,k,re,A,j])}var ty=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:Kv({element:r.current,padding:i}).fn(n):r?Kv({element:r,padding:i}).fn(n):{}}}},ny=(e,t)=>{let n=Vv(e);return{name:n.name,fn:n.fn,options:[e,t]}},ry=(e,t)=>{let n=Hv(e);return{name:n.name,fn:n.fn,options:[e,t]}},iy=(e,t)=>({fn:qv(e).fn,options:[e,t]}),ay=(e,t)=>{let n=Uv(e);return{name:n.name,fn:n.fn,options:[e,t]}},oy=(e,t)=>{let n=Wv(e);return{name:n.name,fn:n.fn,options:[e,t]}},sy=(e,t)=>{let n=Gv(e);return{name:n.name,fn:n.fn,options:[e,t]}},cy=(e,t)=>{let n=ty(e);return{name:n.name,fn:n.fn,options:[e,t]}},ly=`Arrow`,uy=n.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,P.jsx)(L.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:(0,P.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});uy.displayName=ly;var dy=uy;function fy(e){let[t,r]=n.useState(void 0);return Wn(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let n=t[0],i,a;if(`borderBoxSize`in n){let e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;r({width:i,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}else r(void 0)},[e]),t}var py=`Popper`,[my,hy]=Hn(py),[gy,_y]=my(py),vy=e=>{let{__scopePopper:t,children:r}=e,[i,a]=n.useState(null),[o,s]=n.useState(void 0);return(0,P.jsx)(gy,{scope:t,anchor:i,onAnchorChange:a,placementState:o,setPlacementState:s,children:r})};vy.displayName=py;var yy=`PopperAnchor`,by=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...a}=e,o=_y(yy,r),s=n.useRef(null),c=o.onAnchorChange,l=I(t,n.useCallback(e=>{s.current=e,e&&c(e)},[c])),u=n.useRef(null);n.useEffect(()=>{if(!i)return;let e=u.current;u.current=i.current,e!==u.current&&c(u.current)});let d=o.placementState&&Ay(o.placementState),f=d?.[0],p=d?.[1];return i?null:(0,P.jsx)(L.div,{"data-radix-popper-side":f,"data-radix-popper-align":p,...a,ref:l})});by.displayName=yy;var xy=`PopperContent`,[Sy,Cy]=my(xy),wy=n.forwardRef((e,t)=>{let{__scopePopper:r,side:i=`bottom`,sideOffset:a=0,align:o=`center`,alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f=`partial`,hideWhenDetached:p=!1,updatePositionStrategy:m=`optimized`,onPlaced:h,...g}=e,_=_y(xy,r),[v,y]=n.useState(null),b=I(t,e=>y(e)),[x,S]=n.useState(null),C=fy(x),w=C?.width??0,T=C?.height??0,E=i+(o===`center`?``:`-`+o),D=typeof d==`number`?d:{top:0,right:0,bottom:0,left:0,...d},ee=Array.isArray(u)?u:[u],te=ee.length>0,O={padding:D,boundary:ee.filter(Oy),altBoundary:te},{refs:k,floatingStyles:ne,placement:re,isPositioned:A,middlewareData:j}=ey({strategy:`fixed`,placement:E,whileElementsMounted:(...e)=>Bv(...e,{animationFrame:m===`always`}),elements:{reference:_.anchor},middleware:[ny({mainAxis:a+T,alignmentAxis:s}),l&&ry({mainAxis:!0,crossAxis:!1,limiter:f===`partial`?iy():void 0,...O}),l&&ay({...O}),oy({...O,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),x&&cy({element:x,padding:c}),ky({arrowWidth:w,arrowHeight:T}),p&&sy({strategy:`referenceHidden`,...O,boundary:te?O.boundary:void 0})]}),ie=_.setPlacementState;Wn(()=>(ie(re),()=>{ie(void 0)}),[re,ie]);let[ae,oe]=Ay(re),se=fr(h);Wn(()=>{A&&se?.()},[A,se]);let ce=j.arrow?.x,le=j.arrow?.y,ue=j.arrow?.centerOffset!==0,[de,fe]=n.useState();return Wn(()=>{v&&fe(window.getComputedStyle(v).zIndex)},[v]),(0,P.jsx)(`div`,{ref:k.setFloating,"data-radix-popper-content-wrapper":``,style:{...ne,transform:A?ne.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:de,"--radix-popper-transform-origin":[j.transformOrigin?.x,j.transformOrigin?.y].join(` `),...j.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,P.jsx)(Sy,{scope:r,placedSide:ae,placedAlign:oe,onArrowChange:S,arrowX:ce,arrowY:le,shouldHideArrow:ue,children:(0,P.jsx)(L.div,{"data-side":ae,"data-align":oe,...g,ref:b,style:{...g.style,animation:A?void 0:`none`}})})})});wy.displayName=xy;var Ty=`PopperArrow`,Ey={top:`bottom`,right:`left`,bottom:`top`,left:`right`},Dy=n.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=Cy(Ty,n),a=Ey[i.placedSide];return(0,P.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,P.jsx)(dy,{...r,ref:t,style:{...r.style,display:`block`}})})});Dy.displayName=Ty;function Oy(e){return e!==null}var ky=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Ay(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function Ay(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var jy=vy,My=by,Ny=wy,Py=Dy,Fy=`rovingFocusGroup.onEntryFocus`,Iy={bubbles:!1,cancelable:!0},Ly=`RovingFocusGroup`,[Ry,zy,By]=Jg(Ly),[Vy,Hy]=Hn(Ly,[By]),[Uy,Wy]=Vy(Ly),Gy=n.forwardRef((e,t)=>(0,P.jsx)(Ry.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,P.jsx)(Ry.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,P.jsx)(Ky,{...e,ref:t})})}));Gy.displayName=Ly;var Ky=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:i,loop:a=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,p=n.useRef(null),m=I(t,p),h=Xg(o),[g,_]=Yn({prop:s,defaultProp:c??null,onChange:l,caller:Ly}),[v,y]=n.useState(!1),b=fr(u),x=zy(r),S=n.useRef(!1),[C,w]=n.useState(0);return n.useEffect(()=>{let e=p.current;if(e)return e.addEventListener(Fy,b),()=>e.removeEventListener(Fy,b)},[b]),(0,P.jsx)(Uy,{scope:r,orientation:i,dir:h,loop:a,currentTabStopId:g,onItemFocus:n.useCallback(e=>_(e),[_]),onItemShiftTab:n.useCallback(()=>y(!0),[]),onFocusableItemAdd:n.useCallback(()=>w(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>w(e=>e-1),[]),children:(0,P.jsx)(L.div,{tabIndex:v||C===0?-1:0,"data-orientation":i,...f,ref:m,style:{outline:`none`,...e.style},onMouseDown:F(e.onMouseDown,()=>{S.current=!0}),onFocus:F(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!v){let t=new CustomEvent(Fy,Iy);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=x().filter(e=>e.focusable);Qy([e.find(e=>e.active),e.find(e=>e.id===g),...e].filter(Boolean).map(e=>e.ref.current),d)}}S.current=!1}),onBlur:F(e.onBlur,()=>y(!1))})})}),qy=`RovingFocusGroupItem`,Jy=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:i=!0,active:a=!1,tabStopId:o,children:s,...c}=e,l=qn(),u=o||l,d=Wy(qy,r),f=d.currentTabStopId===u,p=zy(r),{onFocusableItemAdd:m,onFocusableItemRemove:h,currentTabStopId:g}=d;return n.useEffect(()=>{if(i)return m(),()=>h()},[i,m,h]),(0,P.jsx)(Ry.ItemSlot,{scope:r,id:u,focusable:i,active:a,children:(0,P.jsx)(L.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...c,ref:t,onMouseDown:F(e.onMouseDown,e=>{i?d.onItemFocus(u):e.preventDefault()}),onFocus:F(e.onFocus,()=>d.onItemFocus(u)),onKeyDown:F(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){d.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=Zy(e,d.orientation,d.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=p().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=d.loop?$y(n,r+1):n.slice(r+1)}setTimeout(()=>Qy(n))}}),children:typeof s==`function`?s({isCurrentTabStop:f,hasTabStop:g!=null}):s})})});Jy.displayName=qy;var Yy={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function Xy(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function Zy(e,t,n){let r=Xy(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return Yy[r]}function Qy(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function $y(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var eb=Gy,tb=Jy,nb=[`Enter`,` `],rb=[`ArrowDown`,`PageUp`,`Home`],ib=[`ArrowUp`,`PageDown`,`End`],ab=[...rb,...ib],ob={ltr:[...nb,`ArrowRight`],rtl:[...nb,`ArrowLeft`]},sb={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},cb=`Menu`,[lb,ub,db]=Jg(cb),[fb,pb]=Hn(cb,[db,hy,Hy]),mb=hy(),hb=Hy(),[gb,_b]=fb(cb),[vb,yb]=fb(cb),bb=e=>{let{__scopeMenu:t,open:r=!1,children:i,dir:a,onOpenChange:o,modal:s=!0}=e,c=mb(t),[l,u]=n.useState(null),d=n.useRef(!1),f=fr(o),p=Xg(a);return n.useEffect(()=>{let e=()=>{d.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),n.useEffect(()=>{if(!r)return;let e=()=>f(!1);return window.addEventListener(`blur`,e),()=>window.removeEventListener(`blur`,e)},[r,f]),(0,P.jsx)(jy,{...c,children:(0,P.jsx)(gb,{scope:t,open:r,onOpenChange:f,content:l,onContentChange:u,children:(0,P.jsx)(vb,{scope:t,onClose:n.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:p,modal:s,children:i})})})};bb.displayName=cb;var xb=`MenuAnchor`,Sb=n.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=mb(n);return(0,P.jsx)(My,{...i,...r,ref:t})});Sb.displayName=xb;var Cb=`MenuPortal`,[wb,Tb]=fb(Cb,{forceMount:void 0}),Eb=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=_b(Cb,t);return(0,P.jsx)(wb,{scope:t,forceMount:n,children:(0,P.jsx)(qr,{present:n||a.open,children:(0,P.jsx)(Gr,{asChild:!0,container:i,children:r})})})};Eb.displayName=Cb;var Db=`MenuContent`,[Ob,kb]=fb(Db),Ab=n.forwardRef((e,t)=>{let n=Tb(Db,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=_b(Db,e.__scopeMenu),o=yb(Db,e.__scopeMenu);return(0,P.jsx)(lb.Provider,{scope:e.__scopeMenu,children:(0,P.jsx)(qr,{present:r||a.open,children:(0,P.jsx)(lb.Slot,{scope:e.__scopeMenu,children:o.modal?(0,P.jsx)(jb,{...i,ref:t}):(0,P.jsx)(Mb,{...i,ref:t})})})})}),jb=n.forwardRef((e,t)=>{let r=_b(Db,e.__scopeMenu),i=n.useRef(null),a=I(t,i);return n.useEffect(()=>{let e=i.current;if(e)return ba(e)},[]),(0,P.jsx)(Pb,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:F(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),Mb=n.forwardRef((e,t)=>{let n=_b(Db,e.__scopeMenu);return(0,P.jsx)(Pb,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Nb=Qn(`MenuContent.ScrollLock`),Pb=n.forwardRef((e,t)=>{let{__scopeMenu:r,loop:i=!1,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:m,disableOutsideScroll:h,...g}=e,_=_b(Db,r),v=yb(Db,r),y=mb(r),b=hb(r),x=ub(r),[S,C]=n.useState(null),w=n.useRef(null),T=I(t,w,_.onContentChange),E=n.useRef(0),D=n.useRef(``),ee=n.useRef(0),te=n.useRef(null),O=n.useRef(`right`),k=n.useRef(0),ne=h?da:n.Fragment,re=h?{as:Nb,allowPinchZoom:!0}:void 0,A=e=>{let t=D.current+e,n=x().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=vx(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;(function e(t){D.current=t,window.clearTimeout(E.current),t!==``&&(E.current=window.setTimeout(()=>e(``),1e3))})(t),o&&setTimeout(()=>o.focus())};n.useEffect(()=>()=>window.clearTimeout(E.current),[]),ti();let j=n.useCallback(e=>O.current===te.current?.side&&bx(e,te.current?.area),[]);return(0,P.jsx)(Ob,{scope:r,searchRef:D,onItemEnter:n.useCallback(e=>{j(e)&&e.preventDefault()},[j]),onItemLeave:n.useCallback(e=>{j(e)||(w.current?.focus(),C(null))},[j]),onTriggerLeave:n.useCallback(e=>{j(e)&&e.preventDefault()},[j]),pointerGraceTimerRef:ee,onPointerGraceIntentChange:n.useCallback(e=>{te.current=e},[]),children:(0,P.jsx)(ne,{...re,children:(0,P.jsx)(Mr,{asChild:!0,trapped:a,onMountAutoFocus:F(o,e=>{e.preventDefault(),w.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,P.jsx)(br,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:m,children:(0,P.jsx)(eb,{asChild:!0,...b,dir:v.dir,orientation:`vertical`,loop:i,currentTabStopId:S,onCurrentTabStopIdChange:C,onEntryFocus:F(l,e=>{v.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,P.jsx)(Ny,{role:`menu`,"aria-orientation":`vertical`,"data-state":px(_.open),"data-radix-menu-content":``,dir:v.dir,...y,...g,ref:T,style:{outline:`none`,...g.style},onKeyDown:F(g.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&A(e.key));let i=w.current;if(e.target!==i||!ab.includes(e.key))return;e.preventDefault();let a=x().filter(e=>!e.disabled).map(e=>e.ref.current);ib.includes(e.key)&&a.reverse(),gx(a)}),onBlur:F(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(E.current),D.current=``)}),onPointerMove:F(e.onPointerMove,xx(e=>{let t=e.target,n=k.current!==e.clientX;e.currentTarget.contains(t)&&n&&(O.current=e.clientX>k.current?`right`:`left`,k.current=e.clientX)}))})})})})})})});Ab.displayName=Db;var Fb=`MenuGroup`,Ib=n.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,P.jsx)(L.div,{role:`group`,...r,ref:t})});Ib.displayName=Fb;var Lb=`MenuLabel`,Rb=n.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,P.jsx)(L.div,{...r,ref:t})});Rb.displayName=Lb;var zb=`MenuItem`,Bb=`menu.itemSelect`,Vb=n.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:i,...a}=e,o=n.useRef(null),s=yb(zb,e.__scopeMenu),c=kb(zb,e.__scopeMenu),l=I(t,o),u=n.useRef(!1),d=()=>{let e=o.current;if(!r&&e){let t=new CustomEvent(Bb,{bubbles:!0,cancelable:!0});e.addEventListener(Bb,e=>i?.(e),{once:!0}),dr(e,t),t.defaultPrevented?u.current=!1:s.onClose()}};return(0,P.jsx)(Hb,{...a,ref:l,disabled:r,onClick:F(e.onClick,d),onPointerDown:t=>{e.onPointerDown?.(t),u.current=!0},onPointerUp:F(e.onPointerUp,e=>{u.current||e.currentTarget?.click()}),onKeyDown:F(e.onKeyDown,e=>{let t=c.searchRef.current!==``;r||t&&e.key===` `||nb.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});Vb.displayName=zb;var Hb=n.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:i=!1,textValue:a,...o}=e,s=kb(zb,r),c=hb(r),l=n.useRef(null),u=I(t,l),[d,f]=n.useState(!1),[p,m]=n.useState(``);return n.useEffect(()=>{let e=l.current;e&&m((e.textContent??``).trim())},[o.children]),(0,P.jsx)(lb.ItemSlot,{scope:r,disabled:i,textValue:a??p,children:(0,P.jsx)(tb,{asChild:!0,...c,focusable:!i,children:(0,P.jsx)(L.div,{role:`menuitem`,"data-highlighted":d?``:void 0,"aria-disabled":i||void 0,"data-disabled":i?``:void 0,...o,ref:u,onPointerMove:F(e.onPointerMove,xx(e=>{i?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:F(e.onPointerLeave,xx(e=>s.onItemLeave(e))),onFocus:F(e.onFocus,()=>f(!0)),onBlur:F(e.onBlur,()=>f(!1))})})})}),Ub=`MenuCheckboxItem`,Wb=n.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,P.jsx)(Qb,{scope:e.__scopeMenu,checked:n,children:(0,P.jsx)(Vb,{role:`menuitemcheckbox`,"aria-checked":mx(n)?`mixed`:n,...i,ref:t,"data-state":hx(n),onSelect:F(i.onSelect,()=>r?.(mx(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Wb.displayName=Ub;var Gb=`MenuRadioGroup`,[Kb,qb]=fb(Gb,{value:void 0,onValueChange:()=>{}}),Jb=n.forwardRef((e,t)=>{let{value:n,onValueChange:r,...i}=e,a=fr(r);return(0,P.jsx)(Kb,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,P.jsx)(Ib,{...i,ref:t})})});Jb.displayName=Gb;var Yb=`MenuRadioItem`,Xb=n.forwardRef((e,t)=>{let{value:n,...r}=e,i=qb(Yb,e.__scopeMenu),a=n===i.value;return(0,P.jsx)(Qb,{scope:e.__scopeMenu,checked:a,children:(0,P.jsx)(Vb,{role:`menuitemradio`,"aria-checked":a,...r,ref:t,"data-state":hx(a),onSelect:F(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Xb.displayName=Yb;var Zb=`MenuItemIndicator`,[Qb,$b]=fb(Zb,{checked:!1}),ex=n.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,a=$b(Zb,n);return(0,P.jsx)(qr,{present:r||mx(a.checked)||a.checked===!0,children:(0,P.jsx)(L.span,{...i,ref:t,"data-state":hx(a.checked)})})});ex.displayName=Zb;var tx=`MenuSeparator`,nx=n.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,P.jsx)(L.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})});nx.displayName=tx;var rx=`MenuArrow`,ix=n.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=mb(n);return(0,P.jsx)(Py,{...i,...r,ref:t})});ix.displayName=rx;var ax=`MenuSub`,[ox,sx]=fb(ax),cx=e=>{let{__scopeMenu:t,children:r,open:i=!1,onOpenChange:a}=e,o=_b(ax,t),s=mb(t),[c,l]=n.useState(null),[u,d]=n.useState(null),f=fr(a);return n.useEffect(()=>(o.open===!1&&f(!1),()=>f(!1)),[o.open,f]),(0,P.jsx)(jy,{...s,children:(0,P.jsx)(gb,{scope:t,open:i,onOpenChange:f,content:u,onContentChange:d,children:(0,P.jsx)(ox,{scope:t,contentId:qn(),triggerId:qn(),trigger:c,onTriggerChange:l,children:r})})})};cx.displayName=ax;var lx=`MenuSubTrigger`,ux=n.forwardRef((e,t)=>{let r=_b(lx,e.__scopeMenu),i=yb(lx,e.__scopeMenu),a=sx(lx,e.__scopeMenu),o=kb(lx,e.__scopeMenu),s=n.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:l}=o,u={__scopeMenu:e.__scopeMenu},d=n.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return n.useEffect(()=>d,[d]),n.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),l(null)}},[c,l]),(0,P.jsx)(Sb,{asChild:!0,...u,children:(0,P.jsx)(Hb,{id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":r.open,"aria-controls":r.open?a.contentId:void 0,"data-state":px(r.open),...e,ref:Vn(t,a.onTriggerChange),onClick:t=>{e.onClick?.(t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:F(e.onPointerMove,xx(t=>{o.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!r.open&&!s.current&&(o.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{r.onOpenChange(!0),d()},100))})),onPointerLeave:F(e.onPointerLeave,xx(e=>{d();let t=r.content?.getBoundingClientRect();if(t){let n=r.content?.dataset.side,i=n===`right`,a=i?-5:5,s=t[i?`left`:`right`],l=t[i?`right`:`left`];o.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:s,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:s,y:t.bottom}],side:n}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(e),e.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:F(e.onKeyDown,t=>{let n=o.searchRef.current!==``;e.disabled||n&&t.key===` `||ob[i.dir].includes(t.key)&&(r.onOpenChange(!0),r.content?.focus(),t.preventDefault())})})})});ux.displayName=lx;var dx=`MenuSubContent`,fx=n.forwardRef((e,t)=>{let r=Tb(Db,e.__scopeMenu),{forceMount:i=r.forceMount,align:a=`start`,...o}=e,s=_b(Db,e.__scopeMenu),c=yb(Db,e.__scopeMenu),l=sx(dx,e.__scopeMenu),u=n.useRef(null),d=I(t,u);return(0,P.jsx)(lb.Provider,{scope:e.__scopeMenu,children:(0,P.jsx)(qr,{present:i||s.open,children:(0,P.jsx)(lb.Slot,{scope:e.__scopeMenu,children:(0,P.jsx)(Pb,{id:l.contentId,"aria-labelledby":l.triggerId,...o,ref:d,align:a,side:c.dir===`rtl`?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{c.isUsingKeyboardRef.current&&u.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:F(e.onFocusOutside,e=>{e.target!==l.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:F(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:F(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=sb[c.dir].includes(e.key);t&&n&&(s.onOpenChange(!1),l.trigger?.focus(),e.preventDefault())})})})})})});fx.displayName=dx;function px(e){return e?`open`:`closed`}function mx(e){return e===`indeterminate`}function hx(e){return mx(e)?`indeterminate`:e?`checked`:`unchecked`}function gx(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function _x(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function vx(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=_x(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function yx(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function bx(e,t){return t?yx({x:e.clientX,y:e.clientY},t):!1}function xx(e){return t=>t.pointerType===`mouse`?e(t):void 0}var Sx=bb,Cx=Sb,wx=Eb,Tx=Ab,Ex=Ib,Dx=Rb,Ox=Vb,kx=Wb,Ax=Jb,jx=Xb,Mx=ex,Nx=nx,Px=ix,Fx=cx,Ix=ux,Lx=fx,Rx=`DropdownMenu`,[zx,Bx]=Hn(Rx,[pb]),X=pb(),[Vx,Hx]=zx(Rx),Ux=e=>{let{__scopeDropdownMenu:t,children:r,dir:i,open:a,defaultOpen:o,onOpenChange:s,modal:c=!0}=e,l=X(t),u=n.useRef(null),[d,f]=Yn({prop:a,defaultProp:o??!1,onChange:s,caller:Rx});return(0,P.jsx)(Vx,{scope:t,triggerId:qn(),triggerRef:u,contentId:qn(),open:d,onOpenChange:f,onOpenToggle:n.useCallback(()=>f(e=>!e),[f]),modal:c,children:(0,P.jsx)(Sx,{...l,open:d,onOpenChange:f,dir:i,modal:c,children:r})})};Ux.displayName=Rx;var Wx=`DropdownMenuTrigger`,Gx=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=Hx(Wx,n),o=X(n);return(0,P.jsx)(Cx,{asChild:!0,...o,children:(0,P.jsx)(L.button,{type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r,...i,ref:Vn(t,a.triggerRef),onPointerDown:F(e.onPointerDown,e=>{!r&&e.button===0&&e.ctrlKey===!1&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:F(e.onKeyDown,e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})});Gx.displayName=Wx;var Kx=`DropdownMenuPortal`,qx=e=>{let{__scopeDropdownMenu:t,...n}=e,r=X(t);return(0,P.jsx)(wx,{...r,...n})};qx.displayName=Kx;var Jx=`DropdownMenuContent`,Yx=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=Hx(Jx,r),o=X(r),s=n.useRef(!1);return(0,P.jsx)(Tx,{id:a.contentId,"aria-labelledby":a.triggerId,...o,...i,ref:t,onCloseAutoFocus:F(e.onCloseAutoFocus,e=>{s.current||a.triggerRef.current?.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:F(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!a.modal||r)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});Yx.displayName=Jx;var Xx=`DropdownMenuGroup`,Zx=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(Ex,{...i,...r,ref:t})});Zx.displayName=Xx;var Qx=`DropdownMenuLabel`,$x=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(Dx,{...i,...r,ref:t})});$x.displayName=Qx;var eS=`DropdownMenuItem`,tS=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(Ox,{...i,...r,ref:t})});tS.displayName=eS;var nS=`DropdownMenuCheckboxItem`,rS=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(kx,{...i,...r,ref:t})});rS.displayName=nS;var iS=`DropdownMenuRadioGroup`,aS=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(Ax,{...i,...r,ref:t})});aS.displayName=iS;var oS=`DropdownMenuRadioItem`,sS=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(jx,{...i,...r,ref:t})});sS.displayName=oS;var cS=`DropdownMenuItemIndicator`,lS=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(Mx,{...i,...r,ref:t})});lS.displayName=cS;var uS=`DropdownMenuSeparator`,dS=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(Nx,{...i,...r,ref:t})});dS.displayName=uS;var fS=`DropdownMenuArrow`,pS=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(Px,{...i,...r,ref:t})});pS.displayName=fS;var mS=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:a}=e,o=X(t),[s,c]=Yn({prop:r,defaultProp:a??!1,onChange:i,caller:`DropdownMenuSub`});return(0,P.jsx)(Fx,{...o,open:s,onOpenChange:c,children:n})},hS=`DropdownMenuSubTrigger`,gS=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(Ix,{...i,...r,ref:t})});gS.displayName=hS;var _S=`DropdownMenuSubContent`,vS=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,P.jsx)(Lx,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});vS.displayName=_S;var yS=Ux,bS=Gx,xS=qx,SS=Yx,CS=tS,wS=dS,TS=mS,ES=gS,DS=vS,OS={content:`_content_5rs2x_1`,header:`_header_5rs2x_14`,separator:`_separator_5rs2x_18`,item:`_item_5rs2x_24`,danger:`_danger_5rs2x_46`,icon:`_icon_5rs2x_54`,subChevron:`_subChevron_5rs2x_60`},kS=(e,t)=>e.id??(typeof e.label==`string`?e.label:String(t)),AS=(e,t)=>e.map((e,n)=>{let r=(0,P.jsxs)(P.Fragment,{children:[e.icon===void 0?null:(0,P.jsx)(`span`,{className:OS.icon,"aria-hidden":`true`,children:e.icon}),e.label]}),i=N(OS.item,e.danger===!0&&OS.danger);return e.items===void 0?(0,P.jsx)(CS,{className:i,disabled:e.disabled??!1,onSelect:e.onSelect,children:r},kS(e,n)):(0,P.jsxs)(TS,{children:[(0,P.jsxs)(ES,{className:i,disabled:e.disabled??!1,children:[r,(0,P.jsx)(xn,{size:14,className:OS.subChevron,"aria-hidden":`true`})]}),(0,P.jsx)(xS,{container:t,children:(0,P.jsx)(DS,{className:OS.content,sideOffset:4,alignOffset:-4,children:AS(e.items,t)})})]},kS(e,n))}),jS=({trigger:e,items:t,header:n,align:r=`end`})=>{let i=Xa();return(0,P.jsxs)(yS,{children:[(0,P.jsx)(bS,{asChild:!0,children:e}),(0,P.jsx)(xS,{container:i,children:(0,P.jsxs)(SS,{className:OS.content,align:r,sideOffset:6,children:[n===void 0?null:(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(`div`,{className:OS.header,children:n}),(0,P.jsx)(wS,{className:OS.separator})]}),AS(t,i)]})})]})},MS=Object.defineProperty,NS=(e,t)=>MS(e,`name`,{value:t,configurable:!0}),PS=!!(typeof window<`u`&&window.document&&window.document.createElement);function FS(e,t,{checkForDefaultPrevented:n=!0}={}){return NS(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},`handleEvent`)}NS(FS,`composeEventHandlers`);function IS(e){if(!PS)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}NS(IS,`getOwnerWindow`);function LS(e){if(!PS)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}NS(LS,`getOwnerDocument`);function RS(e,t=!1){let{activeElement:n}=LS(e);if(!n?.nodeName)return null;if(zS(n)&&n.contentDocument)return RS(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=LS(n).getElementById(e);if(t)return t}}return n}NS(RS,`getActiveElement`);function zS(e){return e.tagName===`IFRAME`}NS(zS,`isFrame`);var BS=Object.defineProperty,VS=(e,t)=>BS(e,`name`,{value:t,configurable:!0});function HS(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}VS(HS,`setRef`);function US(...e){return t=>{let n=!1,r=e.map(e=>{let r=HS(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():HS(e[t],null)}}}}VS(US,`composeRefs`);function WS(...e){return n.useCallback(US(...e),e)}VS(WS,`useComposedRefs`);var GS=Object.defineProperty,KS=(e,t)=>GS(e,`name`,{value:t,configurable:!0});function qS(e,t){let r=n.createContext(t);r.displayName=e+`Context`;let i=KS(e=>{let{children:t,...i}=e,a=n.useMemo(()=>i,Object.values(i));return(0,P.jsx)(r.Provider,{value:a,children:t})},`Provider`);i.displayName=e+`Provider`;function a(i,a={}){let{optional:o=!1}=a,s=n.useContext(r);if(s)return s;if(t!==void 0)return t;if(!o)throw Error(`\`${i}\` must be used within \`${e}\``)}return KS(a,`useContext`),[i,a]}KS(qS,`createContext`);function JS(e,t=[]){let r=[];function i(t,i){let a=n.createContext(i);a.displayName=t+`Context`;let o=r.length;r=[...r,i];let s=KS(t=>{let{scope:r,children:i,...s}=t,c=r?.[e]?.[o]||a,l=n.useMemo(()=>s,Object.values(s));return(0,P.jsx)(c.Provider,{value:l,children:i})},`Provider`);s.displayName=t+`Provider`;function c(r,s,c={}){let{optional:l=!1}=c,u=s?.[e]?.[o]||a,d=n.useContext(u);if(d)return d;if(i!==void 0)return i;if(!l)throw Error(`\`${r}\` must be used within \`${t}\``)}return KS(c,`useContext`),[s,c]}KS(i,`createContext`);let a=KS(()=>{let t=r.map(e=>n.createContext(e));return KS(function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])},`useScope`)},`createScope`);return a.scopeName=e,[i,YS(a,...t)]}KS(JS,`createContextScope`);function YS(...e){let t=e[0];if(e.length===1)return t;let r=KS(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return KS(function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])},`useComposedScopes`)},`createScope`);return r.scopeName=t.scopeName,r}KS(YS,`composeContextScopes`);var XS=Object.defineProperty,ZS=(e,t)=>XS(e,`name`,{value:t,configurable:!0});function QS(e){let t=n.forwardRef((t,r)=>{let{children:i,...a}=t,o=null,s=!1,c=[];oC(i)&&typeof uC==`function`&&(i=uC(i._payload)),n.Children.forEach(i,e=>{if(iC(e)){s=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;oC(n)&&typeof uC==`function`&&(n=uC(n._payload)),o=tC(t,n),c.push(o?.props?.children)}else c.push(e)}),o?o=n.cloneElement(o,void 0,c):!s&&n.Children.count(i)===1&&n.isValidElement(i)&&(o=i);let l=o?rC(o):void 0,u=WS(r,l);if(!o){if(i||i===0)throw Error(s?lC(e):cC(e));return i}let d=nC(a,o.props??{});return o.type!==n.Fragment&&(d.ref=r?u:l),n.cloneElement(o,d)});return t.displayName=`${e}.Slot`,t}ZS(QS,`createSlot`);var $S=Symbol.for(`radix.slottable`);function eC(e){let t=ZS(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=$S,t}ZS(eC,`createSlottable`);var tC=ZS((e,t)=>{if(`child`in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null},`getSlottableElementFromSlottable`);function nC(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}ZS(nC,`mergeProps`);function rC(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}ZS(rC,`getElementRef`);function iC(e){return n.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===$S}ZS(iC,`isSlottable`);var aC=Symbol.for(`react.lazy`);function oC(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===aC&&`_payload`in e&&sC(e._payload)}ZS(oC,`isLazyComponent`);function sC(e){return typeof e==`object`&&!!e&&`then`in e}ZS(sC,`isPromiseLike`);var cC=ZS(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),lC=ZS(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),uC=n.use,dC=Object.defineProperty,fC=(e,t)=>dC(e,`name`,{value:t,configurable:!0}),pC=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let r=QS(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...a}=e,o=i?r:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,P.jsx)(o,{...a,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function mC(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}fC(mC,`dispatchDiscreteCustomEvent`);var hC=Object.defineProperty,gC=(e,t)=>hC(e,`name`,{value:t,configurable:!0});function _C(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>((...e)=>t.current?.(...e)),[])}gC(_C,`useCallbackRef`);var vC=Object.defineProperty,Z=(e,t)=>vC(e,`name`,{value:t,configurable:!0}),yC=`dismissableLayer.update`,bC=`dismissableLayer.pointerDownOutside`,xC=`dismissableLayer.focusOutside`,SC,CC=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),wC=n.forwardRef(Z(function(e,t){let{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:i=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:c,onDismiss:l,...u}=e,d=n.useContext(CC),[f,p]=n.useState(null),m=f?.ownerDocument??globalThis?.document,[,h]=n.useState({}),g=WS(t,p),_=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=v?_.indexOf(v):-1,b=f?_.indexOf(f):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,S=b>=y,C=n.useRef(!1),w=DC(e=>{o?.(e),c?.(e),e.defaultPrevented||l?.()},{ownerDocument:m,deferPointerDownOutside:i,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:d.dismissableSurfaces,shouldHandlePointerDownOutside:n.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...d.branches].some(t=>t.contains(e));return S&&!t},[d.branches,S])}),T=OC(e=>{if(i&&C.current)return;let t=e.target;[...d.branches].some(e=>e.contains(t))||(s?.(e),c?.(e),e.defaultPrevented||l?.())},m),E=f?b===_.length-1:!1,D=_C(e=>{e.key===`Escape`&&(a?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))});return n.useEffect(()=>{if(E)return m.addEventListener(`keydown`,D,{capture:!0}),()=>m.removeEventListener(`keydown`,D,{capture:!0})},[m,E,D]),n.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(SC=m.body.style.pointerEvents,m.body.style.pointerEvents=`none`),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),kC(),()=>{r&&(d.layersWithOutsidePointerEventsDisabled.delete(f),d.layersWithOutsidePointerEventsDisabled.size===0&&(m.body.style.pointerEvents=SC))}},[f,m,r,d]),n.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),kC())},[f,d]),n.useEffect(()=>{let e=Z(()=>h({}),`handleUpdate`);return document.addEventListener(yC,e),()=>document.removeEventListener(yC,e)},[]),(0,P.jsx)(pC.div,{...u,ref:g,style:{pointerEvents:x?S?`auto`:`none`:void 0,...e.style},onFocusCapture:FS(e.onFocusCapture,T.onFocusCapture),onBlurCapture:FS(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:FS(e.onPointerDownCapture,w.onPointerDownCapture)})},`DismissableLayer`));function TC(){let e=n.useContext(CC),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}Z(TC,`useDismissableLayerSurface`);var EC=Z(()=>!0,`IS_TRUE`);function DC(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:o,shouldHandlePointerDownOutside:s=EC}=t,c=_C(e),l=n.useRef(!1),u=n.useRef(!1),d=n.useRef(new Map),f=n.useRef(()=>{});return n.useEffect(()=>{function e(){u.current=!1,a.current=!1,d.current.clear()}Z(e,`resetOutsideInteraction`);function t(){return Array.from(d.current.values()).some(Boolean)}Z(t,`isOutsideInteractionIntercepted`);function n(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...o].some(e=>e.contains(t))||d.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{u.current&&f.current()},0)}Z(n,`handleInteractionCapture`);function p(e){u.current&&d.current.set(e.type,!1)}Z(p,`handleInteractionBubble`);let m=Z(n=>{if(n.target&&!l.current){let o=function(){r.removeEventListener(`click`,f.current);let n=t();e(),n||AC(bC,c,p,{discrete:!0})};if(Z(o,`handleAndDispatchPointerDownOutsideEvent`),!s(n.target)){r.removeEventListener(`click`,f.current),e(),l.current=!1;return}let p={originalEvent:n};u.current=!0,a.current=i&&n.button===0,d.current.clear(),!i||n.button!==0?o():(r.removeEventListener(`click`,f.current),f.current=o,r.addEventListener(`click`,f.current,{once:!0}))}else r.removeEventListener(`click`,f.current),e();l.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)r.addEventListener(e,n,!0),r.addEventListener(e,p);let g=window.setTimeout(()=>{r.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),r.removeEventListener(`pointerdown`,m),r.removeEventListener(`click`,f.current);for(let e of h)r.removeEventListener(e,n,!0),r.removeEventListener(e,p)}},[r,c,i,a,o,s]),{onPointerDownCapture:Z(()=>l.current=!0,`onPointerDownCapture`)}}Z(DC,`usePointerDownOutside`);function OC(e,t=globalThis?.document){let r=_C(e),i=n.useRef(!1);return n.useEffect(()=>{let e=Z(e=>{e.target&&!i.current&&AC(xC,r,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,r]),{onFocusCapture:Z(()=>i.current=!0,`onFocusCapture`),onBlurCapture:Z(()=>i.current=!1,`onBlurCapture`)}}Z(OC,`useFocusOutside`);function kC(){let e=new CustomEvent(yC);document.dispatchEvent(e)}Z(kC,`dispatchUpdate`);function AC(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?mC(i,a):i.dispatchEvent(a)}Z(AC,`handleAndDispatchCustomEvent`);var jC=Object.defineProperty,MC=(e,t)=>jC(e,`name`,{value:t,configurable:!0}),NC=0,PC=null;function FC(e){return IC(),e.children}MC(FC,`FocusGuards`);function IC(){n.useEffect(()=>{PC||={start:LC(),end:LC()};let{start:e,end:t}=PC;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),NC++,()=>{NC===1&&(PC?.start.remove(),PC?.end.remove(),PC=null),NC=Math.max(0,NC-1)}},[])}MC(IC,`useFocusGuards`);function LC(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}MC(LC,`createFocusGuard`);var RC=Object.defineProperty,Q=(e,t)=>RC(e,`name`,{value:t,configurable:!0}),zC=`focusScope.autoFocusOnMount`,BC=`focusScope.autoFocusOnUnmount`,VC={bubbles:!1,cancelable:!0},HC=n.forwardRef(Q(function(e,t){let{loop:r=!1,trapped:i=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...s}=e,[c,l]=n.useState(null),u=_C(a),d=_C(o),f=n.useRef(null),p=WS(t,l),m=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(i){let e=function(e){if(m.paused||!c)return;let t=e.target;c.contains(t)?f.current=t:YC(f.current,{select:!0})},t=function(e){if(m.paused||!c)return;let t=e.relatedTarget;t!==null&&(c.contains(t)||YC(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&YC(c)};Q(e,`handleFocusIn`),Q(t,`handleFocusOut`),Q(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return c&&r.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[i,c,m.paused]),n.useEffect(()=>{if(c){XC.add(m);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(zC,VC);c.addEventListener(zC,u),c.dispatchEvent(t),t.defaultPrevented||(UC($C(GC(c)),{select:!0}),document.activeElement===e&&YC(c))}return()=>{c.removeEventListener(zC,u),setTimeout(()=>{let t=new CustomEvent(BC,VC);c.addEventListener(BC,d),c.dispatchEvent(t),t.defaultPrevented||YC(e??document.body,{select:!0}),c.removeEventListener(BC,d),XC.remove(m)},0)}}},[c,u,d,m]);let h=n.useCallback(e=>{if(!r&&!i||m.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[i,a]=WC(t);i&&a?!e.shiftKey&&n===a?(e.preventDefault(),r&&YC(i,{select:!0})):e.shiftKey&&n===i&&(e.preventDefault(),r&&YC(a,{select:!0})):n===t&&e.preventDefault()}},[r,i,m.paused]);return(0,P.jsx)(pC.div,{tabIndex:-1,...s,ref:p,onKeyDown:h})},`FocusScope`));function UC(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(YC(r,{select:t}),document.activeElement!==n)return}Q(UC,`focusFirst`);function WC(e){let t=GC(e);return[KC(t,e),KC(t.reverse(),e)]}Q(WC,`getTabbableEdges`);function GC(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:Q(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}Q(GC,`getTabbableCandidates`);function KC(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):qC(r,{upTo:t})))return r}Q(KC,`findVisible`);function qC(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}Q(qC,`isHidden`);function JC(e){return e instanceof HTMLInputElement&&`select`in e}Q(JC,`isSelectableInput`);function YC(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&JC(e)&&t&&e.select()}}Q(YC,`focus`);var XC=ZC();function ZC(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=QC(e,t),e.unshift(t)},remove(t){e=QC(e,t),e[0]?.resume()}}}Q(ZC,`createFocusScopesStack`);function QC(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}Q(QC,`arrayRemove`);function $C(e){return e.filter(e=>e.tagName!==`A`)}Q($C,`removeLinks`);var ew=globalThis?.document?n.useLayoutEffect:()=>{},tw=Object.defineProperty,nw=(e,t)=>tw(e,`name`,{value:t,configurable:!0}),rw=n.useId||(()=>void 0),iw=0;function aw(e){let[t,r]=n.useState(rw());return ew(()=>{e||r(e=>e??String(iw++))},[e]),e||(t?`radix-${t}`:``)}nw(aw,`useId`);var ow=Object.defineProperty,sw=(e,t)=>ow(e,`name`,{value:t,configurable:!0});function cw(e){let[t,r]=n.useState(void 0);return ew(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let n=t[0],i,a;if(`borderBoxSize`in n){let e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;r({width:i,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}else r(void 0)},[e]),t}sw(cw,`useSize`);var lw=Object.defineProperty,uw=(e,t)=>lw(e,`name`,{value:t,configurable:!0}),dw=`Popper`,[fw,pw]=JS(dw),[mw,hw]=fw(dw),gw=uw(e=>{let{__scopePopper:t,children:r}=e,[i,a]=n.useState(null),[o,s]=n.useState(void 0);return(0,P.jsx)(mw,{scope:t,anchor:i,onAnchorChange:a,placementState:o,setPlacementState:s,children:r})},`Popper`),_w=`PopperAnchor`,vw=n.forwardRef(uw(function(e,t){let{__scopePopper:r,virtualRef:i,...a}=e,o=hw(_w,r),s=n.useRef(null),c=o.onAnchorChange,l=WS(t,n.useCallback(e=>{s.current=e,e&&c(e)},[c])),u=n.useRef(null);n.useEffect(()=>{if(!i)return;let e=u.current;u.current=i.current,e!==u.current&&c(u.current)});let d=o.placementState&&Tw(o.placementState),f=d?.[0],p=d?.[1];return i?null:(0,P.jsx)(pC.div,{"data-radix-popper-side":f,"data-radix-popper-align":p,...a,ref:l})},`PopperAnchor`)),yw=`PopperContent`,[bw,xw]=fw(yw),Sw=n.forwardRef(uw(function(e,t){let{__scopePopper:r,side:i=`bottom`,sideOffset:a=0,align:o=`center`,alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f=`partial`,hideWhenDetached:p=!1,updatePositionStrategy:m=`optimized`,onPlaced:h,...g}=e,_=hw(yw,r),[v,y]=n.useState(null),b=WS(t,y),[x,S]=n.useState(null),C=cw(x),w=C?.width??0,T=C?.height??0,E=i+(o===`center`?``:`-`+o),D=typeof d==`number`?d:{top:0,right:0,bottom:0,left:0,...d},ee=Array.isArray(u)?u:[u],te=ee.length>0,O={padding:D,boundary:ee.filter(Cw),altBoundary:te},{refs:k,floatingStyles:ne,placement:re,isPositioned:A,middlewareData:j}=ey({strategy:`fixed`,placement:E,whileElementsMounted:uw((...e)=>Bv(...e,{animationFrame:m===`always`}),`whileElementsMounted`),elements:{reference:_.anchor},middleware:[ny({mainAxis:a+T,alignmentAxis:s}),l&&ry({mainAxis:!0,crossAxis:!1,limiter:f===`partial`?iy():void 0,...O}),l&&ay({...O}),oy({...O,apply:uw(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)},`apply`)}),x&&cy({element:x,padding:c}),ww({arrowWidth:w,arrowHeight:T}),p&&sy({strategy:`referenceHidden`,...O,boundary:te?O.boundary:void 0})]}),ie=_.setPlacementState;ew(()=>(ie(re),()=>{ie(void 0)}),[re,ie]);let[ae,oe]=Tw(re),se=_C(h);ew(()=>{A&&se?.()},[A,se]);let ce=j.arrow?.x,le=j.arrow?.y,ue=j.arrow?.centerOffset!==0,[de,fe]=n.useState();return ew(()=>{v&&fe(window.getComputedStyle(v).zIndex)},[v]),(0,P.jsx)(`div`,{ref:k.setFloating,"data-radix-popper-content-wrapper":``,style:{...ne,transform:A?ne.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:de,"--radix-popper-transform-origin":[j.transformOrigin?.x,j.transformOrigin?.y].join(` `),...j.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,P.jsx)(bw,{scope:r,placedSide:ae,placedAlign:oe,onArrowChange:S,arrowX:ce,arrowY:le,shouldHideArrow:ue,children:(0,P.jsx)(pC.div,{"data-side":ae,"data-align":oe,...g,ref:b,style:{...g.style,animation:A?g.style?.animation:`none`}})})})},`PopperContent`));function Cw(e){return e!==null}uw(Cw,`isNotNull`);var ww=uw(e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Tw(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}),`transformOrigin`);function Tw(e){let[t,n=`center`]=e.split(`-`);return[t,n]}uw(Tw,`getSideAndAlignFromPlacement`);var Ew=gw,Dw=vw,Ow=Sw,kw=Object.defineProperty,Aw=n.forwardRef(((e,t)=>kw(e,`name`,{value:t,configurable:!0}))(function(e,t){let{container:r,...a}=e,[o,s]=n.useState(!1);ew(()=>s(!0),[]);let c=r||o&&globalThis?.document?.body;return c?i.createPortal((0,P.jsx)(pC.div,{...a,ref:t}),c):null},`Portal`)),jw=Object.defineProperty,Mw=(e,t)=>jw(e,`name`,{value:t,configurable:!0});function Nw(e,t){return n.useReducer((e,n)=>t[e][n]??e,e)}Mw(Nw,`useStateMachine`);var Pw=Mw(e=>{let{present:t,children:r}=e,i=Fw(t),a=typeof r==`function`?r({present:i.isPresent}):n.Children.only(r),o=Lw(i.ref,zw(a));return typeof r==`function`||i.isPresent?n.cloneElement(a,{ref:o}):null},`Presence`);function Fw(e){let[t,r]=n.useState(),i=n.useRef(null),a=n.useRef(e),o=n.useRef(`none`),s=n.useRef(void 0),[c,l]=Nw(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return n.useEffect(()=>{c===`mounted`?(o.current=s.current??Rw(i.current),s.current=void 0):o.current=`none`},[c]),ew(()=>{let t=i.current,n=a.current;if(n!==e){let r=o.current,i=Rw(t);e?(s.current=i,l(`MOUNT`)):i===`none`||t?.display===`none`?l(`UNMOUNT`):l(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),a.current=e}},[e,l]),ew(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,r=Mw(r=>{let o=Rw(i.current).includes(CSS.escape(r.animationName));if(r.target===t&&o&&(l(`ANIMATION_END`),!a.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=Mw(e=>{e.target===t&&(o.current=Rw(i.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,r),t.addEventListener(`animationend`,r),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,r),t.removeEventListener(`animationend`,r)}}else l(`ANIMATION_END`)},[t,l]),{isPresent:[`mounted`,`unmountSuspended`].includes(c),ref:n.useCallback(e=>{if(e){let t=getComputedStyle(e);i.current=t,s.current=Rw(t)}else i.current=null;r(e)},[])}}Mw(Fw,`usePresence`);function Iw(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}Mw(Iw,`setRef`);function Lw(...e){let t=n.useRef(e);return t.current=e,n.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=Iw(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():Iw(n[e],null)}}},[])}Mw(Lw,`useStableComposedRefs`);function Rw(e){return e?.animationName||`none`}Mw(Rw,`getAnimationName`);function zw(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}Mw(zw,`getElementRef`);var Bw=Object.defineProperty,Vw=(e,t)=>Bw(e,`name`,{value:t,configurable:!0}),Hw=n.useEffectEvent,Uw=n.useInsertionEffect;function Ww(e){if(typeof Hw==`function`)return Hw(e);let t=n.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof Uw==`function`?Uw(()=>{t.current=e}):ew(()=>{t.current=e}),n.useMemo(()=>((...e)=>t.current?.(...e)),[])}Vw(Ww,`useEffectEvent`);var Gw=Object.defineProperty,Kw=(e,t)=>Gw(e,`name`,{value:t,configurable:!0}),qw=n.useInsertionEffect||ew;function Jw({prop:e,defaultProp:t,onChange:r=Kw(()=>{},`onChange`),caller:i}){let[a,o,s]=Yw({defaultProp:t,onChange:r}),c=e!==void 0;return[c?e:a,n.useCallback(t=>{if(c){let n=Xw(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[c,e,o,s])]}Kw(Jw,`useControllableState`);function Yw({defaultProp:e,onChange:t}){let[r,i]=n.useState(e),a=n.useRef(r),o=n.useRef(t);return qw(()=>{o.current=t},[t]),n.useEffect(()=>{a.current!==r&&(o.current?.(r),a.current=r)},[r,a]),[r,i,o]}Kw(Yw,`useUncontrolledState`);function Xw(e){return typeof e==`function`}Kw(Xw,`isFunction`);var Zw=Symbol(`RADIX:SYNC_STATE`);function Qw(e,t,r,i){let{prop:a,defaultProp:o,onChange:s,caller:c}=t,l=a!==void 0,u=Ww(s),d=[{...r,state:o}];i&&d.push(i);let[f,p]=n.useReducer((t,n)=>{if(n.type===Zw)return{...t,state:n.state};let r=e(t,n);return l&&!Object.is(r.state,t.state)&&u(r.state),r},...d),m=f.state,h=n.useRef(m);n.useEffect(()=>{h.current!==m&&(h.current=m,l||u(m))},[m,h,l]);let g=n.useMemo(()=>a===void 0?f:{...f,state:a},[f,a]);return n.useEffect(()=>{l&&!Object.is(a,f.state)&&p({type:Zw,state:a})},[a,f.state,l]),[g,p]}Kw(Qw,`useControllableStateReducer`);var $w=Object.defineProperty,eT=(e,t)=>$w(e,`name`,{value:t,configurable:!0}),tT=`Popover`,[nT,rT]=JS(tT,[pw]),iT=pw(),[aT,oT]=nT(tT),sT=eT(e=>{let{__scopePopover:t,children:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!1}=e,c=iT(t),l=n.useRef(null),[u,d]=n.useState(!1),[f,p]=Jw({prop:i,defaultProp:a??!1,onChange:o,caller:tT});return(0,P.jsx)(Ew,{...c,children:(0,P.jsx)(aT,{scope:t,contentId:aw(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:u,onCustomAnchorAdd:n.useCallback(()=>d(!0),[]),onCustomAnchorRemove:n.useCallback(()=>d(!1),[]),modal:s,children:r})})},`Popover`),cT=`PopoverTrigger`,lT=n.forwardRef(eT(function(e,t){let{__scopePopover:n,...r}=e,i=oT(cT,n),a=iT(n),o=WS(t,i.triggerRef),s=(0,P.jsx)(pC.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":bT(i.open),...r,ref:o,onClick:FS(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,P.jsx)(Dw,{asChild:!0,...a,children:s})},`PopoverTrigger`)),uT=`PopoverPortal`,[dT,fT]=nT(uT,{forceMount:void 0}),pT=eT(e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=oT(uT,t);return(0,P.jsx)(dT,{scope:t,forceMount:n,children:(0,P.jsx)(Pw,{present:n||a.open,children:(0,P.jsx)(Aw,{asChild:!0,container:i,children:r})})})},`PopoverPortal`),mT=`PopoverContent`,hT=n.forwardRef(eT(function(e,t){let n=fT(mT,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=oT(mT,e.__scopePopover);return(0,P.jsx)(Pw,{present:r||a.open,children:a.modal?(0,P.jsx)(_T,{...i,ref:t}):(0,P.jsx)(vT,{...i,ref:t})})},`PopoverContent`)),gT=QS(`PopoverContent.RemoveScroll`),_T=n.forwardRef(eT(function(e,t){let r=oT(mT,e.__scopePopover),i=n.useRef(null),a=WS(t,i),o=n.useRef(!1);return n.useEffect(()=>{let e=i.current;if(e)return ba(e)},[]),(0,P.jsx)(da,{as:gT,allowPinchZoom:!0,children:(0,P.jsx)(yT,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:FS(e.onCloseAutoFocus,e=>{e.preventDefault(),o.current||r.triggerRef.current?.focus()}),onPointerDownOutside:FS(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;o.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:FS(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},`PopoverContentModal`)),vT=n.forwardRef(eT(function(e,t){let r=oT(mT,e.__scopePopover),i=n.useRef(!1),a=n.useRef(!1);return(0,P.jsx)(yT,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||r.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,t.detail.originalEvent.type===`pointerdown`&&(a.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&a.current&&t.preventDefault()}})},`PopoverContentNonModal`)),yT=n.forwardRef(eT(function(e,t){let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,f=oT(mT,n),p=iT(n);return IC(),(0,P.jsx)(HC,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,P.jsx)(wC,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,P.jsx)(Ow,{"data-state":bT(f.open),role:`dialog`,id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})},`PopoverContentImpl`));function bT(e){return e?`open`:`closed`}eT(bT,`getState`);var xT=sT,ST=lT,CT=pT,wT=hT,TT={content:`_content_bh2vo_1`},ET=({trigger:e,children:t,ariaLabel:n,side:r=`bottom`,align:i=`end`,contentClassName:a})=>{let o=Xa();return(0,P.jsxs)(xT,{children:[(0,P.jsx)(ST,{asChild:!0,children:e}),(0,P.jsx)(CT,{container:o,children:(0,P.jsx)(wT,{className:N(TT.content,a),"aria-label":n,side:r,align:i,sideOffset:8,collisionPadding:8,children:t})})]})},DT=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),OT=`VisuallyHidden`,kT=n.forwardRef((e,t)=>(0,P.jsx)(L.span,{...e,ref:t,style:{...DT,...e.style}}));kT.displayName=OT;var AT=kT,[jT,MT]=Hn(`Tooltip`,[hy]),NT=hy(),PT=`TooltipProvider`,FT=700,IT=`tooltip.open`,[LT,RT]=jT(PT),zT=e=>{let{__scopeTooltip:t,delayDuration:r=FT,skipDelayDuration:i=300,disableHoverableContent:a=!1,children:o}=e,s=n.useRef(!0),c=n.useRef(!1),l=n.useRef(0);return n.useEffect(()=>{let e=l.current;return()=>window.clearTimeout(e)},[]),(0,P.jsx)(LT,{scope:t,isOpenDelayedRef:s,delayDuration:r,onOpen:n.useCallback(()=>{i<=0||(window.clearTimeout(l.current),s.current=!1)},[i]),onClose:n.useCallback(()=>{i<=0||(window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,i))},[i]),isPointerInTransitRef:c,onPointerInTransitChange:n.useCallback(e=>{c.current=e},[]),disableHoverableContent:a,children:o})};zT.displayName=PT;var BT=`Tooltip`,[VT,HT]=jT(BT),UT=e=>{let{__scopeTooltip:t,children:r,open:i,defaultOpen:a,onOpenChange:o,disableHoverableContent:s,delayDuration:c}=e,l=RT(BT,e.__scopeTooltip),u=NT(t),[d,f]=n.useState(null),p=qn(),m=n.useRef(0),h=s??l.disableHoverableContent,g=c??l.delayDuration,_=n.useRef(!1),[v,y]=Yn({prop:i,defaultProp:a??!1,onChange:e=>{e?(l.onOpen(),document.dispatchEvent(new CustomEvent(IT))):l.onClose(),o?.(e)},caller:BT}),b=n.useMemo(()=>v?_.current?`delayed-open`:`instant-open`:`closed`,[v]),x=n.useCallback(()=>{window.clearTimeout(m.current),m.current=0,_.current=!1,y(!0)},[y]),S=n.useCallback(()=>{window.clearTimeout(m.current),m.current=0,y(!1)},[y]),C=n.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{_.current=!0,y(!0),m.current=0},g)},[g,y]);return n.useEffect(()=>()=>{m.current&&=(window.clearTimeout(m.current),0)},[]),(0,P.jsx)(jy,{...u,children:(0,P.jsx)(VT,{scope:t,contentId:p,open:v,stateAttribute:b,trigger:d,onTriggerChange:f,onTriggerEnter:n.useCallback(()=>{l.isOpenDelayedRef.current?C():x()},[l.isOpenDelayedRef,C,x]),onTriggerLeave:n.useCallback(()=>{h?S():(window.clearTimeout(m.current),m.current=0)},[S,h]),onOpen:x,onClose:S,disableHoverableContent:h,children:r})})};UT.displayName=BT;var WT=`TooltipTrigger`,GT=n.forwardRef((e,t)=>{let{__scopeTooltip:r,...i}=e,a=HT(WT,r),o=RT(WT,r),s=NT(r),c=I(t,n.useRef(null),a.onTriggerChange),l=n.useRef(!1),u=n.useRef(!1),d=n.useCallback(()=>l.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener(`pointerup`,d),[d]),(0,P.jsx)(My,{asChild:!0,...s,children:(0,P.jsx)(L.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...i,ref:c,onPointerMove:F(e.onPointerMove,e=>{e.pointerType!==`touch`&&!u.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),u.current=!0)}),onPointerLeave:F(e.onPointerLeave,()=>{a.onTriggerLeave(),u.current=!1}),onPointerDown:F(e.onPointerDown,()=>{a.open&&a.onClose(),l.current=!0,document.addEventListener(`pointerup`,d,{once:!0})}),onFocus:F(e.onFocus,()=>{l.current||a.onOpen()}),onBlur:F(e.onBlur,a.onClose),onClick:F(e.onClick,a.onClose)})})});GT.displayName=WT;var KT=`TooltipPortal`,[qT,JT]=jT(KT,{forceMount:void 0}),YT=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=HT(KT,t);return(0,P.jsx)(qT,{scope:t,forceMount:n,children:(0,P.jsx)(qr,{present:n||a.open,children:(0,P.jsx)(Gr,{asChild:!0,container:i,children:r})})})};YT.displayName=KT;var XT=`TooltipContent`,ZT=n.forwardRef((e,t)=>{let n=JT(XT,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i=`top`,...a}=e,o=HT(XT,e.__scopeTooltip);return(0,P.jsx)(qr,{present:r||o.open,children:o.disableHoverableContent?(0,P.jsx)(nE,{side:i,...a,ref:t}):(0,P.jsx)(QT,{side:i,...a,ref:t})})}),QT=n.forwardRef((e,t)=>{let r=HT(XT,e.__scopeTooltip),i=RT(XT,e.__scopeTooltip),a=n.useRef(null),o=I(t,a),[s,c]=n.useState(null),{trigger:l,onClose:u}=r,d=a.current,{onPointerInTransitChange:f}=i,p=n.useCallback(()=>{c(null),f(!1)},[f]),m=n.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=oE(r,aE(r,n.getBoundingClientRect())),a=sE(t.getBoundingClientRect());c(lE([...i,...a])),f(!0)},[f]);return n.useEffect(()=>()=>p(),[p]),n.useEffect(()=>{if(l&&d){let e=e=>m(e,d),t=e=>m(e,l);return l.addEventListener(`pointerleave`,e),d.addEventListener(`pointerleave`,t),()=>{l.removeEventListener(`pointerleave`,e),d.removeEventListener(`pointerleave`,t)}}},[l,d,m,p]),n.useEffect(()=>{if(s){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=l?.contains(t)||d?.contains(t),i=!cE(n,s);r?p():i&&(p(),u())};return document.addEventListener(`pointermove`,e),()=>document.removeEventListener(`pointermove`,e)}},[l,d,s,u,p]),(0,P.jsx)(nE,{...e,ref:o})}),[$T,eE]=jT(BT,{isInside:!1}),tE=er(`TooltipContent`),nE=n.forwardRef((e,t)=>{let{__scopeTooltip:r,children:i,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:s,...c}=e,l=HT(XT,r),u=NT(r),{onClose:d}=l;return n.useEffect(()=>(document.addEventListener(IT,d),()=>document.removeEventListener(IT,d)),[d]),n.useEffect(()=>{if(l.trigger){let e=e=>{e.target instanceof Node&&e.target.contains(l.trigger)&&d()};return window.addEventListener(`scroll`,e,{capture:!0}),()=>window.removeEventListener(`scroll`,e,{capture:!0})}},[l.trigger,d]),(0,P.jsx)(br,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,P.jsxs)(Ny,{"data-state":l.stateAttribute,...u,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-tooltip-content-available-width":`var(--radix-popper-available-width)`,"--radix-tooltip-content-available-height":`var(--radix-popper-available-height)`,"--radix-tooltip-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-tooltip-trigger-height":`var(--radix-popper-anchor-height)`},children:[(0,P.jsx)(tE,{children:i}),(0,P.jsx)($T,{scope:r,isInside:!0,children:(0,P.jsx)(AT,{id:l.contentId,role:`tooltip`,children:a||i})})]})})});ZT.displayName=XT;var rE=`TooltipArrow`,iE=n.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=NT(n);return eE(rE,n).isInside?null:(0,P.jsx)(Py,{...i,...r,ref:t})});iE.displayName=rE;function aE(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function oE(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function sE(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function cE(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function lE(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:+(e.y>t.y)),uE(t)}function uE(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var dE=zT,fE=UT,pE=GT,mE=YT,hE=ZT,gE=iE,_E={content:`_content_19re1_1`,arrow:`_arrow_19re1_16`},vE=({label:e,children:t,side:n=`top`})=>(0,P.jsxs)(fE,{children:[(0,P.jsx)(pE,{asChild:!0,children:t}),(0,P.jsx)(mE,{children:(0,P.jsxs)(hE,{className:_E.content,side:n,sideOffset:6,children:[e,(0,P.jsx)(gE,{className:_E.arrow})]})})]}),yE=({children:e,delayDuration:t=20})=>(0,P.jsx)(dE,{delayDuration:t,children:e}),bE=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},xE=(e=>e?bE(e):bE),SE=e=>e;function CE(e,t=SE){let r=n.default.useSyncExternalStore(e.subscribe,n.default.useCallback(()=>t(e.getState()),[e,t]),n.default.useCallback(()=>t(e.getInitialState()),[e,t]));return n.default.useDebugValue(r),r}var wE=e=>{let t=xE(e),n=e=>CE(t,e);return Object.assign(n,t),n},TE=(e=>e?wE(e):wE),EE=TE(e=>({toasts:[],add:(t,n=`info`)=>{let r=Math.random().toString(36).substring(2,9);e(e=>({toasts:[...e.toasts,{id:r,message:t,type:n}]})),setTimeout(()=>{e(e=>({toasts:e.toasts.filter(e=>e.id!==r)}))},6e3)},remove:t=>{e(e=>({toasts:e.toasts.filter(e=>e.id!==t)}))}})),DE={success:e=>{EE.getState().add(e,`success`)},error:e=>{EE.getState().add(e,`error`)},info:e=>{EE.getState().add(e,`info`)}},OE=()=>EE(e=>e.toasts),kE=e=>{EE.getState().remove(e)},AE={container:`_container_yjtbg_1`,toast:`_toast_yjtbg_14`,iconWrap:`_iconWrap_yjtbg_29`,type_success:`_type_success_yjtbg_35`,type_error:`_type_error_yjtbg_39`,type_info:`_type_info_yjtbg_43`,message:`_message_yjtbg_47`},jE=()=>{let e=OE();return(0,P.jsx)(`div`,{className:AE.container,role:`status`,"aria-live":`polite`,"aria-atomic":`false`,children:(0,P.jsx)(Vm,{children:e.map(e=>{let t=e.type===`success`?Sn:e.type===`error`?Cn:Tn,n=AE[`type_${e.type}`];return(0,P.jsxs)(Lg.div,{layout:!0,initial:{opacity:0,y:50,scale:.9},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.9,transition:{duration:.2}},className:AE.toast,onClick:()=>{kE(e.id)},children:[(0,P.jsx)(`div`,{className:N(AE.iconWrap,n),children:(0,P.jsx)(t,{size:16})}),(0,P.jsx)(`span`,{className:AE.message,children:e.message})]},e.id)})})})},ME={card:`_card_mk3l2_1`,padSm:`_padSm_mk3l2_8`,padMd:`_padMd_mk3l2_12`,padLg:`_padLg_mk3l2_16`,shadowSm:`_shadowSm_mk3l2_20`,shadowMd:`_shadowMd_mk3l2_24`,interactive:`_interactive_mk3l2_28`},NE=(0,n.forwardRef)(({padding:e=`md`,shadow:t=`sm`,interactive:n=!1,className:r,children:i,...a},o)=>(0,P.jsx)(`div`,{ref:o,className:N(ME.card,e===`sm`&&ME.padSm,e===`md`&&ME.padMd,e===`lg`&&ME.padLg,t===`sm`&&ME.shadowSm,t===`md`&&ME.shadowMd,n&&ME.interactive,r),...a,children:i}));NE.displayName=`Card`;var PE={avatar:`_avatar_eiy4h_1`,circle:`_circle_eiy4h_17`,rounded:`_rounded_eiy4h_21`},FE={xs:`26px`,sm:`30px`,md:`36px`,lg:`42px`},IE={xs:`10px`,sm:`11px`,md:`13px`,lg:`15px`},LE=({initials:e,color:t,size:n=`md`,shape:r=`circle`,className:i})=>(0,P.jsx)(`span`,{className:N(PE.avatar,r===`rounded`?PE.rounded:PE.circle,i),style:En({"--avatar-size":FE[n],"--avatar-font":IE[n],"--avatar-color":t}),"aria-hidden":`true`,children:e}),RE={badge:`_badge_cz5qm_1`,sm:`_sm_cz5qm_14`,toneNeutral:`_toneNeutral_cz5qm_20`,tonePrimary:`_tonePrimary_cz5qm_24`,toneSecondary:`_toneSecondary_cz5qm_28`,toneSuccess:`_toneSuccess_cz5qm_32`,toneDanger:`_toneDanger_cz5qm_36`,toneWarn:`_toneWarn_cz5qm_40`,soft:`_soft_cz5qm_44`,solid:`_solid_cz5qm_50`,outline:`_outline_cz5qm_55`},zE={neutral:RE.toneNeutral,primary:RE.tonePrimary,secondary:RE.toneSecondary,success:RE.toneSuccess,danger:RE.toneDanger,warn:RE.toneWarn},BE={soft:RE.soft,solid:RE.solid,outline:RE.outline},VE=({tone:e=`neutral`,variant:t=`soft`,size:n=`md`,className:r,children:i})=>(0,P.jsx)(`span`,{className:N(RE.badge,n===`sm`&&RE.sm,zE[e],BE[t],r),children:i}),HE={skeleton:`_skeleton_qqc08_1`,skeletonPulse:`_skeletonPulse_qqc08_1`,line:`_line_qqc08_7`,circle:`_circle_qqc08_13`,block:`_block_qqc08_19`},UE=({variant:e=`line`,width:t,height:n,className:r})=>{let i={};return t!==void 0&&(i[`--sk-w`]=t),n!==void 0&&(i[`--sk-h`]=n),(0,P.jsx)(`span`,{className:N(HE.skeleton,e===`line`&&HE.line,e===`circle`&&HE.circle,e===`block`&&HE.block,r),style:En(i),"aria-hidden":`true`})},WE={group:`_group_dsmc8_1`,seg:`_seg_dsmc8_21`,segActive:`_segActive_dsmc8_49`,count:`_count_dsmc8_61`},GE=({options:e,value:t,onChange:n,ariaLabel:r,className:i})=>(0,P.jsx)(`div`,{className:N(WE.group,i),role:`group`,"aria-label":r,children:e.map(e=>{let r=e.value===t;return(0,P.jsxs)(`button`,{type:`button`,className:N(WE.seg,r&&WE.segActive),"aria-pressed":r,onClick:()=>{n(e.value)},children:[e.label,e.count!==void 0&&(0,P.jsx)(`span`,{className:WE.count,children:e.count})]},e.value)})}),KE=(e,t)=>{if(e===null)return!1;let n=typeof t.composedPath==`function`?t.composedPath():[];return n.length>0?!n.includes(e):!e.contains(t.target)},$={container:`_container_wnsra_3`,trigger:`_trigger_wnsra_9`,triggerActive:`_triggerActive_wnsra_43`,timeText:`_timeText_wnsra_52`,icon:`_icon_wnsra_58`,popover:`_popover_wnsra_65`,popoverTop:`_popoverTop_wnsra_79`,popoverBottom:`_popoverBottom_wnsra_83`,popoverLeft:`_popoverLeft_wnsra_87`,popoverRight:`_popoverRight_wnsra_91`,headerPills:`_headerPills_wnsra_97`,pill:`_pill_wnsra_103`,pickerBody:`_pickerBody_wnsra_120`,column:`_column_wnsra_127`,wheelItem:`_wheelItem_wnsra_149`,wheelItemActive:`_wheelItemActive_wnsra_172`,wheelItemDisabled:`_wheelItemDisabled_wnsra_179`},qE=[1,2,3,4,5,6,7,8,9,10,11,12],JE=Array.from({length:60},(e,t)=>t),YE=[`AM`,`PM`],XE=(e,t)=>t===`PM`?e<12?e+12:12:e===12?0:e,ZE=e=>{let t=e.split(`:`);return Number.parseInt(t[0]??`0`,10)*60+Number.parseInt(t[1]??`0`,10)},QE=e=>{let t=e.split(`:`),n=Number.parseInt(t[0]??`9`,10),r=Number.parseInt(t[1]??`0`,10),i=n>=12?`PM`:`AM`,a=n%12==0?12:n%12;return{hour12:a,minute:r,period:i,formatted:`${String(a).padStart(2,`0`)}:${String(r).padStart(2,`0`)} ${i}`}},$E=(e,t,n)=>`${String(XE(e,n)).padStart(2,`0`)}:${String(t).padStart(2,`0`)}`,eD=({items:e,selected:t,formatItem:r,isItemDisabled:i,onSelect:a})=>{let o=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=o.current;e!==null&&typeof e.scrollIntoView==`function`&&e.scrollIntoView({block:`nearest`})},[]),(0,P.jsx)(`div`,{className:$.column,children:e.map(e=>{let n=t===e,s=i?.(e)??!1,c=r===void 0?String(e):r(e);return(0,P.jsx)(`button`,{ref:n?o:null,type:`button`,disabled:s,className:N($.wheelItem,n&&$.wheelItemActive,s&&$.wheelItemDisabled),onClick:t=>{t.stopPropagation(),s||a(e)},children:c},String(e))})})},tD=e=>String(e).padStart(2,`0`),nD=({hour12:e,minute:t,period:n,minMinutes:r,maxMinutes:i,onSelect:a})=>(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(`div`,{className:$.headerPills,children:[(0,P.jsx)(`span`,{className:$.pill,children:tD(e)}),(0,P.jsx)(`span`,{className:$.pill,children:tD(t)}),(0,P.jsx)(`span`,{className:$.pill,children:n})]}),(0,P.jsxs)(`div`,{className:$.pickerBody,children:[(0,P.jsx)(eD,{items:qE,selected:e,formatItem:tD,isItemDisabled:e=>{let t=XE(e,n);return r>t*60+59||i<t*60},onSelect:e=>{a(e,t,n)}}),(0,P.jsx)(eD,{items:JE,selected:t,formatItem:tD,isItemDisabled:t=>{let a=XE(e,n)*60+t;return a<r||a>i},onSelect:t=>{a(e,t,n)}}),(0,P.jsx)(eD,{items:YE,selected:n,isItemDisabled:e=>e===`AM`?r>719:i<720,onSelect:n=>{a(e,t,n)}})]})]}),rD=(e,t,n,r)=>{let i=e,a=t,o=n,s=XE(i,o)*60+a;if(s<r.minM){let e=Math.floor(r.minM/60);a=r.minM%60,o=e>=12?`PM`:`AM`,i=e%12==0?12:e%12}else if(s>r.maxM){let e=Math.floor(r.maxM/60);a=r.maxM%60,o=e>=12?`PM`:`AM`,i=e%12==0?12:e%12}return $E(i,a,o)},iD=({value:e,onChange:t,disabled:r=!1,minTime:i,maxTime:a,className:o,align:s=`start`,side:c=`top`})=>{let[l,u]=(0,n.useState)(!1),d=(0,n.useRef)(null),{hour12:f,minute:p,period:m,formatted:h}=QE(e),g=i===void 0?0:ZE(i),_=a===void 0?1439:ZE(a);return(0,n.useEffect)(()=>{if(!l)return;let e=e=>{KE(d.current,e)&&u(!1)},t=e=>{e.key===`Escape`&&u(!1)};return document.addEventListener(`pointerdown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`pointerdown`,e),document.removeEventListener(`keydown`,t)}},[l]),(0,P.jsxs)(`div`,{ref:d,className:N($.container,o),children:[(0,P.jsxs)(`button`,{type:`button`,disabled:r,className:N($.trigger,l&&$.triggerActive),onClick:()=>{u(e=>!e)},children:[(0,P.jsx)(`span`,{className:$.timeText,children:h}),(0,P.jsx)(wn,{size:13,className:$.icon})]}),l?(0,P.jsx)(`div`,{className:N($.popover,c===`top`?$.popoverTop:$.popoverBottom,s===`end`?$.popoverRight:$.popoverLeft),children:(0,P.jsx)(nD,{hour12:f,minute:p,period:m,minMinutes:g,maxMinutes:_,onSelect:(e,n,r)=>{t(rD(e,n,r,{minM:g,maxM:_}))}})}):null]})},aD=({container:e,children:t})=>(0,P.jsx)(Ya.Provider,{value:e,children:t}),oD=TE(e=>({activeMeeting:null,isJoined:!1,requestedMeetingId:null,setActiveMeeting:t=>{e({activeMeeting:t})},setJoined:t=>{e({isJoined:t})},setRequestedMeetingId:t=>{e({requestedMeetingId:t})},leaveActiveMeeting:()=>{e({activeMeeting:null,isJoined:!1,requestedMeetingId:null})}}));Object.defineProperty(exports,"$",{enumerable:!0,get:function(){return Fn}}),Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return Ku}}),Object.defineProperty(exports,"B",{enumerable:!0,get:function(){return qo}}),Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return Lg}}),Object.defineProperty(exports,"D",{enumerable:!0,get:function(){return Od}}),Object.defineProperty(exports,"E",{enumerable:!0,get:function(){return Am}}),Object.defineProperty(exports,"F",{enumerable:!0,get:function(){return ml}}),Object.defineProperty(exports,"G",{enumerable:!0,get:function(){return mo}}),Object.defineProperty(exports,"H",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"I",{enumerable:!0,get:function(){return hl}}),Object.defineProperty(exports,"J",{enumerable:!0,get:function(){return ro}}),Object.defineProperty(exports,"K",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"L",{enumerable:!0,get:function(){return Fc}}),Object.defineProperty(exports,"M",{enumerable:!0,get:function(){return ql}}),Object.defineProperty(exports,"N",{enumerable:!0,get:function(){return Wl}}),Object.defineProperty(exports,"O",{enumerable:!0,get:function(){return Ju}}),Object.defineProperty(exports,"P",{enumerable:!0,get:function(){return Kl}}),Object.defineProperty(exports,"Q",{enumerable:!0,get:function(){return zn}}),Object.defineProperty(exports,"R",{enumerable:!0,get:function(){return Tc}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return zg}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return Vm}}),Object.defineProperty(exports,"U",{enumerable:!0,get:function(){return yo}}),Object.defineProperty(exports,"V",{enumerable:!0,get:function(){return B}}),Object.defineProperty(exports,"W",{enumerable:!0,get:function(){return _o}}),Object.defineProperty(exports,"X",{enumerable:!0,get:function(){return Qa}}),Object.defineProperty(exports,"Y",{enumerable:!0,get:function(){return $a}}),Object.defineProperty(exports,"Z",{enumerable:!0,get:function(){return Xa}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return qg}}),Object.defineProperty(exports,"_t",{enumerable:!0,get:function(){return Pe}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return UE}}),Object.defineProperty(exports,"at",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return Bg}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return jE}}),Object.defineProperty(exports,"ct",{enumerable:!0,get:function(){return xn}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return CE}}),Object.defineProperty(exports,"dt",{enumerable:!0,get:function(){return lt}}),Object.defineProperty(exports,"et",{enumerable:!0,get:function(){return Nn}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return xE}}),Object.defineProperty(exports,"ft",{enumerable:!0,get:function(){return ut}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return jS}}),Object.defineProperty(exports,"gt",{enumerable:!0,get:function(){return je}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return ET}}),Object.defineProperty(exports,"ht",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return GE}}),Object.defineProperty(exports,"it",{enumerable:!0,get:function(){return En}}),Object.defineProperty(exports,"j",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return qu}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return DE}}),Object.defineProperty(exports,"lt",{enumerable:!0,get:function(){return bn}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return yE}}),Object.defineProperty(exports,"mt",{enumerable:!0,get:function(){return pt}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return aD}}),Object.defineProperty(exports,"nt",{enumerable:!0,get:function(){return kn}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return VE}}),Object.defineProperty(exports,"ot",{enumerable:!0,get:function(){return wn}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return vE}}),Object.defineProperty(exports,"pt",{enumerable:!0,get:function(){return dt}}),Object.defineProperty(exports,"q",{enumerable:!0,get:function(){return oo}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return iD}}),Object.defineProperty(exports,"rt",{enumerable:!0,get:function(){return Dn}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return LE}}),Object.defineProperty(exports,"st",{enumerable:!0,get:function(){return Sn}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return oD}}),Object.defineProperty(exports,"tt",{enumerable:!0,get:function(){return jn}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return TE}}),Object.defineProperty(exports,"ut",{enumerable:!0,get:function(){return $t}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return Gg}}),Object.defineProperty(exports,"vt",{enumerable:!0,get:function(){return Fe}}),Object.defineProperty(exports,"w",{enumerable:!0,get:function(){return eh}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return Rg}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return Ug}}),Object.defineProperty(exports,"z",{enumerable:!0,get:function(){return Cc}});
52
+ //# sourceMappingURL=use-active-meeting-store-BYNg3cF3.cjs.map