uigraph 1.0.0 → 1.0.1

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 (319) hide show
  1. package/dist/bin.mjs +134 -56911
  2. package/dist/viewer/assets/abnfDiagram-VCTEODGH-D7zWJuPJ.js +1 -0
  3. package/dist/viewer/assets/actor-avatar-Bu-mKKXB.js +1 -0
  4. package/dist/viewer/assets/{api-adapters-CnQpLiWI.js → api-adapters-tfr51BsS.js} +1 -1
  5. package/dist/viewer/assets/{api-endpoints-DCA5GNpC.js → api-endpoints-D-Whnnwd.js} +9 -9
  6. package/dist/viewer/assets/{api-group-endpoints-page-Di42W69y.js → api-group-endpoints-page-B9R1EI4i.js} +9 -9
  7. package/dist/viewer/assets/{arc-Cn8owoDw.js → arc-DauzQXFu.js} +1 -1
  8. package/dist/viewer/assets/architectureDiagram-5GKGNRK7-CXzgHd-c.js +36 -0
  9. package/dist/viewer/assets/{arrow-left-DWcMgM2U.js → arrow-left-DpQqmf17.js} +1 -1
  10. package/dist/viewer/assets/avatar-DAFUyk1i.js +43 -0
  11. package/dist/viewer/assets/badge-hR3QvPWv.js +1 -0
  12. package/dist/viewer/assets/better-delete-confirmation-modal-CGEQ5O4X.js +1 -0
  13. package/dist/viewer/assets/better-dialog-DcIxFWwk.js +1 -0
  14. package/dist/viewer/assets/{blockDiagram-I7D4REHJ-CbYzOsL_.js → blockDiagram-I7D4REHJ-CFHWUw4z.js} +2 -2
  15. package/dist/viewer/assets/{brands-Bd4RklRx.js → brands-DtmA1AhP.js} +1 -1
  16. package/dist/viewer/assets/button-DZj74qS7.js +1 -0
  17. package/dist/viewer/assets/{c4Diagram-7LVT6UL2-CLkVbphC.js → c4Diagram-7LVT6UL2-BHSggPKI.js} +6 -6
  18. package/dist/viewer/assets/{calendar-C0xdI_ag.js → calendar-Bolgc8E5.js} +1 -1
  19. package/dist/viewer/assets/channel-CNRSofFP.js +1 -0
  20. package/dist/viewer/assets/{check-XjanpAFg.js → check-BpmCQNbj.js} +1 -1
  21. package/dist/viewer/assets/checkbox-CFJfXL6R.js +1 -0
  22. package/dist/viewer/assets/{chevron-down-R7pQzyLD.js → chevron-down-DDsUE_xz.js} +1 -1
  23. package/dist/viewer/assets/{chevron-up-CRPypfOs.js → chevron-up-DVznKMGv.js} +1 -1
  24. package/dist/viewer/assets/{chunk-2Q5K7J3B-CcvtugCu.js → chunk-2Q5K7J3B-CNfz5YDQ.js} +1 -1
  25. package/dist/viewer/assets/{chunk-5VM5RSS4-CpZHHr12.js → chunk-5VM5RSS4-CwIhjvMe.js} +1 -1
  26. package/dist/viewer/assets/{chunk-F27PBJKO-DeAl4iOc.js → chunk-F27PBJKO-YFexFJof.js} +1 -1
  27. package/dist/viewer/assets/{chunk-IMKFNOWR-BfrPe7pS.js → chunk-IMKFNOWR-GY2yrvuo.js} +1 -1
  28. package/dist/viewer/assets/{chunk-JWPE2WC7-DDjyvUmZ.js → chunk-JWPE2WC7-xd0JGvne.js} +1 -1
  29. package/dist/viewer/assets/chunk-OB3PAWPO-DJIP1M4r.js +12 -0
  30. package/dist/viewer/assets/{chunk-POPQ4Y6H-DkDb0mzz.js → chunk-POPQ4Y6H-Bh6rizEy.js} +1 -1
  31. package/dist/viewer/assets/{chunk-SVP7TREG-D-K2XIGs.js → chunk-SVP7TREG-DtNrjvpq.js} +1 -1
  32. package/dist/viewer/assets/{chunk-TICWLB2K-DWMQQx6z.js → chunk-TICWLB2K-DrERwtw8.js} +1 -1
  33. package/dist/viewer/assets/{chunk-XXDRQBXY-DfkljAyM.js → chunk-XXDRQBXY-fYo04iwY.js} +1 -1
  34. package/dist/viewer/assets/{circle-alert-pm13M-Ef.js → circle-alert-Bl7DXYD_.js} +1 -1
  35. package/dist/viewer/assets/classDiagram-ZZMXUADV-D7PO-ME9.js +1 -0
  36. package/dist/viewer/assets/classDiagram-v2-VYDZK3BY-D7PO-ME9.js +1 -0
  37. package/dist/viewer/assets/color-input-ClkkG_kZ.js +11 -0
  38. package/dist/viewer/assets/{common-Y7ySZBdh.js → common-DLCsGQ-t.js} +1 -1
  39. package/dist/viewer/assets/{component-icons-D1BDAuEt.js → component-icons-MJ61E9nt.js} +2 -2
  40. package/dist/viewer/assets/{copy-CN4K2f_R.js → copy-DMJJonQF.js} +1 -1
  41. package/dist/viewer/assets/cose-bilkent-JH36ORCC-Dplz8nVT.js +1 -0
  42. package/dist/viewer/assets/cross-button-D5qst1tj.js +1 -0
  43. package/dist/viewer/assets/{cynefin-OW5HDTMX-yz-uw9Kz.js → cynefin-OW5HDTMX-DiBs4CI8.js} +1 -1
  44. package/dist/viewer/assets/cynefinDiagram-5FMLGOSQ-COXS8-dI.js +62 -0
  45. package/dist/viewer/assets/{dagre-GXQ25YYZ-zjZDwXOe.js → dagre-GXQ25YYZ-K8qvfG8D.js} +2 -2
  46. package/dist/viewer/assets/dashboard-diagrams-page-Cb0xNr4W.js +2 -0
  47. package/dist/viewer/assets/dashboard-diagrams-page-inner-CD--zr5q.js +1 -0
  48. package/dist/viewer/assets/dashboard-docs-page-BfWR9Ai9.js +2 -0
  49. package/dist/viewer/assets/dashboard-docs-page-inner-BLbX-YwF.js +67 -0
  50. package/dist/viewer/assets/dashboard-layout-sTeeHNsZ.js +1 -0
  51. package/dist/viewer/assets/dashboard-lens-layout-D-tu_4kn.js +1 -0
  52. package/dist/viewer/assets/dashboard-map-frame-page-7pDmbTSe.js +1 -0
  53. package/dist/viewer/assets/dashboard-plans-page-CfwOZ34A.js +1 -0
  54. package/dist/viewer/assets/dashboard-service-apis-k93fjW51.js +1 -0
  55. package/dist/viewer/assets/{dashboard-service-diagrams-CIjk95Jk.js → dashboard-service-diagrams-BIWUxX-Y.js} +3 -3
  56. package/dist/viewer/assets/dashboard-service-docs-CnniTD6Q.js +1 -0
  57. package/dist/viewer/assets/{dashboard-service-overview-CzePVPjl.js → dashboard-service-overview-CGBu4omY.js} +5 -5
  58. package/dist/viewer/assets/dashboard-services-DEscIO2O.js +1 -0
  59. package/dist/viewer/assets/{db-type-badge-DOgu1Pyc.js → db-type-badge-UbPgpwQf.js} +2 -2
  60. package/dist/viewer/assets/debounce-Cp8eREM4-D7o-Pzb-.js +2 -0
  61. package/dist/viewer/assets/{dependencies-CYdEztHw.js → dependencies-DK2GDlhQ.js} +1 -1
  62. package/dist/viewer/assets/{dependency-graph-DbyfN-rC.js → dependency-graph-xBEnCS0J.js} +3 -3
  63. package/dist/viewer/assets/{diagram-S7CK7UJ4-q-NHkUCx.js → diagram-S7CK7UJ4-D-liadVe.js} +2 -2
  64. package/dist/viewer/assets/diagram-UQ7AKVKN-CnA8mgXp.js +41 -0
  65. package/dist/viewer/assets/{diagram-VSXAHHWV-DZc1kHGx.js → diagram-VSXAHHWV-Ck7dgRFR.js} +2 -2
  66. package/dist/viewer/assets/diagram-VX7I27RA-Cm1LHbu3.js +24 -0
  67. package/dist/viewer/assets/diagram-Z3DM3KII-DV3yBUCB.js +24 -0
  68. package/dist/viewer/assets/diagram-live-preview-DzJ7Nxp1.js +2 -0
  69. package/dist/viewer/assets/{diagram-portal-page-CWxuok9E.js → diagram-portal-page-gguGLULH.js} +24 -24
  70. package/dist/viewer/assets/{diagrams-C1xkRPqT.js → diagrams-BqBSv2eb.js} +4 -4
  71. package/dist/viewer/assets/dialog-D7wzTt0L.js +6 -0
  72. package/dist/viewer/assets/{doc-file-content-B06roi8L.js → doc-file-content-Be0au9Vo.js} +4 -4
  73. package/dist/viewer/assets/{download-CLdCXVsO.js → download-DhyZ3g4F.js} +1 -1
  74. package/dist/viewer/assets/ebnfDiagram-PWID7BFC-BXbHVQvG.js +1 -0
  75. package/dist/viewer/assets/{editor-vqK4qAnB.js → editor-F9o4zoeB.js} +2 -2
  76. package/dist/viewer/assets/{erDiagram-RLTQ6QDP-BWuA-aqV.js → erDiagram-RLTQ6QDP-DMfiWput.js} +2 -2
  77. package/dist/viewer/assets/{file-text-BvszilVL.js → file-text-BFqJQ67P.js} +1 -1
  78. package/dist/viewer/assets/flow-diagram-preview-B83UU1n_.js +1 -0
  79. package/dist/viewer/assets/{flowDiagram-HODETNUW-Db0QtNj4.js → flowDiagram-HODETNUW-BNFS2Mkr.js} +1 -1
  80. package/dist/viewer/assets/ganttDiagram-EL5Y4UJY-DFDsYJNp.js +292 -0
  81. package/dist/viewer/assets/gitGraphDiagram-WWUBYQGX-BVHabPDp.js +106 -0
  82. package/dist/viewer/assets/global-loader-XJO9_e0l.js +1 -0
  83. package/dist/viewer/assets/{globe-Jl6eIZmG.js → globe-CJ35KsQW.js} +1 -1
  84. package/dist/viewer/assets/gql-FFIj8zdp.js +1 -0
  85. package/dist/viewer/assets/{grid-scroll-body-CPqSxU6-.js → grid-scroll-body-DC5pYDPJ.js} +2 -2
  86. package/dist/viewer/assets/iconBase-DtqdW2XR.js +1 -0
  87. package/dist/viewer/assets/index-B6MxYIzs.js +1 -0
  88. package/dist/viewer/assets/index-BC5xdBQU.js +48 -0
  89. package/dist/viewer/assets/index-BIrx3oY4.js +1 -0
  90. package/dist/viewer/assets/{index-jm22RWpY.js → index-BZGsDmUx.js} +5 -5
  91. package/dist/viewer/assets/{index-Poftp9f1.js → index-BZXhpoWr.js} +4 -4
  92. package/dist/viewer/assets/index-Bn2bqqMd.js +1 -0
  93. package/dist/viewer/assets/{index-HU5pz3kj.js → index-BpCVYTvP.js} +36 -36
  94. package/dist/viewer/assets/{index-Bt2YHgxl.js → index-CBOYhBKJ.js} +1 -1
  95. package/dist/viewer/assets/index-CH7cEAxj.js +17 -0
  96. package/dist/viewer/assets/index-CIf0GId3.js +74 -0
  97. package/dist/viewer/assets/{index-D7MEHpJf.js → index-Ck66Ic_p.js} +4 -4
  98. package/dist/viewer/assets/index-Cp9mIQ8F.js +1 -0
  99. package/dist/viewer/assets/{index-c6Bxcoqm.js → index-DDmBuMKI.js} +1 -1
  100. package/dist/viewer/assets/{index-BSyJbFDG.js → index-DY3BFyb6.js} +1 -1
  101. package/dist/viewer/assets/{index-BS94XVnd.js → index-DkzZ-ZvR.js} +1 -1
  102. package/dist/viewer/assets/{index-C_43VC19.js → index-PglMbhys.js} +1 -1
  103. package/dist/viewer/assets/infoDiagram-27XIBGKW-CG-wwxBf.js +2 -0
  104. package/dist/viewer/assets/input--C59pq6j.js +1 -0
  105. package/dist/viewer/assets/{ishikawaDiagram-5VMMS53U-C4PzFnZ4.js → ishikawaDiagram-5VMMS53U-BlgV7ceJ.js} +2 -2
  106. package/dist/viewer/assets/{journeyDiagram-3NMN7TZE-Dpn3bBNo.js → journeyDiagram-3NMN7TZE-Cn03_Xl6.js} +2 -2
  107. package/dist/viewer/assets/{kanban-definition-UXKFOSKX-CJ99H4G6.js → kanban-definition-UXKFOSKX-CJogvDPY.js} +6 -6
  108. package/dist/viewer/assets/{layout-Bfvxt_D5.js → layout-B26eC4yQ.js} +1 -1
  109. package/dist/viewer/assets/{lens-run-page-DZneics-.js → lens-run-page-Ba1ppzJt.js} +3 -3
  110. package/dist/viewer/assets/lens-runs-page-BnUS57LM.js +1 -0
  111. package/dist/viewer/assets/{link-2-C75goIOt.js → link-2-D1e0xznG.js} +1 -1
  112. package/dist/viewer/assets/linked-project-dot-BY1gEES9.js +543 -0
  113. package/dist/viewer/assets/{loader-circle-C5jZoM7X.js → loader-circle-CiqyoJF7.js} +1 -1
  114. package/dist/viewer/assets/{merge-Cy7YkrN7.js → merge-BhOMvhW1.js} +1 -1
  115. package/dist/viewer/assets/mermaid.core-BDgZg3kW.js +312 -0
  116. package/dist/viewer/assets/method-badge-DErZP7y5.js +1 -0
  117. package/dist/viewer/assets/{mindmap-definition-YA3MSWOX-yQCKA-K4.js → mindmap-definition-YA3MSWOX-DFkLu0ac.js} +2 -2
  118. package/dist/viewer/assets/nav-links-DZWMpwMR.js +61 -0
  119. package/dist/viewer/assets/{network-COWNXGMM.js → network-B1apzT1s.js} +1 -1
  120. package/dist/viewer/assets/{nosql-editor-modal-DTiWkc_r.js → nosql-editor-modal-CvH0SWAi.js} +5 -5
  121. package/dist/viewer/assets/not-found-page-C-fn8QeM.js +1 -0
  122. package/dist/viewer/assets/organization-dependency-graph-page-BryP-iJL.js +1 -0
  123. package/dist/viewer/assets/pegDiagram-XKGWAZYB-g1cM14-L.js +1 -0
  124. package/dist/viewer/assets/{pieDiagram-E7YTZNPT-DqnkpCX4.js → pieDiagram-E7YTZNPT-WEnDsMY3.js} +2 -2
  125. package/dist/viewer/assets/{plus-DQakmTjA.js → plus-DbyuOgKB.js} +1 -1
  126. package/dist/viewer/assets/popover-476u3TN0.js +1 -0
  127. package/dist/viewer/assets/preload-helper-BlTxHScW.js +1 -0
  128. package/dist/viewer/assets/{quadrantDiagram-AXDQQJYC-iQjJfars.js → quadrantDiagram-AXDQQJYC-NdfQCpzF.js} +2 -2
  129. package/dist/viewer/assets/query-D9oj6LGx.js +50 -0
  130. package/dist/viewer/assets/{quill-rCHj4fCw.js → quill-Cde5JMRD.js} +1 -1
  131. package/dist/viewer/assets/railroadDiagram-O6MQD6OU-BYhlXlMY.js +1 -0
  132. package/dist/viewer/assets/{react-BNzYaZuG.js → react-Bx48XWN4.js} +1 -1
  133. package/dist/viewer/assets/react-flow-wrapper-BcbvHgxz.js +277 -0
  134. package/dist/viewer/assets/{requirementDiagram-BXWQKSXE-Bv-Vh1dW.js → requirementDiagram-BXWQKSXE-C25Bcm2L.js} +2 -2
  135. package/dist/viewer/assets/{sankeyDiagram-P5KCCOFB-C__uD07f.js → sankeyDiagram-P5KCCOFB-h8LiCsgk.js} +2 -2
  136. package/dist/viewer/assets/scroll-area-RagrStGj.js +6 -0
  137. package/dist/viewer/assets/{search-DW-qhXLk.js → search-vw7ucoOs.js} +1 -1
  138. package/dist/viewer/assets/section-loader-C4hOfhQS.js +1 -0
  139. package/dist/viewer/assets/section-not-found-BnrXiPog.js +1 -0
  140. package/dist/viewer/assets/select-D9fbrr7O.js +1 -0
  141. package/dist/viewer/assets/{sequenceDiagram-WJ2MYXX4-1RbvcHwO.js → sequenceDiagram-WJ2MYXX4-CDRVvD30.js} +2 -2
  142. package/dist/viewer/assets/{service-context-C17u_Fw9.js → service-context-D5nBtU18.js} +1 -1
  143. package/dist/viewer/assets/{service-database-list-page-cYuDHIls.js → service-database-list-page-DBjaDLVy.js} +2 -2
  144. package/dist/viewer/assets/service-database-page-CenNCgwf.js +2 -0
  145. package/dist/viewer/assets/service-database-page-inner-gS51TQTZ.js +85 -0
  146. package/dist/viewer/assets/{service-doc-Dir8g83J.js → service-doc-C-jHqT1U.js} +4 -4
  147. package/dist/viewer/assets/{service-doc-preview-modal-bJ6tJ5YR.js → service-doc-preview-modal-5sX6FOu1.js} +2 -2
  148. package/dist/viewer/assets/service-layout-Bf0vZBCH.js +1 -0
  149. package/dist/viewer/assets/service-pages-CFikvX4t.js +1 -0
  150. package/dist/viewer/assets/{services-Crqkffr5.js → services-Ivav34WC.js} +4 -4
  151. package/dist/viewer/assets/{share-2-BmYmqN4k.js → share-2-CQEaWbfH.js} +1 -1
  152. package/dist/viewer/assets/sizeCapture-INFHLROL-BJ6ndnPM.js +1 -0
  153. package/dist/viewer/assets/stateDiagram-D77RDMKH-B_tNCX3o.js +1 -0
  154. package/dist/viewer/assets/stateDiagram-v2-MP3YSRHH-Dl9wqdli.js +1 -0
  155. package/dist/viewer/assets/{style-DgSU0bQl.js → style-BPesJvJr.js} +8 -8
  156. package/dist/viewer/assets/super-circle-loader-DSkos6uP.js +1 -0
  157. package/dist/viewer/assets/super-logo-loader-Cxlbn6MB.js +1 -0
  158. package/dist/viewer/assets/swimlanes-42K2YHIH-CzURzYwf.js +1 -0
  159. package/dist/viewer/assets/swimlanesDiagram-VR7AAH4N-DrIlwFtk.js +8 -0
  160. package/dist/viewer/assets/table-B4pFND-o.js +1 -0
  161. package/dist/viewer/assets/textarea-Clgdv3Oi.js +1 -0
  162. package/dist/viewer/assets/{timeline-definition-24CTP7MA-C4yuLwUH.js → timeline-definition-24CTP7MA-D0YXQE1U.js} +2 -2
  163. package/dist/viewer/assets/ui-graph-logo-gHowu5gP.js +1 -0
  164. package/dist/viewer/assets/{upload-CRsS43j9.js → upload-CYb3nN_5.js} +1 -1
  165. package/dist/viewer/assets/{uploads-BOQHX9l4.js → uploads-CX2kdXbM.js} +8 -8
  166. package/dist/viewer/assets/{use-debounced-value-Ba-kkCUY.js → use-debounced-value-BpNFJd3C.js} +1 -1
  167. package/dist/viewer/assets/{use-localstorage-DIisTx-J.js → use-localstorage-D233xVb0.js} +1 -1
  168. package/dist/viewer/assets/use-permissions-BvmxJJ5r.js +1 -0
  169. package/dist/viewer/assets/{use-scoped-storage-C4RzED-E.js → use-scoped-storage-DL1XVp1j.js} +1 -1
  170. package/dist/viewer/assets/useMutation-D5ZHwHsx.js +1 -0
  171. package/dist/viewer/assets/useQuery-Dhe6uxrL.js +1 -0
  172. package/dist/viewer/assets/{vennDiagram-4TSXK5OY-BCtqXZqe.js → vennDiagram-4TSXK5OY-SSjHlqCQ.js} +2 -2
  173. package/dist/viewer/assets/{wardleyDiagram-VM6X3IG4-D3OtZJoT.js → wardleyDiagram-VM6X3IG4-CZWNdQxH.js} +2 -2
  174. package/dist/viewer/assets/{xychartDiagram-S5SC5T6Z-DxLL2CHH.js → xychartDiagram-S5SC5T6Z-B2qAGeb0.js} +2 -2
  175. package/dist/viewer/assets/zod-BMU4UTQt.js +1 -0
  176. package/dist/viewer/index.html +10 -1
  177. package/package.json +56 -56
  178. package/dist/abort-signals-B4fc3ahg.mjs +0 -34
  179. package/dist/anthropic-messages-KPxCHqBN.mjs +0 -14327
  180. package/dist/auth-storage-BvNH97p9.mjs +0 -2180
  181. package/dist/azure-openai-config-BbeCSg4y.mjs +0 -55
  182. package/dist/azure-openai-responses-BRzy8RfL.mjs +0 -182
  183. package/dist/classifier-shared-DBUHiTGw.mjs +0 -105
  184. package/dist/cli-2R6QQFp1.mjs +0 -451
  185. package/dist/cloudflare-workers-ai-system-one-BfqwmRQf.mjs +0 -44
  186. package/dist/config-D8DMGzIq.mjs +0 -647
  187. package/dist/cross-spawn-B2jIQPlu.mjs +0 -404
  188. package/dist/diagnostics-xdSgQR8t.mjs +0 -131
  189. package/dist/dist-BRyghrKX.mjs +0 -404
  190. package/dist/dist-D0EzrblG.mjs +0 -12161
  191. package/dist/dist-EKhnHWHG.mjs +0 -140221
  192. package/dist/dist-pQtuusFv.mjs +0 -1243
  193. package/dist/easter-egg-3d-C9_btlWn.mjs +0 -1225
  194. package/dist/env-api-keys-uytNub6O.mjs +0 -122
  195. package/dist/error-body-FhmCtR7m.mjs +0 -101
  196. package/dist/esm-D5isprgl.mjs +0 -1533
  197. package/dist/esm-DnqE4pfM.mjs +0 -104876
  198. package/dist/execute-BoTKl80U.mjs +0 -1715
  199. package/dist/github-copilot-headers-DWcTgoXr.mjs +0 -22
  200. package/dist/google-generative-ai-Brs5YpJo.mjs +0 -332
  201. package/dist/google-shared-2CyYa4VE.mjs +0 -33438
  202. package/dist/google-vertex-DZDUQPKa.mjs +0 -378
  203. package/dist/hash-DN7ukSfd.mjs +0 -16
  204. package/dist/headers-GhQHLk-3.mjs +0 -17
  205. package/dist/jiti-9kWALm4Y.mjs +0 -5439
  206. package/dist/jiti-loader-f21DrY1K.mjs +0 -27
  207. package/dist/jiti-static-loader-BI_w28l7.mjs +0 -41704
  208. package/dist/json-parse-B2mHg7o7.mjs +0 -381
  209. package/dist/keybinding-hints-D0nLU3ZH.mjs +0 -17899
  210. package/dist/lib-Dj1gKQJc.mjs +0 -24379
  211. package/dist/llama-cpp-classify-C73BoMYd.mjs +0 -344
  212. package/dist/mistral-conversations-DXVR7znL.mjs +0 -698
  213. package/dist/models-DBdii9gQ.mjs +0 -1255
  214. package/dist/multipart-parser-DLw9Z0uJ.mjs +0 -298
  215. package/dist/node-B0NU8X55.mjs +0 -2479
  216. package/dist/node-B8gaKm9g.mjs +0 -23
  217. package/dist/openai-I3_AqKDX.mjs +0 -17357
  218. package/dist/openai-codex-responses-PcZHDuBD.mjs +0 -1198
  219. package/dist/openai-completions-a_mH01ii.mjs +0 -994
  220. package/dist/openai-decisions-Du8y4mQG.mjs +0 -142
  221. package/dist/openai-prompt-cache-Bc6qNWt0.mjs +0 -8
  222. package/dist/openai-responses-a9lV_U7O.mjs +0 -270
  223. package/dist/openai-responses-shared-CDs_PBiH.mjs +0 -598
  224. package/dist/openrouter-images-D0Zc8Cjs.mjs +0 -125
  225. package/dist/photon_rs-DCvMOMu0.mjs +0 -4252
  226. package/dist/pi-messages-B5ietIBq.mjs +0 -306
  227. package/dist/provider-env-BJhgA66g.mjs +0 -37
  228. package/dist/provider-retry-DXYM7rVE.mjs +0 -79
  229. package/dist/runtime-DTkBxiaM.mjs +0 -2822
  230. package/dist/sanitize-unicode-CqChtoM6.mjs +0 -26
  231. package/dist/shell-836_JFnI.mjs +0 -162
  232. package/dist/source-CKPndhKl.mjs +0 -478
  233. package/dist/src-DNm2QRm3.mjs +0 -5028
  234. package/dist/system-one-shared-DUAFtNa8.mjs +0 -75
  235. package/dist/token-DEUkymby.mjs +0 -56
  236. package/dist/token-util-Cx5S4eKt.mjs +0 -3
  237. package/dist/tool-DHDYqsyG.mjs +0 -6673
  238. package/dist/transform-messages-BClk99Vn.mjs +0 -477
  239. package/dist/typesafe-system-one-D2d8j8hZ.mjs +0 -24
  240. package/dist/typescript-Br-vsRJV.mjs +0 -6737
  241. package/dist/uuid-CNCZqNBb.mjs +0 -49
  242. package/dist/v2-1z8ijsD3.mjs +0 -6120
  243. package/dist/viewer/assets/abnfDiagram-VCTEODGH-j5YaKnl9.js +0 -1
  244. package/dist/viewer/assets/actor-avatar-DqmoY8Xc.js +0 -1
  245. package/dist/viewer/assets/architectureDiagram-5GKGNRK7-D80cJKz_.js +0 -36
  246. package/dist/viewer/assets/avatar-BI7D-Aia.js +0 -43
  247. package/dist/viewer/assets/badge-870-A4Y6.js +0 -1
  248. package/dist/viewer/assets/better-delete-confirmation-modal-Dib31LVb.js +0 -1
  249. package/dist/viewer/assets/better-dialog-D3AAiahr.js +0 -1
  250. package/dist/viewer/assets/button-DadqadpO.js +0 -1
  251. package/dist/viewer/assets/channel-DRkt3LIn.js +0 -1
  252. package/dist/viewer/assets/checkbox-BXpR079x.js +0 -1
  253. package/dist/viewer/assets/classDiagram-ZZMXUADV-G5CebNaC.js +0 -1
  254. package/dist/viewer/assets/classDiagram-v2-VYDZK3BY-G5CebNaC.js +0 -1
  255. package/dist/viewer/assets/color-input-Efm-lxDy.js +0 -11
  256. package/dist/viewer/assets/cose-bilkent-JH36ORCC-CrSHFmnp.js +0 -1
  257. package/dist/viewer/assets/cross-button-5Sr5rWVP.js +0 -1
  258. package/dist/viewer/assets/cynefinDiagram-5FMLGOSQ-Bdl_eBdu.js +0 -62
  259. package/dist/viewer/assets/dashboard-diagrams-page-DMupOe1m.js +0 -2
  260. package/dist/viewer/assets/dashboard-diagrams-page-inner-Dh0yKh2A.js +0 -1
  261. package/dist/viewer/assets/dashboard-docs-page-DWJ1qOQz.js +0 -2
  262. package/dist/viewer/assets/dashboard-docs-page-inner-Fs6G3oGo.js +0 -67
  263. package/dist/viewer/assets/dashboard-layout-D36InAaB.js +0 -1
  264. package/dist/viewer/assets/dashboard-lens-layout-Cv1Xx3hY.js +0 -1
  265. package/dist/viewer/assets/dashboard-map-frame-page-CTn61NUO.js +0 -1
  266. package/dist/viewer/assets/dashboard-plans-page-DxFJkrgK.js +0 -1
  267. package/dist/viewer/assets/dashboard-service-apis-BHtD9s5z.js +0 -1
  268. package/dist/viewer/assets/dashboard-service-docs-Uv_1uxxO.js +0 -1
  269. package/dist/viewer/assets/dashboard-services-CUP-L4Jg.js +0 -1
  270. package/dist/viewer/assets/diagram-UQ7AKVKN-DhFcurW6.js +0 -41
  271. package/dist/viewer/assets/diagram-VX7I27RA-DE1nREE8.js +0 -24
  272. package/dist/viewer/assets/diagram-Z3DM3KII-CSrYcCbc.js +0 -24
  273. package/dist/viewer/assets/diagram-live-preview-i5doxXLH.js +0 -2
  274. package/dist/viewer/assets/dialog-D_HtNS17.js +0 -6
  275. package/dist/viewer/assets/ebnfDiagram-PWID7BFC-BfL8m_sf.js +0 -1
  276. package/dist/viewer/assets/flow-diagram-preview-T0Z4iMVU.js +0 -1
  277. package/dist/viewer/assets/ganttDiagram-EL5Y4UJY-CsITpniw.js +0 -292
  278. package/dist/viewer/assets/gitGraphDiagram-WWUBYQGX-B4eCBGoe.js +0 -106
  279. package/dist/viewer/assets/iconBase-BoDZfJgC.js +0 -1
  280. package/dist/viewer/assets/index-5E1tJ7yK.js +0 -125
  281. package/dist/viewer/assets/index-7XpV2DRw.js +0 -1
  282. package/dist/viewer/assets/index-C0Rs3s9Z.js +0 -1
  283. package/dist/viewer/assets/index-CzHjJWeV.js +0 -1
  284. package/dist/viewer/assets/index-DcEA6SIV.js +0 -74
  285. package/dist/viewer/assets/infoDiagram-27XIBGKW-lTebN5Ix.js +0 -2
  286. package/dist/viewer/assets/input-YvHTVS0E.js +0 -1
  287. package/dist/viewer/assets/lens-runs-page-DoAOObxx.js +0 -1
  288. package/dist/viewer/assets/linked-project-dot-Ds2uEmJ9.js +0 -543
  289. package/dist/viewer/assets/mermaid.core-BCRBv8Us.js +0 -312
  290. package/dist/viewer/assets/method-badge-DMYDKdDZ.js +0 -1
  291. package/dist/viewer/assets/nav-links-8vT2ixiI.js +0 -61
  292. package/dist/viewer/assets/not-found-page-CnfLlhS4.js +0 -1
  293. package/dist/viewer/assets/organization-dependency-graph-page-3xqIxjNx.js +0 -1
  294. package/dist/viewer/assets/pegDiagram-XKGWAZYB-CMXqeAum.js +0 -1
  295. package/dist/viewer/assets/popover-CN9ni1N3.js +0 -1
  296. package/dist/viewer/assets/railroadDiagram-O6MQD6OU-CfqToX3W.js +0 -1
  297. package/dist/viewer/assets/react-flow-wrapper-BPlRstyO.js +0 -276
  298. package/dist/viewer/assets/scroll-area-BodE-n7W.js +0 -6
  299. package/dist/viewer/assets/section-loader-BzpYM_Nx.js +0 -1
  300. package/dist/viewer/assets/select-DDtnmSET.js +0 -1
  301. package/dist/viewer/assets/service-database-page-CMi1wF4h.js +0 -2
  302. package/dist/viewer/assets/service-database-page-inner-CoqAj93L.js +0 -85
  303. package/dist/viewer/assets/service-layout-0NMm_bKG.js +0 -1
  304. package/dist/viewer/assets/service-pages-dfnc91SU.js +0 -1
  305. package/dist/viewer/assets/sizeCapture-INFHLROL-BRJi3gCg.js +0 -1
  306. package/dist/viewer/assets/stateDiagram-D77RDMKH-DdLsfxgy.js +0 -1
  307. package/dist/viewer/assets/stateDiagram-v2-MP3YSRHH-DFwg8Qki.js +0 -1
  308. package/dist/viewer/assets/super-circle-loader-D8MElOMh.js +0 -1
  309. package/dist/viewer/assets/super-logo-loader-DJYiRbCS.js +0 -1
  310. package/dist/viewer/assets/swimlanes-42K2YHIH-AuYjrPqh.js +0 -1
  311. package/dist/viewer/assets/swimlanesDiagram-VR7AAH4N-0nIGA8_4.js +0 -8
  312. package/dist/viewer/assets/table-Bi4Auk9Z.js +0 -1
  313. package/dist/viewer/assets/textarea-MgxZ5x6-.js +0 -1
  314. package/dist/viewer/assets/ui-graph-logo-D4jRhd4z.js +0 -1
  315. package/dist/viewer/assets/use-permissions-6JVET753.js +0 -1
  316. package/dist/viewer/assets/useMutation-CmVaR9zz.js +0 -1
  317. package/dist/viewer/assets/useQuery-B8yYhO0c.js +0 -1
  318. package/dist/viewer/assets/zod-Dc4H6VVJ.js +0 -1
  319. package/dist/virtual-modules-DnCx0Gdx.mjs +0 -340
