@vokril/ui-solid 0.2.0 → 0.3.0

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 (287) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/dist/{AttributeGrid-DIXRIlOc.cjs → AttributeGrid-DgORu6BF.cjs} +1 -1
  3. package/dist/{AttributeGrid-ijp495PQ.js → AttributeGrid-iOgTCpF7.js} +4 -4
  4. package/dist/{Button-DwrhdGJd.js → Button-CCm03bSE.js} +2 -2
  5. package/dist/{Button-B9GkMXVu.cjs → Button-DntBQ4fM.cjs} +1 -1
  6. package/dist/{CommandPalette-DYoGvfhU.cjs → CommandPalette-CF0B1C8k.cjs} +1 -1
  7. package/dist/{CommandPalette-BUPt-KKd.js → CommandPalette-DiCgZhOV.js} +9 -9
  8. package/dist/{CopyButton-MwE6Yanp.cjs → CopyButton-BxwyIJxL.cjs} +1 -1
  9. package/dist/{CopyButton-DNVyxYsa.js → CopyButton-ClqxiGPb.js} +1 -1
  10. package/dist/{DateRangePicker-Bq7tOjcy.js → DateRangePicker-Qho0OzUE.js} +4 -4
  11. package/dist/{DateRangePicker-1Z9ik8dX.cjs → DateRangePicker-dLlHJR71.cjs} +1 -1
  12. package/dist/{GuidedTour-CfdVAiPb.js → GuidedTour-C6Na3wqL.js} +1212 -1246
  13. package/dist/{GuidedTour-B9f4KNrW.cjs → GuidedTour-DzQoun_d.cjs} +9 -9
  14. package/dist/IconPicker-BreG8jKY.cjs +1 -0
  15. package/dist/{IconPicker-D6u_c4aZ.js → IconPicker-CO5TWhFx.js} +17 -17
  16. package/dist/{Input-BFQPx2vy.js → Input-BqiQPUxA.js} +1 -1
  17. package/dist/{Input-BGISaDoR.cjs → Input-BrxV_Xcb.cjs} +1 -1
  18. package/dist/{Modal-BbXTj7pn.cjs → Modal-BqajyLjD.cjs} +1 -1
  19. package/dist/{Modal-CymMi6pT.js → Modal-DdbgnOMR.js} +98 -98
  20. package/dist/{PageSkeleton-B1ilf_e0.js → PageSkeleton-DfLEHkrh.js} +9 -9
  21. package/dist/{PageSkeleton-CbL10kfw.cjs → PageSkeleton-VbWHl878.cjs} +3 -3
  22. package/dist/{SearchableSelect-DL8gN3uQ.js → SearchableSelect-CBpLrNvW.js} +3 -3
  23. package/dist/{SearchableSelect-DEVOuNMk.cjs → SearchableSelect-D6yjIQO1.cjs} +1 -1
  24. package/dist/StatusBarNotificationBell-CGW8eLXe.cjs +4 -0
  25. package/dist/{StatusBarNotificationBell-BWKZJj4r.js → StatusBarNotificationBell-DUiOZ0m5.js} +14 -14
  26. package/dist/Stepper-B_nRDFxN.cjs +1 -0
  27. package/dist/{Stepper-CMj6X0hu.js → Stepper-CrXi8mfh.js} +3 -3
  28. package/dist/{Textarea-DgVXMcvw.js → Textarea-CXFZz3Oe.js} +1 -1
  29. package/dist/{Textarea-DHKgbDMq.cjs → Textarea-vl5fZzJa.cjs} +1 -1
  30. package/dist/{TimeSeriesChart-WQ_5GGxu.cjs → TimeSeriesChart-BzzqarqB.cjs} +1 -1
  31. package/dist/{TimeSeriesChart-CWElte_X.js → TimeSeriesChart-D18yHUrf.js} +1 -1
  32. package/dist/{ToggleButton-Bd9nADaB.js → ToggleButton-BiEKoA4q.js} +6 -6
  33. package/dist/{ToggleButton-BrZHAmBD.cjs → ToggleButton-l1cEdv9w.cjs} +1 -1
  34. package/dist/_internal/app/icons/iconSetRegistry.d.cts +10 -0
  35. package/dist/_internal/app/icons/iconSetRegistry.d.ts +10 -0
  36. package/dist/_internal/app/keybindings/context/useFocusClaim.d.cts +27 -0
  37. package/dist/_internal/app/keybindings/context/useFocusClaim.d.ts +27 -0
  38. package/dist/_internal/app/keybindings/context/useListCommands.d.cts +15 -0
  39. package/dist/_internal/app/keybindings/context/useListCommands.d.ts +15 -0
  40. package/dist/_internal/app/keybindings/contextKey/builtins.d.cts +48 -2
  41. package/dist/_internal/app/keybindings/contextKey/builtins.d.ts +48 -2
  42. package/dist/_internal/app/keybindings/panelCommandsRegistry.d.cts +30 -0
  43. package/dist/_internal/app/keybindings/panelCommandsRegistry.d.ts +30 -0
  44. package/dist/a11y/index.cjs +1 -1
  45. package/dist/a11y/index.js +1 -1
  46. package/dist/{server/announcerService-Cz271R3_.js → announcerService-B7yicxvU.js} +1 -1
  47. package/dist/{announcerService-aMJZgWvZ.cjs → announcerService-D_pFE24a.cjs} +1 -1
  48. package/dist/builtins-DM7FDxEt.cjs +1 -0
  49. package/dist/builtins-XOM9gfIx.js +74 -0
  50. package/dist/{catalogNotify-Ct4lFOLm.cjs → catalogNotify-B6x3enJ5.cjs} +3 -3
  51. package/dist/{catalogNotify-CpYLdvEy.js → catalogNotify-CcaMBipB.js} +52 -52
  52. package/dist/charts/index.cjs +1 -1
  53. package/dist/charts/index.js +1 -1
  54. package/dist/createResizableSidebar-_yb33Qli.cjs +1 -0
  55. package/dist/{createResizableSidebar-B-448Xy-.js → createResizableSidebar-onQNGhy_.js} +75 -75
  56. package/dist/{server/defineSettings-C1g7a15Z.js → defineSettings-By5ell8e.js} +1 -1
  57. package/dist/{server/defineSettings-ChU6Fp3a.cjs → defineSettings-DRv1FRbv.cjs} +1 -1
  58. package/dist/descriptor-7e-M9YCk.cjs +1 -0
  59. package/dist/descriptor-DxSLz4-c.js +1106 -0
  60. package/dist/desktop/index.cjs +1 -1
  61. package/dist/desktop/index.js +5 -5
  62. package/dist/displayOwner-BNw2Foa_.cjs +1 -0
  63. package/dist/displayOwner-B_ezJv-O.js +75 -0
  64. package/dist/feedback/index.cjs +1 -1
  65. package/dist/feedback/index.js +3 -3
  66. package/dist/{focusModality-XwqzUScC.js → focusModality-B150daiS.js} +2 -2
  67. package/dist/{focusModality-DP3Alh3k.cjs → focusModality-PPfeW05D.cjs} +1 -1
  68. package/dist/{format-CKQJNZwf.js → format-C46MmwwW.js} +3 -3
  69. package/dist/{format-Cj3xSpw6.cjs → format-Cy7RJpYG.cjs} +1 -1
  70. package/dist/forms/index.cjs +1 -1
  71. package/dist/forms/index.js +9 -9
  72. package/dist/forms/numberInputClamp.d.cts +1 -1
  73. package/dist/forms/numberInputClamp.d.ts +1 -1
  74. package/dist/grid/index.cjs +1 -1
  75. package/dist/grid/index.js +1 -1
  76. package/dist/{headerIconOverrides-BnJaJqAJ.cjs → headerIconOverrides-64lFnqTt.cjs} +1 -1
  77. package/dist/{server/headerIconOverrides-BNiSWfFJ.js → headerIconOverrides-BCzeaBA1.js} +1 -1
  78. package/dist/host/index.cjs +1 -1
  79. package/dist/host/index.d.cts +3 -0
  80. package/dist/host/index.d.ts +3 -0
  81. package/dist/host/index.js +68 -62
  82. package/dist/i18n/index.cjs +1 -1
  83. package/dist/i18n/index.js +1 -1
  84. package/dist/{server/i18n-BN4NEmw6.js → i18n-B_XRSWWN.js} +1 -1
  85. package/dist/{server/i18n-JhoYAx5N.cjs → i18n-DZZyw7Iu.cjs} +1 -1
  86. package/dist/iconSetRegistry-CMUqn1IQ.cjs +1 -0
  87. package/dist/{tablerIconRegistry-Da8Hw_kr.js → iconSetRegistry-r8c82MmK.js} +2 -2
  88. package/dist/icons/index.cjs +1 -1
  89. package/dist/icons/index.d.cts +1 -1
  90. package/dist/icons/index.d.ts +1 -1
  91. package/dist/icons/index.js +1 -1
  92. package/dist/index.cjs +1 -1
  93. package/dist/index.js +419 -412
  94. package/dist/layout/index.cjs +1 -1
  95. package/dist/layout/index.js +2 -2
  96. package/dist/{mainRealmDom-POWe8_Pf.js → mainRealmDom-COGBiX78.js} +1 -1
  97. package/dist/{mainRealmDom-Ds5Zc1QE.cjs → mainRealmDom-DijAgSXt.cjs} +1 -1
  98. package/dist/{menuFavorites-D6ILaBPZ.js → menuFavorites-Db1DpHX6.js} +1 -1
  99. package/dist/{menuFavorites-DAzw7zjN.cjs → menuFavorites-EluLLTfi.cjs} +1 -1
  100. package/dist/navigation/index.cjs +1 -1
  101. package/dist/navigation/index.js +1 -1
  102. package/dist/navigation/pageHeaderContract.d.cts +1 -1
  103. package/dist/navigation/pageHeaderContract.d.ts +1 -1
  104. package/dist/{server/notification-CX0xc5jc.cjs → notification-CrxHMXsk.cjs} +1 -1
  105. package/dist/{notification-Bepj_MAz.js → notification-DFbp3S_f.js} +1 -1
  106. package/dist/{notificationSuppressions-aS8dpNnq.js → notificationSuppressions-CBIJ4bC4.js} +53 -53
  107. package/dist/notificationSuppressions-DFbFpayS.cjs +1 -0
  108. package/dist/notifications/index.cjs +1 -1
  109. package/dist/notifications/index.js +7 -7
  110. package/dist/overlay/index.cjs +1 -1
  111. package/dist/overlay/index.js +6 -6
  112. package/dist/{server/preferencesCache-Zqtds5QF.js → preferencesCache-BhUd3K9p.js} +1 -1
  113. package/dist/{preferencesCache-X6b8L__G.cjs → preferencesCache-DJPCTPYx.cjs} +1 -1
  114. package/dist/{server/rendererLogging-BFSH5YKd.cjs → rendererLogging-B4XML4_G.cjs} +2 -2
  115. package/dist/{server/rendererLogging-RDouoz5K.js → rendererLogging-Edo4ALXU.js} +2 -2
  116. package/dist/server/{AttributeGrid-_7NdS1WK.js → AttributeGrid-Bq6AC927.js} +3 -3
  117. package/dist/server/{AttributeGrid-piFH6Xyi.cjs → AttributeGrid-Cz49ZLQJ.cjs} +1 -1
  118. package/dist/server/{Button-CRfjjdJW.cjs → Button-C9c6mzTA.cjs} +1 -1
  119. package/dist/server/{Button-DyPAaop_.js → Button-CHjpZWyZ.js} +1 -1
  120. package/dist/server/{CommandPalette-CW1Xw15d.cjs → CommandPalette-CklLeIaO.cjs} +1 -1
  121. package/dist/server/{CommandPalette-Cr81FRAH.js → CommandPalette-Dq-wVRJf.js} +5 -5
  122. package/dist/server/{CopyButton-5-c3aEbO.cjs → CopyButton-C3AnCUW9.cjs} +1 -1
  123. package/dist/server/{CopyButton-aIjxxlvQ.js → CopyButton-DOeXnVFC.js} +1 -1
  124. package/dist/server/{DateRangePicker-rlcLBpJH.cjs → DateRangePicker-BZIjmD5b.cjs} +1 -1
  125. package/dist/server/{DateRangePicker-DQ6AkI8q.js → DateRangePicker-tEwswamx.js} +3 -3
  126. package/dist/server/{GuidedTour-qJV4uaFX.js → GuidedTour-CC3huRhY.js} +1078 -1113
  127. package/dist/server/{GuidedTour-BVElbQi6.cjs → GuidedTour-Dik03Ffv.cjs} +11 -11
  128. package/dist/server/IconPicker-DpsgVG2H.cjs +1 -0
  129. package/dist/server/{IconPicker-DHctBAMA.js → IconPicker-tGQ6T_7R.js} +18 -18
  130. package/dist/server/{Modal-BgwyBtzV.js → Modal-C4E01jt8.js} +2 -2
  131. package/dist/server/{Modal-DZlKkUDu.cjs → Modal-w2CtUJ-g.cjs} +1 -1
  132. package/dist/server/{PageSkeleton-Kk8oxeYs.js → PageSkeleton-BIoewFZz.js} +8 -8
  133. package/dist/server/{PageSkeleton-Dh_Aj1rd.cjs → PageSkeleton-t1PiXgcp.cjs} +3 -3
  134. package/dist/server/{SearchableSelect-y9pGwJ-n.js → SearchableSelect-CTDUjMFB.js} +2 -2
  135. package/dist/server/{SearchableSelect-vuDEubiH.cjs → SearchableSelect-T6iS1AYR.cjs} +1 -1
  136. package/dist/server/{StatusBarNotificationBell-CFQiQ4EC.js → StatusBarNotificationBell-Cg9Zomfn.js} +81 -81
  137. package/dist/server/{StatusBarNotificationBell-CTAMHPer.cjs → StatusBarNotificationBell-DSuT1si2.cjs} +2 -2
  138. package/dist/server/{Stepper-DJKBsR1i.cjs → Stepper-CZ695tkt.cjs} +1 -1
  139. package/dist/server/{Stepper-4jnS2eXn.js → Stepper-Il_NS3YQ.js} +1 -1
  140. package/dist/server/{TimeSeriesChart-CZigVuc_.js → TimeSeriesChart-CWxwWo-G.js} +1 -1
  141. package/dist/server/{TimeSeriesChart-D2SG8Ss7.cjs → TimeSeriesChart-Cjpjciv2.cjs} +1 -1
  142. package/dist/server/{ToggleButton-HiS48_5d.cjs → ToggleButton-CXwvg-Hr.cjs} +1 -1
  143. package/dist/server/{ToggleButton-C501EuVP.js → ToggleButton-D7Qu7T2P.js} +4 -4
  144. package/dist/server/a11y/index.cjs +1 -1
  145. package/dist/server/a11y/index.js +1 -1
  146. package/dist/{announcerService-Cz271R3_.js → server/announcerService-B7yicxvU.js} +1 -1
  147. package/dist/server/{announcerService-aMJZgWvZ.cjs → announcerService-D_pFE24a.cjs} +1 -1
  148. package/dist/server/builtins-DM7FDxEt.cjs +1 -0
  149. package/dist/server/builtins-XOM9gfIx.js +74 -0
  150. package/dist/server/{catalogNotify-CDW-bK-M.cjs → catalogNotify-CTZ3DSTN.cjs} +4 -4
  151. package/dist/server/{catalogNotify-_2rg9gGZ.js → catalogNotify-Dnyfrb-0.js} +92 -92
  152. package/dist/server/charts/index.cjs +1 -1
  153. package/dist/server/charts/index.js +1 -1
  154. package/dist/server/{createResizableSidebar-COZjMAIY.js → createResizableSidebar-CBSfZVJk.js} +20 -20
  155. package/dist/server/createResizableSidebar-rfcmiXuS.cjs +1 -0
  156. package/dist/{defineSettings-C1g7a15Z.js → server/defineSettings-By5ell8e.js} +1 -1
  157. package/dist/{defineSettings-ChU6Fp3a.cjs → server/defineSettings-DRv1FRbv.cjs} +1 -1
  158. package/dist/server/descriptor-BXVyZiT7.cjs +1 -0
  159. package/dist/server/descriptor-CqLXoy2i.js +992 -0
  160. package/dist/server/desktop/index.cjs +1 -1
  161. package/dist/server/desktop/index.js +4 -4
  162. package/dist/server/displayOwner-BNw2Foa_.cjs +1 -0
  163. package/dist/server/displayOwner-B_ezJv-O.js +75 -0
  164. package/dist/server/feedback/index.cjs +1 -1
  165. package/dist/server/feedback/index.js +2 -2
  166. package/dist/server/{focusModality-BnOnbaen.cjs → focusModality-CeTPyRiF.cjs} +1 -1
  167. package/dist/server/{focusModality-ABJEOL1D.js → focusModality-DmOZptla.js} +2 -2
  168. package/dist/server/{format-BU_aMpTT.cjs → format-BWHKiXRe.cjs} +1 -1
  169. package/dist/server/{format-CZuUwpfB.js → format-BubrMUMq.js} +1 -1
  170. package/dist/server/forms/index.cjs +1 -1
  171. package/dist/server/forms/index.js +7 -7
  172. package/dist/server/grid/index.cjs +1 -1
  173. package/dist/server/grid/index.js +1 -1
  174. package/dist/server/{headerIconOverrides-BnJaJqAJ.cjs → headerIconOverrides-64lFnqTt.cjs} +1 -1
  175. package/dist/{headerIconOverrides-BNiSWfFJ.js → server/headerIconOverrides-BCzeaBA1.js} +1 -1
  176. package/dist/server/host/index.cjs +1 -1
  177. package/dist/server/host/index.js +72 -66
  178. package/dist/server/i18n/index.cjs +1 -1
  179. package/dist/server/i18n/index.js +1 -1
  180. package/dist/{i18n-BN4NEmw6.js → server/i18n-B_XRSWWN.js} +1 -1
  181. package/dist/{i18n-JhoYAx5N.cjs → server/i18n-DZZyw7Iu.cjs} +1 -1
  182. package/dist/server/iconSetRegistry-u0H4_7nI.cjs +1 -0
  183. package/dist/server/icons/index.cjs +1 -1
  184. package/dist/server/icons/index.js +1 -1
  185. package/dist/server/index.cjs +1 -1
  186. package/dist/server/index.js +722 -715
  187. package/dist/server/layout/index.cjs +1 -1
  188. package/dist/server/layout/index.js +2 -2
  189. package/dist/server/{menuFavorites-D6ILaBPZ.js → menuFavorites-Db1DpHX6.js} +1 -1
  190. package/dist/server/{menuFavorites-DAzw7zjN.cjs → menuFavorites-EluLLTfi.cjs} +1 -1
  191. package/dist/server/navigation/index.cjs +1 -1
  192. package/dist/server/navigation/index.js +1 -1
  193. package/dist/{notification-CX0xc5jc.cjs → server/notification-CrxHMXsk.cjs} +1 -1
  194. package/dist/server/{notification-Bepj_MAz.js → notification-DFbp3S_f.js} +1 -1
  195. package/dist/server/{notificationSuppressions-JKZaCrMN.cjs → notificationSuppressions-D7FZmJy8.cjs} +1 -1
  196. package/dist/server/{notificationSuppressions-FPh4wkRy.js → notificationSuppressions-DkrUMXHx.js} +2 -2
  197. package/dist/server/notifications/index.cjs +1 -1
  198. package/dist/server/notifications/index.js +7 -7
  199. package/dist/server/overlay/index.cjs +1 -1
  200. package/dist/server/overlay/index.js +5 -5
  201. package/dist/{preferencesCache-Zqtds5QF.js → server/preferencesCache-BhUd3K9p.js} +1 -1
  202. package/dist/server/{preferencesCache-X6b8L__G.cjs → preferencesCache-DJPCTPYx.cjs} +1 -1
  203. package/dist/{rendererLogging-BFSH5YKd.cjs → server/rendererLogging-B4XML4_G.cjs} +2 -2
  204. package/dist/{rendererLogging-RDouoz5K.js → server/rendererLogging-Edo4ALXU.js} +2 -2
  205. package/dist/server/settings/index.cjs +1 -1
  206. package/dist/server/settings/index.js +3 -3
  207. package/dist/server/{settingsSearchContributor-DqYjIJVw.cjs → settingsSearchContributor-BHsOfue1.cjs} +1 -1
  208. package/dist/server/{settingsSearchContributor-Sae2-vbZ.js → settingsSearchContributor-xo70xEuW.js} +3 -3
  209. package/dist/server/tree/index.cjs +1 -1
  210. package/dist/server/tree/index.js +9 -8
  211. package/dist/server/useListCommands-Bf7aOTXZ.js +61 -0
  212. package/dist/server/useListCommands-ucngC3t4.cjs +1 -0
  213. package/dist/server/visibleBrowserRegistry-BTfWUlI1.cjs +1 -0
  214. package/dist/server/visibleBrowserRegistry-Dw2Y4y_I.js +89 -0
  215. package/dist/settings/index.cjs +1 -1
  216. package/dist/settings/index.js +3 -3
  217. package/dist/{settingsSearchContributor-DP_HU8Pd.js → settingsSearchContributor-Ba4vBBmO.js} +3 -3
  218. package/dist/{settingsSearchContributor-DxQyhu1R.cjs → settingsSearchContributor-CYWXZV0b.cjs} +1 -1
  219. package/dist/solid/_internal/app/icons/{tablerIconRegistry.js → iconSetRegistry.js} +3 -7
  220. package/dist/solid/_internal/app/keybindings/context/useFocusClaim.js +32 -0
  221. package/dist/solid/_internal/app/keybindings/context/useListCommands.js +22 -0
  222. package/dist/solid/_internal/app/keybindings/contextKey/builtins.js +10 -0
  223. package/dist/solid/_internal/app/keybindings/panelCommandsRegistry.js +25 -0
  224. package/dist/solid/_internal/base/bestEffort.js +2 -2
  225. package/dist/solid/_internal/contract/catalogNotify.js +1 -1
  226. package/dist/solid/_internal/contract/transfer/textEncoding.js +1 -1
  227. package/dist/solid/_internal/platform/errors/diagnosticReport.js +1 -1
  228. package/dist/solid/_internal/platform/vendorErrors/index.js +2 -2
  229. package/dist/solid/_internal/platform/window/displayOwner.js +4 -4
  230. package/dist/solid/feedback/ErrorBoundary.jsx +1 -1
  231. package/dist/solid/forms/IconPicker.jsx +2 -2
  232. package/dist/solid/host/index.js +3 -0
  233. package/dist/solid/icons/index.jsx +1 -1
  234. package/dist/solid/layout/PageHeaderIcon.jsx +5 -5
  235. package/dist/solid/navigation/Tabs.jsx +2 -2
  236. package/dist/solid/notifications/NotificationPanel.jsx +2 -2
  237. package/dist/solid/notifications/notificationAudio.js +4 -4
  238. package/dist/solid/notifications/webhookDelivery.js +1 -1
  239. package/dist/solid/overlay/Modal.jsx +1 -1
  240. package/dist/solid/tree/TreeSurface.jsx +17 -0
  241. package/dist/solid/tree/createTreeController.js +7 -6
  242. package/dist/solid/tree/index.js +1 -0
  243. package/dist/solid/tree/selectAllInScope.js +47 -0
  244. package/dist/solid/tree/treeKeymap.js +0 -5
  245. package/dist/style.css +1 -1
  246. package/dist/{tooltipCoordinator-Dm4qkkL7.js → tooltipCoordinator-GV0L9lXH.js} +1 -1
  247. package/dist/{tooltipCoordinator-CuReoi-Y.cjs → tooltipCoordinator-y5YP3tsJ.cjs} +1 -1
  248. package/dist/tree/createTreeController.d.cts +5 -0
  249. package/dist/tree/createTreeController.d.ts +5 -0
  250. package/dist/tree/index.cjs +1 -1
  251. package/dist/tree/index.d.cts +1 -0
  252. package/dist/tree/index.d.ts +1 -0
  253. package/dist/tree/index.js +9 -8
  254. package/dist/tree/selectAllInScope.d.cts +5 -0
  255. package/dist/tree/selectAllInScope.d.ts +5 -0
  256. package/dist/tree/treeKeymap.d.cts +2 -4
  257. package/dist/tree/treeKeymap.d.ts +2 -4
  258. package/dist/ui.css +1 -1
  259. package/dist/useListCommands-Bf7aOTXZ.js +61 -0
  260. package/dist/useListCommands-ucngC3t4.cjs +1 -0
  261. package/dist/visibleBrowserRegistry-BTfWUlI1.cjs +1 -0
  262. package/dist/visibleBrowserRegistry-Dw2Y4y_I.js +89 -0
  263. package/package.json +1 -1
  264. package/dist/IconPicker-CdWBUDg8.cjs +0 -1
  265. package/dist/StatusBarNotificationBell-DIxJNADf.cjs +0 -4
  266. package/dist/Stepper-DvmytRIe.cjs +0 -1
  267. package/dist/_internal/app/icons/tablerIconRegistry.d.cts +0 -16
  268. package/dist/_internal/app/icons/tablerIconRegistry.d.ts +0 -16
  269. package/dist/createResizableSidebar-BunLsdM1.cjs +0 -1
  270. package/dist/descriptor-BUfj0gQG.js +0 -1059
  271. package/dist/descriptor-DZKBkm2H.cjs +0 -1
  272. package/dist/displayOwner-B11aUTFt.cjs +0 -1
  273. package/dist/displayOwner-B8CAEiHu.js +0 -75
  274. package/dist/notificationSuppressions-DaqXCX63.cjs +0 -1
  275. package/dist/server/IconPicker-OkOT7sTz.cjs +0 -1
  276. package/dist/server/createResizableSidebar-BTjNQOi9.cjs +0 -1
  277. package/dist/server/descriptor-CRBceC5O.cjs +0 -1
  278. package/dist/server/descriptor-lk-Bhef_.js +0 -951
  279. package/dist/server/displayOwner-B11aUTFt.cjs +0 -1
  280. package/dist/server/displayOwner-B8CAEiHu.js +0 -75
  281. package/dist/server/tablerIconRegistry-CmYr538-.cjs +0 -1
  282. package/dist/server/visibleBrowserRegistry-CZFCFSo_.cjs +0 -1
  283. package/dist/server/visibleBrowserRegistry-DOZlLrpo.js +0 -113
  284. package/dist/tablerIconRegistry-C85jD5eX.cjs +0 -1
  285. package/dist/visibleBrowserRegistry-CZFCFSo_.cjs +0 -1
  286. package/dist/visibleBrowserRegistry-DOZlLrpo.js +0 -113
  287. /package/dist/server/{tablerIconRegistry-yPeAzzz7.js → iconSetRegistry-yPeAzzz7.js} +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-BTjNQOi9.cjs"),r=require("../Stepper-DJKBsR1i.cjs"),a=require("../createVirtualScroller-LN-7QFiv.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.createResizableSidebar=e.createResizableSidebar;exports.Accordion=r.Accordion;exports.Breadcrumb=r.Breadcrumb;exports.Stepper=r.Stepper;exports.Tabs=r.Tabs;exports.createVirtualScroller=a.createVirtualScroller;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-rfcmiXuS.cjs"),r=require("../Stepper-CZ695tkt.cjs"),a=require("../createVirtualScroller-LN-7QFiv.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.createResizableSidebar=e.createResizableSidebar;exports.Accordion=r.Accordion;exports.Breadcrumb=r.Breadcrumb;exports.Stepper=r.Stepper;exports.Tabs=r.Tabs;exports.createVirtualScroller=a.createVirtualScroller;
