@onequery/cli 0.1.61-win32-x64 → 0.1.62-darwin-arm64

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 (167) hide show
  1. package/package.json +3 -3
  2. package/vendor/{x86_64-pc-windows-msvc/onequery/onequery.exe → aarch64-apple-darwin/onequery/onequery} +0 -0
  3. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/CompositeItem-CgPZMs1M.js → aarch64-apple-darwin/runtime/dashboard/assets/CompositeItem-BB408Cyb.js} +1 -1
  4. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/CompositeList-DfjQy1zM.js → aarch64-apple-darwin/runtime/dashboard/assets/CompositeList-DbbDW_rT.js} +1 -1
  5. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/DialogTitle-BntdH4ni.js → aarch64-apple-darwin/runtime/dashboard/assets/DialogTitle-ChNkcIa6.js} +1 -1
  6. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/IconTerminal2-B6A2_8s9.js +1 -0
  7. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/Separator-Cs73OsCh.js → aarch64-apple-darwin/runtime/dashboard/assets/Separator-M05FshHx.js} +1 -1
  8. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_authenticated-C931dYwo.js → aarch64-apple-darwin/runtime/dashboard/assets/_authenticated-CeN4Gcz4.js} +1 -1
  9. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_org_slug-DVciaIH3.js → aarch64-apple-darwin/runtime/dashboard/assets/_org_slug-Bx7RRX8m.js} +1 -1
  10. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/audit-CKDeHHwu.js → aarch64-apple-darwin/runtime/dashboard/assets/audit-DYFxwKYW.js} +1 -1
  11. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/auth-bootstrap-query-YDJYu6l2.js → aarch64-apple-darwin/runtime/dashboard/assets/auth-bootstrap-query-B1MHd_NV.js} +1 -1
  12. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/avatar-BCfjsnDU.js → aarch64-apple-darwin/runtime/dashboard/assets/avatar-SaFoLofF.js} +1 -1
  13. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/badge-CIufIvL5.js → aarch64-apple-darwin/runtime/dashboard/assets/badge-BFPkSrVD.js} +1 -1
  14. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/budget-C0ec4tLe.js → aarch64-apple-darwin/runtime/dashboard/assets/budget-efuiCQwt.js} +1 -1
  15. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/callback-CIsYHB3i.js → aarch64-apple-darwin/runtime/dashboard/assets/callback-0MQtger7.js} +1 -1
  16. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/checkbox-DWh_Z3yP.js → aarch64-apple-darwin/runtime/dashboard/assets/checkbox-Bii9Pcrx.js} +1 -1
  17. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/connect-database-PK6THEco.js → aarch64-apple-darwin/runtime/dashboard/assets/connect-database-v_spfhVx.js} +1 -1
  18. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/create-org-Fj6dSZrn.js → aarch64-apple-darwin/runtime/dashboard/assets/create-org-BYswkAvi.js} +1 -1
  19. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/data-source-connection-form-CJxEArZ_.js +231 -0
  20. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/device-DVPbm2ZJ.js +1 -0
  21. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dropdown-menu-DD9dPAoI.js → aarch64-apple-darwin/runtime/dashboard/assets/dropdown-menu-B7XsQ055.js} +1 -1
  22. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/getDisabledMountTransitionStyles-C-jmk481.js → aarch64-apple-darwin/runtime/dashboard/assets/getDisabledMountTransitionStyles-C0uz3iMh.js} +1 -1
  23. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/getPseudoElementBounds-D3PAuNIt.js → aarch64-apple-darwin/runtime/dashboard/assets/getPseudoElementBounds-CRlxTrfr.js} +1 -1
  24. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/home-B53E3DoQ.js → aarch64-apple-darwin/runtime/dashboard/assets/home-DXFqJtr0.js} +1 -1
  25. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/index-DpRXHDvA.js → aarch64-apple-darwin/runtime/dashboard/assets/index-CzO2VlPF.js} +3 -3
  26. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/input-CZTmGabI.js → aarch64-apple-darwin/runtime/dashboard/assets/input-BRu0b1Tq.js} +1 -1
  27. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/integrations-CT2l1XOw.js → aarch64-apple-darwin/runtime/dashboard/assets/integrations-BmNrymMN.js} +1 -1
  28. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/invite._invitationId-BkQMTN8q.js → aarch64-apple-darwin/runtime/dashboard/assets/invite._invitationId-CbHBukr7.js} +1 -1
  29. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/routes-tThQWbja.js → aarch64-apple-darwin/runtime/dashboard/assets/routes-BU9HpXEH.js} +1 -1
  30. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/select-BMJNvvto.js → aarch64-apple-darwin/runtime/dashboard/assets/select-yNaL0SXM.js} +1 -1
  31. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/separator-CXAloiOj.js → aarch64-apple-darwin/runtime/dashboard/assets/separator-BH7Gsum-.js} +1 -1
  32. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/settings-CIb83OOW.js → aarch64-apple-darwin/runtime/dashboard/assets/settings-C8us2bWX.js} +1 -1
  33. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/signin-BdcpSmM2.js → aarch64-apple-darwin/runtime/dashboard/assets/signin-Bh2rs3iR.js} +1 -1
  34. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/team-C3iYcfhG.js → aarch64-apple-darwin/runtime/dashboard/assets/team-CJiJQnH5.js} +1 -1
  35. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/textarea-BJH4Hgaa.js → aarch64-apple-darwin/runtime/dashboard/assets/textarea-CnA77PLS.js} +1 -1
  36. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/theme-toggle-DUk2lDSc.js → aarch64-apple-darwin/runtime/dashboard/assets/theme-toggle-DuLiHT8m.js} +1 -1
  37. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/use-optimistic-mutation-BQtYCi_H.js → aarch64-apple-darwin/runtime/dashboard/assets/use-optimistic-mutation-ltpcuxqj.js} +1 -1
  38. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseQuery-DD8ulSXS.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseQuery-Da78x9do.js} +1 -1
  39. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useCompositeItem-D0ac8zgi.js → aarch64-apple-darwin/runtime/dashboard/assets/useCompositeItem-D243hyne.js} +1 -1
  40. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useQuery-Cu-8Z6op.js +1 -0
  41. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useSuspenseQuery-7OqrCVKL.js +1 -0
  42. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/zod-CtCK2PFe.js → aarch64-apple-darwin/runtime/dashboard/assets/zod-D0PWrP9q.js} +1 -1
  43. package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/index.html +13 -13
  44. package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/onequery-server.mjs +422 -332
  45. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/data-source-connection-form-7teYBQYT.js +0 -231
  46. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/device-DutTdtVV.js +0 -1
  47. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useQuery-AQx9EdbX.js +0 -1
  48. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useSuspenseQuery-l71R7lgi.js +0 -1
  49. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconArrowRight-DsOD7mDl.js +0 -0
  50. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCheck-Gc24xPT2.js +0 -0
  51. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronDown-B-39MA7-.js +0 -0
  52. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronRight-DD16tNHZ.js +0 -0
  53. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCoins-C7Nn0L6R.js +0 -0
  54. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconHistory-DuLS8PKF.js +0 -0
  55. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconLoader2-0wRUrt7h.js +0 -0
  56. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconPlus-C2A-IVFH.js +0 -0
  57. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/IconX-BzxPQEcJ.js → aarch64-apple-darwin/runtime/dashboard/assets/IconX-rRpRFwc5.js} +0 -0
  58. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/alert-8GsJA6Gl.js +0 -0
  59. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-base-url-DIb6qukm.js +0 -0
  60. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/api-client-Tmtae0wC.js → aarch64-apple-darwin/runtime/dashboard/assets/api-client-tp8XTpAa.js} +0 -0
  61. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/api-paths-CFdXXr7u.js → aarch64-apple-darwin/runtime/dashboard/assets/api-paths-DcYkf-C_.js} +0 -0
  62. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/app-routes-BJtCemWJ.js → aarch64-apple-darwin/runtime/dashboard/assets/app-routes-CMyon6Em.js} +0 -0
  63. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/auth-client-CVsUOxFj.js → aarch64-apple-darwin/runtime/dashboard/assets/auth-client-D-YHMy0G.js} +0 -0
  64. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/card-CZCl7QNy.js → aarch64-apple-darwin/runtime/dashboard/assets/card-Dllm2lhp.js} +0 -0
  65. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/compiler-runtime-DCc3R3Xn.js +0 -0
  66. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/copy-button-BO1KBdf9.js +0 -0
  67. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/createReactComponent-_L2mp4Ui.js +0 -0
  68. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dist-Cg-lnuP8.js → aarch64-apple-darwin/runtime/dashboard/assets/dist-BNi06Dzx.js} +0 -0
  69. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/empty-CL-DucEV.js → aarch64-apple-darwin/runtime/dashboard/assets/empty-DjRo5ytz.js} +0 -0
  70. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/format-date-BESHNrRz.js → aarch64-apple-darwin/runtime/dashboard/assets/format-date-Rg05aHXh.js} +0 -0
  71. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/index-B4OsjuJp.css +0 -0
  72. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  73. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  74. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  75. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  76. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  77. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  78. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  79. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/jsx-runtime-DG_AJzB_.js +0 -0
  80. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/label-daGr3DrB.js → aarch64-apple-darwin/runtime/dashboard/assets/label-f2wVZcni.js} +0 -0
  81. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/link-Cgvqhh5w.js +0 -0
  82. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/matchContext-CDajBC0L.js +0 -0
  83. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/organization-permissions-CW7dzzFM.js → aarch64-apple-darwin/runtime/dashboard/assets/organization-permissions-BXV_ess0.js} +0 -0
  84. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/organization-query-keys-DLHrXHGP.js → aarch64-apple-darwin/runtime/dashboard/assets/organization-query-keys-ieaSNxMR.js} +0 -0
  85. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/query-C1n0RfvA.js → aarch64-apple-darwin/runtime/dashboard/assets/query-CY--GYXb.js} +0 -0
  86. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/query-timing-CO3WQkW1.js → aarch64-apple-darwin/runtime/dashboard/assets/query-timing-YBkSOxxF.js} +0 -0
  87. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/queryOptions-DgMxBJDn.js → aarch64-apple-darwin/runtime/dashboard/assets/queryOptions-bXtOUR_h.js} +0 -0
  88. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/schemas-BwLRjo3Z.js → aarch64-apple-darwin/runtime/dashboard/assets/schemas-EcBBwCo1.js} +0 -0
  89. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/src-8B8fN55i.js → aarch64-apple-darwin/runtime/dashboard/assets/src-C5F1uEDb.js} +0 -0
  90. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseUiId-BCer0ph2.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseUiId-CtNp109T.js} +0 -0
  91. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useControlled-D9OlrJOh.js → aarch64-apple-darwin/runtime/dashboard/assets/useControlled-C-85HRFr.js} +0 -0
  92. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useRender-CSUYq5_K.js → aarch64-apple-darwin/runtime/dashboard/assets/useRender-CzpKCg11.js} +0 -0
  93. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRouterState-DpT8luFk.js +0 -0
  94. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useValueChanged-BUbLVZRk.js → aarch64-apple-darwin/runtime/dashboard/assets/useValueChanged-BNrgSVVM.js} +0 -0
  95. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/utils-C8DGLIgm.js +0 -0
  96. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/xstate-react.esm-BBK5XSGm.js → aarch64-apple-darwin/runtime/dashboard/assets/xstate-react.esm-Bo3CCIRt.js} +0 -0
  97. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/favicon.ico +0 -0
  98. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step1_settings_sidebar.png +0 -0
  99. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step2_projects.png +0 -0
  100. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step3_project_keys.png +0 -0
  101. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step4_api_keys.png +0 -0
  102. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step1_service_accounts.png +0 -0
  103. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step2_bigquery_roles.png +0 -0
  104. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step3_add_key_menu.png +0 -0
  105. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step4_create_json_key.png +0 -0
  106. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step2_enable_workers_logs.png +0 -0
  107. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step3_user_api_tokens.png +0 -0
  108. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step4_create_api_token.png +0 -0
  109. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step5_workers_pages_account_id.png +0 -0
  110. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step6_workers_observability_permission.png +0 -0
  111. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step1_service_accounts.png +0 -0
  112. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step2_create_json_key.png +0 -0
  113. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step3_add_user_viewer.png +0 -0
  114. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step4_property_details.png +0 -0
  115. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step1_signin.png +0 -0
  116. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step2_new_fine_grained_token_sanitized.png +0 -0
  117. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step3_permissions_configured_sanitized.png +0 -0
  118. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step4_token_created_sanitized.png +0 -0
  119. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step1_service_accounts.png +0 -0
  120. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step2_create_service_account.png +0 -0
  121. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step3_credentials.png +0 -0
  122. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step4_project_settings.png +0 -0
  123. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step1_create_user.png +0 -0
  124. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step2_connection.png +0 -0
  125. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step1_project_settings.png +0 -0
  126. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step2_personal_api_keys.png +0 -0
  127. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step3_create_key_modal.png +0 -0
  128. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step1_connect.png +0 -0
  129. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step2_create_user.png +0 -0
  130. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step3_grant.png +0 -0
  131. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step4_info.png +0 -0
  132. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step1_personal_tokens.png +0 -0
  133. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step2_create_token_permissions.png +0 -0
  134. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step3_organization_slug.png +0 -0
  135. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step4_project_slug.png +0 -0
  136. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/onequery.svg +0 -0
  137. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260327065242_curious_nightmare.sql +0 -0
  138. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403103652_slippery_hellfire_club.sql +0 -0
  139. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403112219_gigantic_namora.sql +0 -0
  140. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420071232_previous_justin_hammer.sql +0 -0
  141. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420093157_spooky_cassandra_nova.sql +0 -0
  142. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420101631_even_ogun.sql +0 -0
  143. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260425110519_smart_amazoness.sql +0 -0
  144. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260428033542_rename_source_query_interface_missing.sql +0 -0
  145. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260430114113_jittery_scorpion.sql +0 -0
  146. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260430135906_flippant_timeslip.sql +0 -0
  147. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260502000100_drop_old_workflow_audit_tables.sql +0 -0
  148. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260503011110_moaning_jack_flag.sql +0 -0
  149. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260514143216_reset_workflow_audit_history.sql +0 -0
  150. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260524081943_colorful_firelord.sql +0 -0
  151. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260327065242_snapshot.json +0 -0
  152. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403103652_snapshot.json +0 -0
  153. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403112219_snapshot.json +0 -0
  154. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420071232_snapshot.json +0 -0
  155. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420093157_snapshot.json +0 -0
  156. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420101631_snapshot.json +0 -0
  157. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260425110519_snapshot.json +0 -0
  158. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260428033542_snapshot.json +0 -0
  159. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260430114113_snapshot.json +0 -0
  160. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260430135906_snapshot.json +0 -0
  161. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260503011110_snapshot.json +0 -0
  162. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260524081943_snapshot.json +0 -0
  163. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/_journal.json +0 -0
  164. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/initdb.wasm +0 -0
  165. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.data +0 -0
  166. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.wasm +0 -0
  167. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/polyglot_sql_wasm_bg.wasm +0 -0