@@ -1 +0,0 @@
1
- import{j as a,c as o}from"./index-5E1tJ7yK.js";function p({method:t,className:s,...r}){const e=t?.toLowerCase();return a.jsx("span",{...r,className:o("inline-flex shrink-0 items-center justify-center rounded px-1.5 py-0.5 text-[10px] font-bold tracking-wider uppercase","bg-slate-500/15 text-slate-300",e==="get"&&"bg-sky-500/15 text-sky-400",e==="post"&&"bg-emerald-500/15 text-emerald-400",e==="put"&&"bg-amber-500/15 text-amber-400",e==="patch"&&"bg-violet-500/15 text-violet-400",e==="delete"&&"bg-rose-500/15 text-rose-400",s),children:t?.toUpperCase()})}export{p as M};
@@ -1,61 +0,0 @@
1
- import{ah as Nr,ai as I,aj as ee,ak as mn,al as Ir,am as Wr,an as Br,ao as Ot,ap as Fr,aq as Hr,ar as Ve,as as gn,r as u,at as wn,au as $r,j as E,p as Ut,o as Ee,i as ot,E as yn,av as Vr,c as zt}from"./index-5E1tJ7yK.js";import{c as Ur,u as xt,a as zr,G as k}from"./iconBase-BoDZfJgC.js";var Zr=class extends Nr{#e;#t=void 0;#h=void 0;#n=void 0;#i;#l;#r;#p;#u;#d;#a;#s;#o;#f=new Set;constructor(t,e){super(),this.options=e,this.#e=t,this.#r=null,this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Ue(this.#t,this.options)?this.#c():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return fe(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return fe(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#b(),this.#t.removeObserver(this)}setOptions(t){const e=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof I(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#C(),this.#t.setOptions(this.options),e._defaulted&&!ee(this.options,e)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&ze(this.#t,n,this.options,e)&&this.#c(),this.updateResult(),r&&(this.#t!==n||I(this.options.enabled,this.#t)!==I(e.enabled,this.#t)||I(this.options.staleTime,this.#t)!==I(e.staleTime,this.#t))&&this.#m();const o=this.#g();r&&(this.#t!==n||I(this.options.enabled,this.#t)!==I(e.enabled,this.#t)||o!==this.#o)&&this.#w(o)}getOptimisticResult(t){const e=this.#e.getQueryCache().build(this.#e,t),n=this.createResult(e,t);return ee(this.getCurrentResult(),n)||(this.#n=n,this.#l=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#n}trackResult(t,e){return new Proxy(t,{get:(n,r)=>(this.trackProp(r),e?.(r),Reflect.get(n,r))})}trackProp(t){this.#f.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#e.defaultQueryOptions(t),n=this.#e.getQueryCache().build(this.#e,e);let r=()=>{},o;const i=new Promise(a=>{o=a,r=this.#e.getQueryCache().subscribe(s=>{s.type==="updated"&&s.query.queryHash===n.queryHash&&n.state.data!==void 0&&(r(),a(this.createResult(n,e)))})});return Promise.race([n.fetch().then(()=>{const a=this.createResult(n,e);return o?.(a),a}).finally(()=>{r()}),i])}fetch(t){return this.#c({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#c(t){this.#C();let e=this.#t.fetch(this.options,t);return t?.throwOnError||(e=e.catch(mn)),e}#v(t){return!Ir()&&I(this.options.enabled,this.#t)!==!1&&Wr(t)}#m(){this.#x();const t=I(this.options.staleTime,this.#t);if(this.#n.isStale||!this.#v(t))return;const e=Br(this.#n.dataUpdatedAt,t)+1;this.#a=Ot.setTimeout(()=>{this.#n.isStale||this.updateResult()},e)}#g(){return I(this.options.refetchInterval,this.#t)??!1}#w(t){this.#b(),this.#o=t,!(this.#o===0||!this.#v(this.#o))&&(this.#s=Ot.setInterval(()=>{(this.options.refetchIntervalInBackground||Fr.isFocused())&&this.#c()},this.#o))}#y(){this.#m(),this.#w(this.#g())}#x(){this.#a!==void 0&&(Ot.clearTimeout(this.#a),this.#a=void 0)}#b(){this.#s!==void 0&&(Ot.clearInterval(this.#s),this.#s=void 0)}createResult(t,e){const n=this.#t,r=this.options,o=this.#n,i=this.#i,a=this.#l,s=t!==n?t.state:this.#h,{state:c}=t;let d={...c},f=!1,l;if(e._optimisticResults){const C=this.hasListeners(),L=!C&&Ue(t,e),S=C&&ze(t,n,e,r);(L||S)&&(d={...d,...Hr(c.data,t.options)}),e._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:h,errorUpdatedAt:m,status:v}=d;l=d.data;let p=!1;if(e.placeholderData!==void 0&&l===void 0&&v==="pending"){let C;o?.isPlaceholderData&&e.placeholderData===a?.placeholderData?(C=o.data,p=!0):C=typeof e.placeholderData=="function"?e.placeholderData(this.#d?.state.data,this.#d):e.placeholderData,C!==void 0&&(v="success",l=Ve(o?.data,C,e),f=!0)}if(e.select&&l!==void 0&&!p)if(o&&l===i?.data&&e.select===this.#p)l=this.#u;else try{this.#p=e.select,l=e.select(l),l=Ve(o?.data,l,e),this.#u=l,this.#r=null}catch(C){this.#r=C}else l===void 0&&(this.#r=null);this.#r&&(h=this.#r,l=this.#u,m=Date.now(),v="error",f=!1);const g=d.fetchStatus==="fetching",w=v==="pending",y=v==="error",x=w&&g,b=l!==void 0;return{status:v,fetchStatus:d.fetchStatus,isPending:w,isSuccess:v==="success",isError:y,isInitialLoading:x,isLoading:x,data:l,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:m,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:d.dataUpdateCount>s.dataUpdateCount||d.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!w,isLoadingError:y&&!b,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:y&&b,isStale:Se(t,e),refetch:this.refetch,isEnabled:I(e.enabled,t)!==!1}}updateResult(){const t=this.#n,e=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#l=this.options,this.#i.data!==void 0&&(this.#d=this.#t),ee(e,t))return;this.#n=e;const r=(()=>{if(!t)return!0;const{notifyOnChangeProps:o}=this.options,i=typeof o=="function"?o():o;if(i==="all"||!i&&!this.#f.size)return!0;const a=new Set(i??this.#f);return this.options.throwOnError&&a.add("error"),Object.keys(this.#n).some(s=>{const c=s;return this.#n[c]!==t[c]&&a.has(c)})})();gn.batch(()=>{r&&this.listeners.forEach(o=>{o(this.#n)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#C(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const e=this.#t;this.#t=t,this.#h=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}};function Gr(t,e){return I(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&I(e.retryOnMount,t)===!1)}function Ue(t,e){return Gr(t,e)||t.state.data!==void 0&&fe(t,e,e.refetchOnMount)}function fe(t,e,n){if(I(e.enabled,t)!==!1&&I(e.staleTime,t)!=="static"){const r=I(n,t);return r==="always"||r!==!1&&Se(t,e)}return!1}function ze(t,e,n,r){return(t!==e||I(r.enabled,t)===!1)&&(!n.suspense||t.state.status!=="error")&&Se(t,n)}function Se(t,e){return I(e.enabled,t)!==!1&&t.isStaleByTime(I(e.staleTime,t))}const xn=u.createContext(!1),Qr=()=>u.useContext(xn);xn.Provider;function Xr(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}const Yr=u.createContext(Xr()),Kr=()=>u.useContext(Yr),Jr=(t,e,n)=>{const r=n?.state.error&&typeof t.throwOnError=="function"?wn(t.throwOnError,[n.state.error,n]):t.throwOnError;(t.suspense||r)&&(e.isReset()||(t.retryOnMount=!1))},qr=t=>{u.useEffect(()=>{t.clearReset()},[t])},to=({result:t,errorResetBoundary:e,throwOnError:n,query:r,suspense:o})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(o&&t.data===void 0||wn(n,[t.error,r])),eo=t=>{if(t.suspense){const n=o=>o==="static"?o:Math.max(o??1e3,1e3),r=t.staleTime;t.staleTime=typeof r=="function"?(...o)=>n(r(...o)):n(r),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},no=(t,e)=>t?.suspense&&e.isPending,ro=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()});function oo(t,e,n){const r=Qr(),o=Kr(),i=$r(),a=i.defaultQueryOptions(t),s=i.getQueryCache().get(a.queryHash),c=t.subscribed!==!1;a._optimisticResults=r?"isRestoring":c?"optimistic":void 0,eo(a),Jr(a,o,s),qr(o);const[d]=u.useState(()=>new e(i,a)),f=d.getOptimisticResult(a),l=!r&&c;if(u.useSyncExternalStore(u.useCallback(h=>{const m=l?d.subscribe(gn.batchCalls(h)):mn;return d.updateResult(),m},[d,l]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),u.useEffect(()=>{d.setOptions(a)},[a,d]),no(a,f))throw ro(a,d,o);if(to({result:f,errorResetBoundary:o,throwOnError:a.throwOnError,query:s,suspense:a.suspense}))throw f.error;return a.notifyOnChangeProps?f:d.trackResult(f)}function Ws(t,e){return oo(t,Zr)}/**
2
- * @license lucide-react v0.514.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const io=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ao=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase()),Ze=t=>{const e=ao(t);return e.charAt(0).toUpperCase()+e.slice(1)},bn=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim(),so=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};/**
7
- * @license lucide-react v0.514.0 - ISC
8
- *
9
- * This source code is licensed under the ISC license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */var co={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"};/**
12
- * @license lucide-react v0.514.0 - ISC
13
- *
14
- * This source code is licensed under the ISC license.
15
- * See the LICENSE file in the root directory of this source tree.
16
- */const lo=u.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:a,...s},c)=>u.createElement("svg",{ref:c,...co,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:bn("lucide",o),...!i&&!so(s)&&{"aria-hidden":"true"},...s},[...a.map(([d,f])=>u.createElement(d,f)),...Array.isArray(i)?i:[i]]));/**
17
- * @license lucide-react v0.514.0 - ISC
18
- *
19
- * This source code is licensed under the ISC license.
20
- * See the LICENSE file in the root directory of this source tree.
21
- */const Bs=(t,e)=>{const n=u.forwardRef(({className:r,...o},i)=>u.createElement(lo,{ref:i,iconNode:e,className:bn(`lucide-${io(Ze(t))}`,`lucide-${t}`,r),...o}));return n.displayName=Ze(t),n};var uo=Object.defineProperty,bt=(t,e)=>uo(t,"name",{value:e,configurable:!0}),Cn=!!(typeof window<"u"&&window.document&&window.document.createElement);function G(t,e,{checkForDefaultPrevented:n=!0}={}){return bt(function(o){if(t?.(o),n===!1||!o||!o.defaultPrevented)return e?.(o)},"handleEvent")}bt(G,"composeEventHandlers");function fo(t){if(!Cn)throw new Error("Cannot access window outside of the DOM");return t?.ownerDocument?.defaultView??window}bt(fo,"getOwnerWindow");function he(t){if(!Cn)throw new Error("Cannot access document outside of the DOM");return t?.ownerDocument??document}bt(he,"getOwnerDocument");function Ln(t,e=!1){const{activeElement:n}=he(t);if(!n?.nodeName)return null;if(kn(n)&&n.contentDocument)return Ln(n.contentDocument.body,e);if(e){const r=n.getAttribute("aria-activedescendant");if(r){const o=he(n).getElementById(r);if(o)return o}}return n}bt(Ln,"getActiveElement");function kn(t){return t.tagName==="IFRAME"}bt(kn,"isFrame");var ho=Object.defineProperty,z=(t,e)=>ho(t,"name",{value:e,configurable:!0});function po(t,e){const n=u.createContext(e);n.displayName=t+"Context";const r=z(i=>{const{children:a,...s}=i,c=u.useMemo(()=>s,Object.values(s));return E.jsx(n.Provider,{value:c,children:a})},"Provider");r.displayName=t+"Provider";function o(i,a={}){const{optional:s=!1}=a,c=u.useContext(n);if(c)return c;if(e!==void 0)return e;if(!s)throw new Error(`\`${i}\` must be used within \`${t}\``)}return z(o,"useContext"),[r,o]}z(po,"createContext");function Re(t,e=[]){let n=[];function r(i,a){const s=u.createContext(a);s.displayName=i+"Context";const c=n.length;n=[...n,a];const d=z(l=>{const{scope:h,children:m,...v}=l,p=h?.[t]?.[c]||s,g=u.useMemo(()=>v,Object.values(v));return E.jsx(p.Provider,{value:g,children:m})},"Provider");d.displayName=i+"Provider";function f(l,h,m={}){const{optional:v=!1}=m,p=h?.[t]?.[c]||s,g=u.useContext(p);if(g)return g;if(a!==void 0)return a;if(!v)throw new Error(`\`${l}\` must be used within \`${i}\``)}return z(f,"useContext"),[d,f]}z(r,"createContext");const o=z(()=>{const i=n.map(a=>u.createContext(a));return z(function(s){const c=s?.[t]||i;return u.useMemo(()=>({[`__scope${t}`]:{...s,[t]:c}}),[s,c])},"useScope")},"createScope");return o.scopeName=t,[r,En(o,...e)]}z(Re,"createContextScope");function En(...t){const e=t[0];if(t.length===1)return e;const n=z(()=>{const r=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return z(function(i){const a=r.reduce((s,{useScope:c,scopeName:d})=>{const l=c(i)[`__scope${d}`];return{...s,...l}},{});return u.useMemo(()=>({[`__scope${e.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope");return n.scopeName=e.scopeName,n}z(En,"composeContextScopes");var Z=globalThis?.document?u.useLayoutEffect:()=>{},vo=Object.defineProperty,mo=(t,e)=>vo(t,"name",{value:e,configurable:!0}),Ge=Ut[" useEffectEvent ".trim().toString()],Qe=Ut[" useInsertionEffect ".trim().toString()];function Sn(t){if(typeof Ge=="function")return Ge(t);const e=u.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof Qe=="function"?Qe(()=>{e.current=t}):Z(()=>{e.current=t}),u.useMemo(()=>((...n)=>e.current?.(...n)),[])}mo(Sn,"useEffectEvent");var go=Object.defineProperty,Rt=(t,e)=>go(t,"name",{value:e,configurable:!0}),wo=Ut[" useInsertionEffect ".trim().toString()]||Z;function Rn({prop:t,defaultProp:e,onChange:n=Rt(()=>{},"onChange"),caller:r}){const[o,i,a]=Pn({defaultProp:e,onChange:n}),s=t!==void 0,c=s?t:o,d=u.useCallback(f=>{if(s){const l=Mn(f)?f(t):f;l!==t&&a.current?.(l)}else i(f)},[s,t,i,a]);return[c,d]}Rt(Rn,"useControllableState");function Pn({defaultProp:t,onChange:e}){const[n,r]=u.useState(t),o=u.useRef(n),i=u.useRef(e);return wo(()=>{i.current=e},[e]),u.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}Rt(Pn,"useUncontrolledState");function Mn(t){return typeof t=="function"}Rt(Mn,"isFunction");var Xe=Symbol("RADIX:SYNC_STATE");function yo(t,e,n,r){const{prop:o,defaultProp:i,onChange:a,caller:s}=e,c=o!==void 0,d=Sn(a),f=[{...n,state:i}];r&&f.push(r);const[l,h]=u.useReducer((g,w)=>{if(w.type===Xe)return{...g,state:w.state};const y=t(g,w);return c&&!Object.is(y.state,g.state)&&d(y.state),y},...f),m=l.state,v=u.useRef(m);u.useEffect(()=>{v.current!==m&&(v.current=m,c||d(m))},[m,v,c]);const p=u.useMemo(()=>o!==void 0?{...l,state:o}:l,[l,o]);return u.useEffect(()=>{c&&!Object.is(o,l.state)&&h({type:Xe,state:o})},[o,l.state,c]),[p,h]}Rt(yo,"useControllableStateReducer");var xo=Object.defineProperty,bo=(t,e)=>xo(t,"name",{value:e,configurable:!0}),Co=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],st=Co.reduce((t,e)=>{const n=Ur(`Primitive.${e}`),r=u.forwardRef((o,i)=>{const{asChild:a,...s}=o,c=a?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(c,{...s,ref:i})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function On(t,e){t&&Ee.flushSync(()=>t.dispatchEvent(e))}bo(On,"dispatchDiscreteCustomEvent");var Lo=Object.defineProperty,ko=(t,e)=>Lo(t,"name",{value:e,configurable:!0});function ut(t){const e=u.useRef(t);return u.useEffect(()=>{e.current=t}),u.useMemo(()=>((...n)=>e.current?.(...n)),[])}ko(ut,"useCallbackRef");var Eo=Object.defineProperty,B=(t,e)=>Eo(t,"name",{value:e,configurable:!0}),pe="dismissableLayer.update",So="dismissableLayer.pointerDownOutside",Ro="dismissableLayer.focusOutside",Ye,An=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Po=u.forwardRef(B(function(e,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:c,onDismiss:d,...f}=e,l=u.useContext(An),[h,m]=u.useState(null),v=h?.ownerDocument??globalThis?.document,[,p]=u.useState({}),g=xt(n,m),w=Array.from(l.layers),[y]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),x=y?w.indexOf(y):-1,b=h?w.indexOf(h):-1,C=l.layersWithOutsidePointerEventsDisabled.size>0,L=b>=x,S=u.useRef(!1),O=Tn(R=>{a?.(R),c?.(R),R.defaultPrevented||d?.()},{ownerDocument:v,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:S,dismissableSurfaces:l.dismissableSurfaces,shouldHandlePointerDownOutside:u.useCallback(R=>{if(!(R instanceof Node))return!1;const D=[...l.branches].some(T=>T.contains(R));return L&&!D},[l.branches,L])}),A=Dn(R=>{if(o&&S.current)return;const D=R.target;[...l.branches].some(H=>H.contains(D))||(s?.(R),c?.(R),R.defaultPrevented||d?.())},v),M=h?b===w.length-1:!1,_=ut(R=>{R.key==="Escape"&&(i?.(R),!R.defaultPrevented&&d&&(R.preventDefault(),d()))});return u.useEffect(()=>{if(M)return v.addEventListener("keydown",_,{capture:!0}),()=>v.removeEventListener("keydown",_,{capture:!0})},[v,M,_]),u.useEffect(()=>{if(h)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Ye=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(h)),l.layers.add(h),ve(),()=>{r&&(l.layersWithOutsidePointerEventsDisabled.delete(h),l.layersWithOutsidePointerEventsDisabled.size===0&&(v.body.style.pointerEvents=Ye))}},[h,v,r,l]),u.useEffect(()=>()=>{h&&(l.layers.delete(h),l.layersWithOutsidePointerEventsDisabled.delete(h),ve())},[h,l]),u.useEffect(()=>{const R=B(()=>p({}),"handleUpdate");return document.addEventListener(pe,R),()=>document.removeEventListener(pe,R)},[]),E.jsx(st.div,{...f,ref:g,style:{pointerEvents:C?L?"auto":"none":void 0,...e.style},onFocusCapture:G(e.onFocusCapture,A.onFocusCapture),onBlurCapture:G(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:G(e.onPointerDownCapture,O.onPointerDownCapture)})},"DismissableLayer"));function Mo(){const t=u.useContext(An),[e,n]=u.useState(null);return u.useEffect(()=>{if(e)return t.dismissableSurfaces.add(e),()=>{t.dismissableSurfaces.delete(e)}},[e,t.dismissableSurfaces]),n}B(Mo,"useDismissableLayerSurface");var Oo=B(()=>!0,"IS_TRUE");function Tn(t,e){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:i,shouldHandlePointerDownOutside:a=Oo}=e,s=ut(t),c=u.useRef(!1),d=u.useRef(!1),f=u.useRef(new Map),l=u.useRef(()=>{});return u.useEffect(()=>{function h(){d.current=!1,o.current=!1,f.current.clear()}B(h,"resetOutsideInteraction");function m(){return Array.from(f.current.values()).some(Boolean)}B(m,"isOutsideInteractionIntercepted");function v(x){if(!d.current)return;const b=x.target;b instanceof Node&&[...i].some(L=>L.contains(b))||f.current.set(x.type,!0),x.type==="click"&&window.setTimeout(()=>{d.current&&l.current()},0)}B(v,"handleInteractionCapture");function p(x){d.current&&f.current.set(x.type,!1)}B(p,"handleInteractionBubble");const g=B(x=>{if(x.target&&!c.current){let b=function(){n.removeEventListener("click",l.current);const L=m();h(),L||Pe(So,s,C,{discrete:!0})};if(B(b,"handleAndDispatchPointerDownOutsideEvent"),!a(x.target)){n.removeEventListener("click",l.current),h(),c.current=!1;return}const C={originalEvent:x};d.current=!0,o.current=r&&x.button===0,f.current.clear(),!r||x.button!==0?b():(n.removeEventListener("click",l.current),l.current=b,n.addEventListener("click",l.current,{once:!0}))}else n.removeEventListener("click",l.current),h();c.current=!1},"handlePointerDown"),w=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const x of w)n.addEventListener(x,v,!0),n.addEventListener(x,p);const y=window.setTimeout(()=>{n.addEventListener("pointerdown",g)},0);return()=>{window.clearTimeout(y),n.removeEventListener("pointerdown",g),n.removeEventListener("click",l.current);for(const x of w)n.removeEventListener(x,v,!0),n.removeEventListener(x,p)}},[n,s,r,o,i,a]),{onPointerDownCapture:B(()=>c.current=!0,"onPointerDownCapture")}}B(Tn,"usePointerDownOutside");function Dn(t,e=globalThis?.document){const n=ut(t),r=u.useRef(!1);return u.useEffect(()=>{const o=B(i=>{i.target&&!r.current&&Pe(Ro,n,{originalEvent:i},{discrete:!1})},"handleFocus");return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:B(()=>r.current=!0,"onFocusCapture"),onBlurCapture:B(()=>r.current=!1,"onBlurCapture")}}B(Dn,"useFocusOutside");function ve(){const t=new CustomEvent(pe);document.dispatchEvent(t)}B(ve,"dispatchUpdate");function Pe(t,e,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?On(o,i):o.dispatchEvent(i)}B(Pe,"handleAndDispatchCustomEvent");var Ao=Object.defineProperty,Me=(t,e)=>Ao(t,"name",{value:e,configurable:!0}),At=0,ht=null;function To(t){return _n(),t.children}Me(To,"FocusGuards");function _n(){u.useEffect(()=>{ht||(ht={start:me(),end:me()});const{start:t,end:e}=ht;return document.body.firstElementChild!==t&&document.body.insertAdjacentElement("afterbegin",t),document.body.lastElementChild!==e&&document.body.insertAdjacentElement("beforeend",e),At++,()=>{At===1&&(ht?.start.remove(),ht?.end.remove(),ht=null),At=Math.max(0,At-1)}},[])}Me(_n,"useFocusGuards");function me(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}Me(me,"createFocusGuard");var Do=Object.defineProperty,F=(t,e)=>Do(t,"name",{value:e,configurable:!0}),ne="focusScope.autoFocusOnMount",re="focusScope.autoFocusOnUnmount",Ke={bubbles:!1,cancelable:!0},Fs=u.forwardRef(F(function(e,n){const{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=e,[c,d]=u.useState(null),f=ut(i),l=ut(a),h=u.useRef(null),m=xt(n,d),v=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(o){let g=function(b){if(v.paused||!c)return;const C=b.target;c.contains(C)?h.current=C:K(h.current,{select:!0})},w=function(b){if(v.paused||!c)return;const C=b.relatedTarget;C!==null&&(c.contains(C)||K(h.current,{select:!0}))},y=function(b){if(document.activeElement===document.body)for(const L of b)L.removedNodes.length>0&&K(c)};F(g,"handleFocusIn"),F(w,"handleFocusOut"),F(y,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",w);const x=new MutationObserver(y);return c&&x.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",w),x.disconnect()}}},[o,c,v.paused]),u.useEffect(()=>{if(c){Je.add(v);const g=document.activeElement;if(!c.contains(g)){const y=new CustomEvent(ne,Ke);c.addEventListener(ne,f),c.dispatchEvent(y),y.defaultPrevented||(jn(Fn(Oe(c)),{select:!0}),document.activeElement===g&&K(c))}return()=>{c.removeEventListener(ne,f),setTimeout(()=>{const y=new CustomEvent(re,Ke);c.addEventListener(re,l),c.dispatchEvent(y),y.defaultPrevented||K(g??document.body,{select:!0}),c.removeEventListener(re,l),Je.remove(v)},0)}}},[c,f,l,v]);const p=u.useCallback(g=>{if(!r&&!o||v.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const x=g.currentTarget,[b,C]=Nn(x);b&&C?!g.shiftKey&&y===C?(g.preventDefault(),r&&K(b,{select:!0})):g.shiftKey&&y===b&&(g.preventDefault(),r&&K(C,{select:!0})):y===x&&g.preventDefault()}},[r,o,v.paused]);return E.jsx(st.div,{tabIndex:-1,...s,ref:m,onKeyDown:p})},"FocusScope"));function jn(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(K(r,{select:e}),document.activeElement!==n)return}F(jn,"focusFirst");function Nn(t){const e=Oe(t),n=ge(e,t),r=ge(e.reverse(),t);return[n,r]}F(Nn,"getTabbableEdges");function Oe(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:F(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)e.push(n.currentNode);return e}F(Oe,"getTabbableCandidates");function ge(t,e){const n=typeof e.checkVisibility=="function"&&e.checkVisibility({checkVisibilityCSS:!0});for(const r of t)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):In(r,{upTo:e})))return r}F(ge,"findVisible");function In(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}F(In,"isHidden");function Wn(t){return t instanceof HTMLInputElement&&"select"in t}F(Wn,"isSelectableInput");function K(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&Wn(t)&&e&&t.select()}}F(K,"focus");var Je=Bn();function Bn(){let t=[];return{add(e){const n=t[0];e!==n&&n?.pause(),t=we(t,e),t.unshift(e)},remove(e){t=we(t,e),t[0]?.resume()}}}F(Bn,"createFocusScopesStack");function we(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}F(we,"arrayRemove");function Fn(t){return t.filter(e=>e.tagName!=="A")}F(Fn,"removeLinks");var _o=Object.defineProperty,jo=(t,e)=>_o(t,"name",{value:e,configurable:!0}),No=Ut[" useId ".trim().toString()]||(()=>{}),Io=0;function Hn(t){const[e,n]=u.useState(No());return Z(()=>{t||n(r=>r??String(Io++))},[t]),t||(e?`radix-${e}`:"")}jo(Hn,"useId");const Wo=["top","right","bottom","left"],it=Math.min,J=Math.max,Ft=Math.round,Tt=Math.floor,q=t=>({x:t,y:t}),Bo={left:"right",right:"left",bottom:"top",top:"bottom"};function $n(t,e,n){return J(t,it(e,n))}function et(t,e){return typeof t=="function"?t(e):t}function at(t){return t.split("-")[0]}function Ct(t){return t.split("-")[1]}function Ae(t){return t==="x"?"y":"x"}function Te(t){return t==="y"?"height":"width"}function Q(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function De(t){return Ae(Q(t))}function Fo(t,e,n){n===void 0&&(n=!1);const r=Ct(t),o=De(t),i=Te(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=Ht(a)),[a,Ht(a)]}function Ho(t){const e=Ht(t);return[ye(t),e,ye(e)]}function ye(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const qe=["left","right"],tn=["right","left"],$o=["top","bottom"],Vo=["bottom","top"];function Uo(t,e,n){switch(t){case"top":case"bottom":return n?e?tn:qe:e?qe:tn;case"left":case"right":return e?$o:Vo;default:return[]}}function zo(t,e,n,r){const o=Ct(t);let i=Uo(at(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map(ye)))),i}function Ht(t){const e=at(t);return Bo[e]+t.slice(e.length)}function Zo(t){var e,n,r,o;return{top:(e=t.top)!=null?e:0,right:(n=t.right)!=null?n:0,bottom:(r=t.bottom)!=null?r:0,left:(o=t.left)!=null?o:0}}function Vn(t){return typeof t!="number"?Zo(t):{top:t,right:t,bottom:t,left:t}}function $t(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function en(t,e,n){let{reference:r,floating:o}=t;const i=Q(e),a=De(e),s=Te(a),c=at(e),d=i==="y",f=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2,h=r[s]/2-o[s]/2;let m;switch(c){case"top":m={x:f,y:r.y-o.height};break;case"bottom":m={x:f,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:l};break;case"left":m={x:r.x-o.width,y:l};break;default:m={x:r.x,y:r.y}}const v=Ct(e);return v&&(m[a]+=h*(v==="end"?1:-1)*(n&&d?-1:1)),m}async function Go(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:l="floating",altBoundary:h=!1,padding:m=0}=et(e,t),v=Vn(m),g=s[h?l==="floating"?"reference":"floating":l],w=$t(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:d,rootBoundary:f,strategy:c})),y=l==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),b=await(i.isElement==null?void 0:i.isElement(x))&&await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1},C=$t(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:x,strategy:c}):y);return{top:(w.top-C.top+v.top)/b.y,bottom:(C.bottom-w.bottom+v.bottom)/b.y,left:(w.left-C.left+v.left)/b.x,right:(C.right-w.right+v.right)/b.x}}const Qo=50,Xo=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:Go},c=await(a.isRTL==null?void 0:a.isRTL(e));let d=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:l}=en(d,r,c),h=r,m=0;const v={};for(let p=0;p<i.length;p++){const g=i[p];if(!g)continue;const{name:w,fn:y}=g,{x,y:b,data:C,reset:L}=await y({x:f,y:l,initialPlacement:r,placement:h,strategy:o,middlewareData:v,rects:d,platform:s,elements:{reference:t,floating:e}});f=x??f,l=b??l,v[w]={...v[w],...C},L&&m<Qo&&(m++,typeof L=="object"&&(L.placement&&(h=L.placement),L.rects&&(d=L.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):L.rects),{x:f,y:l}=en(d,h,c)),p=-1)}return{x:f,y:l,placement:h,strategy:o,middlewareData:v}},Yo=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:c}=e,{element:d,padding:f=0}=et(t,e)||{};if(d==null)return{};const l=Vn(f),h={x:n,y:r},m=De(o),v=Te(m),p=await a.getDimensions(d),g=m==="y",w=g?"top":"left",y=g?"bottom":"right",x=g?"clientHeight":"clientWidth",b=i.reference[v]+i.reference[m]-h[m]-i.floating[v],C=h[m]-i.reference[m],L=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let S=L?L[x]:0;(!S||!await(a.isElement==null?void 0:a.isElement(L)))&&(S=s.floating[x]||i.floating[v]);const O=b/2-C/2,A=S/2-p[v]/2-1,M=it(l[w],A),_=it(l[y],A),R=S-p[v]-_,D=S/2-p[v]/2+O,T=$n(M,D,R),H=!c.arrow&&Ct(o)!=null&&D!==T&&i.reference[v]/2-(D<M?M:_)-p[v]/2<0,j=H?D<M?D-M:D-R:0;return{[m]:h[m]+j,data:{[m]:T,centerOffset:D-T-j,...H&&{alignmentOffset:j}},reset:H}}}),Ko=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:c,elements:d}=e,{mainAxis:f=!0,crossAxis:l=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:p=!0,...g}=et(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=at(o),y=Q(s),x=at(s)===s,b=await(c.isRTL==null?void 0:c.isRTL(d.floating)),C=h||(x||!p?[Ht(s)]:Ho(s)),L=v!=="none";!h&&L&&C.push(...zo(s,p,v,b));const S=[s,...C],O=await c.detectOverflow(e,g),A=[];let M=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&A.push(O[w]),l){const T=Fo(o,a,b);A.push(O[T[0]],O[T[1]])}if(M=[...M,{placement:o,overflows:A}],!A.every(T=>T<=0)){var _,R;const T=(((_=i.flip)==null?void 0:_.index)||0)+1,H=S[T];if(H&&(!(l==="alignment"?y!==Q(H):!1)||M.every(P=>Q(P.placement)===y?P.overflows[0]>0:!0)))return{data:{index:T,overflows:M},reset:{placement:H}};let j=(R=M.filter($=>$.overflows[0]<=0).sort(($,P)=>$.overflows[1]-P.overflows[1])[0])==null?void 0:R.placement;if(!j)switch(m){case"bestFit":{var D;const $=(D=M.filter(P=>{if(L){const N=Q(P.placement);return N===y||N==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(N=>N>0).reduce((N,U)=>N+U,0)]).sort((P,N)=>P[1]-N[1])[0])==null?void 0:D[0];$&&(j=$);break}case"initialPlacement":j=s;break}if(o!==j)return{reset:{placement:j}}}return{}}}};function nn(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function rn(t){return Wo.some(e=>t[e]>=0)}const Jo=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:o="referenceHidden",...i}=et(t,e);switch(o){case"referenceHidden":{const a=await r.detectOverflow(e,{...i,elementContext:"reference"}),s=nn(a,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:rn(s)}}}case"escaped":{const a=await r.detectOverflow(e,{...i,altBoundary:!0}),s=nn(a,n.floating);return{data:{escapedOffsets:s,escaped:rn(s)}}}default:return{}}}}},Un=new Set(["left","top"]);async function qo(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=at(n),s=Ct(n),c=Q(n)==="y",d=Un.has(a)?-1:1,f=i&&c?-1:1,l=et(e,t);let{mainAxis:h,crossAxis:m,alignmentAxis:v}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return s&&typeof v=="number"&&(m=s==="end"?v*-1:v),c?{x:m*f,y:h*d}:{x:h*d,y:m*f}}const ti=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=e,c=await qo(e,t);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},ei=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o,platform:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:y=>{let{x,y:b}=y;return{x,y:b}}},...d}=et(t,e),f={x:n,y:r},l=await i.detectOverflow(e,d),h=Q(o),m=Ae(h);let v=f[m],p=f[h];const g=(y,x)=>$n(x+l[y==="y"?"top":"left"],x,x-l[y==="y"?"bottom":"right"]);a&&(v=g(m,v)),s&&(p=g(h,p));const w=c.fn({...e,[m]:v,[h]:p});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[m]:a,[h]:s}}}}}},ni=function(t){return t===void 0&&(t={}),{options:t,fn(e){var n,r;const{x:o,y:i,placement:a,rects:s,middlewareData:c}=e,{offset:d=0,mainAxis:f=!0,crossAxis:l=!0}=et(t,e),h={x:o,y:i},m=Q(a),v=Ae(m);let p=h[v],g=h[m];const w=et(d,e),y=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:(n=w.mainAxis)!=null?n:0,crossAxis:(r=w.crossAxis)!=null?r:0};if(f){const C=v==="y"?"height":"width",L=s.reference[v]-s.floating[C]+y.mainAxis,S=s.reference[v]+s.reference[C]-y.mainAxis;p<L?p=L:p>S&&(p=S)}if(l){var x,b;const C=v==="y"?"width":"height",L=Un.has(at(a)),S=s.reference[m]-s.floating[C]+(L&&((x=c.offset)==null?void 0:x[m])||0)+(L?0:y.crossAxis),O=s.reference[m]+s.reference[C]+(L?0:((b=c.offset)==null?void 0:b[m])||0)-(L?y.crossAxis:0);g<S?g=S:g>O&&(g=O)}return{[v]:p,[m]:g}}}},ri=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:i}=e,{apply:a=()=>{},...s}=et(t,e),c=await o.detectOverflow(e,s),d=at(n),f=Ct(n),l=Q(n)==="y",{width:h,height:m}=r.floating;let v,p;d==="top"||d==="bottom"?(v=d,p=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(p=d,v=f==="end"?"top":"bottom");const g=m-c.top-c.bottom,w=h-c.left-c.right,y=it(m-c[v],g),x=it(h-c[p],w),b=e.middlewareData.shift,C=!b;let L=y,S=x;b!=null&&b.enabled.x&&(S=w),b!=null&&b.enabled.y&&(L=g),C&&!f&&(l?S=h-2*J(c.left,c.right):L=m-2*J(c.top,c.bottom)),await a({...e,availableWidth:S,availableHeight:L});const O=await o.getDimensions(i.floating);return h!==O.width||m!==O.height?{reset:{rects:!0}}:{}}}};function Zt(){return typeof window<"u"}function Lt(t){return zn(t)?(t.nodeName||"").toLowerCase():"#document"}function V(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function rt(t){var e;return(e=(zn(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zn(t){return Zt()?t instanceof Node||t instanceof V(t).Node:!1}function X(t){return Zt()?t instanceof Element||t instanceof V(t).Element:!1}function ct(t){return Zt()?t instanceof HTMLElement||t instanceof V(t).HTMLElement:!1}function on(t){return!Zt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof V(t).ShadowRoot}function Gt(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&o!=="inline"&&o!=="contents"}function oi(t){return/^(table|td|th)$/.test(Lt(t))}function Qt(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const ii=/transform|translate|scale|rotate|perspective|filter/,ai=/paint|layout|strict|content/,lt=t=>!!t&&t!=="none";let oe;function _e(t){const e=X(t)?Y(t):t;return lt(e.transform)||lt(e.translate)||lt(e.scale)||lt(e.rotate)||lt(e.perspective)||!je()&&(lt(e.backdropFilter)||lt(e.filter))||ii.test(e.willChange||"")||ai.test(e.contain||"")}function si(t){let e=dt(t);for(;ct(e)&&!kt(e);){if(_e(e))return e;if(Qt(e))return null;e=dt(e)}return null}function je(){return oe==null&&(oe=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),oe}function kt(t){return/^(html|body|#document)$/.test(Lt(t))}function Y(t){return V(t).getComputedStyle(t)}function Xt(t){return X(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function dt(t){if(Lt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||on(t)&&t.host||rt(t);return on(e)?e.host:e}function Zn(t){const e=dt(t);return kt(e)?(t.ownerDocument||t).body:ct(e)&&Gt(e)?e:Zn(e)}function Et(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=Zn(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),a=V(o);if(i){const s=xe(a);return e.concat(a,a.visualViewport||[],Gt(o)?o:[],s&&n?Et(s):[])}else return e.concat(o,Et(o,[],n))}function xe(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Gn(t){const e=Y(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=ct(t),i=o?t.offsetWidth:n,a=o?t.offsetHeight:r,s=Ft(n)!==i||Ft(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Ne(t){return X(t)?t:t.contextElement}function wt(t){const e=Ne(t);if(!ct(e))return q(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=Gn(e);let a=(i?Ft(n.width):n.width)/r,s=(i?Ft(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const ci=q(0);function Qn(t){const e=V(t);return!je()||!e.visualViewport?ci:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function li(t,e,n){return e===void 0&&(e=!1),!!n&&e&&n===V(t)}function ft(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=Ne(t);let a=q(1);e&&(r?X(r)&&(a=wt(r)):a=wt(t));const s=li(i,n,r)?Qn(i):q(0);let c=(o.left+s.x)/a.x,d=(o.top+s.y)/a.y,f=o.width/a.x,l=o.height/a.y;if(i&&r){const h=V(i),m=X(r)?V(r):r;let v=h,p=xe(v);for(;p&&m!==v;){const g=wt(p),w=p.getBoundingClientRect(),y=Y(p),x=w.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x,b=w.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;c*=g.x,d*=g.y,f*=g.x,l*=g.y,c+=x,d+=b,v=V(p),p=xe(v)}}return $t({width:f,height:l,x:c,y:d})}function Yt(t,e){const n=Xt(t).scrollLeft;return e?e.left+n:ft(rt(t)).left+n}function Xn(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-Yt(t,n),o=n.top+e.scrollTop;return{x:r,y:o}}function ui(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",a=rt(r),s=e?Qt(e.floating):!1;if(r===a||s&&i)return n;let c={scrollLeft:0,scrollTop:0},d=q(1);const f=q(0),l=ct(r);if((l||!i)&&((Lt(r)!=="body"||Gt(a))&&(c=Xt(r)),l)){const m=ft(r);d=wt(r),f.x=m.x+r.clientLeft,f.y=m.y+r.clientTop}const h=a&&!l&&!i?Xn(a,c):q(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+f.x+h.x,y:n.y*d.y-c.scrollTop*d.y+f.y+h.y}}function di(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function fi(t){const e=Xt(t),n=t.ownerDocument.body,r=J(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=J(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-e.scrollLeft+Yt(t);const a=-e.scrollTop;return Y(n).direction==="rtl"&&(i+=J(t.clientWidth,n.clientWidth)-r),{width:r,height:o,x:i,y:a}}const hi=25;function pi(t,e,n){n===void 0&&(n="viewport");const r=n==="layoutViewport",o=V(t),i=rt(t),a=o.visualViewport;let s=i.clientWidth,c=i.clientHeight,d=0,f=0;if(a){const h=!je()||e==="fixed";r?h||(d=-a.offsetLeft,f=-a.offsetTop):(s=a.width,c=a.height,h&&(d=a.offsetLeft,f=a.offsetTop))}if(Yt(i)<=0){const h=i.ownerDocument,m=h.body,v=getComputedStyle(m),p=h.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,g=Math.abs(i.clientWidth-m.clientWidth-p),w=getComputedStyle(i).scrollbarGutter==="stable both-edges"?g/2:g;w<=hi&&(s-=w)}return{width:s,height:c,x:d,y:f}}function vi(t,e){const n=ft(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=wt(t),a=t.clientWidth*i.x,s=t.clientHeight*i.y,c=o*i.x,d=r*i.y;return{width:a,height:s,x:c,y:d}}function an(t,e,n){let r;if(e==="viewport"||e==="layoutViewport")r=pi(t,n,e);else if(e==="document")r=fi(rt(t));else if(X(e))r=vi(e,n);else{const o=Qn(t);r={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return $t(r)}function mi(t,e){const n=e.get(t);if(n)return n;let r=Et(t,[],!1).filter(s=>X(s)&&Lt(s)!=="body"),o=null;const i=Y(t).position==="fixed";let a=i?dt(t):t;for(;X(a)&&!kt(a);){const s=Y(a),c=_e(a),d=o?o.position:i?"fixed":"";!c&&(d==="fixed"||d==="absolute"&&s.position==="static")?r=r.filter(l=>l!==a):o=s,a=dt(a)}return e.set(t,r),r}function gi(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[...n==="clippingAncestors"?Qt(e)?[]:mi(e,this._c):[].concat(n),r],s=an(e,a[0],o);let c=s.top,d=s.right,f=s.bottom,l=s.left;for(let h=1;h<a.length;h++){const m=an(e,a[h],o);c=J(m.top,c),d=it(m.right,d),f=it(m.bottom,f),l=J(m.left,l)}return{width:d-l,height:f-c,x:l,y:c}}function wi(t){const{width:e,height:n}=Gn(t);return{width:e,height:n}}function yi(t,e,n){const r=ct(e),o=rt(e),i=n==="fixed",a=ft(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const c=q(0);if((r||!i)&&((Lt(e)!=="body"||Gt(o))&&(s=Xt(e)),r)){const h=ft(e,!0,i,e);c.x=h.x+e.clientLeft,c.y=h.y+e.clientTop}!r&&o&&(c.x=Yt(o));const d=o&&!r&&!i?Xn(o,s):q(0),f=a.left+s.scrollLeft-c.x-d.x,l=a.top+s.scrollTop-c.y-d.y;return{x:f,y:l,width:a.width,height:a.height}}function ie(t){return Y(t).position==="static"}function sn(t,e){if(!ct(t)||Y(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return rt(t)===n&&(n=n.ownerDocument.body),n}function Yn(t,e){const n=V(t);if(Qt(t))return n;if(!ct(t)){let o=dt(t);for(;o&&!kt(o);){if(X(o)&&!ie(o))return o;o=dt(o)}return n}let r=sn(t,e);for(;r&&oi(r)&&ie(r);)r=sn(r,e);return r&&kt(r)&&ie(r)&&!_e(r)?n:r||si(t)||n}const xi=async function(t){const e=this.getOffsetParent||Yn,n=this.getDimensions,r=await n(t.floating);return{reference:yi(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function bi(t){return Y(t).direction==="rtl"}const Ci={convertOffsetParentRelativeRectToViewportRelativeRect:ui,getDocumentElement:rt,getClippingRect:gi,getOffsetParent:Yn,getElementRects:xi,getClientRects:di,getDimensions:wi,getScale:wt,isElement:X,isRTL:bi};function Kn(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Li(t,e,n){let r=null,o;const i=rt(t);function a(){var f;clearTimeout(o),(f=r)==null||f.disconnect(),r=null}function s(f,l){f===void 0&&(f=!1),l===void 0&&(l=1),a();const h=t.getBoundingClientRect(),{left:m,top:v,width:p,height:g}=h;if(f||e(),!p||!g)return;const w=Tt(v),y=Tt(i.clientWidth-(m+p)),x=Tt(i.clientHeight-(v+g)),b=Tt(m),L={rootMargin:-w+"px "+-y+"px "+-x+"px "+-b+"px",threshold:J(0,it(1,l))||1};let S=!0;function O(A){const M=A[0].intersectionRatio;if(!Kn(h,t.getBoundingClientRect()))return s();if(M!==l){if(!S)return s();M?s(!1,M):o=setTimeout(()=>{s(!1,1e-7)},1e3)}S=!1}try{r=new IntersectionObserver(O,{...L,root:i.ownerDocument})}catch{r=new IntersectionObserver(O,L)}r.observe(t)}const c=V(t),d=()=>s(n);return c.addEventListener("resize",d),s(!0),()=>{c.removeEventListener("resize",d),a()}}function ki(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,d=Ne(t),f=o||i?[...d?Et(d):[],...e?Et(e):[]]:[];f.forEach(w=>{o&&w.addEventListener("scroll",n),i&&w.addEventListener("resize",n)});const l=d&&s?Li(d,n,i):null;let h=-1,m=null;a&&(m=new ResizeObserver(w=>{let[y]=w;y&&y.target===d&&m&&e&&(m.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var x;(x=m)==null||x.observe(e)})),n()}),d&&!c&&m.observe(d),e&&m.observe(e));let v,p=c?ft(t):null;c&&g();function g(){const w=ft(t);p&&!Kn(p,w)&&n(),p=w,v=requestAnimationFrame(g)}return n(),()=>{var w;f.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),l?.(),(w=m)==null||w.disconnect(),m=null,c&&cancelAnimationFrame(v)}}const Ei=ti,Si=ei,Ri=Ko,Pi=ri,Mi=Jo,cn=Yo,Oi=ni,Ai=(t,e,n)=>{const r=new Map,o=n??{},i={...Ci,...o.platform,_c:r};return Xo(t,e,{...o,platform:i})};var Ti=typeof document<"u",Di=function(){},It=Ti?u.useLayoutEffect:Di;function Vt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Vt(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!Vt(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Jn(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function ln(t,e){const n=Jn(t);return Math.round(e*n)/n}function ae(t){const e=u.useRef(t);return It(()=>{e.current=t}),e}function _i(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:d}=t,[f,l]=u.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,m]=u.useState(r);Vt(h,r)||m(r);const[v,p]=u.useState(null),[g,w]=u.useState(null),y=u.useCallback(P=>{P!==L.current&&(L.current=P,p(P))},[]),x=u.useCallback(P=>{P!==S.current&&(S.current=P,w(P))},[]),b=i||v,C=a||g,L=u.useRef(null),S=u.useRef(null),O=u.useRef(f),A=c!=null,M=ae(c),_=ae(o),R=ae(d),D=u.useCallback(()=>{if(!L.current||!S.current)return;const P={placement:e,strategy:n,middleware:h};_.current&&(P.platform=_.current),Ai(L.current,S.current,P).then(N=>{const U={...N,isPositioned:R.current!==!1};T.current&&!Vt(O.current,U)&&(O.current=U,Ee.flushSync(()=>{l(U)}))})},[h,e,n,_,R]);It(()=>{d===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,l(P=>({...P,isPositioned:!1})))},[d]);const T=u.useRef(!1);It(()=>(T.current=!0,()=>{T.current=!1}),[]),It(()=>{if(b&&(L.current=b),C&&(S.current=C),b&&C){if(M.current)return M.current(b,C,D);D()}},[b,C,D,M,A]);const H=u.useMemo(()=>({reference:L,floating:S,setReference:y,setFloating:x}),[y,x]),j=u.useMemo(()=>({reference:b,floating:C}),[b,C]),$=u.useMemo(()=>{const P={position:n,left:0,top:0};if(!j.floating)return P;const N=ln(j.floating,f.x),U=ln(j.floating,f.y);return s?{...P,transform:"translate("+N+"px, "+U+"px)",...Jn(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:U}},[n,s,j.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:D,refs:H,elements:j,floatingStyles:$}),[f,D,H,j,$])}const ji=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?cn({element:r.current,padding:o}).fn(n):{}:r?cn({element:r,padding:o}).fn(n):{}}}},Ni=(t,e)=>{const n=Ei(t);return{name:n.name,fn:n.fn,options:[t,e]}},Ii=(t,e)=>{const n=Si(t);return{name:n.name,fn:n.fn,options:[t,e]}},Wi=(t,e)=>({fn:Oi(t).fn,options:[t,e]}),Bi=(t,e)=>{const n=Ri(t);return{name:n.name,fn:n.fn,options:[t,e]}},Fi=(t,e)=>{const n=Pi(t);return{name:n.name,fn:n.fn,options:[t,e]}},Hi=(t,e)=>{const n=Mi(t);return{name:n.name,fn:n.fn,options:[t,e]}},$i=(t,e)=>{const n=ji(t);return{name:n.name,fn:n.fn,options:[t,e]}};var Vi=Object.defineProperty,Ui=(t,e)=>Vi(t,"name",{value:e,configurable:!0}),zi=u.forwardRef(Ui(function(e,n){const{children:r,width:o=10,height:i=5,...a}=e;return E.jsx(st.svg,{...a,ref:n,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:E.jsx("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),Zi=zi,Gi=Object.defineProperty,Qi=(t,e)=>Gi(t,"name",{value:e,configurable:!0});function qn(t){const[e,n]=u.useState(void 0);return Z(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const c=i.borderBoxSize,d=Array.isArray(c)?c[0]:c;a=d.inlineSize,s=d.blockSize}else a=t.offsetWidth,s=t.offsetHeight;n({width:a,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}Qi(qn,"useSize");var Xi=Object.defineProperty,tt=(t,e)=>Xi(t,"name",{value:e,configurable:!0}),tr="Popper",[er,nr]=Re(tr),[Yi,rr]=er(tr),Ki=tt(t=>{const{__scopePopper:e,children:n}=t,[r,o]=u.useState(null),[i,a]=u.useState(void 0);return E.jsx(Yi,{scope:e,anchor:r,onAnchorChange:o,placementState:i,setPlacementState:a,children:n})},"Popper"),Ji="PopperAnchor",qi=u.forwardRef(tt(function(e,n){const{__scopePopper:r,virtualRef:o,...i}=e,a=rr(Ji,r),s=u.useRef(null),c=a.onAnchorChange,d=u.useCallback(p=>{s.current=p,p&&c(p)},[c]),f=xt(n,d),l=u.useRef(null);u.useEffect(()=>{if(!o)return;const p=l.current;l.current=o.current,p!==l.current&&c(l.current)});const h=a.placementState&&Kt(a.placementState),m=h?.[0],v=h?.[1];return o?null:E.jsx(st.div,{"data-radix-popper-side":m,"data-radix-popper-align":v,...i,ref:f})},"PopperAnchor")),or="PopperContent",[ta,ea]=er(or),na=u.forwardRef(tt(function(e,n){const{__scopePopper:r,side:o="bottom",sideOffset:i=0,align:a="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:f=[],collisionPadding:l=0,sticky:h="partial",hideWhenDetached:m=!1,updatePositionStrategy:v="optimized",onPlaced:p,...g}=e,w=rr(or,r),[y,x]=u.useState(null),b=xt(n,x),[C,L]=u.useState(null),S=qn(C),O=S?.width??0,A=S?.height??0,M=o+(a!=="center"?"-"+a:""),_=typeof l=="number"?l:{top:0,right:0,bottom:0,left:0,...l},R=Array.isArray(f)?f:[f],D=R.length>0,T={padding:_,boundary:R.filter(ir),altBoundary:D},{refs:H,floatingStyles:j,placement:$,isPositioned:P,middlewareData:N}=_i({strategy:"fixed",placement:M,whileElementsMounted:tt((...te)=>ki(...te,{animationFrame:v==="always"}),"whileElementsMounted"),elements:{reference:w.anchor},middleware:[Ni({mainAxis:i+A,alignmentAxis:s}),d&&Ii({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Wi():void 0,...T}),d&&Bi({...T}),Fi({...T,apply:tt(({elements:te,rects:$e,availableWidth:Tr,availableHeight:Dr})=>{const{width:_r,height:jr}=$e.reference,Mt=te.floating.style;Mt.setProperty("--radix-popper-available-width",`${Tr}px`),Mt.setProperty("--radix-popper-available-height",`${Dr}px`),Mt.setProperty("--radix-popper-anchor-width",`${_r}px`),Mt.setProperty("--radix-popper-anchor-height",`${jr}px`)},"apply")}),C&&$i({element:C,padding:c}),aa({arrowWidth:O,arrowHeight:A}),m&&Hi({strategy:"referenceHidden",...T,boundary:D?T.boundary:void 0})]}),U=w.setPlacementState;Z(()=>(U($),()=>{U(void 0)}),[$,U]);const[Be,Fe]=Kt($),He=ut(p);Z(()=>{P&&He?.()},[P,He]);const Rr=N.arrow?.x,Pr=N.arrow?.y,Mr=N.arrow?.centerOffset!==0,[Or,Ar]=u.useState();return Z(()=>{y&&Ar(window.getComputedStyle(y).zIndex)},[y]),E.jsx("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...j,transform:P?j.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Or,"--radix-popper-transform-origin":[N.transformOrigin?.x,N.transformOrigin?.y].join(" "),...N.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:E.jsx(ta,{scope:r,placedSide:Be,placedAlign:Fe,onArrowChange:L,arrowX:Rr,arrowY:Pr,shouldHideArrow:Mr,children:E.jsx(st.div,{"data-side":Be,"data-align":Fe,...g,ref:b,style:{...g.style,animation:P?g.style?.animation:"none"}})})})},"PopperContent")),ra="PopperArrow",oa={top:"bottom",right:"left",bottom:"top",left:"right"},ia=u.forwardRef(tt(function(e,n){const{__scopePopper:r,...o}=e,i=ea(ra,r),a=oa[i.placedSide];return E.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:E.jsx(Zi,{...o,ref:n,style:{...o.style,display:"block"}})})},"PopperArrow"));function ir(t){return t!==null}tt(ir,"isNotNull");var aa=tt(t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:o}=e,a=o.arrow?.centerOffset!==0,s=a?0:t.arrowWidth,c=a?0:t.arrowHeight,[d,f]=Kt(n),l={start:"0%",center:"50%",end:"100%"}[f],h=(o.arrow?.x??0)+s/2,m=(o.arrow?.y??0)+c/2;let v="",p="";return d==="bottom"?(v=a?l:`${h}px`,p=`${-c}px`):d==="top"?(v=a?l:`${h}px`,p=`${r.floating.height+c}px`):d==="right"?(v=`${-c}px`,p=a?l:`${m}px`):d==="left"&&(v=`${r.floating.width+c}px`,p=a?l:`${m}px`),{data:{x:v,y:p}}}}),"transformOrigin");function Kt(t){const[e,n="center"]=t.split("-");return[e,n]}tt(Kt,"getSideAndAlignFromPlacement");var sa=Ki,ca=qi,la=na,ua=ia,da=Object.defineProperty,fa=(t,e)=>da(t,"name",{value:e,configurable:!0}),ha=u.forwardRef(fa(function(e,n){const{container:r,...o}=e,[i,a]=u.useState(!1);Z(()=>a(!0),[]);const s=r||i&&globalThis?.document?.body;return s?Ee.createPortal(E.jsx(st.div,{...o,ref:n}),s):null},"Portal")),pa=Object.defineProperty,nt=(t,e)=>pa(t,"name",{value:e,configurable:!0});function ar(t,e){return u.useReducer((n,r)=>e[n][r]??n,t)}nt(ar,"useStateMachine");var sr=nt(t=>{const{present:e,children:n}=t,r=cr(e),o=typeof n=="function"?n({present:r.isPresent}):u.Children.only(n),i=lr(r.ref,ur(o));return typeof n=="function"||r.isPresent?u.cloneElement(o,{ref:i}):null},"Presence");function cr(t){const[e,n]=u.useState(),r=u.useRef(null),o=u.useRef(t),i=u.useRef("none"),a=u.useRef(void 0),s=t?"mounted":"unmounted",[c,d]=ar(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{c==="mounted"?(i.current=a.current??gt(r.current),a.current=void 0):i.current="none"},[c]),Z(()=>{const f=r.current,l=o.current;if(l!==t){const m=i.current,v=gt(f);t?(a.current=v,d("MOUNT")):v==="none"||f?.display==="none"?d("UNMOUNT"):d(l&&m!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),Z(()=>{if(e){let f;const l=e.ownerDocument.defaultView??window,h=nt(v=>{const g=gt(r.current).includes(CSS.escape(v.animationName));if(v.target===e&&g&&(d("ANIMATION_END"),!o.current)){const w=e.style.animationFillMode;e.style.animationFillMode="forwards",f=l.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=w)})}},"handleAnimationEnd"),m=nt(v=>{v.target===e&&(i.current=gt(r.current))},"handleAnimationStart");return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",h),e.addEventListener("animationend",h),()=>{l.clearTimeout(f),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",h),e.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:u.useCallback(f=>{if(f){const l=getComputedStyle(f);r.current=l,a.current=gt(l)}else r.current=null;n(f)},[])}}nt(cr,"usePresence");function be(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}nt(be,"setRef");function lr(...t){const e=u.useRef(t);return e.current=t,u.useCallback(n=>{const r=e.current;let o=!1;const i=r.map(a=>{const s=be(a,n);return!o&&typeof s=="function"&&(o=!0),s});if(o)return()=>{for(let a=0;a<i.length;a++){const s=i[a];typeof s=="function"?s():be(r[a],null)}}},[])}nt(lr,"useStableComposedRefs");function gt(t){return t?.animationName||"none"}nt(gt,"getAnimationName");function ur(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}nt(ur,"getElementRef");var va=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},pt=new WeakMap,Dt=new WeakMap,_t={},se=0,dr=function(t){return t&&(t.host||dr(t.parentNode))},ma=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=dr(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},ga=function(t,e,n,r){var o=ma(e,Array.isArray(t)?t:[t]);_t[n]||(_t[n]=new WeakMap);var i=_t[n],a=[],s=new Set,c=new Set(o),d=function(l){!l||s.has(l)||(s.add(l),d(l.parentNode))};o.forEach(d);var f=function(l){!l||c.has(l)||Array.prototype.forEach.call(l.children,function(h){if(s.has(h))f(h);else try{var m=h.getAttribute(r),v=m!==null&&m!=="false",p=(pt.get(h)||0)+1,g=(i.get(h)||0)+1;pt.set(h,p),i.set(h,g),a.push(h),p===1&&v&&Dt.set(h,!0),g===1&&h.setAttribute(n,"true"),v||h.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",h,w)}})};return f(e),s.clear(),se++,function(){a.forEach(function(l){var h=pt.get(l)-1,m=i.get(l)-1;pt.set(l,h),i.set(l,m),h||(Dt.has(l)||l.removeAttribute(r),Dt.delete(l)),m||l.removeAttribute(n)}),se--,se||(pt=new WeakMap,pt=new WeakMap,Dt=new WeakMap,_t={})}},Hs=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=va(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),ga(r,o,n,"aria-hidden")):function(){return null}},Wt="right-scroll-bar-position",Bt="width-before-scroll-bar",wa="with-scroll-bars-hidden",ya="--removed-body-scroll-bar-size";function ce(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function xa(t,e){var n=u.useState(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=e,n.facade}var ba=typeof window<"u"?u.useLayoutEffect:u.useEffect,un=new WeakMap;function Ca(t,e){var n=xa(null,function(r){return t.forEach(function(o){return ce(o,r)})});return ba(function(){var r=un.get(n);if(r){var o=new Set(r),i=new Set(t),a=n.current;o.forEach(function(s){i.has(s)||ce(s,null)}),i.forEach(function(s){o.has(s)||ce(s,a)})}un.set(n,t)},[t]),n}function La(t){return t}function ka(t,e){e===void 0&&(e=La);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(i){var a=e(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var c=function(){var f=a;a=[],f.forEach(i)},d=function(){return Promise.resolve().then(c)};d(),n={push:function(f){a.push(f),d()},filter:function(f){return a=a.filter(f),n}}}};return o}function Ea(t){t===void 0&&(t={});var e=ka(null);return e.options=ot({async:!0,ssr:!1},t),e}var fr=function(t){var e=t.sideCar,n=yn(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return u.createElement(r,ot({},n))};fr.isSideCarExport=!0;function Sa(t,e){return t.useMedium(e),fr}var hr=Ea(),le=function(){},Jt=u.forwardRef(function(t,e){var n=u.useRef(null),r=u.useState({onScrollCapture:le,onWheelCapture:le,onTouchMoveCapture:le}),o=r[0],i=r[1],a=t.forwardProps,s=t.children,c=t.className,d=t.removeScrollBar,f=t.enabled,l=t.shards,h=t.sideCar,m=t.noRelative,v=t.noIsolation,p=t.inert,g=t.allowPinchZoom,w=t.as,y=w===void 0?"div":w,x=t.gapMode,b=yn(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=h,L=Ca([n,e]),S=ot(ot({},b),o);return u.createElement(u.Fragment,null,f&&u.createElement(C,{sideCar:hr,removeScrollBar:d,shards:l,noRelative:m,noIsolation:v,inert:p,setCallbacks:i,allowPinchZoom:!!g,lockRef:n,gapMode:x}),a?u.cloneElement(u.Children.only(s),ot(ot({},S),{ref:L})):u.createElement(y,ot({},S,{className:c,ref:L}),s))});Jt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Jt.classNames={fullWidth:Bt,zeroRight:Wt};var Ra=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Pa(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=Ra();return e&&t.setAttribute("nonce",e),t}function Ma(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Oa(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var Aa=function(){var t=0,e=null;return{add:function(n){t==0&&(e=Pa())&&(Ma(e,n),Oa(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},Ta=function(){var t=Aa();return function(e,n){u.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&n])}},pr=function(){var t=Ta(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},Da={left:0,top:0,right:0,gap:0},ue=function(t){return parseInt(t||"",10)||0},_a=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[ue(n),ue(r),ue(o)]},ja=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return Da;var e=_a(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},Na=pr(),yt="data-scroll-locked",Ia=function(t,e,n,r){var o=t.left,i=t.top,a=t.right,s=t.gap;return n===void 0&&(n="margin"),`
22
- .`.concat(wa,` {
23
- overflow: hidden `).concat(r,`;
24
- padding-right: `).concat(s,"px ").concat(r,`;
25
- }
26
- body[`).concat(yt,`] {
27
- overflow: hidden `).concat(r,`;
28
- overscroll-behavior: contain;
29
- `).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
30
- padding-left: `.concat(o,`px;
31
- padding-top: `).concat(i,`px;
32
- padding-right: `).concat(a,`px;
33
- margin-left:0;
34
- margin-top:0;
35
- margin-right: `).concat(s,"px ").concat(r,`;
36
- `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
37
- }
38
-
39
- .`).concat(Wt,` {
40
- right: `).concat(s,"px ").concat(r,`;
41
- }
42
-
43
- .`).concat(Bt,` {
44
- margin-right: `).concat(s,"px ").concat(r,`;
45
- }
46
-
47
- .`).concat(Wt," .").concat(Wt,` {
48
- right: 0 `).concat(r,`;
49
- }
50
-
51
- .`).concat(Bt," .").concat(Bt,` {
52
- margin-right: 0 `).concat(r,`;
53
- }
54
-
55
- body[`).concat(yt,`] {
56
- `).concat(ya,": ").concat(s,`px;
57
- }
58
- `)},dn=function(){var t=parseInt(document.body.getAttribute(yt)||"0",10);return isFinite(t)?t:0},Wa=function(){u.useEffect(function(){return document.body.setAttribute(yt,(dn()+1).toString()),function(){var t=dn()-1;t<=0?document.body.removeAttribute(yt):document.body.setAttribute(yt,t.toString())}},[])},Ba=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r;Wa();var i=u.useMemo(function(){return ja(o)},[o]);return u.createElement(Na,{styles:Ia(i,!e,o,n?"":"!important")})},Ce=!1;if(typeof window<"u")try{var jt=Object.defineProperty({},"passive",{get:function(){return Ce=!0,!0}});window.addEventListener("test",jt,jt),window.removeEventListener("test",jt,jt)}catch{Ce=!1}var vt=Ce?{passive:!1}:!1,Fa=function(t){return t.tagName==="TEXTAREA"},vr=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!Fa(t)&&n[e]==="visible")},Ha=function(t){return vr(t,"overflowY")},$a=function(t){return vr(t,"overflowX")},fn=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=mr(t,r);if(o){var i=gr(t,r),a=i[1],s=i[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Va=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},Ua=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},mr=function(t,e){return t==="v"?Ha(e):$a(e)},gr=function(t,e){return t==="v"?Va(e):Ua(e)},za=function(t,e){return t==="h"&&e==="rtl"?-1:1},Za=function(t,e,n,r,o){var i=za(t,window.getComputedStyle(e).direction),a=i*r,s=n.target,c=e.contains(s),d=!1,f=a>0,l=0,h=0;do{if(!s)break;var m=gr(t,s),v=m[0],p=m[1],g=m[2],w=p-g-i*v;(v||w)&&mr(t,s)&&(l+=w,h+=v);var y=s.parentNode;s=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&s!==document.body||c&&(e.contains(s)||e===s));return(f&&Math.abs(l)<1||!f&&Math.abs(h)<1)&&(d=!0),d},Nt=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},hn=function(t){return[t.deltaX,t.deltaY]},pn=function(t){return t&&"current"in t?t.current:t},Ga=function(t,e){return t[0]===e[0]&&t[1]===e[1]},Qa=function(t){return`
59
- .block-interactivity-`.concat(t,` {pointer-events: none;}
60
- .allow-interactivity-`).concat(t,` {pointer-events: all;}
61
- `)},Xa=0,mt=[];function Ya(t){var e=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(Xa++)[0],i=u.useState(pr)[0],a=u.useRef(t);u.useEffect(function(){a.current=t},[t]),u.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var p=Vr([t.lockRef.current],(t.shards||[]).map(pn),!0).filter(Boolean);return p.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var s=u.useCallback(function(p,g){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!a.current.allowPinchZoom;var w=Nt(p),y=n.current,x="deltaX"in p?p.deltaX:y[0]-w[0],b="deltaY"in p?p.deltaY:y[1]-w[1],C,L=p.target,S=Math.abs(x)>Math.abs(b)?"h":"v";if("touches"in p&&S==="h"&&L.type==="range")return!1;var O=window.getSelection(),A=O&&O.anchorNode,M=A?A===L||A.contains(L):!1;if(M)return!1;var _=fn(S,L);if(!_)return!0;if(_?C=S:(C=S==="v"?"h":"v",_=fn(S,L)),!_)return!1;if(!r.current&&"changedTouches"in p&&(x||b)&&(r.current=C),!C)return!0;var R=r.current||C;return Za(R,g,p,R==="h"?x:b)},[]),c=u.useCallback(function(p){var g=p;if(!(!mt.length||mt[mt.length-1]!==i)){var w="deltaY"in g?hn(g):Nt(g),y=e.current.filter(function(C){return C.name===g.type&&(C.target===g.target||g.target===C.shadowParent)&&Ga(C.delta,w)})[0];if(y&&y.should){g.cancelable&&g.preventDefault();return}if(!y){var x=(a.current.shards||[]).map(pn).filter(Boolean).filter(function(C){return C.contains(g.target)}),b=x.length>0?s(g,x[0]):!a.current.noIsolation;b&&g.cancelable&&g.preventDefault()}}},[]),d=u.useCallback(function(p,g,w,y){var x={name:p,delta:g,target:w,should:y,shadowParent:Ka(w)};e.current.push(x),setTimeout(function(){e.current=e.current.filter(function(b){return b!==x})},1)},[]),f=u.useCallback(function(p){n.current=Nt(p),r.current=void 0},[]),l=u.useCallback(function(p){d(p.type,hn(p),p.target,s(p,t.lockRef.current))},[]),h=u.useCallback(function(p){d(p.type,Nt(p),p.target,s(p,t.lockRef.current))},[]);u.useEffect(function(){return mt.push(i),t.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:h}),document.addEventListener("wheel",c,vt),document.addEventListener("touchmove",c,vt),document.addEventListener("touchstart",f,vt),function(){mt=mt.filter(function(p){return p!==i}),document.removeEventListener("wheel",c,vt),document.removeEventListener("touchmove",c,vt),document.removeEventListener("touchstart",f,vt)}},[]);var m=t.removeScrollBar,v=t.inert;return u.createElement(u.Fragment,null,v?u.createElement(i,{styles:Qa(o)}):null,m?u.createElement(Ba,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function Ka(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const Ja=Sa(hr,Ya);var qa=u.forwardRef(function(t,e){return u.createElement(Jt,ot({},t,{ref:e,sideCar:Ja}))});qa.classNames=Jt.classNames;const $s={services:{root:"/services",detail:t=>`/services/${t}`,overview:t=>`/services/${t}/overview`,apis:t=>`/services/${t}/apis`,apiEndpoint:(t,e,n)=>`/services/${t}/apis/${e}?endpointId=${n}`,database:(t,e)=>`/services/${t}/data/${e}`,diagrams:t=>`/services/${t}/diagrams`,costs:t=>`/services/${t}/costs`,data:t=>`/services/${t}/data`,operations:t=>`/services/${t}/operations`,people:t=>`/services/${t}/people`,dependencies:t=>`/services/${t}/dependencies`,dependency:"/services/dependency",dataFlow:"/services/data-flow"},lens:{root:"/lens",run:t=>`/lens/${t}`,dashboard:"/dashboard/lens",dashboardRun:t=>`/dashboard/lens/${t}`}};var ts=Object.defineProperty,es=(t,e)=>ts(t,"name",{value:e,configurable:!0}),ns=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"}),rs=u.forwardRef(es(function(e,n){return E.jsx(st.span,{...e,ref:n,style:{...ns,...e.style}})},"VisuallyHidden")),os=rs,is=Object.defineProperty,W=(t,e)=>is(t,"name",{value:e,configurable:!0}),[Ie,Vs]=Re("Tooltip",[nr]),qt=nr(),as="TooltipProvider",ss=700,Le="tooltip.open",[cs,We]=Ie(as),ls=W(t=>{const{__scopeTooltip:e,delayDuration:n=ss,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=t,a=u.useRef(!0),s=u.useRef(!1),c=u.useRef(0);return u.useEffect(()=>{const d=c.current;return()=>window.clearTimeout(d)},[]),E.jsx(cs,{scope:e,isOpenDelayedRef:a,delayDuration:n,onOpen:u.useCallback(()=>{r<=0||(window.clearTimeout(c.current),a.current=!1)},[r]),onClose:u.useCallback(()=>{r<=0||(window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,r))},[r]),isPointerInTransitRef:s,onPointerInTransitChange:u.useCallback(d=>{s.current=d},[]),disableHoverableContent:o,children:i})},"TooltipProvider"),ke="Tooltip",[us,Pt]=Ie(ke),ds=W(t=>{const{__scopeTooltip:e,children:n,open:r,defaultOpen:o,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=t,c=We(ke,t.__scopeTooltip),d=qt(e),[f,l]=u.useState(null),[h,m]=u.useState(void 0),v=Hn(),p=u.useRef(0),g=a??c.disableHoverableContent,w=s??c.delayDuration,y=u.useRef(!1),[x,b]=Rn({prop:r,defaultProp:o??!1,onChange:W(M=>{M?(c.onOpen(),document.dispatchEvent(new CustomEvent(Le))):c.onClose(),i?.(M)},"onChange"),caller:ke}),C=u.useMemo(()=>x?y.current?"delayed-open":"instant-open":"closed",[x]),L=u.useCallback(()=>{window.clearTimeout(p.current),p.current=0,y.current=!1,b(!0)},[b]),S=u.useCallback(()=>{window.clearTimeout(p.current),p.current=0,b(!1)},[b]),O=u.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{y.current=!0,b(!0),p.current=0},w)},[w,b]);u.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]);const A=h??v;return E.jsx(sa,{...d,children:E.jsx(us,{scope:e,contentId:A,setContentId:m,open:x,stateAttribute:C,trigger:f,onTriggerChange:l,onTriggerEnter:u.useCallback(()=>{c.isOpenDelayedRef.current?O():L()},[c.isOpenDelayedRef,O,L]),onTriggerLeave:u.useCallback(()=>{g?S():(window.clearTimeout(p.current),p.current=0)},[S,g]),onOpen:L,onClose:S,disableHoverableContent:g,children:n})})},"Tooltip"),vn="TooltipTrigger",fs=u.forwardRef(W(function(e,n){const{__scopeTooltip:r,...o}=e,i=Pt(vn,r),a=We(vn,r),s=qt(r),c=u.useRef(null),d=xt(n,c,i.onTriggerChange),f=u.useRef(!1),l=u.useRef(!1),h=u.useCallback(()=>f.current=!1,[]);return u.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),E.jsx(ca,{asChild:!0,...s,children:E.jsx(st.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...o,ref:d,onPointerMove:G(e.onPointerMove,m=>{m.pointerType!=="touch"&&!l.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),l.current=!0)}),onPointerLeave:G(e.onPointerLeave,()=>{i.onTriggerLeave(),l.current=!1}),onPointerDown:G(e.onPointerDown,()=>{i.open&&i.onClose(),f.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:G(e.onFocus,()=>{f.current||i.onOpen()}),onBlur:G(e.onBlur,i.onClose),onClick:G(e.onClick,i.onClose)})})},"TooltipTrigger")),wr="TooltipPortal",[hs,ps]=Ie(wr,{forceMount:void 0}),vs=W(t=>{const{__scopeTooltip:e,forceMount:n,children:r,container:o}=t,i=Pt(wr,e);return E.jsx(hs,{scope:e,forceMount:n,children:E.jsx(sr,{present:n||i.open,children:E.jsx(ha,{asChild:!0,container:o,children:r})})})},"TooltipPortal"),St="TooltipContent",ms=u.forwardRef(W(function(e,n){const r=ps(St,e.__scopeTooltip),{forceMount:o=r.forceMount,side:i="top",...a}=e,s=Pt(St,e.__scopeTooltip);return E.jsx(sr,{present:o||s.open,children:s.disableHoverableContent?E.jsx(yr,{side:i,...a,ref:n}):E.jsx(gs,{side:i,...a,ref:n})})},"TooltipContent")),gs=u.forwardRef(W(function(e,n){const r=Pt(St,e.__scopeTooltip),o=We(St,e.__scopeTooltip),i=u.useRef(null),a=xt(n,i),[s,c]=u.useState(null),{trigger:d,onClose:f}=r,l=i.current,{onPointerInTransitChange:h}=o,m=u.useCallback(()=>{c(null),h(!1)},[h]),v=u.useCallback((p,g)=>{const w=p.currentTarget,y={x:p.clientX,y:p.clientY},x=xr(y,w.getBoundingClientRect()),b=br(y,x),C=Cr(g.getBoundingClientRect()),L=kr([...b,...C]);c(L),h(!0)},[h]);return u.useEffect(()=>()=>m(),[m]),u.useEffect(()=>{if(d&&l){const p=W(w=>v(w,l),"handleTriggerLeave"),g=W(w=>v(w,d),"handleContentLeave");return d.addEventListener("pointerleave",p),l.addEventListener("pointerleave",g),()=>{d.removeEventListener("pointerleave",p),l.removeEventListener("pointerleave",g)}}},[d,l,v,m]),u.useEffect(()=>{if(s){const p=W(g=>{const w=g.target,y={x:g.clientX,y:g.clientY},x=d?.contains(w)||l?.contains(w),b=!Lr(y,s);x?m():b&&(m(),f())},"handleTrackPointerGrace");return document.addEventListener("pointermove",p),()=>document.removeEventListener("pointermove",p)}},[d,l,s,f,m]),E.jsx(yr,{...e,ref:a})},"TooltipContentHoverable")),ws=zr("TooltipContent"),yr=u.forwardRef(W(function(e,n){const{__scopeTooltip:r,children:o,"aria-label":i,id:a,onEscapeKeyDown:s,onPointerDownOutside:c,...d}=e,f=Pt(St,r),l=qt(r),{onClose:h}=f;u.useEffect(()=>(document.addEventListener(Le,h),()=>document.removeEventListener(Le,h)),[h]),u.useEffect(()=>{if(f.trigger){const v=W(p=>{p.target instanceof Node&&p.target.contains(f.trigger)&&h()},"handleScroll");return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[f.trigger,h]);const{setContentId:m}=f;return Z(()=>(m(a),()=>{m(void 0)}),[a,m]),E.jsx(Po,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:v=>v.preventDefault(),onDismiss:h,children:E.jsxs(la,{"data-state":f.stateAttribute,role:i?void 0:"tooltip",id:i?void 0:f.contentId,...l,...d,ref:n,style:{...d.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:[E.jsx(ws,{children:o}),i?E.jsx(os,{id:f.contentId,role:"tooltip",children:i}):null]})})},"TooltipContentImpl")),ys=u.forwardRef(W(function(e,n){const{__scopeTooltip:r,...o}=e,i=qt(r);return E.jsx(ua,{...i,...o,ref:n})},"TooltipArrow"));function xr(t,e){const n=Math.abs(e.top-t.y),r=Math.abs(e.bottom-t.y),o=Math.abs(e.right-t.x),i=Math.abs(e.left-t.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}W(xr,"getExitSideFromRect");function br(t,e,n=5){const r=[];switch(e){case"top":r.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":r.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":r.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":r.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return r}W(br,"getPaddedExitPoints");function Cr(t){const{top:e,right:n,bottom:r,left:o}=t;return[{x:o,y:e},{x:n,y:e},{x:n,y:r},{x:o,y:r}]}W(Cr,"getPointsFromRect");function Lr(t,e){const{x:n,y:r}=t;let o=!1;for(let i=0,a=e.length-1;i<e.length;a=i++){const s=e[i],c=e[a],d=s.x,f=s.y,l=c.x,h=c.y;f>r!=h>r&&n<(l-d)*(r-f)/(h-f)+d&&(o=!o)}return o}W(Lr,"isPointInPolygon");function kr(t){const e=t.slice();return e.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Er(e)}W(kr,"getHull");function Er(t){if(t.length<=1)return t.slice();const e=[];for(let r=0;r<t.length;r++){const o=t[r];for(;e.length>=2;){const i=e[e.length-1],a=e[e.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))e.pop();else break}e.push(o)}e.pop();const n=[];for(let r=t.length-1;r>=0;r--){const o=t[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}W(Er,"getHullPresorted");var xs=ls,bs=ds,Cs=fs,Ls=vs,ks=ms,Es=ys;function Ss({delayDuration:t=0,...e}){return E.jsx(xs,{"data-slot":"tooltip-provider",delayDuration:t,...e})}function Us({...t}){return E.jsx(Ss,{children:E.jsx(bs,{"data-slot":"tooltip",...t})})}function zs({...t}){return E.jsx(Cs,{"data-slot":"tooltip-trigger",...t})}function Zs({className:t,sideOffset:e=0,children:n,...r}){return E.jsx(Ls,{children:E.jsxs(ks,{"data-slot":"tooltip-content",sideOffset:e,className:zt("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",t),...r,children:[n,E.jsx(Es,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}function Gs(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"},child:[]}]})(t)}function Qs(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 6 6 18"},child:[]},{tag:"path",attr:{d:"m6 6 12 12"},child:[]}]})(t)}function Xs(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{width:"8",height:"8",x:"3",y:"3",rx:"2"},child:[]},{tag:"path",attr:{d:"M7 11v4a2 2 0 0 0 2 2h4"},child:[]},{tag:"rect",attr:{width:"8",height:"8",x:"13",y:"13",rx:"2"},child:[]}]})(t)}function Ys(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"},child:[]},{tag:"circle",attr:{cx:"12",cy:"7",r:"4"},child:[]}]})(t)}function Ks(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 6h18"},child:[]},{tag:"path",attr:{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"},child:[]},{tag:"path",attr:{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"},child:[]},{tag:"line",attr:{x1:"10",x2:"10",y1:"11",y2:"17"},child:[]},{tag:"line",attr:{x1:"14",x2:"14",y1:"11",y2:"17"},child:[]}]})(t)}function Js(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"4 17 10 11 4 5"},child:[]},{tag:"line",attr:{x1:"12",x2:"20",y1:"19",y2:"19"},child:[]}]})(t)}function qs(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M5 3a2 2 0 0 0-2 2"},child:[]},{tag:"path",attr:{d:"M19 3a2 2 0 0 1 2 2"},child:[]},{tag:"path",attr:{d:"M21 19a2 2 0 0 1-2 2"},child:[]},{tag:"path",attr:{d:"M5 21a2 2 0 0 1-2-2"},child:[]},{tag:"path",attr:{d:"M9 3h1"},child:[]},{tag:"path",attr:{d:"M9 21h1"},child:[]},{tag:"path",attr:{d:"M14 3h1"},child:[]},{tag:"path",attr:{d:"M14 21h1"},child:[]},{tag:"path",attr:{d:"M3 9v1"},child:[]},{tag:"path",attr:{d:"M21 9v1"},child:[]},{tag:"path",attr:{d:"M3 14v1"},child:[]},{tag:"path",attr:{d:"M21 14v1"},child:[]}]})(t)}function tc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z"},child:[]},{tag:"rect",attr:{x:"3",y:"14",width:"7",height:"7",rx:"1"},child:[]},{tag:"circle",attr:{cx:"17.5",cy:"17.5",r:"3.5"},child:[]}]})(t)}function ec(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2"},child:[]},{tag:"rect",attr:{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"6",x2:"6.01",y1:"6",y2:"6"},child:[]},{tag:"line",attr:{x1:"6",x2:"6.01",y1:"18",y2:"18"},child:[]}]})(t)}function nc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"},child:[]},{tag:"path",attr:{d:"m21 21-4.3-4.3"},child:[]}]})(t)}function Rs(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 7V5a2 2 0 0 1 2-2h2"},child:[]},{tag:"path",attr:{d:"M17 3h2a2 2 0 0 1 2 2v2"},child:[]},{tag:"path",attr:{d:"M21 17v2a2 2 0 0 1-2 2h-2"},child:[]},{tag:"path",attr:{d:"M7 21H5a2 2 0 0 1-2-2v-2"},child:[]},{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]},{tag:"path",attr:{d:"m16 16-1.9-1.9"},child:[]}]})(t)}function rc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"},child:[]},{tag:"path",attr:{d:"M3 3v5h5"},child:[]}]})(t)}function oc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m2 9 3-3 3 3"},child:[]},{tag:"path",attr:{d:"M13 18H7a2 2 0 0 1-2-2V6"},child:[]},{tag:"path",attr:{d:"m22 15-3 3-3-3"},child:[]},{tag:"path",attr:{d:"M11 6h6a2 2 0 0 1 2 2v10"},child:[]}]})(t)}function ic(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M5 12h14"},child:[]},{tag:"path",attr:{d:"M12 5v14"},child:[]}]})(t)}function ac(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"},child:[]},{tag:"path",attr:{d:"m15 5 4 4"},child:[]}]})(t)}function sc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"4 14 10 14 10 20"},child:[]},{tag:"polyline",attr:{points:"20 10 14 10 14 4"},child:[]},{tag:"line",attr:{x1:"14",x2:"21",y1:"10",y2:"3"},child:[]},{tag:"line",attr:{x1:"3",x2:"10",y1:"21",y2:"14"},child:[]}]})(t)}function cc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"4",x2:"20",y1:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"4",x2:"20",y1:"6",y2:"6"},child:[]},{tag:"line",attr:{x1:"4",x2:"20",y1:"18",y2:"18"},child:[]}]})(t)}function lc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 3 21 3 21 9"},child:[]},{tag:"polyline",attr:{points:"9 21 3 21 3 15"},child:[]},{tag:"line",attr:{x1:"21",x2:"14",y1:"3",y2:"10"},child:[]},{tag:"line",attr:{x1:"3",x2:"10",y1:"21",y2:"14"},child:[]}]})(t)}function uc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 12h-8"},child:[]},{tag:"path",attr:{d:"M21 6H8"},child:[]},{tag:"path",attr:{d:"M21 18h-8"},child:[]},{tag:"path",attr:{d:"M3 6v4c0 1.1.9 2 2 2h3"},child:[]},{tag:"path",attr:{d:"M3 10v6c0 1.1.9 2 2 2h3"},child:[]}]})(t)}function dc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 12h11"},child:[]},{tag:"path",attr:{d:"M10 18h11"},child:[]},{tag:"path",attr:{d:"M10 6h11"},child:[]},{tag:"path",attr:{d:"M4 10h2"},child:[]},{tag:"path",attr:{d:"M4 6h1v4"},child:[]},{tag:"path",attr:{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1"},child:[]}]})(t)}function fc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 12H3"},child:[]},{tag:"path",attr:{d:"M16 6H3"},child:[]},{tag:"path",attr:{d:"M10 18H3"},child:[]},{tag:"path",attr:{d:"M21 6v10a2 2 0 0 1-2 2h-5"},child:[]},{tag:"path",attr:{d:"m16 16-2 2 2 2"},child:[]}]})(t)}function hc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"},child:[]},{tag:"path",attr:{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"},child:[]}]})(t)}function pc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{width:"18",height:"7",x:"3",y:"3",rx:"1"},child:[]},{tag:"rect",attr:{width:"9",height:"7",x:"3",y:"14",rx:"1"},child:[]},{tag:"rect",attr:{width:"5",height:"7",x:"16",y:"14",rx:"1"},child:[]}]})(t)}function vc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 3v12"},child:[]},{tag:"path",attr:{d:"m8 11 4 4 4-4"},child:[]},{tag:"path",attr:{d:"M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4"},child:[]}]})(t)}function mc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"},child:[]},{tag:"circle",attr:{cx:"9",cy:"9",r:"2"},child:[]},{tag:"path",attr:{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"},child:[]}]})(t)}function gc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"2",x2:"22",y1:"2",y2:"22"},child:[]},{tag:"path",attr:{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83"},child:[]},{tag:"line",attr:{x1:"13.5",x2:"6",y1:"13.5",y2:"21"},child:[]},{tag:"line",attr:{x1:"18",x2:"21",y1:"12",y2:"15"},child:[]},{tag:"path",attr:{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59"},child:[]},{tag:"path",attr:{d:"M21 15V5a2 2 0 0 0-2-2H9"},child:[]}]})(t)}function wc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"9",cy:"12",r:"1"},child:[]},{tag:"circle",attr:{cx:"9",cy:"5",r:"1"},child:[]},{tag:"circle",attr:{cx:"9",cy:"19",r:"1"},child:[]},{tag:"circle",attr:{cx:"15",cy:"12",r:"1"},child:[]},{tag:"circle",attr:{cx:"15",cy:"5",r:"1"},child:[]},{tag:"circle",attr:{cx:"15",cy:"19",r:"1"},child:[]}]})(t)}function yc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]},{tag:"line",attr:{x1:"3",x2:"9",y1:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"15",x2:"21",y1:"12",y2:"12"},child:[]}]})(t)}function xc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"},child:[]}]})(t)}function bc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]},{tag:"path",attr:{d:"M3 7V5a2 2 0 0 1 2-2h2"},child:[]},{tag:"path",attr:{d:"M17 3h2a2 2 0 0 1 2 2v2"},child:[]},{tag:"path",attr:{d:"M21 17v2a2 2 0 0 1-2 2h-2"},child:[]},{tag:"path",attr:{d:"M7 21H5a2 2 0 0 1-2-2v-2"},child:[]}]})(t)}function Cc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"},child:[]},{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]}]})(t)}function Lc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"},child:[]},{tag:"path",attr:{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"},child:[]},{tag:"path",attr:{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"},child:[]},{tag:"path",attr:{d:"m2 2 20 20"},child:[]}]})(t)}function kc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15 3h6v6"},child:[]},{tag:"path",attr:{d:"M10 14 21 3"},child:[]},{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]}]})(t)}function Ec(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"ellipse",attr:{cx:"12",cy:"5",rx:"9",ry:"3"},child:[]},{tag:"path",attr:{d:"M3 5V19A9 3 0 0 0 21 19V5"},child:[]},{tag:"path",attr:{d:"M3 12A9 3 0 0 0 21 12"},child:[]}]})(t)}function Sc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"},child:[]}]})(t)}function Rc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z"},child:[]},{tag:"path",attr:{d:"M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z"},child:[]},{tag:"path",attr:{d:"M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z"},child:[]},{tag:"path",attr:{d:"M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z"},child:[]}]})(t)}function Pc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"16 18 22 12 16 6"},child:[]},{tag:"polyline",attr:{points:"8 6 2 12 8 18"},child:[]}]})(t)}function Mc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17.5 21H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z"},child:[]},{tag:"path",attr:{d:"M22 10a3 3 0 0 0-3-3h-2.207a5.502 5.502 0 0 0-10.702.5"},child:[]}]})(t)}function Oc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z"},child:[]}]})(t)}function Ac(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 13v8"},child:[]},{tag:"path",attr:{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242"},child:[]},{tag:"path",attr:{d:"m8 17 4-4 4 4"},child:[]}]})(t)}function Tc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]}]})(t)}function Dc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m18 15-6-6-6 6"},child:[]}]})(t)}function _c(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m9 18 6-6-6-6"},child:[]}]})(t)}function jc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m6 9 6 6 6-6"},child:[]}]})(t)}function Nc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 6 9 17l-5-5"},child:[]}]})(t)}function Ic(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z"},child:[]},{tag:"path",attr:{d:"m7 16.5-4.74-2.85"},child:[]},{tag:"path",attr:{d:"m7 16.5 5-3"},child:[]},{tag:"path",attr:{d:"M7 16.5v5.17"},child:[]},{tag:"path",attr:{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z"},child:[]},{tag:"path",attr:{d:"m17 16.5-5-3"},child:[]},{tag:"path",attr:{d:"m17 16.5 4.74-2.85"},child:[]},{tag:"path",attr:{d:"M17 16.5v5.17"},child:[]},{tag:"path",attr:{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z"},child:[]},{tag:"path",attr:{d:"M12 8 7.26 5.15"},child:[]},{tag:"path",attr:{d:"m12 8 4.74-2.85"},child:[]},{tag:"path",attr:{d:"M12 13.5V8"},child:[]}]})(t)}function Wc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"},child:[]},{tag:"path",attr:{d:"m3.3 7 8.7 5 8.7-5"},child:[]},{tag:"path",attr:{d:"M12 22V12"},child:[]}]})(t)}function Ps(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 8V4H8"},child:[]},{tag:"rect",attr:{width:"16",height:"12",x:"4",y:"8",rx:"2"},child:[]},{tag:"path",attr:{d:"M2 14h2"},child:[]},{tag:"path",attr:{d:"M20 14h2"},child:[]},{tag:"path",attr:{d:"M15 13v2"},child:[]},{tag:"path",attr:{d:"M9 13v2"},child:[]}]})(t)}function Bc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{width:"7",height:"7",x:"14",y:"3",rx:"1"},child:[]},{tag:"path",attr:{d:"M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3"},child:[]}]})(t)}function Fc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M5 12h14"},child:[]},{tag:"path",attr:{d:"m12 5 7 7-7 7"},child:[]}]})(t)}function Hc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m12 19-7-7 7-7"},child:[]},{tag:"path",attr:{d:"M19 12H5"},child:[]}]})(t)}function $c(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{width:"20",height:"5",x:"2",y:"3",rx:"1"},child:[]},{tag:"path",attr:{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8"},child:[]},{tag:"path",attr:{d:"M10 12h4"},child:[]}]})(t)}function Vc(t){return k({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"2",y:"4",width:"20",height:"16",rx:"2"},child:[]},{tag:"path",attr:{d:"M10 4v4"},child:[]},{tag:"path",attr:{d:"M2 8h20"},child:[]},{tag:"path",attr:{d:"M6 4v4"},child:[]}]})(t)}function Ms({className:t,...e}){return E.jsxs("svg",{fill:"none",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg",className:zt("custom-icon-text-size",t),...e,children:[E.jsx("path",{d:"M11.3332 6.16634C11.3332 4.32539 9.84077 2.83301 7.99984 2.83301C6.15889 2.83301 4.6665 4.32539 4.6665 6.16634C4.6665 8.00727 6.15889 9.49967 7.99984 9.49967C9.84077 9.49967 11.3332 8.00727 11.3332 6.16634Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),E.jsx("path",{d:"M12.6668 14.1667C12.6668 11.5893 10.5775 9.5 8.00016 9.5C5.42284 9.5 3.3335 11.5893 3.3335 14.1667",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Uc({className:t,...e}){return E.jsxs("svg",{fill:"none",viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg",className:zt("custom-icon-text-size",t),...e,children:[E.jsx("path",{d:"M11.9919 12.1816H12.0009",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),E.jsx("path",{d:"M11.9843 18.1816H11.9933",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),E.jsx("path",{d:"M11.9998 6.18164H12.0088",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Os({className:t,...e}){return E.jsxs("svg",{fill:"none",viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg",className:zt("custom-icon-text-size",t),...e,children:[E.jsx("path",{d:"M21.3175 7.32303L20.8239 6.46643C20.4506 5.8186 20.264 5.49469 19.9464 5.36552C19.6288 5.23636 19.2696 5.33828 18.5513 5.54212L17.3311 5.88582C16.8725 5.99158 16.3913 5.93158 15.9726 5.71643L15.6357 5.52206C15.2766 5.29207 15.0004 4.95297 14.8475 4.55438L14.5136 3.557C14.294 2.89698 14.1842 2.56697 13.9228 2.37821C13.6615 2.18945 13.3143 2.18945 12.6199 2.18945H11.5051C10.8108 2.18945 10.4636 2.18945 10.2022 2.37821C9.94085 2.56697 9.83106 2.89698 9.61149 3.557L9.27753 4.55438C9.12465 4.95297 8.84845 5.29207 8.48937 5.52206L8.15249 5.71643C7.73374 5.93158 7.25259 5.99158 6.79398 5.88582L5.57375 5.54212C4.85541 5.33828 4.49625 5.23636 4.17867 5.36552C3.86109 5.49469 3.67445 5.8186 3.30115 6.46643L2.80757 7.32303C2.45766 7.93028 2.2827 8.23391 2.31666 8.55713C2.35061 8.88035 2.58483 9.14082 3.05326 9.66176L4.0843 10.8144C4.3363 11.1334 4.51521 11.6894 4.51521 12.1893C4.51521 12.6894 4.33636 13.2452 4.08433 13.5643L3.05326 14.717C2.58483 15.238 2.35062 15.4984 2.31666 15.8217C2.2827 16.1449 2.45766 16.4485 2.80757 17.0557L3.30114 17.9123C3.67443 18.5601 3.86109 18.8841 4.17867 19.0132C4.49625 19.1424 4.85542 19.0405 5.57377 18.8366L6.79394 18.4929C7.25263 18.3871 7.73387 18.4472 8.15267 18.6624L8.4895 18.8568C8.84851 19.0868 9.12464 19.4258 9.2775 19.8244L9.61149 20.8219C9.83106 21.4819 9.94085 21.8119 10.2022 22.0007C10.4636 22.1894 10.8108 22.1894 11.5051 22.1894H12.6199C13.3143 22.1894 13.6615 22.1894 13.9228 22.0007C14.1842 21.8119 14.294 21.4819 14.5136 20.8219L14.8476 19.8244C15.0004 19.4258 15.2765 19.0868 15.6356 18.8568L15.9724 18.6624C16.3912 18.4472 16.8724 18.3871 17.3311 18.4929L18.5513 18.8366C19.2696 19.0405 19.6288 19.1424 19.9464 19.0132C20.264 18.8841 20.4506 18.5601 20.8239 17.9123L21.3175 17.0557C21.6674 16.4485 21.8423 16.1449 21.8084 15.8217C21.7744 15.4984 21.5402 15.238 21.0718 14.717L20.0407 13.5643C19.7887 13.2452 19.6098 12.6894 19.6098 12.1893C19.6098 11.6894 19.7888 11.1334 20.0407 10.8144L21.0718 9.66176C21.5402 9.14082 21.7744 8.88035 21.8084 8.55713C21.8423 8.23391 21.6674 7.93028 21.3175 7.32303Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),E.jsx("path",{d:"M15.5195 12.1816C15.5195 14.1146 13.9525 15.6816 12.0195 15.6816C10.0865 15.6816 8.51953 14.1146 8.51953 12.1816C8.51953 10.2486 10.0865 8.68164 12.0195 8.68164C13.9525 8.68164 15.5195 10.2486 15.5195 12.1816Z",stroke:"currentColor",strokeWidth:"1.5"})]})}function Sr(...t){return t.filter(e=>!e.hidden).map(e=>({...e,isActive:n=>e.nested?n.startsWith(e.id):n===e.id}))}function As(t){return k({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.063 1.456a1.749 1.749 0 0 1 1.874 0l8.383 5.316a1.751 1.751 0 0 1 0 2.956l-8.383 5.316a1.749 1.749 0 0 1-1.874 0L2.68 9.728a1.751 1.751 0 0 1 0-2.956Zm1.071 1.267a.25.25 0 0 0-.268 0L3.483 8.039a.25.25 0 0 0 0 .422l8.383 5.316a.25.25 0 0 0 .268 0l8.383-5.316a.25.25 0 0 0 0-.422Z"},child:[]},{tag:"path",attr:{d:"M1.867 12.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"},child:[]},{tag:"path",attr:{d:"M1.867 16.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"},child:[]}]})(t)}function Ts(t){return k({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7.25 6a.75.75 0 0 0-.75.75v7.5a.75.75 0 0 0 1.5 0v-7.5A.75.75 0 0 0 7.25 6ZM12 6a.75.75 0 0 0-.75.75v4.5a.75.75 0 0 0 1.5 0v-4.5A.75.75 0 0 0 12 6Zm4 .75a.75.75 0 0 1 1.5 0v9.5a.75.75 0 0 1-1.5 0v-9.5Z"},child:[]},{tag:"path",attr:{d:"M3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25V3.75C2 2.784 2.784 2 3.75 2ZM3.5 3.75v16.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25H3.75a.25.25 0 0 0-.25.25Z"},child:[]}]})(t)}function zc(t){return k({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M17.263 2.177a1.75 1.75 0 0 1 2.474 0l2.586 2.586a1.75 1.75 0 0 1 0 2.474L19.53 10.03l-.012.013L8.69 20.378a1.753 1.753 0 0 1-.699.409l-5.523 1.68a.748.748 0 0 1-.747-.188.748.748 0 0 1-.188-.747l1.673-5.5a1.75 1.75 0 0 1 .466-.756L14.476 4.963ZM4.708 16.361a.26.26 0 0 0-.067.108l-1.264 4.154 4.177-1.271a.253.253 0 0 0 .1-.059l10.273-9.806-2.94-2.939-10.279 9.813ZM19 8.44l2.263-2.262a.25.25 0 0 0 0-.354l-2.586-2.586a.25.25 0 0 0-.354 0L16.061 5.5Z"},child:[]}]})(t)}function Ds(t){return k({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M6.25 12a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM5.5 9.25a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM6.25 5a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM9 12.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Zm.75-4.25a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM9 5.75A.75.75 0 0 1 9.75 5h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 9 5.75ZM13.25 12a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-.75-2.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM13.25 5a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"},child:[]},{tag:"path",attr:{d:"M2 20V3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v17c0 .173-.022.34-.063.5H20a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.2-.4l-.5-.375a.75.75 0 0 1 .9-1.2l.5.375c.504.378.8.97.8 1.6v8a2 2 0 0 1-2 2h-3.562a.767.767 0 0 1-.166-.018c-.089.012-.18.018-.272.018h-3.75a.75.75 0 0 1-.75-.75V19h-3v2.25a.75.75 0 0 1-.75.75H4a2 2 0 0 1-2-2Zm2 .5h3v-2.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v2.25h3a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H4a.5.5 0 0 0-.5.5v17a.5.5 0 0 0 .5.5Z"},child:[]}]})(t)}function _s(t){return k({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M16.5 19.25a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm3.25-1.75a1.75 1.75 0 1 0 .001 3.501 1.75 1.75 0 0 0-.001-3.501Z"},child:[]},{tag:"path",attr:{d:"M13.905 1.72a.75.75 0 0 1 0 1.06L12.685 4h4.065a3.75 3.75 0 0 1 3.75 3.75v8.75a.75.75 0 0 1-1.5 0V7.75a2.25 2.25 0 0 0-2.25-2.25h-4.064l1.22 1.22a.75.75 0 0 1-1.061 1.06l-2.5-2.5a.75.75 0 0 1 0-1.06l2.5-2.5a.75.75 0 0 1 1.06 0ZM7.5 4.75a3.25 3.25 0 1 1-6.5 0 3.25 3.25 0 0 1 6.5 0ZM4.25 6.5a1.75 1.75 0 1 0-.001-3.501A1.75 1.75 0 0 0 4.25 6.5Z"},child:[]},{tag:"path",attr:{d:"M10.095 22.28a.75.75 0 0 1 0-1.06l1.22-1.22H7.25a3.75 3.75 0 0 1-3.75-3.75V7.5a.75.75 0 0 1 1.5 0v8.75a2.25 2.25 0 0 0 2.25 2.25h4.064l-1.22-1.22a.748.748 0 0 1 .332-1.265.75.75 0 0 1 .729.205l2.5 2.5a.75.75 0 0 1 0 1.06l-2.5 2.5a.75.75 0 0 1-1.06 0Z"},child:[]}]})(t)}function Zc(t){return k({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M1.5 4.25c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v12.5a1.75 1.75 0 0 1-1.75 1.75h-9.69l-3.573 3.573A1.458 1.458 0 0 1 5 21.043V18.5H3.25a1.75 1.75 0 0 1-1.75-1.75ZM3.25 4a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h2.5a.75.75 0 0 1 .75.75v3.19l3.72-3.72a.749.749 0 0 1 .53-.22h10a.25.25 0 0 0 .25-.25V4.25a.25.25 0 0 0-.25-.25Z"},child:[]}]})(t)}function Gc(t){return k({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21.03 5.72a.75.75 0 0 1 0 1.06l-11.5 11.5a.747.747 0 0 1-1.072-.012l-5.5-5.75a.75.75 0 1 1 1.084-1.036l4.97 5.195L19.97 5.72a.75.75 0 0 1 1.06 0Z"},child:[]}]})(t)}function Qc(t){return k({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"},child:[]}]})(t)}function js(t){return k({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"},child:[]}]})(t)}function Xc(t){return k({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5h3m-6.75 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-15a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 4.5v15a2.25 2.25 0 0 0 2.25 2.25Z"},child:[]}]})(t)}function Yc(t){return k({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 1.5H8.25A2.25 2.25 0 0 0 6 3.75v16.5a2.25 2.25 0 0 0 2.25 2.25h7.5A2.25 2.25 0 0 0 18 20.25V3.75a2.25 2.25 0 0 0-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"},child:[]}]})(t)}const de="Not available in the local version",Kc=Sr({id:"/dashboard/diagrams",label:"Diagrams",icon:E.jsx(_s,{}),nested:!0},{id:"/dashboard/docs",label:"Docs",icon:E.jsx(js,{}),nested:!0},{id:"/services",label:"Services",icon:E.jsx(As,{}),nested:!0},{id:"/dashboard/maps",label:"Maps",icon:E.jsx(Ts,{}),nested:!0},{id:"/dashboard/lens",label:"Lens",icon:E.jsx(Rs,{}),nested:!0},{id:"/settings",label:"Settings",icon:E.jsx(Os,{}),nested:!0}),Jc=Sr({id:"/settings/profile",disabled:de,label:"Profile",icon:E.jsx(Ms,{})},{id:"/settings/organization",disabled:de,label:"Organization",icon:E.jsx(Ds,{}),adminOnly:!0},{id:"/settings/service-accounts",disabled:de,label:"Service Accounts",icon:E.jsx(Ps,{}),adminOnly:!0});export{qr as $,ca as A,hc as B,la as C,Po as D,On as E,Fs as F,Ys as G,Yc as H,Qc as I,Fc as J,Hc as K,Nc as L,Uc as M,rc as N,Ac as O,$s as P,Gc as Q,sa as R,Os as S,Us as T,mc as U,ns as V,Zr as W,Qr as X,Kr as Y,eo as Z,Jr as _,Re as a,no as a0,ro as a1,to as a2,Pc as a3,_c as a4,kc as a5,uc as a6,oc as a7,sc as a8,vc as a9,Mc as aA,Zc as aB,Cc as aC,Lc as aD,lc as aE,cc as aF,pc as aG,gc as aH,Ei as aI,Ri as aJ,ki as aK,Ai as aL,Sc as aM,bc as aa,zc as ab,Dc as ac,Gs as ad,Wc as ae,ec as af,Ic as ag,Ec as ah,fc as ai,Rc as aj,$c as ak,xc as al,Vc as am,Js as an,Bc as ao,Tc as ap,qs as aq,ic as ar,wc as as,Ks as at,dc as au,Qs as av,ac as aw,nc as ax,tc as ay,Xs as az,sr as b,Bs as c,st as d,qn as e,G as f,Rn as g,nr as h,Hn as i,ha as j,Hs as k,qa as l,_n as m,zs as n,Zs as o,Z as p,Ss as q,Kc as r,Oc as s,Jc as t,Ws as u,Mo as v,ut as w,yc as x,Xc as y,jc as z};
@@ -1 +0,0 @@
1
- import{j as e,L as t}from"./index-5E1tJ7yK.js";import{U as o}from"./ui-graph-logo-D4jRhd4z.js";import{B as s}from"./button-DadqadpO.js";import{m as r,B as a}from"./index-C_43VC19.js";import"./iconBase-BoDZfJgC.js";function x(){return e.jsx("div",{className:"bg-background flex min-h-screen flex-col items-center justify-center px-6",children:e.jsxs(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"flex flex-col items-center text-center",children:[e.jsx("div",{className:"mb-8 flex items-center justify-center",children:e.jsx(o,{className:"size-24"})}),e.jsx("h1",{className:"mb-2 font-mono text-7xl font-bold tracking-tight text-[var(--foreground)]",children:"404"}),e.jsx("h2",{className:"text-foreground mb-4 text-xl font-semibold",children:"Page Not Found"}),e.jsx("p",{className:"text-muted-foreground mb-8 max-w-sm text-sm leading-relaxed",children:"The page you are looking for does not exist or has been moved."}),e.jsx(s,{asChild:!0,preset:"primary",children:e.jsxs(t,{to:"/dashboard",children:[e.jsx(a,{className:"h-4 w-4"}),"Back to Dashboard"]})})]})})}export{x as NotFoundPage};
@@ -1 +0,0 @@
1
- import{u as a,a as d,j as e}from"./index-5E1tJ7yK.js";import{S as m}from"./section-loader-BzpYM_Nx.js";import{P as i}from"./nav-links-8vT2ixiI.js";import{DashboardPageSectionLayout as c}from"./index-7XpV2DRw.js";import{d as l,O as g}from"./dependencies-CYdEztHw.js";import{D as u}from"./dependency-graph-DbyfN-rC.js";import{u as h}from"./useQuery-B8yYhO0c.js";import"./super-logo-loader-DJYiRbCS.js";import"./iconBase-BoDZfJgC.js";import"./scroll-area-BodE-n7W.js";import"./ui-graph-logo-D4jRhd4z.js";import"./dashboard-layout-D36InAaB.js";import"./grid-scroll-body-CPqSxU6-.js";import"./popover-CN9ni1N3.js";import"./index-D7MEHpJf.js";import"./checkbox-BXpR079x.js";import"./check-XjanpAFg.js";import"./api-endpoints-DCA5GNpC.js";import"./style-DgSU0bQl.js";import"./index-C0Rs3s9Z.js";import"./transform-BqqRT-Iy.js";import"./value-wA6veExk.js";import"./index-Dj_05fqk.js";import"./globe-Jl6eIZmG.js";import"./share-2-BmYmqN4k.js";import"./link-2-C75goIOt.js";import"./loader-circle-C5jZoM7X.js";import"./circle-alert-pm13M-Ef.js";function B(){const o=a().id,n=d(),{data:t,loading:p}=h(g,{variables:{orgId:o},skip:!o}),r=t?.dependencyGraph?l(t.dependencyGraph):void 0;return e.jsxs(c,{title:"Service dependency graph",description:"Explore dependencies across every service in your registered projects.",crumbs:[{to:i.services.root,label:"Services"},{to:i.services.dependency,label:"Dependency graph"}],children:[p?e.jsx(m,{label:"Loading dependency graph..."}):null,!p&&r?e.jsx("div",{className:"h-full min-h-0",children:e.jsx(u,{nodes:r.nodes,edges:r.edges,onNodeClick:s=>{s.service?.id&&n(i.services.dependencies(s.service.id))}})}):null]})}export{B as OrganizationDependencyGraphPage};
@@ -1 +0,0 @@
1
- import{g as l,r as m,d as a}from"./chunk-SVP7TREG-D-K2XIGs.js";import{p}from"./chunk-JWPE2WC7-DDjyvUmZ.js";import{_ as t,l as o}from"./mermaid.core-BCRBv8Us.js";import"./transform-BqqRT-Iy.js";import{M as u,d as c}from"./cynefin-OW5HDTMX-yz-uw9Kz.js";import"./index-5E1tJ7yK.js";var f=c().RailroadPeg.parser.LangiumParser,i=t(e=>{const r=e.alternatives.map(d);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),d=t(e=>{const r=e.elements.map(P);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),P=t(e=>{const r=g(e.suffix);return e.operator?{type:"special",text:e.operator==="&"?`&${s(r)}`:`!${s(r)}`}:r},"transformPrefix"),s=t(e=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),g=t(e=>{const r=v(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw new Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),v=t(e=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return i(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw new Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),y=t(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=t(e=>{p(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(y(r)))},"populateDb"),b={parse:t(e=>{a.clear(),o.debug("[PEG Parser] Starting Langium parse");const r=f.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const n=r.value;o.debug("[PEG Parser] Parsed rules:",n.rules.length),h(n),o.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:a}},L={parser:b,db:a,renderer:m,styles:l};export{L as diagram};
@@ -1 +0,0 @@
1
- import{r as p,j as r,c as D}from"./index-5E1tJ7yK.js";import{a as S,h as b,g as M,R as T,i as I,d as k,f as C,A as N,b as j,j as y,k as $,l as z,m as G,F as L,D as H,C as K}from"./nav-links-8vT2ixiI.js";import{u as _,c as U}from"./iconBase-BoDZfJgC.js";var V=Object.defineProperty,l=(a,e)=>V(a,"name",{value:e,configurable:!0}),x="Popover",[A,ue]=S(x,[b]),R=b(),[Z,v]=A(x),q=l(a=>{const{__scopePopover:e,children:s,open:n,defaultOpen:i,onOpenChange:t,modal:o=!1}=a,c=R(e),u=p.useRef(null),[P,d]=p.useState(!1),[m,f]=M({prop:n,defaultProp:i??!1,onChange:t,caller:x});return r.jsx(T,{...c,children:r.jsx(Z,{scope:e,contentId:I(),triggerRef:u,open:m,onOpenChange:f,onOpenToggle:p.useCallback(()=>f(g=>!g),[f]),hasCustomAnchor:P,onCustomAnchorAdd:p.useCallback(()=>d(!0),[]),onCustomAnchorRemove:p.useCallback(()=>d(!1),[]),modal:o,children:s})})},"Popover"),B="PopoverTrigger",J=p.forwardRef(l(function(e,s){const{__scopePopover:n,...i}=e,t=v(B,n),o=R(n),c=_(s,t.triggerRef),u=r.jsx(k.button,{type:"button","aria-haspopup":"dialog","aria-expanded":t.open,"aria-controls":t.open?t.contentId:void 0,"data-state":O(t.open),...i,ref:c,onClick:C(e.onClick,t.onOpenToggle)});return t.hasCustomAnchor?u:r.jsx(N,{asChild:!0,...o,children:u})},"PopoverTrigger")),E="PopoverPortal",[Q,W]=A(E,{forceMount:void 0}),X=l(a=>{const{__scopePopover:e,forceMount:s,children:n,container:i}=a,t=v(E,e);return r.jsx(Q,{scope:e,forceMount:s,children:r.jsx(j,{present:s||t.open,children:r.jsx(y,{asChild:!0,container:i,children:n})})})},"PopoverPortal"),h="PopoverContent",Y=p.forwardRef(l(function(e,s){const n=W(h,e.__scopePopover),{forceMount:i=n.forceMount,...t}=e,o=v(h,e.__scopePopover);return r.jsx(j,{present:i||o.open,children:o.modal?r.jsx(oe,{...t,ref:s}):r.jsx(te,{...t,ref:s})})},"PopoverContent")),ee=U("PopoverContent.RemoveScroll"),oe=p.forwardRef(l(function(e,s){const n=v(h,e.__scopePopover),i=p.useRef(null),t=_(s,i),o=p.useRef(!1);return p.useEffect(()=>{const c=i.current;if(c)return $(c)},[]),r.jsx(z,{as:ee,allowPinchZoom:!0,children:r.jsx(F,{...e,ref:t,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:C(e.onCloseAutoFocus,c=>{c.preventDefault(),o.current||n.triggerRef.current?.focus()}),onPointerDownOutside:C(e.onPointerDownOutside,c=>{const u=c.detail.originalEvent,P=u.button===0&&u.ctrlKey===!0,d=u.button===2||P;o.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:C(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),te=p.forwardRef(l(function(e,s){const n=v(h,e.__scopePopover),i=p.useRef(!1),t=p.useRef(!1);return r.jsx(F,{...e,ref:s,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{e.onCloseAutoFocus?.(o),o.defaultPrevented||(i.current||n.triggerRef.current?.focus(),o.preventDefault()),i.current=!1,t.current=!1},onInteractOutside:o=>{e.onInteractOutside?.(o),o.defaultPrevented||(i.current=!0,o.detail.originalEvent.type==="pointerdown"&&(t.current=!0));const c=o.target;n.triggerRef.current?.contains(c)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&t.current&&o.preventDefault()}})},"PopoverContentNonModal")),F=p.forwardRef(l(function(e,s){const{__scopePopover:n,trapFocus:i,onOpenAutoFocus:t,onCloseAutoFocus:o,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:P,onFocusOutside:d,onInteractOutside:m,...f}=e,g=v(h,n),w=R(n);return G(),r.jsx(L,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:t,onUnmountAutoFocus:o,children:r.jsx(H,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:m,onEscapeKeyDown:u,onPointerDownOutside:P,onFocusOutside:d,onDismiss:()=>g.onOpenChange(!1),deferPointerDownOutside:!0,children:r.jsx(K,{"data-state":O(g.open),role:"dialog",id:g.contentId,...w,...f,ref:s,style:{...f.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 O(a){return a?"open":"closed"}l(O,"getState");var re=q,ne=J,ae=X,se=Y;function le({...a}){return r.jsx(re,{"data-slot":"popover",...a})}function de({...a}){return r.jsx(ne,{"data-slot":"popover-trigger",...a})}function fe({className:a,align:e="center",sideOffset:s=4,...n}){return r.jsx(ae,{children:r.jsx(se,{"data-slot":"popover-content",align:e,sideOffset:s,className:D("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",a),...n})})}export{le as P,de as a,fe as b};
@@ -1 +0,0 @@
1
- import{g as s,r as l,d as t}from"./chunk-SVP7TREG-D-K2XIGs.js";import{p as m}from"./chunk-JWPE2WC7-DDjyvUmZ.js";import{_ as n,l as i}from"./mermaid.core-BCRBv8Us.js";import"./transform-BqqRT-Iy.js";import{M as p,c as u}from"./cynefin-OW5HDTMX-yz-uw9Kz.js";import"./index-5E1tJ7yK.js";var d=u().Railroad.parser.LangiumParser,a=n(e=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{const r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{const r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),c=n(e=>({name:e.name,definition:a(e.definition)}),"transformRule"),g=n(e=>{m(e,t),e.title&&t.setTitle(e.title),e.rules.map(r=>t.addRule(c(r)))},"populateDb"),y={parse:n(e=>{t.clear(),i.debug("[Railroad Parser] Starting Langium parse");const r=d.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new p(r);const o=r.value;i.debug("[Railroad Parser] Parsed rules:",o.rules.length),g(o),i.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:t}},P={parser:y,db:t,renderer:l,styles:s};export{P as diagram};