@@ -1,5 +1,5 @@
1
- import { P as r, a as s, R as o, b as c, c as t } from "../createResizableSidebar-COZjMAIY.js";
2
- import { A as l, B as b, S as d, T as p } from "../Stepper-4jnS2eXn.js";
1
+ import { P as r, a as s, R as o, b as c, c as t } from "../createResizableSidebar-CBSfZVJk.js";
2
+ import { A as l, B as b, S as d, T as p } from "../Stepper-Il_NS3YQ.js";
3
3
  import { c as m } from "../createVirtualScroller-DBvqT0UW.js";
4
4
  export {
5
5
  l as Accordion,
@@ -1,4 +1,4 @@
1
- import { g } from "./rendererLogging-RDouoz5K.js";
1
+ import { g } from "./rendererLogging-Edo4ALXU.js";
2
2
  import { g as a, S as c, a as A } from "./stateDbStore-Ds3zJ4cd.js";
3
3
  const n = /* @__PURE__ */ new Set();
4
4
  function h(e) {
@@ -1 +1 @@
1
- "use strict";const g=require("./rendererLogging-BFSH5YKd.cjs"),n=require("./stateDbStore-THFfFGa0.cjs"),o=new Set;function v(e){const t=[];for(const r of e)o.has(r)||(o.add(r),t.push(r));return()=>{for(const r of t)o.delete(r)}}function u(e){return o.has(e)}const S=g.getLogger("ListenerDispatch");function A(e,t){for(const r of Array.from(e))try{r()}catch(f){S.error(`[${t}] listener error:`,f)}}const c=20,s=new Set,a="menu.favorites";function M(){try{const e=n.getSettingsBackend().get(a,n.StorageScope.APPLICATION),t=e===void 0?[]:JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}function i(){return M().filter(e=>typeof e=="string"&&u(e)).slice(0,c)}function d(e){n.getSettingsBackend().store(a,JSON.stringify(e.slice(0,c)),n.StorageScope.APPLICATION,n.StorageTarget.USER),A(s,"menuFavorites")}function F(){return i()}function l(e){return i().includes(e)}function y(e){const t=i();t.includes(e)||t.length>=c||d([...t,e])}function I(e){const t=i().filter(r=>r!==e);d(t)}function h(e){return s.add(e),()=>s.delete(e)}exports.addMenuFavorite=y;exports.getMenuFavorites=F;exports.isMenuFavorite=l;exports.isRegisteredActionId=u;exports.registerMenuActionIds=v;exports.removeMenuFavorite=I;exports.subscribeMenuFavorites=h;
1
+ "use strict";const g=require("./rendererLogging-B4XML4_G.cjs"),n=require("./stateDbStore-THFfFGa0.cjs"),o=new Set;function v(e){const t=[];for(const r of e)o.has(r)||(o.add(r),t.push(r));return()=>{for(const r of t)o.delete(r)}}function u(e){return o.has(e)}const S=g.getLogger("ListenerDispatch");function A(e,t){for(const r of Array.from(e))try{r()}catch(f){S.error(`[${t}] listener error:`,f)}}const c=20,s=new Set,a="menu.favorites";function M(){try{const e=n.getSettingsBackend().get(a,n.StorageScope.APPLICATION),t=e===void 0?[]:JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}function i(){return M().filter(e=>typeof e=="string"&&u(e)).slice(0,c)}function d(e){n.getSettingsBackend().store(a,JSON.stringify(e.slice(0,c)),n.StorageScope.APPLICATION,n.StorageTarget.USER),A(s,"menuFavorites")}function F(){return i()}function l(e){return i().includes(e)}function y(e){const t=i();t.includes(e)||t.length>=c||d([...t,e])}function I(e){const t=i().filter(r=>r!==e);d(t)}function h(e){return s.add(e),()=>s.delete(e)}exports.addMenuFavorite=y;exports.getMenuFavorites=F;exports.isMenuFavorite=l;exports.isRegisteredActionId=u;exports.registerMenuActionIds=v;exports.removeMenuFavorite=I;exports.subscribeMenuFavorites=h;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-DJKBsR1i.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-CZ695tkt.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
@@ -1,4 +1,4 @@
1
- import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-4jnS2eXn.js";
1
+ import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-Il_NS3YQ.js";
2
2
  import { c as d, i as l, r as T, a as p } from "../tablistKeyboard-AxJcXuc5.js";
3
3
  import { c as m } from "../createSelectionIndicator-BnxXUMlT.js";
4
4
  export {
@@ -1 +1 @@
1
- "use strict";const O=require("./defineSettings-ChU6Fp3a.cjs"),b=1e3,k=6e4;function w(t,n){if(t.trim()==="")return n;const o=Number(t);return Number.isFinite(o)?Math.min(k,Math.max(b,o)):n}const T={notificationsEnabled:!0,toastPosition:"bottom-right",showSuccessToasts:!0,soundOnQueryCompletion:!1,longRunningQueryThresholdMs:5e3,showLongRunningNotification:!0,mutedSources:[],dontShowAgainKeys:[],remindersUntil:[],notificationWidth:450,maxVisibleNotifications:3,markdownEnabled:!1,infoDurationMs:1e4,successDurationMs:6e3,warningDurationMs:12e3,errorDurationMs:15e3,errorsAlwaysSticky:!1,warningsAlwaysSticky:!1,doNotDisturb:!1,dndBlocksUrgent:!1,urgentRoutesToCenterOnly:!1,soundOnInfo:!1,soundOnSuccess:!1,soundOnWarning:!1,soundOnError:!1,pauseTimerWhileHidden:!0,vendorCodesAreUrgent:!1,remindLaterEnabled:!0,showAdvancedSettings:!1,osNativeEnabled:!1,osNativeOnlyWhenUnfocused:!0,osNativeMinSeverity:"warning",osNativeUrgentAlways:!0,badgeCountEnabled:!0,badgeCountMax:99,quietHoursEnabled:!1,quietHoursStart:"22:00",quietHoursEnd:"08:00",quietHoursWeekdays:[0,1,2,3,4,5,6],quietHoursBlocksUrgent:!1,quietHoursMutesSounds:!0,customSoundInfo:"",customSoundSuccess:"",customSoundWarning:"",customSoundError:"",webhooks:[],emailDigestEnabled:!1,emailDigestSmtpHost:"",emailDigestSmtpPort:587,emailDigestSmtpSecure:!1,emailDigestSmtpUser:"",emailDigestSmtpPass:"",emailDigestFrom:"",emailDigestTo:"",emailDigestSchedule:"daily-9am",emailDigestMinSeverity:"warning",timelineGroupingEnabled:!1,timelineGroupBy:"source-severity",notificationRules:[],animationDuration:"normal",reduceMotion:!1},H="app-notification-settings-change",I=["bottom-right","bottom-left","top-right","top-left"],g=0,y=12e4,e=T;function v(t,n){return Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="string"&&o.length>0))):[...n]}function R(t,n){var u,d,l,a,s,f,r,p,D,N,A;if(!Array.isArray(t))return[...n];const o=[];for(const S of t){if(typeof S!="object"||S===null)continue;const i=S;typeof i.id=="string"&&o.push({id:i.id,name:typeof i.name=="string"?i.name:"Rule",enabled:typeof i.enabled=="boolean"?i.enabled:!0,conditions:(()=>{var h,E,M;const c={};return typeof((h=i.conditions)==null?void 0:h.source)=="string"&&(c.source=i.conditions.source),Array.isArray((E=i.conditions)==null?void 0:E.severities)&&(c.severities=i.conditions.severities.filter(m=>m==="info"||m==="success"||m==="warning"||m==="error")),typeof((M=i.conditions)==null?void 0:M.titleRegex)=="string"&&(c.titleRegex=i.conditions.titleRegex),c})(),actions:{...((u=i.actions)==null?void 0:u.setSeverity)==="info"||((d=i.actions)==null?void 0:d.setSeverity)==="success"||((l=i.actions)==null?void 0:l.setSeverity)==="warning"||((a=i.actions)==null?void 0:a.setSeverity)==="error"?{setSeverity:i.actions.setSeverity}:{},...((s=i.actions)==null?void 0:s.setPriority)==="urgent"||((f=i.actions)==null?void 0:f.setPriority)==="default"||((r=i.actions)==null?void 0:r.setPriority)==="optional"||((p=i.actions)==null?void 0:p.setPriority)==="silent"||((D=i.actions)==null?void 0:D.setPriority)==="acknowledgment-required"?{setPriority:i.actions.setPriority}:{},...typeof((N=i.actions)==null?void 0:N.addPrefix)=="string"?{addPrefix:i.actions.addPrefix}:{},...typeof((A=i.actions)==null?void 0:A.suppress)=="boolean"?{suppress:i.actions.suppress}:{}}})}return o}function U(t,n){var u,d,l;if(!Array.isArray(t))return[...n];const o=[];for(const a of t){if(typeof a!="object"||a===null)continue;const s=a;if(typeof s.id!="string")continue;const f=s.type==="slack"||s.type==="discord"||s.type==="generic"?s.type:"generic";o.push({id:s.id,name:typeof s.name=="string"?s.name:"Webhook",type:f,url:"",enabled:typeof s.enabled=="boolean"?s.enabled:!0,filters:{severities:Array.isArray((u=s.filters)==null?void 0:u.severities)?s.filters.severities.filter(r=>r==="info"||r==="success"||r==="warning"||r==="error"):[],priorities:Array.isArray((d=s.filters)==null?void 0:d.priorities)?s.filters.priorities.filter(r=>r==="urgent"||r==="default"||r==="optional"||r==="silent"):[],sources:Array.isArray((l=s.filters)==null?void 0:l.sources)?s.filters.sources.filter(r=>typeof r=="string"):[]}})}return o}const _=O.defineSettings({key:"notificationSettings",changeEvent:H,fields:{notificationsEnabled:{kind:"bool",default:e.notificationsEnabled},toastPosition:{kind:"enum",values:I,default:e.toastPosition},showSuccessToasts:{kind:"bool",default:e.showSuccessToasts},soundOnQueryCompletion:{kind:"bool",default:e.soundOnQueryCompletion},longRunningQueryThresholdMs:{kind:"int",min:b,max:k,default:e.longRunningQueryThresholdMs},showLongRunningNotification:{kind:"bool",default:e.showLongRunningNotification},mutedSources:{kind:"custom",default:e.mutedSources,normalize:(t,n)=>v(t,n)},dontShowAgainKeys:{kind:"custom",default:e.dontShowAgainKeys,normalize:(t,n)=>v(t,n)},remindersUntil:{kind:"custom",default:e.remindersUntil,normalize:(t,n)=>Array.isArray(t)?t.filter(o=>typeof o=="object"&&o!==null&&typeof o.key=="string"&&typeof o.remindAt=="number").filter(o=>o.remindAt>Date.now()):[...n]},notificationWidth:{kind:"int",min:320,max:700,default:e.notificationWidth},maxVisibleNotifications:{kind:"int",min:1,max:8,default:e.maxVisibleNotifications},markdownEnabled:{kind:"bool",default:e.markdownEnabled},infoDurationMs:{kind:"int",min:g,max:y,default:e.infoDurationMs},successDurationMs:{kind:"int",min:g,max:y,default:e.successDurationMs},warningDurationMs:{kind:"int",min:g,max:y,default:e.warningDurationMs},errorDurationMs:{kind:"int",min:g,max:y,default:e.errorDurationMs},errorsAlwaysSticky:{kind:"bool",default:e.errorsAlwaysSticky},warningsAlwaysSticky:{kind:"bool",default:e.warningsAlwaysSticky},doNotDisturb:{kind:"bool",default:e.doNotDisturb},dndBlocksUrgent:{kind:"bool",default:e.dndBlocksUrgent},urgentRoutesToCenterOnly:{kind:"bool",default:e.urgentRoutesToCenterOnly},soundOnInfo:{kind:"bool",default:e.soundOnInfo},soundOnSuccess:{kind:"bool",default:e.soundOnSuccess},soundOnWarning:{kind:"bool",default:e.soundOnWarning},soundOnError:{kind:"bool",default:e.soundOnError},pauseTimerWhileHidden:{kind:"bool",default:e.pauseTimerWhileHidden},vendorCodesAreUrgent:{kind:"bool",default:e.vendorCodesAreUrgent},remindLaterEnabled:{kind:"bool",default:e.remindLaterEnabled},showAdvancedSettings:{kind:"bool",default:e.showAdvancedSettings},osNativeEnabled:{kind:"bool",default:e.osNativeEnabled},osNativeOnlyWhenUnfocused:{kind:"bool",default:e.osNativeOnlyWhenUnfocused},osNativeMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.osNativeMinSeverity},osNativeUrgentAlways:{kind:"bool",default:e.osNativeUrgentAlways},badgeCountEnabled:{kind:"bool",default:e.badgeCountEnabled},badgeCountMax:{kind:"int",min:1,max:9999,default:e.badgeCountMax},quietHoursEnabled:{kind:"bool",default:e.quietHoursEnabled},quietHoursStart:{kind:"custom",default:e.quietHoursStart,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursEnd:{kind:"custom",default:e.quietHoursEnd,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursWeekdays:{kind:"custom",default:e.quietHoursWeekdays,normalize:(t,n)=>Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="number"&&Number.isInteger(o)&&o>=0&&o<=6))).sort():[...n]},quietHoursBlocksUrgent:{kind:"bool",default:e.quietHoursBlocksUrgent},quietHoursMutesSounds:{kind:"bool",default:e.quietHoursMutesSounds},customSoundInfo:{kind:"string",default:e.customSoundInfo},customSoundSuccess:{kind:"string",default:e.customSoundSuccess},customSoundWarning:{kind:"string",default:e.customSoundWarning},customSoundError:{kind:"string",default:e.customSoundError},webhooks:{kind:"custom",default:e.webhooks,normalize:(t,n)=>U(t,n)},emailDigestEnabled:{kind:"bool",default:e.emailDigestEnabled},emailDigestSmtpHost:{kind:"string",default:e.emailDigestSmtpHost},emailDigestSmtpPort:{kind:"int",min:1,max:65535,default:e.emailDigestSmtpPort},emailDigestSmtpSecure:{kind:"bool",default:e.emailDigestSmtpSecure},emailDigestSmtpUser:{kind:"string",default:e.emailDigestSmtpUser},emailDigestSmtpPass:{kind:"string",default:"",secret:!0},emailDigestFrom:{kind:"string",default:e.emailDigestFrom},emailDigestTo:{kind:"string",default:e.emailDigestTo},emailDigestSchedule:{kind:"enum",values:["hourly","daily-9am","daily-5pm","weekly-mon-9am"],default:e.emailDigestSchedule},emailDigestMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.emailDigestMinSeverity},timelineGroupingEnabled:{kind:"bool",default:e.timelineGroupingEnabled},timelineGroupBy:{kind:"enum",values:["source","source-severity"],default:e.timelineGroupBy},notificationRules:{kind:"custom",default:e.notificationRules,normalize:(t,n)=>R(t,n)},animationDuration:{kind:"enum",values:["fast","normal","slow"],default:e.animationDuration},reduceMotion:{kind:"bool",default:e.reduceMotion}}});exports.DEFAULT_NOTIFICATION_SETTINGS=T;exports.MAX_LONG_RUNNING_THRESHOLD_MS=k;exports.MIN_LONG_RUNNING_THRESHOLD_MS=b;exports.notificationSettings=_;exports.parseLongRunningThresholdMs=w;
1
+ "use strict";const O=require("./defineSettings-DRv1FRbv.cjs"),b=1e3,k=6e4;function w(t,n){if(t.trim()==="")return n;const o=Number(t);return Number.isFinite(o)?Math.min(k,Math.max(b,o)):n}const T={notificationsEnabled:!0,toastPosition:"bottom-right",showSuccessToasts:!0,soundOnQueryCompletion:!1,longRunningQueryThresholdMs:5e3,showLongRunningNotification:!0,mutedSources:[],dontShowAgainKeys:[],remindersUntil:[],notificationWidth:450,maxVisibleNotifications:3,markdownEnabled:!1,infoDurationMs:1e4,successDurationMs:6e3,warningDurationMs:12e3,errorDurationMs:15e3,errorsAlwaysSticky:!1,warningsAlwaysSticky:!1,doNotDisturb:!1,dndBlocksUrgent:!1,urgentRoutesToCenterOnly:!1,soundOnInfo:!1,soundOnSuccess:!1,soundOnWarning:!1,soundOnError:!1,pauseTimerWhileHidden:!0,vendorCodesAreUrgent:!1,remindLaterEnabled:!0,showAdvancedSettings:!1,osNativeEnabled:!1,osNativeOnlyWhenUnfocused:!0,osNativeMinSeverity:"warning",osNativeUrgentAlways:!0,badgeCountEnabled:!0,badgeCountMax:99,quietHoursEnabled:!1,quietHoursStart:"22:00",quietHoursEnd:"08:00",quietHoursWeekdays:[0,1,2,3,4,5,6],quietHoursBlocksUrgent:!1,quietHoursMutesSounds:!0,customSoundInfo:"",customSoundSuccess:"",customSoundWarning:"",customSoundError:"",webhooks:[],emailDigestEnabled:!1,emailDigestSmtpHost:"",emailDigestSmtpPort:587,emailDigestSmtpSecure:!1,emailDigestSmtpUser:"",emailDigestSmtpPass:"",emailDigestFrom:"",emailDigestTo:"",emailDigestSchedule:"daily-9am",emailDigestMinSeverity:"warning",timelineGroupingEnabled:!1,timelineGroupBy:"source-severity",notificationRules:[],animationDuration:"normal",reduceMotion:!1},H="app-notification-settings-change",I=["bottom-right","bottom-left","top-right","top-left"],g=0,y=12e4,e=T;function v(t,n){return Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="string"&&o.length>0))):[...n]}function R(t,n){var u,d,l,a,s,f,r,p,D,N,A;if(!Array.isArray(t))return[...n];const o=[];for(const S of t){if(typeof S!="object"||S===null)continue;const i=S;typeof i.id=="string"&&o.push({id:i.id,name:typeof i.name=="string"?i.name:"Rule",enabled:typeof i.enabled=="boolean"?i.enabled:!0,conditions:(()=>{var h,E,M;const c={};return typeof((h=i.conditions)==null?void 0:h.source)=="string"&&(c.source=i.conditions.source),Array.isArray((E=i.conditions)==null?void 0:E.severities)&&(c.severities=i.conditions.severities.filter(m=>m==="info"||m==="success"||m==="warning"||m==="error")),typeof((M=i.conditions)==null?void 0:M.titleRegex)=="string"&&(c.titleRegex=i.conditions.titleRegex),c})(),actions:{...((u=i.actions)==null?void 0:u.setSeverity)==="info"||((d=i.actions)==null?void 0:d.setSeverity)==="success"||((l=i.actions)==null?void 0:l.setSeverity)==="warning"||((a=i.actions)==null?void 0:a.setSeverity)==="error"?{setSeverity:i.actions.setSeverity}:{},...((s=i.actions)==null?void 0:s.setPriority)==="urgent"||((f=i.actions)==null?void 0:f.setPriority)==="default"||((r=i.actions)==null?void 0:r.setPriority)==="optional"||((p=i.actions)==null?void 0:p.setPriority)==="silent"||((D=i.actions)==null?void 0:D.setPriority)==="acknowledgment-required"?{setPriority:i.actions.setPriority}:{},...typeof((N=i.actions)==null?void 0:N.addPrefix)=="string"?{addPrefix:i.actions.addPrefix}:{},...typeof((A=i.actions)==null?void 0:A.suppress)=="boolean"?{suppress:i.actions.suppress}:{}}})}return o}function U(t,n){var u,d,l;if(!Array.isArray(t))return[...n];const o=[];for(const a of t){if(typeof a!="object"||a===null)continue;const s=a;if(typeof s.id!="string")continue;const f=s.type==="slack"||s.type==="discord"||s.type==="generic"?s.type:"generic";o.push({id:s.id,name:typeof s.name=="string"?s.name:"Webhook",type:f,url:"",enabled:typeof s.enabled=="boolean"?s.enabled:!0,filters:{severities:Array.isArray((u=s.filters)==null?void 0:u.severities)?s.filters.severities.filter(r=>r==="info"||r==="success"||r==="warning"||r==="error"):[],priorities:Array.isArray((d=s.filters)==null?void 0:d.priorities)?s.filters.priorities.filter(r=>r==="urgent"||r==="default"||r==="optional"||r==="silent"):[],sources:Array.isArray((l=s.filters)==null?void 0:l.sources)?s.filters.sources.filter(r=>typeof r=="string"):[]}})}return o}const _=O.defineSettings({key:"notificationSettings",changeEvent:H,fields:{notificationsEnabled:{kind:"bool",default:e.notificationsEnabled},toastPosition:{kind:"enum",values:I,default:e.toastPosition},showSuccessToasts:{kind:"bool",default:e.showSuccessToasts},soundOnQueryCompletion:{kind:"bool",default:e.soundOnQueryCompletion},longRunningQueryThresholdMs:{kind:"int",min:b,max:k,default:e.longRunningQueryThresholdMs},showLongRunningNotification:{kind:"bool",default:e.showLongRunningNotification},mutedSources:{kind:"custom",default:e.mutedSources,normalize:(t,n)=>v(t,n)},dontShowAgainKeys:{kind:"custom",default:e.dontShowAgainKeys,normalize:(t,n)=>v(t,n)},remindersUntil:{kind:"custom",default:e.remindersUntil,normalize:(t,n)=>Array.isArray(t)?t.filter(o=>typeof o=="object"&&o!==null&&typeof o.key=="string"&&typeof o.remindAt=="number").filter(o=>o.remindAt>Date.now()):[...n]},notificationWidth:{kind:"int",min:320,max:700,default:e.notificationWidth},maxVisibleNotifications:{kind:"int",min:1,max:8,default:e.maxVisibleNotifications},markdownEnabled:{kind:"bool",default:e.markdownEnabled},infoDurationMs:{kind:"int",min:g,max:y,default:e.infoDurationMs},successDurationMs:{kind:"int",min:g,max:y,default:e.successDurationMs},warningDurationMs:{kind:"int",min:g,max:y,default:e.warningDurationMs},errorDurationMs:{kind:"int",min:g,max:y,default:e.errorDurationMs},errorsAlwaysSticky:{kind:"bool",default:e.errorsAlwaysSticky},warningsAlwaysSticky:{kind:"bool",default:e.warningsAlwaysSticky},doNotDisturb:{kind:"bool",default:e.doNotDisturb},dndBlocksUrgent:{kind:"bool",default:e.dndBlocksUrgent},urgentRoutesToCenterOnly:{kind:"bool",default:e.urgentRoutesToCenterOnly},soundOnInfo:{kind:"bool",default:e.soundOnInfo},soundOnSuccess:{kind:"bool",default:e.soundOnSuccess},soundOnWarning:{kind:"bool",default:e.soundOnWarning},soundOnError:{kind:"bool",default:e.soundOnError},pauseTimerWhileHidden:{kind:"bool",default:e.pauseTimerWhileHidden},vendorCodesAreUrgent:{kind:"bool",default:e.vendorCodesAreUrgent},remindLaterEnabled:{kind:"bool",default:e.remindLaterEnabled},showAdvancedSettings:{kind:"bool",default:e.showAdvancedSettings},osNativeEnabled:{kind:"bool",default:e.osNativeEnabled},osNativeOnlyWhenUnfocused:{kind:"bool",default:e.osNativeOnlyWhenUnfocused},osNativeMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.osNativeMinSeverity},osNativeUrgentAlways:{kind:"bool",default:e.osNativeUrgentAlways},badgeCountEnabled:{kind:"bool",default:e.badgeCountEnabled},badgeCountMax:{kind:"int",min:1,max:9999,default:e.badgeCountMax},quietHoursEnabled:{kind:"bool",default:e.quietHoursEnabled},quietHoursStart:{kind:"custom",default:e.quietHoursStart,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursEnd:{kind:"custom",default:e.quietHoursEnd,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursWeekdays:{kind:"custom",default:e.quietHoursWeekdays,normalize:(t,n)=>Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="number"&&Number.isInteger(o)&&o>=0&&o<=6))).sort():[...n]},quietHoursBlocksUrgent:{kind:"bool",default:e.quietHoursBlocksUrgent},quietHoursMutesSounds:{kind:"bool",default:e.quietHoursMutesSounds},customSoundInfo:{kind:"string",default:e.customSoundInfo},customSoundSuccess:{kind:"string",default:e.customSoundSuccess},customSoundWarning:{kind:"string",default:e.customSoundWarning},customSoundError:{kind:"string",default:e.customSoundError},webhooks:{kind:"custom",default:e.webhooks,normalize:(t,n)=>U(t,n)},emailDigestEnabled:{kind:"bool",default:e.emailDigestEnabled},emailDigestSmtpHost:{kind:"string",default:e.emailDigestSmtpHost},emailDigestSmtpPort:{kind:"int",min:1,max:65535,default:e.emailDigestSmtpPort},emailDigestSmtpSecure:{kind:"bool",default:e.emailDigestSmtpSecure},emailDigestSmtpUser:{kind:"string",default:e.emailDigestSmtpUser},emailDigestSmtpPass:{kind:"string",default:"",secret:!0},emailDigestFrom:{kind:"string",default:e.emailDigestFrom},emailDigestTo:{kind:"string",default:e.emailDigestTo},emailDigestSchedule:{kind:"enum",values:["hourly","daily-9am","daily-5pm","weekly-mon-9am"],default:e.emailDigestSchedule},emailDigestMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.emailDigestMinSeverity},timelineGroupingEnabled:{kind:"bool",default:e.timelineGroupingEnabled},timelineGroupBy:{kind:"enum",values:["source","source-severity"],default:e.timelineGroupBy},notificationRules:{kind:"custom",default:e.notificationRules,normalize:(t,n)=>R(t,n)},animationDuration:{kind:"enum",values:["fast","normal","slow"],default:e.animationDuration},reduceMotion:{kind:"bool",default:e.reduceMotion}}});exports.DEFAULT_NOTIFICATION_SETTINGS=T;exports.MAX_LONG_RUNNING_THRESHOLD_MS=k;exports.MIN_LONG_RUNNING_THRESHOLD_MS=b;exports.notificationSettings=_;exports.parseLongRunningThresholdMs=w;
@@ -1,4 +1,4 @@
1
- import { d as w } from "./defineSettings-C1g7a15Z.js";
1
+ import { d as w } from "./defineSettings-By5ell8e.js";
2
2
  const E = 1e3, M = 6e4;