@@ -1,4 +1,4 @@
1
- import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{F as r,M as i,O as a,R as o,S as s,d as c,f as l,h as u,m as d,p as f,w as p,x as m}from"./createReactComponent-_L2mp4Ui.js";import{A as h,Ct as g,D as _,Et as v,F as y,G as b,H as ee,J as x,L as S,M as C,N as w,P as te,Q as ne,Tt as re,V as ie,W as ae,X as T,Y as oe,Z as E,_t as D,at as se,bt as O,ct as k,dt as ce,et as A,ft as le,gt as j,ht as M,it as N,j as P,lt as F,nt as ue,ot as I,pt as L,rt as de,st as fe,tt as R,ut as pe,vt as z,wt as B}from"./getDisabledMountTransitionStyles-C-jmk481.js";import{C as me,D as he,E as ge,O as _e,S as V,T as H,b as ve,w as ye,x as U}from"./CompositeList-DfjQy1zM.js";import{g as W,n as be,s as xe,u as Se}from"./useBaseUiId-BCer0ph2.js";var Ce=0;function we(e,t={}){let{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(Ce);let a=()=>e?.focus({preventScroll:n});i?a():Ce=requestAnimationFrame(a)}var G={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function K(e){return e===`inert`?G.inert:e===`aria-hidden`?G[`aria-hidden`]:G.none}var q=new WeakSet,J={},Te=0,Ee=e=>e&&(e.host||Ee(e.parentNode)),De=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=Ee(t);return e.contains(n)?n:null}).filter(e=>e!=null);function Oe(e,t,n,r){let i=`data-base-ui-inert`,o=r?`inert`:n?`aria-hidden`:null,s=De(t,e),c=new Set,l=new Set(s),u=[];J[i]||(J[i]=new WeakMap);let d=J[i];s.forEach(f),p(t),c.clear();function f(e){!e||c.has(e)||(c.add(e),e.parentNode&&f(e.parentNode))}function p(e){!e||l.has(e)||[].forEach.call(e.children,e=>{if(a(e)!==`script`)if(c.has(e))p(e);else{let t=o?e.getAttribute(o):null,n=t!==null&&t!==`false`,r=K(o),a=(r.get(e)||0)+1,s=(d.get(e)||0)+1;r.set(e,a),d.set(e,s),u.push(e),a===1&&n&&q.add(e),s===1&&e.setAttribute(i,``),!n&&o&&e.setAttribute(o,o===`inert`?``:`true`)}})}return Te+=1,()=>{u.forEach(e=>{let t=K(o),n=(t.get(e)||0)-1,r=(d.get(e)||0)-1;t.set(e,n),d.set(e,r),n||(!q.has(e)&&o&&e.removeAttribute(o),q.delete(e)),r||e.removeAttribute(i)}),--Te,Te||(G.inert=new WeakMap,G[`aria-hidden`]=new WeakMap,G.none=new WeakMap,q=new WeakSet,J={})}}function ke(e,t=!1,n=!1){let r=F(e[0]).body;return Oe(e.concat(Array.from(r.querySelectorAll(`[aria-live]`))),r,t,n)}var Y=e(t()),Ae=n();function je(e,t){let n=i(e.target);return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||`keyboard`:`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var X=20,Z=[];function Me(){Z=Z.filter(e=>e.isConnected)}function Ne(e){Me(),e&&a(e)!==`body`&&(Z.push(e),Z.length>X&&(Z=Z.slice(-X)))}function Pe(){return Me(),Z[Z.length-1]}function Fe(e){if(!e)return null;let t=x();return E(e,t)?e:ne(e,t)[0]||e}function Ie(e){return!e||!e.isConnected?!1:typeof e.checkVisibility==`function`?e.checkVisibility():p(e).display!==`none`}function Le(e,t){if(!t.current.includes(`floating`)&&!e.getAttribute(`role`)?.includes(`dialog`))return;let n=x(),r=T(e,n).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return E(e,n)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),i=e.getAttribute(`tabindex`);t.current.includes(`floating`)||r.length===0?i!==`0`&&e.setAttribute(`tabindex`,`0`):(i!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function Q(e){let{context:t,children:n,disabled:i=!1,order:a=[`content`],initialFocus:o=!0,returnFocus:c=!0,restoreFocus:l=!1,modal:d=!0,closeOnFocusOut:f=!0,openInteractionType:p=``,getInsideElements:g=()=>[],nextFocusableElement:C,previousFocusableElement:w,beforeContentFocusGuardRef:re,externalTree:ie}=e,T=`rootStore`in t?t.rootStore:t,E=T.useState(`open`),D=T.useState(`domReferenceElement`),O=T.useState(`floatingElement`),{events:A,dataRef:j}=T.context,M=s(()=>j.current.floatingContext?.nodeId),L=s(g),R=o===!1,z=le(D)&&R,me=B(a),he=B(o),ge=B(c),_e=B(p),V=ee(ie),H=h(),ve=Y.useRef(null),ye=Y.useRef(null),U=Y.useRef(!1),W=Y.useRef(!1),Se=Y.useRef(!1),Ce=Y.useRef(-1),G=Y.useRef(``),K=Y.useRef(``),q=Y.useRef(null),J=Y.useRef(null),Te=u(q,re,H?.beforeInsideRef),Ee=u(J,H?.afterInsideRef),De=v(),Oe=v(),X=te(),Z=H!=null,Q=pe(O),$=s((e=Q)=>e?ne(e,x()):[]),Re=s(e=>{let t=$(e);return me.current.map(()=>t).filter(Boolean).flat()});Y.useEffect(()=>{if(i||!d)return;function e(e){e.key===`Tab`&&k(Q,fe(F(Q)))&&$().length===0&&!z&&N(e)}let t=F(Q);return t.addEventListener(`keydown`,e),()=>{t.removeEventListener(`keydown`,e)}},[i,D,Q,d,me,z,$,Re]),Y.useEffect(()=>{if(i||!O)return;function e(e){let t=ce(e),n=$().indexOf(t);n!==-1&&(Ce.current=n)}return O.addEventListener(`focusin`,e),()=>{O.removeEventListener(`focusin`,e)}},[i,O,$]),Y.useEffect(()=>{if(i||!E)return;let e=F(Q);function t(){Se.current=!1}function n(e){let t=ce(e);Se.current=!(k(O,t)||k(D,t)||k(H?.portalNode,t)),K.current=e.pointerType||`keyboard`}function r(){K.current=`keyboard`}return e.addEventListener(`pointerdown`,n,!0),e.addEventListener(`pointerup`,t,!0),e.addEventListener(`pointercancel`,t,!0),e.addEventListener(`keydown`,r,!0),()=>{e.removeEventListener(`pointerdown`,n,!0),e.removeEventListener(`pointerup`,t,!0),e.removeEventListener(`pointercancel`,t,!0),e.removeEventListener(`keydown`,r,!0)}},[i,O,D,Q,E,H]),Y.useEffect(()=>{if(i||!f)return;function e(){W.current=!0,Oe.start(0,()=>{W.current=!1})}function t(e){let t=e.relatedTarget,n=e.currentTarget,i=ce(e);queueMicrotask(()=>{let a=M(),o=T.context.triggerElements,s=t?.hasAttribute(S(`focus-guard`))&&[q.current,J.current,H?.beforeInsideRef.current,H?.afterInsideRef.current,H?.beforeOutsideRef.current,H?.afterOutsideRef.current,_(w),_(C)].includes(t),c=!(k(D,t)||k(O,t)||k(t,O)||k(H?.portalNode,t)||t!=null&&o.hasElement(t)||o.hasMatchingElement(e=>k(e,t))||s||V&&(I(V.nodesRef.current,a).find(e=>k(e.context?.elements.floating,t)||k(e.context?.elements.domReference,t))||se(V.nodesRef.current,a).find(e=>[e.context?.elements.floating,pe(e.context?.elements.floating)].includes(t)||e.context?.elements.domReference===t)));if(n===D&&Q&&Le(Q,me),l&&n!==D&&!Ie(i)&&fe(F(Q))===F(Q).body){if(r(Q)&&(Q.focus(),l===`popup`)){X.request(()=>{Q.focus()});return}let e=Ce.current,t=$(),n=t[e]||t[t.length-1]||Q;r(n)&&n.focus()}if(j.current.insideReactTree){j.current.insideReactTree=!1;return}(z||!d)&&t&&c&&!W.current&&(z||t!==Pe())&&(U.current=!0,T.setOpen(!1,be(xe,e)))})}function n(){Se.current||(j.current.insideReactTree=!0,De.start(0,()=>{j.current.insideReactTree=!1}))}let a=r(D)?D:null,o=[];if(!(!O&&!a))return a&&(a.addEventListener(`focusout`,t),a.addEventListener(`pointerdown`,e),o.push(()=>{a.removeEventListener(`focusout`,t),a.removeEventListener(`pointerdown`,e)})),O&&(O.addEventListener(`focusout`,t),H&&(O.addEventListener(`focusout`,n,!0),o.push(()=>{O.removeEventListener(`focusout`,n,!0)})),o.push(()=>{O.removeEventListener(`focusout`,t)})),()=>{o.forEach(e=>{e()})}},[i,D,O,Q,d,V,H,T,f,l,$,z,M,me,j,De,Oe,X,C,w]),Y.useEffect(()=>{if(i||!O||!E)return;let e=Array.from(H?.portalNode?.querySelectorAll(`[${S(`portal`)}]`)||[]),t=ke([O,(V?se(V.nodesRef.current,M()):[]).find(e=>le(e.context?.elements.domReference||null))?.context?.elements.domReference,...e,...L(),ve.current,ye.current,q.current,J.current,H?.beforeOutsideRef.current,H?.afterOutsideRef.current,_(w),_(C),z?D:null].filter(e=>e!=null),d||z);return()=>{t()}},[E,i,D,O,d,me,H,z,V,M,L,C,w]),m(()=>{if(!E||i||!r(Q))return;let e=fe(F(Q));queueMicrotask(()=>{let t=Re(Q),n=he.current,r=typeof n==`function`?n(_e.current||``):n;if(r===void 0||r===!1)return;let i;i=r===!0||r===null?t[0]||Q:_(r),i=i||t[0]||Q,!k(Q,e)&&we(i,{preventScroll:i===Q})})},[i,E,Q,R,Re,he,_e]),m(()=>{if(i||!Q)return;let e=F(Q);Ne(fe(e));function t(e){if(e.open||(G.current=je(e.nativeEvent,K.current)),e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`&&(U.current=!0),e.reason===`outside-press`)if(e.nested)U.current=!1;else if(ue(e.nativeEvent)||de(e.nativeEvent))U.current=!1;else{let e=!1;document.createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?U.current=!1:U.current=!0}}A.on(`openchange`,t);let n=e.createElement(`span`);n.setAttribute(`tabindex`,`-1`),n.setAttribute(`aria-hidden`,`true`),Object.assign(n.style,y),Z&&D&&D.insertAdjacentElement(`afterend`,n);function a(){let e=ge.current,t=typeof e==`function`?e(G.current):e;if(t===void 0||t===!1)return null;if(t===null&&(t=!0),typeof t==`boolean`){let e=D||Pe();return e&&e.isConnected?e:n}let r=D||Pe()||n;return _(t)||r}return()=>{A.off(`openchange`,t);let i=fe(e),o=k(O,i)||V&&I(V.nodesRef.current,M(),!1).some(e=>k(e.context?.elements.floating,i)),s=a();queueMicrotask(()=>{let t=Fe(s),a=typeof ge.current!=`boolean`;ge.current&&!U.current&&r(t)&&(!(!a&&t!==i&&i!==e.body)||o)&&t.focus({preventScroll:!0}),n.remove()})}},[i,O,Q,ge,j,A,V,Z,D,M]),Y.useEffect(()=>{queueMicrotask(()=>{U.current=!1})},[i]),Y.useEffect(()=>{if(i||!E)return;function e(e){ce(e)?.closest(`[data-base-ui-click-trigger]`)&&(W.current=!0)}let t=F(Q);return t.addEventListener(`pointerdown`,e,!0),()=>{t.removeEventListener(`pointerdown`,e,!0)}},[i,E,Q]),m(()=>{if(!i&&H)return H.setFocusManagerState({modal:d,closeOnFocusOut:f,open:E,onOpenChange:T.setOpen,domReference:D}),()=>{H.setFocusManagerState(null)}},[i,H,d,E,T,f,D]),m(()=>{if(!(i||!Q))return Le(Q,me),()=>{queueMicrotask(Me)}},[i,Q,me]);let ze=!i&&(d?!z:!0)&&(Z||d);return(0,Ae.jsxs)(Y.Fragment,{children:[ze&&(0,Ae.jsx)(P,{"data-type":`inside`,ref:Te,onFocus:e=>{if(d){let e=Re();we(e[e.length-1])}else H?.portalNode&&(U.current=!1,oe(e,H.portalNode)?ae(D)?.focus():_(w??H.beforeOutsideRef)?.focus())}}),n,ze&&(0,Ae.jsx)(P,{"data-type":`inside`,ref:Ee,onFocus:e=>{d?we(Re()[0]):H?.portalNode&&(f&&(U.current=!0),oe(e,H.portalNode)?b(D)?.focus():_(C??H.afterOutsideRef)?.focus())}})]})}function $(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,{enabled:i=!0,event:a=`click`,toggle:o=!0,ignoreMouse:s=!1,stickIfOpen:c=!0,touchOpenDelay:u=0}=t,d=Y.useRef(void 0),f=te(),p=v(),m=Y.useMemo(()=>({onPointerDown(e){d.current=e.pointerType},onMouseDown(e){let t=d.current,i=e.nativeEvent,l=n.select(`open`);if(e.button!==0||a===`click`||R(t,!0)&&s)return;let m=r.current.openEvent,h=m?.type,g=n.select(`domReferenceElement`)!==e.currentTarget,_=l&&g||!(l&&o&&(!(m&&c)||h===`click`||h===`mousedown`));if(L(i.target)){let e=be(W,i,i.target);_&&t===`touch`&&u>0?p.start(u,()=>{n.setOpen(!0,e)}):n.setOpen(_,e);return}let v=e.currentTarget;f.request(()=>{let e=be(W,i,v);_&&t===`touch`&&u>0?p.start(u,()=>{n.setOpen(!0,e)}):n.setOpen(_,e)})},onClick(e){if(a===`mousedown-only`)return;let t=d.current;if(a===`mousedown`&&t){d.current=void 0;return}if(R(t,!0)&&s)return;let i=n.select(`open`),l=r.current.openEvent,f=n.select(`domReferenceElement`)!==e.currentTarget,m=i&&f||!(i&&o&&(!(l&&c)||A(l))),h=be(W,e.nativeEvent,e.currentTarget);m&&t===`touch`&&u>0?p.start(u,()=>{n.setOpen(!0,h)}):n.setOpen(m,h)},onKeyDown(){d.current=void 0}}),[r,a,s,n,c,o,f,p,u]);return Y.useMemo(()=>i?{reference:m}:l,[i,m])}var Re=`Escape`;function ze(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function Be(e,t){return ze(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function Ve(e,t,n){return ze(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function He(e,t,n){return ze(t,n?e===j:e===D,e===M)}function Ue(e,t,n,r){return t===`both`||t===`horizontal`&&r&&r>1?e===Re:ze(t,n?e===D:e===j,e===z)}function We(e,t){let n=`rootStore`in e?e.rootStore:e,i=n.useState(`open`),a=n.useState(`floatingElement`),o=n.useState(`domReferenceElement`),c=n.context.dataRef,{listRef:l,activeIndex:u,onNavigate:d=()=>{},enabled:f=!0,selectedIndex:p=null,allowEscape:h=!1,loopFocus:g=!1,nested:_=!1,rtl:v=!1,virtual:y=!1,focusItemOnOpen:b=`auto`,focusItemOnHover:x=!0,openOnArrowKeyDown:S=!0,disabledIndices:C=void 0,orientation:w=`vertical`,parentOrientation:te,cols:ne=1,scrollItemIntoView:re=!0,itemSizes:ae,dense:T=!1,id:oe,resetOnPointerLeave:E=!0,externalTree:D}=t,se=B(pe(a)),O=ie(),A=ee(D);m(()=>{c.current.orientation=w},[c,w]);let j=le(o),M=Y.useRef(b),P=Y.useRef(p??-1),I=Y.useRef(null),L=Y.useRef(!0),R=s(e=>{d(P.current===-1?null:P.current,e)}),z=Y.useRef(R),W=Y.useRef(!!a),Ce=Y.useRef(i),G=Y.useRef(!1),K=Y.useRef(!1),q=B(C),J=B(i),Te=B(re),Ee=B(p),De=B(E),Oe=s(()=>{function e(e){y?A?.events.emit(`virtualfocus`,e):we(e,{sync:G.current,preventScroll:!0})}let t=l.current[P.current],n=K.current;t&&e(t),(G.current?e=>e():requestAnimationFrame)(()=>{let r=l.current[P.current]||t;if(!r)return;t||e(r);let i=Te.current;i&&Ae&&(n||!L.current)&&r.scrollIntoView?.(typeof i==`boolean`?{block:`nearest`,inline:`nearest`}:i)})});m(()=>{f&&(i&&a?(P.current=p??-1,M.current&&p!=null&&(K.current=!0,R())):W.current&&(P.current=-1,z.current()))},[f,i,a,p,R]),m(()=>{if(f){if(!i){G.current=!1;return}if(a)if(u==null){if(G.current=!1,Ee.current!=null)return;if(W.current&&(P.current=-1,Oe()),(!Ce.current||!W.current)&&M.current&&(I.current!=null||M.current===!0&&I.current==null)){let e=0,t=()=>{l.current[0]==null?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(P.current=I.current==null||Ve(I.current,w,v)||_?ge(l):H(l),I.current=null,R())};t()}}else he(l,u)||(P.current=u,Oe(),K.current=!1)}},[f,i,a,u,Ee,_,l,w,v,R,Oe,q]),m(()=>{if(!f||a||!A||y||!W.current)return;let e=A.nodesRef.current,t=e.find(e=>e.id===O)?.context?.elements.floating,n=fe(F(a)),r=e.some(e=>e.context&&k(e.context.elements.floating,n));t&&!r&&L.current&&t.focus({preventScroll:!0})},[f,a,A,O,y]),m(()=>{z.current=R,Ce.current=i,W.current=!!a}),m(()=>{i||(I.current=null,M.current=b)},[i,b]);let ke=u!=null,Ae=Y.useMemo(()=>{function e(e){if(!J.current)return;let t=l.current.indexOf(e.currentTarget);t!==-1&&P.current!==t&&(P.current=t,R(e))}return{onFocus(t){G.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(t){G.current=!0,K.current=!1,x&&e(t)},onPointerLeave(e){if(!J.current||!L.current||e.pointerType===`touch`)return;G.current=!0;let t=e.relatedTarget;!x||l.current.includes(t)||De.current&&(P.current=-1,R(e),y||se.current?.focus({preventScroll:!0}))}}},[J,se,x,l,R,De,y]),je=Y.useCallback(()=>te??A?.nodesRef.current.find(e=>e.id===O)?.context?.dataRef?.current.orientation,[O,A,te]),X=s(e=>{if(L.current=!1,G.current=!0,e.which===229||!J.current&&e.currentTarget===se.current)return;if(_&&Ue(e.key,w,v,ne)){Be(e.key,je())||N(e),n.setOpen(!1,be(Se,e.nativeEvent)),r(o)&&(y?A?.events.emit(`virtualfocus`,o):o.focus());return}let t=P.current,a=ge(l,C),s=H(l,C);if(j||(e.key===`Home`&&(N(e),P.current=a,R(e)),e.key===`End`&&(N(e),P.current=s,R(e))),ne>1){let t=ae||Array.from({length:l.current.length},()=>({width:1,height:1})),n=ve(t,ne,T),r=n.findIndex(e=>e!=null&&!_e(l,e,C)),i=n.reduce((e,t,n)=>t!=null&&!_e(l,t,C)?n:e,-1),o=n[ye({current:n.map(e=>e==null?null:l.current[e])},{event:e,orientation:w,loopFocus:g,rtl:v,cols:ne,disabledIndices:me([...(typeof C==`function`?null:C)||l.current.map((e,t)=>_e(l,t,C)?t:void 0),void 0],n),minIndex:r,maxIndex:i,prevIndex:V(P.current>s?a:P.current,t,n,ne,e.key===`ArrowDown`?`bl`:e.key===(v?`ArrowLeft`:`ArrowRight`)?`tr`:`tl`),stopEvent:!0})];if(o!=null&&(P.current=o,R(e)),w===`both`)return}if(Be(e.key,w)){if(N(e),i&&!y&&fe(e.currentTarget.ownerDocument)===e.currentTarget){P.current=Ve(e.key,w,v)?a:s,R(e);return}Ve(e.key,w,v)?g?t>=s?h&&t!==l.current.length?P.current=-1:(G.current=!1,P.current=a):P.current=U(l,{startingIndex:t,disabledIndices:C}):P.current=Math.min(s,U(l,{startingIndex:t,disabledIndices:C})):g?t<=a?h&&t!==-1?P.current=l.current.length:(G.current=!1,P.current=s):P.current=U(l,{startingIndex:t,decrement:!0,disabledIndices:C}):P.current=Math.max(a,U(l,{startingIndex:t,decrement:!0,disabledIndices:C})),he(l,P.current)&&(P.current=-1),R(e)}}),Z=Y.useMemo(()=>y&&i&&ke&&{"aria-activedescendant":`${oe}-${u}`},[y,i,ke,oe,u]),Me=Y.useMemo(()=>({"aria-orientation":w===`both`?void 0:w,...j?{}:Z,onKeyDown(e){if(e.key===`Tab`&&e.shiftKey&&i&&!y){let t=ce(e.nativeEvent);if(t&&!k(se.current,t))return;N(e),n.setOpen(!1,be(xe,e.nativeEvent)),r(o)&&o.focus();return}X(e)},onPointerMove(){L.current=!0}}),[Z,X,se,w,j,n,i,y,o]),Ne=Y.useMemo(()=>{function e(e){b===`auto`&&ue(e.nativeEvent)&&(M.current=!y)}function t(e){M.current=b,b===`auto`&&de(e.nativeEvent)&&(M.current=!0)}return{onKeyDown(e){let t=n.select(`open`);L.current=!1;let r=e.key.startsWith(`Arrow`),i=He(e.key,je(),v),a=Be(e.key,w),o=(_?i:a)||e.key===`Enter`||e.key.trim()===``;if(y&&t)return X(e);if(!(!t&&!S&&r)){if(o){let t=Be(e.key,je());I.current=_&&t?null:e.key}if(_){i&&(N(e),t?(P.current=ge(l,q.current),R(e)):n.setOpen(!0,be(Se,e.nativeEvent,e.currentTarget)));return}a&&(Ee.current!=null&&(P.current=Ee.current),N(e),!t&&S?n.setOpen(!0,be(Se,e.nativeEvent,e.currentTarget)):X(e),t&&R(e))}},onFocus(e){n.select(`open`)&&!y&&(P.current=-1,R(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[X,q,b,l,_,R,n,S,w,je,v,Ee,y]),Pe=Y.useMemo(()=>({...Z,...Ne}),[Z,Ne]);return Y.useMemo(()=>f?{reference:Pe,floating:Me,item:Ae,trigger:Ne}:{},[f,Pe,Me,Ne,Ae])}function Ge(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.context.dataRef,{listRef:a,activeIndex:o,onMatch:l,onTypingChange:u,enabled:d=!0,findMatch:f=null,resetMs:p=750,ignoreKeys:h=c,selectedIndex:g=null}=t,_=v(),y=Y.useRef(``),b=Y.useRef(g??o??-1),ee=Y.useRef(null);m(()=>{r&&(_.clear(),ee.current=null,y.current=``)},[r,_]),m(()=>{r&&y.current===``&&(b.current=g??o??-1)},[r,g,o]);let x=s(e=>{e?i.current.typing||(i.current.typing=e,u?.(e)):i.current.typing&&(i.current.typing=e,u?.(e))}),S=s(e=>{function t(e,t,n){let r=f?f(t,n):t.find(e=>e?.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())===0);return r?e.indexOf(r):-1}let n=a.current;if(y.current.length>0&&y.current[0]!==` `&&(t(n,n,y.current)===-1?x(!1):e.key===` `&&N(e)),n==null||h.includes(e.key)||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;r&&e.key!==` `&&(N(e),x(!0)),n.every(e=>e?e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase():!0)&&y.current===e.key&&(y.current=``,b.current=ee.current),y.current+=e.key,_.start(p,()=>{y.current=``,b.current=ee.current,x(!1)});let i=b.current,o=t(n,[...n.slice((i||0)+1),...n.slice(0,(i||0)+1)],y.current);o===-1?e.key!==` `&&(y.current=``,x(!1)):(l?.(o),ee.current=o)}),C=Y.useMemo(()=>({onKeyDown:S}),[S]),w=Y.useMemo(()=>({onKeyDown:S,onKeyUp(e){e.key===` `&&x(!1)}}),[S,x]);return Y.useMemo(()=>d?{reference:C,floating:w}:{},[d,C,w])}function Ke(e){return d(19)?e:e?`true`:void 0}var qe=Y.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n?.getBoundingClientRect();i=`polygon(
1
+ import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{F as r,M as i,O as a,R as o,S as s,d as c,f as l,h as u,m as d,p as f,w as p,x as m}from"./createReactComponent-_L2mp4Ui.js";import{A as h,Ct as g,D as _,Et as v,F as y,G as b,H as ee,J as x,L as S,M as C,N as w,P as te,Q as ne,Tt as re,V as ie,W as ae,X as T,Y as oe,Z as E,_t as D,at as se,bt as O,ct as k,dt as ce,et as A,ft as le,gt as j,ht as M,it as N,j as P,lt as F,nt as ue,ot as I,pt as L,rt as de,st as fe,tt as R,ut as pe,vt as z,wt as B}from"./getDisabledMountTransitionStyles-C0uz3iMh.js";import{C as me,D as he,E as ge,O as _e,S as V,T as H,b as ve,w as ye,x as U}from"./CompositeList-DbbDW_rT.js";import{g as W,n as be,s as xe,u as Se}from"./useBaseUiId-CtNp109T.js";var Ce=0;function we(e,t={}){let{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(Ce);let a=()=>e?.focus({preventScroll:n});i?a():Ce=requestAnimationFrame(a)}var G={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function K(e){return e===`inert`?G.inert:e===`aria-hidden`?G[`aria-hidden`]:G.none}var q=new WeakSet,J={},Te=0,Ee=e=>e&&(e.host||Ee(e.parentNode)),De=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=Ee(t);return e.contains(n)?n:null}).filter(e=>e!=null);function Oe(e,t,n,r){let i=`data-base-ui-inert`,o=r?`inert`:n?`aria-hidden`:null,s=De(t,e),c=new Set,l=new Set(s),u=[];J[i]||(J[i]=new WeakMap);let d=J[i];s.forEach(f),p(t),c.clear();function f(e){!e||c.has(e)||(c.add(e),e.parentNode&&f(e.parentNode))}function p(e){!e||l.has(e)||[].forEach.call(e.children,e=>{if(a(e)!==`script`)if(c.has(e))p(e);else{let t=o?e.getAttribute(o):null,n=t!==null&&t!==`false`,r=K(o),a=(r.get(e)||0)+1,s=(d.get(e)||0)+1;r.set(e,a),d.set(e,s),u.push(e),a===1&&n&&q.add(e),s===1&&e.setAttribute(i,``),!n&&o&&e.setAttribute(o,o===`inert`?``:`true`)}})}return Te+=1,()=>{u.forEach(e=>{let t=K(o),n=(t.get(e)||0)-1,r=(d.get(e)||0)-1;t.set(e,n),d.set(e,r),n||(!q.has(e)&&o&&e.removeAttribute(o),q.delete(e)),r||e.removeAttribute(i)}),--Te,Te||(G.inert=new WeakMap,G[`aria-hidden`]=new WeakMap,G.none=new WeakMap,q=new WeakSet,J={})}}function ke(e,t=!1,n=!1){let r=F(e[0]).body;return Oe(e.concat(Array.from(r.querySelectorAll(`[aria-live]`))),r,t,n)}var Y=e(t()),Ae=n();function je(e,t){let n=i(e.target);return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||`keyboard`:`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var X=20,Z=[];function Me(){Z=Z.filter(e=>e.isConnected)}function Ne(e){Me(),e&&a(e)!==`body`&&(Z.push(e),Z.length>X&&(Z=Z.slice(-X)))}function Pe(){return Me(),Z[Z.length-1]}function Fe(e){if(!e)return null;let t=x();return E(e,t)?e:ne(e,t)[0]||e}function Ie(e){return!e||!e.isConnected?!1:typeof e.checkVisibility==`function`?e.checkVisibility():p(e).display!==`none`}function Le(e,t){if(!t.current.includes(`floating`)&&!e.getAttribute(`role`)?.includes(`dialog`))return;let n=x(),r=T(e,n).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return E(e,n)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),i=e.getAttribute(`tabindex`);t.current.includes(`floating`)||r.length===0?i!==`0`&&e.setAttribute(`tabindex`,`0`):(i!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function Q(e){let{context:t,children:n,disabled:i=!1,order:a=[`content`],initialFocus:o=!0,returnFocus:c=!0,restoreFocus:l=!1,modal:d=!0,closeOnFocusOut:f=!0,openInteractionType:p=``,getInsideElements:g=()=>[],nextFocusableElement:C,previousFocusableElement:w,beforeContentFocusGuardRef:re,externalTree:ie}=e,T=`rootStore`in t?t.rootStore:t,E=T.useState(`open`),D=T.useState(`domReferenceElement`),O=T.useState(`floatingElement`),{events:A,dataRef:j}=T.context,M=s(()=>j.current.floatingContext?.nodeId),L=s(g),R=o===!1,z=le(D)&&R,me=B(a),he=B(o),ge=B(c),_e=B(p),V=ee(ie),H=h(),ve=Y.useRef(null),ye=Y.useRef(null),U=Y.useRef(!1),W=Y.useRef(!1),Se=Y.useRef(!1),Ce=Y.useRef(-1),G=Y.useRef(``),K=Y.useRef(``),q=Y.useRef(null),J=Y.useRef(null),Te=u(q,re,H?.beforeInsideRef),Ee=u(J,H?.afterInsideRef),De=v(),Oe=v(),X=te(),Z=H!=null,Q=pe(O),$=s((e=Q)=>e?ne(e,x()):[]),Re=s(e=>{let t=$(e);return me.current.map(()=>t).filter(Boolean).flat()});Y.useEffect(()=>{if(i||!d)return;function e(e){e.key===`Tab`&&k(Q,fe(F(Q)))&&$().length===0&&!z&&N(e)}let t=F(Q);return t.addEventListener(`keydown`,e),()=>{t.removeEventListener(`keydown`,e)}},[i,D,Q,d,me,z,$,Re]),Y.useEffect(()=>{if(i||!O)return;function e(e){let t=ce(e),n=$().indexOf(t);n!==-1&&(Ce.current=n)}return O.addEventListener(`focusin`,e),()=>{O.removeEventListener(`focusin`,e)}},[i,O,$]),Y.useEffect(()=>{if(i||!E)return;let e=F(Q);function t(){Se.current=!1}function n(e){let t=ce(e);Se.current=!(k(O,t)||k(D,t)||k(H?.portalNode,t)),K.current=e.pointerType||`keyboard`}function r(){K.current=`keyboard`}return e.addEventListener(`pointerdown`,n,!0),e.addEventListener(`pointerup`,t,!0),e.addEventListener(`pointercancel`,t,!0),e.addEventListener(`keydown`,r,!0),()=>{e.removeEventListener(`pointerdown`,n,!0),e.removeEventListener(`pointerup`,t,!0),e.removeEventListener(`pointercancel`,t,!0),e.removeEventListener(`keydown`,r,!0)}},[i,O,D,Q,E,H]),Y.useEffect(()=>{if(i||!f)return;function e(){W.current=!0,Oe.start(0,()=>{W.current=!1})}function t(e){let t=e.relatedTarget,n=e.currentTarget,i=ce(e);queueMicrotask(()=>{let a=M(),o=T.context.triggerElements,s=t?.hasAttribute(S(`focus-guard`))&&[q.current,J.current,H?.beforeInsideRef.current,H?.afterInsideRef.current,H?.beforeOutsideRef.current,H?.afterOutsideRef.current,_(w),_(C)].includes(t),c=!(k(D,t)||k(O,t)||k(t,O)||k(H?.portalNode,t)||t!=null&&o.hasElement(t)||o.hasMatchingElement(e=>k(e,t))||s||V&&(I(V.nodesRef.current,a).find(e=>k(e.context?.elements.floating,t)||k(e.context?.elements.domReference,t))||se(V.nodesRef.current,a).find(e=>[e.context?.elements.floating,pe(e.context?.elements.floating)].includes(t)||e.context?.elements.domReference===t)));if(n===D&&Q&&Le(Q,me),l&&n!==D&&!Ie(i)&&fe(F(Q))===F(Q).body){if(r(Q)&&(Q.focus(),l===`popup`)){X.request(()=>{Q.focus()});return}let e=Ce.current,t=$(),n=t[e]||t[t.length-1]||Q;r(n)&&n.focus()}if(j.current.insideReactTree){j.current.insideReactTree=!1;return}(z||!d)&&t&&c&&!W.current&&(z||t!==Pe())&&(U.current=!0,T.setOpen(!1,be(xe,e)))})}function n(){Se.current||(j.current.insideReactTree=!0,De.start(0,()=>{j.current.insideReactTree=!1}))}let a=r(D)?D:null,o=[];if(!(!O&&!a))return a&&(a.addEventListener(`focusout`,t),a.addEventListener(`pointerdown`,e),o.push(()=>{a.removeEventListener(`focusout`,t),a.removeEventListener(`pointerdown`,e)})),O&&(O.addEventListener(`focusout`,t),H&&(O.addEventListener(`focusout`,n,!0),o.push(()=>{O.removeEventListener(`focusout`,n,!0)})),o.push(()=>{O.removeEventListener(`focusout`,t)})),()=>{o.forEach(e=>{e()})}},[i,D,O,Q,d,V,H,T,f,l,$,z,M,me,j,De,Oe,X,C,w]),Y.useEffect(()=>{if(i||!O||!E)return;let e=Array.from(H?.portalNode?.querySelectorAll(`[${S(`portal`)}]`)||[]),t=ke([O,(V?se(V.nodesRef.current,M()):[]).find(e=>le(e.context?.elements.domReference||null))?.context?.elements.domReference,...e,...L(),ve.current,ye.current,q.current,J.current,H?.beforeOutsideRef.current,H?.afterOutsideRef.current,_(w),_(C),z?D:null].filter(e=>e!=null),d||z);return()=>{t()}},[E,i,D,O,d,me,H,z,V,M,L,C,w]),m(()=>{if(!E||i||!r(Q))return;let e=fe(F(Q));queueMicrotask(()=>{let t=Re(Q),n=he.current,r=typeof n==`function`?n(_e.current||``):n;if(r===void 0||r===!1)return;let i;i=r===!0||r===null?t[0]||Q:_(r),i=i||t[0]||Q,!k(Q,e)&&we(i,{preventScroll:i===Q})})},[i,E,Q,R,Re,he,_e]),m(()=>{if(i||!Q)return;let e=F(Q);Ne(fe(e));function t(e){if(e.open||(G.current=je(e.nativeEvent,K.current)),e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`&&(U.current=!0),e.reason===`outside-press`)if(e.nested)U.current=!1;else if(ue(e.nativeEvent)||de(e.nativeEvent))U.current=!1;else{let e=!1;document.createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?U.current=!1:U.current=!0}}A.on(`openchange`,t);let n=e.createElement(`span`);n.setAttribute(`tabindex`,`-1`),n.setAttribute(`aria-hidden`,`true`),Object.assign(n.style,y),Z&&D&&D.insertAdjacentElement(`afterend`,n);function a(){let e=ge.current,t=typeof e==`function`?e(G.current):e;if(t===void 0||t===!1)return null;if(t===null&&(t=!0),typeof t==`boolean`){let e=D||Pe();return e&&e.isConnected?e:n}let r=D||Pe()||n;return _(t)||r}return()=>{A.off(`openchange`,t);let i=fe(e),o=k(O,i)||V&&I(V.nodesRef.current,M(),!1).some(e=>k(e.context?.elements.floating,i)),s=a();queueMicrotask(()=>{let t=Fe(s),a=typeof ge.current!=`boolean`;ge.current&&!U.current&&r(t)&&(!(!a&&t!==i&&i!==e.body)||o)&&t.focus({preventScroll:!0}),n.remove()})}},[i,O,Q,ge,j,A,V,Z,D,M]),Y.useEffect(()=>{queueMicrotask(()=>{U.current=!1})},[i]),Y.useEffect(()=>{if(i||!E)return;function e(e){ce(e)?.closest(`[data-base-ui-click-trigger]`)&&(W.current=!0)}let t=F(Q);return t.addEventListener(`pointerdown`,e,!0),()=>{t.removeEventListener(`pointerdown`,e,!0)}},[i,E,Q]),m(()=>{if(!i&&H)return H.setFocusManagerState({modal:d,closeOnFocusOut:f,open:E,onOpenChange:T.setOpen,domReference:D}),()=>{H.setFocusManagerState(null)}},[i,H,d,E,T,f,D]),m(()=>{if(!(i||!Q))return Le(Q,me),()=>{queueMicrotask(Me)}},[i,Q,me]);let ze=!i&&(d?!z:!0)&&(Z||d);return(0,Ae.jsxs)(Y.Fragment,{children:[ze&&(0,Ae.jsx)(P,{"data-type":`inside`,ref:Te,onFocus:e=>{if(d){let e=Re();we(e[e.length-1])}else H?.portalNode&&(U.current=!1,oe(e,H.portalNode)?ae(D)?.focus():_(w??H.beforeOutsideRef)?.focus())}}),n,ze&&(0,Ae.jsx)(P,{"data-type":`inside`,ref:Ee,onFocus:e=>{d?we(Re()[0]):H?.portalNode&&(f&&(U.current=!0),oe(e,H.portalNode)?b(D)?.focus():_(C??H.afterOutsideRef)?.focus())}})]})}function $(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,{enabled:i=!0,event:a=`click`,toggle:o=!0,ignoreMouse:s=!1,stickIfOpen:c=!0,touchOpenDelay:u=0}=t,d=Y.useRef(void 0),f=te(),p=v(),m=Y.useMemo(()=>({onPointerDown(e){d.current=e.pointerType},onMouseDown(e){let t=d.current,i=e.nativeEvent,l=n.select(`open`);if(e.button!==0||a===`click`||R(t,!0)&&s)return;let m=r.current.openEvent,h=m?.type,g=n.select(`domReferenceElement`)!==e.currentTarget,_=l&&g||!(l&&o&&(!(m&&c)||h===`click`||h===`mousedown`));if(L(i.target)){let e=be(W,i,i.target);_&&t===`touch`&&u>0?p.start(u,()=>{n.setOpen(!0,e)}):n.setOpen(_,e);return}let v=e.currentTarget;f.request(()=>{let e=be(W,i,v);_&&t===`touch`&&u>0?p.start(u,()=>{n.setOpen(!0,e)}):n.setOpen(_,e)})},onClick(e){if(a===`mousedown-only`)return;let t=d.current;if(a===`mousedown`&&t){d.current=void 0;return}if(R(t,!0)&&s)return;let i=n.select(`open`),l=r.current.openEvent,f=n.select(`domReferenceElement`)!==e.currentTarget,m=i&&f||!(i&&o&&(!(l&&c)||A(l))),h=be(W,e.nativeEvent,e.currentTarget);m&&t===`touch`&&u>0?p.start(u,()=>{n.setOpen(!0,h)}):n.setOpen(m,h)},onKeyDown(){d.current=void 0}}),[r,a,s,n,c,o,f,p,u]);return Y.useMemo(()=>i?{reference:m}:l,[i,m])}var Re=`Escape`;function ze(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function Be(e,t){return ze(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function Ve(e,t,n){return ze(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function He(e,t,n){return ze(t,n?e===j:e===D,e===M)}function Ue(e,t,n,r){return t===`both`||t===`horizontal`&&r&&r>1?e===Re:ze(t,n?e===D:e===j,e===z)}function We(e,t){let n=`rootStore`in e?e.rootStore:e,i=n.useState(`open`),a=n.useState(`floatingElement`),o=n.useState(`domReferenceElement`),c=n.context.dataRef,{listRef:l,activeIndex:u,onNavigate:d=()=>{},enabled:f=!0,selectedIndex:p=null,allowEscape:h=!1,loopFocus:g=!1,nested:_=!1,rtl:v=!1,virtual:y=!1,focusItemOnOpen:b=`auto`,focusItemOnHover:x=!0,openOnArrowKeyDown:S=!0,disabledIndices:C=void 0,orientation:w=`vertical`,parentOrientation:te,cols:ne=1,scrollItemIntoView:re=!0,itemSizes:ae,dense:T=!1,id:oe,resetOnPointerLeave:E=!0,externalTree:D}=t,se=B(pe(a)),O=ie(),A=ee(D);m(()=>{c.current.orientation=w},[c,w]);let j=le(o),M=Y.useRef(b),P=Y.useRef(p??-1),I=Y.useRef(null),L=Y.useRef(!0),R=s(e=>{d(P.current===-1?null:P.current,e)}),z=Y.useRef(R),W=Y.useRef(!!a),Ce=Y.useRef(i),G=Y.useRef(!1),K=Y.useRef(!1),q=B(C),J=B(i),Te=B(re),Ee=B(p),De=B(E),Oe=s(()=>{function e(e){y?A?.events.emit(`virtualfocus`,e):we(e,{sync:G.current,preventScroll:!0})}let t=l.current[P.current],n=K.current;t&&e(t),(G.current?e=>e():requestAnimationFrame)(()=>{let r=l.current[P.current]||t;if(!r)return;t||e(r);let i=Te.current;i&&Ae&&(n||!L.current)&&r.scrollIntoView?.(typeof i==`boolean`?{block:`nearest`,inline:`nearest`}:i)})});m(()=>{f&&(i&&a?(P.current=p??-1,M.current&&p!=null&&(K.current=!0,R())):W.current&&(P.current=-1,z.current()))},[f,i,a,p,R]),m(()=>{if(f){if(!i){G.current=!1;return}if(a)if(u==null){if(G.current=!1,Ee.current!=null)return;if(W.current&&(P.current=-1,Oe()),(!Ce.current||!W.current)&&M.current&&(I.current!=null||M.current===!0&&I.current==null)){let e=0,t=()=>{l.current[0]==null?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(P.current=I.current==null||Ve(I.current,w,v)||_?ge(l):H(l),I.current=null,R())};t()}}else he(l,u)||(P.current=u,Oe(),K.current=!1)}},[f,i,a,u,Ee,_,l,w,v,R,Oe,q]),m(()=>{if(!f||a||!A||y||!W.current)return;let e=A.nodesRef.current,t=e.find(e=>e.id===O)?.context?.elements.floating,n=fe(F(a)),r=e.some(e=>e.context&&k(e.context.elements.floating,n));t&&!r&&L.current&&t.focus({preventScroll:!0})},[f,a,A,O,y]),m(()=>{z.current=R,Ce.current=i,W.current=!!a}),m(()=>{i||(I.current=null,M.current=b)},[i,b]);let ke=u!=null,Ae=Y.useMemo(()=>{function e(e){if(!J.current)return;let t=l.current.indexOf(e.currentTarget);t!==-1&&P.current!==t&&(P.current=t,R(e))}return{onFocus(t){G.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(t){G.current=!0,K.current=!1,x&&e(t)},onPointerLeave(e){if(!J.current||!L.current||e.pointerType===`touch`)return;G.current=!0;let t=e.relatedTarget;!x||l.current.includes(t)||De.current&&(P.current=-1,R(e),y||se.current?.focus({preventScroll:!0}))}}},[J,se,x,l,R,De,y]),je=Y.useCallback(()=>te??A?.nodesRef.current.find(e=>e.id===O)?.context?.dataRef?.current.orientation,[O,A,te]),X=s(e=>{if(L.current=!1,G.current=!0,e.which===229||!J.current&&e.currentTarget===se.current)return;if(_&&Ue(e.key,w,v,ne)){Be(e.key,je())||N(e),n.setOpen(!1,be(Se,e.nativeEvent)),r(o)&&(y?A?.events.emit(`virtualfocus`,o):o.focus());return}let t=P.current,a=ge(l,C),s=H(l,C);if(j||(e.key===`Home`&&(N(e),P.current=a,R(e)),e.key===`End`&&(N(e),P.current=s,R(e))),ne>1){let t=ae||Array.from({length:l.current.length},()=>({width:1,height:1})),n=ve(t,ne,T),r=n.findIndex(e=>e!=null&&!_e(l,e,C)),i=n.reduce((e,t,n)=>t!=null&&!_e(l,t,C)?n:e,-1),o=n[ye({current:n.map(e=>e==null?null:l.current[e])},{event:e,orientation:w,loopFocus:g,rtl:v,cols:ne,disabledIndices:me([...(typeof C==`function`?null:C)||l.current.map((e,t)=>_e(l,t,C)?t:void 0),void 0],n),minIndex:r,maxIndex:i,prevIndex:V(P.current>s?a:P.current,t,n,ne,e.key===`ArrowDown`?`bl`:e.key===(v?`ArrowLeft`:`ArrowRight`)?`tr`:`tl`),stopEvent:!0})];if(o!=null&&(P.current=o,R(e)),w===`both`)return}if(Be(e.key,w)){if(N(e),i&&!y&&fe(e.currentTarget.ownerDocument)===e.currentTarget){P.current=Ve(e.key,w,v)?a:s,R(e);return}Ve(e.key,w,v)?g?t>=s?h&&t!==l.current.length?P.current=-1:(G.current=!1,P.current=a):P.current=U(l,{startingIndex:t,disabledIndices:C}):P.current=Math.min(s,U(l,{startingIndex:t,disabledIndices:C})):g?t<=a?h&&t!==-1?P.current=l.current.length:(G.current=!1,P.current=s):P.current=U(l,{startingIndex:t,decrement:!0,disabledIndices:C}):P.current=Math.max(a,U(l,{startingIndex:t,decrement:!0,disabledIndices:C})),he(l,P.current)&&(P.current=-1),R(e)}}),Z=Y.useMemo(()=>y&&i&&ke&&{"aria-activedescendant":`${oe}-${u}`},[y,i,ke,oe,u]),Me=Y.useMemo(()=>({"aria-orientation":w===`both`?void 0:w,...j?{}:Z,onKeyDown(e){if(e.key===`Tab`&&e.shiftKey&&i&&!y){let t=ce(e.nativeEvent);if(t&&!k(se.current,t))return;N(e),n.setOpen(!1,be(xe,e.nativeEvent)),r(o)&&o.focus();return}X(e)},onPointerMove(){L.current=!0}}),[Z,X,se,w,j,n,i,y,o]),Ne=Y.useMemo(()=>{function e(e){b===`auto`&&ue(e.nativeEvent)&&(M.current=!y)}function t(e){M.current=b,b===`auto`&&de(e.nativeEvent)&&(M.current=!0)}return{onKeyDown(e){let t=n.select(`open`);L.current=!1;let r=e.key.startsWith(`Arrow`),i=He(e.key,je(),v),a=Be(e.key,w),o=(_?i:a)||e.key===`Enter`||e.key.trim()===``;if(y&&t)return X(e);if(!(!t&&!S&&r)){if(o){let t=Be(e.key,je());I.current=_&&t?null:e.key}if(_){i&&(N(e),t?(P.current=ge(l,q.current),R(e)):n.setOpen(!0,be(Se,e.nativeEvent,e.currentTarget)));return}a&&(Ee.current!=null&&(P.current=Ee.current),N(e),!t&&S?n.setOpen(!0,be(Se,e.nativeEvent,e.currentTarget)):X(e),t&&R(e))}},onFocus(e){n.select(`open`)&&!y&&(P.current=-1,R(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[X,q,b,l,_,R,n,S,w,je,v,Ee,y]),Pe=Y.useMemo(()=>({...Z,...Ne}),[Z,Ne]);return Y.useMemo(()=>f?{reference:Pe,floating:Me,item:Ae,trigger:Ne}:{},[f,Pe,Me,Ne,Ae])}function Ge(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.context.dataRef,{listRef:a,activeIndex:o,onMatch:l,onTypingChange:u,enabled:d=!0,findMatch:f=null,resetMs:p=750,ignoreKeys:h=c,selectedIndex:g=null}=t,_=v(),y=Y.useRef(``),b=Y.useRef(g??o??-1),ee=Y.useRef(null);m(()=>{r&&(_.clear(),ee.current=null,y.current=``)},[r,_]),m(()=>{r&&y.current===``&&(b.current=g??o??-1)},[r,g,o]);let x=s(e=>{e?i.current.typing||(i.current.typing=e,u?.(e)):i.current.typing&&(i.current.typing=e,u?.(e))}),S=s(e=>{function t(e,t,n){let r=f?f(t,n):t.find(e=>e?.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())===0);return r?e.indexOf(r):-1}let n=a.current;if(y.current.length>0&&y.current[0]!==` `&&(t(n,n,y.current)===-1?x(!1):e.key===` `&&N(e)),n==null||h.includes(e.key)||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;r&&e.key!==` `&&(N(e),x(!0)),n.every(e=>e?e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase():!0)&&y.current===e.key&&(y.current=``,b.current=ee.current),y.current+=e.key,_.start(p,()=>{y.current=``,b.current=ee.current,x(!1)});let i=b.current,o=t(n,[...n.slice((i||0)+1),...n.slice(0,(i||0)+1)],y.current);o===-1?e.key!==` `&&(y.current=``,x(!1)):(l?.(o),ee.current=o)}),C=Y.useMemo(()=>({onKeyDown:S}),[S]),w=Y.useMemo(()=>({onKeyDown:S,onKeyUp(e){e.key===` `&&x(!1)}}),[S,x]);return Y.useMemo(()=>d?{reference:C,floating:w}:{},[d,C,w])}function Ke(e){return d(19)?e:e?`true`:void 0}var qe=Y.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n?.getBoundingClientRect();i=`polygon(
2
2
  0% 0%,
3
3
  100% 0%,
4
4
  100% 100%,
@@ -1 +1 @@
1
- import{t as e}from"./jsx-runtime-DG_AJzB_.js";import{t}from"./compiler-runtime-DCc3R3Xn.js";import{a as n}from"./api-base-url-DIb6qukm.js";import{t as r}from"./useSuspenseQuery-l71R7lgi.js";import{g as i}from"./index-DpRXHDvA.js";import{a,n as o,o as s,r as c,t as l}from"./card-CZCl7QNy.js";var u=t(),d=e(),f=n(`/_authenticated/$org_slug/home`);function p(){let e=(0,u.c)(9),{organizationId:t}=f.useRouteContext(),n;e[0]===t?n=e[1]:(n=i(t),e[0]=t,e[1]=n);let{data:p}=r(n),m;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,d.jsxs)(`div`,{className:`mb-8`,children:[(0,d.jsx)(`h1`,{className:`text-3xl font-bold`,children:`Welcome to OneQuery`}),(0,d.jsx)(`p`,{className:`text-muted-foreground mt-2`,children:`Your workspace is ready to connect data sources and explore usage.`})]}),e[2]=m):m=e[2];let h;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,d.jsxs)(a,{children:[(0,d.jsx)(s,{children:`Data Sources`}),(0,d.jsx)(c,{children:`Manage the systems OneQuery can query on your behalf`})]}),e[3]=h):h=e[3];let g;e[4]===p.dataSourcesCount?g=e[5]:(g=(0,d.jsx)(`p`,{className:`text-2xl font-bold`,children:p.dataSourcesCount}),e[4]=p.dataSourcesCount,e[5]=g);let _;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,d.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Active data sources`}),e[6]=_):_=e[6];let v;return e[7]===g?v=e[8]:(v=(0,d.jsxs)(`div`,{className:`p-8`,children:[m,(0,d.jsx)(`div`,{className:`grid gap-4 md:grid-cols-1`,children:(0,d.jsxs)(l,{children:[h,(0,d.jsxs)(o,{children:[g,_]})]})})]}),e[7]=g,e[8]=v),v}var m=p;export{m as component};
1
+ import{t as e}from"./jsx-runtime-DG_AJzB_.js";import{t}from"./compiler-runtime-DCc3R3Xn.js";import{a as n}from"./api-base-url-DIb6qukm.js";import{t as r}from"./useSuspenseQuery-7OqrCVKL.js";import{g as i}from"./index-CzO2VlPF.js";import{a,n as o,o as s,r as c,t as l}from"./card-Dllm2lhp.js";var u=t(),d=e(),f=n(`/_authenticated/$org_slug/home`);function p(){let e=(0,u.c)(9),{organizationId:t}=f.useRouteContext(),n;e[0]===t?n=e[1]:(n=i(t),e[0]=t,e[1]=n);let{data:p}=r(n),m;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,d.jsxs)(`div`,{className:`mb-8`,children:[(0,d.jsx)(`h1`,{className:`text-3xl font-bold`,children:`Welcome to OneQuery`}),(0,d.jsx)(`p`,{className:`text-muted-foreground mt-2`,children:`Your workspace is ready to connect data sources and explore usage.`})]}),e[2]=m):m=e[2];let h;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,d.jsxs)(a,{children:[(0,d.jsx)(s,{children:`Data Sources`}),(0,d.jsx)(c,{children:`Manage the systems OneQuery can query on your behalf`})]}),e[3]=h):h=e[3];let g;e[4]===p.dataSourcesCount?g=e[5]:(g=(0,d.jsx)(`p`,{className:`text-2xl font-bold`,children:p.dataSourcesCount}),e[4]=p.dataSourcesCount,e[5]=g);let _;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,d.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Active data sources`}),e[6]=_):_=e[6];let v;return e[7]===g?v=e[8]:(v=(0,d.jsxs)(`div`,{className:`p-8`,children:[m,(0,d.jsx)(`div`,{className:`grid gap-4 md:grid-cols-1`,children:(0,d.jsxs)(l,{children:[h,(0,d.jsxs)(o,{children:[g,_]})]})})]}),e[7]=g,e[8]=v),v}var m=p;export{m as component};