@piwitests/server 0.15.0 → 0.17.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 (479) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{DCCMLWel.js → -9tk1FrT.js} +1 -1
  3. package/.output/public/_nuxt/26ll_vBr.js +1 -0
  4. package/.output/public/_nuxt/{BpepjHwc.js → 3QTorEhJ.js} +1 -1
  5. package/.output/public/_nuxt/{DKTDub7I.js → 3QTvYrZp.js} +1 -1
  6. package/.output/public/_nuxt/{CHSkT2s0.js → 73aPL7Ir.js} +1 -1
  7. package/.output/public/_nuxt/8jZmK2De.js +4 -0
  8. package/.output/public/_nuxt/8xyZSRSO.js +1 -0
  9. package/.output/public/_nuxt/{V1BQiRoh.js → 99tAfVF5.js} +1 -1
  10. package/.output/public/_nuxt/{BY0AkhJh.js → B1CUXGbl.js} +1 -1
  11. package/.output/public/_nuxt/B6hPf4UR.js +1 -0
  12. package/.output/public/_nuxt/{F07TcX0U.js → B6w76fJT.js} +1 -1
  13. package/.output/public/_nuxt/{B32-7cBF.js → BDcIWTTq.js} +1 -1
  14. package/.output/public/_nuxt/{OG2n3p77.js → BE8ykmwr.js} +1 -1
  15. package/.output/public/_nuxt/{rvaZFYoE.js → BEsJE07U.js} +1 -1
  16. package/.output/public/_nuxt/{DQpa8F03.js → BGZQONfm.js} +1 -1
  17. package/.output/public/_nuxt/{DZoSxwj6.js → BRdhP5lm.js} +1 -1
  18. package/.output/public/_nuxt/{n7Htv9PJ.js → BU6xjw05.js} +1 -1
  19. package/.output/public/_nuxt/{DvdOsTLb.js → BWFY2RuU.js} +1 -1
  20. package/.output/public/_nuxt/{60-Zii7v.js → B_QIrc7l.js} +1 -1
  21. package/.output/public/_nuxt/{CrFCPOnY.js → Ba4_ydKG.js} +1 -1
  22. package/.output/public/_nuxt/{BfshMo9k.js → BcLXUmKT.js} +2 -2
  23. package/.output/public/_nuxt/{CD-xwM9N.js → BciovqwK.js} +1 -1
  24. package/.output/public/_nuxt/{i38YGG9S.js → BgDEjrcz.js} +1 -1
  25. package/.output/public/_nuxt/{rWwWS3Kj.js → BoRJdCd4.js} +1 -1
  26. package/.output/public/_nuxt/{O1A-LRgV.js → Bpha13F_.js} +1 -1
  27. package/.output/public/_nuxt/{2PU-adwy.js → Bq0PQfQY.js} +1 -1
  28. package/.output/public/_nuxt/{B8fs6GU9.js → BrT_Sys2.js} +31 -31
  29. package/.output/public/_nuxt/{ETOCcsVw.js → Bua_L6p4.js} +1 -1
  30. package/.output/public/_nuxt/{nUsJV5qo.js → BwKwWgQe.js} +1 -1
  31. package/.output/public/_nuxt/{4fB15L_7.js → BxRsAYRS.js} +1 -1
  32. package/.output/public/_nuxt/{DVdOm5Bg.js → ByoIgYX_.js} +1 -1
  33. package/.output/public/_nuxt/{Bq2ZPvIH.js → C7nwFokE.js} +1 -1
  34. package/.output/public/_nuxt/CEuVRSr0.js +3 -0
  35. package/.output/public/_nuxt/{CokbKVE6.js → CHHqhAsw.js} +1 -1
  36. package/.output/public/_nuxt/{BBJ9Pu3M.js → CHIbdzqp.js} +1 -1
  37. package/.output/public/_nuxt/{C9jjVEQU.js → CMB-NkFa.js} +1 -1
  38. package/.output/public/_nuxt/{CU-OXXdh.js → CNULGfLp.js} +1 -1
  39. package/.output/public/_nuxt/{Surk4Lw-.js → COVRAesU.js} +1 -1
  40. package/.output/public/_nuxt/{h-e-Ca3f.js → CSAmL8XJ.js} +1 -1
  41. package/.output/public/_nuxt/{CHgsEM4U.js → CWmQcueG.js} +1 -1
  42. package/.output/public/_nuxt/{BgR7oL4p.js → CYuWAvXE.js} +1 -1
  43. package/.output/public/_nuxt/CbuWynGG.js +1 -0
  44. package/.output/public/_nuxt/{CIOQo6gB.js → Ce3tBrN7.js} +1 -1
  45. package/.output/public/_nuxt/{DNP5tTJo.js → Cf4h8qty.js} +1 -1
  46. package/.output/public/_nuxt/{B9Q_4Mjt.js → Cl96oI21.js} +1 -1
  47. package/.output/public/_nuxt/{PPFO8UVt.js → ClJkng9p.js} +1 -1
  48. package/.output/public/_nuxt/{B32ySRXg.js → CoKEjZX7.js} +1 -1
  49. package/.output/public/_nuxt/CvtYJHkY.js +1 -0
  50. package/.output/public/_nuxt/{BCK4f6Y3.js → CxLN5Tmq.js} +1 -1
  51. package/.output/public/_nuxt/{ChWPXucC.js → Cz2HhsB6.js} +1 -1
  52. package/.output/public/_nuxt/{B_80i5Ge.js → D0-HTQTD.js} +1 -1
  53. package/.output/public/_nuxt/{CHMpVLqo.js → D13ybpY3.js} +1 -1
  54. package/.output/public/_nuxt/{CvCF77E-.js → D7P0ML0H.js} +2 -2
  55. package/.output/public/_nuxt/{BW1UOxWn.js → D811X8KM.js} +1 -1
  56. package/.output/public/_nuxt/DATh_1DQ.js +1 -0
  57. package/.output/public/_nuxt/{BEKwVcvQ.js → DAeYmPfX.js} +1 -1
  58. package/.output/public/_nuxt/DCffDvxl.js +1 -0
  59. package/.output/public/_nuxt/DDPptydi.js +2 -0
  60. package/.output/public/_nuxt/{DkFbpSsi.js → DFM2jv9I.js} +1 -1
  61. package/.output/public/_nuxt/{D4nLD93c.js → DJHNEqb7.js} +1 -1
  62. package/.output/public/_nuxt/{DaKVSp-6.js → DPSOtRoz.js} +1 -1
  63. package/.output/public/_nuxt/{DYDGGqZ3.js → DRTxhZBV.js} +1 -1
  64. package/.output/public/_nuxt/{Cgr8IKY4.js → DS9yGVFL.js} +1 -1
  65. package/.output/public/_nuxt/{Cfk2_UCm.js → DT5rhzhJ.js} +1 -1
  66. package/.output/public/_nuxt/{DFw8I2FL.js → DTH2lteW.js} +1 -1
  67. package/.output/public/_nuxt/DUe6xuKQ.js +1 -0
  68. package/.output/public/_nuxt/D_A6axXa.js +1 -0
  69. package/.output/public/_nuxt/D_TbJDHY.js +1 -0
  70. package/.output/public/_nuxt/{B59-l1Cv.js → Df3QtbpW.js} +1 -1
  71. package/.output/public/_nuxt/{BkhdAGx0.js → DjRhouSr.js} +1 -1
  72. package/.output/public/_nuxt/Dn6cGVYB.js +1 -0
  73. package/.output/public/_nuxt/{0KrkW531.js → DpJrGwCr.js} +2 -2
  74. package/.output/public/_nuxt/DqsMiUoW.js +2 -0
  75. package/.output/public/_nuxt/{C7RarFGi.js → Ds2Y3oms.js} +1 -1
  76. package/.output/public/_nuxt/Ds4Lb1vi.js +7 -0
  77. package/.output/public/_nuxt/{DWzdeQ3Z.js → DtXREpk_.js} +1 -1
  78. package/.output/public/_nuxt/{Dejf0f7D.js → DvC5Adg1.js} +3 -3
  79. package/.output/public/_nuxt/{o5WQ5Z7k.js → DvXvJzFP.js} +1 -1
  80. package/.output/public/_nuxt/{DAeYEeCC.js → Dvc1aWpA.js} +1 -1
  81. package/.output/public/_nuxt/{DzbOHjZH.js → DwZiG9xH.js} +1 -1
  82. package/.output/public/_nuxt/Dx1oCMgy.js +47 -0
  83. package/.output/public/_nuxt/{BGsuOpiq.js → DxQq_L07.js} +1 -1
  84. package/.output/public/_nuxt/{CqA3gM8h.js → Dym66h3p.js} +1 -1
  85. package/.output/public/_nuxt/{CNzoIhwN.js → Dz3Wbekz.js} +1 -1
  86. package/.output/public/_nuxt/HCK35QD8.js +1 -0
  87. package/.output/public/_nuxt/{Cpquifvd.js → L6HlmmEa.js} +1 -1
  88. package/.output/public/_nuxt/{BMQIO38j.js → PxPbRVF-.js} +1 -1
  89. package/.output/public/_nuxt/{DiUGa0CT.js → QFMx1VKs.js} +1 -1
  90. package/.output/public/_nuxt/{DHVmXA9K.js → Sgf5OLhm.js} +1 -1
  91. package/.output/public/_nuxt/US3YSX4T.js +1 -0
  92. package/.output/public/_nuxt/{DZLrAp2i.js → Wfk1m0ni.js} +1 -1
  93. package/.output/public/_nuxt/builds/latest.json +1 -1
  94. package/.output/public/_nuxt/builds/meta/05a2dd95-d1c1-4e3a-8625-ac6bfea83837.json +1 -0
  95. package/.output/public/_nuxt/{too3WhRB.js → cBj9fai9.js} +1 -1
  96. package/.output/public/_nuxt/{DxXZN6ed.js → csqspBeX.js} +1 -1
  97. package/.output/public/_nuxt/entry.BaIGwMjT.css +1 -0
  98. package/.output/public/_nuxt/{__m3KqHO.js → jlBi8Byu.js} +1 -1
  99. package/.output/public/_nuxt/{Dv2B_nw_.js → lCkcEykv.js} +1 -1
  100. package/.output/public/_nuxt/qYFZH4Z8.js +34 -0
  101. package/.output/public/_nuxt/{3SnTawZW.js → r3SBLxtE.js} +1 -1
  102. package/.output/public/_nuxt/{DI_-kFec.js → r9WApUfF.js} +1 -1
  103. package/.output/public/_nuxt/{BC_Wu-fv.js → rw7Hdll3.js} +1 -1
  104. package/.output/public/_nuxt/{IdQR_Djw.js → sMFaPAAR.js} +1 -1
  105. package/.output/public/_nuxt/{CKZn0TUX.js → vzXhOO8R.js} +1 -1
  106. package/.output/public/_nuxt/{CFn3w5jn.js → yZ4LuI9d.js} +1 -1
  107. package/.output/public/_nuxt/{BtJkQ3to.js → z7PmsnBG.js} +1 -1
  108. package/.output/public/_nuxt/{lRMjXqiA.js → za5M7BGh.js} +1 -1
  109. package/.output/public/demo/seed.version.json +2 -2
  110. package/.output/public/sw.js +1 -1
  111. package/.output/server/chunks/_/markers.mjs +1 -1
  112. package/.output/server/chunks/_/users.mjs +1 -1
  113. package/.output/server/chunks/build/{BrowserBadge-BTA4QU_J.mjs → BrowserBadge-DNCp9pF-.mjs} +3 -3
  114. package/.output/server/chunks/build/BrowserBadge-DNCp9pF-.mjs.map +1 -0
  115. package/.output/server/chunks/build/{ChartCard-BqAhMip2.mjs → ChartCard-Fr557IbV.mjs} +2 -2
  116. package/.output/server/chunks/build/ChartCard-Fr557IbV.mjs.map +1 -0
  117. package/.output/server/chunks/build/{Checkbox-_1nGm_DR.mjs → Checkbox-cVOSIY93.mjs} +6 -6
  118. package/.output/server/chunks/build/Checkbox-cVOSIY93.mjs.map +1 -0
  119. package/.output/server/chunks/build/{CiEnvCard-DAufYuJw.mjs → CiEnvCard-DXPOhdSG.mjs} +5 -5
  120. package/.output/server/chunks/build/CiEnvCard-DXPOhdSG.mjs.map +1 -0
  121. package/.output/server/chunks/build/{CodeBlock-BVKHuYjU.mjs → CodeBlock-BGwNmJ8J.mjs} +2 -2
  122. package/.output/server/chunks/build/CodeBlock-BGwNmJ8J.mjs.map +1 -0
  123. package/.output/server/chunks/build/{DashboardNavbar-BR6j4VLd.mjs → DashboardNavbar-Bdp-OwTN.mjs} +2 -2
  124. package/.output/server/chunks/build/DashboardNavbar-Bdp-OwTN.mjs.map +1 -0
  125. package/.output/server/chunks/build/DashboardSidebarToggle-Ji6ADuqF.mjs +1 -1
  126. package/.output/server/chunks/build/DataLocationCard-D6xSOrme.mjs +102 -0
  127. package/.output/server/chunks/build/DataLocationCard-D6xSOrme.mjs.map +1 -0
  128. package/.output/server/chunks/build/DesktopMcpCard-B4JuUTKj.mjs +122 -0
  129. package/.output/server/chunks/build/DesktopMcpCard-B4JuUTKj.mjs.map +1 -0
  130. package/.output/server/chunks/build/{DiagnosisPanel-BnrdXDvd.mjs → DiagnosisPanel-DV1xwGu4.mjs} +6 -6
  131. package/.output/server/chunks/build/DiagnosisPanel-DV1xwGu4.mjs.map +1 -0
  132. package/.output/server/chunks/build/EntityLinks-DeOP13Kr.mjs +1 -1
  133. package/.output/server/chunks/build/{EnvManagedBadge-DdnEtjIl.mjs → EnvManagedBadge-Qpn58Nmr.mjs} +5 -5
  134. package/.output/server/chunks/build/EnvManagedBadge-Qpn58Nmr.mjs.map +1 -0
  135. package/.output/server/chunks/build/{HelpHint-D_GJzMpW.mjs → HelpHint-YEMWtKu1.mjs} +18 -2
  136. package/.output/server/chunks/build/HelpHint-YEMWtKu1.mjs.map +1 -0
  137. package/.output/server/chunks/build/{Modal-COIjm3js.mjs → Modal-CfA78Hm1.mjs} +2 -2
  138. package/.output/server/chunks/build/Modal-CfA78Hm1.mjs.map +1 -0
  139. package/.output/server/chunks/build/{OpenInIdeLink-D97W6On1.mjs → OpenInIdeLink-B92wosXu.mjs} +3 -3
  140. package/.output/server/chunks/build/{OpenInIdeLink-D97W6On1.mjs.map → OpenInIdeLink-B92wosXu.mjs.map} +1 -1
  141. package/.output/server/chunks/build/{PageStateCard-C1HFN4Nv.mjs → PageStateCard-Bwee6JTk.mjs} +10 -10
  142. package/.output/server/chunks/build/{PageStateCard-C1HFN4Nv.mjs.map → PageStateCard-Bwee6JTk.mjs.map} +1 -1
  143. package/.output/server/chunks/build/{ProjectTestCasesTable-XFBPQGIX.mjs → ProjectTestCasesTable-9Ia825h8.mjs} +9 -9
  144. package/.output/server/chunks/build/ProjectTestCasesTable-9Ia825h8.mjs.map +1 -0
  145. package/.output/server/chunks/build/{RunReports-ChNkmuWa.mjs → RunReports-BpJqLHY9.mjs} +2 -2
  146. package/.output/server/chunks/build/RunReports-BpJqLHY9.mjs.map +1 -0
  147. package/.output/server/chunks/build/{RunStatusBadge-CXpuCUGQ.mjs → RunStatusBadge-BhmJ_RKM.mjs} +2 -2
  148. package/.output/server/chunks/build/RunStatusBadge-BhmJ_RKM.mjs.map +1 -0
  149. package/.output/server/chunks/build/{SectionCard-zs9FDzps.mjs → SectionCard-COd9TuDq.mjs} +2 -2
  150. package/.output/server/chunks/build/SectionCard-COd9TuDq.mjs.map +1 -0
  151. package/.output/server/chunks/build/{Select-r3S5nkSY.mjs → Select-ppPz926C.mjs} +5 -4
  152. package/.output/server/chunks/build/Select-ppPz926C.mjs.map +1 -0
  153. package/.output/server/chunks/build/{SelectMenu-Dk6f8i9o.mjs → SelectMenu-799c_Ils.mjs} +4 -4
  154. package/.output/server/chunks/build/{SelectMenu-Dk6f8i9o.mjs.map → SelectMenu-799c_Ils.mjs.map} +1 -1
  155. package/.output/server/chunks/build/{Separator-pqpPG0up.mjs → Separator-CxZdx8kw.mjs} +2 -2
  156. package/.output/server/chunks/build/Separator-CxZdx8kw.mjs.map +1 -0
  157. package/.output/server/chunks/build/{SettingsField-Wdpzlt13.mjs → SettingsField-DDD4oqys.mjs} +5 -5
  158. package/.output/server/chunks/build/SettingsField-DDD4oqys.mjs.map +1 -0
  159. package/.output/server/chunks/build/{Slideover-02XjJjn0.mjs → Slideover-B95Rj237.mjs} +3 -3
  160. package/.output/server/chunks/build/Slideover-B95Rj237.mjs.map +1 -0
  161. package/.output/server/chunks/build/{Switch-gx_JXgCo.mjs → Switch-xQQ3_ME1.mjs} +3 -3
  162. package/.output/server/chunks/build/Switch-xQQ3_ME1.mjs.map +1 -0
  163. package/.output/server/chunks/build/{Table-C64RrBp3.mjs → Table-CPhhVzDv.mjs} +3 -3
  164. package/.output/server/chunks/build/Table-CPhhVzDv.mjs.map +1 -0
  165. package/.output/server/chunks/build/{TestStatusBar--u4VX_Xf.mjs → TestStatusBar-CEzt76wk.mjs} +2 -2
  166. package/.output/server/chunks/build/TestStatusBar-CEzt76wk.mjs.map +1 -0
  167. package/.output/server/chunks/build/{Tooltip-ui_BVvqr.mjs → Tooltip-7vwuDPrZ.mjs} +3 -3
  168. package/.output/server/chunks/build/Tooltip-7vwuDPrZ.mjs.map +1 -0
  169. package/.output/server/chunks/build/{VisuallyHiddenInput-mMsqmkjz.mjs → VisuallyHiddenInput-C9eJVpPW.mjs} +2 -2
  170. package/.output/server/chunks/build/VisuallyHiddenInput-C9eJVpPW.mjs.map +1 -0
  171. package/.output/server/chunks/build/{_id_-R6KGfZOC.mjs → _id_-B2yirIuA.mjs} +259 -85
  172. package/.output/server/chunks/build/_id_-B2yirIuA.mjs.map +1 -0
  173. package/.output/server/chunks/build/{_id_-CFVnSs8B.mjs → _id_-B4V5fop6.mjs} +21 -19
  174. package/.output/server/chunks/build/{_id_-CFVnSs8B.mjs.map → _id_-B4V5fop6.mjs.map} +1 -1
  175. package/.output/server/chunks/build/{_id_-pkxJKe17.mjs → _id_-CE0Gso6i.mjs} +11 -11
  176. package/.output/server/chunks/build/_id_-CE0Gso6i.mjs.map +1 -0
  177. package/.output/server/chunks/build/{_id_-DXJQABO8.mjs → _id_-bWcP2xFl.mjs} +27 -26
  178. package/.output/server/chunks/build/{_id_-DXJQABO8.mjs.map → _id_-bWcP2xFl.mjs.map} +1 -1
  179. package/.output/server/chunks/build/about-TuEZ9n1Q.mjs +625 -0
  180. package/.output/server/chunks/build/about-TuEZ9n1Q.mjs.map +1 -0
  181. package/.output/server/chunks/build/{account-AbLuwiZP.mjs → account-Cn-eZqXM.mjs} +4 -4
  182. package/.output/server/chunks/build/account-Cn-eZqXM.mjs.map +1 -0
  183. package/.output/server/chunks/build/{ai-DR_slopS.mjs → ai-7jdaPOmj.mjs} +19 -18
  184. package/.output/server/chunks/build/ai-7jdaPOmj.mjs.map +1 -0
  185. package/.output/server/chunks/build/{analytics-BbT2-Tr-.mjs → analytics-B276WPeU.mjs} +237 -65
  186. package/.output/server/chunks/build/analytics-B276WPeU.mjs.map +1 -0
  187. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  188. package/.output/server/chunks/build/{db.client-DlA_u5y9.mjs → db.client-aHcD0wyX.mjs} +47 -22
  189. package/.output/server/chunks/build/db.client-aHcD0wyX.mjs.map +1 -0
  190. package/.output/server/chunks/build/{default-D6diRCW0.mjs → default-BSzdkM_L.mjs} +20 -17
  191. package/.output/server/chunks/build/default-BSzdkM_L.mjs.map +1 -0
  192. package/.output/server/chunks/build/{docs-DbYoZafk.mjs → docs-EXhN3sqC.mjs} +7 -6
  193. package/.output/server/chunks/build/{docs-DbYoZafk.mjs.map → docs-EXhN3sqC.mjs.map} +1 -1
  194. package/.output/server/chunks/build/{edit-CNV4xdYj.mjs → edit-C9Z7oZeu.mjs} +10 -9
  195. package/.output/server/chunks/build/edit-C9Z7oZeu.mjs.map +1 -0
  196. package/.output/server/chunks/build/fetch-8kznMtBM.mjs +1 -1
  197. package/.output/server/chunks/build/handleAndDispatchCustomEvent-Bk_AVSSo.mjs +13 -0
  198. package/.output/server/chunks/build/handleAndDispatchCustomEvent-Bk_AVSSo.mjs.map +1 -0
  199. package/.output/server/chunks/build/{help-content-BMumoQQF.mjs → help-content-DmFnuhNu.mjs} +6 -1
  200. package/.output/server/chunks/build/help-content-DmFnuhNu.mjs.map +1 -0
  201. package/.output/server/chunks/build/{index-C3Ou18qD.mjs → index-BK9PTRpd.mjs} +34 -18
  202. package/.output/server/chunks/build/{index-C3Ou18qD.mjs.map → index-BK9PTRpd.mjs.map} +1 -1
  203. package/.output/server/chunks/build/{index-Dw526KXV.mjs → index-BR9hw6qk.mjs} +10 -10
  204. package/.output/server/chunks/build/index-BR9hw6qk.mjs.map +1 -0
  205. package/.output/server/chunks/build/{index-dwYB76GO.mjs → index-Ba-Fifra.mjs} +4 -4
  206. package/.output/server/chunks/build/index-Ba-Fifra.mjs.map +1 -0
  207. package/.output/server/chunks/build/{index-DmHBPf7T.mjs → index-CULN3-en.mjs} +11 -2
  208. package/.output/server/chunks/build/index-CULN3-en.mjs.map +1 -0
  209. package/.output/server/chunks/build/{index-rSHkKNna.mjs → index-DVUtBexc.mjs} +507 -85
  210. package/.output/server/chunks/build/index-DVUtBexc.mjs.map +1 -0
  211. package/.output/server/chunks/build/{isValueEqualOrExist-DTJ5ejZs.mjs → isValueEqualOrExist-DBZjbD_3.mjs} +3 -3
  212. package/.output/server/chunks/build/isValueEqualOrExist-DBZjbD_3.mjs.map +1 -0
  213. package/.output/server/chunks/build/{login-Da5C8jP2.mjs → login-D2XZDuek.mjs} +3 -3
  214. package/.output/server/chunks/build/login-D2XZDuek.mjs.map +1 -0
  215. package/.output/server/chunks/build/{mcp-DM1t-9L_.mjs → mcp-CQ-21rwc.mjs} +138 -31
  216. package/.output/server/chunks/build/mcp-CQ-21rwc.mjs.map +1 -0
  217. package/.output/server/chunks/build/{notifications-BTPF0xA7.mjs → notifications-Dzm9c0u_.mjs} +13 -12
  218. package/.output/server/chunks/build/notifications-Dzm9c0u_.mjs.map +1 -0
  219. package/.output/server/chunks/build/server.mjs +37 -28
  220. package/.output/server/chunks/build/{settings-metadata-CksLgMun.mjs → settings-metadata-B0wo5R-W.mjs} +14 -3
  221. package/.output/server/chunks/build/settings-metadata-B0wo5R-W.mjs.map +1 -0
  222. package/.output/server/chunks/build/{settings-Bmw_JdBS.mjs → settings-pNyPBXVa.mjs} +9 -7
  223. package/.output/server/chunks/build/settings-pNyPBXVa.mjs.map +1 -0
  224. package/.output/server/chunks/build/{storage-BqR4acgi.mjs → storage-XelzuyPy.mjs} +23 -12
  225. package/.output/server/chunks/build/storage-XelzuyPy.mjs.map +1 -0
  226. package/.output/server/chunks/build/{tags-miPAzIr3.mjs → tags-DrCQ7QSw.mjs} +6 -6
  227. package/.output/server/chunks/build/tags-DrCQ7QSw.mjs.map +1 -0
  228. package/.output/server/chunks/build/{test-cases-D-LqhLpk.mjs → test-cases-pmOxi-AN.mjs} +16 -15
  229. package/.output/server/chunks/build/test-cases-pmOxi-AN.mjs.map +1 -0
  230. package/.output/server/chunks/build/timeout-hygiene-CNs71Iah.mjs +318 -0
  231. package/.output/server/chunks/build/timeout-hygiene-CNs71Iah.mjs.map +1 -0
  232. package/.output/server/chunks/build/{useAiStatus-FwqbA4gz.mjs → useAiStatus-ZO987RY7.mjs} +8 -7
  233. package/.output/server/chunks/build/useAiStatus-ZO987RY7.mjs.map +1 -0
  234. package/.output/server/chunks/build/useFormControl-BLpq1s4O.mjs +9 -0
  235. package/.output/server/chunks/build/useFormControl-BLpq1s4O.mjs.map +1 -0
  236. package/.output/server/chunks/build/useIsDesktop-BS13spVj.mjs +9 -0
  237. package/.output/server/chunks/build/useIsDesktop-BS13spVj.mjs.map +1 -0
  238. package/.output/server/chunks/build/{useSettingsNav-v_dFuTw9.mjs → useSettingsNav-NjI2seBy.mjs} +9 -7
  239. package/.output/server/chunks/build/useSettingsNav-NjI2seBy.mjs.map +1 -0
  240. package/.output/server/chunks/build/{users-D-GDKZmZ.mjs → users-NmAUZs3i.mjs} +6 -6
  241. package/.output/server/chunks/build/users-NmAUZs3i.mjs.map +1 -0
  242. package/.output/server/chunks/build/{virtualizer-BcC1XuFf.mjs → virtualizer-ZaqK4guJ.mjs} +6 -5
  243. package/.output/server/chunks/build/virtualizer-ZaqK4guJ.mjs.map +1 -0
  244. package/.output/server/chunks/build/{wasted-time-CFmeT_e2.mjs → wasted-time-CguAF9zc.mjs} +8 -8
  245. package/.output/server/chunks/build/wasted-time-CguAF9zc.mjs.map +1 -0
  246. package/.output/server/chunks/nitro/nitro.mjs +1009 -722
  247. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  248. package/.output/server/chunks/routes/__piwi/session.get.mjs +51 -0
  249. package/.output/server/chunks/routes/__piwi/session.get.mjs.map +1 -0
  250. package/.output/server/chunks/routes/api/admin/stats.get.mjs +5 -1
  251. package/.output/server/chunks/routes/api/admin/stats.get.mjs.map +1 -1
  252. package/.output/server/chunks/routes/api/analytics/_widget_.get.mjs +75 -6
  253. package/.output/server/chunks/routes/api/analytics/_widget_.get.mjs.map +1 -1
  254. package/.output/server/chunks/routes/api/auth/change-password.post.mjs +1 -1
  255. package/.output/server/chunks/routes/api/auth/forgot-password.post.mjs +1 -1
  256. package/.output/server/chunks/routes/api/auth/login.post.mjs +1 -1
  257. package/.output/server/chunks/routes/api/auth/logout.post.mjs +1 -1
  258. package/.output/server/chunks/routes/api/auth/me.get.mjs +1 -1
  259. package/.output/server/chunks/routes/api/auth/oauth/_provider/callback.get.mjs +1 -1
  260. package/.output/server/chunks/routes/api/auth/oauth/_provider/login.get.mjs +1 -1
  261. package/.output/server/chunks/routes/api/auth/oauth/_provider/unlink.post.mjs +1 -1
  262. package/.output/server/chunks/routes/api/auth/reset-password.post.mjs +1 -1
  263. package/.output/server/chunks/routes/api/auth/send-verify-email.post.mjs +1 -1
  264. package/.output/server/chunks/routes/api/auth/setup.get.mjs +1 -1
  265. package/.output/server/chunks/routes/api/auth/setup.post.mjs +1 -1
  266. package/.output/server/chunks/routes/api/auth/verify-email.get.mjs +1 -1
  267. package/.output/server/chunks/routes/api/channels/_id/test.post.mjs +1 -1
  268. package/.output/server/chunks/routes/api/channels/_id_.delete.mjs +1 -1
  269. package/.output/server/chunks/routes/api/cluster-merge-suggestions/_id/approve.post.mjs +1 -1
  270. package/.output/server/chunks/routes/api/cluster-merge-suggestions/_id/reject.post.mjs +1 -1
  271. package/.output/server/chunks/routes/api/desktop/reporter-config.get.mjs +45 -0
  272. package/.output/server/chunks/routes/api/desktop/reporter-config.get.mjs.map +1 -0
  273. package/.output/server/chunks/routes/api/failure-clusters/_id/base-commit.patch.mjs +1 -1
  274. package/.output/server/chunks/routes/api/failure-clusters/_id/branches.get.mjs +1 -1
  275. package/.output/server/chunks/routes/api/failure-clusters/_id/commit-diff.get.mjs +1 -1
  276. package/.output/server/chunks/routes/api/failure-clusters/_id/commits.get.mjs +1 -1
  277. package/.output/server/chunks/routes/api/failure-clusters/_id/context.get.mjs +1 -1
  278. package/.output/server/chunks/routes/api/failure-clusters/_id/diagnose/stream.post.mjs +1 -1
  279. package/.output/server/chunks/routes/api/failure-clusters/_id/diagnose.post.mjs +1 -1
  280. package/.output/server/chunks/routes/api/failure-clusters/_id/diagnoses.get.mjs +1 -1
  281. package/.output/server/chunks/routes/api/failure-clusters/_id/diagnosis.get.mjs +1 -1
  282. package/.output/server/chunks/routes/api/failure-clusters/_id/extract-cases.post.mjs +1 -1
  283. package/.output/server/chunks/routes/api/failure-clusters/_id/status.patch.mjs +1 -1
  284. package/.output/server/chunks/routes/api/failure-clusters/_id_.get.mjs +1 -1
  285. package/.output/server/chunks/routes/api/failure-diagnoses/_id/feedback.patch.mjs +1 -1
  286. package/.output/server/chunks/routes/api/files/_...path_.get.mjs +1 -1
  287. package/.output/server/chunks/routes/api/health.get.mjs +1 -1
  288. package/.output/server/chunks/routes/api/index.get.mjs +1 -1
  289. package/.output/server/chunks/routes/api/index.get2.mjs +1 -1
  290. package/.output/server/chunks/routes/api/index.get3.mjs +1 -1
  291. package/.output/server/chunks/routes/api/index.get4.mjs +1 -1
  292. package/.output/server/chunks/routes/api/index.get5.mjs +1 -1
  293. package/.output/server/chunks/routes/api/index.post.mjs +1 -1
  294. package/.output/server/chunks/routes/api/index.post2.mjs +1 -1
  295. package/.output/server/chunks/routes/api/index.post3.mjs +1 -1
  296. package/.output/server/chunks/routes/api/index.post4.mjs +1 -1
  297. package/.output/server/chunks/routes/api/index.post5.mjs +1 -1
  298. package/.output/server/chunks/routes/api/index.post6.mjs +1 -1
  299. package/.output/server/chunks/routes/api/links/_id/refresh.post.mjs +1 -1
  300. package/.output/server/chunks/routes/api/links/_id_.delete.mjs +1 -1
  301. package/.output/server/chunks/routes/api/links/_id_.patch.mjs +1 -1
  302. package/.output/server/chunks/routes/api/markers/_id_.delete.mjs +1 -1
  303. package/.output/server/chunks/routes/api/markers/_id_.put.mjs +1 -1
  304. package/.output/server/chunks/routes/api/notifications/stream.get.mjs +1 -1
  305. package/.output/server/chunks/routes/api/projects/_id/cluster-merge-suggestions.get.mjs +1 -1
  306. package/.output/server/chunks/routes/api/projects/_id/failure-clusters.get.mjs +1 -1
  307. package/.output/server/chunks/routes/api/projects/_id/flaky-classify.post.mjs +1 -1
  308. package/.output/server/chunks/routes/api/projects/_id/flaky-tests.get.mjs +1 -1
  309. package/.output/server/chunks/routes/api/projects/_id/latest-run.get.mjs +1 -1
  310. package/.output/server/chunks/routes/api/projects/_id/markers.get.mjs +1 -1
  311. package/.output/server/chunks/routes/api/projects/_id/markers.post.mjs +1 -1
  312. package/.output/server/chunks/routes/api/projects/_id/members.get.mjs +1 -1
  313. package/.output/server/chunks/routes/api/projects/_id/members.put.mjs +1 -1
  314. package/.output/server/chunks/routes/api/projects/_id/performance.get.mjs +1 -1
  315. package/.output/server/chunks/routes/api/projects/_id/slow-tests.get.mjs +1 -1
  316. package/.output/server/chunks/routes/api/projects/_id/spec-health.get.mjs +1 -1
  317. package/.output/server/chunks/routes/api/projects/_id/test-cases.get.mjs +1 -1
  318. package/.output/server/chunks/routes/api/projects/_id/timeout-opportunities.get.mjs +50 -0
  319. package/.output/server/chunks/routes/api/projects/_id/timeout-opportunities.get.mjs.map +1 -0
  320. package/.output/server/chunks/routes/api/projects/_id_.delete.mjs +1 -1
  321. package/.output/server/chunks/routes/api/projects/_id_.get.mjs +1 -1
  322. package/.output/server/chunks/routes/api/projects/_id_.put.mjs +1 -1
  323. package/.output/server/chunks/routes/api/projects/menu.get.mjs +1 -1
  324. package/.output/server/chunks/routes/api/projects/overview.get.mjs +1 -1
  325. package/.output/server/chunks/routes/api/projects.get.mjs +1 -1
  326. package/.output/server/chunks/routes/api/search.get.mjs +1 -1
  327. package/.output/server/chunks/routes/api/settings/ai/limits.get.mjs +1 -1
  328. package/.output/server/chunks/routes/api/settings/ai/limits.put.mjs +1 -1
  329. package/.output/server/chunks/routes/api/settings/ai/test.post.mjs +1 -1
  330. package/.output/server/chunks/routes/api/settings/ai/usage.get.mjs +1 -1
  331. package/.output/server/chunks/routes/api/settings/ai.get.mjs +1 -1
  332. package/.output/server/chunks/routes/api/settings/ai.put.mjs +1 -1
  333. package/.output/server/chunks/routes/api/settings/smtp/test.post.mjs +1 -1
  334. package/.output/server/chunks/routes/api/settings/smtp.get.mjs +1 -1
  335. package/.output/server/chunks/routes/api/settings/timeout-hygiene.get.mjs +40 -0
  336. package/.output/server/chunks/routes/api/settings/timeout-hygiene.get.mjs.map +1 -0
  337. package/.output/server/chunks/routes/api/settings/timeout-hygiene.put.mjs +46 -0
  338. package/.output/server/chunks/routes/api/settings/timeout-hygiene.put.mjs.map +1 -0
  339. package/.output/server/chunks/routes/api/settings/wasted-waits.get.mjs +1 -1
  340. package/.output/server/chunks/routes/api/settings/wasted-waits.put.mjs +1 -1
  341. package/.output/server/chunks/routes/api/stream.get.mjs +1 -1
  342. package/.output/server/chunks/routes/api/subscriptions/_id_.delete.mjs +1 -1
  343. package/.output/server/chunks/routes/api/subscriptions/_id_.patch.mjs +1 -1
  344. package/.output/server/chunks/routes/api/tags/_id_.delete.mjs +1 -1
  345. package/.output/server/chunks/routes/api/tags/_id_.put.mjs +1 -1
  346. package/.output/server/chunks/routes/api/test-cases/_id/history.get.mjs +1 -1
  347. package/.output/server/chunks/routes/api/test-cases/_id/stability-trend.get.mjs +1 -1
  348. package/.output/server/chunks/routes/api/test-cases/_id_.get.mjs +1 -1
  349. package/.output/server/chunks/routes/api/test-run-cases/_id/diagnose.post.mjs +1 -1
  350. package/.output/server/chunks/routes/api/test-run-cases/_id/diagnosis-context.get.mjs +1 -1
  351. package/.output/server/chunks/routes/api/test-run-cases/_id/diagnosis.get.mjs +1 -1
  352. package/.output/server/chunks/routes/api/test-run-cases/_id/traces.get.mjs +1 -1
  353. package/.output/server/chunks/routes/api/test-run-cases/_id_.get.mjs +1 -1
  354. package/.output/server/chunks/routes/api/test-runs/_id/begin.post.mjs +1 -1
  355. package/.output/server/chunks/routes/api/test-runs/_id/case-files.post.mjs +1 -1
  356. package/.output/server/chunks/routes/api/test-runs/_id/cases/_caseId/dom-snapshot.get.mjs +1 -1
  357. package/.output/server/chunks/routes/api/test-runs/_id/cases/_caseId/environment-diff.get.mjs +1 -1
  358. package/.output/server/chunks/routes/api/test-runs/_id/cases/_caseId/locator-healing.get.mjs +1 -1
  359. package/.output/server/chunks/routes/api/test-runs/_id/cases/_caseId/locator-pick.post.mjs +1 -1
  360. package/.output/server/chunks/routes/api/test-runs/_id/cases/_caseId/trace-network-body.get.mjs +1 -1
  361. package/.output/server/chunks/routes/api/test-runs/_id/cases/_caseId/trace-network.get.mjs +1 -1
  362. package/.output/server/chunks/routes/api/test-runs/_id/cases/_caseId/trace-stacks.get.mjs +1 -1
  363. package/.output/server/chunks/routes/api/test-runs/_id/cases/_caseId/visual-diff.get.mjs +1 -1
  364. package/.output/server/chunks/routes/api/test-runs/_id/events.post.mjs +1 -1
  365. package/.output/server/chunks/routes/api/test-runs/_id/failure-groups.get.mjs +1 -1
  366. package/.output/server/chunks/routes/api/test-runs/_id/finish.post.mjs +1 -1
  367. package/.output/server/chunks/routes/api/test-runs/_id/heartbeat.post.mjs +1 -1
  368. package/.output/server/chunks/routes/api/test-runs/_id/insights.get.mjs +1 -1
  369. package/.output/server/chunks/routes/api/test-runs/_id/network-requests.get.mjs +1 -1
  370. package/.output/server/chunks/routes/api/test-runs/_id/regression-context.get.mjs +1 -1
  371. package/.output/server/chunks/routes/api/test-runs/_id/stream.get.mjs +1 -1
  372. package/.output/server/chunks/routes/api/test-runs/_id/summary.get.mjs +1 -1
  373. package/.output/server/chunks/routes/api/test-runs/_id_.delete.mjs +1 -1
  374. package/.output/server/chunks/routes/api/test-runs/_id_.get.mjs +1 -1
  375. package/.output/server/chunks/routes/api/test-runs/_id_.patch.mjs +1 -1
  376. package/.output/server/chunks/routes/api/test-runs/recent.get.mjs +1 -1
  377. package/.output/server/chunks/routes/api/test-runs/setup.post.mjs +1 -1
  378. package/.output/server/chunks/routes/api/test-runs/start.post.mjs +1 -1
  379. package/.output/server/chunks/routes/api/test-runs/submit.post.mjs +3 -1
  380. package/.output/server/chunks/routes/api/test-runs/submit.post.mjs.map +1 -1
  381. package/.output/server/chunks/routes/api/test-runs/upload.post.mjs +2 -1
  382. package/.output/server/chunks/routes/api/test-runs/upload.post.mjs.map +1 -1
  383. package/.output/server/chunks/routes/api/traces/check.post.mjs +1 -1
  384. package/.output/server/chunks/routes/api/users/_id/api-keys/_keyId_.delete.mjs +1 -1
  385. package/.output/server/chunks/routes/api/users/_id/index.get.mjs +1 -1
  386. package/.output/server/chunks/routes/api/users/_id/index.post.mjs +1 -1
  387. package/.output/server/chunks/routes/api/users/_id/invite.post.mjs +1 -1
  388. package/.output/server/chunks/routes/api/users/_id/projects.get.mjs +1 -1
  389. package/.output/server/chunks/routes/api/users/_id/projects.put.mjs +1 -1
  390. package/.output/server/chunks/routes/api/users/_id_.delete.mjs +1 -1
  391. package/.output/server/chunks/routes/api/users/_id_.patch.mjs +1 -1
  392. package/.output/server/chunks/routes/api/version.get.mjs +1 -1
  393. package/.output/server/chunks/routes/mcp.post.mjs +1 -1
  394. package/.output/server/chunks/routes/renderer.mjs +1 -1
  395. package/.output/server/database/migrations/0037_tired_hellion.sql +1 -0
  396. package/.output/server/database/migrations/0038_glamorous_ulik.sql +1 -0
  397. package/.output/server/database/migrations/meta/0037_snapshot.json +3384 -0
  398. package/.output/server/database/migrations/meta/0038_snapshot.json +3391 -0
  399. package/.output/server/database/migrations/meta/_journal.json +14 -0
  400. package/.output/server/database/migrations-pg/0038_tranquil_moira_mactaggert.sql +1 -0
  401. package/.output/server/database/migrations-pg/0039_fat_starjammers.sql +1 -0
  402. package/.output/server/database/migrations-pg/meta/0038_snapshot.json +4027 -0
  403. package/.output/server/database/migrations-pg/meta/0039_snapshot.json +4033 -0
  404. package/.output/server/database/migrations-pg/meta/_journal.json +14 -0
  405. package/.output/server/index.mjs +1 -1
  406. package/.output/server/package.json +1 -1
  407. package/package.json +1 -1
  408. package/.output/public/_nuxt/2kfkdDTz.js +0 -1
  409. package/.output/public/_nuxt/BXEDsEwG.js +0 -1
  410. package/.output/public/_nuxt/BbgBGuMG.js +0 -1
  411. package/.output/public/_nuxt/CBrCcDzR.js +0 -1
  412. package/.output/public/_nuxt/CFXonrwQ.js +0 -3
  413. package/.output/public/_nuxt/CJGJI2Of.js +0 -34
  414. package/.output/public/_nuxt/Ce4EdfL_.js +0 -4
  415. package/.output/public/_nuxt/Cf3RuiXF.js +0 -46
  416. package/.output/public/_nuxt/CkpB9oBr.js +0 -1
  417. package/.output/public/_nuxt/D1tZEdSi.js +0 -1
  418. package/.output/public/_nuxt/DK9uMTYX.js +0 -1
  419. package/.output/public/_nuxt/DgZlpN9l.js +0 -1
  420. package/.output/public/_nuxt/DjCfCT_5.js +0 -1
  421. package/.output/public/_nuxt/YDWXnWou.js +0 -1
  422. package/.output/public/_nuxt/builds/meta/f549de31-8db6-4504-b526-482778a55eba.json +0 -1
  423. package/.output/public/_nuxt/entry.BxXHl1Vy.css +0 -1
  424. package/.output/public/_nuxt/evCxpgbd.js +0 -2
  425. package/.output/public/_nuxt/wCQds5_f.js +0 -1
  426. package/.output/server/chunks/build/BrowserBadge-BTA4QU_J.mjs.map +0 -1
  427. package/.output/server/chunks/build/ChartCard-BqAhMip2.mjs.map +0 -1
  428. package/.output/server/chunks/build/Checkbox-_1nGm_DR.mjs.map +0 -1
  429. package/.output/server/chunks/build/CiEnvCard-DAufYuJw.mjs.map +0 -1
  430. package/.output/server/chunks/build/CodeBlock-BVKHuYjU.mjs.map +0 -1
  431. package/.output/server/chunks/build/DashboardNavbar-BR6j4VLd.mjs.map +0 -1
  432. package/.output/server/chunks/build/DiagnosisPanel-BnrdXDvd.mjs.map +0 -1
  433. package/.output/server/chunks/build/EnvManagedBadge-DdnEtjIl.mjs.map +0 -1
  434. package/.output/server/chunks/build/HelpHint-D_GJzMpW.mjs.map +0 -1
  435. package/.output/server/chunks/build/Modal-COIjm3js.mjs.map +0 -1
  436. package/.output/server/chunks/build/ProjectTestCasesTable-XFBPQGIX.mjs.map +0 -1
  437. package/.output/server/chunks/build/RunReports-ChNkmuWa.mjs.map +0 -1
  438. package/.output/server/chunks/build/RunStatusBadge-CXpuCUGQ.mjs.map +0 -1
  439. package/.output/server/chunks/build/SectionCard-zs9FDzps.mjs.map +0 -1
  440. package/.output/server/chunks/build/Select-r3S5nkSY.mjs.map +0 -1
  441. package/.output/server/chunks/build/Separator-pqpPG0up.mjs.map +0 -1
  442. package/.output/server/chunks/build/SettingsField-Wdpzlt13.mjs.map +0 -1
  443. package/.output/server/chunks/build/Slideover-02XjJjn0.mjs.map +0 -1
  444. package/.output/server/chunks/build/Switch-gx_JXgCo.mjs.map +0 -1
  445. package/.output/server/chunks/build/Table-C64RrBp3.mjs.map +0 -1
  446. package/.output/server/chunks/build/TestStatusBar--u4VX_Xf.mjs.map +0 -1
  447. package/.output/server/chunks/build/Tooltip-ui_BVvqr.mjs.map +0 -1
  448. package/.output/server/chunks/build/VisuallyHiddenInput-mMsqmkjz.mjs.map +0 -1
  449. package/.output/server/chunks/build/_id_-R6KGfZOC.mjs.map +0 -1
  450. package/.output/server/chunks/build/_id_-pkxJKe17.mjs.map +0 -1
  451. package/.output/server/chunks/build/about-CmtGYbC6.mjs +0 -313
  452. package/.output/server/chunks/build/about-CmtGYbC6.mjs.map +0 -1
  453. package/.output/server/chunks/build/account-AbLuwiZP.mjs.map +0 -1
  454. package/.output/server/chunks/build/ai-DR_slopS.mjs.map +0 -1
  455. package/.output/server/chunks/build/analytics-BbT2-Tr-.mjs.map +0 -1
  456. package/.output/server/chunks/build/db.client-DlA_u5y9.mjs.map +0 -1
  457. package/.output/server/chunks/build/default-D6diRCW0.mjs.map +0 -1
  458. package/.output/server/chunks/build/edit-CNV4xdYj.mjs.map +0 -1
  459. package/.output/server/chunks/build/help-content-BMumoQQF.mjs.map +0 -1
  460. package/.output/server/chunks/build/index-DmHBPf7T.mjs.map +0 -1
  461. package/.output/server/chunks/build/index-Dw526KXV.mjs.map +0 -1
  462. package/.output/server/chunks/build/index-dwYB76GO.mjs.map +0 -1
  463. package/.output/server/chunks/build/index-rSHkKNna.mjs.map +0 -1
  464. package/.output/server/chunks/build/isValueEqualOrExist-DTJ5ejZs.mjs.map +0 -1
  465. package/.output/server/chunks/build/login-Da5C8jP2.mjs.map +0 -1
  466. package/.output/server/chunks/build/mcp-DM1t-9L_.mjs.map +0 -1
  467. package/.output/server/chunks/build/notifications-BTPF0xA7.mjs.map +0 -1
  468. package/.output/server/chunks/build/settings-Bmw_JdBS.mjs.map +0 -1
  469. package/.output/server/chunks/build/settings-metadata-CksLgMun.mjs.map +0 -1
  470. package/.output/server/chunks/build/storage-BqR4acgi.mjs.map +0 -1
  471. package/.output/server/chunks/build/tags-miPAzIr3.mjs.map +0 -1
  472. package/.output/server/chunks/build/test-cases-D-LqhLpk.mjs.map +0 -1
  473. package/.output/server/chunks/build/useAiStatus-FwqbA4gz.mjs.map +0 -1
  474. package/.output/server/chunks/build/useFormControl-DFTjniPG.mjs +0 -19
  475. package/.output/server/chunks/build/useFormControl-DFTjniPG.mjs.map +0 -1
  476. package/.output/server/chunks/build/useSettingsNav-v_dFuTw9.mjs.map +0 -1
  477. package/.output/server/chunks/build/users-D-GDKZmZ.mjs.map +0 -1
  478. package/.output/server/chunks/build/virtualizer-BcC1XuFf.mjs.map +0 -1
  479. package/.output/server/chunks/build/wasted-time-CFmeT_e2.mjs.map +0 -1