3
3
  function x(t, n) {
4
4
  if (t.trim() === "") return n;
@@ -1 +1 @@
1
- "use strict";const k=require("./rendererLogging-BFSH5YKd.cjs"),s=require("./notification-CX0xc5jc.cjs"),K=new WeakMap;function ot(t,n){return K.set(t,[...K.get(t)??[],...n]),t}function H(t){return typeof t=="object"&&t!==null?K.get(t)??[]:[]}const O={text:(t,n)=>k.toErrorMessage(t,n),actions:t=>H(t)};let P=O;function rt(t){P=t??O}function I(){return P}function st(t,n){return I().text(t,n)}function ct(t){return I().actions(t)}const T=k.getLogger("ElectronBridge");let l={};function at(t){l=t??{}}const ut=new Set(["http:","https:","mailto:"]);function ft(t){let n;try{n=new URL(t).protocol}catch{T.warn("openExternal: unparseable URL refused",{url:t});return}if(!ut.has(n)){T.warn("openExternal: protocol refused",{url:t,protocol:n});return}if(l.openExternal){Promise.resolve(l.openExternal(t)).catch(o=>{T.warn("openExternal: host refused",{url:t,error:o})});return}typeof window<"u"&&window.open(t,"_blank","noopener,noreferrer")}function dt(t){l.osNotify&&Promise.resolve(l.osNotify(t)).catch(()=>{})}function lt(t){l.setBadgeCount&&Promise.resolve(l.setBadgeCount(t)).catch(()=>{})}async function gt(t){if(!l.readAudioAsDataUrl)return null;try{return await l.readAudioAsDataUrl(t)}catch(n){return T.warn("custom sound could not be read",{filePath:t,error:n}),null}}const mt={showSaveDialog:async t=>({filePath:(t==null?void 0:t.defaultPath)??"export.txt"}),writeFile:async(t,n)=>{if(typeof document>"u")return;const o=t.split(/[\\/]/).pop()||"export.txt",r=URL.createObjectURL(new Blob([n],{type:"text/plain;charset=utf-8"})),f=document.createElement("a");f.href=r,f.download=o,f.rel="noopener",f.click(),setTimeout(()=>URL.revokeObjectURL(r),0)}};function St(){return l.fs??mt}function wt(t){var n;if(t)return(n=l.notificationOverlay)==null?void 0:n.call(l,t)}const U=new Map;function v(t){let n=U.get(t);return n||(n={source:t,total:0,shown:0,clicked:0,dismissed:0,autoFaded:0,muted:0},U.set(t,n)),n}function yt(t,n,o){const r=v(t);r.total+=1,n&&(r.shown+=1),o&&(r.muted+=1)}function pt(t){v(t).clicked+=1}function ht(t){v(t).dismissed+=1}function At(t){v(t).autoFaded+=1}const xt=k.getLogger("NativeNotificationEngine");function Nt(t){return t.id===""}function _(t,n=s.notificationSettings.get()){if(t.durationMs!==void 0)return t.durationMs;switch(t.severity){case"info":return n.infoDurationMs;case"success":return n.successDurationMs;case"warning":return n.warningDurationMs;case"error":return n.errorDurationMs}}function C(t,n=s.notificationSettings.get()){if(t.sticky||t.priority==="urgent"||t.priority==="acknowledgment-required"||t.progress&&!t.progress.done||t.severity==="error"&&n.errorsAlwaysSticky||t.severity==="warning"&&n.warningsAlwaysSticky)return!0;const o=t.durationMs;return o!==void 0&&(!Number.isFinite(o)||o<=0)}function $(t={}){const n=t.getSettings??(()=>s.notificationSettings.get()),o=t.now??(()=>Date.now()),r=t.setTimeout??((e,i)=>window.setTimeout(e,i)),f=t.clearTimeout??(e=>window.clearTimeout(e)),S=t.recordAutoFade??At,E=t.warn??((e,i)=>xt.warn(e,i)),u=new Map,N=new Set,p=new Map;function F(){return[...u.values()].sort((e,i)=>e.createdAt-i.createdAt)}function M(e){const i=n();if(!i.pauseTimerWhileHidden)return!1;const a=F(),m=Math.max(1,i.maxVisibleNotifications);if(a.length<=m)return!1;const c=a.length-m,d=a.findIndex(b=>b.id===e);return d>=0&&d<c}function q(){for(const e of u.keys()){if(p.has(e)){M(e)&&w(e);continue}y(e)}}function g(){const e=F();for(const i of Array.from(N))try{i(e)}catch(a){E("Bildirim motoru dinleyicisi firlatti:",a)}q()}function B(e){return!!(C(e,n())||e.hovered||e.focused)}function j(e){return _(e,n())}function w(e){const i=p.get(e);i!==void 0&&(f(i),p.delete(e))}function y(e){w(e);const i=u.get(e);if(!i||B(i)||M(e))return;const a=j(i);if(!Number.isFinite(a)||a<=0)return;const m=r(()=>{p.delete(e);const c=u.get(e);c&&(B(c)||(S(c.source??"general"),u.delete(e),g()))},a);p.set(e,m)}let L=0;function W(){return L+=1,`n-${o().toString(36)}-${L.toString(36)}`}const V=800,Q=3,A=[];function X(){const e=o();for(;A.length>0&&(A[0]??0)<e-V;)A.shift();return A.length>=Q}function z(){A.push(o())}function R(e){return!e||e.length===0?"":e.filter(i=>i.primary).map(i=>`${i.id??""}::${i.label}`).sort().join("|")}function G(e){const i=e.source??"",a=R(e.actions);for(const[m,c]of u)if((c.source??"")===i&&c.title===e.title&&R(c.actions)===a)return m;return null}function J(e){const i=e.id,a=i??G(e),m=a===null;if(m&&!i&&X())return{id:"",update:()=>{},setProgress:()=>{},close:()=>{}};const c=a??W(),d=u.get(c),b={...e,id:c,createdAt:(d==null?void 0:d.createdAt)??o(),expanded:(d==null?void 0:d.expanded)??!1,hovered:(d==null?void 0:d.hovered)??!1,focused:(d==null?void 0:d.focused)??!1};return u.set(c,b),m&&z(),g(),y(c),{id:c,update(D){const x=u.get(c);x&&(u.set(c,{...x,...D}),g(),y(c))},setProgress(D){const x=u.get(c);x&&(u.set(c,{...x,progress:D}),g(),y(c))},close(){w(c),u.delete(c)&&g()}}}function Y(e){return N.add(e),e(F()),()=>{N.delete(e)}}function Z(e,i){const a=u.get(e);!a||a.hovered===i||(u.set(e,{...a,hovered:i}),g(),i?w(e):y(e))}function tt(e,i){const a=u.get(e);!a||a.focused===i||(u.set(e,{...a,focused:i}),g(),i?w(e):y(e))}function et(e){const i=u.get(e);i&&(u.set(e,{...i,expanded:!i.expanded}),g(),y(e))}function nt(e){w(e),u.delete(e)&&g()}function it(){for(const e of p.keys())w(e);u.clear(),N.clear()}return{notify:J,subscribe:Y,setHover:Z,setFocus:tt,toggleExpanded:et,close:nt,dispose:it}}const h=$(),Tt=h.notify,vt=h.subscribe,Et=h.setHover,Ft=h.setFocus,bt=h.toggleExpanded,Dt=h.close;function Kt(t,n){return`__remind:${t}:${n}`}function kt(t,n,o){const{priority:r}=t,f=t.recordTimeline!==!1;if(!n.notificationsEnabled)return{showToast:!1,recordTimeline:!1};if(o.dismissed)return{showToast:!1,recordTimeline:!1};if(o.remindSuppressed)return{showToast:!1,recordTimeline:!1};if(r==="silent")return{showToast:!1,recordTimeline:f};const S=r==="urgent"||r==="acknowledgment-required";return n.doNotDisturb&&(!S||r==="urgent"&&n.dndBlocksUrgent)?{showToast:!1,recordTimeline:f}:o.inQuietHours&&(!S||r==="urgent"&&n.quietHoursBlocksUrgent)?{showToast:!1,recordTimeline:f}:S?n.urgentRoutesToCenterOnly&&r==="urgent"?{showToast:!1,recordTimeline:f}:{showToast:!0,recordTimeline:f}:o.sourceMuted?{showToast:!1,recordTimeline:f}:{showToast:!0,recordTimeline:f}}function Mt(t){return s.notificationSettings.get().mutedSources.includes(t)}function Bt(t){return s.notificationSettings.get().dontShowAgainKeys.includes(t)}function Lt(t){const n=Date.now();return s.notificationSettings.get().remindersUntil.some(r=>r.key===t&&r.remindAt>n)}async function Rt(t,n){if(!t||n<=0)return;const o=s.notificationSettings.get(),r=Date.now()+n,S=[...o.remindersUntil.filter(E=>E.key!==t),{key:t,remindAt:r}];s.notificationSettings.applyFromBroadcast({...o,remindersUntil:S}),await s.notificationSettings.update({...o,remindersUntil:S})}async function Ut(t,n){const o=s.notificationSettings.get(),r=n?Array.from(new Set([...o.mutedSources,t])):o.mutedSources.filter(f=>f!==t);s.notificationSettings.applyFromBroadcast({...o,mutedSources:r}),await s.notificationSettings.update({...o,mutedSources:r})}async function Ht(t){const n=s.notificationSettings.get();if(n.dontShowAgainKeys.includes(t))return;const o=[...n.dontShowAgainKeys,t];s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function Ot(t){const n=s.notificationSettings.get();if(!n.dontShowAgainKeys.includes(t))return;const o=n.dontShowAgainKeys.filter(r=>r!==t);s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function Pt(){const t=s.notificationSettings.get();t.dontShowAgainKeys.length!==0&&(s.notificationSettings.applyFromBroadcast({...t,dontShowAgainKeys:[]}),await s.notificationSettings.update({...t,dontShowAgainKeys:[]}))}async function It(){const t=s.notificationSettings.get();t.mutedSources.length!==0&&(s.notificationSettings.applyFromBroadcast({...t,mutedSources:[]}),await s.notificationSettings.update({...t,mutedSources:[]}))}exports.attachedErrorActions=H;exports.closeNotification=Dt;exports.configureDesktopBridge=at;exports.createNativeNotificationEngine=$;exports.decideFilter=kt;exports.deriveImplicitRemindKey=Kt;exports.dismissKey=Ht;exports.errorActions=ct;exports.errorText=st;exports.getFsService=St;exports.isKeyDismissed=Bt;exports.isKeyRemindSuppressed=Lt;exports.isNotificationSticky=C;exports.isSourceMuted=Mt;exports.isSpamDropHandle=Nt;exports.notificationOverlayBridge=wt;exports.notify=Tt;exports.openExternal=ft;exports.osNotify=dt;exports.provideHostErrorPresenter=rt;exports.readAudioAsDataUrl=gt;exports.recordClick=pt;exports.recordDismiss=ht;exports.recordFire=yt;exports.remindLater=Rt;exports.resolveNotificationDuration=_;exports.restoreAllKeys=Pt;exports.restoreKey=Ot;exports.setNotificationFocus=Ft;exports.setNotificationHover=Et;exports.setOsBadgeCount=lt;exports.setSourceMuted=Ut;exports.subscribeNotifications=vt;exports.toggleNotificationExpanded=bt;exports.unmuteAllSources=It;exports.withErrorActions=ot;
1
+ "use strict";const k=require("./rendererLogging-B4XML4_G.cjs"),s=require("./notification-CrxHMXsk.cjs"),K=new WeakMap;function ot(t,n){return K.set(t,[...K.get(t)??[],...n]),t}function H(t){return typeof t=="object"&&t!==null?K.get(t)??[]:[]}const O={text:(t,n)=>k.toErrorMessage(t,n),actions:t=>H(t)};let P=O;function rt(t){P=t??O}function I(){return P}function st(t,n){return I().text(t,n)}function ct(t){return I().actions(t)}const T=k.getLogger("ElectronBridge");let l={};function at(t){l=t??{}}const ut=new Set(["http:","https:","mailto:"]);function ft(t){let n;try{n=new URL(t).protocol}catch{T.warn("openExternal: unparseable URL refused",{url:t});return}if(!ut.has(n)){T.warn("openExternal: protocol refused",{url:t,protocol:n});return}if(l.openExternal){Promise.resolve(l.openExternal(t)).catch(o=>{T.warn("openExternal: host refused",{url:t,error:o})});return}typeof window<"u"&&window.open(t,"_blank","noopener,noreferrer")}function dt(t){l.osNotify&&Promise.resolve(l.osNotify(t)).catch(()=>{})}function lt(t){l.setBadgeCount&&Promise.resolve(l.setBadgeCount(t)).catch(()=>{})}async function gt(t){if(!l.readAudioAsDataUrl)return null;try{return await l.readAudioAsDataUrl(t)}catch(n){return T.warn("custom sound could not be read",{filePath:t,error:n}),null}}const mt={showSaveDialog:async t=>({filePath:(t==null?void 0:t.defaultPath)??"export.txt"}),writeFile:async(t,n)=>{if(typeof document>"u")return;const o=t.split(/[\\/]/).pop()||"export.txt",r=URL.createObjectURL(new Blob([n],{type:"text/plain;charset=utf-8"})),f=document.createElement("a");f.href=r,f.download=o,f.rel="noopener",f.click(),setTimeout(()=>URL.revokeObjectURL(r),0)}};function St(){return l.fs??mt}function wt(t){var n;if(t)return(n=l.notificationOverlay)==null?void 0:n.call(l,t)}const U=new Map;function v(t){let n=U.get(t);return n||(n={source:t,total:0,shown:0,clicked:0,dismissed:0,autoFaded:0,muted:0},U.set(t,n)),n}function yt(t,n,o){const r=v(t);r.total+=1,n&&(r.shown+=1),o&&(r.muted+=1)}function pt(t){v(t).clicked+=1}function ht(t){v(t).dismissed+=1}function At(t){v(t).autoFaded+=1}const xt=k.getLogger("NativeNotificationEngine");function Nt(t){return t.id===""}function _(t,n=s.notificationSettings.get()){if(t.durationMs!==void 0)return t.durationMs;switch(t.severity){case"info":return n.infoDurationMs;case"success":return n.successDurationMs;case"warning":return n.warningDurationMs;case"error":return n.errorDurationMs}}function C(t,n=s.notificationSettings.get()){if(t.sticky||t.priority==="urgent"||t.priority==="acknowledgment-required"||t.progress&&!t.progress.done||t.severity==="error"&&n.errorsAlwaysSticky||t.severity==="warning"&&n.warningsAlwaysSticky)return!0;const o=t.durationMs;return o!==void 0&&(!Number.isFinite(o)||o<=0)}function $(t={}){const n=t.getSettings??(()=>s.notificationSettings.get()),o=t.now??(()=>Date.now()),r=t.setTimeout??((e,i)=>window.setTimeout(e,i)),f=t.clearTimeout??(e=>window.clearTimeout(e)),S=t.recordAutoFade??At,E=t.warn??((e,i)=>xt.warn(e,i)),u=new Map,N=new Set,p=new Map;function F(){return[...u.values()].sort((e,i)=>e.createdAt-i.createdAt)}function M(e){const i=n();if(!i.pauseTimerWhileHidden)return!1;const a=F(),m=Math.max(1,i.maxVisibleNotifications);if(a.length<=m)return!1;const c=a.length-m,d=a.findIndex(b=>b.id===e);return d>=0&&d<c}function q(){for(const e of u.keys()){if(p.has(e)){M(e)&&w(e);continue}y(e)}}function g(){const e=F();for(const i of Array.from(N))try{i(e)}catch(a){E("Bildirim motoru dinleyicisi firlatti:",a)}q()}function B(e){return!!(C(e,n())||e.hovered||e.focused)}function j(e){return _(e,n())}function w(e){const i=p.get(e);i!==void 0&&(f(i),p.delete(e))}function y(e){w(e);const i=u.get(e);if(!i||B(i)||M(e))return;const a=j(i);if(!Number.isFinite(a)||a<=0)return;const m=r(()=>{p.delete(e);const c=u.get(e);c&&(B(c)||(S(c.source??"general"),u.delete(e),g()))},a);p.set(e,m)}let L=0;function W(){return L+=1,`n-${o().toString(36)}-${L.toString(36)}`}const V=800,Q=3,A=[];function X(){const e=o();for(;A.length>0&&(A[0]??0)<e-V;)A.shift();return A.length>=Q}function z(){A.push(o())}function R(e){return!e||e.length===0?"":e.filter(i=>i.primary).map(i=>`${i.id??""}::${i.label}`).sort().join("|")}function G(e){const i=e.source??"",a=R(e.actions);for(const[m,c]of u)if((c.source??"")===i&&c.title===e.title&&R(c.actions)===a)return m;return null}function J(e){const i=e.id,a=i??G(e),m=a===null;if(m&&!i&&X())return{id:"",update:()=>{},setProgress:()=>{},close:()=>{}};const c=a??W(),d=u.get(c),b={...e,id:c,createdAt:(d==null?void 0:d.createdAt)??o(),expanded:(d==null?void 0:d.expanded)??!1,hovered:(d==null?void 0:d.hovered)??!1,focused:(d==null?void 0:d.focused)??!1};return u.set(c,b),m&&z(),g(),y(c),{id:c,update(D){const x=u.get(c);x&&(u.set(c,{...x,...D}),g(),y(c))},setProgress(D){const x=u.get(c);x&&(u.set(c,{...x,progress:D}),g(),y(c))},close(){w(c),u.delete(c)&&g()}}}function Y(e){return N.add(e),e(F()),()=>{N.delete(e)}}function Z(e,i){const a=u.get(e);!a||a.hovered===i||(u.set(e,{...a,hovered:i}),g(),i?w(e):y(e))}function tt(e,i){const a=u.get(e);!a||a.focused===i||(u.set(e,{...a,focused:i}),g(),i?w(e):y(e))}function et(e){const i=u.get(e);i&&(u.set(e,{...i,expanded:!i.expanded}),g(),y(e))}function nt(e){w(e),u.delete(e)&&g()}function it(){for(const e of p.keys())w(e);u.clear(),N.clear()}return{notify:J,subscribe:Y,setHover:Z,setFocus:tt,toggleExpanded:et,close:nt,dispose:it}}const h=$(),Tt=h.notify,vt=h.subscribe,Et=h.setHover,Ft=h.setFocus,bt=h.toggleExpanded,Dt=h.close;function Kt(t,n){return`__remind:${t}:${n}`}function kt(t,n,o){const{priority:r}=t,f=t.recordTimeline!==!1;if(!n.notificationsEnabled)return{showToast:!1,recordTimeline:!1};if(o.dismissed)return{showToast:!1,recordTimeline:!1};if(o.remindSuppressed)return{showToast:!1,recordTimeline:!1};if(r==="silent")return{showToast:!1,recordTimeline:f};const S=r==="urgent"||r==="acknowledgment-required";return n.doNotDisturb&&(!S||r==="urgent"&&n.dndBlocksUrgent)?{showToast:!1,recordTimeline:f}:o.inQuietHours&&(!S||r==="urgent"&&n.quietHoursBlocksUrgent)?{showToast:!1,recordTimeline:f}:S?n.urgentRoutesToCenterOnly&&r==="urgent"?{showToast:!1,recordTimeline:f}:{showToast:!0,recordTimeline:f}:o.sourceMuted?{showToast:!1,recordTimeline:f}:{showToast:!0,recordTimeline:f}}function Mt(t){return s.notificationSettings.get().mutedSources.includes(t)}function Bt(t){return s.notificationSettings.get().dontShowAgainKeys.includes(t)}function Lt(t){const n=Date.now();return s.notificationSettings.get().remindersUntil.some(r=>r.key===t&&r.remindAt>n)}async function Rt(t,n){if(!t||n<=0)return;const o=s.notificationSettings.get(),r=Date.now()+n,S=[...o.remindersUntil.filter(E=>E.key!==t),{key:t,remindAt:r}];s.notificationSettings.applyFromBroadcast({...o,remindersUntil:S}),await s.notificationSettings.update({...o,remindersUntil:S})}async function Ut(t,n){const o=s.notificationSettings.get(),r=n?Array.from(new Set([...o.mutedSources,t])):o.mutedSources.filter(f=>f!==t);s.notificationSettings.applyFromBroadcast({...o,mutedSources:r}),await s.notificationSettings.update({...o,mutedSources:r})}async function Ht(t){const n=s.notificationSettings.get();if(n.dontShowAgainKeys.includes(t))return;const o=[...n.dontShowAgainKeys,t];s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function Ot(t){const n=s.notificationSettings.get();if(!n.dontShowAgainKeys.includes(t))return;const o=n.dontShowAgainKeys.filter(r=>r!==t);s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function Pt(){const t=s.notificationSettings.get();t.dontShowAgainKeys.length!==0&&(s.notificationSettings.applyFromBroadcast({...t,dontShowAgainKeys:[]}),await s.notificationSettings.update({...t,dontShowAgainKeys:[]}))}async function It(){const t=s.notificationSettings.get();t.mutedSources.length!==0&&(s.notificationSettings.applyFromBroadcast({...t,mutedSources:[]}),await s.notificationSettings.update({...t,mutedSources:[]}))}exports.attachedErrorActions=H;exports.closeNotification=Dt;exports.configureDesktopBridge=at;exports.createNativeNotificationEngine=$;exports.decideFilter=kt;exports.deriveImplicitRemindKey=Kt;exports.dismissKey=Ht;exports.errorActions=ct;exports.errorText=st;exports.getFsService=St;exports.isKeyDismissed=Bt;exports.isKeyRemindSuppressed=Lt;exports.isNotificationSticky=C;exports.isSourceMuted=Mt;exports.isSpamDropHandle=Nt;exports.notificationOverlayBridge=wt;exports.notify=Tt;exports.openExternal=ft;exports.osNotify=dt;exports.provideHostErrorPresenter=rt;exports.readAudioAsDataUrl=gt;exports.recordClick=pt;exports.recordDismiss=ht;exports.recordFire=yt;exports.remindLater=Rt;exports.resolveNotificationDuration=_;exports.restoreAllKeys=Pt;exports.restoreKey=Ot;exports.setNotificationFocus=Ft;exports.setNotificationHover=Et;exports.setOsBadgeCount=lt;exports.setSourceMuted=Ut;exports.subscribeNotifications=vt;exports.toggleNotificationExpanded=bt;exports.unmuteAllSources=It;exports.withErrorActions=ot;
@@ -1,5 +1,5 @@
1
- import { t as ee, g as L } from "./rendererLogging-RDouoz5K.js";
2
- import { n as s } from "./notification-Bepj_MAz.js";
1
+ import { t as ee, g as L } from "./rendererLogging-Edo4ALXU.js";
2
+ import { n as s } from "./notification-DFbp3S_f.js";
3
3
  const k = /* @__PURE__ */ new WeakMap();
4
4
  function de(e, n) {
5
5
  return k.set(e, [...k.get(e) ?? [], ...n]), e;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../StatusBarNotificationBell-CTAMHPer.cjs"),i=require("../catalogNotify-CDW-bK-M.cjs"),e=require("../notificationSuppressions-JKZaCrMN.cjs"),o=require("../GuidedTour-BVElbQi6.cjs"),s=require("../notification-CX0xc5jc.cjs"),n=require("../visibleBrowserRegistry-CZFCFSo_.cjs"),a=require("../displayOwner-B11aUTFt.cjs");exports.LogFilterBar=t.LogFilterBar;exports.NOTIFICATION_SOURCES=t.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=t.NOTIFICATION_SOURCE_IDS;exports.NotificationPanel=t.NotificationPanel;exports.NotificationsCenter=t.NotificationsCenter;exports.StatusBarNotificationBell=t.StatusBarNotificationBell;exports.compileNotificationSearchMatcher=t.compileNotificationSearchMatcher;exports.createNotificationPreviewRuntime=t.createNotificationPreviewRuntime;exports.exportTimelineAsCsv=t.exportTimelineAsCsv;exports.exportTimelineAsJson=t.exportTimelineAsJson;exports.filterNotificationTimeline=t.filterNotificationTimeline;exports.groupTimelineEntries=t.groupTimelineEntries;exports.isNotificationSourceId=t.isNotificationSourceId;exports.listNotificationSources=t.listNotificationSources;exports.resolveNotificationSource=t.resolveNotificationSource;exports.startNotificationSchedulers=t.startNotificationSchedulers;exports.startNotificationSettingsReactions=t.startNotificationSettingsReactions;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.addTimelineEntry=i.addTimelineEntry;exports.applyNotificationRules=i.applyNotificationRules;exports.catalogNotificationHost=i.catalogNotificationHost;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.clearNotificationTimeline=i.clearNotificationTimeline;exports.defineNotification=i.defineNotification;exports.defineNotificationScenario=i.defineNotificationScenario;exports.digestNotSentText=i.digestNotSentText;exports.dismissNotificationFromCatalog=i.dismissNotificationFromCatalog;exports.dismissNotificationTimelineEntries=i.dismissNotificationTimelineEntries;exports.dismissNotificationTimelineEntriesBySource=i.dismissNotificationTimelineEntriesBySource;exports.dismissNotificationTimelineEntry=i.dismissNotificationTimelineEntry;exports.enrichErrorToast=i.enrichErrorToast;exports.entryVendorMatch=i.entryVendorMatch;exports.fire=i.fire;exports.flushDigest=i.flushDigest;exports.invalidateCustomSoundCache=i.invalidateCustomSoundCache;exports.isInQuietHours=i.isInQuietHours;exports.loadCustomSoundDataUrl=i.loadCustomSoundDataUrl;exports.markTimelineSeen=i.markTimelineSeen;exports.notifyFromCatalog=i.notifyFromCatalog;exports.playQueryCompletedCue=i.playQueryCompletedCue;exports.playSeverityToneIfEnabled=i.playSeverityToneIfEnabled;exports.progressFromCatalog=i.progressFromCatalog;exports.provideCatalogNotificationHost=i.provideCatalogNotificationHost;exports.refreshOsBadge=i.refreshOsBadge;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationScenario=i.resolveNotificationScenario;exports.resolveSeverityTone=i.resolveSeverityTone;exports.setEmailDigestTransport=i.setEmailDigestTransport;exports.shouldFireOsNative=i.shouldFireOsNative;exports.showCatalogPreviewToast=i.showCatalogPreviewToast;exports.subscribeNotificationTimeline=i.subscribeNotificationTimeline;exports.subscribeUnreadCount=i.subscribeUnreadCount;exports.toTimelineActions=i.toTimelineActions;exports.toast=i.toast;exports.toggleTimelineEntryPin=i.toggleTimelineEntryPin;exports.closeNotification=e.closeNotification;exports.configureDesktopBridge=e.configureDesktopBridge;exports.createNativeNotificationEngine=e.createNativeNotificationEngine;exports.decideFilter=e.decideFilter;exports.deriveImplicitRemindKey=e.deriveImplicitRemindKey;exports.dismissKey=e.dismissKey;exports.isKeyDismissed=e.isKeyDismissed;exports.isKeyRemindSuppressed=e.isKeyRemindSuppressed;exports.isNotificationSticky=e.isNotificationSticky;exports.isSourceMuted=e.isSourceMuted;exports.isSpamDropHandle=e.isSpamDropHandle;exports.notify=e.notify;exports.remindLater=e.remindLater;exports.resolveNotificationDuration=e.resolveNotificationDuration;exports.restoreAllKeys=e.restoreAllKeys;exports.restoreKey=e.restoreKey;exports.setNotificationFocus=e.setNotificationFocus;exports.setNotificationHover=e.setNotificationHover;exports.setSourceMuted=e.setSourceMuted;exports.subscribeNotifications=e.subscribeNotifications;exports.toggleNotificationExpanded=e.toggleNotificationExpanded;exports.unmuteAllSources=e.unmuteAllSources;exports.NO_NOTIFICATION_OVERLAY=o.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=o.NotificationHost;exports.NotificationItem=o.NotificationItem;exports.appWindowNotificationOverlay=o.appWindowNotificationOverlay;exports.dismissableToastIds=o.dismissableToastIds;exports.notificationSettings=s.notificationSettings;exports.setOpenSettingsHandler=n.setOpenSettingsHandler;exports.registerNotificationHost=a.registerDisplayHost;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../StatusBarNotificationBell-DSuT1si2.cjs"),i=require("../catalogNotify-CTZ3DSTN.cjs"),e=require("../notificationSuppressions-D7FZmJy8.cjs"),o=require("../GuidedTour-Dik03Ffv.cjs"),s=require("../notification-CrxHMXsk.cjs"),n=require("../visibleBrowserRegistry-BTfWUlI1.cjs"),a=require("../displayOwner-BNw2Foa_.cjs");exports.LogFilterBar=t.LogFilterBar;exports.NOTIFICATION_SOURCES=t.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=t.NOTIFICATION_SOURCE_IDS;exports.NotificationPanel=t.NotificationPanel;exports.NotificationsCenter=t.NotificationsCenter;exports.StatusBarNotificationBell=t.StatusBarNotificationBell;exports.compileNotificationSearchMatcher=t.compileNotificationSearchMatcher;exports.createNotificationPreviewRuntime=t.createNotificationPreviewRuntime;exports.exportTimelineAsCsv=t.exportTimelineAsCsv;exports.exportTimelineAsJson=t.exportTimelineAsJson;exports.filterNotificationTimeline=t.filterNotificationTimeline;exports.groupTimelineEntries=t.groupTimelineEntries;exports.isNotificationSourceId=t.isNotificationSourceId;exports.listNotificationSources=t.listNotificationSources;exports.resolveNotificationSource=t.resolveNotificationSource;exports.startNotificationSchedulers=t.startNotificationSchedulers;exports.startNotificationSettingsReactions=t.startNotificationSettingsReactions;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.addTimelineEntry=i.addTimelineEntry;exports.applyNotificationRules=i.applyNotificationRules;exports.catalogNotificationHost=i.catalogNotificationHost;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.clearNotificationTimeline=i.clearNotificationTimeline;exports.defineNotification=i.defineNotification;exports.defineNotificationScenario=i.defineNotificationScenario;exports.digestNotSentText=i.digestNotSentText;exports.dismissNotificationFromCatalog=i.dismissNotificationFromCatalog;exports.dismissNotificationTimelineEntries=i.dismissNotificationTimelineEntries;exports.dismissNotificationTimelineEntriesBySource=i.dismissNotificationTimelineEntriesBySource;exports.dismissNotificationTimelineEntry=i.dismissNotificationTimelineEntry;exports.enrichErrorToast=i.enrichErrorToast;exports.entryVendorMatch=i.entryVendorMatch;exports.fire=i.fire;exports.flushDigest=i.flushDigest;exports.invalidateCustomSoundCache=i.invalidateCustomSoundCache;exports.isInQuietHours=i.isInQuietHours;exports.loadCustomSoundDataUrl=i.loadCustomSoundDataUrl;exports.markTimelineSeen=i.markTimelineSeen;exports.notifyFromCatalog=i.notifyFromCatalog;exports.playQueryCompletedCue=i.playQueryCompletedCue;exports.playSeverityToneIfEnabled=i.playSeverityToneIfEnabled;exports.progressFromCatalog=i.progressFromCatalog;exports.provideCatalogNotificationHost=i.provideCatalogNotificationHost;exports.refreshOsBadge=i.refreshOsBadge;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationScenario=i.resolveNotificationScenario;exports.resolveSeverityTone=i.resolveSeverityTone;exports.setEmailDigestTransport=i.setEmailDigestTransport;exports.shouldFireOsNative=i.shouldFireOsNative;exports.showCatalogPreviewToast=i.showCatalogPreviewToast;exports.subscribeNotificationTimeline=i.subscribeNotificationTimeline;exports.subscribeUnreadCount=i.subscribeUnreadCount;exports.toTimelineActions=i.toTimelineActions;exports.toast=i.toast;exports.toggleTimelineEntryPin=i.toggleTimelineEntryPin;exports.closeNotification=e.closeNotification;exports.configureDesktopBridge=e.configureDesktopBridge;exports.createNativeNotificationEngine=e.createNativeNotificationEngine;exports.decideFilter=e.decideFilter;exports.deriveImplicitRemindKey=e.deriveImplicitRemindKey;exports.dismissKey=e.dismissKey;exports.isKeyDismissed=e.isKeyDismissed;exports.isKeyRemindSuppressed=e.isKeyRemindSuppressed;exports.isNotificationSticky=e.isNotificationSticky;exports.isSourceMuted=e.isSourceMuted;exports.isSpamDropHandle=e.isSpamDropHandle;exports.notify=e.notify;exports.remindLater=e.remindLater;exports.resolveNotificationDuration=e.resolveNotificationDuration;exports.restoreAllKeys=e.restoreAllKeys;exports.restoreKey=e.restoreKey;exports.setNotificationFocus=e.setNotificationFocus;exports.setNotificationHover=e.setNotificationHover;exports.setSourceMuted=e.setSourceMuted;exports.subscribeNotifications=e.subscribeNotifications;exports.toggleNotificationExpanded=e.toggleNotificationExpanded;exports.unmuteAllSources=e.unmuteAllSources;exports.NO_NOTIFICATION_OVERLAY=o.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=o.NotificationHost;exports.NotificationItem=o.NotificationItem;exports.appWindowNotificationOverlay=o.appWindowNotificationOverlay;exports.dismissableToastIds=o.dismissableToastIds;exports.notificationSettings=s.notificationSettings;exports.setOpenSettingsHandler=n.setOpenSettingsHandler;exports.registerNotificationHost=a.registerDisplayHost;
@@ -1,10 +1,10 @@
1
- import { L as a, N as e, a as t, b as o, c as r, S as n, d as c, e as l, f, g as N, h as m, i as d, j as u, l as S, r as p, s as T, k as g } from "../StatusBarNotificationBell-CFQiQ4EC.js";
2
- import { S as C, h as E, j as v, k as I, l as O, m as R, n as h, o as x, q as b, t as F, u as A, v as D, w as H, x as B, y as K, z as P, A as _, B as k, C as w, D as L, E as M, F as U, G as V, H as j, I as Q, J as Y, p as q, K as J, L as z, M as G, N as W, f as X, O as Z, P as $, Q as ii, R as si, T as ai, U as ei, V as ti } from "../catalogNotify-_2rg9gGZ.js";
3
- import { b as ri, c as ni, d as ci, e as li, f as fi, g as Ni, i as mi, h as di, j as ui, k as Si, l as pi, n as Ti, r as gi, m as yi, o as Ci, q as Ei, s as vi, t as Ii, u as Oi, v as Ri, x as hi, y as xi } from "../notificationSuppressions-FPh4wkRy.js";
4
- import { N as Fi, a as Ai, b as Di, c as Hi, d as Bi } from "../GuidedTour-qJV4uaFX.js";
5
- import { n as Pi } from "../notification-Bepj_MAz.js";
6
- import { s as ki } from "../visibleBrowserRegistry-DOZlLrpo.js";
7
- import { r as Li } from "../displayOwner-B8CAEiHu.js";
1
+ import { L as a, N as e, a as t, b as o, c as r, S as n, d as c, e as l, f, g as N, h as m, i as d, j as u, l as S, r as p, s as T, k as g } from "../StatusBarNotificationBell-Cg9Zomfn.js";
2
+ import { S as C, h as E, j as v, k as I, l as O, m as R, n as h, o as x, q as b, t as F, u as A, v as D, w as H, x as B, y as K, z as P, A as _, B as k, C as w, D as L, E as M, F as U, G as V, H as j, I as Q, J as Y, p as q, K as J, L as z, M as G, N as W, f as X, O as Z, P as $, Q as ii, R as si, T as ai, U as ei, V as ti } from "../catalogNotify-Dnyfrb-0.js";
3
+ import { b as ri, c as ni, d as ci, e as li, f as fi, g as Ni, i as mi, h as di, j as ui, k as Si, l as pi, n as Ti, r as gi, m as yi, o as Ci, q as Ei, s as vi, t as Ii, u as Oi, v as Ri, x as hi, y as xi } from "../notificationSuppressions-DkrUMXHx.js";
4
+ import { N as Fi, a as Ai, b as Di, c as Hi, d as Bi } from "../GuidedTour-CC3huRhY.js";
5
+ import { n as Pi } from "../notification-DFbp3S_f.js";
6
+ import { s as ki } from "../visibleBrowserRegistry-Dw2Y4y_I.js";
7
+ import { r as Li } from "../displayOwner-B_ezJv-O.js";
8
8
  export {
9
9
  a as LogFilterBar,
10
10
  e as NOTIFICATION_SOURCES,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-CW1Xw15d.cjs"),i=require("../Modal-DZlKkUDu.cjs"),u=require("../OverlayScrollArea-D4e9D9Nd.cjs"),n=require("../GuidedTour-BVElbQi6.cjs"),o=require("../format-BU_aMpTT.cjs"),a=require("../dialogFocusRestore-BAF8QM6v.cjs"),t=require("../Popover-BkZ9n6TA.cjs"),r=require("../overlayStack-BZR1emYS.cjs"),O=require("../useFloatingDropdown-vYQiMh6N.cjs"),p=require("../ownerWindow-BCmJFMbR.cjs"),l=require("../prefersReducedMotion-BQp-Q4UR.cjs"),s=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),c=require("../settingsSearchContributor-DqYjIJVw.cjs");exports.CommandPalette=e.CommandPalette;exports.ConfirmDialog=e.ConfirmDialog;exports.ConsequenceLine=e.ConsequenceLine;exports.ContextMenu=e.ContextMenu;exports.DesktopContextMenu=e.DesktopContextMenu;exports.Drawer=e.Drawer;exports.DropdownMenu=e.DropdownMenu;exports.FloatingWindow=e.FloatingWindow;exports.NameStep=e.NameStep;exports.OptionList=e.OptionList;exports.SUBMENU_ANCHOR_OVERLAP=e.SUBMENU_ANCHOR_OVERLAP;exports.SUBMENU_ESTIMATED_ROW_HEIGHT=e.SUBMENU_ESTIMATED_ROW_HEIGHT;exports.SUBMENU_ESTIMATED_WIDTH=e.SUBMENU_ESTIMATED_WIDTH;exports.SUBMENU_MIN_ESTIMATED_HEIGHT=e.SUBMENU_MIN_ESTIMATED_HEIGHT;exports.SUBMENU_VIEWPORT_MARGIN=e.SUBMENU_VIEWPORT_MARGIN;exports.SelectedOptions=e.SelectedOptions;exports.StatementPreview=e.StatementPreview;exports.StepFooter=e.StepFooter;exports.Tooltip=e.Tooltip;exports.TooltipHost=e.TooltipHost;exports.closeContextMenu=e.closeContextMenu;exports.computeSubmenuPlacement=e.computeSubmenuPlacement;exports.confirmationLevelOf=e.confirmationLevelOf;exports.createConfirmDialog=e.createConfirmDialog;exports.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;exports.createPromptDialog=e.createPromptDialog;exports.createSaveDiscardDialog=e.createSaveDiscardDialog;exports.describeConsequence=e.describeConsequence;exports.estimateSubmenuHeight=e.estimateSubmenuHeight;exports.firstFocusableMenuIndex=e.firstFocusableMenuIndex;exports.isDesktopMenuNavigationKey=e.isDesktopMenuNavigationKey;exports.isIrreversible=e.isIrreversible;exports.lastFocusableMenuIndex=e.lastFocusableMenuIndex;exports.nextFocusableMenuIndex=e.nextFocusableMenuIndex;exports.openContextMenu=e.openContextMenu;exports.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=i.ActionPlaceRow;exports.Modal=i.Modal;exports.modalTitlebarHeight=i.modalTitlebarHeight;exports.OverlayScrollArea=u.OverlayScrollArea;exports.Disclosure=n.Disclosure;exports.GuidedTour=n.GuidedTour;exports.Panel=n.Panel;exports.PanelSeparator=n.PanelSeparator;exports.ToastHost=n.NotificationHost;exports.positionTourCard=n.positionTourCard;exports.COLD_DELAY_MS=o.COLD_DELAY_MS;exports.COOLDOWN_MS=o.COOLDOWN_MS;exports.DEFAULT_MARGIN=o.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=o.DEFAULT_OFFSET;exports.HoverTooltip=o.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=o.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=o.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=o.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=o.TOOLTIP_VIEWPORT_MARGIN;exports.WARM_DELAY_MS=o.WARM_DELAY_MS;exports.collectFocusableElements=o.collectFocusableElements;exports.computeAnchoredTooltipPosition=o.computeAnchoredTooltipPosition;exports.computeTooltipPointerPosition=o.computeTooltipPointerPosition;exports.createDialogShellFocus=o.createDialogShellFocus;exports.createTooltipCoordinator=o.createTooltipCoordinator;exports.resolveDialogShellKeyIntent=o.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=o.resolveModalFocusTrapTarget;exports.tooltipCoordinator=o.tooltipCoordinator;exports.trapTabFocusWithin=o.trapTabFocusWithin;exports.OverlayPortal=a.OverlayPortal;exports.restoreFocusTo=a.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=a.shouldRestoreFocusOnDialogClose;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;exports.LISTBOX_OPTION_SELECTOR=t.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=t.MENU_ITEM_SELECTOR;exports.OVERLAY_DEFAULT_GAP=t.OVERLAY_DEFAULT_GAP;exports.OVERLAY_DEFAULT_MARGIN=t.OVERLAY_DEFAULT_MARGIN;exports.POPOVER_DEFAULT_GAP=t.POPOVER_DEFAULT_GAP;exports.POPOVER_VIEWPORT_MARGIN=t.POPOVER_VIEWPORT_MARGIN;exports.Popover=t.Popover;exports.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.isPopoverNavigationKey=t.isPopoverNavigationKey;exports.layout2d=t.layout2d;exports.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;exports.resolvePopoverFocusForKey=t.resolvePopoverFocusForKey;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=r.getOverlayDiagnostics;exports.hasOpenLayerIn=r.hasOpenLayerIn;exports.isAnyOverlayOpen=r.isAnyOverlayOpen;exports.isModalOccluded=r.isModalOccluded;exports.isOverlayOverlapping=r.isOverlayOverlapping;exports.notifyOverlayChanged=r.notifyOverlayChanged;exports.notifyOverlayMotionEnd=r.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=r.notifyOverlayMotionStart;exports.onOverlayMotion=r.onOverlayMotion;exports.overlayDepth=r.overlayDepth;exports.readOverlayMutationRevision=r.readOverlayMutationRevision;exports.registerOverlayClose=r.registerOverlayClose;exports.registerOverlayCondition=r.registerOverlayCondition;exports.registerOverlayOpen=r.registerOverlayOpen;exports.useOverlayRegistration=r.useOverlayRegistration;exports.useFloatingDropdown=O.useFloatingDropdown;exports.ownerWindow=p.ownerWindow;exports.modalBackgroundExemption=l.modalBackgroundExemption;exports.neutralizeBackground=l.neutralizeBackground;exports.DesktopContextMenuContext=s.DesktopContextMenuContext;exports.useDesktopContextMenu=s.useDesktopContextMenu;exports.setDatabaseObjectSearchProvider=c.setDatabaseObjectSearchProvider;exports.setSettingsSearchSource=c.setSettingsSearchSource;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-CklLeIaO.cjs"),i=require("../Modal-w2CtUJ-g.cjs"),u=require("../OverlayScrollArea-D4e9D9Nd.cjs"),n=require("../GuidedTour-Dik03Ffv.cjs"),o=require("../format-BWHKiXRe.cjs"),a=require("../dialogFocusRestore-BAF8QM6v.cjs"),t=require("../Popover-BkZ9n6TA.cjs"),r=require("../overlayStack-BZR1emYS.cjs"),O=require("../useFloatingDropdown-vYQiMh6N.cjs"),p=require("../ownerWindow-BCmJFMbR.cjs"),l=require("../prefersReducedMotion-BQp-Q4UR.cjs"),s=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),c=require("../settingsSearchContributor-BHsOfue1.cjs");exports.CommandPalette=e.CommandPalette;exports.ConfirmDialog=e.ConfirmDialog;exports.ConsequenceLine=e.ConsequenceLine;exports.ContextMenu=e.ContextMenu;exports.DesktopContextMenu=e.DesktopContextMenu;exports.Drawer=e.Drawer;exports.DropdownMenu=e.DropdownMenu;exports.FloatingWindow=e.FloatingWindow;exports.NameStep=e.NameStep;exports.OptionList=e.OptionList;exports.SUBMENU_ANCHOR_OVERLAP=e.SUBMENU_ANCHOR_OVERLAP;exports.SUBMENU_ESTIMATED_ROW_HEIGHT=e.SUBMENU_ESTIMATED_ROW_HEIGHT;exports.SUBMENU_ESTIMATED_WIDTH=e.SUBMENU_ESTIMATED_WIDTH;exports.SUBMENU_MIN_ESTIMATED_HEIGHT=e.SUBMENU_MIN_ESTIMATED_HEIGHT;exports.SUBMENU_VIEWPORT_MARGIN=e.SUBMENU_VIEWPORT_MARGIN;exports.SelectedOptions=e.SelectedOptions;exports.StatementPreview=e.StatementPreview;exports.StepFooter=e.StepFooter;exports.Tooltip=e.Tooltip;exports.TooltipHost=e.TooltipHost;exports.closeContextMenu=e.closeContextMenu;exports.computeSubmenuPlacement=e.computeSubmenuPlacement;exports.confirmationLevelOf=e.confirmationLevelOf;exports.createConfirmDialog=e.createConfirmDialog;exports.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;exports.createPromptDialog=e.createPromptDialog;exports.createSaveDiscardDialog=e.createSaveDiscardDialog;exports.describeConsequence=e.describeConsequence;exports.estimateSubmenuHeight=e.estimateSubmenuHeight;exports.firstFocusableMenuIndex=e.firstFocusableMenuIndex;exports.isDesktopMenuNavigationKey=e.isDesktopMenuNavigationKey;exports.isIrreversible=e.isIrreversible;exports.lastFocusableMenuIndex=e.lastFocusableMenuIndex;exports.nextFocusableMenuIndex=e.nextFocusableMenuIndex;exports.openContextMenu=e.openContextMenu;exports.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=i.ActionPlaceRow;exports.Modal=i.Modal;exports.modalTitlebarHeight=i.modalTitlebarHeight;exports.OverlayScrollArea=u.OverlayScrollArea;exports.Disclosure=n.Disclosure;exports.GuidedTour=n.GuidedTour;exports.Panel=n.Panel;exports.PanelSeparator=n.PanelSeparator;exports.ToastHost=n.NotificationHost;exports.positionTourCard=n.positionTourCard;exports.COLD_DELAY_MS=o.COLD_DELAY_MS;exports.COOLDOWN_MS=o.COOLDOWN_MS;exports.DEFAULT_MARGIN=o.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=o.DEFAULT_OFFSET;exports.HoverTooltip=o.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=o.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=o.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=o.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=o.TOOLTIP_VIEWPORT_MARGIN;exports.WARM_DELAY_MS=o.WARM_DELAY_MS;exports.collectFocusableElements=o.collectFocusableElements;exports.computeAnchoredTooltipPosition=o.computeAnchoredTooltipPosition;exports.computeTooltipPointerPosition=o.computeTooltipPointerPosition;exports.createDialogShellFocus=o.createDialogShellFocus;exports.createTooltipCoordinator=o.createTooltipCoordinator;exports.resolveDialogShellKeyIntent=o.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=o.resolveModalFocusTrapTarget;exports.tooltipCoordinator=o.tooltipCoordinator;exports.trapTabFocusWithin=o.trapTabFocusWithin;exports.OverlayPortal=a.OverlayPortal;exports.restoreFocusTo=a.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=a.shouldRestoreFocusOnDialogClose;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;exports.LISTBOX_OPTION_SELECTOR=t.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=t.MENU_ITEM_SELECTOR;exports.OVERLAY_DEFAULT_GAP=t.OVERLAY_DEFAULT_GAP;exports.OVERLAY_DEFAULT_MARGIN=t.OVERLAY_DEFAULT_MARGIN;exports.POPOVER_DEFAULT_GAP=t.POPOVER_DEFAULT_GAP;exports.POPOVER_VIEWPORT_MARGIN=t.POPOVER_VIEWPORT_MARGIN;exports.Popover=t.Popover;exports.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.isPopoverNavigationKey=t.isPopoverNavigationKey;exports.layout2d=t.layout2d;exports.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;exports.resolvePopoverFocusForKey=t.resolvePopoverFocusForKey;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=r.getOverlayDiagnostics;exports.hasOpenLayerIn=r.hasOpenLayerIn;exports.isAnyOverlayOpen=r.isAnyOverlayOpen;exports.isModalOccluded=r.isModalOccluded;exports.isOverlayOverlapping=r.isOverlayOverlapping;exports.notifyOverlayChanged=r.notifyOverlayChanged;exports.notifyOverlayMotionEnd=r.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=r.notifyOverlayMotionStart;exports.onOverlayMotion=r.onOverlayMotion;exports.overlayDepth=r.overlayDepth;exports.readOverlayMutationRevision=r.readOverlayMutationRevision;exports.registerOverlayClose=r.registerOverlayClose;exports.registerOverlayCondition=r.registerOverlayCondition;exports.registerOverlayOpen=r.registerOverlayOpen;exports.useOverlayRegistration=r.useOverlayRegistration;exports.useFloatingDropdown=O.useFloatingDropdown;exports.ownerWindow=p.ownerWindow;exports.modalBackgroundExemption=l.modalBackgroundExemption;exports.neutralizeBackground=l.neutralizeBackground;exports.DesktopContextMenuContext=s.DesktopContextMenuContext;exports.useDesktopContextMenu=s.useDesktopContextMenu;exports.setDatabaseObjectSearchProvider=c.setDatabaseObjectSearchProvider;exports.setSettingsSearchSource=c.setSettingsSearchSource;
@@ -1,8 +1,8 @@
1
- import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as O, N as c, O as p, S as u, f as T, g as d, h as m, i as D, j as M, k as _, l as A, T as E, m as P, n as v, o as S, p as g, q as F, r as I, s as x, t as y, u as C, v as R, w as f, x as L, y as h, z as N, A as U, B as b, E as G, G as H, H as w, I as W, J as k, K as B } from "../CommandPalette-Cr81FRAH.js";
2
- import { A as K, M as j, m as Y } from "../Modal-BgwyBtzV.js";
1
+ import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as O, N as c, O as p, S as u, f as T, g as d, h as m, i as D, j as M, k as _, l as A, T as E, m as P, n as v, o as S, p as g, q as F, r as I, s as x, t as y, u as C, v as R, w as f, x as L, y as h, z as N, A as U, B as b, E as G, G as H, H as w, I as W, J as k, K as B } from "../CommandPalette-Dq-wVRJf.js";
2
+ import { A as K, M as j, m as Y } from "../Modal-C4E01jt8.js";
3
3
  import { O as X } from "../OverlayScrollArea-221dfKyz.js";
4
- import { D as J, G as Q, P as Z, e as $, a as ee, p as ae } from "../GuidedTour-qJV4uaFX.js";
5
- import { a as se, c as te, D as re, d as ne, H as ie, T as le, e as Oe, f as ce, g as pe, W as ue, h as Te, i as de, j as me, k as De, l as Me, r as _e, m as Ae, t as Ee, n as Pe } from "../format-CZuUwpfB.js";
4
+ import { D as J, G as Q, P as Z, e as $, a as ee, p as ae } from "../GuidedTour-CC3huRhY.js";
5
+ import { a as se, c as te, D as re, d as ne, H as ie, T as le, e as Oe, f as ce, g as pe, W as ue, h as Te, i as de, j as me, k as De, l as Me, r as _e, m as Ae, t as Ee, n as Pe } from "../format-BubrMUMq.js";
6
6
  import { O as Se, r as ge, s as Fe } from "../dialogFocusRestore-DKxaV82N.js";
7
7
  import { A as xe, a as ye, b as Ce, L as Re, M as fe, O as Le, c as he, P as Ne, d as Ue, e as be, f as Ge, g as He, h as we, i as We, j as ke, l as Be, r as Ve, k as Ke, m as je } from "../Popover-CTnX42Jq.js";
8
8
  import { g as qe, h as Xe, i as ze, a as Je, b as Qe, n as Ze, c as $e, d as ea, o as aa, e as oa, r as sa, f as ta, j as ra, k as na, u as ia } from "../overlayStack-ND6EQZlX.js";
@@ -10,7 +10,7 @@ import { u as Oa } from "../useFloatingDropdown-HD3G-ECb.js";
10
10
  import { o as pa } from "../ownerWindow-9mx_LD47.js";
11
11
  import { m as Ta, n as da } from "../prefersReducedMotion-B2mMn01s.js";
12
12
  import { D as Da, u as Ma } from "../DesktopContextMenuContext-DJ3PnqAv.js";
13
- import { s as Aa, a as Ea } from "../settingsSearchContributor-Sae2-vbZ.js";
13
+ import { s as Aa, a as Ea } from "../settingsSearchContributor-xo70xEuW.js";
14
14
  export {
15
15
  K as ActionPlaceRow,
16
16
  xe as AnchorAlignment,
@@ -1,4 +1,4 @@
1
- import { g as l } from "./rendererLogging-RDouoz5K.js";
1
+ import { g as l } from "./rendererLogging-Edo4ALXU.js";
2
2
  l("PreferencesCache");
3
3
  const c = () => ({
4
4
  workspacePreferences: {},
@@ -1 +1 @@
1
- "use strict";const c=require("./rendererLogging-BFSH5YKd.cjs");c.getLogger("PreferencesCache");const l=()=>({workspacePreferences:{},sshState:{},uiLayoutState:{}});let t=l(),n=null;function f(e){n=e}function S(){return n?n.getUiLayout():t.uiLayoutState}const u="app-sidebar-layout-change";function L(){return u}function r(e,i){typeof window>"u"||window.dispatchEvent(new CustomEvent(u,{detail:{key:e,kind:i}}))}function y(e,i){if(n){n.setSidebarWidth(e,i);return}const o={...t.uiLayoutState.sidebarWidths??{}};o[e]=i,t={...t,uiLayoutState:{...t.uiLayoutState,sidebarWidths:o}},s(),r(e,"width")}function h(e,i){if(n){n.setSidebarCollapsed(e,i);return}const o={...t.uiLayoutState.sidebarCollapsed??{}};o[e]=i,t={...t,uiLayoutState:{...t.uiLayoutState,sidebarCollapsed:o}},s(),r(e,"collapsed")}let a=null;const p=250;function s(){a&&clearTimeout(a),a=setTimeout(()=>{a=null,d()},p)}async function d(){a&&(clearTimeout(a),a=null)}typeof window<"u"&&window.addEventListener("beforeunload",()=>{d()});exports.getSidebarLayoutChangeEventName=L;exports.getUiLayout=S;exports.provideLayoutPreferences=f;exports.setSidebarCollapsed=h;exports.setSidebarWidth=y;
1
+ "use strict";const c=require("./rendererLogging-B4XML4_G.cjs");c.getLogger("PreferencesCache");const l=()=>({workspacePreferences:{},sshState:{},uiLayoutState:{}});let t=l(),n=null;function f(e){n=e}function S(){return n?n.getUiLayout():t.uiLayoutState}const u="app-sidebar-layout-change";function L(){return u}function r(e,i){typeof window>"u"||window.dispatchEvent(new CustomEvent(u,{detail:{key:e,kind:i}}))}function y(e,i){if(n){n.setSidebarWidth(e,i);return}const o={...t.uiLayoutState.sidebarWidths??{}};o[e]=i,t={...t,uiLayoutState:{...t.uiLayoutState,sidebarWidths:o}},s(),r(e,"width")}function h(e,i){if(n){n.setSidebarCollapsed(e,i);return}const o={...t.uiLayoutState.sidebarCollapsed??{}};o[e]=i,t={...t,uiLayoutState:{...t.uiLayoutState,sidebarCollapsed:o}},s(),r(e,"collapsed")}let a=null;const p=250;function s(){a&&clearTimeout(a),a=setTimeout(()=>{a=null,d()},p)}async function d(){a&&(clearTimeout(a),a=null)}typeof window<"u"&&window.addEventListener("beforeunload",()=>{d()});exports.getSidebarLayoutChangeEventName=L;exports.getUiLayout=S;exports.provideLayoutPreferences=f;exports.setSidebarCollapsed=h;exports.setSidebarWidth=y;
@@ -1,6 +1,6 @@
1
- "use strict";var G=Object.defineProperty;var Y=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var u=(t,e,r)=>Y(t,typeof e!="symbol"?e+"":e,r);const X=require("./bugIndicatingError-D2X5Hfgg.cjs");function M(t){if(!t)return!1;if(typeof t=="object"){const e=t;if(e.isCancellation===!0||e.cancelled===!0||e.name==="Canceled"&&e.message==="Canceled"||e.name==="AbortError"||e.name==="CancellationError")return!0}return!1}function U(t,e){return t instanceof Error&&t.message.trim()?t.message:typeof t=="string"&&t.trim()?t:e}const L=String.raw`'(?:[^']|'')*(?:'|$)|"(?:[^"]|"")*(?:"|$)`,J=new RegExp(String.raw`(["']?\b(?:password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer)\b["']?)(\s*[:=]\s*)(`+L+String.raw`|[^\s,;'"}\]]+)`,"gi"),q=new RegExp(String.raw`\b(identified\s+by(?:\s+values)?)\s+(`+L+String.raw`|[^\s,;)]+)`,"gi"),Q=new RegExp(String.raw`(?<!["':])\b(password)\s*(?:=\s*)?(`+L+")","gi");function m(t){let e=t;return e=e.replace(J,(r,s,n,i)=>{if(s.startsWith('"')||s.startsWith("'")){const a=i.startsWith('"')?'"':i.startsWith("'")?"'":"";return`${s}${n}${a}[REDACTED]${a}`}return i.startsWith('"')||i.startsWith("'")?`${s} [REDACTED]`:`${s}=[REDACTED]`}),e=e.replace(q,"$1 [REDACTED]"),e=e.replace(Q,"$1 [REDACTED]"),e=e.replace(/\b([a-z][a-z0-9+\-.]*:\/\/[^\s:@/?#]+):[^\s@/?#]+@/gi,"$1:[REDACTED]@"),e=e.replace(/\beyJ[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\b/g,"[REDACTED-JWT]"),e=e.replace(/-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----/g,"[REDACTED-PRIVATE-KEY]"),e}const ee=Symbol.for("viperdb.base.bestEffortSink");function te(){return globalThis}function $(t,e){const r=te()[ee];if(r===void 0)throw new X.BugIndicatingError("base/bestEffort: günlük çıkışı bağlanmadı — realm açılışta provideBestEffortSink çağırmalı.");r(t,e)}const S=40,O=/password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer/i;function b(t,e=new WeakSet){if(typeof t=="string")return m(t);if(typeof t=="function")return"[Function]";if(typeof t=="symbol")return t.toString();if(t instanceof Date)return t.toISOString();if(t instanceof RegExp)return t.toString();if(t&&typeof t=="object"){if(e.has(t))return"[Circular]";if(e.add(t),Array.isArray(t))return t.map(s=>b(s,e));if(t instanceof Error){const s={name:t.name,message:m(t.message)};t.stack&&(s.stack=m(t.stack));try{const n=Object.keys(t);for(const i of n)if(!(i==="name"||i==="message"||i==="stack")){if(O.test(i)){s[i]="[REDACTED]";continue}try{const a=t[i];s[i]=b(a,e)}catch{s[i]="[Unserializable]"}}}catch(n){$("ignore entry extraction failures on Error",n)}return s}const r={};try{const s=Object.keys(t);for(const n of s){if(O.test(n)){r[n]="[REDACTED]";continue}try{const i=t[n];r[n]=b(i,e)}catch{r[n]="[Unserializable]"}}}catch{return"[Unserializable]"}return r}return t}const _=[];let k=0,T=null;function re(t){T=t}function C(t){if(T!==null){T.add(t);return}try{const e=t.timestamp??Date.now(),r=m(t.message);let s;if(t.data)try{s=b(t.data)}catch{s={error:"[Unserializable data]"}}const n={timestamp:e,category:t.category,message:r,...s!==void 0?{data:s}:{},...t.level!==void 0?{level:t.level}:{}};_.length<S?_.push(n):(_[k]=n,k=(k+1)%S)}catch(e){$("Defensive: breadcrumb recording must never throw and crash the caller",e)}}function se(){return T!==null?T.list():_.length<S?[..._]:[..._.slice(k),..._.slice(0,k)]}function ne(t){let e=2166136261;for(let r=0;r<t.length;r++)e^=t.charCodeAt(r),e=Math.imul(e,16777619);return e>>>0}const ie=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi,oe=/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/g,ae=/\b[0-9a-fA-F]{1,4}(?::[0-9a-fA-F]{1,4}){3,7}\b/g,ce=/\b0x[0-9a-fA-F]+\b/g,ue=/\b\d{5,}\b/g;function fe(t){return t.replace(ie,"<ID>").replace(oe,"<ID>").replace(ae,"<ID>").replace(ce,"<ID>").replace(ue,"<ID>").trim()}function de(t){if(!t)return"";const e=t.split(`
1
+ "use strict";var G=Object.defineProperty;var Y=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var u=(t,e,r)=>Y(t,typeof e!="symbol"?e+"":e,r);const X=require("./bugIndicatingError-D2X5Hfgg.cjs");function M(t){if(!t)return!1;if(typeof t=="object"){const e=t;if(e.isCancellation===!0||e.cancelled===!0||e.name==="Canceled"&&e.message==="Canceled"||e.name==="AbortError"||e.name==="CancellationError")return!0}return!1}function U(t,e){return t instanceof Error&&t.message.trim()?t.message:typeof t=="string"&&t.trim()?t:e}const L=String.raw`'(?:[^']|'')*(?:'|$)|"(?:[^"]|"")*(?:"|$)`,J=new RegExp(String.raw`(["']?\b(?:password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer)\b["']?)(\s*[:=]\s*)(`+L+String.raw`|[^\s,;'"}\]]+)`,"gi"),q=new RegExp(String.raw`\b(identified\s+by(?:\s+values)?)\s+(`+L+String.raw`|[^\s,;)]+)`,"gi"),Q=new RegExp(String.raw`(?<!["':])\b(password)\s*(?:=\s*)?(`+L+")","gi");function m(t){let e=t;return e=e.replace(J,(r,s,n,i)=>{if(s.startsWith('"')||s.startsWith("'")){const a=i.startsWith('"')?'"':i.startsWith("'")?"'":"";return`${s}${n}${a}[REDACTED]${a}`}return i.startsWith('"')||i.startsWith("'")?`${s} [REDACTED]`:`${s}=[REDACTED]`}),e=e.replace(q,"$1 [REDACTED]"),e=e.replace(Q,"$1 [REDACTED]"),e=e.replace(/\b([a-z][a-z0-9+\-.]*:\/\/[^\s:@/?#]+):[^\s@/?#]+@/gi,"$1:[REDACTED]@"),e=e.replace(/\beyJ[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\b/g,"[REDACTED-JWT]"),e=e.replace(/-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----/g,"[REDACTED-PRIVATE-KEY]"),e}const ee=Symbol.for("vokril.base.bestEffortSink");function te(){return globalThis}function $(t,e){const r=te()[ee];if(r===void 0)throw new X.BugIndicatingError("base/bestEffort: no log sink is connected — the realm must call provideBestEffortSink at startup.");r(t,e)}const S=40,O=/password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer/i;function b(t,e=new WeakSet){if(typeof t=="string")return m(t);if(typeof t=="function")return"[Function]";if(typeof t=="symbol")return t.toString();if(t instanceof Date)return t.toISOString();if(t instanceof RegExp)return t.toString();if(t&&typeof t=="object"){if(e.has(t))return"[Circular]";if(e.add(t),Array.isArray(t))return t.map(s=>b(s,e));if(t instanceof Error){const s={name:t.name,message:m(t.message)};t.stack&&(s.stack=m(t.stack));try{const n=Object.keys(t);for(const i of n)if(!(i==="name"||i==="message"||i==="stack")){if(O.test(i)){s[i]="[REDACTED]";continue}try{const a=t[i];s[i]=b(a,e)}catch{s[i]="[Unserializable]"}}}catch(n){$("ignore entry extraction failures on Error",n)}return s}const r={};try{const s=Object.keys(t);for(const n of s){if(O.test(n)){r[n]="[REDACTED]";continue}try{const i=t[n];r[n]=b(i,e)}catch{r[n]="[Unserializable]"}}}catch{return"[Unserializable]"}return r}return t}const _=[];let k=0,T=null;function re(t){T=t}function C(t){if(T!==null){T.add(t);return}try{const e=t.timestamp??Date.now(),r=m(t.message);let s;if(t.data)try{s=b(t.data)}catch{s={error:"[Unserializable data]"}}const n={timestamp:e,category:t.category,message:r,...s!==void 0?{data:s}:{},...t.level!==void 0?{level:t.level}:{}};_.length<S?_.push(n):(_[k]=n,k=(k+1)%S)}catch(e){$("Defensive: breadcrumb recording must never throw and crash the caller",e)}}function se(){return T!==null?T.list():_.length<S?[..._]:[..._.slice(k),..._.slice(0,k)]}function ne(t){let e=2166136261;for(let r=0;r<t.length;r++)e^=t.charCodeAt(r),e=Math.imul(e,16777619);return e>>>0}const ie=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi,oe=/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/g,ae=/\b[0-9a-fA-F]{1,4}(?::[0-9a-fA-F]{1,4}){3,7}\b/g,ce=/\b0x[0-9a-fA-F]+\b/g,ue=/\b\d{5,}\b/g;function fe(t){return t.replace(ie,"<ID>").replace(oe,"<ID>").replace(ae,"<ID>").replace(ce,"<ID>").replace(ue,"<ID>").trim()}function le(t){if(!t)return"";const e=t.split(`
2
2
  `).map(s=>s.trim()),r=[];for(const s of e)if(s&&s.startsWith("at ")){const n=s.endsWith(")")?s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?\)$/,")"):s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?$/,"");if(r.push(n),r.length>=2)break}return r.join(`
3
- `)}function le(t){let e="Error",r="",s;try{if(t instanceof Error)e=t.name||"Error",r=t.message||"",s=t.stack;else if(typeof t=="object"&&t!==null){const c=t;typeof c.name=="string"&&(e=c.name),typeof c.message=="string"&&(r=c.message),typeof c.stack=="string"&&(s=c.stack)}else typeof t=="string"?r=t:r=String(t)}catch{e="UnserializableError",r="Error object threw during fingerprint extraction"}const n=fe(r),i=de(s),a=`${e}|${n}|${i}`;return ne(a).toString(16).padStart(8,"0")}class pe{constructor(e={}){u(this,"dedupWindowMs");u(this,"circuitBreakerWindowMs");u(this,"circuitBreakerThreshold");u(this,"fingerprints",new Map);u(this,"recentTimestamps",[]);u(this,"circuitBreakerSuppressedTotal",0);u(this,"wasCircuitBreakerOpen",!1);u(this,"lastPruneTime",0);this.dedupWindowMs=e.dedupWindowMs??5e3,this.circuitBreakerWindowMs=e.circuitBreakerWindowMs??1e4,this.circuitBreakerThreshold=e.circuitBreakerThreshold??20}shouldReport(e,r=Date.now()){(r-this.lastPruneTime>3e4||this.fingerprints.size>200)&&(this.cleanup(r),this.lastPruneTime=r);const s=r-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<s;)this.recentTimestamps.shift();if(this.recentTimestamps.length>=this.circuitBreakerThreshold){const c=!this.wasCircuitBreakerOpen;this.wasCircuitBreakerOpen=!0,this.circuitBreakerSuppressedTotal++;let d=this.fingerprints.get(e);return d||(d={lastReported:r,suppressedCount:0},this.fingerprints.set(e,d)),d.suppressedCount++,{allowed:!1,reason:"circuit_breaker",...c?{circuitBreakerJustOpened:!0}:{}}}let n;this.wasCircuitBreakerOpen&&(this.wasCircuitBreakerOpen=!1,this.circuitBreakerSuppressedTotal>0&&(n=this.circuitBreakerSuppressedTotal,this.circuitBreakerSuppressedTotal=0));const i=this.fingerprints.get(e);if(!i)return this.fingerprints.set(e,{lastReported:r,suppressedCount:0}),this.recentTimestamps.push(r),{allowed:!0,...n!==void 0?{circuitBreakerSuppressedCount:n}:{}};if(r-i.lastReported<this.dedupWindowMs)return i.suppressedCount++,{allowed:!1,reason:"duplicate"};const f=i.suppressedCount;return i.lastReported=r,i.suppressedCount=0,this.recentTimestamps.push(r),{allowed:!0,...f>0?{suppressedCount:f}:{},...n!==void 0?{circuitBreakerSuppressedCount:n}:{}}}isCircuitBreakerOpen(e=Date.now()){const r=e-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<r;)this.recentTimestamps.shift();return this.recentTimestamps.length>=this.circuitBreakerThreshold}cleanup(e=Date.now()){const r=e-this.dedupWindowMs*2;for(const[s,n]of this.fingerprints.entries())n.lastReported<r&&this.fingerprints.delete(s)}reset(){this.fingerprints.clear(),this.recentTimestamps.length=0,this.circuitBreakerSuppressedTotal=0,this.wasCircuitBreakerOpen=!1,this.lastPruneTime=0}}const he=new pe;let R=null;function ge(t){R=t}class Ee{constructor(e=he){u(this,"listeners",new Set);u(this,"rateLimiter");this.rateLimiter=e}addListener(e){return this.listeners.add(e),{dispose:()=>{this.listeners.delete(e)}}}onUnexpectedError(e,r){if(this===I&&R!==null){R.onUnexpectedError(e,r);return}if(M(e))return;const s=le(e),n=this.rateLimiter.shouldReport(s);if(!n.allowed){if(n.circuitBreakerJustOpened){const f="Error rate limit circuit breaker opened: exceeded volume threshold. Subsequent errors are suppressed until volume subsides.";C({category:"log",level:"warn",message:f,data:{source:"circuit_breaker"}});const c={source:"circuit_breaker",fingerprint:s};for(const d of this.listeners)try{d(new Error(f),c)}catch(g){console.error("Error listener threw:",g)}}return}const i=U(e,"Unexpected error"),a={...r??{},fingerprint:s,...n.suppressedCount!==void 0?{suppressedCount:n.suppressedCount}:{},...n.circuitBreakerSuppressedCount!==void 0?{circuitBreakerSuppressedCount:n.circuitBreakerSuppressedCount}:{}};C({category:"log",level:"error",message:`Unexpected error: ${i}`,data:a});for(const f of this.listeners)try{f(e,a)}catch(c){console.error("Error listener threw:",c)}}}const I=new Ee;function x(t,e){I.onUnexpectedError(t,e)}var W;(t=>{t.None=()=>({dispose(){}});function e(a){return(f,c)=>{let d=!1;const g=a(l=>{d||(d=!0,g.dispose(),f.call(c,l))});return g}}t.once=e;function r(a){return new Promise(f=>e(a)(f))}t.toPromise=r;function s(a,f,c){return(d,g)=>{const l=a(p=>{f(p)&&d.call(g,p)});return c==null||c.add(l),l}}t.filter=s;function n(a,f,c=100){return(d,g)=>{let l,p;const H=a(Z=>{l=f(l,Z),p!==void 0&&clearTimeout(p),p=setTimeout(()=>{const K=l;l=void 0,p=void 0,d.call(g,K)},c)});return{dispose:()=>{H.dispose(),p!==void 0&&clearTimeout(p)}}}}t.debounce=n;function i(a,f,c){return f(c),a(d=>f(d))}t.runAndSubscribe=i})(W||(W={}));class j{constructor(){u(this,"_listeners",new Set);u(this,"_disposed",!1);u(this,"_event")}get event(){return this._event||(this._event=(e,r)=>{if(this._disposed)return console.warn("Emitter is already disposed, cannot register listener"),{dispose(){}};const s={fn:e,thisArgs:r};if(process.env.NODE_ENV!=="production"){const n=new Error().stack;n!==void 0&&(s.registeredAt=n)}return this._listeners.add(s),{dispose:()=>{this._listeners.delete(s)}}}),this._event}get _size(){return this._listeners.size}fire(e){if(this._disposed)return;const r=[...this._listeners];for(const{fn:s,thisArgs:n,registeredAt:i}of r)try{s.call(n,e)}catch(a){x(a,{source:"event-listener",...i!==void 0?{registeredAt:i}:{}})}}dispose(){this._disposed||(this._disposed=!0,this._listeners.clear(),this._event=void 0)}}var o=(t=>(t[t.Off=0]="Off",t[t.Trace=1]="Trace",t[t.Debug=2]="Debug",t[t.Info=3]="Info",t[t.Warn=4]="Warn",t[t.Error=5]="Error",t[t.Audit=6]="Audit",t))(o||{});const N=3;function V(t,e){return e===6?!0:t===0?!1:t<=e}class _e{constructor(){u(this,"_store",new Set);u(this,"_isDisposed",!1)}_register(e){return this._isDisposed?(console.warn("Registering disposable on already disposed object"),e.dispose()):this._store.add(e),e}get isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const e of this._store)try{e.dispose()}catch(r){x(r,{source:"dispose"})}this._store.clear()}}}class me extends _e{constructor(r=N){super();u(this,"_level");u(this,"_onDidChangeLogLevel",this._register(new j));u(this,"onDidChangeLogLevel",this._onDidChangeLogLevel.event);this._level=r}getLevel(){return this._level}setLevel(r){this._level!==r&&(this._level=r,this._onDidChangeLogLevel.fire(r))}canLog(r){return V(this._level,r)}withTag(r){return this}}const v="[REDACTED]";function be(t){return t?v:""}const ke=["password","pass","pwd","token","accesstoken","refreshtoken","apikey","api_key","authtoken","secret","privatekey","private_key","masterkey","master_key","masterpassword","username","user_name","email","userid","user_id","vaultname","vault_name","vaultpath","vault_path","recoverycode","recovery_code","mnemonic","connectionstring","conn_string","dsn","sessionid","session_id","cookie","authorization"],Te=new Set(ke.map(t=>t.toLowerCase().replace(/[-_]/g,""))),we=[/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/,/sk-[A-Za-z0-9]{20,}/,/AKIA[0-9A-Z]{16}/,/ghp_[A-Za-z0-9]{36}/,/gho_[A-Za-z0-9]{36}/,/xoxb-[0-9]+-[0-9]+-[A-Za-z0-9]+/];function De(t){return Te.has(t.toLowerCase().replace(/[-_]/g,""))}function w(t){for(const e of we)if(e.test(t))return v;return t}function A(t){const e={};for(const[r,s]of Object.entries(t))De(r)?e[r]=typeof s=="string"?be(s):v:typeof s=="string"?e[r]=w(s):Array.isArray(s)?e[r]=s.map(n=>typeof n=="string"?w(n):n&&typeof n=="object"&&!(n instanceof Error)&&!(n instanceof Date)?A(n):n):s&&typeof s=="object"&&!(s instanceof Error)&&!(s instanceof Date)?e[r]=A(s):e[r]=s;return e}function Ae(t){return m(w(t))}function B(t){return typeof t=="string"?w(t):Array.isArray(t)?t.map(e=>typeof e=="string"?w(e):e&&typeof e=="object"&&!(e instanceof Error)&&!(e instanceof Date)?A(e):e):t&&typeof t=="object"&&!(t instanceof Error)&&!(t instanceof Date)?A(t):t}class ye extends me{constructor(e){super(e)}trace(e,...r){this.canLog(o.Trace)&&this.log(o.Trace,E(e,r),r)}debug(e,...r){this.canLog(o.Debug)&&this.log(o.Debug,E(e,r),r)}info(e,...r){this.canLog(o.Info)&&this.log(o.Info,E(e,r),r)}warn(e,...r){this.canLog(o.Warn)&&this.log(o.Warn,E(e,r),r)}error(e,...r){if(!this.canLog(o.Error))return;if(e instanceof Error){const n=e;this.log(o.Error,E(`${n.message}
3
+ `)}function de(t){let e="Error",r="",s;try{if(t instanceof Error)e=t.name||"Error",r=t.message||"",s=t.stack;else if(typeof t=="object"&&t!==null){const c=t;typeof c.name=="string"&&(e=c.name),typeof c.message=="string"&&(r=c.message),typeof c.stack=="string"&&(s=c.stack)}else typeof t=="string"?r=t:r=String(t)}catch{e="UnserializableError",r="Error object threw during fingerprint extraction"}const n=fe(r),i=le(s),a=`${e}|${n}|${i}`;return ne(a).toString(16).padStart(8,"0")}class pe{constructor(e={}){u(this,"dedupWindowMs");u(this,"circuitBreakerWindowMs");u(this,"circuitBreakerThreshold");u(this,"fingerprints",new Map);u(this,"recentTimestamps",[]);u(this,"circuitBreakerSuppressedTotal",0);u(this,"wasCircuitBreakerOpen",!1);u(this,"lastPruneTime",0);this.dedupWindowMs=e.dedupWindowMs??5e3,this.circuitBreakerWindowMs=e.circuitBreakerWindowMs??1e4,this.circuitBreakerThreshold=e.circuitBreakerThreshold??20}shouldReport(e,r=Date.now()){(r-this.lastPruneTime>3e4||this.fingerprints.size>200)&&(this.cleanup(r),this.lastPruneTime=r);const s=r-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<s;)this.recentTimestamps.shift();if(this.recentTimestamps.length>=this.circuitBreakerThreshold){const c=!this.wasCircuitBreakerOpen;this.wasCircuitBreakerOpen=!0,this.circuitBreakerSuppressedTotal++;let l=this.fingerprints.get(e);return l||(l={lastReported:r,suppressedCount:0},this.fingerprints.set(e,l)),l.suppressedCount++,{allowed:!1,reason:"circuit_breaker",...c?{circuitBreakerJustOpened:!0}:{}}}let n;this.wasCircuitBreakerOpen&&(this.wasCircuitBreakerOpen=!1,this.circuitBreakerSuppressedTotal>0&&(n=this.circuitBreakerSuppressedTotal,this.circuitBreakerSuppressedTotal=0));const i=this.fingerprints.get(e);if(!i)return this.fingerprints.set(e,{lastReported:r,suppressedCount:0}),this.recentTimestamps.push(r),{allowed:!0,...n!==void 0?{circuitBreakerSuppressedCount:n}:{}};if(r-i.lastReported<this.dedupWindowMs)return i.suppressedCount++,{allowed:!1,reason:"duplicate"};const f=i.suppressedCount;return i.lastReported=r,i.suppressedCount=0,this.recentTimestamps.push(r),{allowed:!0,...f>0?{suppressedCount:f}:{},...n!==void 0?{circuitBreakerSuppressedCount:n}:{}}}isCircuitBreakerOpen(e=Date.now()){const r=e-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<r;)this.recentTimestamps.shift();return this.recentTimestamps.length>=this.circuitBreakerThreshold}cleanup(e=Date.now()){const r=e-this.dedupWindowMs*2;for(const[s,n]of this.fingerprints.entries())n.lastReported<r&&this.fingerprints.delete(s)}reset(){this.fingerprints.clear(),this.recentTimestamps.length=0,this.circuitBreakerSuppressedTotal=0,this.wasCircuitBreakerOpen=!1,this.lastPruneTime=0}}const he=new pe;let R=null;function ge(t){R=t}class Ee{constructor(e=he){u(this,"listeners",new Set);u(this,"rateLimiter");this.rateLimiter=e}addListener(e){return this.listeners.add(e),{dispose:()=>{this.listeners.delete(e)}}}onUnexpectedError(e,r){if(this===I&&R!==null){R.onUnexpectedError(e,r);return}if(M(e))return;const s=de(e),n=this.rateLimiter.shouldReport(s);if(!n.allowed){if(n.circuitBreakerJustOpened){const f="Error rate limit circuit breaker opened: exceeded volume threshold. Subsequent errors are suppressed until volume subsides.";C({category:"log",level:"warn",message:f,data:{source:"circuit_breaker"}});const c={source:"circuit_breaker",fingerprint:s};for(const l of this.listeners)try{l(new Error(f),c)}catch(g){console.error("Error listener threw:",g)}}return}const i=U(e,"Unexpected error"),a={...r??{},fingerprint:s,...n.suppressedCount!==void 0?{suppressedCount:n.suppressedCount}:{},...n.circuitBreakerSuppressedCount!==void 0?{circuitBreakerSuppressedCount:n.circuitBreakerSuppressedCount}:{}};C({category:"log",level:"error",message:`Unexpected error: ${i}`,data:a});for(const f of this.listeners)try{f(e,a)}catch(c){console.error("Error listener threw:",c)}}}const I=new Ee;function x(t,e){I.onUnexpectedError(t,e)}var W;(t=>{t.None=()=>({dispose(){}});function e(a){return(f,c)=>{let l=!1;const g=a(d=>{l||(l=!0,g.dispose(),f.call(c,d))});return g}}t.once=e;function r(a){return new Promise(f=>e(a)(f))}t.toPromise=r;function s(a,f,c){return(l,g)=>{const d=a(p=>{f(p)&&l.call(g,p)});return c==null||c.add(d),d}}t.filter=s;function n(a,f,c=100){return(l,g)=>{let d,p;const H=a(Z=>{d=f(d,Z),p!==void 0&&clearTimeout(p),p=setTimeout(()=>{const K=d;d=void 0,p=void 0,l.call(g,K)},c)});return{dispose:()=>{H.dispose(),p!==void 0&&clearTimeout(p)}}}}t.debounce=n;function i(a,f,c){return f(c),a(l=>f(l))}t.runAndSubscribe=i})(W||(W={}));class j{constructor(){u(this,"_listeners",new Set);u(this,"_disposed",!1);u(this,"_event")}get event(){return this._event||(this._event=(e,r)=>{if(this._disposed)return console.warn("Emitter is already disposed, cannot register listener"),{dispose(){}};const s={fn:e,thisArgs:r};if(process.env.NODE_ENV!=="production"){const n=new Error().stack;n!==void 0&&(s.registeredAt=n)}return this._listeners.add(s),{dispose:()=>{this._listeners.delete(s)}}}),this._event}get _size(){return this._listeners.size}fire(e){if(this._disposed)return;const r=[...this._listeners];for(const{fn:s,thisArgs:n,registeredAt:i}of r)try{s.call(n,e)}catch(a){x(a,{source:"event-listener",...i!==void 0?{registeredAt:i}:{}})}}dispose(){this._disposed||(this._disposed=!0,this._listeners.clear(),this._event=void 0)}}var o=(t=>(t[t.Off=0]="Off",t[t.Trace=1]="Trace",t[t.Debug=2]="Debug",t[t.Info=3]="Info",t[t.Warn=4]="Warn",t[t.Error=5]="Error",t[t.Audit=6]="Audit",t))(o||{});const N=3;function V(t,e){return e===6?!0:t===0?!1:t<=e}class _e{constructor(){u(this,"_store",new Set);u(this,"_isDisposed",!1)}_register(e){return this._isDisposed?(console.warn("Registering disposable on already disposed object"),e.dispose()):this._store.add(e),e}get isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const e of this._store)try{e.dispose()}catch(r){x(r,{source:"dispose"})}this._store.clear()}}}class me extends _e{constructor(r=N){super();u(this,"_level");u(this,"_onDidChangeLogLevel",this._register(new j));u(this,"onDidChangeLogLevel",this._onDidChangeLogLevel.event);this._level=r}getLevel(){return this._level}setLevel(r){this._level!==r&&(this._level=r,this._onDidChangeLogLevel.fire(r))}canLog(r){return V(this._level,r)}withTag(r){return this}}const v="[REDACTED]";function be(t){return t?v:""}const ke=["password","pass","pwd","token","accesstoken","refreshtoken","apikey","api_key","authtoken","secret","privatekey","private_key","masterkey","master_key","masterpassword","username","user_name","email","userid","user_id","vaultname","vault_name","vaultpath","vault_path","recoverycode","recovery_code","mnemonic","connectionstring","conn_string","dsn","sessionid","session_id","cookie","authorization"],Te=new Set(ke.map(t=>t.toLowerCase().replace(/[-_]/g,""))),we=[/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/,/sk-[A-Za-z0-9]{20,}/,/AKIA[0-9A-Z]{16}/,/ghp_[A-Za-z0-9]{36}/,/gho_[A-Za-z0-9]{36}/,/xoxb-[0-9]+-[0-9]+-[A-Za-z0-9]+/];function De(t){return Te.has(t.toLowerCase().replace(/[-_]/g,""))}function w(t){for(const e of we)if(e.test(t))return v;return t}function A(t){const e={};for(const[r,s]of Object.entries(t))De(r)?e[r]=typeof s=="string"?be(s):v:typeof s=="string"?e[r]=w(s):Array.isArray(s)?e[r]=s.map(n=>typeof n=="string"?w(n):n&&typeof n=="object"&&!(n instanceof Error)&&!(n instanceof Date)?A(n):n):s&&typeof s=="object"&&!(s instanceof Error)&&!(s instanceof Date)?e[r]=A(s):e[r]=s;return e}function Ae(t){return m(w(t))}function B(t){return typeof t=="string"?w(t):Array.isArray(t)?t.map(e=>typeof e=="string"?w(e):e&&typeof e=="object"&&!(e instanceof Error)&&!(e instanceof Date)?A(e):e):t&&typeof t=="object"&&!(t instanceof Error)&&!(t instanceof Date)?A(t):t}class ye extends me{constructor(e){super(e)}trace(e,...r){this.canLog(o.Trace)&&this.log(o.Trace,E(e,r),r)}debug(e,...r){this.canLog(o.Debug)&&this.log(o.Debug,E(e,r),r)}info(e,...r){this.canLog(o.Info)&&this.log(o.Info,E(e,r),r)}warn(e,...r){this.canLog(o.Warn)&&this.log(o.Warn,E(e,r),r)}error(e,...r){if(!this.canLog(o.Error))return;if(e instanceof Error){const n=e;this.log(o.Error,E(`${n.message}
4
4
  ${z(n)}`,r),[n,...r]);return}const s=r[0];if(s instanceof Error){this.log(o.Error,E(`${e}: ${s.message}
5
5
  ${z(s)}`,r.slice(1)),r);return}this.log(o.Error,E(e,r),r)}audit(e,r,s,...n){if(!this.canLog(o.Audit))return;const i={action:e,userId:r,resource:s,args:n},a=E(`AUDIT: User ${r} performed ${e} on ${s}`,n);this.log(o.Audit,a,n,i)}}function z(t){if(!t.stack)return t.message;const e=t.stack.indexOf(`
6
6
  `);return e>=0?t.stack.slice(e+1):t.message}function E(t,e=[]){if(e.length===0)return t;const r=[t];for(const s of e)if(s!=null)if(s instanceof Error)r.push(`${s.message}
@@ -46,7 +46,7 @@ function m(t) {
46
46
  "[REDACTED-PRIVATE-KEY]"
47
47
  ), e;
48
48
  }
49
- const J = Symbol.for("viperdb.base.bestEffortSink");
49
+ const J = Symbol.for("vokril.base.bestEffortSink");
50
50
  function q() {
51
51
  return globalThis;
52
52
  }
@@ -54,7 +54,7 @@ function W(t, e) {
54
54
  const r = q()[J];
55
55
  if (r === void 0)
56
56
  throw new Z(
57
- "base/bestEffort: günlük çıkışı bağlanmadı — realm açılışta provideBestEffortSink çağırmalı."
57
+ "base/bestEffort: no log sink is connected — the realm must call provideBestEffortSink at startup."
58
58
  );
59
59
  r(t, e);
60
60
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../defineSettings-ChU6Fp3a.cjs"),t=require("../stateDbStore-THFfFGa0.cjs"),n=require("../useSettingsSubscription-vlMrNNH9.cjs"),r=require("../notification-CX0xc5jc.cjs"),i=require("../headerIconOverrides-BnJaJqAJ.cjs"),o=["auto","antialiased","none"],s=["on","off"],S="autodetect",a=["sshx","sql"],g=["colorful","monochrome"],_=["colorful","normal"],O=!0,T=!0;exports.clearPluginConfigDefaults=e.clearPluginConfigDefaults;exports.defineSettings=e.defineSettings;exports.defineSettingsValue=e.defineSettingsValue;exports.deriveDefault=e.deriveDefault;exports.deriveNormalize=e.deriveNormalize;exports.deriveNormalizePartial=e.deriveNormalizePartial;exports.getContributedGroupDefault=e.getContributedGroupDefault;exports.getGroupByKey=e.getGroupByKey;exports.getRegisteredSettingsGroups=e.getRegisteredSettingsGroups;exports.hydrateRegisteredSettings=e.hydrateRegisteredSettings;exports.normalizeField=e.normalizeField;exports.onAnySettingsChange=e.onAnySettingsChange;exports.resetPluginConfigDefaultsForTest=e.resetPluginConfigDefaultsForTest;exports.resetSettingsGroupForTest=e.resetSettingsGroupForTest;exports.resolveLayers=e.resolveLayers;exports.scopeAllowsLayer=e.scopeAllowsLayer;exports.setPluginConfigDefaults=e.setPluginConfigDefaults;exports.subscribePluginConfigDefaults=e.subscribePluginConfigDefaults;exports.SCOPE_MAP=t.SCOPE_MAP;exports.StorageScope=t.StorageScope;exports.StorageTarget=t.StorageTarget;exports.configureSettingsBackend=t.configureSettingsBackend;exports.stateDbStore=t.stateDbStore;exports.useSettingsSubscription=n.useSettingsSubscription;exports.DEFAULT_NOTIFICATION_SETTINGS=r.DEFAULT_NOTIFICATION_SETTINGS;exports.MAX_LONG_RUNNING_THRESHOLD_MS=r.MAX_LONG_RUNNING_THRESHOLD_MS;exports.MIN_LONG_RUNNING_THRESHOLD_MS=r.MIN_LONG_RUNNING_THRESHOLD_MS;exports.notificationSettings=r.notificationSettings;exports.parseLongRunningThresholdMs=r.parseLongRunningThresholdMs;exports.clearHeaderIconOverride=i.clearHeaderIconOverride;exports.getHeaderIconOverride=i.getHeaderIconOverride;exports.getHeaderIconOverrides=i.getHeaderIconOverrides;exports.headerIconOverridesSettings=i.headerIconOverridesSettings;exports.setHeaderIconOverride=i.setHeaderIconOverride;exports.DATABASE_EXPLORER_SHOW_ADMIN_BADGES_DEFAULT=T;exports.DATABASE_EXPLORER_SHOW_ALL_DATABASES_DEFAULT=O;exports.DETACHED_EDITOR_TOOLBAR_SCOPES=a;exports.EDITOR_FONT_SMOOTHINGS=o;exports.ICON_COLOR_VARIANTS=g;exports.KEYBOARD_LAYOUT_AUTODETECT=S;exports.QUICK_SUGGESTION_MODES=s;exports.STATUS_RAIL_STYLES=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../defineSettings-DRv1FRbv.cjs"),t=require("../stateDbStore-THFfFGa0.cjs"),n=require("../useSettingsSubscription-vlMrNNH9.cjs"),r=require("../notification-CrxHMXsk.cjs"),i=require("../headerIconOverrides-64lFnqTt.cjs"),o=["auto","antialiased","none"],s=["on","off"],S="autodetect",a=["sshx","sql"],g=["colorful","monochrome"],_=["colorful","normal"],O=!0,T=!0;exports.clearPluginConfigDefaults=e.clearPluginConfigDefaults;exports.defineSettings=e.defineSettings;exports.defineSettingsValue=e.defineSettingsValue;exports.deriveDefault=e.deriveDefault;exports.deriveNormalize=e.deriveNormalize;exports.deriveNormalizePartial=e.deriveNormalizePartial;exports.getContributedGroupDefault=e.getContributedGroupDefault;exports.getGroupByKey=e.getGroupByKey;exports.getRegisteredSettingsGroups=e.getRegisteredSettingsGroups;exports.hydrateRegisteredSettings=e.hydrateRegisteredSettings;exports.normalizeField=e.normalizeField;exports.onAnySettingsChange=e.onAnySettingsChange;exports.resetPluginConfigDefaultsForTest=e.resetPluginConfigDefaultsForTest;exports.resetSettingsGroupForTest=e.resetSettingsGroupForTest;exports.resolveLayers=e.resolveLayers;exports.scopeAllowsLayer=e.scopeAllowsLayer;exports.setPluginConfigDefaults=e.setPluginConfigDefaults;exports.subscribePluginConfigDefaults=e.subscribePluginConfigDefaults;exports.SCOPE_MAP=t.SCOPE_MAP;exports.StorageScope=t.StorageScope;exports.StorageTarget=t.StorageTarget;exports.configureSettingsBackend=t.configureSettingsBackend;exports.stateDbStore=t.stateDbStore;exports.useSettingsSubscription=n.useSettingsSubscription;exports.DEFAULT_NOTIFICATION_SETTINGS=r.DEFAULT_NOTIFICATION_SETTINGS;exports.MAX_LONG_RUNNING_THRESHOLD_MS=r.MAX_LONG_RUNNING_THRESHOLD_MS;exports.MIN_LONG_RUNNING_THRESHOLD_MS=r.MIN_LONG_RUNNING_THRESHOLD_MS;exports.notificationSettings=r.notificationSettings;exports.parseLongRunningThresholdMs=r.parseLongRunningThresholdMs;exports.clearHeaderIconOverride=i.clearHeaderIconOverride;exports.getHeaderIconOverride=i.getHeaderIconOverride;exports.getHeaderIconOverrides=i.getHeaderIconOverrides;exports.headerIconOverridesSettings=i.headerIconOverridesSettings;exports.setHeaderIconOverride=i.setHeaderIconOverride;exports.DATABASE_EXPLORER_SHOW_ADMIN_BADGES_DEFAULT=T;exports.DATABASE_EXPLORER_SHOW_ALL_DATABASES_DEFAULT=O;exports.DETACHED_EDITOR_TOOLBAR_SCOPES=a;exports.EDITOR_FONT_SMOOTHINGS=o;exports.ICON_COLOR_VARIANTS=g;exports.KEYBOARD_LAYOUT_AUTODETECT=S;exports.QUICK_SUGGESTION_MODES=s;exports.STATUS_RAIL_STYLES=_;
@@ -1,8 +1,8 @@
1
- import { c as _, d as O, a as T, b as l, e as c, f as A, g as u, h as E, i as d, j as D, n as f, o as I, r as N, k as L, l as R, s as p, m as C, p as G } from "../defineSettings-C1g7a15Z.js";
1
+ import { c as _, d as O, a as T, b as l, e as c, f as A, g as u, h as E, i as d, j as D, n as f, o as I, r as N, k as L, l as R, s as p, m as C, p as G } from "../defineSettings-By5ell8e.js";
2
2
  import { b as H, S as M, a as P, c as U, s as h } from "../stateDbStore-Ds3zJ4cd.js";
3
3
  import { u as B } from "../useSettingsSubscription-cu943hND.js";
4
- import { D as b, M as x, a as y, n as z, p as K } from "../notification-Bepj_MAz.js";
5
- import { c as Y, g as k, a as V, h as W, s as j } from "../headerIconOverrides-BNiSWfFJ.js";
4
+ import { D as b, M as x, a as y, n as z, p as K } from "../notification-DFbp3S_f.js";
5
+ import { c as Y, g as k, a as V, h as W, s as j } from "../headerIconOverrides-BCzeaBA1.js";
6
6
  const e = ["auto", "antialiased", "none"], s = ["on", "off"], a = "autodetect", t = ["sshx", "sql"], o = ["colorful", "monochrome"], r = ["colorful", "normal"], n = !0, i = !0;
7
7
  export {
8
8
  i as DATABASE_EXPLORER_SHOW_ADMIN_BADGES_DEFAULT,
@@ -1 +1 @@
1
- "use strict";const S=require("solid-js"),m=require("./i18n-JhoYAx5N.cjs"),H=require("./notificationSuppressions-JKZaCrMN.cjs"),P=require("./visibleBrowserRegistry-CZFCFSo_.cjs"),Q="SCHEMA",[F,J]=S.createSignal(null);function K(c){J(()=>c)}const M=2,U=200,W=40;function N(c,u){const e=c.toLowerCase(),a=u.toLowerCase();return e===a?9:e.startsWith(a)?7:e.includes(a)?5:0}function Y(c){const[u,e]=S.createSignal([]),[a,r]=S.createSignal(!1),[d,i]=S.createSignal(null),o=S.useContext(P.WorkspaceTabsContext),h=()=>F(),B=()=>{if(!(o!=null&&o.activeWorkspaceTabId)||!o.workspaceTabs)return null;const n=o.activeWorkspaceTabId();return o.workspaceTabs().find(b=>b.id===n)??null},k=()=>{var n,b,C;return((b=(n=h())==null?void 0:n.getWorkspaceId)==null?void 0:b.call(n))??((C=B())==null?void 0:C.workspaceId)??null},R=()=>{var n;return!!((n=h())!=null&&n.getWorkspaceId||o!=null&&o.workspaceTabs)},L=()=>{var n;return!!((n=h())!=null&&n.hasActiveWorkspace())&&(!R()||!!k())},_=()=>{var n;return((n=h())==null?void 0:n.getSelectedSchema())??""};let j=0,y;const $=()=>{y!==void 0&&(clearTimeout(y),y=void 0)};return S.onCleanup(()=>{$(),j+=1}),S.createRenderEffect(()=>{const n=c.enabled(),b=c.query().trim();$();const C=++j;if(!n||!L()){e([]),r(!1),i(null);return}const t=h(),l=(t==null?void 0:t.getSelectedSchema())??"",v=k(),E=(t==null?void 0:t.getSchemas())??[],I=l?[l]:E,T=()=>k()===v&&h()===t&&!!(t!=null&&t.hasActiveWorkspace())&&(t==null?void 0:t.getSelectedSchema())===l,O=()=>C===j&&T()&&c.enabled();if(b.length<M){if(i(null),r(!1),l&&t){const p=t.getCachedObjectsForSchema(l);if(p&&p.length>0){const g=p.slice(0,10).map(f=>({id:`db:${l}:${f.objectType}:${f.objectName}`,kind:"database-object",title:f.objectName,description:`${f.objectType} · ${l}`,detail:l,category:m.t("Database"),objectType:f.objectType,schema:l,enabled:!0,score:1,run:()=>{T()&&t.openObject(l,f)}}));e(g);return}}e([]);return}if(e([]),I.length===0){r(!1),i(null);return}r(!0),i(null),y=setTimeout(async()=>{if(O())try{let p=[];if(v&&(t!=null&&t.searchObjects))p=[...await t.searchObjects(v,b,{limit:W,schemas:I})];else if(t&&l){let s=t.getCachedObjectsForSchema(l);if(s||(s=await t.loadObjectsForSchema(l)),s){const x=b.toLowerCase();p=s.filter(w=>w.objectName.toLowerCase().includes(x)).slice(0,W).map(w=>({owner:l,objectType:w.objectType,objectName:w.objectName,status:w.status}))}}if(!O())return;const g=b.toLowerCase(),f=E.filter(s=>s.toLowerCase().includes(g)).slice(0,3).map(s=>({id:`db:schema:${s}`,kind:"database-object",title:s,description:`${m.t("Schema")} · ${s}`,detail:m.t("Schema"),category:m.t("Database"),objectType:Q,schema:s,enabled:!0,score:N(s,b)+1,run:()=>{T()&&(t==null||t.navigateToSchema(s))}})),q=p.filter(s=>I.includes(s.owner)).map(s=>({id:`db:${s.owner}:${s.objectType}:${s.objectName}`,kind:"database-object",title:s.objectName,description:`${s.objectType} · ${s.owner}`,detail:s.owner,category:m.t("Database"),objectType:s.objectType,schema:s.owner,enabled:!0,score:N(s.objectName,b),run:()=>{T()&&(t==null||t.openObject(s.owner,s))},rawDbObject:s}));e([...f,...q]),r(!1)}catch(p){if(!O())return;const g=H.errorText(p,m.t("Failed to search database objects"));i(g),r(!1)}},U)}),{items:u,loading:a,error:d,hasWorkspaceContext:L,activeSchema:_}}let A=null;function z(c){A=c}function G(c,u){const e=u.toLowerCase();return(c.labels??[]).some(a=>m.labelText(a).toLowerCase().includes(e))}function V(c,u,e){const a=u.toLowerCase(),r=c.label.toLowerCase();if(r===a)return 8;if(r.startsWith(a))return 7;if(r.includes(a))return 6;const d=a.split(/\s+/).filter(Boolean);return d.length>1&&d.every(h=>r.includes(h))?5:c.categoryId.toLowerCase().includes(a)?4:(c.keywords??[]).some(h=>h.toLowerCase().includes(a))?3:(e.matches??G)(c,u)?2:0}function D(c,u,e){var r,d;const a=((r=e.breadcrumb)==null?void 0:r.call(e,c.categoryId))??"";return{id:`setting:${c.id}`,kind:"setting",title:((d=e.title)==null?void 0:d.call(e,c))??c.label,description:a||m.t("Settings"),category:m.t("Settings"),enabled:!0,score:u,run:()=>{e.open(c)},rawSetting:c}}function X(c,u=20){const e=A;if(!e)return[];const a=c.trim(),r=e.items();if(!a)return(e.popular?e.popular(r):r).slice(0,u).map(o=>D(o,1,e));const d=[];for(const i of r){const o=V(i,a,e);o>0&&d.push({item:i,score:o})}return d.sort((i,o)=>o.score-i.score),d.slice(0,u).map(({item:i,score:o})=>D(i,o,e))}exports.createDatabaseObjectSearch=Y;exports.searchSettings=X;exports.setDatabaseObjectSearchProvider=K;exports.setSettingsSearchSource=z;
1
+ "use strict";const S=require("solid-js"),m=require("./i18n-DZZyw7Iu.cjs"),H=require("./notificationSuppressions-D7FZmJy8.cjs"),P=require("./visibleBrowserRegistry-BTfWUlI1.cjs"),Q="SCHEMA",[F,J]=S.createSignal(null);function K(c){J(()=>c)}const M=2,U=200,W=40;function N(c,u){const e=c.toLowerCase(),a=u.toLowerCase();return e===a?9:e.startsWith(a)?7:e.includes(a)?5:0}function Y(c){const[u,e]=S.createSignal([]),[a,r]=S.createSignal(!1),[d,i]=S.createSignal(null),o=S.useContext(P.WorkspaceTabsContext),h=()=>F(),B=()=>{if(!(o!=null&&o.activeWorkspaceTabId)||!o.workspaceTabs)return null;const n=o.activeWorkspaceTabId();return o.workspaceTabs().find(b=>b.id===n)??null},k=()=>{var n,b,C;return((b=(n=h())==null?void 0:n.getWorkspaceId)==null?void 0:b.call(n))??((C=B())==null?void 0:C.workspaceId)??null},R=()=>{var n;return!!((n=h())!=null&&n.getWorkspaceId||o!=null&&o.workspaceTabs)},L=()=>{var n;return!!((n=h())!=null&&n.hasActiveWorkspace())&&(!R()||!!k())},_=()=>{var n;return((n=h())==null?void 0:n.getSelectedSchema())??""};let j=0,y;const $=()=>{y!==void 0&&(clearTimeout(y),y=void 0)};return S.onCleanup(()=>{$(),j+=1}),S.createRenderEffect(()=>{const n=c.enabled(),b=c.query().trim();$();const C=++j;if(!n||!L()){e([]),r(!1),i(null);return}const t=h(),l=(t==null?void 0:t.getSelectedSchema())??"",v=k(),E=(t==null?void 0:t.getSchemas())??[],I=l?[l]:E,T=()=>k()===v&&h()===t&&!!(t!=null&&t.hasActiveWorkspace())&&(t==null?void 0:t.getSelectedSchema())===l,O=()=>C===j&&T()&&c.enabled();if(b.length<M){if(i(null),r(!1),l&&t){const p=t.getCachedObjectsForSchema(l);if(p&&p.length>0){const g=p.slice(0,10).map(f=>({id:`db:${l}:${f.objectType}:${f.objectName}`,kind:"database-object",title:f.objectName,description:`${f.objectType} · ${l}`,detail:l,category:m.t("Database"),objectType:f.objectType,schema:l,enabled:!0,score:1,run:()=>{T()&&t.openObject(l,f)}}));e(g);return}}e([]);return}if(e([]),I.length===0){r(!1),i(null);return}r(!0),i(null),y=setTimeout(async()=>{if(O())try{let p=[];if(v&&(t!=null&&t.searchObjects))p=[...await t.searchObjects(v,b,{limit:W,schemas:I})];else if(t&&l){let s=t.getCachedObjectsForSchema(l);if(s||(s=await t.loadObjectsForSchema(l)),s){const x=b.toLowerCase();p=s.filter(w=>w.objectName.toLowerCase().includes(x)).slice(0,W).map(w=>({owner:l,objectType:w.objectType,objectName:w.objectName,status:w.status}))}}if(!O())return;const g=b.toLowerCase(),f=E.filter(s=>s.toLowerCase().includes(g)).slice(0,3).map(s=>({id:`db:schema:${s}`,kind:"database-object",title:s,description:`${m.t("Schema")} · ${s}`,detail:m.t("Schema"),category:m.t("Database"),objectType:Q,schema:s,enabled:!0,score:N(s,b)+1,run:()=>{T()&&(t==null||t.navigateToSchema(s))}})),q=p.filter(s=>I.includes(s.owner)).map(s=>({id:`db:${s.owner}:${s.objectType}:${s.objectName}`,kind:"database-object",title:s.objectName,description:`${s.objectType} · ${s.owner}`,detail:s.owner,category:m.t("Database"),objectType:s.objectType,schema:s.owner,enabled:!0,score:N(s.objectName,b),run:()=>{T()&&(t==null||t.openObject(s.owner,s))},rawDbObject:s}));e([...f,...q]),r(!1)}catch(p){if(!O())return;const g=H.errorText(p,m.t("Failed to search database objects"));i(g),r(!1)}},U)}),{items:u,loading:a,error:d,hasWorkspaceContext:L,activeSchema:_}}let A=null;function z(c){A=c}function G(c,u){const e=u.toLowerCase();return(c.labels??[]).some(a=>m.labelText(a).toLowerCase().includes(e))}function V(c,u,e){const a=u.toLowerCase(),r=c.label.toLowerCase();if(r===a)return 8;if(r.startsWith(a))return 7;if(r.includes(a))return 6;const d=a.split(/\s+/).filter(Boolean);return d.length>1&&d.every(h=>r.includes(h))?5:c.categoryId.toLowerCase().includes(a)?4:(c.keywords??[]).some(h=>h.toLowerCase().includes(a))?3:(e.matches??G)(c,u)?2:0}function D(c,u,e){var r,d;const a=((r=e.breadcrumb)==null?void 0:r.call(e,c.categoryId))??"";return{id:`setting:${c.id}`,kind:"setting",title:((d=e.title)==null?void 0:d.call(e,c))??c.label,description:a||m.t("Settings"),category:m.t("Settings"),enabled:!0,score:u,run:()=>{e.open(c)},rawSetting:c}}function X(c,u=20){const e=A;if(!e)return[];const a=c.trim(),r=e.items();if(!a)return(e.popular?e.popular(r):r).slice(0,u).map(o=>D(o,1,e));const d=[];for(const i of r){const o=V(i,a,e);o>0&&d.push({item:i,score:o})}return d.sort((i,o)=>o.score-i.score),d.slice(0,u).map(({item:i,score:o})=>D(i,o,e))}exports.createDatabaseObjectSearch=Y;exports.searchSettings=X;exports.setDatabaseObjectSearchProvider=K;exports.setSettingsSearchSource=z;
@@ -1,7 +1,7 @@
1
1
  import { createSignal as T, useContext as Q, onCleanup as F, createRenderEffect as P } from "solid-js";
2
- import { t as f, l as q } from "./i18n-BN4NEmw6.js";
3
- import { z as K } from "./notificationSuppressions-FPh4wkRy.js";
4
- import { W as M } from "./visibleBrowserRegistry-DOZlLrpo.js";
2
+ import { t as f, l as q } from "./i18n-B_XRSWWN.js";
3
+ import { z as K } from "./notificationSuppressions-DkrUMXHx.js";
4
+ import { W as M } from "./visibleBrowserRegistry-Dw2Y4y_I.js";
5
5
  const z = "SCHEMA", [J, U] = T(null);
6
6
  function ce(c) {
7
7
  U(() => c);
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../descriptor-CRBceC5O.cjs");exports.DEFAULT_TREE_CAPABILITIES=e.DEFAULT_TREE_CAPABILITIES;exports.TREE_INDENT_STEP_REM=e.TREE_INDENT_STEP_REM;exports.TreeHighlight=e.TreeHighlight;exports.TreeRow=e.TreeRow;exports.TreeSurface=e.TreeSurface;exports.buildTreeContainerAria=e.buildTreeContainerAria;exports.buildTreeRowAria=e.buildTreeRowAria;exports.createTreeController=e.createTreeController;exports.createTreeSurface=e.createTreeSurface;exports.treeRowDomId=e.treeRowDomId;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../descriptor-BXVyZiT7.cjs");exports.DEFAULT_TREE_CAPABILITIES=e.DEFAULT_TREE_CAPABILITIES;exports.TREE_INDENT_STEP_REM=e.TREE_INDENT_STEP_REM;exports.TreeHighlight=e.TreeHighlight;exports.TreeRow=e.TreeRow;exports.TreeSurface=e.TreeSurface;exports.buildTreeContainerAria=e.buildTreeContainerAria;exports.buildTreeRowAria=e.buildTreeRowAria;exports.createTreeController=e.createTreeController;exports.createTreeSurface=e.createTreeSurface;exports.selectAllInScope=e.selectAllInScope;exports.treeRowDomId=e.treeRowDomId;
@@ -1,13 +1,14 @@
1
- import { D as a, T, a as s, b as o, c as E, d as t, e as i, f as R, g as c, t as l } from "../descriptor-lk-Bhef_.js";
1
+ import { D as r, T, a as s, b as o, c as t, d as E, e as l, f as c, g as i, s as A, t as I } from "../descriptor-CqLXoy2i.js";
2
2
  export {
3
- a as DEFAULT_TREE_CAPABILITIES,
3
+ r as DEFAULT_TREE_CAPABILITIES,
4
4
  T as TREE_INDENT_STEP_REM,
5
5
  s as TreeHighlight,
6
6
  o as TreeRow,
7
- E as TreeSurface,
8
- t as buildTreeContainerAria,
9
- i as buildTreeRowAria,
10
- R as createTreeController,
11
- c as createTreeSurface,
12
- l as treeRowDomId
7
+ t as TreeSurface,
8
+ E as buildTreeContainerAria,
9
+ l as buildTreeRowAria,
10
+ c as createTreeController,
11
+ i as createTreeSurface,
12
+ A as selectAllInScope,
13
+ I as treeRowDomId
13
14
  };
@@ -0,0 +1,61 @@
1
+ import { a as i, c as l, F as a } from "./builtins-XOM9gfIx.js";
2
+ import { onCleanup as o } from "solid-js";
3
+ const u = /* @__PURE__ */ new WeakMap();
4
+ function f(e) {
5
+ const n = i();
6
+ if (!n) return;
7
+ const { registry: c } = e, t = {
8
+ ...e.verbs,
9
+ isActive: () => u.get(c) === t
10
+ }, s = c.set(t);
11
+ return o(() => {
12
+ s(), u.get(c) === t && u.delete(c);
13
+ }), l({
14
+ contextKeys: n.contextKeys,
15
+ key: e.key,
16
+ containerRef: e.container,
17
+ ...e.countsAsFocus ? { countsAsFocus: e.countsAsFocus } : {},
18
+ onFocusIn: () => {
19
+ var r;
20
+ u.set(c, t), (r = e.onFocusIn) == null || r.call(e);
21
+ }
22
+ }), t;
23
+ }
24
+ function y() {
25
+ const e = [];
26
+ return {
27
+ set: (t) => (e.push(t), () => {
28
+ const s = e.lastIndexOf(t);
29
+ s !== -1 && e.splice(s, 1);
30
+ }),
31
+ current: () => e.length > 0 ? e[e.length - 1] ?? null : null,
32
+ find: (t) => {
33
+ for (let s = e.length - 1; s >= 0; s -= 1) {
34
+ const r = e[s];
35
+ if (r !== void 0 && t(r)) return r;
36
+ }
37
+ return null;
38
+ }
39
+ };
40
+ }
41
+ const d = y();
42
+ function m(e) {
43
+ const n = i();
44
+ n && (f({
45
+ key: a.listFocus,
46
+ registry: d,
47
+ container: e.container,
48
+ verbs: e.verbs
49
+ }), l({
50
+ contextKeys: n.contextKeys,
51
+ key: a.listSupportsMultiselect,
52
+ containerRef: e.container,
53
+ countsAsFocus: () => e.supportsMultiselect()
54
+ }));
55
+ }
56
+ export {
57
+ m as a,
58
+ y as c,
59
+ d as l,
60
+ f as u
61
+ };
@@ -0,0 +1 @@
1
+ "use strict";const u=require("./builtins-DM7FDxEt.cjs"),d=require("solid-js"),i=new WeakMap;function l(e){const n=u.useKeybindingsOptional();if(!n)return;const{registry:c}=e,s={...e.verbs,isActive:()=>i.get(c)===s},t=c.set(s);return d.onCleanup(()=>{t(),i.get(c)===s&&i.delete(c)}),u.createFocusContextKey({contextKeys:n.contextKeys,key:e.key,containerRef:e.container,...e.countsAsFocus?{countsAsFocus:e.countsAsFocus}:{},onFocusIn:()=>{var r;i.set(c,s),(r=e.onFocusIn)==null||r.call(e)}}),s}function o(){const e=[];return{set:s=>(e.push(s),()=>{const t=e.lastIndexOf(s);t!==-1&&e.splice(t,1)}),current:()=>e.length>0?e[e.length-1]??null:null,find:s=>{for(let t=e.length-1;t>=0;t-=1){const r=e[t];if(r!==void 0&&s(r))return r}return null}}}const a=o();function y(e){const n=u.useKeybindingsOptional();n&&(l({key:u.FOCUS_CONTEXT_KEYS.listFocus,registry:a,container:e.container,verbs:e.verbs}),u.createFocusContextKey({contextKeys:n.contextKeys,key:u.FOCUS_CONTEXT_KEYS.listSupportsMultiselect,containerRef:e.container,countsAsFocus:()=>e.supportsMultiselect()}))}exports.createPanelCommandRegistry=o;exports.listHandlers=a;exports.useFocusClaim=l;exports.useListCommands=y;
@@ -0,0 +1 @@
1
+ "use strict";const c=require("solid-js"),d=require("./bugIndicatingError-D2X5Hfgg.cjs"),g=c.createContext();function p(){const e=c.useContext(g);if(!e)throw new d.BugIndicatingError("useWorkspaceTabs: missing provider");return e}const[k,x]=c.createSignal(void 0);let a=null;function V(e){a=e}function C(e){x(e),a==null||a(e)}const f=c.createContext();function T(){return c.useContext(f)}const u=new WeakMap;function w(e){let t=u.get(e);if(!t){const[r,s]=c.createSignal([]);t={entries:new Map,activeBrowsers:r,setActiveBrowsers:s},u.set(e,t)}return t}function W(e,t,r,s,i,l=0){if(!e)return;const n=w(e);if(s&&r.width>0&&r.height>0){const o=n.entries.get(t);if(o&&o.generation>l)return;n.entries.set(t,{tabId:t,bounds:{...r},lease:i,generation:l})}else{const o=n.entries.get(t);if(o&&(!i||o.lease===i)){if(o.generation>l)return;n.entries.delete(t)}}n.setActiveBrowsers(Array.from(n.entries.values()))}function b(e,t,r){if(!e)return;const s=u.get(e);if(!s)return;const i=s.entries.get(t);i&&(!r||i.lease===r)&&(s.entries.delete(t),s.setActiveBrowsers(Array.from(s.entries.values())))}function B(e){return e?w(e).activeBrowsers():[]}function v(e){return B(e).length>0}function S(e){if(e){const t=u.get(e);t&&(t.entries.clear(),t.setActiveBrowsers([]))}}exports.ToolWindowContext=f;exports.WorkspaceTabsContext=g;exports.clearVisibleBrowsersForTesting=S;exports.getVisibleBrowsers=B;exports.hasVisibleBrowser=v;exports.openSettingsModal=C;exports.registerVisibleBrowser=W;exports.setOpenSettingsHandler=V;exports.unregisterVisibleBrowser=b;exports.useToolWindowLayout=T;exports.useWorkspaceTabs=p;