@@ -1 +1 @@
1
- const t={"home.flaky":{title:"Flaky tests",text:"Tests that pass and fail without code changes. This counts how many were detected across your projects recently.",doc:"flaky-tests#flaky-test-detection"},"home.trend-bars":{title:"Run history bars",text:"One bar per full run (up to 20), oldest left → newest right. Green = pass, red = fail, amber = passed with flaky tests, gray = skipped/unknown. Click a bar to open that run.",doc:"ui-overview#home-page"},"home.tendency":{title:"Tendency",text:"Derived from the last 5 full runs. Failing = latest run failed; flaky = pass/fail mixed or flaky tests seen in the window; passing = all recent runs green.",doc:"ui-overview#home-page"},"home.project-health":{title:"Project health",text:"Every project at a glance — run history bars and a tendency badge so you can immediately see which project needs attention. Only full runs count.",doc:"ui-overview#home-page"},"home.get-started":{title:"Get started",text:"Wire the Piwi reporter into your Playwright config to start sending results here. The wizard generates the snippet for you.",doc:"getting-started#using-the-piwi-dashboard-reporter"},"analytics.insights":{title:"Insights",text:"Auto-generated findings over the selected period — pass-rate drops, failing streaks, stale clusters, wasted CI time. Ranked by severity; click one to jump to the source."},"analytics.portfolio":{title:"Portfolio health",text:"Every project over the selected period: pass rate with its change vs the previous period, flaky volume, open failure clusters, and the latest run. Worst health sorts first."},"analytics.heatmap":{title:"Pass rate heatmap",text:"Each cell is the aggregate pass rate of one project over one time bucket — green is healthy, red is broken, gray means no runs. Longer periods use wider buckets."},"analytics.ci-time":{title:"CI time",text:"Total minutes your test runs consumed, over time, with the change vs the previous equal-length period. Steady growth here is a capacity conversation."},"analytics.wasted-time":{title:"Wasted CI time",text:"Minutes that produced no signal: time inside wait steps plus time executing attempts that ended failed or timed out. The strongest argument for fixing slow waits and flaky tests."},"analytics.flaky-leaderboard":{title:"Flakiest tests",text:"The worst flaky tests across all projects, using the same scoring as each project’s Flaky tests tab, sorted by wasted-CI impact.",doc:"flaky-tests#flaky-test-detection"},"analytics.cluster-landscape":{title:"Failure clusters",text:"Open failure clusters across all projects — the biggest and oldest unresolved root causes. Clusters outlive run retention, so this works on long horizons.",doc:"failure-clustering"},"analytics.regression-velocity":{title:"Regression velocity",text:"How much new breakage each period introduces: tests that passed in a baseline and now fail (regressions), plus tests that turned flaky. Rising bars mean quality debt is accumulating.",doc:"flaky-tests#regression-signals"},"analytics.browser-matrix":{title:"Browser matrix",text:"Pass rate per project × browser, so a suite that is green on one browser but failing on another (a browser-specific bug) stands out immediately."},"analytics.slow-endpoints":{title:"Slow endpoints",text:"Backend calls captured during tests, aggregated across all projects by route: p50/p90 latency, error rate, and how many projects hit each one — a shared endpoint regressing shows up here first.",doc:"capture-fixtures"},"projects.tag-filter":{text:"Filter projects by tag. Selecting several tags uses OR logic — a project matching any of them is shown."},"projects.table":{title:"Projects",text:"Every project that has reported results, with its latest run, pass rate and activity. Click a row to drill in.",doc:"ui-overview#projects-page"},"project.run-scope":{title:"Full vs partial runs",text:"A partial run executed only a subset of the suite (a shard, a retry, or a filtered selection). Trends use full runs so partial results don’t skew the numbers.",doc:"ui-overview#test-run-detail"},"project.runs-trend":{title:"Run trend",text:"Pass/fail counts per run over time. Hover a point for the exact run; sudden drops mark where things broke.",doc:"ui-overview#project-detail"},"project.flaky-tests":{title:"Flaky tests",text:"Tests that fail intermittently across runs. Impact estimates wasted CI time; the score (0–100) rates severity and root cause explains why.",doc:"flaky-tests#flaky-test-detection"},"project.performance":{title:"Performance",text:"Duration trends for the suite — average and P90 (the slowest 10% threshold). Use it to catch tests getting steadily slower.",doc:"flaky-tests#performance"},"project.timeline":{title:"Timeline markers",text:"Dated events — deploys, config changes, infra migrations, incidents — overlaid as vertical lines on the trend charts, so you can tell whether a change moved your results or performance. Markers can be scoped to an environment; some are detected automatically when tooling versions change between runs.",doc:"timeline-markers",envVars:["PIWI_AUTO_MARKERS"]},"project.slowest-tests":{title:"Slowest tests",text:"The tests taking the most time, ranked. Optimizing the top entries shortens your overall run the fastest.",doc:"ui-overview#performance-page"},"project.run-compare":{title:"Run comparison",text:"Diff two runs to see which tests changed status or duration between them — handy for confirming a fix or spotting a regression.",doc:"ui-overview#test-run-detail"},"project.test-cases":{title:"Test cases",text:'Every distinct test in the project with its executed-only pass rate, result breakdown and average duration across runs. Search by title or file, filter by status, and switch to a per-spec tree. Cases not run within the selected age window are hidden by default (last 30 days) — pick "All time" to see obsolete ones. Click a test to see its full history.',doc:"ui-overview#project-detail"},"project.compare":{title:"Compare runs",text:"Pick two runs to see a side-by-side summary and a per-test status diff between them.",doc:"ui-overview#test-run-detail"},"project.spec-health":{title:"Spec health",text:"A heatmap grouped by spec file: pass rate, flaky rate and average time per spec, so you can find the riskiest files at a glance.",doc:"flaky-tests#spec-health-heatmap"},"project.members":{title:"Project access",text:"Who can see this project. Admins always have access; reporters and users see only the projects assigned to them.",doc:"authentication#user-management"},"project.ai-instructions":{title:"AI diagnosis instructions",text:"Extra guidance handed to the AI when diagnosing this project’s failures — e.g. domain terms, known-flaky areas, or where to look first.",doc:"ai-diagnosis#custom-instructions"},"project.scm-token":{title:"Repository access token",text:"A read-only Git host token lets diagnosis pull the actual commit diffs behind a failure for SCM-grounded analysis. Stored encrypted.",doc:"ai-diagnosis#scm-grounded-context"},"run.summary":{title:"Run summary",text:"Headline outcome of this run — overall status, test counts and total duration.",doc:"ui-overview#test-run-detail"},"run.partial":{title:"Partial run",text:"This run covered only part of the suite (a shard, retry or filtered selection), so its totals aren’t a full picture.",doc:"ui-overview#test-run-detail"},"run.live":{title:"Live run",text:"This run is still streaming results in real time. Results and counts update as each test finishes.",doc:"reporter#live-streaming"},"run.ci-env":{title:"CI & environment",text:"Where this run executed — CI provider, pipeline and machine details — collected automatically by the reporter.",doc:"reporter#automatic-metadata-collection"},"run.reports":{title:"Storage & reports",text:"HTML reports, traces and attachments uploaded with this run. A run can carry several reports (e.g. per shard).",doc:"reporter#multiple-reports"},"run.metadata":{title:"Tags, links & custom data",text:"Extra context attached to the run: tags for grouping, links to external issues, and any custom key/value data your reporter sent."},"run.test-cases":{title:"Test cases",text:"Per-test results for this run. Filter by status, or by the NEW (new regression) and FLAKY signal badges.",doc:"ui-overview#test-run-detail"},"run.insights":{title:"Run insights",text:"Automatic highlights for this run — newly failing, flaky and slow tests — surfaced so you don’t have to hunt for them.",doc:"flaky-tests#run-insights"},"run.regression":{title:"Regression signals",text:"Tests that newly started failing in this run versus the project baseline — the most likely fallout from the latest change.",doc:"flaky-tests#regression-signals"},"run.timeline":{title:"Workers timeline",text:"When each test ran on each parallel worker. Gaps and long bars reveal poor parallelization or a single slow test stalling a shard.",doc:"ui-overview#test-run-detail"},"case.diagnosis-tab":{title:"Diagnosis",text:"Everything you need to understand and fix this failure in one place — the error, a verdict on what kind of failure it is, the captured evidence, and an AI diagnosis.",doc:"ui-overview#test-case-detail"},"case.verdict":{title:"Failure verdict",text:"An at-a-glance read on this failure: whether it newly regressed or is flaky, how many times it retried, and how long the test has been failing.",doc:"flaky-tests#regression-signals"},"case.evidence":{title:"Failure evidence",text:"What was captured at the moment of failure — screenshots, video and traces — grouped so you can see exactly what the browser saw.",doc:"ui-overview#trace-viewer"},"case.test-source":{title:"Test source",text:"The source around the failing line and the callers above it — captured from the failure’s call stack — so you can read where it broke, and the code that led there, without opening your editor. When the execution has a trace, this deepens into the complete call stack with the real source of every frame, read from the trace’s embedded files.",doc:"ui-overview#trace-powered-deep-views"},"case.artifacts":{title:"Artifacts",text:"Traces, attachments, console output and network requests captured for this execution — the raw material behind the result.",doc:"ui-overview#trace-viewer"},"case.steps":{title:"Steps",text:"Each step Playwright ran, with its duration. A failed step is highlighted with its error, and slow steps are color-coded.",doc:"ui-overview#test-case-detail"},"case.wasted-time":{title:"Wasted time",text:"Time spent in fixed waits (waitForTimeout and matching patterns) that could usually be replaced with a web-first assertion.",doc:"flaky-tests#performance"},"case.ai":{title:"AI diagnosis for this execution",text:"Diagnose just this failing execution, or copy the full evidence context to paste into your own AI assistant.",doc:"ai-diagnosis#diagnosing-one-execution"},"case.web-vitals":{title:"Web Vitals",text:"Core Web Vitals (LCP, CLS, etc.) captured during the test, measuring real loading and responsiveness of the page under test.",doc:"capture-fixtures"},"case.traces":{title:"Traces",text:`Playwright trace files for this execution. "View trace" opens them in the dashboard's own trace viewer — the trace stays on your server, it is never sent to a third party.`,doc:"ui-overview#trace-viewer"},"case.console":{title:"Console output",text:"Browser console messages logged while this test ran — often the first clue for a JavaScript error behind a failure.",doc:"capture-fixtures"},"case.network":{title:"Network requests",text:"HTTP requests the page made during the test, with timing and status — useful for spotting failed or slow calls. When the execution has a trace, the Full trace view shows every request (all resource types) with headers, timing phases, a waterfall and capped body previews; sensitive header values are masked.",doc:"ui-overview#trace-powered-deep-views"},"case.backend-logs":{title:"Backend server logs",text:"Server-side warnings and errors captured during the test, correlated with this execution via a Piwi backend integration.",doc:"backend-logs"},"case.aria":{title:"ARIA snapshot",text:"A snapshot of the accessibility tree at the moment of failure — what assistive tech saw, and useful grounding for AI diagnosis.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"case.flaky-count":{title:"Flaky runs",text:"How many of this test’s recent executions flipped between pass and fail without a code change.",doc:"flaky-tests#flaky-test-detection"},"case.history-chart":{title:"Duration trend",text:"This test’s duration across recent runs. Rising times or spikes hint at a slowdown or instability.",doc:"flaky-tests#flaky-test-detection"},"case.sparkline":{title:"Status history",text:"Pass/fail outcome of this test over its recent runs, oldest to newest — a quick read on its stability.",doc:"flaky-tests#flaky-test-detection"},"cluster.concept":{title:"Failure clusters",text:"Failures with the same error fingerprint are grouped into one cluster, so a single root cause shows up once instead of N times.",doc:"ai-diagnosis#failure-clustering"},"cluster.new-vs-known":{title:"New vs known failure",text:"Whether this failure matches an existing cluster (a known issue) or opened a new one — a fresh signature worth a closer look.",doc:"ai-diagnosis#failure-clustering"},"cluster.triage":{text:"Track a cluster’s state: set its status, add triage notes, or extract a subset of failures into a separate cluster."},"cluster.evidence":{title:"Test evidence",text:"The concrete artifacts behind this cluster — screenshots, signals and traces from affected tests — gathered for review and AI diagnosis.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"cluster.scm":{title:"What changed",text:"Recent commits and diffs around when this failure started, so you can connect the break to the change that caused it.",doc:"ai-diagnosis#scm-grounded-context"},"cluster.baseline":{title:"Baseline commit",text:"The last known-good commit. Diffs are computed from here forward to scope the search for the offending change.",doc:"ai-diagnosis#scm-grounded-context"},"cluster.commit-browser":{title:"Commit browser",text:"Browse the repository’s recent commits and inspect each diff to pick a baseline or find the suspect change.",doc:"ai-diagnosis#scm-grounded-context"},"cluster.diagnosis":{title:"AI diagnosis",text:"Runs the configured AI model over the failure plus its evidence and code changes to propose a root cause and fix.",doc:"ai-diagnosis#enabling-ai-diagnosis"},"cluster.context-input":{title:"Additional context",text:"Extra notes, files or screenshots you add to steer the diagnosis — anything the model can’t infer from the captured evidence.",doc:"ai-diagnosis#custom-instructions"},"cluster.context-preview":{title:"Context preview",text:"Exactly what will be sent to the AI, including how much was trimmed to fit the token budget. Review it before spending tokens.",doc:"ai-diagnosis#context-limits-and-token-cost"},"cluster.result":{title:"Diagnosis result",text:"The AI’s proposed root cause, fix and confidence. Treat it as a lead to verify, not proof — confirm against the evidence before acting.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"cluster.ai-setup":{title:"AI not configured",text:"Diagnosis needs an AI provider and API key. Configure one in Settings → AI to enable automatic and on-demand analysis.",doc:"ai-diagnosis#enabling-ai-diagnosis"},"cluster.confidence":{title:"Confidence score",text:"How sure the model is of the top hypothesis (0–100). It is lowered when key evidence is missing or truncated, so treat a low score as “gather more before acting”.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"cluster.hypotheses":{title:"Other hypotheses",text:"Alternative root causes the model weighed, ranked by likelihood. Useful when the evidence is ambiguous and the top pick is not conclusive.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"cluster.coverage":{title:"Data coverage",text:"Which evidence sections were present, truncated or absent for this diagnosis — the same map the model sees. Absent or trimmed evidence lowers confidence; the quote icon marks sections the diagnosis cited.",doc:"ai-diagnosis#context-limits-and-token-cost"},"notifications.subscribe":{title:"Project notifications",text:"Get notified about this project’s runs through your channels. Choose which events trigger an alert.",doc:"notifications#subscriptions"},"settings.general":{title:"General settings",text:"Central place for account, users, AI diagnosis, notifications, storage and tags. Settings that can be overridden by environment variables show a lock badge naming the variable."},"settings.storage-stats":{title:"Storage statistics",text:"How much disk your reports, traces and attachments use, broken down so you can see what to clean up.",doc:"storage#storage-architecture"},"settings.cleanup":{title:"Cleanup old runs",text:"Delete runs (and their reports, traces and attachments) older than a chosen age to reclaim storage. This cannot be undone.",doc:"storage#storage-management"},"account.email":{title:"Email & verification",text:"Your account email is used for password resets and notifications. Verifying it confirms you own the address.",doc:"authentication#user-management"},"settings.smtp":{title:"SMTP status",text:"Outbound email (resets, invites, notifications) is configured through environment variables and shown here read-only.",doc:"notifications#smtp-configuration",envVars:["PIWI_SMTP_HOST","PIWI_SMTP_PORT","PIWI_SMTP_USER","PIWI_SMTP_PASS","PIWI_SMTP_FROM","PIWI_SMTP_FROM_NAME","PIWI_SMTP_SECURE"]},"notifications.channels":{title:"Channels",text:"Destinations an alert can go to — email, Slack or webhook. Create a channel, then subscribe events to it.",doc:"notifications#channels"},"notifications.subscriptions":{title:"Subscriptions",text:"Which events (run failed, new cluster, etc.) notify which channel, optionally scoped to one project and filtered.",doc:"notifications#subscriptions"},"settings.ai-provider":{title:"AI provider",text:"Configure the model providers behind the three AI roles — diagnosis, research and embedding. Each role has its own provider config, or reuses another role’s provider and credentials. Keys are stored encrypted and never returned by the API.",doc:"ai-diagnosis#enabling-ai-diagnosis",envVars:["PIWI_AI_PROVIDER","PIWI_AI_MODEL","PIWI_AI_API_KEY","PIWI_AI_BASE_URL"]},"settings.ai-instructions":{title:"Global analysis instructions",text:"Guidance applied to every diagnosis across all projects — house style, terminology, or things to always check. Per-project instructions add to this.",doc:"ai-diagnosis#custom-instructions"},"settings.ai-research":{title:"Research model",text:"An optional cheaper/faster model that pre-analyzes the failure (on a lean view) before the main model writes the final diagnosis. It can use its own provider, and the costly SCM diff is only fetched when it flags a likely regression. It also handles cluster naming and merge adjudication, so configuring a cheap research model routes those utility calls away from the expensive diagnosis model.",doc:"ai-diagnosis#enabling-ai-diagnosis",envVars:["PIWI_AI_RESEARCH_PROVIDER","PIWI_AI_RESEARCH_MODEL","PIWI_AI_RESEARCH_BASE_URL","PIWI_AI_RESEARCH_API_KEY"]},"settings.ai-limits":{title:"Diagnosis context limits",text:"Caps on how much evidence (and how many tokens) go into each diagnosis. Higher limits give the model more to work with but cost more. Each field can be pinned individually by its env var.",doc:"ai-diagnosis#context-limits-and-token-cost",envVars:["PIWI_AI_MAX_SAMPLE_ERROR_CHARS","PIWI_AI_MAX_SCM_PATCH_BUDGET","PIWI_AI_MAX_AFFECTED_TESTS","PIWI_AI_MAX_STEPS","PIWI_AI_MAX_CONSOLE_ENTRIES","PIWI_AI_MAX_CONSOLE_ENTRY_CHARS","PIWI_AI_MAX_NETWORK_REQUESTS","PIWI_AI_MAX_ARIA_SNAPSHOT_CHARS","PIWI_AI_MAX_TEST_SOURCE_CHARS","PIWI_AI_MAX_SERVER_LOG_ENTRIES","PIWI_AI_MAX_SERVER_LOG_ENTRY_CHARS","PIWI_AI_MAX_IMAGES","PIWI_AI_MAX_PASSED_PEERS","PIWI_AI_MAX_CONSOLE_WINDOW","PIWI_AI_SLOW_REQUEST_MS","PIWI_AI_MAX_TRACE_STACK_FRAMES","PIWI_AI_MAX_TRACE_NETWORK_REQUESTS"]},"settings.users":{title:"Users & roles",text:"Manage accounts and their role. Administrators control everything; reporters submit results; users have read-only access.",doc:"authentication#roles"},"settings.api-keys":{title:"API keys",text:"Tokens (prefixed pd_) that let the reporter or scripts authenticate without a password. Shown once at creation; revoke anytime.",doc:"authentication#api-keys"},"settings.tags":{text:"Reusable labels you can attach to projects for grouping and filtering across the dashboard."},"settings.wasted-time":{title:"Wasted-time patterns",text:"Define which wait steps count as wasted time. A wait is wasted when any pattern matches its step title or source location. Patterns are case-insensitive and support * and ? wildcards. Changes apply to existing runs immediately.",doc:"flaky-tests#performance",envVars:["PIWI_WASTED_WAIT_PATTERNS"]},"settings.auto-diagnose":{title:"Auto-diagnose",text:"When a run finishes, up to 3 new failure clusters are diagnosed automatically — each diagnosis is one research call (when a research model is configured) plus one diagnosis call — and new clusters get human-readable titles in one batched call. Requires the diagnosis model to be configured.",doc:"ai-diagnosis#enabling-ai-diagnosis",envVars:["PIWI_AI_AUTO_DIAGNOSE"]},"settings.embedding-model":{title:"Embedding model",text:"Embeds failures so semantically-similar errors group together (used by failure clustering). Can reuse another role’s provider or configure its own.",doc:"ai-diagnosis#enabling-ai-diagnosis",envVars:["PIWI_AI_EMBEDDING_PROVIDER","PIWI_AI_EMBEDDING_MODEL","PIWI_AI_EMBEDDING_BASE_URL","PIWI_AI_EMBEDDING_API_KEY"]},"settings.privacy":{title:"Privacy notice",text:"What data is sent to the configured LLM provider when diagnosing a failure, and how secrets are stored. API keys are encrypted at rest; env vars keep them out of the DB entirely.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"settings.storage-backend":{title:"Storage backend",text:"Where test artifacts (HTML reports, traces, attachments) are stored — local disk or S3. Configured entirely through environment variables; shown here read-only.",doc:"storage#storage-architecture",envVars:["PIWI_STORAGE_TYPE","PIWI_STORAGE_PATH","PIWI_S3_BUCKET","PIWI_S3_REGION","PIWI_S3_ACCESS_KEY_ID","PIWI_S3_SECRET_ACCESS_KEY","PIWI_S3_ENDPOINT","PIWI_S3_FORCE_PATH_STYLE"]},"settings.auth-toggle":{title:"Authentication",text:"Role-based access control and API keys. Off by default — when disabled, every endpoint behaves as a single virtual administrator.",doc:"authentication",envVars:["PIWI_AUTH_ENABLED","PIWI_AUTH_SECRET"]},"account.display-name":{title:"Display name",text:"A friendly name shown alongside your account. Optional, and visible only within the dashboard."},"account.connected-accounts":{title:"Connected accounts",text:"Sign in with an OAuth provider (Google or GitHub). Providers are configured by an operator through environment variables; one provider can be linked per account.",doc:"authentication#oauth-sign-in",envVars:["PIWI_OAUTH_GOOGLE_CLIENT_ID","PIWI_OAUTH_GOOGLE_CLIENT_SECRET","PIWI_OAUTH_GITHUB_CLIENT_ID","PIWI_OAUTH_GITHUB_CLIENT_SECRET","PIWI_OAUTH_ALLOWED_DOMAINS","PIWI_OAUTH_GITHUB_ALLOWED_ORGS"]},"account.password":{title:"Password",text:"Change the password you sign in with. OAuth-only accounts manage their password through their provider.",doc:"authentication#user-management"},"notifications.test-email":{title:"Send test email",text:"Send a test message through the configured SMTP server to verify delivery. Uses the environment-configured SMTP connection.",doc:"notifications#smtp-configuration"},"mcp.tools":{title:"What it provides",text:"The tools this MCP server exposes to AI agents, letting them query your projects, runs and failures directly.",doc:"mcp#what-it-provides"},"mcp.auth":{title:"Authentication",text:"How an MCP client authenticates to this server — uses the same API keys as the rest of the dashboard.",doc:"mcp#authentication"},"mcp.client-setup":{title:"Client setup",text:"Copy-paste configuration to connect Claude Code, Cursor, VS Code and other MCP clients to this server.",doc:"mcp#client-setup"},"shared.entity-links":{title:"Entity links",text:"Links to external systems (Jira, GitHub, etc.) attached to this item. The provider is detected automatically from the URL."},"ide.open":{title:"Open in IDE",text:"Click a source path to open it in your local editor. Set your local workspace folder (so VS Code gets an absolute path) or a JetBrains project name, then pick a method. Auto probes the JetBrains local server first (the only one it can confirm) before falling back to a vscode:// or jetbrains:// launch. These preferences live in this browser only.",doc:"ide-integration"},"locator-healing":{title:"Alternative locators",text:'When a locator breaks after a UI change, Piwi suggests pre-captured alternatives from the last passing run — or from another test in the project that uses the same locator. Each alternative is ranked by stability score — prefer data-testid (100) over CSS classes (10–40). The recommended fix shows the exact one-line edit for the failing test, with a "Copy fix prompt" for an AI coding agent. A "Your pick" badge marks a replacement you confirmed on the failing page: "Pick from snapshot" opens the failure-time DOM and lets you click the intended element, and "Pick from trace" opens the failure trace in the trace viewer, whose Pick locator tool works on the recorded page snapshots.',doc:"reporter#locator-healing"},"environment-diff":{title:"Environment diff",text:"Compares this execution’s environment (Playwright version, browser config, locale, viewport, CI provider, …) against the same test’s last passing run on the same browser. Only changed keys are shown — an empty diff rules out environment drift as the cause."},"visual-diff":{title:"Visual diff",text:"Pixel-compares the failing screenshot against the same test’s last passing screenshot (same browser). Red pixels in the overlay mark what changed. When the two screenshots have different dimensions the ratio is flagged as unreliable."},"dom-snapshot":{title:"DOM snapshot",text:"The page’s HTML around the failing action, rendered from the uploaded Playwright trace — nothing extra is captured. Input values, inline handlers and script bodies are removed; token-shaped strings are masked."},"page-state":{title:"App state at test end",text:"URL, history state, storage key names + value lengths, and cookie names + flags captured when the test ended. Values are never captured. Disable with the reporter’s capturePageState option.",doc:"capture-fixtures"}};function s(e){return t[e].envVars??[]}export{t as H,s as h};
1
+ const t={"home.flaky":{title:"Flaky tests",text:"Tests that pass and fail without code changes. This counts how many were detected across your projects recently.",doc:"flaky-tests#flaky-test-detection"},"home.trend-bars":{title:"Run history bars",text:"One bar per full run (up to 20), oldest left → newest right. Green = pass, red = fail, amber = passed with flaky tests, gray = skipped/unknown. Click a bar to open that run.",doc:"ui-overview#home-page"},"home.tendency":{title:"Tendency",text:"Derived from the last 5 full runs. Failing = latest run failed; flaky = pass/fail mixed or flaky tests seen in the window; passing = all recent runs green.",doc:"ui-overview#home-page"},"home.project-health":{title:"Project health",text:"Every project at a glance — run history bars and a tendency badge so you can immediately see which project needs attention. Only full runs count.",doc:"ui-overview#home-page"},"home.get-started":{title:"Get started",text:"Wire the Piwi reporter into your Playwright config to start sending results here. The wizard generates the snippet for you.",doc:"getting-started#using-the-piwi-dashboard-reporter"},"analytics.insights":{title:"Insights",text:"Auto-generated findings over the selected period — pass-rate drops, failing streaks, stale clusters, wasted CI time. Ranked by severity; click one to jump to the source."},"analytics.portfolio":{title:"Portfolio health",text:"Every project over the selected period: pass rate with its change vs the previous period, flaky volume, open failure clusters, and the latest run. Worst health sorts first."},"analytics.heatmap":{title:"Pass rate heatmap",text:"Each cell is the aggregate pass rate of one project over one time bucket — green is healthy, red is broken, gray means no runs. Longer periods use wider buckets."},"analytics.ci-time":{title:"CI time",text:"Total minutes your test runs consumed, over time, with the change vs the previous equal-length period. Steady growth here is a capacity conversation."},"analytics.wasted-time":{title:"Wasted CI time",text:"Minutes that produced no signal: time inside wait steps plus time executing attempts that ended failed or timed out. The strongest argument for fixing slow waits and flaky tests."},"analytics.flaky-leaderboard":{title:"Flakiest tests",text:"The worst flaky tests across all projects, using the same scoring as each project’s Flaky tests tab, sorted by wasted-CI impact.",doc:"flaky-tests#flaky-test-detection"},"analytics.cluster-landscape":{title:"Failure clusters",text:"Open failure clusters across all projects — the biggest and oldest unresolved root causes. Clusters outlive run retention, so this works on long horizons.",doc:"failure-clustering"},"analytics.regression-velocity":{title:"Regression velocity",text:"How much new breakage each period introduces: tests that passed in a baseline and now fail (regressions), plus tests that turned flaky. Rising bars mean quality debt is accumulating.",doc:"flaky-tests#regression-signals"},"analytics.browser-matrix":{title:"Browser matrix",text:"Pass rate per project × browser, so a suite that is green on one browser but failing on another (a browser-specific bug) stands out immediately."},"analytics.slow-endpoints":{title:"Slow endpoints",text:"Backend calls captured during tests, aggregated across all projects by route: p50/p90 latency, error rate, and how many projects hit each one — a shared endpoint regressing shows up here first.",doc:"capture-fixtures"},"projects.tag-filter":{text:"Filter projects by tag. Selecting several tags uses OR logic — a project matching any of them is shown."},"projects.table":{title:"Projects",text:"Every project that has reported results, with its latest run, pass rate and activity. Click a row to drill in.",doc:"ui-overview#projects-page"},"project.run-scope":{title:"Full vs partial runs",text:"A partial run executed only a subset of the suite (a shard, a retry, or a filtered selection). Trends use full runs so partial results don’t skew the numbers.",doc:"ui-overview#test-run-detail"},"project.runs-trend":{title:"Run trend",text:"Pass/fail counts per run over time. Hover a point for the exact run; sudden drops mark where things broke.",doc:"ui-overview#project-detail"},"project.flaky-tests":{title:"Flaky tests",text:"Tests that fail intermittently across runs. Impact estimates wasted CI time; the score (0–100) rates severity and root cause explains why.",doc:"flaky-tests#flaky-test-detection"},"project.performance":{title:"Performance",text:"Duration trends for the suite — average and P90 (the slowest 10% threshold). Use it to catch tests getting steadily slower.",doc:"flaky-tests#performance"},"project.timeline":{title:"Timeline markers",text:"Dated events — deploys, config changes, infra migrations, incidents — overlaid as vertical lines on the trend charts, so you can tell whether a change moved your results or performance. Markers can be scoped to an environment; some are detected automatically when tooling versions change between runs.",doc:"timeline-markers",envVars:["PIWI_AUTO_MARKERS"]},"project.slowest-tests":{title:"Slowest tests",text:"The tests taking the most time, ranked. Optimizing the top entries shortens your overall run the fastest.",doc:"ui-overview#performance-page"},"project.run-compare":{title:"Run comparison",text:"Diff two runs to see which tests changed status or duration between them — handy for confirming a fix or spotting a regression.",doc:"ui-overview#test-run-detail"},"project.test-cases":{title:"Test cases",text:'Every distinct test in the project with its executed-only pass rate, result breakdown and average duration across runs. Search by title or file, filter by status, and switch to a per-spec tree. Cases not run within the selected age window are hidden by default (last 30 days) — pick "All time" to see obsolete ones. Click a test to see its full history.',doc:"ui-overview#project-detail"},"project.compare":{title:"Compare runs",text:"Pick two runs to see a side-by-side summary and a per-test status diff between them.",doc:"ui-overview#test-run-detail"},"project.spec-health":{title:"Spec health",text:"A heatmap grouped by spec file: pass rate, flaky rate and average time per spec, so you can find the riskiest files at a glance.",doc:"flaky-tests#spec-health-heatmap"},"project.members":{title:"Project access",text:"Who can see this project. Admins always have access; reporters and users see only the projects assigned to them.",doc:"authentication#user-management"},"project.ai-instructions":{title:"AI diagnosis instructions",text:"Extra guidance handed to the AI when diagnosing this project’s failures — e.g. domain terms, known-flaky areas, or where to look first.",doc:"ai-diagnosis#custom-instructions"},"project.scm-token":{title:"Repository access token",text:"A read-only Git host token lets diagnosis pull the actual commit diffs behind a failure for SCM-grounded analysis. Stored encrypted.",doc:"ai-diagnosis#scm-grounded-context"},"run.summary":{title:"Run summary",text:"Headline outcome of this run — overall status, test counts and total duration.",doc:"ui-overview#test-run-detail"},"run.partial":{title:"Partial run",text:"This run covered only part of the suite (a shard, retry or filtered selection), so its totals aren’t a full picture.",doc:"ui-overview#test-run-detail"},"run.live":{title:"Live run",text:"This run is still streaming results in real time. Results and counts update as each test finishes.",doc:"reporter#live-streaming"},"run.ci-env":{title:"CI & environment",text:"Where this run executed — CI provider, pipeline and machine details — collected automatically by the reporter.",doc:"reporter#automatic-metadata-collection"},"run.reports":{title:"Storage & reports",text:"HTML reports, traces and attachments uploaded with this run. A run can carry several reports (e.g. per shard).",doc:"reporter#multiple-reports"},"run.metadata":{title:"Tags, links & custom data",text:"Extra context attached to the run: tags for grouping, links to external issues, and any custom key/value data your reporter sent."},"run.test-cases":{title:"Test cases",text:"Per-test results for this run. Filter by status, or by the NEW (new regression) and FLAKY signal badges.",doc:"ui-overview#test-run-detail"},"run.insights":{title:"Run insights",text:"Automatic highlights for this run — newly failing, flaky and slow tests — surfaced so you don’t have to hunt for them.",doc:"flaky-tests#run-insights"},"run.regression":{title:"Regression signals",text:"Tests that newly started failing in this run versus the project baseline — the most likely fallout from the latest change.",doc:"flaky-tests#regression-signals"},"run.timeline":{title:"Workers timeline",text:"When each test ran on each parallel worker. Gaps and long bars reveal poor parallelization or a single slow test stalling a shard.",doc:"ui-overview#test-run-detail"},"case.diagnosis-tab":{title:"Diagnosis",text:"Everything you need to understand and fix this failure in one place — the error, a verdict on what kind of failure it is, the captured evidence, and an AI diagnosis.",doc:"ui-overview#test-case-detail"},"case.verdict":{title:"Failure verdict",text:"An at-a-glance read on this failure: whether it newly regressed or is flaky, how many times it retried, and how long the test has been failing.",doc:"flaky-tests#regression-signals"},"case.evidence":{title:"Failure evidence",text:"What was captured at the moment of failure — screenshots, video and traces — grouped so you can see exactly what the browser saw.",doc:"ui-overview#trace-viewer"},"case.test-source":{title:"Test source",text:"The source around the failing line and the callers above it — captured from the failure’s call stack — so you can read where it broke, and the code that led there, without opening your editor. When the execution has a trace, this deepens into the complete call stack with the real source of every frame, read from the trace’s embedded files.",doc:"ui-overview#trace-powered-deep-views"},"case.artifacts":{title:"Artifacts",text:"Traces, attachments, console output and network requests captured for this execution — the raw material behind the result.",doc:"ui-overview#trace-viewer"},"case.steps":{title:"Steps",text:"Each step Playwright ran, with its duration. A failed step is highlighted with its error, and slow steps are color-coded.",doc:"ui-overview#test-case-detail"},"case.wasted-time":{title:"Wasted time",text:"Time spent in fixed waits (waitForTimeout and matching patterns) that could usually be replaced with a web-first assertion.",doc:"flaky-tests#performance"},"case.ai":{title:"AI diagnosis for this execution",text:"Diagnose just this failing execution, or copy the full evidence context to paste into your own AI assistant.",doc:"ai-diagnosis#diagnosing-one-execution"},"case.web-vitals":{title:"Web Vitals",text:"Core Web Vitals (LCP, CLS, etc.) captured during the test, measuring real loading and responsiveness of the page under test.",doc:"capture-fixtures"},"case.traces":{title:"Traces",text:`Playwright trace files for this execution. "View trace" opens them in the dashboard's own trace viewer — the trace stays on your server, it is never sent to a third party.`,doc:"ui-overview#trace-viewer"},"case.console":{title:"Console output",text:"Browser console messages logged while this test ran — often the first clue for a JavaScript error behind a failure.",doc:"capture-fixtures"},"case.network":{title:"Network requests",text:"HTTP requests the page made during the test, with timing and status — useful for spotting failed or slow calls. When the execution has a trace, the Full trace view shows every request (all resource types) with headers, timing phases, a waterfall and capped body previews; sensitive header values are masked.",doc:"ui-overview#trace-powered-deep-views"},"case.backend-logs":{title:"Backend server logs",text:"Server-side warnings and errors captured during the test, correlated with this execution via a Piwi backend integration.",doc:"backend-logs"},"case.aria":{title:"ARIA snapshot",text:"A snapshot of the accessibility tree at the moment of failure — what assistive tech saw, and useful grounding for AI diagnosis.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"case.flaky-count":{title:"Flaky runs",text:"How many of this test’s recent executions flipped between pass and fail without a code change.",doc:"flaky-tests#flaky-test-detection"},"case.history-chart":{title:"Duration trend",text:"This test’s duration across recent runs. Rising times or spikes hint at a slowdown or instability.",doc:"flaky-tests#flaky-test-detection"},"case.sparkline":{title:"Status history",text:"Pass/fail outcome of this test over its recent runs, oldest to newest — a quick read on its stability.",doc:"flaky-tests#flaky-test-detection"},"cluster.concept":{title:"Failure clusters",text:"Failures with the same error fingerprint are grouped into one cluster, so a single root cause shows up once instead of N times.",doc:"ai-diagnosis#failure-clustering"},"cluster.new-vs-known":{title:"New vs known failure",text:"Whether this failure matches an existing cluster (a known issue) or opened a new one — a fresh signature worth a closer look.",doc:"ai-diagnosis#failure-clustering"},"cluster.triage":{text:"Track a cluster’s state: set its status, add triage notes, or extract a subset of failures into a separate cluster."},"cluster.evidence":{title:"Test evidence",text:"The concrete artifacts behind this cluster — screenshots, signals and traces from affected tests — gathered for review and AI diagnosis.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"cluster.scm":{title:"What changed",text:"Recent commits and diffs around when this failure started, so you can connect the break to the change that caused it.",doc:"ai-diagnosis#scm-grounded-context"},"cluster.baseline":{title:"Baseline commit",text:"The last known-good commit. Diffs are computed from here forward to scope the search for the offending change.",doc:"ai-diagnosis#scm-grounded-context"},"cluster.commit-browser":{title:"Commit browser",text:"Browse the repository’s recent commits and inspect each diff to pick a baseline or find the suspect change.",doc:"ai-diagnosis#scm-grounded-context"},"cluster.diagnosis":{title:"AI diagnosis",text:"Runs the configured AI model over the failure plus its evidence and code changes to propose a root cause and fix.",doc:"ai-diagnosis#enabling-ai-diagnosis"},"cluster.context-input":{title:"Additional context",text:"Extra notes, files or screenshots you add to steer the diagnosis — anything the model can’t infer from the captured evidence.",doc:"ai-diagnosis#custom-instructions"},"cluster.context-preview":{title:"Context preview",text:"Exactly what will be sent to the AI, including how much was trimmed to fit the token budget. Review it before spending tokens.",doc:"ai-diagnosis#context-limits-and-token-cost"},"cluster.result":{title:"Diagnosis result",text:"The AI’s proposed root cause, fix and confidence. Treat it as a lead to verify, not proof — confirm against the evidence before acting.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"cluster.ai-setup":{title:"AI not configured",text:"Diagnosis needs an AI provider and API key. Configure one in Settings → AI to enable automatic and on-demand analysis.",doc:"ai-diagnosis#enabling-ai-diagnosis"},"cluster.confidence":{title:"Confidence score",text:"How sure the model is of the top hypothesis (0–100). It is lowered when key evidence is missing or truncated, so treat a low score as “gather more before acting”.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"cluster.hypotheses":{title:"Other hypotheses",text:"Alternative root causes the model weighed, ranked by likelihood. Useful when the evidence is ambiguous and the top pick is not conclusive.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"cluster.coverage":{title:"Data coverage",text:"Which evidence sections were present, truncated or absent for this diagnosis — the same map the model sees. Absent or trimmed evidence lowers confidence; the quote icon marks sections the diagnosis cited.",doc:"ai-diagnosis#context-limits-and-token-cost"},"notifications.subscribe":{title:"Project notifications",text:"Get notified about this project’s runs through your channels. Choose which events trigger an alert.",doc:"notifications#subscriptions"},"settings.general":{title:"General settings",text:"Central place for account, users, AI diagnosis, notifications, storage and tags. Settings that can be overridden by environment variables show a lock badge naming the variable."},"settings.storage-stats":{title:"Storage statistics",text:"How much disk your reports, traces and attachments use, broken down so you can see what to clean up.",doc:"storage#storage-architecture"},"settings.cleanup":{title:"Cleanup old runs",text:"Delete runs (and their reports, traces and attachments) older than a chosen age to reclaim storage. This cannot be undone.",doc:"storage#storage-management"},"account.email":{title:"Email & verification",text:"Your account email is used for password resets and notifications. Verifying it confirms you own the address.",doc:"authentication#user-management"},"settings.smtp":{title:"SMTP status",text:"Outbound email (resets, invites, notifications) is configured through environment variables and shown here read-only.",doc:"notifications#smtp-configuration",envVars:["PIWI_SMTP_HOST","PIWI_SMTP_PORT","PIWI_SMTP_USER","PIWI_SMTP_PASS","PIWI_SMTP_FROM","PIWI_SMTP_FROM_NAME","PIWI_SMTP_SECURE"]},"notifications.channels":{title:"Channels",text:"Destinations an alert can go to — email, Slack or webhook. Create a channel, then subscribe events to it.",doc:"notifications#channels"},"notifications.subscriptions":{title:"Subscriptions",text:"Which events (run failed, new cluster, etc.) notify which channel, optionally scoped to one project and filtered.",doc:"notifications#subscriptions"},"settings.ai-provider":{title:"AI provider",text:"Configure the model providers behind the three AI roles — diagnosis, research and embedding. Each role has its own provider config, or reuses another role’s provider and credentials. Keys are stored encrypted and never returned by the API.",doc:"ai-diagnosis#enabling-ai-diagnosis",envVars:["PIWI_AI_PROVIDER","PIWI_AI_MODEL","PIWI_AI_API_KEY","PIWI_AI_BASE_URL"]},"settings.ai-instructions":{title:"Global analysis instructions",text:"Guidance applied to every diagnosis across all projects — house style, terminology, or things to always check. Per-project instructions add to this.",doc:"ai-diagnosis#custom-instructions"},"settings.ai-research":{title:"Research model",text:"An optional cheaper/faster model that pre-analyzes the failure (on a lean view) before the main model writes the final diagnosis. It can use its own provider, and the costly SCM diff is only fetched when it flags a likely regression. It also handles cluster naming and merge adjudication, so configuring a cheap research model routes those utility calls away from the expensive diagnosis model.",doc:"ai-diagnosis#enabling-ai-diagnosis",envVars:["PIWI_AI_RESEARCH_PROVIDER","PIWI_AI_RESEARCH_MODEL","PIWI_AI_RESEARCH_BASE_URL","PIWI_AI_RESEARCH_API_KEY"]},"settings.ai-limits":{title:"Diagnosis context limits",text:"Caps on how much evidence (and how many tokens) go into each diagnosis. Higher limits give the model more to work with but cost more. Each field can be pinned individually by its env var.",doc:"ai-diagnosis#context-limits-and-token-cost",envVars:["PIWI_AI_MAX_SAMPLE_ERROR_CHARS","PIWI_AI_MAX_SCM_PATCH_BUDGET","PIWI_AI_MAX_AFFECTED_TESTS","PIWI_AI_MAX_STEPS","PIWI_AI_MAX_CONSOLE_ENTRIES","PIWI_AI_MAX_CONSOLE_ENTRY_CHARS","PIWI_AI_MAX_NETWORK_REQUESTS","PIWI_AI_MAX_ARIA_SNAPSHOT_CHARS","PIWI_AI_MAX_TEST_SOURCE_CHARS","PIWI_AI_MAX_SERVER_LOG_ENTRIES","PIWI_AI_MAX_SERVER_LOG_ENTRY_CHARS","PIWI_AI_MAX_IMAGES","PIWI_AI_MAX_PASSED_PEERS","PIWI_AI_MAX_CONSOLE_WINDOW","PIWI_AI_SLOW_REQUEST_MS","PIWI_AI_MAX_TRACE_STACK_FRAMES","PIWI_AI_MAX_TRACE_NETWORK_REQUESTS"]},"settings.users":{title:"Users & roles",text:"Manage accounts and their role. Administrators control everything; reporters submit results; users have read-only access.",doc:"authentication#roles"},"settings.api-keys":{title:"API keys",text:"Tokens (prefixed pd_) that let the reporter or scripts authenticate without a password. Shown once at creation; revoke anytime.",doc:"authentication#api-keys"},"settings.tags":{text:"Reusable labels you can attach to projects for grouping and filtering across the dashboard."},"settings.wasted-time":{title:"Wasted-time patterns",text:"Define which wait steps count as wasted time. A wait is wasted when any pattern matches its step title or source location. Patterns are case-insensitive and support * and ? wildcards. Changes apply to existing runs immediately.",doc:"flaky-tests#performance",envVars:["PIWI_WASTED_WAIT_PATTERNS"]},"settings.timeout-hygiene":{title:"Timeout hygiene",text:"Thresholds for flagging oversized per-test timeouts and stale test.slow() marks. Opportunities are recomputed at read time, so changes apply to existing runs immediately.",doc:"flaky-tests#performance"},"settings.auto-diagnose":{title:"Auto-diagnose",text:"When a run finishes, up to 3 new failure clusters are diagnosed automatically — each diagnosis is one research call (when a research model is configured) plus one diagnosis call — and new clusters get human-readable titles in one batched call. Requires the diagnosis model to be configured.",doc:"ai-diagnosis#enabling-ai-diagnosis",envVars:["PIWI_AI_AUTO_DIAGNOSE"]},"settings.embedding-model":{title:"Embedding model",text:"Embeds failures so semantically-similar errors group together (used by failure clustering). Can reuse another role’s provider or configure its own.",doc:"ai-diagnosis#enabling-ai-diagnosis",envVars:["PIWI_AI_EMBEDDING_PROVIDER","PIWI_AI_EMBEDDING_MODEL","PIWI_AI_EMBEDDING_BASE_URL","PIWI_AI_EMBEDDING_API_KEY"]},"settings.privacy":{title:"Privacy notice",text:"What data is sent to the configured LLM provider when diagnosing a failure, and how secrets are stored. API keys are encrypted at rest; env vars keep them out of the DB entirely.",doc:"ai-diagnosis#what-a-diagnosis-contains"},"settings.storage-backend":{title:"Storage backend",text:"Where test artifacts (HTML reports, traces, attachments) are stored — local disk or S3. Configured entirely through environment variables; shown here read-only.",doc:"storage#storage-architecture",envVars:["PIWI_STORAGE_TYPE","PIWI_STORAGE_PATH","PIWI_S3_BUCKET","PIWI_S3_REGION","PIWI_S3_ACCESS_KEY_ID","PIWI_S3_SECRET_ACCESS_KEY","PIWI_S3_ENDPOINT","PIWI_S3_FORCE_PATH_STYLE"]},"settings.auth-toggle":{title:"Authentication",text:"Role-based access control and API keys. Off by default — when disabled, every endpoint behaves as a single virtual administrator.",doc:"authentication",envVars:["PIWI_AUTH_ENABLED","PIWI_AUTH_SECRET"]},"account.display-name":{title:"Display name",text:"A friendly name shown alongside your account. Optional, and visible only within the dashboard."},"account.connected-accounts":{title:"Connected accounts",text:"Sign in with an OAuth provider (Google or GitHub). Providers are configured by an operator through environment variables; one provider can be linked per account.",doc:"authentication#oauth-sign-in",envVars:["PIWI_OAUTH_GOOGLE_CLIENT_ID","PIWI_OAUTH_GOOGLE_CLIENT_SECRET","PIWI_OAUTH_GITHUB_CLIENT_ID","PIWI_OAUTH_GITHUB_CLIENT_SECRET","PIWI_OAUTH_ALLOWED_DOMAINS","PIWI_OAUTH_GITHUB_ALLOWED_ORGS"]},"account.password":{title:"Password",text:"Change the password you sign in with. OAuth-only accounts manage their password through their provider.",doc:"authentication#user-management"},"notifications.test-email":{title:"Send test email",text:"Send a test message through the configured SMTP server to verify delivery. Uses the environment-configured SMTP connection.",doc:"notifications#smtp-configuration"},"mcp.tools":{title:"What it provides",text:"The tools this MCP server exposes to AI agents, letting them query your projects, runs and failures directly.",doc:"mcp#what-it-provides"},"mcp.auth":{title:"Authentication",text:"How an MCP client authenticates to this server — uses the same API keys as the rest of the dashboard.",doc:"mcp#authentication"},"mcp.client-setup":{title:"Client setup",text:"Copy-paste configuration to connect Claude Code, Cursor, VS Code and other MCP clients to this server.",doc:"mcp#client-setup"},"shared.entity-links":{title:"Entity links",text:"Links to external systems (Jira, GitHub, etc.) attached to this item. The provider is detected automatically from the URL."},"ide.open":{title:"Open in IDE",text:"Click a source path to open it in your local editor. Set your local workspace folder (so VS Code gets an absolute path) or a JetBrains project name, then pick a method. Auto probes the JetBrains local server first (the only one it can confirm) before falling back to a vscode:// or jetbrains:// launch. These preferences live in this browser only.",doc:"ide-integration"},"locator-healing":{title:"Alternative locators",text:'When a locator breaks after a UI change, Piwi suggests pre-captured alternatives from the last passing run — or from another test in the project that uses the same locator. Each alternative is ranked by stability score — prefer data-testid (100) over CSS classes (10–40). The recommended fix shows the exact one-line edit for the failing test, with a "Copy fix prompt" for an AI coding agent. A "Your pick" badge marks a replacement you confirmed on the failing page: "Pick from snapshot" opens the failure-time DOM and lets you click the intended element, and "Pick from trace" opens the failure trace in the trace viewer, whose Pick locator tool works on the recorded page snapshots.',doc:"reporter#locator-healing"},"environment-diff":{title:"Environment diff",text:"Compares this execution’s environment (Playwright version, browser config, locale, viewport, CI provider, …) against the same test’s last passing run on the same browser. Only changed keys are shown — an empty diff rules out environment drift as the cause."},"visual-diff":{title:"Visual diff",text:"Pixel-compares the failing screenshot against the same test’s last passing screenshot (same browser). Red pixels in the overlay mark what changed. When the two screenshots have different dimensions the ratio is flagged as unreliable."},"dom-snapshot":{title:"DOM snapshot",text:"The page’s HTML around the failing action, rendered from the uploaded Playwright trace — nothing extra is captured. Input values, inline handlers and script bodies are removed; token-shaped strings are masked."},"page-state":{title:"App state at test end",text:"URL, history state, storage key names + value lengths, and cookie names + flags captured when the test ended. Values are never captured. Disable with the reporter’s capturePageState option.",doc:"capture-fixtures"}};function s(e){return t[e].envVars??[]}export{t as H,s as h};
@@ -1 +1 @@
1
- import{h}from"./B8fs6GU9.js";function r(s){if(!s.location)return s.title;const o=s.location.match(/^(.*):(\d+):(\d+)$/);return`${o?o[1]:s.location}::${s.title}`}function C(s,o){const c=h(()=>{if(!s.value?.testCases||!o.value?.testCases)return[];const d=new Map;for(const t of s.value.testCases)d.set(r(t),t);const u=[];for(const t of o.value.testCases){const a=d.get(r(t)),l=a?.duration??null,n=t.duration??null;let e=null,f=null;l!==null&&n!==null&&(e=n-l,f=l>0?Math.round((n-l)/l*100):null),u.push({title:t.title,location:t.location??null,statusA:a?.status??null,statusB:t.status,durationA:l,durationB:n,delta:e,percentChange:f})}const i=new Set(o.value.testCases.map(r));for(const t of s.value.testCases)i.has(r(t))||u.push({title:t.title,location:t.location??null,statusA:t.status,statusB:null,durationA:t.duration??null,durationB:null,delta:null,percentChange:null});return u.sort((t,a)=>Math.abs(a.delta??0)-Math.abs(t.delta??0))}),p=h(()=>{let u=0,i=0,t=0,a=0,l=0,n=0;for(const e of c.value)e.statusA==="passed"&&e.statusB==="failed"?a++:e.statusA==="failed"&&e.statusB==="passed"?l++:e.statusA==="failed"&&e.statusB==="failed"&&n++,e.percentChange!==null&&(e.percentChange<-10?u++:e.percentChange>10?i++:t++);return{improved:u,regressed:i,unchanged:t,newFailures:a,recovered:l,stillFailing:n}});return{comparisonData:c,comparisonSummary:p}}export{C as u};
1
+ import{h}from"./BrT_Sys2.js";function r(s){if(!s.location)return s.title;const o=s.location.match(/^(.*):(\d+):(\d+)$/);return`${o?o[1]:s.location}::${s.title}`}function C(s,o){const c=h(()=>{if(!s.value?.testCases||!o.value?.testCases)return[];const d=new Map;for(const t of s.value.testCases)d.set(r(t),t);const u=[];for(const t of o.value.testCases){const a=d.get(r(t)),l=a?.duration??null,n=t.duration??null;let e=null,f=null;l!==null&&n!==null&&(e=n-l,f=l>0?Math.round((n-l)/l*100):null),u.push({title:t.title,location:t.location??null,statusA:a?.status??null,statusB:t.status,durationA:l,durationB:n,delta:e,percentChange:f})}const i=new Set(o.value.testCases.map(r));for(const t of s.value.testCases)i.has(r(t))||u.push({title:t.title,location:t.location??null,statusA:t.status,statusB:null,durationA:t.duration??null,durationB:null,delta:null,percentChange:null});return u.sort((t,a)=>Math.abs(a.delta??0)-Math.abs(t.delta??0))}),p=h(()=>{let u=0,i=0,t=0,a=0,l=0,n=0;for(const e of c.value)e.statusA==="passed"&&e.statusB==="failed"?a++:e.statusA==="failed"&&e.statusB==="passed"?l++:e.statusA==="failed"&&e.statusB==="failed"&&n++,e.percentChange!==null&&(e.percentChange<-10?u++:e.percentChange>10?i++:t++);return{improved:u,regressed:i,unchanged:t,newFailures:a,recovered:l,stillFailing:n}});return{comparisonData:c,comparisonSummary:p}}export{C as u};
@@ -1 +1 @@
1
- import{d as l,S as o,o as u,f as p,g as d,T as f,U as n,k as i,V as _}from"./B8fs6GU9.js";var m=l({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(r){const t=r;return o(),(s,a)=>(u(),p(i(_),n(t,{onMousedown:a[0]||(a[0]=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()})}),{default:d(()=>[f(s.$slots,"default")]),_:3},16))}}),b=m;export{b as L};
1
+ import{d as l,S as o,o as u,f as p,g as d,T as f,U as n,k as i,V as _}from"./BrT_Sys2.js";var m=l({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(r){const t=r;return o(),(s,a)=>(u(),p(i(_),n(t,{onMousedown:a[0]||(a[0]=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()})}),{default:d(()=>[f(s.$slots,"default")]),_:3},16))}}),b=m;export{b as L};
@@ -1 +1 @@
1
- import{bW as Qe,r as z,h as K,aL as et,d as D,W as ze,X as Ve,b5 as ve,ax as tt,o as d,f as w,g as m,T,k as e,a_ as $e,c as W,q as j,F as le,y as Se,U as V,b9 as at,Y as me,B as Le,i as Be,bG as lt,bh as We,bl as it,bf as nt,be as rt,bg as ot,bX as He,at as st,j as N,bj as ut,H as fe,bk as dt,ae as je,bV as ct,bY as De,S as ne,C as J,G as ce,aC as pt,V as Y,O as ft,Z as xe,bm as gt,bn as vt,ab as Ge,$ as Ee,aA as mt,af as yt,ay as Oe,aJ as ht,bi as bt,bq as _t,bd as St,m as ie,t as pe,a0 as xt,a1 as qt,a3 as wt,a4 as Ct,a5 as It,br as Tt,aM as kt,bs as Pt,aX as Bt,aO as Re,b3 as ae,p as M,v as _e,aG as Fe,bu as At,aF as de,bt as zt,bv as Me,bw as Pe,aY as Lt,a6 as Et,by as Ot}from"./B8fs6GU9.js";import{u as Vt}from"./D1tZEdSi.js";function Ne(i,s=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY){return Math.min(a,Math.max(s,i))}function $t(i){const s=Qe({nonce:z()});return K(()=>i?.value||s.nonce?.value)}const Dt=[" ","Enter","ArrowUp","ArrowDown"],Rt=[" ","Enter"],U=10;function ge(i,s,a){return i===void 0?!1:Array.isArray(i)?i.some(f=>Ae(f,s,a)):Ae(i,s,a)}function Ae(i,s,a){return i===void 0||s===void 0?!1:typeof i=="string"?i===s:typeof a=="function"?a(i,s):typeof a=="string"?i?.[a]===s?.[a]:et(i,s)}function Ft(i){return i==null||i===""||Array.isArray(i)&&i.length===0}const Mt=["value"],[Q,Ue]=me("SelectRoot");var Nt=D({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},nullableValue:{type:String,required:!1,default:""},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(i,{emit:s}){const a=i,f=s,{required:r,disabled:u,multiple:t,dir:c}=ze(a),g=Ve(a,"modelValue",f,{defaultValue:a.defaultValue??(t.value?[]:void 0),passive:a.modelValue===void 0,deep:!0}),v=Ve(a,"open",f,{defaultValue:a.defaultOpen,passive:a.open===void 0}),b=z(),y=z(),I=z({x:0,y:0}),C=K(()=>t.value&&Array.isArray(g.value)?g.value?.length===0:$e(g.value));ve({isProvider:!0});const O=tt(c),F=Vt(b),L=z(new Set),h=K(()=>Array.from(L.value).map(l=>l.value).join(";"));function B(l){if(t.value){const _=Array.isArray(g.value)?[...g.value]:[],p=_.findIndex(q=>Ae(q,l,a.by));p===-1?_.push(l):_.splice(p,1),g.value=[..._]}else g.value=l}function S(l){return Array.from(L.value).find(_=>ge(l,_.value,a.by))}return Ue({triggerElement:b,onTriggerChange:l=>{b.value=l},valueElement:y,onValueElementChange:l=>{y.value=l},contentId:"",modelValue:g,onValueChange:B,by:a.by,open:v,multiple:t,required:r,onOpenChange:l=>{v.value=l},dir:O,triggerPointerDownPosRef:I,disabled:u,isEmptyModelValue:C,optionsSet:L,onOptionAdd:l=>{const _=S(l.value);_&&L.value.delete(_),L.value.add(l)},onOptionRemove:l=>{const _=S(l.value);_&&L.value.delete(_)}}),(l,_)=>(d(),w(e(at),null,{default:m(()=>[T(l.$slots,"default",{modelValue:e(g),open:e(v)}),e(F)&&l.name?(d(),w(Ht,{key:h.value,"aria-hidden":"true",tabindex:"-1",multiple:e(t),required:e(r),name:l.name,autocomplete:l.autocomplete,disabled:e(u),value:e(g)},{default:m(()=>[e($e)(e(g))?(d(),W("option",{key:0,value:l.nullableValue},null,8,Mt)):j("v-if",!0),(d(!0),W(le,null,Se(Array.from(L.value),p=>(d(),W("option",V({key:p.value??""},{ref_for:!0},p),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):j("v-if",!0)]),_:3}))}}),Kt=Nt,Wt=D({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(i){const s=i,a=z(),f=Q();Le(()=>s.value,(u,t)=>{const c=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(c,"value").set;if(u!==t&&v&&a.value){const b=new Event("change",{bubbles:!0});v.call(a.value,u),a.value.dispatchEvent(b)}});function r(u){f.onValueChange(u.target.value)}return(u,t)=>(d(),w(e(lt),{"as-child":""},{default:m(()=>[Be("select",V({ref_key:"selectElement",ref:a},s,{onInput:r}),[T(u.$slots,"default")],16)]),_:3}))}}),Ht=Wt,jt=D({__name:"SelectPopperPosition",props:{memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:U},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const a=We(i);return(f,r)=>(d(),w(e(it),V(e(a),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:m(()=>[T(f.$slots,"default")]),_:3},16))}}),Gt=jt;const Ye={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[ye,Xe]=me("SelectContent");var Ut=D({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(i,{emit:s}){const a=i,f=s,r=Q();nt(),rt(a.bodyLock);const{CollectionSlot:u,getItems:t}=ve(),c=z();ot(c);const{search:g,handleTypeaheadSearch:v}=He(),b=z(),y=z(),I=z(),C=z(!1),O=z(!1),F=z(!1);function L(){y.value&&c.value&&De([y.value,c.value])}Le(C,()=>{L()});const{onOpenChange:h,triggerPointerDownPosRef:B}=r;st(p=>{if(!c.value)return;let q={x:0,y:0};const k=P=>{q={x:Math.abs(Math.round(P.pageX)-(B.value?.x??0)),y:Math.abs(Math.round(P.pageY)-(B.value?.y??0))}},A=P=>{P.pointerType!=="touch"&&(q.x<=10&&q.y<=10?P.preventDefault():c.value?.contains(P.target)||h(!1),document.removeEventListener("pointermove",k),B.value=null)};B.value!==null&&(document.addEventListener("pointermove",k),document.addEventListener("pointerup",A,{capture:!0,once:!0})),p(()=>{document.removeEventListener("pointermove",k),document.removeEventListener("pointerup",A,{capture:!0})})});function S(p){const q=p.ctrlKey||p.altKey||p.metaKey;if(p.key==="Tab"&&p.preventDefault(),!q&&p.key.length===1&&v(p.key,t()),["ArrowUp","ArrowDown","Home","End"].includes(p.key)){let A=[...t().map(P=>P.ref)];if(["ArrowUp","End"].includes(p.key)&&(A=A.slice().reverse()),["ArrowUp","ArrowDown"].includes(p.key)){const P=p.target,Z=A.indexOf(P);A=A.slice(Z+1)}setTimeout(()=>De(A)),p.preventDefault()}}const l=K(()=>a.position==="popper"?a:{}),_=We(l.value);return Xe({content:c,viewport:b,onViewportChange:p=>{b.value=p},itemRefCallback:(p,q,k)=>{const A=!O.value&&!k,P=ge(r.modelValue.value,q,r.by);if(r.multiple.value){if(F.value)return;(P||A)&&(y.value=p,P&&(F.value=!0))}else(P||A)&&(y.value=p);A&&(O.value=!0)},selectedItem:y,selectedItemText:I,onItemLeave:()=>{c.value?.focus()},itemTextRefCallback:(p,q,k)=>{const A=!O.value&&!k;(ge(r.modelValue.value,q,r.by)||A)&&(I.value=p)},focusSelectedItem:L,position:a.position,isPositioned:C,searchRef:g}),(p,q)=>(d(),w(e(u),null,{default:m(()=>[N(e(ut),{"as-child":"",onMountAutoFocus:q[6]||(q[6]=fe(()=>{},["prevent"])),onUnmountAutoFocus:q[7]||(q[7]=k=>{f("closeAutoFocus",k),!k.defaultPrevented&&(e(r).triggerElement.value?.focus({preventScroll:!0}),k.preventDefault())})},{default:m(()=>[N(e(dt),{"as-child":"","disable-outside-pointer-events":p.disableOutsidePointerEvents,onFocusOutside:q[2]||(q[2]=fe(()=>{},["prevent"])),onDismiss:q[3]||(q[3]=k=>e(r).onOpenChange(!1)),onEscapeKeyDown:q[4]||(q[4]=k=>f("escapeKeyDown",k)),onPointerDownOutside:q[5]||(q[5]=k=>f("pointerDownOutside",k))},{default:m(()=>[(d(),w(je(p.position==="popper"?Gt:Qt),V({...p.$attrs,...e(_)},{id:e(r).contentId,ref:k=>{if(!k)return;const A=e(ct)(k);A?.hasAttribute("data-reka-popper-content-wrapper")?c.value=A.firstElementChild:c.value=A},role:"listbox","data-state":e(r).open.value?"open":"closed",dir:e(r).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:q[0]||(q[0]=fe(()=>{},["prevent"])),onPlaced:q[1]||(q[1]=k=>C.value=!0),onKeydown:S}),{default:m(()=>[T(p.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),Yt=Ut;const[Xt,Zt]=me("SelectItemAlignedPosition");var Jt=D({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(i,{emit:s}){const a=i,f=s,{getItems:r}=ve(),u=Q(),t=ye(),c=z(!1),g=z(!0),v=z(),{forwardRef:b,currentElement:y}=ne(),{viewport:I,selectedItem:C,selectedItemText:O,focusSelectedItem:F}=t;function L(){if(u.triggerElement.value&&u.valueElement.value&&v.value&&y.value&&I?.value&&C?.value&&O?.value){const S=u.triggerElement.value.getBoundingClientRect(),l=y.value.getBoundingClientRect(),_=u.valueElement.value.getBoundingClientRect(),p=O.value.getBoundingClientRect();if(u.dir.value!=="rtl"){const o=p.left-l.left,$=_.left-o,R=S.left-$,H=S.width+R,G=Math.max(H,l.width),ee=window.innerWidth-U,n=Ne($,U,Math.max(U,ee-G));v.value.style.minWidth=`${H}px`,v.value.style.left=`${n}px`}else{const o=l.right-p.right,$=window.innerWidth-_.right-o,R=window.innerWidth-S.right-$,H=S.width+R,G=Math.max(H,l.width),ee=window.innerWidth-U,n=Ne($,U,Math.max(U,ee-G));v.value.style.minWidth=`${H}px`,v.value.style.right=`${n}px`}const q=r().map(o=>o.ref),k=window.innerHeight-U*2,A=I.value.scrollHeight,P=window.getComputedStyle(y.value),Z=Number.parseInt(P.borderTopWidth,10),re=Number.parseInt(P.paddingTop,10),oe=Number.parseInt(P.borderBottomWidth,10),qe=Number.parseInt(P.paddingBottom,10),he=Z+re+A+qe+oe,x=Math.min(C.value.offsetHeight*5,he),se=window.getComputedStyle(I.value),be=Number.parseInt(se.paddingTop,10),we=Number.parseInt(se.paddingBottom,10),X=S.top+S.height/2-U,Ce=k-X,ue=C.value.offsetHeight/2,Ie=C.value.offsetTop+ue,E=Z+re+Ie,Te=he-E;if(E<=X){const o=C.value===q.at(-1);v.value.style.bottom="0px";const $=y.value.clientHeight-I.value.offsetTop-I.value.offsetHeight,R=Math.max(Ce,ue+(o?we:0)+$+oe),H=E+R;v.value.style.height=`${H}px`}else{const o=C.value===q[0];v.value.style.top="0px";const R=Math.max(X,Z+I.value.offsetTop+(o?be:0)+ue)+Te;v.value.style.height=`${R}px`,I.value.scrollTop=E-X+I.value.offsetTop}v.value.style.margin=`${U}px 0`,v.value.style.minHeight=`${x}px`,v.value.style.maxHeight=`${k}px`,f("placed"),requestAnimationFrame(()=>c.value=!0)}}const h=z("");J(async()=>{await ce(),L(),y.value&&(h.value=window.getComputedStyle(y.value).zIndex)});function B(S){S&&g.value===!0&&(L(),F?.(),g.value=!1)}return pt(u.triggerElement,()=>{L()}),Zt({contentWrapper:v,shouldExpandOnScrollRef:c,onScrollButtonChange:B}),(S,l)=>(d(),W("div",{ref_key:"contentWrapperElement",ref:v,style:ft({display:"flex",flexDirection:"column",position:"fixed",zIndex:h.value})},[N(e(Y),V({ref:e(b),style:{boxSizing:"border-box",maxHeight:"100%"}},{...S.$attrs,...a}),{default:m(()=>[T(S.$slots,"default")]),_:3},16)],4))}}),Qt=Jt,ea=D({__name:"SelectArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(i){const s=i,a=ye(Ye);return(f,r)=>e(a).position==="popper"?(d(),w(e(gt),xe(V({key:0},s)),{default:m(()=>[T(f.$slots,"default")]),_:3},16)):j("v-if",!0)}}),ta=ea,aa=D({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(i){return Ue(i.context),Xe(Ye),(a,f)=>T(a.$slots,"default")}}),la=aa;const ia={key:1};var na=D({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(i,{emit:s}){const a=i,r=vt(a,s),u=Q(),t=z();J(()=>{t.value=new DocumentFragment});const c=z(),g=K(()=>a.forceMount||u.open.value),v=z(g.value);let b;function y(){b&&(clearTimeout(b),b=void 0)}return Le(g,(I,C,O)=>{y(),b=setTimeout(()=>{v.value=g.value,b=void 0}),O(y)}),Ge(y),(I,C)=>g.value||v.value||c.value?.present?(d(),w(e(mt),{key:0,ref_key:"presenceRef",ref:c,present:g.value},{default:m(()=>[N(Yt,xe(Ee({...e(r),...I.$attrs})),{default:m(()=>[T(I.$slots,"default")]),_:3},16)]),_:3},8,["present"])):t.value?(d(),W("div",ia,[(d(),w(yt,{to:t.value},[N(la,{context:e(u)},{default:m(()=>[T(I.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):j("v-if",!0)}}),ra=na;const[oa,sa]=me("SelectGroup");var ua=D({__name:"SelectGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i,a=Oe(void 0,"reka-select-group");return sa({id:a}),(f,r)=>(d(),w(e(Y),V({role:"group"},s,{"aria-labelledby":e(a)}),{default:m(()=>[T(f.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),da=ua;const[Ze,ca]=me("SelectItem");var pa=D({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(i,{emit:s}){const a=i,f=s,{disabled:r}=ze(a),u=Q(),t=ye(),{forwardRef:c,currentElement:g}=ne(),{CollectionItem:v}=ve(),b=K(()=>ge(u.modelValue?.value,a.value,u.by)),y=z(!1),I=z(a.textValue??""),C=Oe(void 0,"reka-select-item-text"),O="select.select";async function F(l){if(l.defaultPrevented)return;const _={originalEvent:l,value:a.value};ht(O,L,_)}async function L(l){await ce(),f("select",l),!l.defaultPrevented&&(r.value||(u.onValueChange(a.value),u.multiple.value||u.onOpenChange(!1)))}async function h(l){await ce(),!l.defaultPrevented&&(r.value?t.onItemLeave?.():l.currentTarget?.focus({preventScroll:!0}))}async function B(l){await ce(),!l.defaultPrevented&&l.currentTarget===bt()&&t.onItemLeave?.()}async function S(l){await ce(),!(l.defaultPrevented||t.searchRef?.value!==""&&l.key===" ")&&(Rt.includes(l.key)&&F(l),l.key===" "&&l.preventDefault())}if(a.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return J(()=>{g.value&&t.itemRefCallback(g.value,a.value,a.disabled)}),ca({value:a.value,disabled:r,textId:C,isSelected:b,onItemTextChange:l=>{I.value=((I.value||l?.textContent)??"").trim()}}),(l,_)=>(d(),w(e(v),{value:{textValue:I.value}},{default:m(()=>[N(e(Y),{ref:e(c),role:"option","aria-labelledby":e(C),"data-highlighted":y.value?"":void 0,"aria-selected":b.value,"data-state":b.value?"checked":"unchecked","aria-disabled":e(r)||void 0,"data-disabled":e(r)?"":void 0,tabindex:e(r)?void 0:-1,as:l.as,"as-child":l.asChild,onFocus:_[0]||(_[0]=p=>y.value=!0),onBlur:_[1]||(_[1]=p=>y.value=!1),onPointerup:F,onPointerdown:_[2]||(_[2]=p=>{p.currentTarget.focus({preventScroll:!0})}),onTouchend:_[3]||(_[3]=fe(()=>{},["prevent","stop"])),onPointermove:h,onPointerleave:B,onKeydown:S},{default:m(()=>[T(l.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),fa=pa,ga=D({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(i){const s=i,a=Ze();return(f,r)=>e(a).isSelected.value?(d(),w(e(Y),V({key:0,"aria-hidden":"true"},s),{default:m(()=>[T(f.$slots,"default")]),_:3},16)):j("v-if",!0)}}),va=ga,ma=D({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(i){const s=i,a=Q(),f=ye(),r=Ze(),{forwardRef:u,currentElement:t}=ne(),c=K(()=>({value:r.value,disabled:r.disabled.value,textContent:t.value?.textContent??r.value?.toString()??""}));return J(()=>{t.value&&(r.onItemTextChange(t.value),f.itemTextRefCallback(t.value,r.value,r.disabled.value),a.onOptionAdd(c.value))}),Ge(()=>{a.onOptionRemove(c.value)}),(g,v)=>(d(),w(e(Y),V({id:e(r).textId,ref:e(u)},{...s,...g.$attrs}),{default:m(()=>[T(g.$slots,"default")]),_:3},16,["id"]))}}),ya=ma,ha=D({__name:"SelectLabel",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(i){const s=i,a=oa({id:""});return(f,r)=>(d(),w(e(Y),V(s,{id:e(a).id}),{default:m(()=>[T(f.$slots,"default")]),_:3},16,["id"]))}}),ba=ha,_a=D({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(i){const s=i;return(a,f)=>(d(),w(e(_t),xe(Ee(s)),{default:m(()=>[T(a.$slots,"default")]),_:3},16))}}),Sa=_a,xa=D({__name:"SelectSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i;return(a,f)=>(d(),w(e(Y),V({"aria-hidden":"true"},s),{default:m(()=>[T(a.$slots,"default")]),_:3},16))}}),qa=xa,wa=D({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(i){const s=i,a=Q(),{forwardRef:f,currentElement:r}=ne(),u=K(()=>a.disabled?.value||s.disabled);a.contentId||=Oe(void 0,"reka-select-content"),J(()=>{a.onTriggerChange(r.value)});const{getItems:t}=ve(),{search:c,handleTypeaheadSearch:g,resetTypeahead:v}=He();function b(){u.value||(a.onOpenChange(!0),v())}function y(h){b(),a.triggerPointerDownPosRef.value={x:Math.round(h.pageX),y:Math.round(h.pageY)}}function I(h){return h.button===0&&h.ctrlKey===!1}let C=!1;function O(h){if(h.pointerType==="touch")return h.preventDefault();const B=h.target;B.hasPointerCapture(h.pointerId)&&B.releasePointerCapture(h.pointerId),I(h)&&(y(h),C=!0)}function F(h){I(h)&&h.preventDefault()}function L(h){C||h.currentTarget?.focus(),C=!1}return(h,B)=>(d(),w(e(St),{"as-child":"",reference:h.reference},{default:m(()=>[N(e(Y),{ref:e(f),role:"combobox",type:h.as==="button"?"button":void 0,"aria-controls":e(a).contentId,"aria-expanded":e(a).open.value||!1,"aria-required":e(a).required?.value,"aria-autocomplete":"none",disabled:u.value,dir:e(a)?.dir.value,"data-state":e(a)?.open.value?"open":"closed","data-disabled":u.value?"":void 0,"data-placeholder":e(Ft)(e(a).modelValue?.value)?"":void 0,"as-child":h.asChild,as:h.as,onClick:L,onPointerdown:O,onMousedown:F,onPointerup:B[0]||(B[0]=fe(S=>{S.pointerType==="touch"&&y(S)},["prevent"])),onKeydown:B[1]||(B[1]=S=>{const l=e(c)!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&l&&S.key===" "||(e(g)(S.key,e(t)()),e(Dt).includes(S.key)&&(b(),S.preventDefault()))})},{default:m(()=>[T(h.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]),_:3},8,["reference"]))}}),Ca=wa,Ia=D({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(i){const s=i,{forwardRef:a,currentElement:f}=ne(),r=Q();J(()=>{r.valueElement=f});const u=K(()=>{let c=[];const g=Array.from(r.optionsSet.value),v=b=>g.find(y=>ge(b,y.value,r.by));return Array.isArray(r.modelValue.value)?c=r.modelValue.value.map(b=>v(b)?.textContent??""):c=[v(r.modelValue.value)?.textContent??""],c.filter(Boolean)}),t=K(()=>u.value.length?u.value.join(", "):s.placeholder);return(c,g)=>(d(),w(e(Y),{ref:e(a),as:c.as,"as-child":c.asChild,style:{pointerEvents:"none"},"data-placeholder":u.value.length?void 0:s.placeholder},{default:m(()=>[T(c.$slots,"default",{selectedLabel:u.value,modelValue:e(r).modelValue.value},()=>[ie(pe(t.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),Ta=Ia,ka=D({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i,{nonce:a}=ze(s),f=$t(a),r=ye(),u=r.position==="item-aligned"?Xt():void 0,{forwardRef:t,currentElement:c}=ne();J(()=>{r?.onViewportChange(c.value)});const g=z(0);function v(b){const y=b.currentTarget,{shouldExpandOnScrollRef:I,contentWrapper:C}=u??{};if(I?.value&&C?.value){const O=Math.abs(g.value-y.scrollTop);if(O>0){const F=window.innerHeight-U*2,L=Number.parseFloat(C.value.style.minHeight),h=Number.parseFloat(C.value.style.height),B=Math.max(L,h);if(B<F){const S=B+O,l=Math.min(F,S),_=S-l;C.value.style.height=`${l}px`,C.value.style.bottom==="0px"&&(y.scrollTop=_>0?_:0,C.value.style.justifyContent="flex-end")}}}g.value=y.scrollTop}return(b,y)=>(d(),W(le,null,[N(e(Y),V({ref:e(t),"data-reka-select-viewport":"",role:"presentation"},{...b.$attrs,...s},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:v}),{default:m(()=>[T(b.$slots,"default")]),_:3},16),N(e(Y),{as:"style",nonce:e(f)},{default:m(()=>y[0]||(y[0]=[ie(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),Pa=ka;const Ke={slots:{base:["relative group rounded-md inline-flex items-center disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed",value:"truncate pointer-events-none",placeholder:"truncate text-dimmed",arrow:"fill-bg stroke-default",content:"max-h-[min(15rem,var(--reka-select-content-available-height,15rem))] w-(--reka-select-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden origin-(--reka-select-content-transform-origin) pointer-events-auto flex flex-col",viewport:"relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",group:"p-1 isolate",empty:"text-center text-muted",label:"font-semibold text-highlighted",separator:"-mx-1 my-1 h-px bg-border",item:["group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50","transition-colors before:transition-colors"],itemLeadingIcon:["shrink-0 text-dimmed group-data-highlighted:not-group-data-disabled:text-default","transition-colors"],itemLeadingAvatar:"shrink-0",itemLeadingAvatarSize:"",itemLeadingChip:"shrink-0",itemLeadingChipSize:"",itemTrailing:"ms-auto inline-flex gap-1.5 items-center",itemTrailingIcon:"shrink-0",itemWrapper:"flex-1 flex flex-col min-w-0",itemLabel:"truncate",itemDescription:"truncate text-muted"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1 text-[10px]/3 gap-1",item:"p-1 text-xs gap-1",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-2 text-xs"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1.5 text-[10px]/3 gap-1.5",item:"p-1.5 text-xs gap-1.5",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-2.5 text-xs"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-1.5 text-xs gap-1.5",item:"p-1.5 text-sm gap-1.5",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-2.5 text-sm"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-2 text-xs gap-2",item:"p-2 text-sm gap-2",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-3 text-sm"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6",label:"p-2 text-sm gap-2",item:"p-2 text-base gap-2",itemLeadingIcon:"size-6",itemLeadingAvatarSize:"xs",itemLeadingChip:"size-6",itemLeadingChipSize:"lg",itemTrailingIcon:"size-6",empty:"p-3 text-base"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented hover:bg-elevated disabled:bg-default",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented hover:bg-accented/75 disabled:bg-elevated",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent focus:outline-none"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},fixed:{false:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"},position:{popper:{content:"data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]"},"item-aligned":{content:""}},multiple:{true:""}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"outline-success/25 focus-visible:outline-3 focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"outline-info/25 focus-visible:outline-3 focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"outline-error/25 focus-visible:outline-3 focus-visible:ring-error"},{color:"primary",variant:["soft","ghost"],class:"outline-primary/25 focus-visible:outline-3"},{color:"secondary",variant:["soft","ghost"],class:"outline-secondary/25 focus-visible:outline-3"},{color:"success",variant:["soft","ghost"],class:"outline-success/25 focus-visible:outline-3"},{color:"info",variant:["soft","ghost"],class:"outline-info/25 focus-visible:outline-3"},{color:"warning",variant:["soft","ghost"],class:"outline-warning/25 focus-visible:outline-3"},{color:"error",variant:["soft","ghost"],class:"outline-error/25 focus-visible:outline-3"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted"},{color:"neutral",variant:["soft","ghost"],class:"outline-inverted/25 focus-visible:outline-3"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}},{fixed:!1,size:"xs",class:"md:text-xs"},{fixed:!1,size:"sm",class:"md:text-xs"},{fixed:!1,size:"md",class:"md:text-sm"},{fixed:!1,size:"lg",class:"md:text-sm"}],defaultVariants:{size:"md",color:"primary",variant:"outline",position:"popper"}},za=Object.assign({inheritAttrs:!1},{__name:"USelect",props:{id:{type:String,required:!1},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},trailingIcon:{type:null,required:!1},selectedIcon:{type:null,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},descriptionKey:{type:null,required:!1,default:"description"},items:{type:null,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},multiple:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},nullableValue:{type:String,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["change","blur","focus","update:modelValue","update:open"],setup(i,{expose:s,emit:a}){const f=i,r=a,u=xt(),t=qt("select",f),c=wt(),g=Ct(It(t,"open","defaultOpen","disabled","autocomplete","required","multiple","nullableValue"),r),v=Tt(ae(()=>t.portal)),b=K(()=>t.content?.position??c.ui?.select?.defaultVariants?.position??Ke.defaultVariants?.position),y=ae(()=>Pe(t.content,{side:"bottom",sideOffset:8,collisionPadding:8,position:b.value})),I=ae(()=>Pe(t.arrow,{rounded:!0})),{emitFormChange:C,emitFormInput:O,emitFormBlur:F,emitFormFocus:L,size:h,color:B,id:S,name:l,highlight:_,disabled:p,ariaAttrs:q}=kt(f),{orientation:k,size:A}=Pt(f),{isLeading:P,isTrailing:Z,leadingIconName:re,trailingIconName:oe}=Bt(ae(()=>Pe(t,{trailingIcon:c.ui.icons.chevronDown}))),qe=K(()=>A.value||h.value),he=K(()=>b.value==="item-aligned"),x=K(()=>Et({extend:Ke,...c.ui?.select||{}})({color:B.value??t.color,variant:t.variant,size:qe.value??t.size,loading:t.loading,highlight:_.value??t.highlight,leading:P.value||!!t.avatar||!!u.leading,trailing:Z.value||!!u.trailing,fieldGroup:k.value,position:b.value,multiple:t.multiple})),se=K(()=>t.items?.length?Ot(t.items)?t.items:[t.items]:[]),be=K(()=>se.value.flatMap(o=>o));function we(o){if(t.multiple&&Array.isArray(o)){const $=o.map(R=>Me(be.value,R,{labelKey:t.labelKey,valueKey:t.valueKey})).filter(R=>R!=null&&R!=="");return $.length>0?$.join(", "):void 0}return Me(be.value,o,{labelKey:t.labelKey,valueKey:t.valueKey})}const X=Re("triggerRef");function Ce(){t.autofocus&&X.value?.$el?.focus({focusVisible:!0})}J(()=>{setTimeout(()=>{Ce()},t.autofocusDelay)});function ue(o){t.modelModifiers?.trim&&(typeof o=="string"||o===null||o===void 0)&&(o=o?.trim()??null),t.modelModifiers?.number&&(o=Lt(o)),t.modelModifiers?.nullable&&(o??=null),t.modelModifiers?.optional&&!t.modelModifiers?.nullable&&o!==null&&(o??=void 0);const $=new Event("change",{target:{value:o}});r("change",$),C(),O()}function Ie(o){if(o){const $=new FocusEvent("focus");r("focus",$),L()}else{const $=new FocusEvent("blur");r("blur",$),F()}}function E(o){return typeof o=="object"&&o!==null}function Te(o){o||X.value?.$el?.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,button:0}))}const ke=Re("viewportRef");return s({triggerRef:ae(()=>X.value?.$el),viewportRef:ae(()=>{const o=ke.value;return o&&typeof o=="object"&&"$el"in o?o.$el:o})}),(o,$)=>(d(),w(e(Kt),V({name:e(l)},e(g),{autocomplete:e(t).autocomplete,disabled:e(p),"default-value":e(t).defaultValue,"model-value":i.modelValue,"onUpdate:modelValue":ue,"onUpdate:open":Ie}),{default:m(({modelValue:R,open:H})=>[N(e(Ca),V({id:e(S),ref_key:"triggerRef",ref:X,"data-slot":"base",class:x.value.base({class:[e(t).ui?.base,e(t).class]})},{...o.$attrs,...e(q)},{onClick:G=>Te(H)}),{default:m(()=>[e(P)||e(t).avatar||u.leading?(d(),W("span",{key:0,"data-slot":"leading",class:M(x.value.leading({class:e(t).ui?.leading}))},[T(o.$slots,"leading",{modelValue:R,open:H,ui:x.value},()=>[e(P)&&e(re)?(d(),w(_e,{key:0,name:e(re),"data-slot":"leadingIcon",class:M(x.value.leadingIcon({class:e(t).ui?.leadingIcon}))},null,8,["name","class"])):e(t).avatar?(d(),w(Fe,V({key:1,size:e(t).ui?.itemLeadingAvatarSize||x.value.itemLeadingAvatarSize()},e(t).avatar,{"data-slot":"itemLeadingAvatar",class:x.value.itemLeadingAvatar({class:e(t).ui?.itemLeadingAvatar})}),null,16,["size","class"])):j("",!0)])],2)):j("",!0),(d(!0),W(le,null,Se([we(R)],G=>(d(),w(e(Ta),{key:G,"data-slot":G!=null?"value":"placeholder",class:M(G!=null?x.value.value({class:e(t).ui?.value}):x.value.placeholder({class:e(t).ui?.placeholder}))},{default:m(()=>[T(o.$slots,"default",{modelValue:R,open:H,ui:x.value},()=>[ie(pe(G??e(t).placeholder??" "),1)])]),_:2},1032,["data-slot","class"]))),128)),e(Z)||u.trailing?(d(),W("span",{key:1,"data-slot":"trailing",class:M(x.value.trailing({class:e(t).ui?.trailing}))},[T(o.$slots,"trailing",{modelValue:R,open:H,ui:x.value},()=>[e(oe)?(d(),w(_e,{key:0,name:e(oe),"data-slot":"trailingIcon",class:M(x.value.trailingIcon({class:e(t).ui?.trailingIcon}))},null,8,["name","class"])):j("",!0)])],2)):j("",!0)]),_:2},1040,["id","class","onClick"]),N(e(Sa),xe(Ee(e(v))),{default:m(()=>[N(e(At),null,{default:m(()=>[N(e(ra),V({"data-slot":"content",class:x.value.content({class:e(t).ui?.content})},y.value),{default:m(()=>[T(o.$slots,"content-top"),(d(),w(je(he.value?e(Pa):"div"),{ref_key:"viewportRef",ref:ke,role:"presentation","data-slot":"viewport",class:M(x.value.viewport({class:e(t).ui?.viewport}))},{default:m(()=>[(d(!0),W(le,null,Se(se.value,(G,ee)=>(d(),w(e(da),{key:`group-${ee}`,"data-slot":"group",class:M(x.value.group({class:e(t).ui?.group}))},{default:m(()=>[(d(!0),W(le,null,Se(G,(n,te)=>(d(),W(le,{key:`group-${ee}-${te}`},[E(n)&&n.type==="label"?(d(),w(e(ba),{key:0,"data-slot":"label",class:M(x.value.label({class:[e(t).ui?.label,n.ui?.label,n.class]}))},{default:m(()=>[ie(pe(e(de)(n,e(t).labelKey)),1)]),_:2},1032,["class"])):E(n)&&n.type==="separator"?(d(),w(e(qa),{key:1,"data-slot":"separator",class:M(x.value.separator({class:[e(t).ui?.separator,n.ui?.separator,n.class]}))},null,8,["class"])):(d(),w(e(fa),{key:2,"data-slot":"item",class:M(x.value.item({class:[e(t).ui?.item,E(n)&&n.ui?.item,E(n)&&n.class]})),disabled:E(n)&&n.disabled,value:E(n)?e(de)(n,e(t).valueKey):n,onSelect:Je=>E(n)&&n.onSelect?.(Je)},{default:m(()=>[T(o.$slots,"item",{item:n,index:te,ui:x.value},()=>[T(o.$slots,"item-leading",{item:n,index:te,ui:x.value},()=>[E(n)&&n.icon?(d(),w(_e,{key:0,name:n.icon,"data-slot":"itemLeadingIcon",class:M(x.value.itemLeadingIcon({class:[e(t).ui?.itemLeadingIcon,n.ui?.itemLeadingIcon]}))},null,8,["name","class"])):E(n)&&n.avatar?(d(),w(Fe,V({key:1,size:n.ui?.itemLeadingAvatarSize||e(t).ui?.itemLeadingAvatarSize||x.value.itemLeadingAvatarSize()},{ref_for:!0},n.avatar,{"data-slot":"itemLeadingAvatar",class:x.value.itemLeadingAvatar({class:[e(t).ui?.itemLeadingAvatar,n.ui?.itemLeadingAvatar]})}),null,16,["size","class"])):E(n)&&n.chip?(d(),w(zt,V({key:2,size:n.ui?.itemLeadingChipSize||e(t).ui?.itemLeadingChipSize||x.value.itemLeadingChipSize(),inset:"",standalone:""},{ref_for:!0},n.chip,{"data-slot":"itemLeadingChip",class:x.value.itemLeadingChip({class:[e(t).ui?.itemLeadingChip,n.ui?.itemLeadingChip]})}),null,16,["size","class"])):j("",!0)]),Be("span",{"data-slot":"itemWrapper",class:M(x.value.itemWrapper({class:[e(t).ui?.itemWrapper,E(n)&&n.ui?.itemWrapper]}))},[N(e(ya),{"data-slot":"itemLabel",class:M(x.value.itemLabel({class:[e(t).ui?.itemLabel,E(n)&&n.ui?.itemLabel]}))},{default:m(()=>[T(o.$slots,"item-label",{item:n,index:te},()=>[ie(pe(E(n)?e(de)(n,e(t).labelKey):n),1)])]),_:2},1032,["class"]),E(n)&&(e(de)(n,e(t).descriptionKey)||u["item-description"])?(d(),W("span",{key:0,"data-slot":"itemDescription",class:M(x.value.itemDescription({class:[e(t).ui?.itemDescription,E(n)&&n.ui?.itemDescription]}))},[T(o.$slots,"item-description",{item:n,index:te},()=>[ie(pe(e(de)(n,e(t).descriptionKey)),1)])],2)):j("",!0)],2),Be("span",{"data-slot":"itemTrailing",class:M(x.value.itemTrailing({class:[e(t).ui?.itemTrailing,E(n)&&n.ui?.itemTrailing]}))},[T(o.$slots,"item-trailing",{item:n,index:te,ui:x.value}),N(e(va),{"as-child":""},{default:m(()=>[N(_e,{name:e(t).selectedIcon||e(c).ui.icons.check,"data-slot":"itemTrailingIcon",class:M(x.value.itemTrailingIcon({class:[e(t).ui?.itemTrailingIcon,E(n)&&n.ui?.itemTrailingIcon]}))},null,8,["name","class"])]),_:2},1024)],2)])]),_:2},1032,["class","disabled","value","onSelect"]))],64))),128))]),_:2},1032,["class"]))),128))]),_:3},8,["class"])),T(o.$slots,"content-bottom"),e(t).arrow?(d(),w(e(ta),V({key:0},I.value,{"data-slot":"arrow",class:x.value.arrow({class:e(t).ui?.arrow})}),null,16,["class"])):j("",!0)]),_:3},16,["class"])]),_:3})]),_:3},16)]),_:3},16,["name","autocomplete","disabled","default-value","model-value"]))}});export{za as _};
1
+ import{bV as Qe,r as z,h as K,aL as et,d as D,W as ze,X as Ve,b5 as ve,ax as tt,o as d,f as w,g as m,T,k as e,a_ as $e,c as W,q as j,F as le,y as Se,U as V,b9 as at,Y as me,B as Le,i as Be,bG as lt,bh as We,bl as it,bf as nt,be as rt,bg as ot,bW as He,at as st,j as N,bj as ut,H as fe,bk as dt,ae as je,bU as ct,bX as De,S as ne,C as J,G as ce,aC as pt,V as Y,O as ft,Z as xe,bm as gt,bn as vt,ab as Ge,$ as Ee,aA as mt,af as yt,ay as Oe,aJ as ht,bi as bt,bq as _t,bd as St,m as ie,t as pe,a0 as xt,a1 as qt,a3 as wt,a4 as Ct,a5 as It,br as Tt,aM as kt,bs as Pt,aX as Bt,aO as Re,b3 as ae,p as M,v as _e,aG as Fe,bu as At,aF as de,bt as zt,bv as Me,bw as Pe,aY as Lt,a6 as Et,by as Ot}from"./BrT_Sys2.js";import{u as Vt}from"./26ll_vBr.js";function Ne(i,s=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY){return Math.min(a,Math.max(s,i))}function $t(i){const s=Qe({nonce:z()});return K(()=>i?.value||s.nonce?.value)}const Dt=[" ","Enter","ArrowUp","ArrowDown"],Rt=[" ","Enter"],U=10;function ge(i,s,a){return i===void 0?!1:Array.isArray(i)?i.some(f=>Ae(f,s,a)):Ae(i,s,a)}function Ae(i,s,a){return i===void 0||s===void 0?!1:typeof i=="string"?i===s:typeof a=="function"?a(i,s):typeof a=="string"?i?.[a]===s?.[a]:et(i,s)}function Ft(i){return i==null||i===""||Array.isArray(i)&&i.length===0}const Mt=["value"],[Q,Ue]=me("SelectRoot");var Nt=D({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},nullableValue:{type:String,required:!1,default:""},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(i,{emit:s}){const a=i,f=s,{required:r,disabled:u,multiple:t,dir:c}=ze(a),g=Ve(a,"modelValue",f,{defaultValue:a.defaultValue??(t.value?[]:void 0),passive:a.modelValue===void 0,deep:!0}),v=Ve(a,"open",f,{defaultValue:a.defaultOpen,passive:a.open===void 0}),b=z(),y=z(),I=z({x:0,y:0}),C=K(()=>t.value&&Array.isArray(g.value)?g.value?.length===0:$e(g.value));ve({isProvider:!0});const O=tt(c),F=Vt(b),L=z(new Set),h=K(()=>Array.from(L.value).map(l=>l.value).join(";"));function B(l){if(t.value){const _=Array.isArray(g.value)?[...g.value]:[],p=_.findIndex(q=>Ae(q,l,a.by));p===-1?_.push(l):_.splice(p,1),g.value=[..._]}else g.value=l}function S(l){return Array.from(L.value).find(_=>ge(l,_.value,a.by))}return Ue({triggerElement:b,onTriggerChange:l=>{b.value=l},valueElement:y,onValueElementChange:l=>{y.value=l},contentId:"",modelValue:g,onValueChange:B,by:a.by,open:v,multiple:t,required:r,onOpenChange:l=>{v.value=l},dir:O,triggerPointerDownPosRef:I,disabled:u,isEmptyModelValue:C,optionsSet:L,onOptionAdd:l=>{const _=S(l.value);_&&L.value.delete(_),L.value.add(l)},onOptionRemove:l=>{const _=S(l.value);_&&L.value.delete(_)}}),(l,_)=>(d(),w(e(at),null,{default:m(()=>[T(l.$slots,"default",{modelValue:e(g),open:e(v)}),e(F)&&l.name?(d(),w(Ht,{key:h.value,"aria-hidden":"true",tabindex:"-1",multiple:e(t),required:e(r),name:l.name,autocomplete:l.autocomplete,disabled:e(u),value:e(g)},{default:m(()=>[e($e)(e(g))?(d(),W("option",{key:0,value:l.nullableValue},null,8,Mt)):j("v-if",!0),(d(!0),W(le,null,Se(Array.from(L.value),p=>(d(),W("option",V({key:p.value??""},{ref_for:!0},p),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):j("v-if",!0)]),_:3}))}}),Kt=Nt,Wt=D({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(i){const s=i,a=z(),f=Q();Le(()=>s.value,(u,t)=>{const c=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(c,"value").set;if(u!==t&&v&&a.value){const b=new Event("change",{bubbles:!0});v.call(a.value,u),a.value.dispatchEvent(b)}});function r(u){f.onValueChange(u.target.value)}return(u,t)=>(d(),w(e(lt),{"as-child":""},{default:m(()=>[Be("select",V({ref_key:"selectElement",ref:a},s,{onInput:r}),[T(u.$slots,"default")],16)]),_:3}))}}),Ht=Wt,jt=D({__name:"SelectPopperPosition",props:{memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:U},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const a=We(i);return(f,r)=>(d(),w(e(it),V(e(a),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:m(()=>[T(f.$slots,"default")]),_:3},16))}}),Gt=jt;const Ye={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[ye,Xe]=me("SelectContent");var Ut=D({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(i,{emit:s}){const a=i,f=s,r=Q();nt(),rt(a.bodyLock);const{CollectionSlot:u,getItems:t}=ve(),c=z();ot(c);const{search:g,handleTypeaheadSearch:v}=He(),b=z(),y=z(),I=z(),C=z(!1),O=z(!1),F=z(!1);function L(){y.value&&c.value&&De([y.value,c.value])}Le(C,()=>{L()});const{onOpenChange:h,triggerPointerDownPosRef:B}=r;st(p=>{if(!c.value)return;let q={x:0,y:0};const k=P=>{q={x:Math.abs(Math.round(P.pageX)-(B.value?.x??0)),y:Math.abs(Math.round(P.pageY)-(B.value?.y??0))}},A=P=>{P.pointerType!=="touch"&&(q.x<=10&&q.y<=10?P.preventDefault():c.value?.contains(P.target)||h(!1),document.removeEventListener("pointermove",k),B.value=null)};B.value!==null&&(document.addEventListener("pointermove",k),document.addEventListener("pointerup",A,{capture:!0,once:!0})),p(()=>{document.removeEventListener("pointermove",k),document.removeEventListener("pointerup",A,{capture:!0})})});function S(p){const q=p.ctrlKey||p.altKey||p.metaKey;if(p.key==="Tab"&&p.preventDefault(),!q&&p.key.length===1&&v(p.key,t()),["ArrowUp","ArrowDown","Home","End"].includes(p.key)){let A=[...t().map(P=>P.ref)];if(["ArrowUp","End"].includes(p.key)&&(A=A.slice().reverse()),["ArrowUp","ArrowDown"].includes(p.key)){const P=p.target,Z=A.indexOf(P);A=A.slice(Z+1)}setTimeout(()=>De(A)),p.preventDefault()}}const l=K(()=>a.position==="popper"?a:{}),_=We(l.value);return Xe({content:c,viewport:b,onViewportChange:p=>{b.value=p},itemRefCallback:(p,q,k)=>{const A=!O.value&&!k,P=ge(r.modelValue.value,q,r.by);if(r.multiple.value){if(F.value)return;(P||A)&&(y.value=p,P&&(F.value=!0))}else(P||A)&&(y.value=p);A&&(O.value=!0)},selectedItem:y,selectedItemText:I,onItemLeave:()=>{c.value?.focus()},itemTextRefCallback:(p,q,k)=>{const A=!O.value&&!k;(ge(r.modelValue.value,q,r.by)||A)&&(I.value=p)},focusSelectedItem:L,position:a.position,isPositioned:C,searchRef:g}),(p,q)=>(d(),w(e(u),null,{default:m(()=>[N(e(ut),{"as-child":"",onMountAutoFocus:q[6]||(q[6]=fe(()=>{},["prevent"])),onUnmountAutoFocus:q[7]||(q[7]=k=>{f("closeAutoFocus",k),!k.defaultPrevented&&(e(r).triggerElement.value?.focus({preventScroll:!0}),k.preventDefault())})},{default:m(()=>[N(e(dt),{"as-child":"","disable-outside-pointer-events":p.disableOutsidePointerEvents,onFocusOutside:q[2]||(q[2]=fe(()=>{},["prevent"])),onDismiss:q[3]||(q[3]=k=>e(r).onOpenChange(!1)),onEscapeKeyDown:q[4]||(q[4]=k=>f("escapeKeyDown",k)),onPointerDownOutside:q[5]||(q[5]=k=>f("pointerDownOutside",k))},{default:m(()=>[(d(),w(je(p.position==="popper"?Gt:Qt),V({...p.$attrs,...e(_)},{id:e(r).contentId,ref:k=>{if(!k)return;const A=e(ct)(k);A?.hasAttribute("data-reka-popper-content-wrapper")?c.value=A.firstElementChild:c.value=A},role:"listbox","data-state":e(r).open.value?"open":"closed",dir:e(r).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:q[0]||(q[0]=fe(()=>{},["prevent"])),onPlaced:q[1]||(q[1]=k=>C.value=!0),onKeydown:S}),{default:m(()=>[T(p.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),Yt=Ut;const[Xt,Zt]=me("SelectItemAlignedPosition");var Jt=D({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(i,{emit:s}){const a=i,f=s,{getItems:r}=ve(),u=Q(),t=ye(),c=z(!1),g=z(!0),v=z(),{forwardRef:b,currentElement:y}=ne(),{viewport:I,selectedItem:C,selectedItemText:O,focusSelectedItem:F}=t;function L(){if(u.triggerElement.value&&u.valueElement.value&&v.value&&y.value&&I?.value&&C?.value&&O?.value){const S=u.triggerElement.value.getBoundingClientRect(),l=y.value.getBoundingClientRect(),_=u.valueElement.value.getBoundingClientRect(),p=O.value.getBoundingClientRect();if(u.dir.value!=="rtl"){const o=p.left-l.left,$=_.left-o,R=S.left-$,H=S.width+R,G=Math.max(H,l.width),ee=window.innerWidth-U,n=Ne($,U,Math.max(U,ee-G));v.value.style.minWidth=`${H}px`,v.value.style.left=`${n}px`}else{const o=l.right-p.right,$=window.innerWidth-_.right-o,R=window.innerWidth-S.right-$,H=S.width+R,G=Math.max(H,l.width),ee=window.innerWidth-U,n=Ne($,U,Math.max(U,ee-G));v.value.style.minWidth=`${H}px`,v.value.style.right=`${n}px`}const q=r().map(o=>o.ref),k=window.innerHeight-U*2,A=I.value.scrollHeight,P=window.getComputedStyle(y.value),Z=Number.parseInt(P.borderTopWidth,10),re=Number.parseInt(P.paddingTop,10),oe=Number.parseInt(P.borderBottomWidth,10),qe=Number.parseInt(P.paddingBottom,10),he=Z+re+A+qe+oe,x=Math.min(C.value.offsetHeight*5,he),se=window.getComputedStyle(I.value),be=Number.parseInt(se.paddingTop,10),we=Number.parseInt(se.paddingBottom,10),X=S.top+S.height/2-U,Ce=k-X,ue=C.value.offsetHeight/2,Ie=C.value.offsetTop+ue,E=Z+re+Ie,Te=he-E;if(E<=X){const o=C.value===q.at(-1);v.value.style.bottom="0px";const $=y.value.clientHeight-I.value.offsetTop-I.value.offsetHeight,R=Math.max(Ce,ue+(o?we:0)+$+oe),H=E+R;v.value.style.height=`${H}px`}else{const o=C.value===q[0];v.value.style.top="0px";const R=Math.max(X,Z+I.value.offsetTop+(o?be:0)+ue)+Te;v.value.style.height=`${R}px`,I.value.scrollTop=E-X+I.value.offsetTop}v.value.style.margin=`${U}px 0`,v.value.style.minHeight=`${x}px`,v.value.style.maxHeight=`${k}px`,f("placed"),requestAnimationFrame(()=>c.value=!0)}}const h=z("");J(async()=>{await ce(),L(),y.value&&(h.value=window.getComputedStyle(y.value).zIndex)});function B(S){S&&g.value===!0&&(L(),F?.(),g.value=!1)}return pt(u.triggerElement,()=>{L()}),Zt({contentWrapper:v,shouldExpandOnScrollRef:c,onScrollButtonChange:B}),(S,l)=>(d(),W("div",{ref_key:"contentWrapperElement",ref:v,style:ft({display:"flex",flexDirection:"column",position:"fixed",zIndex:h.value})},[N(e(Y),V({ref:e(b),style:{boxSizing:"border-box",maxHeight:"100%"}},{...S.$attrs,...a}),{default:m(()=>[T(S.$slots,"default")]),_:3},16)],4))}}),Qt=Jt,ea=D({__name:"SelectArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(i){const s=i,a=ye(Ye);return(f,r)=>e(a).position==="popper"?(d(),w(e(gt),xe(V({key:0},s)),{default:m(()=>[T(f.$slots,"default")]),_:3},16)):j("v-if",!0)}}),ta=ea,aa=D({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(i){return Ue(i.context),Xe(Ye),(a,f)=>T(a.$slots,"default")}}),la=aa;const ia={key:1};var na=D({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(i,{emit:s}){const a=i,r=vt(a,s),u=Q(),t=z();J(()=>{t.value=new DocumentFragment});const c=z(),g=K(()=>a.forceMount||u.open.value),v=z(g.value);let b;function y(){b&&(clearTimeout(b),b=void 0)}return Le(g,(I,C,O)=>{y(),b=setTimeout(()=>{v.value=g.value,b=void 0}),O(y)}),Ge(y),(I,C)=>g.value||v.value||c.value?.present?(d(),w(e(mt),{key:0,ref_key:"presenceRef",ref:c,present:g.value},{default:m(()=>[N(Yt,xe(Ee({...e(r),...I.$attrs})),{default:m(()=>[T(I.$slots,"default")]),_:3},16)]),_:3},8,["present"])):t.value?(d(),W("div",ia,[(d(),w(yt,{to:t.value},[N(la,{context:e(u)},{default:m(()=>[T(I.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):j("v-if",!0)}}),ra=na;const[oa,sa]=me("SelectGroup");var ua=D({__name:"SelectGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i,a=Oe(void 0,"reka-select-group");return sa({id:a}),(f,r)=>(d(),w(e(Y),V({role:"group"},s,{"aria-labelledby":e(a)}),{default:m(()=>[T(f.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),da=ua;const[Ze,ca]=me("SelectItem");var pa=D({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(i,{emit:s}){const a=i,f=s,{disabled:r}=ze(a),u=Q(),t=ye(),{forwardRef:c,currentElement:g}=ne(),{CollectionItem:v}=ve(),b=K(()=>ge(u.modelValue?.value,a.value,u.by)),y=z(!1),I=z(a.textValue??""),C=Oe(void 0,"reka-select-item-text"),O="select.select";async function F(l){if(l.defaultPrevented)return;const _={originalEvent:l,value:a.value};ht(O,L,_)}async function L(l){await ce(),f("select",l),!l.defaultPrevented&&(r.value||(u.onValueChange(a.value),u.multiple.value||u.onOpenChange(!1)))}async function h(l){await ce(),!l.defaultPrevented&&(r.value?t.onItemLeave?.():l.currentTarget?.focus({preventScroll:!0}))}async function B(l){await ce(),!l.defaultPrevented&&l.currentTarget===bt()&&t.onItemLeave?.()}async function S(l){await ce(),!(l.defaultPrevented||t.searchRef?.value!==""&&l.key===" ")&&(Rt.includes(l.key)&&F(l),l.key===" "&&l.preventDefault())}if(a.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return J(()=>{g.value&&t.itemRefCallback(g.value,a.value,a.disabled)}),ca({value:a.value,disabled:r,textId:C,isSelected:b,onItemTextChange:l=>{I.value=((I.value||l?.textContent)??"").trim()}}),(l,_)=>(d(),w(e(v),{value:{textValue:I.value}},{default:m(()=>[N(e(Y),{ref:e(c),role:"option","aria-labelledby":e(C),"data-highlighted":y.value?"":void 0,"aria-selected":b.value,"data-state":b.value?"checked":"unchecked","aria-disabled":e(r)||void 0,"data-disabled":e(r)?"":void 0,tabindex:e(r)?void 0:-1,as:l.as,"as-child":l.asChild,onFocus:_[0]||(_[0]=p=>y.value=!0),onBlur:_[1]||(_[1]=p=>y.value=!1),onPointerup:F,onPointerdown:_[2]||(_[2]=p=>{p.currentTarget.focus({preventScroll:!0})}),onTouchend:_[3]||(_[3]=fe(()=>{},["prevent","stop"])),onPointermove:h,onPointerleave:B,onKeydown:S},{default:m(()=>[T(l.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),fa=pa,ga=D({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(i){const s=i,a=Ze();return(f,r)=>e(a).isSelected.value?(d(),w(e(Y),V({key:0,"aria-hidden":"true"},s),{default:m(()=>[T(f.$slots,"default")]),_:3},16)):j("v-if",!0)}}),va=ga,ma=D({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(i){const s=i,a=Q(),f=ye(),r=Ze(),{forwardRef:u,currentElement:t}=ne(),c=K(()=>({value:r.value,disabled:r.disabled.value,textContent:t.value?.textContent??r.value?.toString()??""}));return J(()=>{t.value&&(r.onItemTextChange(t.value),f.itemTextRefCallback(t.value,r.value,r.disabled.value),a.onOptionAdd(c.value))}),Ge(()=>{a.onOptionRemove(c.value)}),(g,v)=>(d(),w(e(Y),V({id:e(r).textId,ref:e(u)},{...s,...g.$attrs}),{default:m(()=>[T(g.$slots,"default")]),_:3},16,["id"]))}}),ya=ma,ha=D({__name:"SelectLabel",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(i){const s=i,a=oa({id:""});return(f,r)=>(d(),w(e(Y),V(s,{id:e(a).id}),{default:m(()=>[T(f.$slots,"default")]),_:3},16,["id"]))}}),ba=ha,_a=D({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(i){const s=i;return(a,f)=>(d(),w(e(_t),xe(Ee(s)),{default:m(()=>[T(a.$slots,"default")]),_:3},16))}}),Sa=_a,xa=D({__name:"SelectSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i;return(a,f)=>(d(),w(e(Y),V({"aria-hidden":"true"},s),{default:m(()=>[T(a.$slots,"default")]),_:3},16))}}),qa=xa,wa=D({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(i){const s=i,a=Q(),{forwardRef:f,currentElement:r}=ne(),u=K(()=>a.disabled?.value||s.disabled);a.contentId||=Oe(void 0,"reka-select-content"),J(()=>{a.onTriggerChange(r.value)});const{getItems:t}=ve(),{search:c,handleTypeaheadSearch:g,resetTypeahead:v}=He();function b(){u.value||(a.onOpenChange(!0),v())}function y(h){b(),a.triggerPointerDownPosRef.value={x:Math.round(h.pageX),y:Math.round(h.pageY)}}function I(h){return h.button===0&&h.ctrlKey===!1}let C=!1;function O(h){if(h.pointerType==="touch")return h.preventDefault();const B=h.target;B.hasPointerCapture(h.pointerId)&&B.releasePointerCapture(h.pointerId),I(h)&&(y(h),C=!0)}function F(h){I(h)&&h.preventDefault()}function L(h){C||h.currentTarget?.focus(),C=!1}return(h,B)=>(d(),w(e(St),{"as-child":"",reference:h.reference},{default:m(()=>[N(e(Y),{ref:e(f),role:"combobox",type:h.as==="button"?"button":void 0,"aria-controls":e(a).contentId,"aria-expanded":e(a).open.value||!1,"aria-required":e(a).required?.value,"aria-autocomplete":"none",disabled:u.value,dir:e(a)?.dir.value,"data-state":e(a)?.open.value?"open":"closed","data-disabled":u.value?"":void 0,"data-placeholder":e(Ft)(e(a).modelValue?.value)?"":void 0,"as-child":h.asChild,as:h.as,onClick:L,onPointerdown:O,onMousedown:F,onPointerup:B[0]||(B[0]=fe(S=>{S.pointerType==="touch"&&y(S)},["prevent"])),onKeydown:B[1]||(B[1]=S=>{const l=e(c)!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&l&&S.key===" "||(e(g)(S.key,e(t)()),e(Dt).includes(S.key)&&(b(),S.preventDefault()))})},{default:m(()=>[T(h.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]),_:3},8,["reference"]))}}),Ca=wa,Ia=D({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(i){const s=i,{forwardRef:a,currentElement:f}=ne(),r=Q();J(()=>{r.valueElement=f});const u=K(()=>{let c=[];const g=Array.from(r.optionsSet.value),v=b=>g.find(y=>ge(b,y.value,r.by));return Array.isArray(r.modelValue.value)?c=r.modelValue.value.map(b=>v(b)?.textContent??""):c=[v(r.modelValue.value)?.textContent??""],c.filter(Boolean)}),t=K(()=>u.value.length?u.value.join(", "):s.placeholder);return(c,g)=>(d(),w(e(Y),{ref:e(a),as:c.as,"as-child":c.asChild,style:{pointerEvents:"none"},"data-placeholder":u.value.length?void 0:s.placeholder},{default:m(()=>[T(c.$slots,"default",{selectedLabel:u.value,modelValue:e(r).modelValue.value},()=>[ie(pe(t.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),Ta=Ia,ka=D({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i,{nonce:a}=ze(s),f=$t(a),r=ye(),u=r.position==="item-aligned"?Xt():void 0,{forwardRef:t,currentElement:c}=ne();J(()=>{r?.onViewportChange(c.value)});const g=z(0);function v(b){const y=b.currentTarget,{shouldExpandOnScrollRef:I,contentWrapper:C}=u??{};if(I?.value&&C?.value){const O=Math.abs(g.value-y.scrollTop);if(O>0){const F=window.innerHeight-U*2,L=Number.parseFloat(C.value.style.minHeight),h=Number.parseFloat(C.value.style.height),B=Math.max(L,h);if(B<F){const S=B+O,l=Math.min(F,S),_=S-l;C.value.style.height=`${l}px`,C.value.style.bottom==="0px"&&(y.scrollTop=_>0?_:0,C.value.style.justifyContent="flex-end")}}}g.value=y.scrollTop}return(b,y)=>(d(),W(le,null,[N(e(Y),V({ref:e(t),"data-reka-select-viewport":"",role:"presentation"},{...b.$attrs,...s},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:v}),{default:m(()=>[T(b.$slots,"default")]),_:3},16),N(e(Y),{as:"style",nonce:e(f)},{default:m(()=>y[0]||(y[0]=[ie(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),Pa=ka;const Ke={slots:{base:["relative group rounded-md inline-flex items-center disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed",value:"truncate pointer-events-none",placeholder:"truncate text-dimmed",arrow:"fill-bg stroke-default",content:"max-h-[min(15rem,var(--reka-select-content-available-height,15rem))] w-(--reka-select-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden origin-(--reka-select-content-transform-origin) pointer-events-auto flex flex-col",viewport:"relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",group:"p-1 isolate",empty:"text-center text-muted",label:"font-semibold text-highlighted",separator:"-mx-1 my-1 h-px bg-border",item:["group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50","transition-colors before:transition-colors"],itemLeadingIcon:["shrink-0 text-dimmed group-data-highlighted:not-group-data-disabled:text-default","transition-colors"],itemLeadingAvatar:"shrink-0",itemLeadingAvatarSize:"",itemLeadingChip:"shrink-0",itemLeadingChipSize:"",itemTrailing:"ms-auto inline-flex gap-1.5 items-center",itemTrailingIcon:"shrink-0",itemWrapper:"flex-1 flex flex-col min-w-0",itemLabel:"truncate",itemDescription:"truncate text-muted"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1 text-[10px]/3 gap-1",item:"p-1 text-xs gap-1",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-2 text-xs"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1.5 text-[10px]/3 gap-1.5",item:"p-1.5 text-xs gap-1.5",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-2.5 text-xs"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-1.5 text-xs gap-1.5",item:"p-1.5 text-sm gap-1.5",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-2.5 text-sm"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-2 text-xs gap-2",item:"p-2 text-sm gap-2",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-3 text-sm"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6",label:"p-2 text-sm gap-2",item:"p-2 text-base gap-2",itemLeadingIcon:"size-6",itemLeadingAvatarSize:"xs",itemLeadingChip:"size-6",itemLeadingChipSize:"lg",itemTrailingIcon:"size-6",empty:"p-3 text-base"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented hover:bg-elevated disabled:bg-default",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented hover:bg-accented/75 disabled:bg-elevated",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent focus:outline-none"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},fixed:{false:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"},position:{popper:{content:"data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]"},"item-aligned":{content:""}},multiple:{true:""}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"outline-success/25 focus-visible:outline-3 focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"outline-info/25 focus-visible:outline-3 focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"outline-error/25 focus-visible:outline-3 focus-visible:ring-error"},{color:"primary",variant:["soft","ghost"],class:"outline-primary/25 focus-visible:outline-3"},{color:"secondary",variant:["soft","ghost"],class:"outline-secondary/25 focus-visible:outline-3"},{color:"success",variant:["soft","ghost"],class:"outline-success/25 focus-visible:outline-3"},{color:"info",variant:["soft","ghost"],class:"outline-info/25 focus-visible:outline-3"},{color:"warning",variant:["soft","ghost"],class:"outline-warning/25 focus-visible:outline-3"},{color:"error",variant:["soft","ghost"],class:"outline-error/25 focus-visible:outline-3"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted"},{color:"neutral",variant:["soft","ghost"],class:"outline-inverted/25 focus-visible:outline-3"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}},{fixed:!1,size:"xs",class:"md:text-xs"},{fixed:!1,size:"sm",class:"md:text-xs"},{fixed:!1,size:"md",class:"md:text-sm"},{fixed:!1,size:"lg",class:"md:text-sm"}],defaultVariants:{size:"md",color:"primary",variant:"outline",position:"popper"}},za=Object.assign({inheritAttrs:!1},{__name:"USelect",props:{id:{type:String,required:!1},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},trailingIcon:{type:null,required:!1},selectedIcon:{type:null,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},descriptionKey:{type:null,required:!1,default:"description"},items:{type:null,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},multiple:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},nullableValue:{type:String,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["change","blur","focus","update:modelValue","update:open"],setup(i,{expose:s,emit:a}){const f=i,r=a,u=xt(),t=qt("select",f),c=wt(),g=Ct(It(t,"open","defaultOpen","disabled","autocomplete","required","multiple","nullableValue"),r),v=Tt(ae(()=>t.portal)),b=K(()=>t.content?.position??c.ui?.select?.defaultVariants?.position??Ke.defaultVariants?.position),y=ae(()=>Pe(t.content,{side:"bottom",sideOffset:8,collisionPadding:8,position:b.value})),I=ae(()=>Pe(t.arrow,{rounded:!0})),{emitFormChange:C,emitFormInput:O,emitFormBlur:F,emitFormFocus:L,size:h,color:B,id:S,name:l,highlight:_,disabled:p,ariaAttrs:q}=kt(f),{orientation:k,size:A}=Pt(f),{isLeading:P,isTrailing:Z,leadingIconName:re,trailingIconName:oe}=Bt(ae(()=>Pe(t,{trailingIcon:c.ui.icons.chevronDown}))),qe=K(()=>A.value||h.value),he=K(()=>b.value==="item-aligned"),x=K(()=>Et({extend:Ke,...c.ui?.select||{}})({color:B.value??t.color,variant:t.variant,size:qe.value??t.size,loading:t.loading,highlight:_.value??t.highlight,leading:P.value||!!t.avatar||!!u.leading,trailing:Z.value||!!u.trailing,fieldGroup:k.value,position:b.value,multiple:t.multiple})),se=K(()=>t.items?.length?Ot(t.items)?t.items:[t.items]:[]),be=K(()=>se.value.flatMap(o=>o));function we(o){if(t.multiple&&Array.isArray(o)){const $=o.map(R=>Me(be.value,R,{labelKey:t.labelKey,valueKey:t.valueKey})).filter(R=>R!=null&&R!=="");return $.length>0?$.join(", "):void 0}return Me(be.value,o,{labelKey:t.labelKey,valueKey:t.valueKey})}const X=Re("triggerRef");function Ce(){t.autofocus&&X.value?.$el?.focus({focusVisible:!0})}J(()=>{setTimeout(()=>{Ce()},t.autofocusDelay)});function ue(o){t.modelModifiers?.trim&&(typeof o=="string"||o===null||o===void 0)&&(o=o?.trim()??null),t.modelModifiers?.number&&(o=Lt(o)),t.modelModifiers?.nullable&&(o??=null),t.modelModifiers?.optional&&!t.modelModifiers?.nullable&&o!==null&&(o??=void 0);const $=new Event("change",{target:{value:o}});r("change",$),C(),O()}function Ie(o){if(o){const $=new FocusEvent("focus");r("focus",$),L()}else{const $=new FocusEvent("blur");r("blur",$),F()}}function E(o){return typeof o=="object"&&o!==null}function Te(o){o||X.value?.$el?.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,button:0}))}const ke=Re("viewportRef");return s({triggerRef:ae(()=>X.value?.$el),viewportRef:ae(()=>{const o=ke.value;return o&&typeof o=="object"&&"$el"in o?o.$el:o})}),(o,$)=>(d(),w(e(Kt),V({name:e(l)},e(g),{autocomplete:e(t).autocomplete,disabled:e(p),"default-value":e(t).defaultValue,"model-value":i.modelValue,"onUpdate:modelValue":ue,"onUpdate:open":Ie}),{default:m(({modelValue:R,open:H})=>[N(e(Ca),V({id:e(S),ref_key:"triggerRef",ref:X,"data-slot":"base",class:x.value.base({class:[e(t).ui?.base,e(t).class]})},{...o.$attrs,...e(q)},{onClick:G=>Te(H)}),{default:m(()=>[e(P)||e(t).avatar||u.leading?(d(),W("span",{key:0,"data-slot":"leading",class:M(x.value.leading({class:e(t).ui?.leading}))},[T(o.$slots,"leading",{modelValue:R,open:H,ui:x.value},()=>[e(P)&&e(re)?(d(),w(_e,{key:0,name:e(re),"data-slot":"leadingIcon",class:M(x.value.leadingIcon({class:e(t).ui?.leadingIcon}))},null,8,["name","class"])):e(t).avatar?(d(),w(Fe,V({key:1,size:e(t).ui?.itemLeadingAvatarSize||x.value.itemLeadingAvatarSize()},e(t).avatar,{"data-slot":"itemLeadingAvatar",class:x.value.itemLeadingAvatar({class:e(t).ui?.itemLeadingAvatar})}),null,16,["size","class"])):j("",!0)])],2)):j("",!0),(d(!0),W(le,null,Se([we(R)],G=>(d(),w(e(Ta),{key:G,"data-slot":G!=null?"value":"placeholder",class:M(G!=null?x.value.value({class:e(t).ui?.value}):x.value.placeholder({class:e(t).ui?.placeholder}))},{default:m(()=>[T(o.$slots,"default",{modelValue:R,open:H,ui:x.value},()=>[ie(pe(G??e(t).placeholder??" "),1)])]),_:2},1032,["data-slot","class"]))),128)),e(Z)||u.trailing?(d(),W("span",{key:1,"data-slot":"trailing",class:M(x.value.trailing({class:e(t).ui?.trailing}))},[T(o.$slots,"trailing",{modelValue:R,open:H,ui:x.value},()=>[e(oe)?(d(),w(_e,{key:0,name:e(oe),"data-slot":"trailingIcon",class:M(x.value.trailingIcon({class:e(t).ui?.trailingIcon}))},null,8,["name","class"])):j("",!0)])],2)):j("",!0)]),_:2},1040,["id","class","onClick"]),N(e(Sa),xe(Ee(e(v))),{default:m(()=>[N(e(At),null,{default:m(()=>[N(e(ra),V({"data-slot":"content",class:x.value.content({class:e(t).ui?.content})},y.value),{default:m(()=>[T(o.$slots,"content-top"),(d(),w(je(he.value?e(Pa):"div"),{ref_key:"viewportRef",ref:ke,role:"presentation","data-slot":"viewport",class:M(x.value.viewport({class:e(t).ui?.viewport}))},{default:m(()=>[(d(!0),W(le,null,Se(se.value,(G,ee)=>(d(),w(e(da),{key:`group-${ee}`,"data-slot":"group",class:M(x.value.group({class:e(t).ui?.group}))},{default:m(()=>[(d(!0),W(le,null,Se(G,(n,te)=>(d(),W(le,{key:`group-${ee}-${te}`},[E(n)&&n.type==="label"?(d(),w(e(ba),{key:0,"data-slot":"label",class:M(x.value.label({class:[e(t).ui?.label,n.ui?.label,n.class]}))},{default:m(()=>[ie(pe(e(de)(n,e(t).labelKey)),1)]),_:2},1032,["class"])):E(n)&&n.type==="separator"?(d(),w(e(qa),{key:1,"data-slot":"separator",class:M(x.value.separator({class:[e(t).ui?.separator,n.ui?.separator,n.class]}))},null,8,["class"])):(d(),w(e(fa),{key:2,"data-slot":"item",class:M(x.value.item({class:[e(t).ui?.item,E(n)&&n.ui?.item,E(n)&&n.class]})),disabled:E(n)&&n.disabled,value:E(n)?e(de)(n,e(t).valueKey):n,onSelect:Je=>E(n)&&n.onSelect?.(Je)},{default:m(()=>[T(o.$slots,"item",{item:n,index:te,ui:x.value},()=>[T(o.$slots,"item-leading",{item:n,index:te,ui:x.value},()=>[E(n)&&n.icon?(d(),w(_e,{key:0,name:n.icon,"data-slot":"itemLeadingIcon",class:M(x.value.itemLeadingIcon({class:[e(t).ui?.itemLeadingIcon,n.ui?.itemLeadingIcon]}))},null,8,["name","class"])):E(n)&&n.avatar?(d(),w(Fe,V({key:1,size:n.ui?.itemLeadingAvatarSize||e(t).ui?.itemLeadingAvatarSize||x.value.itemLeadingAvatarSize()},{ref_for:!0},n.avatar,{"data-slot":"itemLeadingAvatar",class:x.value.itemLeadingAvatar({class:[e(t).ui?.itemLeadingAvatar,n.ui?.itemLeadingAvatar]})}),null,16,["size","class"])):E(n)&&n.chip?(d(),w(zt,V({key:2,size:n.ui?.itemLeadingChipSize||e(t).ui?.itemLeadingChipSize||x.value.itemLeadingChipSize(),inset:"",standalone:""},{ref_for:!0},n.chip,{"data-slot":"itemLeadingChip",class:x.value.itemLeadingChip({class:[e(t).ui?.itemLeadingChip,n.ui?.itemLeadingChip]})}),null,16,["size","class"])):j("",!0)]),Be("span",{"data-slot":"itemWrapper",class:M(x.value.itemWrapper({class:[e(t).ui?.itemWrapper,E(n)&&n.ui?.itemWrapper]}))},[N(e(ya),{"data-slot":"itemLabel",class:M(x.value.itemLabel({class:[e(t).ui?.itemLabel,E(n)&&n.ui?.itemLabel]}))},{default:m(()=>[T(o.$slots,"item-label",{item:n,index:te},()=>[ie(pe(E(n)?e(de)(n,e(t).labelKey):n),1)])]),_:2},1032,["class"]),E(n)&&(e(de)(n,e(t).descriptionKey)||u["item-description"])?(d(),W("span",{key:0,"data-slot":"itemDescription",class:M(x.value.itemDescription({class:[e(t).ui?.itemDescription,E(n)&&n.ui?.itemDescription]}))},[T(o.$slots,"item-description",{item:n,index:te},()=>[ie(pe(e(de)(n,e(t).descriptionKey)),1)])],2)):j("",!0)],2),Be("span",{"data-slot":"itemTrailing",class:M(x.value.itemTrailing({class:[e(t).ui?.itemTrailing,E(n)&&n.ui?.itemTrailing]}))},[T(o.$slots,"item-trailing",{item:n,index:te,ui:x.value}),N(e(va),{"as-child":""},{default:m(()=>[N(_e,{name:e(t).selectedIcon||e(c).ui.icons.check,"data-slot":"itemTrailingIcon",class:M(x.value.itemTrailingIcon({class:[e(t).ui?.itemTrailingIcon,E(n)&&n.ui?.itemTrailingIcon]}))},null,8,["name","class"])]),_:2},1024)],2)])]),_:2},1032,["class","disabled","value","onSelect"]))],64))),128))]),_:2},1032,["class"]))),128))]),_:3},8,["class"])),T(o.$slots,"content-bottom"),e(t).arrow?(d(),w(e(ta),V({key:0},I.value,{"data-slot":"arrow",class:x.value.arrow({class:e(t).ui?.arrow})}),null,16,["class"])):j("",!0)]),_:3},16,["class"])]),_:3})]),_:3},16)]),_:3},16,["name","autocomplete","disabled","default-value","model-value"]))}});export{za as _};
@@ -1 +1 @@
1
- import{a_ as l,aL as s}from"./B8fs6GU9.js";function t(r,i){return l(r)?!1:Array.isArray(r)?r.some(a=>s(a,i)):s(r,i)}export{t as i};
1
+ import{a_ as l,aL as s}from"./BrT_Sys2.js";function t(r,i){return l(r)?!1:Array.isArray(r)?r.some(a=>s(a,i)):s(r,i)}export{t as i};
@@ -1 +1 @@
1
- import{r}from"./B8fs6GU9.js";function n(i){const o=`piwi-tree-view-${i}`,t=r(!1);try{const e=document.cookie.match(new RegExp(`(?:^|;\\s*)${o}=([^;]*)`));e&&(t.value=e[1]==="true")}catch{}function c(e){t.value=e,document.cookie=`${o}=${e}; path=/; max-age=31536000; sameSite=lax`}return{treeView:t,setTreeView:c}}export{n as u};
1
+ import{r}from"./BrT_Sys2.js";function n(i){const o=`piwi-tree-view-${i}`,t=r(!1);try{const e=document.cookie.match(new RegExp(`(?:^|;\\s*)${o}=([^;]*)`));e&&(t.value=e[1]==="true")}catch{}function c(e){t.value=e,document.cookie=`${o}=${e}; path=/; max-age=31536000; sameSite=lax`}return{treeView:t,setTreeView:c}}export{n as u};
@@ -1 +1 @@
1
- import{r as C,B as I,c4 as N,al as D,c5 as X,G,aL as Y,Y as K,a1 as U,a4 as Q,a$ as Z,a2 as V,a3 as H,o as F,f as W,U as ee,k as p,_ as te,h as k,a6 as J,c6 as oe,l as R,g as ne,T as ie,p as ae,V as re}from"./B8fs6GU9.js";const se=3456e4;function le(e,a,t){const n=e.indexOf(";",a);return n===-1?t:n}function ue(e,a,t){const n=e.indexOf("=",a);return n<t?n:-1}function M(e,a,t){if(a===t)return"";let n=a,i=t;do{const l=e.charCodeAt(n);if(l!==32&&l!==9)break}while(++n<i);for(;i>n;){const l=e.charCodeAt(i-1);if(l!==32&&l!==9)break;i--}return e.slice(n,i)}const ce=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function de(e,a){const t=new ce,n=e.length;if(n<2)return t;const i=a?.decode||fe,l=a?.allowMultiple||!1;let o=0;do{const c=ue(e,o,n);if(c===-1)break;const u=le(e,o,n);if(c>u){o=e.lastIndexOf(";",c-1)+1;continue}const r=M(e,o,c);if(a?.filter&&!a.filter(r)){o=u+1;continue}const f=i(M(e,c+1,u));if(l){const d=t[r];d===void 0?t[r]=f:Array.isArray(d)?d.push(f):t[r]=[d,f]}else t[r]===void 0&&(t[r]=f);o=u+1}while(o<n);return t}function fe(e){if(!e.includes("%"))return e;try{return decodeURIComponent(e)}catch{return e}}const pe=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,ve=/^[\u0021-\u003A\u003C-\u007E]*$/,he=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,me=/^[\u0020-\u003A\u003C-\u007E]*$/,ge=Object.prototype.toString;function $(e,a,t){const n=typeof e=="object"&&e!==null,i=n?a:t,l=i?.stringify||JSON.stringify,o=n?e:{...t,name:e,value:a==null?"":typeof a=="string"?a:l(a)},c=i?.encode||encodeURIComponent;if(!pe.test(o.name))throw new TypeError(`argument name is invalid: ${o.name}`);const u=o.value?c(o.value):"";if(!ve.test(u))throw new TypeError(`argument val is invalid: ${o.value}`);if(!o.secure){if(o.partitioned)throw new TypeError("Partitioned cookies must have the Secure attribute");if(o.sameSite&&String(o.sameSite).toLowerCase()==="none")throw new TypeError("SameSite=None cookies must have the Secure attribute");if(o.name.length>9&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95){const f=o.name.toLowerCase();if(f.startsWith("__secure-")||f.startsWith("__host-"))throw new TypeError(`${o.name} cookies must have the Secure attribute`)}}if(o.name.length>7&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95&&o.name.toLowerCase().startsWith("__host-")){if(o.path!=="/")throw new TypeError("__Host- cookies must have Path=/");if(o.domain)throw new TypeError("__Host- cookies must not have a Domain attribute")}let r=o.name+"="+u;if(o.maxAge!==void 0){if(!Number.isInteger(o.maxAge))throw new TypeError(`option maxAge is invalid: ${o.maxAge}`);r+="; Max-Age="+Math.max(0,Math.min(o.maxAge,se))}if(o.domain){if(!he.test(o.domain))throw new TypeError(`option domain is invalid: ${o.domain}`);r+="; Domain="+o.domain}if(o.path){if(!me.test(o.path))throw new TypeError(`option path is invalid: ${o.path}`);r+="; Path="+o.path}if(o.expires){if(!be(o.expires)||!Number.isFinite(o.expires.valueOf()))throw new TypeError(`option expires is invalid: ${o.expires}`);r+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(r+="; HttpOnly"),o.secure&&(r+="; Secure"),o.partitioned&&(r+="; Partitioned"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():void 0){case"low":r+="; Priority=Low";break;case"medium":r+="; Priority=Medium";break;case"high":r+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${o.priority}`)}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"none":r+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${o.sameSite}`)}return r}function be(e){return ge.call(e)==="[object Date]"}function g(e){if(typeof e!="object")return e;var a,t,n=Object.prototype.toString.call(e);if(n==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){t=new e.constructor;for(a in e)e.hasOwnProperty(a)&&t[a]!==e[a]&&(t[a]=g(e[a]))}else{t={};for(a in e)a==="__proto__"?Object.defineProperty(t,a,{value:g(e[a]),configurable:!0,enumerable:!0,writable:!0}):t[a]=g(e[a])}return t}if(n==="[object Array]"){for(a=e.length,t=Array(a);a--;)t[a]=g(e[a]);return t}return n==="[object Set]"?(t=new Set,e.forEach(function(i){t.add(g(i))}),t):n==="[object Map]"?(t=new Map,e.forEach(function(i,l){t.set(g(l),g(i))}),t):n==="[object Date]"?new Date(+e):n==="[object RegExp]"?(t=new RegExp(e.source,e.flags),t.lastIndex=e.lastIndex,t):n==="[object DataView]"?new e.constructor(g(e.buffer)):n==="[object ArrayBuffer]"?e.slice(0):n.slice(-6)==="Array]"?new e.constructor(e):e}function ye(e){if(e!=="undefined")try{const a=JSON.parse(e);return typeof a=="number"&&String(a)!==e?e:a}catch{return e}}const Se={path:"/",watch:!0,decode:e=>e&&ye(decodeURIComponent(e)),encode:e=>{if(typeof e!="string"||e==="undefined")return encodeURIComponent(JSON.stringify(e));try{if(typeof JSON.parse(e)!="string")return encodeURIComponent(JSON.stringify(e))}catch{}return encodeURIComponent(e)},refresh:!1},j=globalThis.cookieStore;function we(e,a){const t={...Se,...a};t.filter??=r=>r===e;const n=B(t)||{};let i;t.maxAge!==void 0?i=t.maxAge*1e3:t.expires&&(i=t.expires.getTime()-Date.now());const l=i!==void 0&&i<=0,o=l||n[e]===void 0||n[e]===null,c=g(l?void 0:n[e]??t.default?.()),u=i&&!l?Oe(c,i,t.watch&&t.watch!=="shallow"):C(c);{let r=null;try{!j&&typeof BroadcastChannel<"u"&&(r=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(h=!1)=>{if(!h&&(t.readonly||Y(u.value,n[e])))return;const b=u.value===null||u.value===void 0?void 0:t.encode(u.value);Ee(e,b,t),n[e]=g(u.value),r?.postMessage({value:t.encode(u.value)})},d=h=>{const b=h.refresh?B(t)?.[e]:t.decode(h.value);y=!0,u.value=b,n[e]=g(b),G(()=>{y=!1})};let y=!1;const S=!!N();if(S&&D(()=>{y=!0,f(),r?.close()}),j){const h=b=>{const A=b.changed.find(E=>E.name===e),L=b.deleted.find(E=>E.name===e);A&&d({value:A.value}),L&&d({value:null})};j.addEventListener("change",h),S&&D(()=>j.removeEventListener("change",h))}else r&&(r.onmessage=({data:h})=>d(h));t.watch&&I(u,()=>{y||f(t.refresh)},{deep:t.watch!=="shallow"}),o&&f(o)}return u}function B(e={}){return de(document.cookie,e)}const Ce=e=>e;function ze(e){const{encode:a,decode:t,...n}=e;return{...n,encode:Ce}}function ke(e,a,t={}){const n=ze(t);return a===void 0?$(e,"",{...n,maxAge:-1}):$(e,a,n)}function Ee(e,a,t={}){document.cookie=ke(e,a,t)}const P=2147483647;function Oe(e,a,t){let n,i,l=0;const o=t?C(e):{value:e};return N()&&D(()=>{i?.(),clearTimeout(n)}),X((c,u)=>{t&&(i=I(o,u));function r(){const d=a-l,y=d<P?d:P;n=setTimeout(()=>{if(l+=y,l<a)return r();o.value=void 0,u()},y)}function f(){l=0,clearTimeout(n),r()}return{get(){return c(),o.value},set(d){f(),o.value=d,u()}}})}const[Te,xe]=K("DashboardGroup"),_e={base:"lg:hidden",variants:{side:{left:"",right:""}}},Re=Object.assign({inheritAttrs:!1},{__name:"UDashboardSidebarToggle",props:{color:{type:null,required:!1,default:"neutral"},variant:{type:null,required:!1,default:"ghost"},side:{type:String,required:!1,default:"left"},ui:{type:Object,required:!1},label:{type:String,required:!1},activeColor:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},exactActiveClass:{type:String,required:!1},viewTransition:{type:Boolean,required:!1}},setup(e){const t=U("dashboardSidebarToggle",e),n=Q(Z(t,"icon","side","class")),{t:i}=V(),l=H(),{sidebarOpen:o,toggleSidebar:c}=Te({sidebarOpen:C(!1),toggleSidebar:()=>{}}),u=k(()=>J({extend:_e,...l.ui?.dashboardSidebarToggle||{}}));return(r,f)=>(F(),W(te,ee({...p(n),icon:p(t).icon||(p(o)?p(l).ui.icons.close:p(l).ui.icons.menu),"aria-label":p(o)?p(i)("dashboardSidebarToggle.close"):p(i)("dashboardSidebarToggle.open"),...r.$attrs},{class:u.value({class:[p(t).ui?.base,p(t).class],side:p(t).side}),onClick:p(c)}),null,16,["class","onClick"]))}});function je(e,a={},{collapsed:t=C(!1)}={}){const n=C(null),i=k(()=>({side:"left",minSize:0,maxSize:100,defaultSize:0,storage:"cookie",persistent:!0,collapsible:!1,collapsedSize:0,resizable:!0,unit:"%",...R(a)?a.value:a})),{dir:l}=V(),o={size:i.value.defaultSize,collapsed:p(t)??!1},c=i.value.persistent&&(i.value.resizable||i.value.collapsible)?i.value.storage==="cookie"?we(e,{...i.value.storageOptions,default:()=>o}):oe(e,o,void 0,i.value.storageOptions):C(o),u=s=>{c.value?Object.assign(c.value,s):c.value={...o,...s}},r=k({get:()=>c.value?.collapsed??o.collapsed,set:s=>{i.value.collapsible&&(R(t)&&(t.value=s),u({collapsed:s}))}}),f=C(i.value.defaultSize),d=k({get:()=>c.value?.size??i.value.defaultSize,set:s=>{u({size:s})}}),y=k(()=>r.value?i.value.collapsedSize:d.value),S=C(!1),h=()=>i.value.unit==="rem"?Number.parseFloat(getComputedStyle(document.documentElement).fontSize):1,b=(s,v,O,T)=>{if(!n.value||!i.value.resizable)return;const _=n.value.parentElement?.offsetWidth||1,z=l.value==="rtl";let m;z?m=i.value.side==="left"?v-s:s-v:m=i.value.side==="left"?s-v:v-s;const w=O+m;let q;if(i.value.unit==="rem"?q=w/T:i.value.unit==="px"?q=w:q=w/_*100,i.value.collapsible&&q<i.value.collapsedSize+4){x(!0);return}else r.value&&x(!1);d.value=Math.min(i.value.maxSize,Math.max(i.value.minSize,q))},A=s=>{if(!n.value||!i.value.resizable)return;s.preventDefault(),s.stopPropagation();const v=n.value.getBoundingClientRect().width;if(!v)return;const O=s.clientX,T=v,_=h();S.value=!0;const z=w=>{b(w.clientX,O,T,_)},m=()=>{S.value=!1,document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",m)};document.addEventListener("mousemove",z),document.addEventListener("mouseup",m)},L=s=>{if(!n.value||!i.value.resizable||!s.touches[0])return;s.preventDefault(),s.stopPropagation();const v=n.value.getBoundingClientRect().width;if(!v)return;const O=s.touches[0].clientX,T=v,_=h();S.value=!0;const z=w=>{w.touches[0]&&b(w.touches[0].clientX,O,T,_)},m=()=>{S.value=!1,document.removeEventListener("touchmove",z),document.removeEventListener("touchend",m),document.removeEventListener("touchcancel",m)};document.addEventListener("touchmove",z,{passive:!1}),document.addEventListener("touchend",m),document.addEventListener("touchcancel",m)},E=s=>{!n.value||!i.value.resizable||(s.preventDefault(),s.stopPropagation(),r.value&&x(!1),d.value=i.value.defaultSize)},x=s=>{if(!i.value.collapsible)return;const v=s??!r.value;v&&!r.value?f.value=d.value:!v&&r.value&&(d.value=f.value),r.value=v};return R(t)&&c.value?.collapsed&&(t.value=c.value.collapsed),R(t)&&I(t,s=>{i.value.collapsible&&c.value?.collapsed!==s&&(r.value=s)}),{el:n,size:y,isDragging:S,isCollapsed:r,onMouseDown:A,onTouchStart:L,onDoubleClick:E,collapse:x}}const qe={base:"hidden lg:block touch-none select-none cursor-ew-resize relative before:absolute before:inset-y-0 before:-left-1.5 before:-right-1.5 before:z-1"},Le={__name:"UDashboardResizeHandle",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=U("dashboardResizeHandle",e),n=H(),i=k(()=>J({extend:qe,...n.ui?.dashboardResizeHandle||{}}));return(l,o)=>(F(),W(p(re),{as:p(t).as,role:"separator",class:ae(i.value({class:[p(t).ui?.base,p(t).class]}))},{default:ne(()=>[ie(l.$slots,"default")]),_:3},8,["as","class"]))}};export{Re as _,Te as a,je as b,Le as c,xe as p,we as u};
1
+ import{r as C,B as I,c3 as N,al as D,c4 as X,G,aL as Y,Y as K,a1 as U,a4 as Q,a$ as Z,a2 as V,a3 as H,o as F,f as W,U as ee,k as p,_ as te,h as k,a6 as J,c5 as oe,l as R,g as ne,T as ie,p as ae,V as re}from"./BrT_Sys2.js";const se=3456e4;function le(e,a,t){const n=e.indexOf(";",a);return n===-1?t:n}function ue(e,a,t){const n=e.indexOf("=",a);return n<t?n:-1}function M(e,a,t){if(a===t)return"";let n=a,i=t;do{const l=e.charCodeAt(n);if(l!==32&&l!==9)break}while(++n<i);for(;i>n;){const l=e.charCodeAt(i-1);if(l!==32&&l!==9)break;i--}return e.slice(n,i)}const ce=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function de(e,a){const t=new ce,n=e.length;if(n<2)return t;const i=a?.decode||fe,l=a?.allowMultiple||!1;let o=0;do{const c=ue(e,o,n);if(c===-1)break;const u=le(e,o,n);if(c>u){o=e.lastIndexOf(";",c-1)+1;continue}const r=M(e,o,c);if(a?.filter&&!a.filter(r)){o=u+1;continue}const f=i(M(e,c+1,u));if(l){const d=t[r];d===void 0?t[r]=f:Array.isArray(d)?d.push(f):t[r]=[d,f]}else t[r]===void 0&&(t[r]=f);o=u+1}while(o<n);return t}function fe(e){if(!e.includes("%"))return e;try{return decodeURIComponent(e)}catch{return e}}const pe=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,ve=/^[\u0021-\u003A\u003C-\u007E]*$/,he=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,me=/^[\u0020-\u003A\u003C-\u007E]*$/,ge=Object.prototype.toString;function $(e,a,t){const n=typeof e=="object"&&e!==null,i=n?a:t,l=i?.stringify||JSON.stringify,o=n?e:{...t,name:e,value:a==null?"":typeof a=="string"?a:l(a)},c=i?.encode||encodeURIComponent;if(!pe.test(o.name))throw new TypeError(`argument name is invalid: ${o.name}`);const u=o.value?c(o.value):"";if(!ve.test(u))throw new TypeError(`argument val is invalid: ${o.value}`);if(!o.secure){if(o.partitioned)throw new TypeError("Partitioned cookies must have the Secure attribute");if(o.sameSite&&String(o.sameSite).toLowerCase()==="none")throw new TypeError("SameSite=None cookies must have the Secure attribute");if(o.name.length>9&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95){const f=o.name.toLowerCase();if(f.startsWith("__secure-")||f.startsWith("__host-"))throw new TypeError(`${o.name} cookies must have the Secure attribute`)}}if(o.name.length>7&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95&&o.name.toLowerCase().startsWith("__host-")){if(o.path!=="/")throw new TypeError("__Host- cookies must have Path=/");if(o.domain)throw new TypeError("__Host- cookies must not have a Domain attribute")}let r=o.name+"="+u;if(o.maxAge!==void 0){if(!Number.isInteger(o.maxAge))throw new TypeError(`option maxAge is invalid: ${o.maxAge}`);r+="; Max-Age="+Math.max(0,Math.min(o.maxAge,se))}if(o.domain){if(!he.test(o.domain))throw new TypeError(`option domain is invalid: ${o.domain}`);r+="; Domain="+o.domain}if(o.path){if(!me.test(o.path))throw new TypeError(`option path is invalid: ${o.path}`);r+="; Path="+o.path}if(o.expires){if(!be(o.expires)||!Number.isFinite(o.expires.valueOf()))throw new TypeError(`option expires is invalid: ${o.expires}`);r+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(r+="; HttpOnly"),o.secure&&(r+="; Secure"),o.partitioned&&(r+="; Partitioned"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():void 0){case"low":r+="; Priority=Low";break;case"medium":r+="; Priority=Medium";break;case"high":r+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${o.priority}`)}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"none":r+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${o.sameSite}`)}return r}function be(e){return ge.call(e)==="[object Date]"}function g(e){if(typeof e!="object")return e;var a,t,n=Object.prototype.toString.call(e);if(n==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){t=new e.constructor;for(a in e)e.hasOwnProperty(a)&&t[a]!==e[a]&&(t[a]=g(e[a]))}else{t={};for(a in e)a==="__proto__"?Object.defineProperty(t,a,{value:g(e[a]),configurable:!0,enumerable:!0,writable:!0}):t[a]=g(e[a])}return t}if(n==="[object Array]"){for(a=e.length,t=Array(a);a--;)t[a]=g(e[a]);return t}return n==="[object Set]"?(t=new Set,e.forEach(function(i){t.add(g(i))}),t):n==="[object Map]"?(t=new Map,e.forEach(function(i,l){t.set(g(l),g(i))}),t):n==="[object Date]"?new Date(+e):n==="[object RegExp]"?(t=new RegExp(e.source,e.flags),t.lastIndex=e.lastIndex,t):n==="[object DataView]"?new e.constructor(g(e.buffer)):n==="[object ArrayBuffer]"?e.slice(0):n.slice(-6)==="Array]"?new e.constructor(e):e}function ye(e){if(e!=="undefined")try{const a=JSON.parse(e);return typeof a=="number"&&String(a)!==e?e:a}catch{return e}}const Se={path:"/",watch:!0,decode:e=>e&&ye(decodeURIComponent(e)),encode:e=>{if(typeof e!="string"||e==="undefined")return encodeURIComponent(JSON.stringify(e));try{if(typeof JSON.parse(e)!="string")return encodeURIComponent(JSON.stringify(e))}catch{}return encodeURIComponent(e)},refresh:!1},j=globalThis.cookieStore;function we(e,a){const t={...Se,...a};t.filter??=r=>r===e;const n=B(t)||{};let i;t.maxAge!==void 0?i=t.maxAge*1e3:t.expires&&(i=t.expires.getTime()-Date.now());const l=i!==void 0&&i<=0,o=l||n[e]===void 0||n[e]===null,c=g(l?void 0:n[e]??t.default?.()),u=i&&!l?Oe(c,i,t.watch&&t.watch!=="shallow"):C(c);{let r=null;try{!j&&typeof BroadcastChannel<"u"&&(r=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(h=!1)=>{if(!h&&(t.readonly||Y(u.value,n[e])))return;const b=u.value===null||u.value===void 0?void 0:t.encode(u.value);Ee(e,b,t),n[e]=g(u.value),r?.postMessage({value:t.encode(u.value)})},d=h=>{const b=h.refresh?B(t)?.[e]:t.decode(h.value);y=!0,u.value=b,n[e]=g(b),G(()=>{y=!1})};let y=!1;const S=!!N();if(S&&D(()=>{y=!0,f(),r?.close()}),j){const h=b=>{const A=b.changed.find(E=>E.name===e),L=b.deleted.find(E=>E.name===e);A&&d({value:A.value}),L&&d({value:null})};j.addEventListener("change",h),S&&D(()=>j.removeEventListener("change",h))}else r&&(r.onmessage=({data:h})=>d(h));t.watch&&I(u,()=>{y||f(t.refresh)},{deep:t.watch!=="shallow"}),o&&f(o)}return u}function B(e={}){return de(document.cookie,e)}const Ce=e=>e;function ze(e){const{encode:a,decode:t,...n}=e;return{...n,encode:Ce}}function ke(e,a,t={}){const n=ze(t);return a===void 0?$(e,"",{...n,maxAge:-1}):$(e,a,n)}function Ee(e,a,t={}){document.cookie=ke(e,a,t)}const P=2147483647;function Oe(e,a,t){let n,i,l=0;const o=t?C(e):{value:e};return N()&&D(()=>{i?.(),clearTimeout(n)}),X((c,u)=>{t&&(i=I(o,u));function r(){const d=a-l,y=d<P?d:P;n=setTimeout(()=>{if(l+=y,l<a)return r();o.value=void 0,u()},y)}function f(){l=0,clearTimeout(n),r()}return{get(){return c(),o.value},set(d){f(),o.value=d,u()}}})}const[Te,xe]=K("DashboardGroup"),_e={base:"lg:hidden",variants:{side:{left:"",right:""}}},Re=Object.assign({inheritAttrs:!1},{__name:"UDashboardSidebarToggle",props:{color:{type:null,required:!1,default:"neutral"},variant:{type:null,required:!1,default:"ghost"},side:{type:String,required:!1,default:"left"},ui:{type:Object,required:!1},label:{type:String,required:!1},activeColor:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},exactActiveClass:{type:String,required:!1},viewTransition:{type:Boolean,required:!1}},setup(e){const t=U("dashboardSidebarToggle",e),n=Q(Z(t,"icon","side","class")),{t:i}=V(),l=H(),{sidebarOpen:o,toggleSidebar:c}=Te({sidebarOpen:C(!1),toggleSidebar:()=>{}}),u=k(()=>J({extend:_e,...l.ui?.dashboardSidebarToggle||{}}));return(r,f)=>(F(),W(te,ee({...p(n),icon:p(t).icon||(p(o)?p(l).ui.icons.close:p(l).ui.icons.menu),"aria-label":p(o)?p(i)("dashboardSidebarToggle.close"):p(i)("dashboardSidebarToggle.open"),...r.$attrs},{class:u.value({class:[p(t).ui?.base,p(t).class],side:p(t).side}),onClick:p(c)}),null,16,["class","onClick"]))}});function je(e,a={},{collapsed:t=C(!1)}={}){const n=C(null),i=k(()=>({side:"left",minSize:0,maxSize:100,defaultSize:0,storage:"cookie",persistent:!0,collapsible:!1,collapsedSize:0,resizable:!0,unit:"%",...R(a)?a.value:a})),{dir:l}=V(),o={size:i.value.defaultSize,collapsed:p(t)??!1},c=i.value.persistent&&(i.value.resizable||i.value.collapsible)?i.value.storage==="cookie"?we(e,{...i.value.storageOptions,default:()=>o}):oe(e,o,void 0,i.value.storageOptions):C(o),u=s=>{c.value?Object.assign(c.value,s):c.value={...o,...s}},r=k({get:()=>c.value?.collapsed??o.collapsed,set:s=>{i.value.collapsible&&(R(t)&&(t.value=s),u({collapsed:s}))}}),f=C(i.value.defaultSize),d=k({get:()=>c.value?.size??i.value.defaultSize,set:s=>{u({size:s})}}),y=k(()=>r.value?i.value.collapsedSize:d.value),S=C(!1),h=()=>i.value.unit==="rem"?Number.parseFloat(getComputedStyle(document.documentElement).fontSize):1,b=(s,v,O,T)=>{if(!n.value||!i.value.resizable)return;const _=n.value.parentElement?.offsetWidth||1,z=l.value==="rtl";let m;z?m=i.value.side==="left"?v-s:s-v:m=i.value.side==="left"?s-v:v-s;const w=O+m;let q;if(i.value.unit==="rem"?q=w/T:i.value.unit==="px"?q=w:q=w/_*100,i.value.collapsible&&q<i.value.collapsedSize+4){x(!0);return}else r.value&&x(!1);d.value=Math.min(i.value.maxSize,Math.max(i.value.minSize,q))},A=s=>{if(!n.value||!i.value.resizable)return;s.preventDefault(),s.stopPropagation();const v=n.value.getBoundingClientRect().width;if(!v)return;const O=s.clientX,T=v,_=h();S.value=!0;const z=w=>{b(w.clientX,O,T,_)},m=()=>{S.value=!1,document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",m)};document.addEventListener("mousemove",z),document.addEventListener("mouseup",m)},L=s=>{if(!n.value||!i.value.resizable||!s.touches[0])return;s.preventDefault(),s.stopPropagation();const v=n.value.getBoundingClientRect().width;if(!v)return;const O=s.touches[0].clientX,T=v,_=h();S.value=!0;const z=w=>{w.touches[0]&&b(w.touches[0].clientX,O,T,_)},m=()=>{S.value=!1,document.removeEventListener("touchmove",z),document.removeEventListener("touchend",m),document.removeEventListener("touchcancel",m)};document.addEventListener("touchmove",z,{passive:!1}),document.addEventListener("touchend",m),document.addEventListener("touchcancel",m)},E=s=>{!n.value||!i.value.resizable||(s.preventDefault(),s.stopPropagation(),r.value&&x(!1),d.value=i.value.defaultSize)},x=s=>{if(!i.value.collapsible)return;const v=s??!r.value;v&&!r.value?f.value=d.value:!v&&r.value&&(d.value=f.value),r.value=v};return R(t)&&c.value?.collapsed&&(t.value=c.value.collapsed),R(t)&&I(t,s=>{i.value.collapsible&&c.value?.collapsed!==s&&(r.value=s)}),{el:n,size:y,isDragging:S,isCollapsed:r,onMouseDown:A,onTouchStart:L,onDoubleClick:E,collapse:x}}const qe={base:"hidden lg:block touch-none select-none cursor-ew-resize relative before:absolute before:inset-y-0 before:-left-1.5 before:-right-1.5 before:z-1"},Le={__name:"UDashboardResizeHandle",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=U("dashboardResizeHandle",e),n=H(),i=k(()=>J({extend:qe,...n.ui?.dashboardResizeHandle||{}}));return(l,o)=>(F(),W(p(re),{as:p(t).as,role:"separator",class:ae(i.value({class:[p(t).ui?.base,p(t).class]}))},{default:ne(()=>[ie(l.$slots,"default")]),_:3},8,["as","class"]))}};export{Re as _,Te as a,je as b,Le as c,xe as p,we as u};
@@ -1 +1 @@
1
- import{av as B,b as H,an as I,h as V}from"./B8fs6GU9.js";const k=4096;function x(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function j(e){return'"'+e.replace(/"/g,'\\"')+'"'}function u(e){return e.replace(/\\/g,"/")}function T(e){const n=new Map;for(const r of e){const i=r.projectName||"";n.has(i)||n.set(i,[]),n.get(i).push(r)}return n}function D(e){const n=new Set;return e.filter(r=>{const i=r.filePath;return n.has(i)?!1:(n.add(i),!0)}).map(r=>r.filePath)}function A(e,n){const r=n?.mode??"file-line",p=`${n?.pkgRunner??"npx"} playwright test`;if(e.length===0)return"";const v=T(e),m=[];for(const[g,d]of v){let c;if(r==="file"){const l=D(d).map(t=>j(u(t))).join(" ");c=`${p} ${l}`}else if(r==="file-line"){const a=new Set,l=d.filter(t=>{const o=t.filePath+":"+t.line;return t.line&&a.has(o)?!1:(t.line&&a.add(o),!0)}).map(t=>t.line?j(`${u(t.filePath)}:${t.line}`):j(u(t.filePath))).join(" ");c=`${p} ${l}`}else{const a=d.map(t=>x(t.title)),l=a.length===1?a[0]:`(${a.join("|")})`;c=`${p} --grep ${j(l)}`}g&&(c+=` --project=${j(g)}`),m.push(c)}let b=m.join(" && ");if(b.length>k){if(r==="grep")return A(e,{...n,mode:"file-line"});if(r==="file-line")return A(e,{...n,mode:"file"});const d=_(e).map(a=>j(u(a))).join(" ");let c=`${p} ${d}`;return c.length>k&&(c=c.slice(0,k-3)+"..."),c}return b}function _(e){const n=new Set;return e.reduce((r,i)=>(n.has(i.filePath)||(n.add(i.filePath),r.push(i.filePath)),r),[])}function C(e,n){return e==null?"":n==null?`:${e}`:`:${e}:${n}`}function w(e){return e.replace(/%/g,"%25").replace(/ /g,"%20").replace(/#/g,"%23").replace(/\?/g,"%3F")}function S(e,n){const r=u(e).replace(/\/+$/,""),i=u(n).replace(/^\.?\/+/,"");return r?`${r}/${i}`:i}function L(e){const n=w(u(e.absPath)),r=n.startsWith("/")?n:`/${n}`;return`${e.scheme}://file${r}${C(e.line,e.column)}`}function F(e){const n=w(u(e.relPath))+C(e.line,e.column);return`jetbrains://${e.product}/navigate/reference?project=${encodeURIComponent(e.projectName)}&path=${n}`}function K(e){const n=w(u(e.path));return`http://localhost:${e.port}/api/file/${n}${C(e.line,e.column)}`}const M="piwi-ide-prefs",G={method:"auto",vscodeScheme:"vscode",jetbrainsProduct:"idea",jetbrainsPort:63342,jetbrainsHttpUsesRelativePath:!1,defaultRoot:"",projectRoots:{},jetbrainsProjectNames:{}},W={vscode:"VS Code","vscode-insiders":"VS Code Insiders",vscodium:"VSCodium",cursor:"Cursor"},X={auto:"Auto (try all)",vscode:"VS Code","jetbrains-url":"JetBrains (URL)","jetbrains-http":"JetBrains (local server)"},Y=["idea","webstorm","pycharm","phpstorm","goland","rubymine","clion","rider","rustrover"];function Q(){const e=B(M,G,{mergeDefaults:!0}),n=H(),r=I("piwi-ide-settings-open",()=>!1),i=I("piwi-ide-settings-context",()=>({}));function p(t){return t==null||t===""?null:String(t)}function v(t={}){i.value={projectKey:t.projectKey??null,projectName:t.projectName??null},r.value=!0}function m(t){const o=p(t);return((o?e.value.projectRoots[o]:void 0)||e.value.defaultRoot||"").trim()}function b(t,o){const s=p(t);return((s?e.value.jetbrainsProjectNames[s]:void 0)||o||"").trim()}function g(t,o){const s=m(o);return s?S(s,t):null}const d=V(()=>!!e.value.defaultRoot?.trim()||Object.keys(e.value.projectRoots).length>0||Object.keys(e.value.jetbrainsProjectNames).length>0);function c(t){try{const o=document.createElement("iframe");o.style.display="none",o.src=t,document.body.appendChild(o),setTimeout(()=>o.remove(),1e3)}catch{const o=document.createElement("a");o.href=t,o.style.display="none",document.body.appendChild(o),o.click(),setTimeout(()=>o.remove(),1e3)}}async function a(t,o,s){const f=K({port:e.value.jetbrainsPort,path:t,line:o,column:s});try{return await fetch(f,{mode:"no-cors",signal:AbortSignal.timeout(1200)}),!0}catch{return!1}}async function l(t){const o=t.method??e.value.method,s=t.filePath,f=t.line??null,P=t.column??null,h=m(t.projectKey),$=b(t.projectKey,t.projectName),O={projectKey:p(t.projectKey),projectName:t.projectName??null},y={label:"Configure",color:"info",onClick:()=>v(O)},J=()=>h?(c(L({scheme:e.value.vscodeScheme,absPath:S(h,s),line:f,column:P})),n.add({title:`Opening ${W[e.value.vscodeScheme]}…`,description:"If nothing opens, the editor may not be installed or the workspace root is wrong.",color:"neutral",icon:"i-lucide-external-link"}),!0):(n.add({title:"Set a workspace root",description:"VS Code needs the local folder that contains this file.",color:"info",icon:"i-lucide-folder-cog",actions:[y]}),!1),E=()=>$?(c(F({product:e.value.jetbrainsProduct,projectName:$,relPath:s,line:f,column:P})),n.add({title:"Opening JetBrains…",description:"If nothing opens, JetBrains Toolbox may not be installed or the project is not open.",color:"neutral",icon:"i-lucide-external-link"}),!0):(n.add({title:"Set a JetBrains project name",description:"The jetbrains:// link needs the open IDE project name.",color:"info",icon:"i-lucide-folder-cog",actions:[y]}),!1),U=async()=>{const R=e.value.jetbrainsHttpUsesRelativePath?s:h?S(h,s):s,N=await a(R,f,P);return n.add(N?{title:"Opened in JetBrains",color:"success",icon:"i-lucide-check"}:{title:"JetBrains not reachable",description:`Nothing responded on localhost:${e.value.jetbrainsPort}. Start the IDE with the Remote Control plugin (and "Allow unsigned requests").`,color:"error",icon:"i-lucide-plug-zap"}),N};if(o==="vscode"){J();return}if(o==="jetbrains-url"){E();return}if(o==="jetbrains-http"){await U();return}if(e.value.jetbrainsHttpUsesRelativePath||!!h){const R=e.value.jetbrainsHttpUsesRelativePath?s:S(h,s);if(await a(R,f,P)){n.add({title:"Opened in JetBrains",color:"success",icon:"i-lucide-check"});return}}if(h){J();return}if($){E();return}n.add({title:'Set up "Open in IDE"',description:"Add your local workspace folder (for VS Code) or a JetBrains project name to open files from here.",color:"info",icon:"i-lucide-folder-cog",actions:[y]})}return{prefs:e,isConfigured:d,openInIde:l,openInVscode:t=>l({...t,method:"vscode"}),openViaJetbrainsUrl:t=>l({...t,method:"jetbrains-url"}),openViaJetbrainsHttp:t=>l({...t,method:"jetbrains-http"}),resolveRoot:m,resolveJbProjectName:b,resolveAbsPath:g,settingsOpen:r,settingsContext:i,openSettings:v}}export{X as I,Y as J,W as V,A as b,Q as u};
1
+ import{av as B,b as H,an as I,h as V}from"./BrT_Sys2.js";const k=4096;function x(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function j(e){return'"'+e.replace(/"/g,'\\"')+'"'}function u(e){return e.replace(/\\/g,"/")}function T(e){const n=new Map;for(const r of e){const i=r.projectName||"";n.has(i)||n.set(i,[]),n.get(i).push(r)}return n}function D(e){const n=new Set;return e.filter(r=>{const i=r.filePath;return n.has(i)?!1:(n.add(i),!0)}).map(r=>r.filePath)}function A(e,n){const r=n?.mode??"file-line",p=`${n?.pkgRunner??"npx"} playwright test`;if(e.length===0)return"";const v=T(e),m=[];for(const[g,d]of v){let c;if(r==="file"){const l=D(d).map(t=>j(u(t))).join(" ");c=`${p} ${l}`}else if(r==="file-line"){const a=new Set,l=d.filter(t=>{const o=t.filePath+":"+t.line;return t.line&&a.has(o)?!1:(t.line&&a.add(o),!0)}).map(t=>t.line?j(`${u(t.filePath)}:${t.line}`):j(u(t.filePath))).join(" ");c=`${p} ${l}`}else{const a=d.map(t=>x(t.title)),l=a.length===1?a[0]:`(${a.join("|")})`;c=`${p} --grep ${j(l)}`}g&&(c+=` --project=${j(g)}`),m.push(c)}let b=m.join(" && ");if(b.length>k){if(r==="grep")return A(e,{...n,mode:"file-line"});if(r==="file-line")return A(e,{...n,mode:"file"});const d=_(e).map(a=>j(u(a))).join(" ");let c=`${p} ${d}`;return c.length>k&&(c=c.slice(0,k-3)+"..."),c}return b}function _(e){const n=new Set;return e.reduce((r,i)=>(n.has(i.filePath)||(n.add(i.filePath),r.push(i.filePath)),r),[])}function C(e,n){return e==null?"":n==null?`:${e}`:`:${e}:${n}`}function w(e){return e.replace(/%/g,"%25").replace(/ /g,"%20").replace(/#/g,"%23").replace(/\?/g,"%3F")}function S(e,n){const r=u(e).replace(/\/+$/,""),i=u(n).replace(/^\.?\/+/,"");return r?`${r}/${i}`:i}function L(e){const n=w(u(e.absPath)),r=n.startsWith("/")?n:`/${n}`;return`${e.scheme}://file${r}${C(e.line,e.column)}`}function F(e){const n=w(u(e.relPath))+C(e.line,e.column);return`jetbrains://${e.product}/navigate/reference?project=${encodeURIComponent(e.projectName)}&path=${n}`}function K(e){const n=w(u(e.path));return`http://localhost:${e.port}/api/file/${n}${C(e.line,e.column)}`}const M="piwi-ide-prefs",G={method:"auto",vscodeScheme:"vscode",jetbrainsProduct:"idea",jetbrainsPort:63342,jetbrainsHttpUsesRelativePath:!1,defaultRoot:"",projectRoots:{},jetbrainsProjectNames:{}},W={vscode:"VS Code","vscode-insiders":"VS Code Insiders",vscodium:"VSCodium",cursor:"Cursor"},X={auto:"Auto (try all)",vscode:"VS Code","jetbrains-url":"JetBrains (URL)","jetbrains-http":"JetBrains (local server)"},Y=["idea","webstorm","pycharm","phpstorm","goland","rubymine","clion","rider","rustrover"];function Q(){const e=B(M,G,{mergeDefaults:!0}),n=H(),r=I("piwi-ide-settings-open",()=>!1),i=I("piwi-ide-settings-context",()=>({}));function p(t){return t==null||t===""?null:String(t)}function v(t={}){i.value={projectKey:t.projectKey??null,projectName:t.projectName??null},r.value=!0}function m(t){const o=p(t);return((o?e.value.projectRoots[o]:void 0)||e.value.defaultRoot||"").trim()}function b(t,o){const s=p(t);return((s?e.value.jetbrainsProjectNames[s]:void 0)||o||"").trim()}function g(t,o){const s=m(o);return s?S(s,t):null}const d=V(()=>!!e.value.defaultRoot?.trim()||Object.keys(e.value.projectRoots).length>0||Object.keys(e.value.jetbrainsProjectNames).length>0);function c(t){try{const o=document.createElement("iframe");o.style.display="none",o.src=t,document.body.appendChild(o),setTimeout(()=>o.remove(),1e3)}catch{const o=document.createElement("a");o.href=t,o.style.display="none",document.body.appendChild(o),o.click(),setTimeout(()=>o.remove(),1e3)}}async function a(t,o,s){const f=K({port:e.value.jetbrainsPort,path:t,line:o,column:s});try{return await fetch(f,{mode:"no-cors",signal:AbortSignal.timeout(1200)}),!0}catch{return!1}}async function l(t){const o=t.method??e.value.method,s=t.filePath,f=t.line??null,P=t.column??null,h=m(t.projectKey),$=b(t.projectKey,t.projectName),O={projectKey:p(t.projectKey),projectName:t.projectName??null},y={label:"Configure",color:"info",onClick:()=>v(O)},J=()=>h?(c(L({scheme:e.value.vscodeScheme,absPath:S(h,s),line:f,column:P})),n.add({title:`Opening ${W[e.value.vscodeScheme]}…`,description:"If nothing opens, the editor may not be installed or the workspace root is wrong.",color:"neutral",icon:"i-lucide-external-link"}),!0):(n.add({title:"Set a workspace root",description:"VS Code needs the local folder that contains this file.",color:"info",icon:"i-lucide-folder-cog",actions:[y]}),!1),E=()=>$?(c(F({product:e.value.jetbrainsProduct,projectName:$,relPath:s,line:f,column:P})),n.add({title:"Opening JetBrains…",description:"If nothing opens, JetBrains Toolbox may not be installed or the project is not open.",color:"neutral",icon:"i-lucide-external-link"}),!0):(n.add({title:"Set a JetBrains project name",description:"The jetbrains:// link needs the open IDE project name.",color:"info",icon:"i-lucide-folder-cog",actions:[y]}),!1),U=async()=>{const R=e.value.jetbrainsHttpUsesRelativePath?s:h?S(h,s):s,N=await a(R,f,P);return n.add(N?{title:"Opened in JetBrains",color:"success",icon:"i-lucide-check"}:{title:"JetBrains not reachable",description:`Nothing responded on localhost:${e.value.jetbrainsPort}. Start the IDE with the Remote Control plugin (and "Allow unsigned requests").`,color:"error",icon:"i-lucide-plug-zap"}),N};if(o==="vscode"){J();return}if(o==="jetbrains-url"){E();return}if(o==="jetbrains-http"){await U();return}if(e.value.jetbrainsHttpUsesRelativePath||!!h){const R=e.value.jetbrainsHttpUsesRelativePath?s:S(h,s);if(await a(R,f,P)){n.add({title:"Opened in JetBrains",color:"success",icon:"i-lucide-check"});return}}if(h){J();return}if($){E();return}n.add({title:'Set up "Open in IDE"',description:"Add your local workspace folder (for VS Code) or a JetBrains project name to open files from here.",color:"info",icon:"i-lucide-folder-cog",actions:[y]})}return{prefs:e,isConfigured:d,openInIde:l,openInVscode:t=>l({...t,method:"vscode"}),openViaJetbrainsUrl:t=>l({...t,method:"jetbrains-url"}),openViaJetbrainsHttp:t=>l({...t,method:"jetbrains-http"}),resolveRoot:m,resolveJbProjectName:b,resolveAbsPath:g,settingsOpen:r,settingsContext:i,openSettings:v}}export{X as I,Y as J,W as V,A as b,Q as u};
@@ -1,4 +1,4 @@
1
1
  {
2
- "hash": "b8e5e85dd2a9ed696fac9c6fd8acbc27b0be3697e829c6e59cd697832194ecda",
3
- "generatedAt": "2026-07-18T19:20:13.614Z"
2
+ "hash": "db0efe94553823803304c4cec77ee87ad040a6e69c46734206f4944fb01579af",
3
+ "generatedAt": "2026-07-21T11:02:41.414Z"
4
4
  }
@@ -1 +1 @@
1
- if(!self.define){let e,s={};const t=(t,n)=>(t=new URL(t+".js",n).href,s[t]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=t,e.onload=s,document.head.appendChild(e)}else e=t,importScripts(t),s()}).then(()=>{let e=s[t];if(!e)throw new Error(`Module ${t} didn’t register its module`);return e}));self.define=(n,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let r={};const l=e=>t(e,o),u={module:{uri:o},exports:r,require:l};s[o]=Promise.all(n.map(e=>u[e]||l(e))).then(e=>(i(...e),r))}}define(["./workbox-2fbc6a65"],function(e){"use strict";self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),e.precacheAndRoute([{url:"_nuxt/builds/latest.json",revision:"ebbc8123a550a72c34f94edce3286ad0"},{url:"_nuxt/builds/meta/f549de31-8db6-4504-b526-482778a55eba.json",revision:null},{url:"manifest.webmanifest",revision:"7b171c7b5f0009e184f26413d5e92b5f"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/")))});
1
+ if(!self.define){let e,s={};const t=(t,n)=>(t=new URL(t+".js",n).href,s[t]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=t,e.onload=s,document.head.appendChild(e)}else e=t,importScripts(t),s()}).then(()=>{let e=s[t];if(!e)throw new Error(`Module ${t} didn’t register its module`);return e}));self.define=(n,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let r={};const l=e=>t(e,o),u={module:{uri:o},exports:r,require:l};s[o]=Promise.all(n.map(e=>u[e]||l(e))).then(e=>(i(...e),r))}}define(["./workbox-2fbc6a65"],function(e){"use strict";self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),e.precacheAndRoute([{url:"_nuxt/builds/latest.json",revision:"253bd61e4b52f9b7dc384633f3e0fc60"},{url:"_nuxt/builds/meta/05a2dd95-d1c1-4e3a-8625-ac6bfea83837.json",revision:null},{url:"manifest.webmanifest",revision:"7b171c7b5f0009e184f26413d5e92b5f"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/")))});
@@ -1,4 +1,4 @@
1
- import { aE as markers, t as testRuns } from '../nitro/nitro.mjs';
1
+ import { aF as markers, t as testRuns } from '../nitro/nitro.mjs';
2
2
  import { eq, asc, and, lt, desc } from 'drizzle-orm';
3
3
  import { D as DEFAULT_MARKER_CATEGORY, M as MARKER_CATEGORY_IDS } from './marker-categories.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { C as users, cg as apiKeys } from '../nitro/nitro.mjs';
1
+ import { D as users, cl as apiKeys } from '../nitro/nitro.mjs';
2
2
  import { eq, and } from 'drizzle-orm';
3
3
 
4
4
  async function listUsers(db) {
@@ -1,8 +1,8 @@
1
- import { _ as _sfc_main$1 } from './Tooltip-ui_BVvqr.mjs';
1
+ import { _ as _sfc_main$1 } from './Tooltip-7vwuDPrZ.mjs';
2
2
  import { o as _sfc_main$p } from './server.mjs';
3
3
  import { defineComponent, computed, unref, mergeProps, withCtx, createVNode, useSSRContext } from 'vue';
4
4
  import { ssrRenderComponent, ssrRenderAttrs } from 'vue/server-renderer';
5
- import { v as getBrowserIcon, w as getBrowserHexColor } from './index-DmHBPf7T.mjs';
5
+ import { v as getBrowserIcon, w as getBrowserHexColor } from './index-CULN3-en.mjs';
6
6
 
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "BrowserBadge",
@@ -86,4 +86,4 @@ _sfc_main.setup = (props, ctx) => {
86
86
  const __nuxt_component_2 = Object.assign(_sfc_main, { __name: "BrowserBadge" });
87
87
 
88
88
  export { __nuxt_component_2 as _ };
89
- //# sourceMappingURL=BrowserBadge-BTA4QU_J.mjs.map
89
+ //# sourceMappingURL=BrowserBadge-DNCp9pF-.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrowserBadge-DNCp9pF-.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/BrowserBadge-DNCp9pF-.js"],"names":["_sfc_main$2"],"mappings":"","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { _ as __nuxt_component_11 } from './SectionCard-zs9FDzps.mjs';
1
+ import { _ as __nuxt_component_11 } from './SectionCard-COd9TuDq.mjs';
2
2
  import { defineComponent, mergeProps, createSlots, withCtx, renderSlot, useSSRContext } from 'vue';
3
3
  import { ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
4
4
 
@@ -74,4 +74,4 @@ _sfc_main.setup = (props, ctx) => {
74
74
  const __nuxt_component_0 = Object.assign(_sfc_main, { __name: "ChartCard" });
75
75
 
76
76
  export { __nuxt_component_0 as _ };
77
- //# sourceMappingURL=ChartCard-BqAhMip2.mjs.map
77
+ //# sourceMappingURL=ChartCard-Fr557IbV.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartCard-Fr557IbV.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/ChartCard-Fr557IbV.js"],"names":[],"mappings":"","x_google_ignoreList":[0]}