@chrisjowen/wheelhouse 0.4.0 → 0.6.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 (1239) hide show
  1. package/README.md +8 -12
  2. package/build/client/_app/immutable/assets/0.CnotMMJE.css +1 -0
  3. package/build/client/_app/immutable/assets/0.CnotMMJE.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.CnotMMJE.css.gz +0 -0
  5. package/build/client/_app/immutable/assets/2.9iA_78o1.css +1 -0
  6. package/build/client/_app/immutable/assets/2.9iA_78o1.css.br +0 -0
  7. package/build/client/_app/immutable/assets/2.9iA_78o1.css.gz +0 -0
  8. package/build/client/_app/immutable/assets/DocSheet.36VhUGpN.css +1 -0
  9. package/build/client/_app/immutable/assets/DocSheet.36VhUGpN.css.br +0 -0
  10. package/build/client/_app/immutable/assets/DocSheet.36VhUGpN.css.gz +0 -0
  11. package/build/client/_app/immutable/assets/Terminal.B4BtIq8f.css +1 -0
  12. package/build/client/_app/immutable/assets/Terminal.B4BtIq8f.css.br +0 -0
  13. package/build/client/_app/immutable/assets/Terminal.B4BtIq8f.css.gz +0 -0
  14. package/build/client/_app/immutable/assets/source-serif-4-cyrillic-ext-opsz-italic.Bl6DJqma.woff2 +0 -0
  15. package/build/client/_app/immutable/assets/source-serif-4-cyrillic-ext-opsz-normal.DIwfbPUE.woff2 +0 -0
  16. package/build/client/_app/immutable/assets/source-serif-4-cyrillic-opsz-italic.Dibx14aP.woff2 +0 -0
  17. package/build/client/_app/immutable/assets/source-serif-4-cyrillic-opsz-normal.C0olyEE-.woff2 +0 -0
  18. package/build/client/_app/immutable/assets/source-serif-4-greek-opsz-italic.CMW9dfKg.woff2 +0 -0
  19. package/build/client/_app/immutable/assets/source-serif-4-greek-opsz-normal.DrHU7SY7.woff2 +0 -0
  20. package/build/client/_app/immutable/assets/source-serif-4-latin-ext-opsz-italic.BhUEwDRF.woff2 +0 -0
  21. package/build/client/_app/immutable/assets/source-serif-4-latin-ext-opsz-normal.HoL-AExg.woff2 +0 -0
  22. package/build/client/_app/immutable/assets/source-serif-4-latin-opsz-italic.BOLXpvkj.woff2 +0 -0
  23. package/build/client/_app/immutable/assets/source-serif-4-latin-opsz-normal.BpEBLj1O.woff2 +0 -0
  24. package/build/client/_app/immutable/assets/source-serif-4-vietnamese-opsz-italic.Hh3oeMt5.woff2 +0 -0
  25. package/build/client/_app/immutable/assets/source-serif-4-vietnamese-opsz-normal.DX68cEVD.woff2 +0 -0
  26. package/build/client/_app/immutable/chunks/6KGJY2fN.js +1 -0
  27. package/build/client/_app/immutable/chunks/6KGJY2fN.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/6KGJY2fN.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/77EackVl.js +1 -0
  30. package/build/client/_app/immutable/chunks/77EackVl.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/77EackVl.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/81z20Z2j.js +1 -0
  33. package/build/client/_app/immutable/chunks/81z20Z2j.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/81z20Z2j.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/8S76_oNO.js +1 -0
  36. package/build/client/_app/immutable/chunks/8S76_oNO.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/8S76_oNO.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/B03u1hTl.js +1 -0
  39. package/build/client/_app/immutable/chunks/B03u1hTl.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/B03u1hTl.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/B1jHxhG9.js +1 -0
  42. package/build/client/_app/immutable/chunks/B1jHxhG9.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/B1jHxhG9.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/B2LF3HQi.js +1 -0
  45. package/build/client/_app/immutable/chunks/B2LF3HQi.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/B2LF3HQi.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/BA9P8WCL.js +1 -0
  48. package/build/client/_app/immutable/chunks/BA9P8WCL.js.br +2 -0
  49. package/build/client/_app/immutable/chunks/BA9P8WCL.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/BE9KMngo.js +1 -0
  51. package/build/client/_app/immutable/chunks/BE9KMngo.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/BE9KMngo.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/BEnnwCJ1.js +1 -0
  54. package/build/client/_app/immutable/chunks/BEnnwCJ1.js.br +2 -0
  55. package/build/client/_app/immutable/chunks/BEnnwCJ1.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/BOaUgn_g.js +1 -0
  57. package/build/client/_app/immutable/chunks/BOaUgn_g.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/BOaUgn_g.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/BQff8TZK.js +1 -0
  60. package/build/client/_app/immutable/chunks/BQff8TZK.js.br +0 -0
  61. package/build/client/_app/immutable/chunks/BQff8TZK.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/BSz_K-Yf.js +1 -0
  63. package/build/client/_app/immutable/chunks/BSz_K-Yf.js.br +3 -0
  64. package/build/client/_app/immutable/chunks/BSz_K-Yf.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/BW9ETppa.js +12 -0
  66. package/build/client/_app/immutable/chunks/BW9ETppa.js.br +0 -0
  67. package/build/client/_app/immutable/chunks/BW9ETppa.js.gz +0 -0
  68. package/build/client/_app/immutable/chunks/BWU6jjG7.js +1 -0
  69. package/build/client/_app/immutable/chunks/BWU6jjG7.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/BWU6jjG7.js.gz +0 -0
  71. package/build/client/_app/immutable/chunks/BXN538J3.js +1 -0
  72. package/build/client/_app/immutable/chunks/BXN538J3.js.br +2 -0
  73. package/build/client/_app/immutable/chunks/BXN538J3.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/BY5XjwMm.js +1 -0
  75. package/build/client/_app/immutable/chunks/BY5XjwMm.js.br +0 -0
  76. package/build/client/_app/immutable/chunks/BY5XjwMm.js.gz +0 -0
  77. package/build/client/_app/immutable/chunks/BY6-BqNq.js +4 -0
  78. package/build/client/_app/immutable/chunks/BY6-BqNq.js.br +0 -0
  79. package/build/client/_app/immutable/chunks/BY6-BqNq.js.gz +0 -0
  80. package/build/client/_app/immutable/chunks/B_0uUD7w.js +1 -0
  81. package/build/client/_app/immutable/chunks/B_0uUD7w.js.br +0 -0
  82. package/build/client/_app/immutable/chunks/B_0uUD7w.js.gz +0 -0
  83. package/build/client/_app/immutable/chunks/BcbSpnWm.js +1 -0
  84. package/build/client/_app/immutable/chunks/BcbSpnWm.js.br +4 -0
  85. package/build/client/_app/immutable/chunks/BcbSpnWm.js.gz +0 -0
  86. package/build/client/_app/immutable/chunks/Bf3vwO3j.js +5 -0
  87. package/build/client/_app/immutable/chunks/Bf3vwO3j.js.br +0 -0
  88. package/build/client/_app/immutable/chunks/Bf3vwO3j.js.gz +0 -0
  89. package/build/client/_app/immutable/chunks/BjGE9KUs.js +1 -0
  90. package/build/client/_app/immutable/chunks/BjGE9KUs.js.br +2 -0
  91. package/build/client/_app/immutable/chunks/BjGE9KUs.js.gz +0 -0
  92. package/build/client/_app/immutable/chunks/Bk4GHXy3.js +3 -0
  93. package/build/client/_app/immutable/chunks/Bk4GHXy3.js.br +0 -0
  94. package/build/client/_app/immutable/chunks/Bk4GHXy3.js.gz +0 -0
  95. package/build/client/_app/immutable/chunks/BnTDmUXb.js +1 -0
  96. package/build/client/_app/immutable/chunks/BnTDmUXb.js.br +0 -0
  97. package/build/client/_app/immutable/chunks/BnTDmUXb.js.gz +0 -0
  98. package/build/client/_app/immutable/chunks/BnWmCwuC.js +1 -0
  99. package/build/client/_app/immutable/chunks/BnWmCwuC.js.br +0 -0
  100. package/build/client/_app/immutable/chunks/BnWmCwuC.js.gz +0 -0
  101. package/build/client/_app/immutable/chunks/BqW70ENa.js +1 -0
  102. package/build/client/_app/immutable/chunks/BqW70ENa.js.br +0 -0
  103. package/build/client/_app/immutable/chunks/BqW70ENa.js.gz +0 -0
  104. package/build/client/_app/immutable/chunks/Bx_jT140.js +1 -0
  105. package/build/client/_app/immutable/chunks/Bx_jT140.js.br +0 -0
  106. package/build/client/_app/immutable/chunks/Bx_jT140.js.gz +0 -0
  107. package/build/client/_app/immutable/chunks/BxcFe1oU.js +1 -0
  108. package/build/client/_app/immutable/chunks/BxcFe1oU.js.br +0 -0
  109. package/build/client/_app/immutable/chunks/BxcFe1oU.js.gz +0 -0
  110. package/build/client/_app/immutable/chunks/Bxsz_qq0.js +1 -0
  111. package/build/client/_app/immutable/chunks/Bxsz_qq0.js.br +0 -0
  112. package/build/client/_app/immutable/chunks/Bxsz_qq0.js.gz +0 -0
  113. package/build/client/_app/immutable/chunks/BzaeIa_Z.js +3 -0
  114. package/build/client/_app/immutable/chunks/BzaeIa_Z.js.br +0 -0
  115. package/build/client/_app/immutable/chunks/BzaeIa_Z.js.gz +0 -0
  116. package/build/client/_app/immutable/chunks/C0GP2-8b.js +1 -0
  117. package/build/client/_app/immutable/chunks/C0GP2-8b.js.br +0 -0
  118. package/build/client/_app/immutable/chunks/C0GP2-8b.js.gz +0 -0
  119. package/build/client/_app/immutable/chunks/C3tZQRMf.js +1 -0
  120. package/build/client/_app/immutable/chunks/C3tZQRMf.js.br +0 -0
  121. package/build/client/_app/immutable/chunks/C3tZQRMf.js.gz +0 -0
  122. package/build/client/_app/immutable/chunks/C6r96Eyi.js +1 -0
  123. package/build/client/_app/immutable/chunks/C6r96Eyi.js.br +0 -0
  124. package/build/client/_app/immutable/chunks/C6r96Eyi.js.gz +0 -0
  125. package/build/client/_app/immutable/chunks/C6z27OE7.js +2 -0
  126. package/build/client/_app/immutable/chunks/C6z27OE7.js.br +0 -0
  127. package/build/client/_app/immutable/chunks/C6z27OE7.js.gz +0 -0
  128. package/build/client/_app/immutable/chunks/C78ZDsKk.js +1 -0
  129. package/build/client/_app/immutable/chunks/C78ZDsKk.js.br +0 -0
  130. package/build/client/_app/immutable/chunks/C78ZDsKk.js.gz +0 -0
  131. package/build/client/_app/immutable/chunks/C7Fs1mBL.js +62 -0
  132. package/build/client/_app/immutable/chunks/C7Fs1mBL.js.br +0 -0
  133. package/build/client/_app/immutable/chunks/C7Fs1mBL.js.gz +0 -0
  134. package/build/client/_app/immutable/chunks/CCnl98J7.js +1 -0
  135. package/build/client/_app/immutable/chunks/CCnl98J7.js.br +0 -0
  136. package/build/client/_app/immutable/chunks/CCnl98J7.js.gz +0 -0
  137. package/build/client/_app/immutable/chunks/CMfBOxXQ.js +1 -0
  138. package/build/client/_app/immutable/chunks/CMfBOxXQ.js.br +0 -0
  139. package/build/client/_app/immutable/chunks/CMfBOxXQ.js.gz +0 -0
  140. package/build/client/_app/immutable/chunks/COL_5ZfB.js +1 -0
  141. package/build/client/_app/immutable/chunks/COL_5ZfB.js.br +0 -0
  142. package/build/client/_app/immutable/chunks/COL_5ZfB.js.gz +0 -0
  143. package/build/client/_app/immutable/chunks/CTEB9D1A.js +1 -0
  144. package/build/client/_app/immutable/chunks/CTEB9D1A.js.br +0 -0
  145. package/build/client/_app/immutable/chunks/CTEB9D1A.js.gz +0 -0
  146. package/build/client/_app/immutable/chunks/CVgy9834.js +1 -0
  147. package/build/client/_app/immutable/chunks/CVgy9834.js.br +0 -0
  148. package/build/client/_app/immutable/chunks/CVgy9834.js.gz +0 -0
  149. package/build/client/_app/immutable/chunks/CVml0jfr.js +1 -0
  150. package/build/client/_app/immutable/chunks/CVml0jfr.js.br +0 -0
  151. package/build/client/_app/immutable/chunks/CVml0jfr.js.gz +0 -0
  152. package/build/client/_app/immutable/chunks/CYYi7yCr.js +6 -0
  153. package/build/client/_app/immutable/chunks/CYYi7yCr.js.br +0 -0
  154. package/build/client/_app/immutable/chunks/CYYi7yCr.js.gz +0 -0
  155. package/build/client/_app/immutable/chunks/C_4BzEag.js +1 -0
  156. package/build/client/_app/immutable/chunks/C_4BzEag.js.br +0 -0
  157. package/build/client/_app/immutable/chunks/C_4BzEag.js.gz +0 -0
  158. package/build/client/_app/immutable/chunks/CaZX0vxy.js +1 -0
  159. package/build/client/_app/immutable/chunks/CaZX0vxy.js.br +0 -0
  160. package/build/client/_app/immutable/chunks/CaZX0vxy.js.gz +0 -0
  161. package/build/client/_app/immutable/chunks/Cf2gKex7.js +1 -0
  162. package/build/client/_app/immutable/chunks/Cf2gKex7.js.br +0 -0
  163. package/build/client/_app/immutable/chunks/Cf2gKex7.js.gz +0 -0
  164. package/build/client/_app/immutable/chunks/CfqBTqtn.js +2 -0
  165. package/build/client/_app/immutable/chunks/CfqBTqtn.js.br +0 -0
  166. package/build/client/_app/immutable/chunks/CfqBTqtn.js.gz +0 -0
  167. package/build/client/_app/immutable/chunks/CiUQOetT.js +1 -0
  168. package/build/client/_app/immutable/chunks/CiUQOetT.js.br +0 -0
  169. package/build/client/_app/immutable/chunks/CiUQOetT.js.gz +0 -0
  170. package/build/client/_app/immutable/chunks/CiatXE7j.js +1 -0
  171. package/build/client/_app/immutable/chunks/CiatXE7j.js.br +0 -0
  172. package/build/client/_app/immutable/chunks/CiatXE7j.js.gz +0 -0
  173. package/build/client/_app/immutable/chunks/Ck9EoeAb.js +6 -0
  174. package/build/client/_app/immutable/chunks/Ck9EoeAb.js.br +0 -0
  175. package/build/client/_app/immutable/chunks/Ck9EoeAb.js.gz +0 -0
  176. package/build/client/_app/immutable/chunks/ClrkSzQd.js +2 -0
  177. package/build/client/_app/immutable/chunks/ClrkSzQd.js.br +0 -0
  178. package/build/client/_app/immutable/chunks/ClrkSzQd.js.gz +0 -0
  179. package/build/client/_app/immutable/chunks/ClsjySa8.js +1 -0
  180. package/build/client/_app/immutable/chunks/ClsjySa8.js.br +0 -0
  181. package/build/client/_app/immutable/chunks/ClsjySa8.js.gz +0 -0
  182. package/build/client/_app/immutable/chunks/Cnq9BOc7.js +1 -0
  183. package/build/client/_app/immutable/chunks/Cnq9BOc7.js.br +0 -0
  184. package/build/client/_app/immutable/chunks/Cnq9BOc7.js.gz +0 -0
  185. package/build/client/_app/immutable/chunks/Cp8hcA3u.js +1 -0
  186. package/build/client/_app/immutable/chunks/Cp8hcA3u.js.br +0 -0
  187. package/build/client/_app/immutable/chunks/Cp8hcA3u.js.gz +0 -0
  188. package/build/client/_app/immutable/chunks/CqoCr8Ql.js +1 -0
  189. package/build/client/_app/immutable/chunks/CqoCr8Ql.js.br +0 -0
  190. package/build/client/_app/immutable/chunks/CqoCr8Ql.js.gz +0 -0
  191. package/build/client/_app/immutable/chunks/CseexmPn.js +1 -0
  192. package/build/client/_app/immutable/chunks/CseexmPn.js.br +0 -0
  193. package/build/client/_app/immutable/chunks/CseexmPn.js.gz +0 -0
  194. package/build/client/_app/immutable/chunks/CuwOw1LW.js +1 -0
  195. package/build/client/_app/immutable/chunks/CuwOw1LW.js.br +1 -0
  196. package/build/client/_app/immutable/chunks/CuwOw1LW.js.gz +0 -0
  197. package/build/client/_app/immutable/chunks/CyY9v8jo.js +1 -0
  198. package/build/client/_app/immutable/chunks/CyY9v8jo.js.br +0 -0
  199. package/build/client/_app/immutable/chunks/CyY9v8jo.js.gz +0 -0
  200. package/build/client/_app/immutable/chunks/D1FBTLG3.js +1 -0
  201. package/build/client/_app/immutable/chunks/D1FBTLG3.js.br +0 -0
  202. package/build/client/_app/immutable/chunks/D1FBTLG3.js.gz +0 -0
  203. package/build/client/_app/immutable/chunks/D2znDGM9.js +1 -0
  204. package/build/client/_app/immutable/chunks/D2znDGM9.js.br +0 -0
  205. package/build/client/_app/immutable/chunks/D2znDGM9.js.gz +0 -0
  206. package/build/client/_app/immutable/chunks/DBe0ItsO.js +1 -0
  207. package/build/client/_app/immutable/chunks/DBe0ItsO.js.br +0 -0
  208. package/build/client/_app/immutable/chunks/DBe0ItsO.js.gz +0 -0
  209. package/build/client/_app/immutable/chunks/DEvUyhmD.js +1 -0
  210. package/build/client/_app/immutable/chunks/DEvUyhmD.js.br +0 -0
  211. package/build/client/_app/immutable/chunks/DEvUyhmD.js.gz +0 -0
  212. package/build/client/_app/immutable/chunks/DGzCSaT5.js +1 -0
  213. package/build/client/_app/immutable/chunks/DGzCSaT5.js.br +0 -0
  214. package/build/client/_app/immutable/chunks/DGzCSaT5.js.gz +0 -0
  215. package/build/client/_app/immutable/chunks/DJNADPa5.js +1 -0
  216. package/build/client/_app/immutable/chunks/DJNADPa5.js.br +0 -0
  217. package/build/client/_app/immutable/chunks/DJNADPa5.js.gz +0 -0
  218. package/build/client/_app/immutable/chunks/DKMbfGV2.js +1 -0
  219. package/build/client/_app/immutable/chunks/DKMbfGV2.js.br +0 -0
  220. package/build/client/_app/immutable/chunks/DKMbfGV2.js.gz +0 -0
  221. package/build/client/_app/immutable/chunks/DKQe4Tss.js +1 -0
  222. package/build/client/_app/immutable/chunks/DKQe4Tss.js.br +0 -0
  223. package/build/client/_app/immutable/chunks/DKQe4Tss.js.gz +0 -0
  224. package/build/client/_app/immutable/chunks/DMaFToWa.js +1 -0
  225. package/build/client/_app/immutable/chunks/DMaFToWa.js.br +0 -0
  226. package/build/client/_app/immutable/chunks/DMaFToWa.js.gz +0 -0
  227. package/build/client/_app/immutable/chunks/DOcnk_Iz.js +1 -0
  228. package/build/client/_app/immutable/chunks/DOcnk_Iz.js.br +0 -0
  229. package/build/client/_app/immutable/chunks/DOcnk_Iz.js.gz +0 -0
  230. package/build/client/_app/immutable/chunks/DPG9zo5w.js +1 -0
  231. package/build/client/_app/immutable/chunks/DPG9zo5w.js.br +0 -0
  232. package/build/client/_app/immutable/chunks/DPG9zo5w.js.gz +0 -0
  233. package/build/client/_app/immutable/chunks/DaInEhsf.js +1 -0
  234. package/build/client/_app/immutable/chunks/DaInEhsf.js.br +0 -0
  235. package/build/client/_app/immutable/chunks/DaInEhsf.js.gz +0 -0
  236. package/build/client/_app/immutable/chunks/DauXN12s.js +1 -0
  237. package/build/client/_app/immutable/chunks/DauXN12s.js.br +0 -0
  238. package/build/client/_app/immutable/chunks/DauXN12s.js.gz +0 -0
  239. package/build/client/_app/immutable/chunks/DcMObMK7.js +1 -0
  240. package/build/client/_app/immutable/chunks/DcMObMK7.js.br +0 -0
  241. package/build/client/_app/immutable/chunks/DcMObMK7.js.gz +0 -0
  242. package/build/client/_app/immutable/chunks/DhAjT9_1.js +5 -0
  243. package/build/client/_app/immutable/chunks/DhAjT9_1.js.br +0 -0
  244. package/build/client/_app/immutable/chunks/DhAjT9_1.js.gz +0 -0
  245. package/build/client/_app/immutable/chunks/DlNTjUcK.js +1 -0
  246. package/build/client/_app/immutable/chunks/DlNTjUcK.js.br +0 -0
  247. package/build/client/_app/immutable/chunks/DlNTjUcK.js.gz +0 -0
  248. package/build/client/_app/immutable/chunks/DmZFADh0.js +1 -0
  249. package/build/client/_app/immutable/chunks/DmZFADh0.js.br +0 -0
  250. package/build/client/_app/immutable/chunks/DmZFADh0.js.gz +0 -0
  251. package/build/client/_app/immutable/chunks/DmyvifTK.js +1 -0
  252. package/build/client/_app/immutable/chunks/DmyvifTK.js.br +0 -0
  253. package/build/client/_app/immutable/chunks/DmyvifTK.js.gz +0 -0
  254. package/build/client/_app/immutable/chunks/DoRw4E3Y.js +2 -0
  255. package/build/client/_app/immutable/chunks/DoRw4E3Y.js.br +0 -0
  256. package/build/client/_app/immutable/chunks/DoRw4E3Y.js.gz +0 -0
  257. package/build/client/_app/immutable/chunks/DqTdajKC.js +1 -0
  258. package/build/client/_app/immutable/chunks/DqTdajKC.js.br +0 -0
  259. package/build/client/_app/immutable/chunks/DqTdajKC.js.gz +0 -0
  260. package/build/client/_app/immutable/chunks/Dr5WHZNT.js +1 -0
  261. package/build/client/_app/immutable/chunks/Dr5WHZNT.js.br +0 -0
  262. package/build/client/_app/immutable/chunks/Dr5WHZNT.js.gz +0 -0
  263. package/build/client/_app/immutable/chunks/Dt3N8Hez.js +3 -0
  264. package/build/client/_app/immutable/chunks/Dt3N8Hez.js.br +0 -0
  265. package/build/client/_app/immutable/chunks/Dt3N8Hez.js.gz +0 -0
  266. package/build/client/_app/immutable/chunks/DtD2Y_Dr.js +1 -0
  267. package/build/client/_app/immutable/chunks/DtD2Y_Dr.js.br +0 -0
  268. package/build/client/_app/immutable/chunks/DtD2Y_Dr.js.gz +0 -0
  269. package/build/client/_app/immutable/chunks/DyU4yPaU.js +6 -0
  270. package/build/client/_app/immutable/chunks/DyU4yPaU.js.br +0 -0
  271. package/build/client/_app/immutable/chunks/DyU4yPaU.js.gz +0 -0
  272. package/build/client/_app/immutable/chunks/F5SKhJ33.js +1 -0
  273. package/build/client/_app/immutable/chunks/F5SKhJ33.js.br +0 -0
  274. package/build/client/_app/immutable/chunks/F5SKhJ33.js.gz +0 -0
  275. package/build/client/_app/immutable/chunks/FJoUa_PR.js +2 -0
  276. package/build/client/_app/immutable/chunks/FJoUa_PR.js.br +0 -0
  277. package/build/client/_app/immutable/chunks/FJoUa_PR.js.gz +0 -0
  278. package/build/client/_app/immutable/chunks/HE_L8BZy.js +1 -0
  279. package/build/client/_app/immutable/chunks/HE_L8BZy.js.br +0 -0
  280. package/build/client/_app/immutable/chunks/HE_L8BZy.js.gz +0 -0
  281. package/build/client/_app/immutable/chunks/Jyk2s3ap.js +1 -0
  282. package/build/client/_app/immutable/chunks/Jyk2s3ap.js.br +0 -0
  283. package/build/client/_app/immutable/chunks/Jyk2s3ap.js.gz +0 -0
  284. package/build/client/_app/immutable/chunks/Pq0PSdOV.js +1 -0
  285. package/build/client/_app/immutable/chunks/Pq0PSdOV.js.br +0 -0
  286. package/build/client/_app/immutable/chunks/Pq0PSdOV.js.gz +0 -0
  287. package/build/client/_app/immutable/chunks/Qkk13bNR.js +1 -0
  288. package/build/client/_app/immutable/chunks/Qkk13bNR.js.br +0 -0
  289. package/build/client/_app/immutable/chunks/Qkk13bNR.js.gz +0 -0
  290. package/build/client/_app/immutable/chunks/WPBAVIF-.js +1 -0
  291. package/build/client/_app/immutable/chunks/WPBAVIF-.js.br +0 -0
  292. package/build/client/_app/immutable/chunks/WPBAVIF-.js.gz +0 -0
  293. package/build/client/_app/immutable/chunks/ZpfR4O1W.js +1 -0
  294. package/build/client/_app/immutable/chunks/ZpfR4O1W.js.br +3 -0
  295. package/build/client/_app/immutable/chunks/ZpfR4O1W.js.gz +0 -0
  296. package/build/client/_app/immutable/chunks/bz-rffqD.js +1 -0
  297. package/build/client/_app/immutable/chunks/bz-rffqD.js.br +0 -0
  298. package/build/client/_app/immutable/chunks/bz-rffqD.js.gz +0 -0
  299. package/build/client/_app/immutable/chunks/cAfuCUf-.js +1 -0
  300. package/build/client/_app/immutable/chunks/cAfuCUf-.js.br +0 -0
  301. package/build/client/_app/immutable/chunks/cAfuCUf-.js.gz +0 -0
  302. package/build/client/_app/immutable/chunks/cn3db0Eu.js +1 -0
  303. package/build/client/_app/immutable/chunks/cn3db0Eu.js.br +0 -0
  304. package/build/client/_app/immutable/chunks/cn3db0Eu.js.gz +0 -0
  305. package/build/client/_app/immutable/chunks/dPcYB-8F.js +1 -0
  306. package/build/client/_app/immutable/chunks/dPcYB-8F.js.br +0 -0
  307. package/build/client/_app/immutable/chunks/dPcYB-8F.js.gz +0 -0
  308. package/build/client/_app/immutable/chunks/g935d0hS.js +1 -0
  309. package/build/client/_app/immutable/chunks/g935d0hS.js.br +0 -0
  310. package/build/client/_app/immutable/chunks/g935d0hS.js.gz +0 -0
  311. package/build/client/_app/immutable/chunks/hABrpXhm.js +1 -0
  312. package/build/client/_app/immutable/chunks/hABrpXhm.js.br +0 -0
  313. package/build/client/_app/immutable/chunks/hABrpXhm.js.gz +0 -0
  314. package/build/client/_app/immutable/chunks/hG2NMSLy.js +1 -0
  315. package/build/client/_app/immutable/chunks/hG2NMSLy.js.br +0 -0
  316. package/build/client/_app/immutable/chunks/hG2NMSLy.js.gz +0 -0
  317. package/build/client/_app/immutable/chunks/hxhxtxcx.js +1 -0
  318. package/build/client/_app/immutable/chunks/hxhxtxcx.js.br +0 -0
  319. package/build/client/_app/immutable/chunks/hxhxtxcx.js.gz +0 -0
  320. package/build/client/_app/immutable/chunks/k9B4BpVo.js +1 -0
  321. package/build/client/_app/immutable/chunks/k9B4BpVo.js.br +0 -0
  322. package/build/client/_app/immutable/chunks/k9B4BpVo.js.gz +0 -0
  323. package/build/client/_app/immutable/chunks/mldb2ZSY.js +1 -0
  324. package/build/client/_app/immutable/chunks/mldb2ZSY.js.br +0 -0
  325. package/build/client/_app/immutable/chunks/mldb2ZSY.js.gz +0 -0
  326. package/build/client/_app/immutable/chunks/pK-hw0Fs.js +1 -0
  327. package/build/client/_app/immutable/chunks/pK-hw0Fs.js.br +0 -0
  328. package/build/client/_app/immutable/chunks/pK-hw0Fs.js.gz +0 -0
  329. package/build/client/_app/immutable/chunks/qL90aEhP.js +1 -0
  330. package/build/client/_app/immutable/chunks/qL90aEhP.js.br +0 -0
  331. package/build/client/_app/immutable/chunks/qL90aEhP.js.gz +0 -0
  332. package/build/client/_app/immutable/chunks/sJOYqL84.js +1 -0
  333. package/build/client/_app/immutable/chunks/sJOYqL84.js.br +0 -0
  334. package/build/client/_app/immutable/chunks/sJOYqL84.js.gz +0 -0
  335. package/build/client/_app/immutable/chunks/xjN9NojQ.js +1 -0
  336. package/build/client/_app/immutable/chunks/xjN9NojQ.js.br +0 -0
  337. package/build/client/_app/immutable/chunks/xjN9NojQ.js.gz +0 -0
  338. package/build/client/_app/immutable/chunks/xtM1htB2.js +1 -0
  339. package/build/client/_app/immutable/chunks/xtM1htB2.js.br +0 -0
  340. package/build/client/_app/immutable/chunks/xtM1htB2.js.gz +0 -0
  341. package/build/client/_app/immutable/chunks/yErhTWsV.js +1 -0
  342. package/build/client/_app/immutable/chunks/yErhTWsV.js.br +0 -0
  343. package/build/client/_app/immutable/chunks/yErhTWsV.js.gz +0 -0
  344. package/build/client/_app/immutable/entry/app.CNYsYhC4.js +2 -0
  345. package/build/client/_app/immutable/entry/app.CNYsYhC4.js.br +0 -0
  346. package/build/client/_app/immutable/entry/app.CNYsYhC4.js.gz +0 -0
  347. package/build/client/_app/immutable/entry/start.mK_UHwMN.js +1 -0
  348. package/build/client/_app/immutable/entry/start.mK_UHwMN.js.br +0 -0
  349. package/build/client/_app/immutable/entry/start.mK_UHwMN.js.gz +0 -0
  350. package/build/client/_app/immutable/nodes/0.DtN4YFje.js +10 -0
  351. package/build/client/_app/immutable/nodes/0.DtN4YFje.js.br +0 -0
  352. package/build/client/_app/immutable/nodes/0.DtN4YFje.js.gz +0 -0
  353. package/build/client/_app/immutable/nodes/1.ClvVCr4L.js +1 -0
  354. package/build/client/_app/immutable/nodes/1.ClvVCr4L.js.br +0 -0
  355. package/build/client/_app/immutable/nodes/1.ClvVCr4L.js.gz +0 -0
  356. package/build/client/_app/immutable/nodes/11.OqWsY9Nc.js +1 -0
  357. package/build/client/_app/immutable/nodes/11.OqWsY9Nc.js.br +0 -0
  358. package/build/client/_app/immutable/nodes/11.OqWsY9Nc.js.gz +0 -0
  359. package/build/client/_app/immutable/nodes/12.DfgqDS8l.js +3 -0
  360. package/build/client/_app/immutable/nodes/12.DfgqDS8l.js.br +0 -0
  361. package/build/client/_app/immutable/nodes/12.DfgqDS8l.js.gz +0 -0
  362. package/build/client/_app/immutable/nodes/13.1duazv8t.js +1 -0
  363. package/build/client/_app/immutable/nodes/13.1duazv8t.js.br +0 -0
  364. package/build/client/_app/immutable/nodes/13.1duazv8t.js.gz +0 -0
  365. package/build/client/_app/immutable/nodes/14.BfIerr4V.js +14 -0
  366. package/build/client/_app/immutable/nodes/14.BfIerr4V.js.br +0 -0
  367. package/build/client/_app/immutable/nodes/14.BfIerr4V.js.gz +0 -0
  368. package/build/client/_app/immutable/nodes/15.DmLlt-C-.js +150 -0
  369. package/build/client/_app/immutable/nodes/15.DmLlt-C-.js.br +0 -0
  370. package/build/client/_app/immutable/nodes/15.DmLlt-C-.js.gz +0 -0
  371. package/build/client/_app/immutable/nodes/16.CzFG4aOU.js +3 -0
  372. package/build/client/_app/immutable/nodes/16.CzFG4aOU.js.br +0 -0
  373. package/build/client/_app/immutable/nodes/16.CzFG4aOU.js.gz +0 -0
  374. package/build/client/_app/immutable/nodes/17.BaPPg4SL.js +4 -0
  375. package/build/client/_app/immutable/nodes/17.BaPPg4SL.js.br +0 -0
  376. package/build/client/_app/immutable/nodes/17.BaPPg4SL.js.gz +0 -0
  377. package/build/client/_app/immutable/nodes/19.C2oiQ46N.js +2 -0
  378. package/build/client/_app/immutable/nodes/19.C2oiQ46N.js.br +2 -0
  379. package/build/client/_app/immutable/nodes/19.C2oiQ46N.js.gz +0 -0
  380. package/build/client/_app/immutable/nodes/2.Dq_B0Tbj.js +25 -0
  381. package/build/client/_app/immutable/nodes/2.Dq_B0Tbj.js.br +0 -0
  382. package/build/client/_app/immutable/nodes/2.Dq_B0Tbj.js.gz +0 -0
  383. package/build/client/_app/immutable/nodes/20.CPMVfHf7.js +11 -0
  384. package/build/client/_app/immutable/nodes/20.CPMVfHf7.js.br +0 -0
  385. package/build/client/_app/immutable/nodes/20.CPMVfHf7.js.gz +0 -0
  386. package/build/client/_app/immutable/nodes/21.9YuqSrL7.js +6 -0
  387. package/build/client/_app/immutable/nodes/21.9YuqSrL7.js.br +0 -0
  388. package/build/client/_app/immutable/nodes/21.9YuqSrL7.js.gz +0 -0
  389. package/build/client/_app/immutable/nodes/22.BO24qytx.js +2 -0
  390. package/build/client/_app/immutable/nodes/22.BO24qytx.js.br +0 -0
  391. package/build/client/_app/immutable/nodes/22.BO24qytx.js.gz +0 -0
  392. package/build/client/_app/immutable/nodes/23.BZVPu-10.js +4 -0
  393. package/build/client/_app/immutable/nodes/23.BZVPu-10.js.br +0 -0
  394. package/build/client/_app/immutable/nodes/23.BZVPu-10.js.gz +0 -0
  395. package/build/client/_app/immutable/nodes/24.6GcEKUlO.js +7 -0
  396. package/build/client/_app/immutable/nodes/24.6GcEKUlO.js.br +0 -0
  397. package/build/client/_app/immutable/nodes/24.6GcEKUlO.js.gz +0 -0
  398. package/build/client/_app/immutable/nodes/25.w0lArDUN.js +12 -0
  399. package/build/client/_app/immutable/nodes/25.w0lArDUN.js.br +0 -0
  400. package/build/client/_app/immutable/nodes/25.w0lArDUN.js.gz +0 -0
  401. package/build/client/_app/immutable/nodes/26.Hf_eo1VF.js +4 -0
  402. package/build/client/_app/immutable/nodes/26.Hf_eo1VF.js.br +0 -0
  403. package/build/client/_app/immutable/nodes/26.Hf_eo1VF.js.gz +0 -0
  404. package/build/client/_app/immutable/nodes/27.BtdPxpe8.js +1 -0
  405. package/build/client/_app/immutable/nodes/27.BtdPxpe8.js.br +0 -0
  406. package/build/client/_app/immutable/nodes/27.BtdPxpe8.js.gz +0 -0
  407. package/build/client/_app/immutable/nodes/28.CKKhSvp0.js +6 -0
  408. package/build/client/_app/immutable/nodes/28.CKKhSvp0.js.br +0 -0
  409. package/build/client/_app/immutable/nodes/28.CKKhSvp0.js.gz +0 -0
  410. package/build/client/_app/immutable/nodes/3.BtWx-zmQ.js +5 -0
  411. package/build/client/_app/immutable/nodes/3.BtWx-zmQ.js.br +0 -0
  412. package/build/client/_app/immutable/nodes/3.BtWx-zmQ.js.gz +0 -0
  413. package/build/client/_app/immutable/nodes/4.BIwEKk5d.js +1 -0
  414. package/build/client/_app/immutable/nodes/4.BIwEKk5d.js.br +0 -0
  415. package/build/client/_app/immutable/nodes/4.BIwEKk5d.js.gz +0 -0
  416. package/build/client/_app/immutable/nodes/5.DN5gHj4T.js +1 -0
  417. package/build/client/_app/immutable/nodes/5.DN5gHj4T.js.br +0 -0
  418. package/build/client/_app/immutable/nodes/5.DN5gHj4T.js.gz +0 -0
  419. package/build/client/_app/immutable/nodes/6.B2TumWTu.js +2 -0
  420. package/build/client/_app/immutable/nodes/6.B2TumWTu.js.br +0 -0
  421. package/build/client/_app/immutable/nodes/6.B2TumWTu.js.gz +0 -0
  422. package/build/client/_app/immutable/nodes/7.7HwkhZCu.js +7 -0
  423. package/build/client/_app/immutable/nodes/7.7HwkhZCu.js.br +0 -0
  424. package/build/client/_app/immutable/nodes/7.7HwkhZCu.js.gz +0 -0
  425. package/build/client/_app/immutable/nodes/8.BdDQA39V.js +5 -0
  426. package/build/client/_app/immutable/nodes/8.BdDQA39V.js.br +0 -0
  427. package/build/client/_app/immutable/nodes/8.BdDQA39V.js.gz +0 -0
  428. package/build/client/_app/immutable/nodes/9.BFDI6Dge.js +1 -0
  429. package/build/client/_app/immutable/nodes/9.BFDI6Dge.js.br +0 -0
  430. package/build/client/_app/immutable/nodes/9.BFDI6Dge.js.gz +0 -0
  431. package/build/client/_app/version.json +1 -1
  432. package/build/client/_app/version.json.br +0 -0
  433. package/build/client/_app/version.json.gz +0 -0
  434. package/build/client/apple-touch-icon.png +0 -0
  435. package/build/client/icon-192.png +0 -0
  436. package/build/client/icon-512.png +0 -0
  437. package/build/client/manifest.webmanifest +15 -0
  438. package/build/handler.js +6 -6
  439. package/build/index.js +6 -6
  440. package/build/server/chunks/chunks/DecisionCard.js-BGiCJsY8.js +1650 -0
  441. package/build/server/chunks/chunks/DocSheet.js-Bt5HhZU1.js +56 -0
  442. package/build/server/chunks/chunks/EtaLine.js-B29ZmIHz.js +98 -0
  443. package/build/server/chunks/chunks/EveryProjectSwitch.js-Y9V_kZu-.js +160 -0
  444. package/build/server/chunks/chunks/Icon.js-DZKsF3Gu.js +129 -0
  445. package/build/server/chunks/chunks/InsightsNav.js-BuykbHO_.js +18 -0
  446. package/build/server/chunks/chunks/InstallFromGitHub.js-D4tZgz1R.js +691 -0
  447. package/build/server/chunks/chunks/InstallPlugin.js-Bb559YFl.js +18 -0
  448. package/build/server/chunks/chunks/Lightbox.js-Bx6pV-NL.js +34 -0
  449. package/build/server/chunks/chunks/LinkedText.js-Bto6J20h.js +24 -0
  450. package/build/server/chunks/chunks/MateHealthPill.js-DMM619gj.js +22 -0
  451. package/build/server/chunks/chunks/MicButton.svelte_svelte_type_style_lang.js-BPXrY8rN.js +168 -0
  452. package/build/server/chunks/chunks/OpenDecision.js-DXWQXckD.js +47 -0
  453. package/build/server/chunks/chunks/PluginElement.js-B4PKHT2H.js +25 -0
  454. package/build/server/chunks/chunks/ProjectBanner.js-DGz8m8Rb.js +111 -0
  455. package/build/server/chunks/chunks/ProjectStateMark.js-ruGL_Mma.js +41 -0
  456. package/build/server/chunks/chunks/QuestionList.js-CODH1M5Z.js +214 -0
  457. package/build/server/chunks/chunks/RemotesPanel.js-0dTa0R21.js +235 -0
  458. package/build/server/chunks/chunks/ResizableRail.js-CsL4ZlsF.js +23 -0
  459. package/build/server/chunks/chunks/SettingsNav.js-DMJGoXeO.js +25 -0
  460. package/build/server/chunks/chunks/Sheet.js-13o9LKQh.js +3854 -0
  461. package/build/server/chunks/chunks/SlotContent.js-CyN_Ifyi.js +687 -0
  462. package/build/server/chunks/chunks/Switch.js-5SL7Wwa1.js +66 -0
  463. package/build/server/chunks/chunks/TimeBar.js-Dduf0kTb.js +32 -0
  464. package/build/server/chunks/chunks/TimeLegend.js-L8tTH6Ey.js +29 -0
  465. package/build/server/chunks/chunks/WhereBadge.js-DocJaNZe.js +88 -0
  466. package/build/server/chunks/chunks/addresses.js-DmMJzvLK.js +52 -0
  467. package/build/server/chunks/chunks/aliases.svelte.js-C2TIS6Rl.js +138 -0
  468. package/build/server/chunks/chunks/arrow-down.js-aY_1v1NB.js +18 -0
  469. package/build/server/chunks/chunks/arrow-left.js-B6z6NudH.js +18 -0
  470. package/build/server/chunks/chunks/arrow-right.js-vz3YukWJ.js +18 -0
  471. package/build/server/chunks/chunks/arrow-up-right.js-B5ORjULl.js +18 -0
  472. package/build/server/chunks/chunks/arrow-up.js-D8v3fwUB.js +18 -0
  473. package/build/server/chunks/chunks/berths.js-B282QffH.js +270 -0
  474. package/build/server/chunks/chunks/book-open.js-CMP_t0Zr.js +23 -0
  475. package/build/server/chunks/chunks/bridge.js-DW4bV609.js +60 -0
  476. package/build/server/chunks/chunks/brief.js-DyAlUufG.js +152 -0
  477. package/build/server/chunks/chunks/buildlog.js-BCKtSKOt.js +55 -0
  478. package/build/server/chunks/chunks/button.js-Bg2ee8PR.js +4027 -0
  479. package/build/server/chunks/chunks/chat.svelte.js-PibwBfjx.js +744 -0
  480. package/build/server/chunks/chunks/check.js-BizfScOy.js +15 -0
  481. package/build/server/chunks/chunks/checks.js-DGdGhp1G.js +258 -0
  482. package/build/server/chunks/chunks/chevron-down.js-DLf9oWYQ.js +15 -0
  483. package/build/server/chunks/chunks/chevron-left.js-D17b39o2.js +15 -0
  484. package/build/server/chunks/chunks/chevron-right.js-PPUgqXgy.js +15 -0
  485. package/build/server/chunks/chunks/circle-alert.js-B6F_Zxc7.js +23 -0
  486. package/build/server/chunks/chunks/circle-arrow-up.js-CWxi34UW.js +20 -0
  487. package/build/server/chunks/chunks/circle-check.js-oWgE2-Ib.js +19 -0
  488. package/build/server/chunks/chunks/circle-dashed.js-DCwzYTH0.js +24 -0
  489. package/build/server/chunks/chunks/circle-dot.js-DBkCvy7T.js +18 -0
  490. package/build/server/chunks/chunks/client.js-Z9ZB5A3s.js +24 -0
  491. package/build/server/chunks/chunks/clock.js-BRFOn_JF.js +18 -0
  492. package/build/server/chunks/chunks/cloud.js-DiLoEINt.js +30 -0
  493. package/build/server/chunks/chunks/config.js-E2-TrXNJ.js +185 -0
  494. package/build/server/chunks/chunks/copy.js-BTlHqk6c.js +33 -0
  495. package/build/server/chunks/chunks/detail.js-C0HwzMn_.js +146 -0
  496. package/build/server/chunks/chunks/dialog-content.js-CuWOPqMm.js +3356 -0
  497. package/build/server/chunks/chunks/external-link.js-DDXtld4W.js +24 -0
  498. package/build/server/chunks/chunks/eye.js-BTtIKcHk.js +23 -0
  499. package/build/server/chunks/chunks/feedback.js-C0F-OaSn.js +67 -0
  500. package/build/server/chunks/chunks/format.js-D3lWEg6U.js +70 -0
  501. package/build/server/chunks/chunks/git-pull-request.js-DPwvD_k6.js +20 -0
  502. package/build/server/chunks/chunks/hand.js-OgzocAnn.js +25 -0
  503. package/build/server/chunks/chunks/index-server.js-qvYADcF_.js +17 -0
  504. package/build/server/chunks/chunks/index-server2.js-DMc-UvjC.js +19 -0
  505. package/build/server/chunks/chunks/index.js-CNAJQSM0.js +1524 -0
  506. package/build/server/chunks/chunks/index2.js-BuH5pXIO.js +46 -0
  507. package/build/server/chunks/chunks/insights.svelte.js-EX826idS.js +732 -0
  508. package/build/server/chunks/chunks/internal.js-C0t7gs85.js +151 -0
  509. package/build/server/chunks/chunks/keychain.js-Bl9yNOSB.js +52 -0
  510. package/build/server/chunks/chunks/live.svelte.js-DmaKnCsQ.js +241 -0
  511. package/build/server/chunks/chunks/loader-circle.js-B1RYi3bC.js +16 -0
  512. package/build/server/chunks/chunks/lock.js-BRFwEIy_.js +48 -0
  513. package/build/server/chunks/chunks/markdown.js-8EKwlA8M.js +2656 -0
  514. package/build/server/chunks/chunks/message-square.js-CrZeO0AI.js +22 -0
  515. package/build/server/chunks/chunks/messages-square.js-Du4pyX-d.js +47 -0
  516. package/build/server/chunks/chunks/minus.js-oy46PWoK.js +15 -0
  517. package/build/server/chunks/chunks/nav.js-DcQjV5OF.js +30 -0
  518. package/build/server/chunks/chunks/page.js-CJdNW_XA.js +11 -0
  519. package/build/server/chunks/chunks/phone.svelte.js-DSEWkTcb.js +7 -0
  520. package/build/server/chunks/chunks/plus.js-_sWZi-RM.js +15 -0
  521. package/build/server/chunks/chunks/previewhelper2.js-BCYWAXyJ.js +165 -0
  522. package/build/server/chunks/chunks/previewnote.js-DB6VK2fp.js +56 -0
  523. package/build/server/chunks/chunks/pullrequests.js-CCzk2sqm.js +12 -0
  524. package/build/server/chunks/chunks/puzzle.js-DISwYPxF.js +22 -0
  525. package/build/server/chunks/chunks/refresh-cw.js-CbDhy8fm.js +26 -0
  526. package/build/server/chunks/chunks/remote.js-C8NtkvLx.js +13 -0
  527. package/build/server/chunks/chunks/repo.js-CNzWdJys.js +33 -0
  528. package/build/server/chunks/chunks/root.js-BMwYWidL.js +3105 -0
  529. package/build/server/chunks/chunks/rotate-cw.js-BPC6IxqZ.js +21 -0
  530. package/build/server/chunks/chunks/runtime.js-DgaQqsVF.js +17833 -0
  531. package/build/server/chunks/chunks/scale.js-5D4jKhvV.js +21 -0
  532. package/build/server/chunks/chunks/service.js-Cy0qlGNT.js +1337 -0
  533. package/build/server/chunks/chunks/service2.js-BUuLZLu5.js +1140 -0
  534. package/build/server/chunks/chunks/settings.js-CagyrW8Z.js +23 -0
  535. package/build/server/chunks/chunks/settings2.js-DPuzmbc5.js +694 -0
  536. package/build/server/chunks/chunks/shield-check.js-CDitrAGo.js +23 -0
  537. package/build/server/chunks/chunks/ship.js-BVQ9iFsJ.js +31 -0
  538. package/build/server/chunks/chunks/sparkles.js-Mcsine-_.js +26 -0
  539. package/build/server/chunks/chunks/square-terminal.js-CBs-sBt1.js +30 -0
  540. package/build/server/chunks/chunks/starter.js-DRsRq6lV.js +628 -0
  541. package/build/server/chunks/chunks/terminal.js-BckfZrAP.js +71 -0
  542. package/build/server/chunks/chunks/tone.js-Dxsl-adt.js +31 -0
  543. package/build/server/chunks/chunks/triangle-alert.js-DCXyDwgC.js +25 -0
  544. package/build/server/chunks/chunks/updates.js-CPT_S4vG.js +23 -0
  545. package/build/server/chunks/chunks/updates.svelte.js-DaHXemUC.js +88 -0
  546. package/build/server/chunks/chunks/urls.js-CM6aklCF.js +8 -0
  547. package/build/server/chunks/chunks/users.js-B-CA8JtQ.js +20 -0
  548. package/build/server/chunks/chunks/utils3.js-ByN3K_WW.js +3290 -0
  549. package/build/server/chunks/chunks/vault.js-DZFWbeCU.js +162 -0
  550. package/build/server/chunks/chunks/view.js-BSXOPXh3.js +76 -0
  551. package/build/server/chunks/chunks/words.js-DoCiNU5f.js +53 -0
  552. package/build/server/chunks/chunks/x.js-vo5qKISo.js +18 -0
  553. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-DHRttFTZ.js +96 -0
  554. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-DRUnwmY_.js +79 -0
  555. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-Bf8mLtRw.js +43 -0
  556. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-CFQWYnSF.js +106 -0
  557. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-DivBWRYq.js +55 -0
  558. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-tTC_RJl3.js +89 -0
  559. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-vZvRvOTi.js +125 -0
  560. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-BSZ_yvi2.js +51 -0
  561. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-GcLDzApj.js +57 -0
  562. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-CE4NXzMK.js +50 -0
  563. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-CaxvkmW1.js +97 -0
  564. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-DjGy8j6U.js +60 -0
  565. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-B9JTcRZ-.js +71 -0
  566. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-LA2imWIt.js +50 -0
  567. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-CpR9UKUp.js +42 -0
  568. package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-Ct3zJpGp.js +106 -0
  569. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-o_9aL7gt.js +42 -0
  570. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-DhOBDQa6.js +66 -0
  571. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-BKxB5PDV.js +57 -0
  572. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-D5Gg4kol.js +42 -0
  573. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-A1lw0Ldv.js +77 -0
  574. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-BFAOjNft.js +66 -0
  575. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-Dmq3DhyB.js +61 -0
  576. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-Z_D76GMl.js +58 -0
  577. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-C8BaVcnJ.js +27 -0
  578. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-BMYZAEQn.js +65 -0
  579. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-QhAgv3Mq.js +39 -0
  580. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-BkXisb_q.js +42 -0
  581. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-BxBVAipn.js +39 -0
  582. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DHe0Y-ck.js +42 -0
  583. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-DyrnKFGK.js +27 -0
  584. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-B5-Q_Pfy.js +65 -0
  585. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-CXT0t4GT.js +47 -0
  586. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-C4GIfRHH.js +56 -0
  587. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-Dc9s4cez.js +68 -0
  588. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-vdzB2xgv.js +55 -0
  589. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-C_FJm_du.js +78 -0
  590. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-BULKZ_84.js +61 -0
  591. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-BWi__jmG.js +51 -0
  592. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-Dlm9JukW.js +61 -0
  593. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-8KkKfI-b.js +100 -0
  594. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-C0t3n3rC.js +50 -0
  595. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-DhWmfcw8.js +47 -0
  596. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-CzSFHZLr.js +66 -0
  597. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-DXLL2NLX.js +59 -0
  598. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-DscE2sa8.js +107 -0
  599. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-qxRt7CO9.js +61 -0
  600. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-CVC67F8h.js +64 -0
  601. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-C9jI7ywJ.js +68 -0
  602. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-QcFb__5e.js +40 -0
  603. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-yYEp6hFu.js +27 -0
  604. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-YcIPKmyk.js +27 -0
  605. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-Dl5YccjX.js +46 -0
  606. package/build/server/chunks/entries/fallbacks/error.svelte.js-C0-QO05E.js +15 -0
  607. package/build/server/chunks/entries/hooks.server.js-BGT9tj5a.js +79 -0
  608. package/build/server/chunks/entries/pages/_layout.server.ts.js-BPqTpXnT.js +27 -0
  609. package/build/server/chunks/entries/pages/_layout.svelte.js-DrL1HCPc.js +5501 -0
  610. package/build/server/chunks/entries/pages/_page.server.ts.js-Ck4LSRvY.js +16 -0
  611. package/build/server/chunks/entries/pages/_page.svelte.js-C0XtmgnT.js +3271 -0
  612. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-ffNDlvSu.js +11 -0
  613. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-CvbTkNdA.js +202 -0
  614. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-DF0j_WRo.js +16 -0
  615. package/build/server/chunks/entries/pages/deck/_page.svelte.js-ByaF4X4f.js +101 -0
  616. package/build/server/chunks/entries/pages/files/_page.server.ts.js-l4nvknAj.js +17 -0
  617. package/build/server/chunks/entries/pages/files/_page.svelte.js-C6FWKguz.js +61 -0
  618. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-Dbjsqtp9.js +46 -0
  619. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-DW1Zg1aI.js +750 -0
  620. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-CwQpGWGn.js +11 -0
  621. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-Bofa0rV1.js +183 -0
  622. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-LnoZxPlZ.js +11 -0
  623. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-NEaMeQr4.js +192 -0
  624. package/build/server/chunks/entries/pages/more/_page.svelte.js-Biw-GzWK.js +108 -0
  625. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-qN2haElN.js +16 -0
  626. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-IxIvs80b.js +57 -0
  627. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-C_KiW7id.js +23 -0
  628. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-CZuOnAvk.js +957 -0
  629. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-Bgx5a4Bq.js +21 -0
  630. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-BiaWDy5c.js +79 -0
  631. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-BbsvTa0x.js +27 -0
  632. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-B3HRzAzL.js +419 -0
  633. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-DyN1H2dy.js +15 -0
  634. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-DaA-EDRZ.js +1881 -0
  635. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-BYdNkq73.js +11 -0
  636. package/build/server/chunks/entries/pages/remotes/_page.svelte.js-BSG7dgKM.js +31 -0
  637. package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-Dd467IE0.js +221 -0
  638. package/build/server/chunks/entries/pages/settings/cloud/_page.server.ts.js-oouHUw1O.js +11 -0
  639. package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-CCSostfV.js +33 -0
  640. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-C4QsORKn.js +11 -0
  641. package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-7xxA_syu.js +209 -0
  642. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-K1Bl3LMF.js +19 -0
  643. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-BclcwMMK.js +611 -0
  644. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-Bb7A-51X.js +17 -0
  645. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-DU1PVspq.js +229 -0
  646. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-CYEEIqKU.js +11 -0
  647. package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-el4jo1--.js +55 -0
  648. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-Bvs60PVx.js +11 -0
  649. package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-BPBP_MeS.js +61 -0
  650. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-B1wfLoGz.js +18 -0
  651. package/build/server/chunks/entries/pages/setup/_page.svelte.js-Cnl_NDaT.js +979 -0
  652. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-CpWnd8Ii.js +25 -0
  653. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-BsZxwgSh.js +2951 -0
  654. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-B16EJzeL.js +24 -0
  655. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-CbUrpRPl.js +80 -0
  656. package/build/server/chunks/entries/pages/time/_page.server.ts.js-CqYmO2e_.js +11 -0
  657. package/build/server/chunks/entries/pages/time/_page.svelte.js-sI9ldCiM.js +108 -0
  658. package/build/server/chunks/handler-55U1exID.js +1474 -0
  659. package/build/server/chunks/index.js-_VxtUxOR.js +4296 -0
  660. package/build/server/chunks/manifest.js-CvlmBvHi.js +642 -0
  661. package/build/server/chunks/nodes/0.js-0UOgcqd1.js +49 -0
  662. package/build/server/chunks/nodes/1.js-BpZhjsrX.js +9 -0
  663. package/build/server/chunks/nodes/10.js-CqEYHIx6.js +12 -0
  664. package/build/server/chunks/nodes/11.js-D73yUAUK.js +47 -0
  665. package/build/server/chunks/nodes/12.js-wge33Kh_.js +49 -0
  666. package/build/server/chunks/nodes/13.js-CP9VWd6v.js +48 -0
  667. package/build/server/chunks/nodes/14.js-pI9xqI8W.js +49 -0
  668. package/build/server/chunks/nodes/15.js-BADx9-2h.js +48 -0
  669. package/build/server/chunks/nodes/16.js-B1DTie2c.js +25 -0
  670. package/build/server/chunks/nodes/17.js-DqrtuOB_.js +9 -0
  671. package/build/server/chunks/nodes/18.js-DbSnX-1e.js +12 -0
  672. package/build/server/chunks/nodes/19.js-DG8BDwO1.js +25 -0
  673. package/build/server/chunks/nodes/2.js-Blr6vlmx.js +47 -0
  674. package/build/server/chunks/nodes/20.js-P8jhtZV0.js +47 -0
  675. package/build/server/chunks/nodes/21.js-Dahbb_SQ.js +47 -0
  676. package/build/server/chunks/nodes/22.js-Br6SrZKH.js +50 -0
  677. package/build/server/chunks/nodes/23.js-BS4hjiBj.js +49 -0
  678. package/build/server/chunks/nodes/24.js-DGa7X3nY.js +26 -0
  679. package/build/server/chunks/nodes/25.js-C8Rf-PwV.js +51 -0
  680. package/build/server/chunks/nodes/26.js-B8iZRseb.js +48 -0
  681. package/build/server/chunks/nodes/27.js-B8HE4f8h.js +48 -0
  682. package/build/server/chunks/nodes/28.js-NecfT5Uo.js +47 -0
  683. package/build/server/chunks/nodes/3.js-CsbGbh89.js +47 -0
  684. package/build/server/chunks/nodes/4.js-B75wgQPd.js +47 -0
  685. package/build/server/chunks/nodes/5.js-DLOa8tSh.js +47 -0
  686. package/build/server/chunks/nodes/6.js-CiYesw8R.js +51 -0
  687. package/build/server/chunks/nodes/7.js-Bs4Z3Vhh.js +47 -0
  688. package/build/server/chunks/nodes/8.js-BrqJRPDG.js +47 -0
  689. package/build/server/chunks/nodes/9.js-BxYs6WJn.js +9 -0
  690. package/dist/cli.js +2437 -404
  691. package/dist/wh-vault.js +1 -1
  692. package/package.json +3 -1
  693. package/plugins/shared-review/.wheelhouse-plugin/plugin.json +2 -1
  694. package/plugins/shared-review/README.md +3 -1
  695. package/plugins/shared-review/wheelhouse/server/index.js +11 -2
  696. package/plugins/shared-review/wheelhouse/ui/index.js +284 -2
  697. package/plugins/vault/wheelhouse/icon.svg +1 -1
  698. package/skills/manage-wheelhouse/SKILL.md +103 -0
  699. package/skills/manage-wheelhouse/references/operations.md +856 -0
  700. package/build/client/_app/immutable/assets/0.CxNAeXUL.css +0 -1
  701. package/build/client/_app/immutable/assets/0.CxNAeXUL.css.br +0 -0
  702. package/build/client/_app/immutable/assets/0.CxNAeXUL.css.gz +0 -0
  703. package/build/client/_app/immutable/assets/2.DvyEOdRq.css +0 -1
  704. package/build/client/_app/immutable/assets/2.DvyEOdRq.css.br +0 -0
  705. package/build/client/_app/immutable/assets/2.DvyEOdRq.css.gz +0 -0
  706. package/build/client/_app/immutable/assets/DocSheet.CgzYidp-.css +0 -1
  707. package/build/client/_app/immutable/assets/DocSheet.CgzYidp-.css.br +0 -0
  708. package/build/client/_app/immutable/assets/DocSheet.CgzYidp-.css.gz +0 -0
  709. package/build/client/_app/immutable/chunks/-8jzdSzV.js +0 -1
  710. package/build/client/_app/immutable/chunks/-8jzdSzV.js.br +0 -0
  711. package/build/client/_app/immutable/chunks/-8jzdSzV.js.gz +0 -0
  712. package/build/client/_app/immutable/chunks/1WRcPxqg.js +0 -1
  713. package/build/client/_app/immutable/chunks/1WRcPxqg.js.br +0 -0
  714. package/build/client/_app/immutable/chunks/1WRcPxqg.js.gz +0 -0
  715. package/build/client/_app/immutable/chunks/2u5U2sv5.js +0 -1
  716. package/build/client/_app/immutable/chunks/2u5U2sv5.js.br +0 -2
  717. package/build/client/_app/immutable/chunks/2u5U2sv5.js.gz +0 -0
  718. package/build/client/_app/immutable/chunks/4VJeJzd5.js +0 -1
  719. package/build/client/_app/immutable/chunks/4VJeJzd5.js.br +0 -0
  720. package/build/client/_app/immutable/chunks/4VJeJzd5.js.gz +0 -0
  721. package/build/client/_app/immutable/chunks/6x5fl0iw.js +0 -1
  722. package/build/client/_app/immutable/chunks/6x5fl0iw.js.br +0 -0
  723. package/build/client/_app/immutable/chunks/6x5fl0iw.js.gz +0 -0
  724. package/build/client/_app/immutable/chunks/6x9f8OOX.js +0 -1
  725. package/build/client/_app/immutable/chunks/6x9f8OOX.js.br +0 -0
  726. package/build/client/_app/immutable/chunks/6x9f8OOX.js.gz +0 -0
  727. package/build/client/_app/immutable/chunks/B2ctrXx5.js +0 -1
  728. package/build/client/_app/immutable/chunks/B2ctrXx5.js.br +0 -0
  729. package/build/client/_app/immutable/chunks/B2ctrXx5.js.gz +0 -0
  730. package/build/client/_app/immutable/chunks/B3j8X7eP.js +0 -1
  731. package/build/client/_app/immutable/chunks/B3j8X7eP.js.br +0 -0
  732. package/build/client/_app/immutable/chunks/B3j8X7eP.js.gz +0 -0
  733. package/build/client/_app/immutable/chunks/BBLx2oxZ.js +0 -2
  734. package/build/client/_app/immutable/chunks/BBLx2oxZ.js.br +0 -0
  735. package/build/client/_app/immutable/chunks/BBLx2oxZ.js.gz +0 -0
  736. package/build/client/_app/immutable/chunks/BBWR4qW2.js +0 -1
  737. package/build/client/_app/immutable/chunks/BBWR4qW2.js.br +0 -0
  738. package/build/client/_app/immutable/chunks/BBWR4qW2.js.gz +0 -0
  739. package/build/client/_app/immutable/chunks/BBk8ftHo.js +0 -1
  740. package/build/client/_app/immutable/chunks/BBk8ftHo.js.br +0 -0
  741. package/build/client/_app/immutable/chunks/BBk8ftHo.js.gz +0 -0
  742. package/build/client/_app/immutable/chunks/BHVTrNhR.js +0 -3
  743. package/build/client/_app/immutable/chunks/BHVTrNhR.js.br +0 -0
  744. package/build/client/_app/immutable/chunks/BHVTrNhR.js.gz +0 -0
  745. package/build/client/_app/immutable/chunks/BH_GqTtA.js +0 -1
  746. package/build/client/_app/immutable/chunks/BH_GqTtA.js.br +0 -0
  747. package/build/client/_app/immutable/chunks/BH_GqTtA.js.gz +0 -0
  748. package/build/client/_app/immutable/chunks/BHu5PcTV.js +0 -1
  749. package/build/client/_app/immutable/chunks/BHu5PcTV.js.br +0 -0
  750. package/build/client/_app/immutable/chunks/BHu5PcTV.js.gz +0 -0
  751. package/build/client/_app/immutable/chunks/BKSx-wDn.js +0 -1
  752. package/build/client/_app/immutable/chunks/BKSx-wDn.js.br +0 -0
  753. package/build/client/_app/immutable/chunks/BKSx-wDn.js.gz +0 -0
  754. package/build/client/_app/immutable/chunks/BOY9WARo.js +0 -2
  755. package/build/client/_app/immutable/chunks/BOY9WARo.js.br +0 -0
  756. package/build/client/_app/immutable/chunks/BOY9WARo.js.gz +0 -0
  757. package/build/client/_app/immutable/chunks/BQle5rwK.js +0 -1
  758. package/build/client/_app/immutable/chunks/BQle5rwK.js.br +0 -0
  759. package/build/client/_app/immutable/chunks/BQle5rwK.js.gz +0 -0
  760. package/build/client/_app/immutable/chunks/BRuDnHyc.js +0 -2
  761. package/build/client/_app/immutable/chunks/BRuDnHyc.js.br +0 -0
  762. package/build/client/_app/immutable/chunks/BRuDnHyc.js.gz +0 -0
  763. package/build/client/_app/immutable/chunks/BSMH3sl_.js +0 -1
  764. package/build/client/_app/immutable/chunks/BSMH3sl_.js.br +0 -0
  765. package/build/client/_app/immutable/chunks/BSMH3sl_.js.gz +0 -0
  766. package/build/client/_app/immutable/chunks/BV-FSL0u.js +0 -1
  767. package/build/client/_app/immutable/chunks/BV-FSL0u.js.br +0 -0
  768. package/build/client/_app/immutable/chunks/BV-FSL0u.js.gz +0 -0
  769. package/build/client/_app/immutable/chunks/BXF1nDhR.js +0 -1
  770. package/build/client/_app/immutable/chunks/BXF1nDhR.js.br +0 -0
  771. package/build/client/_app/immutable/chunks/BXF1nDhR.js.gz +0 -0
  772. package/build/client/_app/immutable/chunks/BbU5AsRD.js +0 -1
  773. package/build/client/_app/immutable/chunks/BbU5AsRD.js.br +0 -0
  774. package/build/client/_app/immutable/chunks/BbU5AsRD.js.gz +0 -0
  775. package/build/client/_app/immutable/chunks/BkoErw_r.js +0 -1
  776. package/build/client/_app/immutable/chunks/BkoErw_r.js.br +0 -0
  777. package/build/client/_app/immutable/chunks/BkoErw_r.js.gz +0 -0
  778. package/build/client/_app/immutable/chunks/Bl1tMgf8.js +0 -1
  779. package/build/client/_app/immutable/chunks/Bl1tMgf8.js.br +0 -0
  780. package/build/client/_app/immutable/chunks/Bl1tMgf8.js.gz +0 -0
  781. package/build/client/_app/immutable/chunks/Blj84s6L.js +0 -1
  782. package/build/client/_app/immutable/chunks/Blj84s6L.js.br +0 -0
  783. package/build/client/_app/immutable/chunks/Blj84s6L.js.gz +0 -0
  784. package/build/client/_app/immutable/chunks/Bo1SMwPt.js +0 -1
  785. package/build/client/_app/immutable/chunks/Bo1SMwPt.js.br +0 -0
  786. package/build/client/_app/immutable/chunks/Bo1SMwPt.js.gz +0 -0
  787. package/build/client/_app/immutable/chunks/BudxWdUe.js +0 -1
  788. package/build/client/_app/immutable/chunks/BudxWdUe.js.br +0 -0
  789. package/build/client/_app/immutable/chunks/BudxWdUe.js.gz +0 -0
  790. package/build/client/_app/immutable/chunks/BvCDG8Dd.js +0 -1
  791. package/build/client/_app/immutable/chunks/BvCDG8Dd.js.br +0 -0
  792. package/build/client/_app/immutable/chunks/BvCDG8Dd.js.gz +0 -0
  793. package/build/client/_app/immutable/chunks/BwLAIydi.js +0 -1
  794. package/build/client/_app/immutable/chunks/BwLAIydi.js.br +0 -0
  795. package/build/client/_app/immutable/chunks/BwLAIydi.js.gz +0 -0
  796. package/build/client/_app/immutable/chunks/Bxc9WZZR.js +0 -1
  797. package/build/client/_app/immutable/chunks/Bxc9WZZR.js.br +0 -0
  798. package/build/client/_app/immutable/chunks/Bxc9WZZR.js.gz +0 -0
  799. package/build/client/_app/immutable/chunks/Bxza7kFR.js +0 -1
  800. package/build/client/_app/immutable/chunks/Bxza7kFR.js.br +0 -0
  801. package/build/client/_app/immutable/chunks/Bxza7kFR.js.gz +0 -0
  802. package/build/client/_app/immutable/chunks/BzYzevxb.js +0 -1
  803. package/build/client/_app/immutable/chunks/BzYzevxb.js.br +0 -0
  804. package/build/client/_app/immutable/chunks/BzYzevxb.js.gz +0 -0
  805. package/build/client/_app/immutable/chunks/C03wrLr6.js +0 -1
  806. package/build/client/_app/immutable/chunks/C03wrLr6.js.br +0 -0
  807. package/build/client/_app/immutable/chunks/C03wrLr6.js.gz +0 -0
  808. package/build/client/_app/immutable/chunks/C0nIjZ3F.js +0 -1
  809. package/build/client/_app/immutable/chunks/C0nIjZ3F.js.br +0 -0
  810. package/build/client/_app/immutable/chunks/C0nIjZ3F.js.gz +0 -0
  811. package/build/client/_app/immutable/chunks/CDGwSysF.js +0 -1
  812. package/build/client/_app/immutable/chunks/CDGwSysF.js.br +0 -0
  813. package/build/client/_app/immutable/chunks/CDGwSysF.js.gz +0 -0
  814. package/build/client/_app/immutable/chunks/CEbzGOE-.js +0 -1
  815. package/build/client/_app/immutable/chunks/CEbzGOE-.js.br +0 -0
  816. package/build/client/_app/immutable/chunks/CEbzGOE-.js.gz +0 -0
  817. package/build/client/_app/immutable/chunks/CLeVtrv1.js +0 -1
  818. package/build/client/_app/immutable/chunks/CLeVtrv1.js.br +0 -3
  819. package/build/client/_app/immutable/chunks/CLeVtrv1.js.gz +0 -0
  820. package/build/client/_app/immutable/chunks/CLsVEPfB.js +0 -1
  821. package/build/client/_app/immutable/chunks/CLsVEPfB.js.br +0 -0
  822. package/build/client/_app/immutable/chunks/CLsVEPfB.js.gz +0 -0
  823. package/build/client/_app/immutable/chunks/CLubIfWE.js +0 -1
  824. package/build/client/_app/immutable/chunks/CLubIfWE.js.br +0 -0
  825. package/build/client/_app/immutable/chunks/CLubIfWE.js.gz +0 -0
  826. package/build/client/_app/immutable/chunks/CNcEb8rI.js +0 -1
  827. package/build/client/_app/immutable/chunks/CNcEb8rI.js.br +0 -0
  828. package/build/client/_app/immutable/chunks/CNcEb8rI.js.gz +0 -0
  829. package/build/client/_app/immutable/chunks/CWq2437p.js +0 -1
  830. package/build/client/_app/immutable/chunks/CWq2437p.js.br +0 -0
  831. package/build/client/_app/immutable/chunks/CWq2437p.js.gz +0 -0
  832. package/build/client/_app/immutable/chunks/CaaP7Cfy.js +0 -1
  833. package/build/client/_app/immutable/chunks/CaaP7Cfy.js.br +0 -0
  834. package/build/client/_app/immutable/chunks/CaaP7Cfy.js.gz +0 -0
  835. package/build/client/_app/immutable/chunks/CbGZd9iT.js +0 -1
  836. package/build/client/_app/immutable/chunks/CbGZd9iT.js.br +0 -0
  837. package/build/client/_app/immutable/chunks/CbGZd9iT.js.gz +0 -0
  838. package/build/client/_app/immutable/chunks/Cbmz3nkf.js +0 -1
  839. package/build/client/_app/immutable/chunks/Cbmz3nkf.js.br +0 -2
  840. package/build/client/_app/immutable/chunks/Cbmz3nkf.js.gz +0 -0
  841. package/build/client/_app/immutable/chunks/CdUf0vBw.js +0 -1
  842. package/build/client/_app/immutable/chunks/CdUf0vBw.js.br +0 -0
  843. package/build/client/_app/immutable/chunks/CdUf0vBw.js.gz +0 -0
  844. package/build/client/_app/immutable/chunks/Ce7qVCDI.js +0 -1
  845. package/build/client/_app/immutable/chunks/Ce7qVCDI.js.br +0 -0
  846. package/build/client/_app/immutable/chunks/Ce7qVCDI.js.gz +0 -0
  847. package/build/client/_app/immutable/chunks/Cio5-ROX.js +0 -6
  848. package/build/client/_app/immutable/chunks/Cio5-ROX.js.br +0 -0
  849. package/build/client/_app/immutable/chunks/Cio5-ROX.js.gz +0 -0
  850. package/build/client/_app/immutable/chunks/CrPP6AgN.js +0 -1
  851. package/build/client/_app/immutable/chunks/CrPP6AgN.js.br +0 -0
  852. package/build/client/_app/immutable/chunks/CrPP6AgN.js.gz +0 -0
  853. package/build/client/_app/immutable/chunks/CyhrvZ9i.js +0 -1
  854. package/build/client/_app/immutable/chunks/CyhrvZ9i.js.br +0 -0
  855. package/build/client/_app/immutable/chunks/CyhrvZ9i.js.gz +0 -0
  856. package/build/client/_app/immutable/chunks/D1pI6A8q.js +0 -1
  857. package/build/client/_app/immutable/chunks/D1pI6A8q.js.br +0 -0
  858. package/build/client/_app/immutable/chunks/D1pI6A8q.js.gz +0 -0
  859. package/build/client/_app/immutable/chunks/D6hXuNzR.js +0 -1
  860. package/build/client/_app/immutable/chunks/D6hXuNzR.js.br +0 -1
  861. package/build/client/_app/immutable/chunks/D6hXuNzR.js.gz +0 -0
  862. package/build/client/_app/immutable/chunks/D8Hr8rhb.js +0 -1
  863. package/build/client/_app/immutable/chunks/D8Hr8rhb.js.br +0 -0
  864. package/build/client/_app/immutable/chunks/D8Hr8rhb.js.gz +0 -0
  865. package/build/client/_app/immutable/chunks/D8s8J8Og.js +0 -1
  866. package/build/client/_app/immutable/chunks/D8s8J8Og.js.br +0 -0
  867. package/build/client/_app/immutable/chunks/D8s8J8Og.js.gz +0 -0
  868. package/build/client/_app/immutable/chunks/DCbu051o.js +0 -1
  869. package/build/client/_app/immutable/chunks/DCbu051o.js.br +0 -2
  870. package/build/client/_app/immutable/chunks/DCbu051o.js.gz +0 -0
  871. package/build/client/_app/immutable/chunks/DDUWrtWf.js +0 -1
  872. package/build/client/_app/immutable/chunks/DDUWrtWf.js.br +0 -0
  873. package/build/client/_app/immutable/chunks/DDUWrtWf.js.gz +0 -0
  874. package/build/client/_app/immutable/chunks/DEIc6x-v.js +0 -1
  875. package/build/client/_app/immutable/chunks/DEIc6x-v.js.br +0 -0
  876. package/build/client/_app/immutable/chunks/DEIc6x-v.js.gz +0 -0
  877. package/build/client/_app/immutable/chunks/DMefFkCx.js +0 -1
  878. package/build/client/_app/immutable/chunks/DMefFkCx.js.br +0 -0
  879. package/build/client/_app/immutable/chunks/DMefFkCx.js.gz +0 -0
  880. package/build/client/_app/immutable/chunks/DQEmyAe4.js +0 -1
  881. package/build/client/_app/immutable/chunks/DQEmyAe4.js.br +0 -2
  882. package/build/client/_app/immutable/chunks/DQEmyAe4.js.gz +0 -0
  883. package/build/client/_app/immutable/chunks/DRK9oYED.js +0 -1
  884. package/build/client/_app/immutable/chunks/DRK9oYED.js.br +0 -0
  885. package/build/client/_app/immutable/chunks/DRK9oYED.js.gz +0 -0
  886. package/build/client/_app/immutable/chunks/DU2mz-vL.js +0 -1
  887. package/build/client/_app/immutable/chunks/DU2mz-vL.js.br +0 -0
  888. package/build/client/_app/immutable/chunks/DU2mz-vL.js.gz +0 -0
  889. package/build/client/_app/immutable/chunks/DWlSINHC.js +0 -1
  890. package/build/client/_app/immutable/chunks/DWlSINHC.js.br +0 -0
  891. package/build/client/_app/immutable/chunks/DWlSINHC.js.gz +0 -0
  892. package/build/client/_app/immutable/chunks/DZJnY8Nx.js +0 -1
  893. package/build/client/_app/immutable/chunks/DZJnY8Nx.js.br +0 -0
  894. package/build/client/_app/immutable/chunks/DZJnY8Nx.js.gz +0 -0
  895. package/build/client/_app/immutable/chunks/DdB79emW.js +0 -1
  896. package/build/client/_app/immutable/chunks/DdB79emW.js.br +0 -0
  897. package/build/client/_app/immutable/chunks/DdB79emW.js.gz +0 -0
  898. package/build/client/_app/immutable/chunks/DdRufa9N.js +0 -1
  899. package/build/client/_app/immutable/chunks/DdRufa9N.js.br +0 -0
  900. package/build/client/_app/immutable/chunks/DdRufa9N.js.gz +0 -0
  901. package/build/client/_app/immutable/chunks/DgOhqfdF.js +0 -1
  902. package/build/client/_app/immutable/chunks/DgOhqfdF.js.br +0 -0
  903. package/build/client/_app/immutable/chunks/DgOhqfdF.js.gz +0 -0
  904. package/build/client/_app/immutable/chunks/Dhv6iBq8.js +0 -1
  905. package/build/client/_app/immutable/chunks/Dhv6iBq8.js.br +0 -0
  906. package/build/client/_app/immutable/chunks/Dhv6iBq8.js.gz +0 -0
  907. package/build/client/_app/immutable/chunks/Dj3Af0xC.js +0 -2
  908. package/build/client/_app/immutable/chunks/Dj3Af0xC.js.br +0 -0
  909. package/build/client/_app/immutable/chunks/Dj3Af0xC.js.gz +0 -0
  910. package/build/client/_app/immutable/chunks/DkG1ReNq.js +0 -1
  911. package/build/client/_app/immutable/chunks/DkG1ReNq.js.br +0 -0
  912. package/build/client/_app/immutable/chunks/DkG1ReNq.js.gz +0 -0
  913. package/build/client/_app/immutable/chunks/DlcOqcbg.js +0 -1
  914. package/build/client/_app/immutable/chunks/DlcOqcbg.js.br +0 -0
  915. package/build/client/_app/immutable/chunks/DlcOqcbg.js.gz +0 -0
  916. package/build/client/_app/immutable/chunks/DnDesMxN.js +0 -1
  917. package/build/client/_app/immutable/chunks/DnDesMxN.js.br +0 -0
  918. package/build/client/_app/immutable/chunks/DnDesMxN.js.gz +0 -0
  919. package/build/client/_app/immutable/chunks/DnQR8b1d.js +0 -62
  920. package/build/client/_app/immutable/chunks/DnQR8b1d.js.br +0 -0
  921. package/build/client/_app/immutable/chunks/DnQR8b1d.js.gz +0 -0
  922. package/build/client/_app/immutable/chunks/DpSftVJo.js +0 -1
  923. package/build/client/_app/immutable/chunks/DpSftVJo.js.br +0 -0
  924. package/build/client/_app/immutable/chunks/DpSftVJo.js.gz +0 -0
  925. package/build/client/_app/immutable/chunks/DqZ9Wm2M.js +0 -1
  926. package/build/client/_app/immutable/chunks/DqZ9Wm2M.js.br +0 -0
  927. package/build/client/_app/immutable/chunks/DqZ9Wm2M.js.gz +0 -0
  928. package/build/client/_app/immutable/chunks/DybGBkO1.js +0 -5
  929. package/build/client/_app/immutable/chunks/DybGBkO1.js.br +0 -0
  930. package/build/client/_app/immutable/chunks/DybGBkO1.js.gz +0 -0
  931. package/build/client/_app/immutable/chunks/He17Vv5l.js +0 -1
  932. package/build/client/_app/immutable/chunks/He17Vv5l.js.br +0 -0
  933. package/build/client/_app/immutable/chunks/He17Vv5l.js.gz +0 -0
  934. package/build/client/_app/immutable/chunks/M3zsQDnS.js +0 -2
  935. package/build/client/_app/immutable/chunks/M3zsQDnS.js.br +0 -0
  936. package/build/client/_app/immutable/chunks/M3zsQDnS.js.gz +0 -0
  937. package/build/client/_app/immutable/chunks/QzT8bZ-S.js +0 -2
  938. package/build/client/_app/immutable/chunks/QzT8bZ-S.js.br +0 -0
  939. package/build/client/_app/immutable/chunks/QzT8bZ-S.js.gz +0 -0
  940. package/build/client/_app/immutable/chunks/TcIaLKEO.js +0 -1
  941. package/build/client/_app/immutable/chunks/TcIaLKEO.js.br +0 -0
  942. package/build/client/_app/immutable/chunks/TcIaLKEO.js.gz +0 -0
  943. package/build/client/_app/immutable/chunks/WKkbnawS.js +0 -1
  944. package/build/client/_app/immutable/chunks/WKkbnawS.js.br +0 -0
  945. package/build/client/_app/immutable/chunks/WKkbnawS.js.gz +0 -0
  946. package/build/client/_app/immutable/chunks/Y3i_x_Ja.js +0 -1
  947. package/build/client/_app/immutable/chunks/Y3i_x_Ja.js.br +0 -0
  948. package/build/client/_app/immutable/chunks/Y3i_x_Ja.js.gz +0 -0
  949. package/build/client/_app/immutable/chunks/Z8zDEyti.js +0 -1
  950. package/build/client/_app/immutable/chunks/Z8zDEyti.js.br +0 -0
  951. package/build/client/_app/immutable/chunks/Z8zDEyti.js.gz +0 -0
  952. package/build/client/_app/immutable/chunks/dKB0cWc2.js +0 -6
  953. package/build/client/_app/immutable/chunks/dKB0cWc2.js.br +0 -0
  954. package/build/client/_app/immutable/chunks/dKB0cWc2.js.gz +0 -0
  955. package/build/client/_app/immutable/chunks/dPAGVN7v.js +0 -6
  956. package/build/client/_app/immutable/chunks/dPAGVN7v.js.br +0 -0
  957. package/build/client/_app/immutable/chunks/dPAGVN7v.js.gz +0 -0
  958. package/build/client/_app/immutable/chunks/dxi_erj0.js +0 -3
  959. package/build/client/_app/immutable/chunks/dxi_erj0.js.br +0 -0
  960. package/build/client/_app/immutable/chunks/dxi_erj0.js.gz +0 -0
  961. package/build/client/_app/immutable/chunks/kE4zxzFD.js +0 -1
  962. package/build/client/_app/immutable/chunks/kE4zxzFD.js.br +0 -0
  963. package/build/client/_app/immutable/chunks/kE4zxzFD.js.gz +0 -0
  964. package/build/client/_app/immutable/chunks/kWmJZSyZ.js +0 -1
  965. package/build/client/_app/immutable/chunks/kWmJZSyZ.js.br +0 -0
  966. package/build/client/_app/immutable/chunks/kWmJZSyZ.js.gz +0 -0
  967. package/build/client/_app/immutable/chunks/ohZIF1HO.js +0 -5
  968. package/build/client/_app/immutable/chunks/ohZIF1HO.js.br +0 -0
  969. package/build/client/_app/immutable/chunks/ohZIF1HO.js.gz +0 -0
  970. package/build/client/_app/immutable/entry/app.BLMRuJuW.js +0 -2
  971. package/build/client/_app/immutable/entry/app.BLMRuJuW.js.br +0 -0
  972. package/build/client/_app/immutable/entry/app.BLMRuJuW.js.gz +0 -0
  973. package/build/client/_app/immutable/entry/start.C5t0JfpX.js +0 -1
  974. package/build/client/_app/immutable/entry/start.C5t0JfpX.js.br +0 -0
  975. package/build/client/_app/immutable/entry/start.C5t0JfpX.js.gz +0 -0
  976. package/build/client/_app/immutable/nodes/0.x0mKzYMw.js +0 -8
  977. package/build/client/_app/immutable/nodes/0.x0mKzYMw.js.br +0 -0
  978. package/build/client/_app/immutable/nodes/0.x0mKzYMw.js.gz +0 -0
  979. package/build/client/_app/immutable/nodes/1.DQwKSgDw.js +0 -1
  980. package/build/client/_app/immutable/nodes/1.DQwKSgDw.js.br +0 -0
  981. package/build/client/_app/immutable/nodes/1.DQwKSgDw.js.gz +0 -0
  982. package/build/client/_app/immutable/nodes/10.Bmz2aEu9.js +0 -3
  983. package/build/client/_app/immutable/nodes/10.Bmz2aEu9.js.br +0 -0
  984. package/build/client/_app/immutable/nodes/10.Bmz2aEu9.js.gz +0 -0
  985. package/build/client/_app/immutable/nodes/11.Dsw17idi.js +0 -1
  986. package/build/client/_app/immutable/nodes/11.Dsw17idi.js.br +0 -0
  987. package/build/client/_app/immutable/nodes/11.Dsw17idi.js.gz +0 -0
  988. package/build/client/_app/immutable/nodes/12.BCfbyZHF.js +0 -14
  989. package/build/client/_app/immutable/nodes/12.BCfbyZHF.js.br +0 -0
  990. package/build/client/_app/immutable/nodes/12.BCfbyZHF.js.gz +0 -0
  991. package/build/client/_app/immutable/nodes/13.BF70RcBN.js +0 -150
  992. package/build/client/_app/immutable/nodes/13.BF70RcBN.js.br +0 -0
  993. package/build/client/_app/immutable/nodes/13.BF70RcBN.js.gz +0 -0
  994. package/build/client/_app/immutable/nodes/14.DUa-e6bC.js +0 -4
  995. package/build/client/_app/immutable/nodes/14.DUa-e6bC.js.br +0 -0
  996. package/build/client/_app/immutable/nodes/14.DUa-e6bC.js.gz +0 -0
  997. package/build/client/_app/immutable/nodes/16.DV4CIsXI.js +0 -11
  998. package/build/client/_app/immutable/nodes/16.DV4CIsXI.js.br +0 -0
  999. package/build/client/_app/immutable/nodes/16.DV4CIsXI.js.gz +0 -0
  1000. package/build/client/_app/immutable/nodes/17.BFAervXe.js +0 -9
  1001. package/build/client/_app/immutable/nodes/17.BFAervXe.js.br +0 -0
  1002. package/build/client/_app/immutable/nodes/17.BFAervXe.js.gz +0 -0
  1003. package/build/client/_app/immutable/nodes/18.cqwxGV--.js +0 -2
  1004. package/build/client/_app/immutable/nodes/18.cqwxGV--.js.br +0 -0
  1005. package/build/client/_app/immutable/nodes/18.cqwxGV--.js.gz +0 -0
  1006. package/build/client/_app/immutable/nodes/19.W4wKGIwz.js +0 -3
  1007. package/build/client/_app/immutable/nodes/19.W4wKGIwz.js.br +0 -0
  1008. package/build/client/_app/immutable/nodes/19.W4wKGIwz.js.gz +0 -0
  1009. package/build/client/_app/immutable/nodes/2.DNWuY54S.js +0 -27
  1010. package/build/client/_app/immutable/nodes/2.DNWuY54S.js.br +0 -0
  1011. package/build/client/_app/immutable/nodes/2.DNWuY54S.js.gz +0 -0
  1012. package/build/client/_app/immutable/nodes/20.Bw-IUju8.js +0 -1
  1013. package/build/client/_app/immutable/nodes/20.Bw-IUju8.js.br +0 -0
  1014. package/build/client/_app/immutable/nodes/20.Bw-IUju8.js.gz +0 -0
  1015. package/build/client/_app/immutable/nodes/21.DNFvLLcD.js +0 -6
  1016. package/build/client/_app/immutable/nodes/21.DNFvLLcD.js.br +0 -0
  1017. package/build/client/_app/immutable/nodes/21.DNFvLLcD.js.gz +0 -0
  1018. package/build/client/_app/immutable/nodes/3.COF537Bh.js +0 -5
  1019. package/build/client/_app/immutable/nodes/3.COF537Bh.js.br +0 -0
  1020. package/build/client/_app/immutable/nodes/3.COF537Bh.js.gz +0 -0
  1021. package/build/client/_app/immutable/nodes/4.C69OFBsR.js +0 -1
  1022. package/build/client/_app/immutable/nodes/4.C69OFBsR.js.br +0 -0
  1023. package/build/client/_app/immutable/nodes/4.C69OFBsR.js.gz +0 -0
  1024. package/build/client/_app/immutable/nodes/5.BAZlH_fP.js +0 -2
  1025. package/build/client/_app/immutable/nodes/5.BAZlH_fP.js.br +0 -0
  1026. package/build/client/_app/immutable/nodes/5.BAZlH_fP.js.gz +0 -0
  1027. package/build/client/_app/immutable/nodes/6.BsosOtvd.js +0 -7
  1028. package/build/client/_app/immutable/nodes/6.BsosOtvd.js.br +0 -0
  1029. package/build/client/_app/immutable/nodes/6.BsosOtvd.js.gz +0 -0
  1030. package/build/client/_app/immutable/nodes/7.DnZ-8ovs.js +0 -5
  1031. package/build/client/_app/immutable/nodes/7.DnZ-8ovs.js.br +0 -0
  1032. package/build/client/_app/immutable/nodes/7.DnZ-8ovs.js.gz +0 -0
  1033. package/build/client/_app/immutable/nodes/9.BzSWG3R8.js +0 -1
  1034. package/build/client/_app/immutable/nodes/9.BzSWG3R8.js.br +0 -0
  1035. package/build/client/_app/immutable/nodes/9.BzSWG3R8.js.gz +0 -0
  1036. package/build/server/chunks/chunks/DecisionCard.js-DaA8DYYg.js +0 -586
  1037. package/build/server/chunks/chunks/DocSheet.js-COU85_s3.js +0 -50
  1038. package/build/server/chunks/chunks/EtaLine.js-CGeZKC7J.js +0 -98
  1039. package/build/server/chunks/chunks/EveryProjectSwitch.js-BRDpCeoH.js +0 -200
  1040. package/build/server/chunks/chunks/Icon.js-CHJ2UHjC.js +0 -129
  1041. package/build/server/chunks/chunks/InsightsNav.js-6PnqzaPk.js +0 -18
  1042. package/build/server/chunks/chunks/InstallPlugin.js-Cs1ZrPAp.js +0 -45
  1043. package/build/server/chunks/chunks/LinkedText.js-W4YG6iJR.js +0 -34
  1044. package/build/server/chunks/chunks/MateHealthPill.js-BNEGFwH8.js +0 -22
  1045. package/build/server/chunks/chunks/OpenDecision.js-CYba2eq3.js +0 -1614
  1046. package/build/server/chunks/chunks/ProjectBanner.js-DFoHRlbH.js +0 -111
  1047. package/build/server/chunks/chunks/ProjectStateMark.js-Dnky_g-x.js +0 -41
  1048. package/build/server/chunks/chunks/QuestionList.js-BXYtAgRG.js +0 -51
  1049. package/build/server/chunks/chunks/ResizableRail.js-C0NBHdjG.js +0 -50
  1050. package/build/server/chunks/chunks/SettingsNav.js-hmRmEglt.js +0 -22
  1051. package/build/server/chunks/chunks/SlotContent.js-DvHCWpDg.js +0 -738
  1052. package/build/server/chunks/chunks/TaskOverview.js-sfLDib9-.js +0 -568
  1053. package/build/server/chunks/chunks/TimeBar.js-D3XrZtTh.js +0 -32
  1054. package/build/server/chunks/chunks/TimeLegend.js-B5rkpGtG.js +0 -29
  1055. package/build/server/chunks/chunks/WhereBadge.js-CT4hViFh.js +0 -131
  1056. package/build/server/chunks/chunks/addresses.js-DMekVPad.js +0 -52
  1057. package/build/server/chunks/chunks/aliases.svelte.js-D80jyNJf.js +0 -138
  1058. package/build/server/chunks/chunks/arrow-down.js-DUgKe53e.js +0 -18
  1059. package/build/server/chunks/chunks/arrow-left.js-Cq9_JtOh.js +0 -18
  1060. package/build/server/chunks/chunks/arrow-right.js-AjYDyUqN.js +0 -18
  1061. package/build/server/chunks/chunks/arrow-up-right.js-BXDKmOw9.js +0 -18
  1062. package/build/server/chunks/chunks/arrow-up.js-Cd_TyexB.js +0 -18
  1063. package/build/server/chunks/chunks/berths.js-DAg2ReUw.js +0 -270
  1064. package/build/server/chunks/chunks/bridge.js-Cm-aK0Fl.js +0 -3757
  1065. package/build/server/chunks/chunks/brief.js-TS-K0lZ6.js +0 -54
  1066. package/build/server/chunks/chunks/buildlog.js-BGIHToGa.js +0 -55
  1067. package/build/server/chunks/chunks/button.js-Q4mS-EA8.js +0 -7311
  1068. package/build/server/chunks/chunks/changes.js-DLL6A8OG.js +0 -40
  1069. package/build/server/chunks/chunks/check.js-LVN_jfQU.js +0 -15
  1070. package/build/server/chunks/chunks/checks.js-CIo8HrSt.js +0 -221
  1071. package/build/server/chunks/chunks/chevron-left.js-DhF4v3Pt.js +0 -15
  1072. package/build/server/chunks/chunks/chevron-right.js-D4fnSNoh.js +0 -15
  1073. package/build/server/chunks/chunks/circle-alert.js-CTc53lLB.js +0 -23
  1074. package/build/server/chunks/chunks/circle-arrow-up.js-v-nE3jR0.js +0 -20
  1075. package/build/server/chunks/chunks/circle-dashed.js-QwLaO9U2.js +0 -24
  1076. package/build/server/chunks/chunks/circle-dot.js-DMNxPdVx.js +0 -18
  1077. package/build/server/chunks/chunks/client.js-BSbbAByJ.js +0 -24
  1078. package/build/server/chunks/chunks/clock.js-hPyOuzjG.js +0 -18
  1079. package/build/server/chunks/chunks/detail.js-B8abhi3a.js +0 -146
  1080. package/build/server/chunks/chunks/external-link.js-BuWBxV8H.js +0 -24
  1081. package/build/server/chunks/chunks/eye.js-BvS4v0oz.js +0 -23
  1082. package/build/server/chunks/chunks/feedback.js-Jpl8v6Mu.js +0 -67
  1083. package/build/server/chunks/chunks/format.js-DKnw8oWK.js +0 -70
  1084. package/build/server/chunks/chunks/git-pull-request.js-CXtks_Ym.js +0 -20
  1085. package/build/server/chunks/chunks/hand.js-CJ13vqPn.js +0 -25
  1086. package/build/server/chunks/chunks/index-server.js-BY3oucHa.js +0 -17
  1087. package/build/server/chunks/chunks/index-server2.js-DsObimPA.js +0 -9
  1088. package/build/server/chunks/chunks/index.js-C2v29IkD.js +0 -1524
  1089. package/build/server/chunks/chunks/index2.js-DDKi-jKB.js +0 -46
  1090. package/build/server/chunks/chunks/internal.js-bN02E8b0.js +0 -146
  1091. package/build/server/chunks/chunks/live.svelte.js-D1hNGw9_.js +0 -241
  1092. package/build/server/chunks/chunks/loader-circle.js-CNbdxSQ6.js +0 -16
  1093. package/build/server/chunks/chunks/markdown.js-0thJlxxD.js +0 -2656
  1094. package/build/server/chunks/chunks/message-square.js-Ct7UUpHZ.js +0 -22
  1095. package/build/server/chunks/chunks/messages-square.js-S0CnYLu0.js +0 -47
  1096. package/build/server/chunks/chunks/minus.js-B7GNC6Bd.js +0 -15
  1097. package/build/server/chunks/chunks/nav.js-DHSQIdRN.js +0 -29
  1098. package/build/server/chunks/chunks/plain.js-Dc97sYaJ.js +0 -101
  1099. package/build/server/chunks/chunks/plus.js-Dbawo5bL.js +0 -15
  1100. package/build/server/chunks/chunks/previewhelper2.js-Fr7JXr0X.js +0 -165
  1101. package/build/server/chunks/chunks/pullrequests.js-BobjerQv.js +0 -152
  1102. package/build/server/chunks/chunks/pullrequests2.js-CCzk2sqm.js +0 -12
  1103. package/build/server/chunks/chunks/repo.js-D4m77kW0.js +0 -33
  1104. package/build/server/chunks/chunks/review.js-DoWJxV0D.js +0 -141
  1105. package/build/server/chunks/chunks/root.js-iNMFn-Yg.js +0 -3105
  1106. package/build/server/chunks/chunks/rotate-cw.js-BPzrB4So.js +0 -21
  1107. package/build/server/chunks/chunks/runtime.js-BGOuM-Hy.js +0 -17683
  1108. package/build/server/chunks/chunks/scale.js-CkXtBARG.js +0 -21
  1109. package/build/server/chunks/chunks/scroll-lock.js-C4Fj1gEY.js +0 -2797
  1110. package/build/server/chunks/chunks/service.js-CzSbBjc3.js +0 -916
  1111. package/build/server/chunks/chunks/settings.js-BEOX97g7.js +0 -869
  1112. package/build/server/chunks/chunks/shield-check.js-MP-IWW55.js +0 -23
  1113. package/build/server/chunks/chunks/sparkles.js-Cr_IjWR_.js +0 -26
  1114. package/build/server/chunks/chunks/square-terminal.js-DLBEkPpa.js +0 -30
  1115. package/build/server/chunks/chunks/tone.js-oubilaK8.js +0 -59
  1116. package/build/server/chunks/chunks/triangle-alert.js-DGSV_5I9.js +0 -25
  1117. package/build/server/chunks/chunks/urls.js-BrlC6XZ8.js +0 -8
  1118. package/build/server/chunks/chunks/vault.js-CTaWe09z.js +0 -162
  1119. package/build/server/chunks/chunks/view.js-CeInAMHW.js +0 -76
  1120. package/build/server/chunks/chunks/words.js-eWWIwMKr.js +0 -52
  1121. package/build/server/chunks/chunks/x.js-Dhp-BHl8.js +0 -18
  1122. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-smS4TCrQ.js +0 -94
  1123. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-Bqh9AFl3.js +0 -104
  1124. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-BM0ps5lk.js +0 -53
  1125. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-Cm2ckYW2.js +0 -87
  1126. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-DZCnbYId.js +0 -123
  1127. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-B5fpHEKR.js +0 -49
  1128. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-eq3GdIy6.js +0 -55
  1129. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-CvXW4Pgj.js +0 -48
  1130. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-Ck9lsiPW.js +0 -95
  1131. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-S2cNDAv_.js +0 -58
  1132. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-Dp5sUKpf.js +0 -69
  1133. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-BRyx-SLk.js +0 -48
  1134. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-DbOj2r3G.js +0 -40
  1135. package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-CqNT7hdk.js +0 -104
  1136. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-s9ct1YaL.js +0 -40
  1137. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-CCbenPIy.js +0 -64
  1138. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-YkdQuW03.js +0 -55
  1139. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-jMIRKXVy.js +0 -40
  1140. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-CRz5ap0Z.js +0 -75
  1141. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-BUreXPtQ.js +0 -64
  1142. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-aLsUJ-HL.js +0 -59
  1143. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-BQxGrtDq.js +0 -56
  1144. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-DVwdrfyP.js +0 -24
  1145. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-fWXa1T6O.js +0 -63
  1146. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-GzkA-eH4.js +0 -36
  1147. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-Du31g-KO.js +0 -40
  1148. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-CQYj1ZuS.js +0 -36
  1149. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-D6Nprf6i.js +0 -39
  1150. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-DjQvcvOx.js +0 -24
  1151. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-DcwsTmlB.js +0 -45
  1152. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-CGPbXNqf.js +0 -54
  1153. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-CawLRyKI.js +0 -66
  1154. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-Cl8Xr77g.js +0 -53
  1155. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-B3vEVTxZ.js +0 -76
  1156. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-iToq6YEa.js +0 -59
  1157. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-CwWCiOV_.js +0 -49
  1158. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DW8K_vnR.js +0 -59
  1159. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-jQeee3c3.js +0 -48
  1160. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-DjmH3APN.js +0 -45
  1161. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-BKBTwHdx.js +0 -64
  1162. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-Dps2HZrT.js +0 -57
  1163. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-CLrEK2JB.js +0 -105
  1164. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-Dajmg1QT.js +0 -59
  1165. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-DzbKvWf4.js +0 -62
  1166. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-lrCSZ8vJ.js +0 -66
  1167. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js--J2luqpT.js +0 -24
  1168. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-D6jJ1Rr_.js +0 -24
  1169. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-DFiNNdmX.js +0 -44
  1170. package/build/server/chunks/entries/fallbacks/error.svelte.js-CB4I_wOd.js +0 -15
  1171. package/build/server/chunks/entries/hooks.server.js-BbTmH2JU.js +0 -58
  1172. package/build/server/chunks/entries/pages/_layout.server.ts.js-DTaBhixQ.js +0 -24
  1173. package/build/server/chunks/entries/pages/_layout.svelte.js-BNA76gGJ.js +0 -5551
  1174. package/build/server/chunks/entries/pages/_page.server.ts.js-BjKksIBz.js +0 -16
  1175. package/build/server/chunks/entries/pages/_page.svelte.js-Bgw0FiJG.js +0 -3847
  1176. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-Cr6eZ4p-.js +0 -11
  1177. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-DcczyFUP.js +0 -201
  1178. package/build/server/chunks/entries/pages/files/_page.server.ts.js-CA3bfaLe.js +0 -17
  1179. package/build/server/chunks/entries/pages/files/_page.svelte.js-BIMqSkgM.js +0 -60
  1180. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-CGhoI6xu.js +0 -46
  1181. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-BHMB8PKC.js +0 -749
  1182. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-BRadjeWP.js +0 -11
  1183. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-Yw5NZV8k.js +0 -183
  1184. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-CB7PXBV1.js +0 -11
  1185. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-BLRcCY5u.js +0 -175
  1186. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-C9J9SfdQ.js +0 -16
  1187. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-DLxqhull.js +0 -53
  1188. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-nOOV1sAH.js +0 -23
  1189. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-Doi5pyAo.js +0 -980
  1190. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BpSFvmgx.js +0 -21
  1191. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-Cr__zX_O.js +0 -76
  1192. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-08qgrWt_.js +0 -27
  1193. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-CkM6pjKK.js +0 -418
  1194. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-Waknjiof.js +0 -15
  1195. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-CN-WwfgH.js +0 -1880
  1196. package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-CO4DG7gS.js +0 -221
  1197. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-D_-2Bk-X.js +0 -11
  1198. package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-DuleT8BP.js +0 -208
  1199. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-Hls8GEh4.js +0 -19
  1200. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-BUmIRIz2.js +0 -1854
  1201. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-jKmK8VbO.js +0 -17
  1202. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-B5PSrA4H.js +0 -227
  1203. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-BZMRfS-l.js +0 -25
  1204. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-BYcqWFD7.js +0 -2194
  1205. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-CGiroJqZ.js +0 -24
  1206. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-QzwiMik4.js +0 -79
  1207. package/build/server/chunks/entries/pages/time/_page.server.ts.js-exp39MHH.js +0 -11
  1208. package/build/server/chunks/entries/pages/time/_page.svelte.js-D0Z16ExE.js +0 -108
  1209. package/build/server/chunks/handler-CwbFN6sE.js +0 -1474
  1210. package/build/server/chunks/index.js-CqvbtJcl.js +0 -4296
  1211. package/build/server/chunks/manifest.js-DBKpxwtf.js +0 -551
  1212. package/build/server/chunks/nodes/0.js-CzHBL2FE.js +0 -45
  1213. package/build/server/chunks/nodes/1.js-DttsMtH5.js +0 -9
  1214. package/build/server/chunks/nodes/10.js-DS6-8M5v.js +0 -47
  1215. package/build/server/chunks/nodes/11.js-UkJPwg90.js +0 -46
  1216. package/build/server/chunks/nodes/12.js-Bttwc2Gj.js +0 -47
  1217. package/build/server/chunks/nodes/13.js-DN0IvWCs.js +0 -46
  1218. package/build/server/chunks/nodes/14.js-BPrf4PxP.js +0 -9
  1219. package/build/server/chunks/nodes/15.js-B9n86nFk.js +0 -12
  1220. package/build/server/chunks/nodes/16.js-MQWaFHIA.js +0 -45
  1221. package/build/server/chunks/nodes/17.js-BqQwHV4F.js +0 -45
  1222. package/build/server/chunks/nodes/18.js-CpKFgiup.js +0 -48
  1223. package/build/server/chunks/nodes/19.js-CCrOg127.js +0 -46
  1224. package/build/server/chunks/nodes/2.js-FPoIQ4QE.js +0 -45
  1225. package/build/server/chunks/nodes/20.js-B5Fv-_hl.js +0 -46
  1226. package/build/server/chunks/nodes/21.js-DIqkKAtP.js +0 -45
  1227. package/build/server/chunks/nodes/3.js-BBLaot9F.js +0 -45
  1228. package/build/server/chunks/nodes/4.js-cmSXc6Wt.js +0 -45
  1229. package/build/server/chunks/nodes/5.js-CxQRjV9G.js +0 -49
  1230. package/build/server/chunks/nodes/6.js-4fNyzqc9.js +0 -45
  1231. package/build/server/chunks/nodes/7.js-D_kCF7ql.js +0 -45
  1232. package/build/server/chunks/nodes/8.js-D32pPbKa.js +0 -12
  1233. package/build/server/chunks/nodes/9.js-Dl3MVT1-.js +0 -45
  1234. /package/build/client/_app/immutable/assets/{5.5dJKCkOT.css → 6.5dJKCkOT.css} +0 -0
  1235. /package/build/client/_app/immutable/assets/{5.5dJKCkOT.css.br → 6.5dJKCkOT.css.br} +0 -0
  1236. /package/build/client/_app/immutable/assets/{5.5dJKCkOT.css.gz → 6.5dJKCkOT.css.gz} +0 -0
  1237. /package/build/client/_app/immutable/assets/{pullrequests.Dga9zAug.css → PreviewStudio.Dga9zAug.css} +0 -0
  1238. /package/build/client/_app/immutable/assets/{pullrequests.Dga9zAug.css.br → PreviewStudio.Dga9zAug.css.br} +0 -0
  1239. /package/build/client/_app/immutable/assets/{pullrequests.Dga9zAug.css.gz → PreviewStudio.Dga9zAug.css.gz} +0 -0
@@ -1,3757 +0,0 @@
1
- import { a9 as spread_props, af as bind_props, an as props_id, _ as derived, a4 as attributes } from './index.js-C2v29IkD.js';
2
- import { I as Icon } from './Icon.js-CHJ2UHjC.js';
3
- import { n as noop, b as boxWith, C as Context, P as PresenceManager, w as watch, s as simpleBox, c as createBitsAttrs, a as createId, d as attachRef, D as DOMContext, i as isTouch, E as ENTER, S as SPACE, g as getDataOpenClosed, e as boolToStr, f as boxFrom, h as isElement$1, j as isTabbable, k as getDataTransitionAttrs, m as mergeProps, l as getDocument, u as useId, o as cssToStyleObj, p as isNotNull, q as styleToString, r as getWindow$1, t as defaultWindow, v as Scroll_lock, F as Focus_scope, x as Escape_layer, y as Dismissible_layer, T as Text_selection_layer } from './scroll-lock.js-C4Fj1gEY.js';
4
- import { c as createSubscriber } from './index-server2.js-DsObimPA.js';
5
- import { o as on } from './root.js-iNMFn-Yg.js';
6
- import { n as needsYou } from './harbour.js-D3N7u1_p.js';
7
-
8
- /**
9
- * Custom positioning reference element.
10
- * @see https://floating-ui.com/docs/virtual-elements
11
- */
12
-
13
- const sides = ['top', 'right', 'bottom', 'left'];
14
- const min = Math.min;
15
- const max = Math.max;
16
- const round = Math.round;
17
- const createCoords = v => ({
18
- x: v,
19
- y: v
20
- });
21
- const oppositeSideMap = {
22
- left: 'right',
23
- right: 'left',
24
- bottom: 'top',
25
- top: 'bottom'
26
- };
27
- function clamp(start, value, end) {
28
- return max(start, min(value, end));
29
- }
30
- function evaluate(value, param) {
31
- return typeof value === 'function' ? value(param) : value;
32
- }
33
- function getSide$1(placement) {
34
- return placement.split('-')[0];
35
- }
36
- function getAlignment(placement) {
37
- return placement.split('-')[1];
38
- }
39
- function getOppositeAxis(axis) {
40
- return axis === 'x' ? 'y' : 'x';
41
- }
42
- function getAxisLength(axis) {
43
- return axis === 'y' ? 'height' : 'width';
44
- }
45
- function getSideAxis(placement) {
46
- const firstChar = placement[0];
47
- return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
48
- }
49
- function getAlignmentAxis(placement) {
50
- return getOppositeAxis(getSideAxis(placement));
51
- }
52
- function getAlignmentSides(placement, rects, rtl) {
53
- if (rtl === void 0) {
54
- rtl = false;
55
- }
56
- const alignment = getAlignment(placement);
57
- const alignmentAxis = getAlignmentAxis(placement);
58
- const length = getAxisLength(alignmentAxis);
59
- let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
60
- if (rects.reference[length] > rects.floating[length]) {
61
- mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
62
- }
63
- return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
64
- }
65
- function getExpandedPlacements(placement) {
66
- const oppositePlacement = getOppositePlacement(placement);
67
- return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
68
- }
69
- function getOppositeAlignmentPlacement(placement) {
70
- return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
71
- }
72
- const lrPlacement = ['left', 'right'];
73
- const rlPlacement = ['right', 'left'];
74
- const tbPlacement = ['top', 'bottom'];
75
- const btPlacement = ['bottom', 'top'];
76
- function getSideList(side, isStart, rtl) {
77
- switch (side) {
78
- case 'top':
79
- case 'bottom':
80
- if (rtl) return isStart ? rlPlacement : lrPlacement;
81
- return isStart ? lrPlacement : rlPlacement;
82
- case 'left':
83
- case 'right':
84
- return isStart ? tbPlacement : btPlacement;
85
- default:
86
- return [];
87
- }
88
- }
89
- function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
90
- const alignment = getAlignment(placement);
91
- let list = getSideList(getSide$1(placement), direction === 'start', rtl);
92
- if (alignment) {
93
- list = list.map(side => side + "-" + alignment);
94
- if (flipAlignment) {
95
- list = list.concat(list.map(getOppositeAlignmentPlacement));
96
- }
97
- }
98
- return list;
99
- }
100
- function getOppositePlacement(placement) {
101
- const side = getSide$1(placement);
102
- return oppositeSideMap[side] + placement.slice(side.length);
103
- }
104
- function expandPaddingObject(padding) {
105
- var _padding$top, _padding$right, _padding$bottom, _padding$left;
106
- return {
107
- top: (_padding$top = padding.top) != null ? _padding$top : 0,
108
- right: (_padding$right = padding.right) != null ? _padding$right : 0,
109
- bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,
110
- left: (_padding$left = padding.left) != null ? _padding$left : 0
111
- };
112
- }
113
- function getPaddingObject(padding) {
114
- return typeof padding !== 'number' ? expandPaddingObject(padding) : {
115
- top: padding,
116
- right: padding,
117
- bottom: padding,
118
- left: padding
119
- };
120
- }
121
- function rectToClientRect(rect) {
122
- const {
123
- x,
124
- y,
125
- width,
126
- height
127
- } = rect;
128
- return {
129
- width,
130
- height,
131
- top: y,
132
- left: x,
133
- right: x + width,
134
- bottom: y + height,
135
- x,
136
- y
137
- };
138
- }
139
-
140
- function computeCoordsFromPlacement(_ref, placement, rtl) {
141
- let {
142
- reference,
143
- floating
144
- } = _ref;
145
- const sideAxis = getSideAxis(placement);
146
- const alignmentAxis = getAlignmentAxis(placement);
147
- const alignLength = getAxisLength(alignmentAxis);
148
- const side = getSide$1(placement);
149
- const isVertical = sideAxis === 'y';
150
- const commonX = reference.x + reference.width / 2 - floating.width / 2;
151
- const commonY = reference.y + reference.height / 2 - floating.height / 2;
152
- const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
153
- let coords;
154
- switch (side) {
155
- case 'top':
156
- coords = {
157
- x: commonX,
158
- y: reference.y - floating.height
159
- };
160
- break;
161
- case 'bottom':
162
- coords = {
163
- x: commonX,
164
- y: reference.y + reference.height
165
- };
166
- break;
167
- case 'right':
168
- coords = {
169
- x: reference.x + reference.width,
170
- y: commonY
171
- };
172
- break;
173
- case 'left':
174
- coords = {
175
- x: reference.x - floating.width,
176
- y: commonY
177
- };
178
- break;
179
- default:
180
- coords = {
181
- x: reference.x,
182
- y: reference.y
183
- };
184
- }
185
- const alignment = getAlignment(placement);
186
- if (alignment) {
187
- coords[alignmentAxis] += commonAlign * (alignment === 'end' ? 1 : -1) * (rtl && isVertical ? -1 : 1);
188
- }
189
- return coords;
190
- }
191
-
192
- /**
193
- * Resolves with an object of overflow side offsets that determine how much the
194
- * element is overflowing a given clipping boundary on each side.
195
- * - positive = overflowing the boundary by that number of pixels
196
- * - negative = how many pixels left before it will overflow
197
- * - 0 = lies flush with the boundary
198
- * @see https://floating-ui.com/docs/detectOverflow
199
- */
200
- async function detectOverflow(state, options) {
201
- var _await$platform$isEle;
202
- if (options === void 0) {
203
- options = {};
204
- }
205
- const {
206
- x,
207
- y,
208
- platform,
209
- rects,
210
- elements,
211
- strategy
212
- } = state;
213
- const {
214
- boundary = 'clippingAncestors',
215
- rootBoundary = 'viewport',
216
- elementContext = 'floating',
217
- altBoundary = false,
218
- padding = 0
219
- } = evaluate(options, state);
220
- const paddingObject = getPaddingObject(padding);
221
- const altContext = elementContext === 'floating' ? 'reference' : 'floating';
222
- const element = elements[altBoundary ? altContext : elementContext];
223
- const clippingClientRect = rectToClientRect(await platform.getClippingRect({
224
- element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
225
- boundary,
226
- rootBoundary,
227
- strategy
228
- }));
229
- const rect = elementContext === 'floating' ? {
230
- x,
231
- y,
232
- width: rects.floating.width,
233
- height: rects.floating.height
234
- } : rects.reference;
235
- const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
236
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) && (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
237
- x: 1,
238
- y: 1
239
- };
240
- const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
241
- elements,
242
- rect,
243
- offsetParent,
244
- strategy
245
- }) : rect);
246
- return {
247
- top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
248
- bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
249
- left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
250
- right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
251
- };
252
- }
253
-
254
- // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
255
- const MAX_RESET_COUNT = 50;
256
-
257
- /**
258
- * Computes the `x` and `y` coordinates that will place the floating element
259
- * next to a given reference element.
260
- *
261
- * This export does not have any `platform` interface logic. You will need to
262
- * write one for the platform you are using Floating UI with.
263
- */
264
- const computePosition$1 = async (reference, floating, config) => {
265
- const {
266
- placement = 'bottom',
267
- strategy = 'absolute',
268
- middleware = [],
269
- platform
270
- } = config;
271
- const platformWithDetectOverflow = platform.detectOverflow ? platform : {
272
- ...platform,
273
- detectOverflow
274
- };
275
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
276
- let rects = await platform.getElementRects({
277
- reference,
278
- floating,
279
- strategy
280
- });
281
- let {
282
- x,
283
- y
284
- } = computeCoordsFromPlacement(rects, placement, rtl);
285
- let statefulPlacement = placement;
286
- let resetCount = 0;
287
- const middlewareData = {};
288
- for (let i = 0; i < middleware.length; i++) {
289
- const currentMiddleware = middleware[i];
290
- if (!currentMiddleware) {
291
- continue;
292
- }
293
- const {
294
- name,
295
- fn
296
- } = currentMiddleware;
297
- const {
298
- x: nextX,
299
- y: nextY,
300
- data,
301
- reset
302
- } = await fn({
303
- x,
304
- y,
305
- initialPlacement: placement,
306
- placement: statefulPlacement,
307
- strategy,
308
- middlewareData,
309
- rects,
310
- platform: platformWithDetectOverflow,
311
- elements: {
312
- reference,
313
- floating
314
- }
315
- });
316
- x = nextX != null ? nextX : x;
317
- y = nextY != null ? nextY : y;
318
- middlewareData[name] = {
319
- ...middlewareData[name],
320
- ...data
321
- };
322
- if (reset && resetCount < MAX_RESET_COUNT) {
323
- resetCount++;
324
- if (typeof reset === 'object') {
325
- if (reset.placement) {
326
- statefulPlacement = reset.placement;
327
- }
328
- if (reset.rects) {
329
- rects = reset.rects === true ? await platform.getElementRects({
330
- reference,
331
- floating,
332
- strategy
333
- }) : reset.rects;
334
- }
335
- ({
336
- x,
337
- y
338
- } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
339
- }
340
- i = -1;
341
- }
342
- }
343
- return {
344
- x,
345
- y,
346
- placement: statefulPlacement,
347
- strategy,
348
- middlewareData
349
- };
350
- };
351
-
352
- /**
353
- * Provides data to position an inner element of the floating element so that it
354
- * appears centered to the reference element.
355
- * @see https://floating-ui.com/docs/arrow
356
- */
357
- const arrow$1 = options => ({
358
- name: 'arrow',
359
- options,
360
- async fn(state) {
361
- const {
362
- x,
363
- y,
364
- placement,
365
- rects,
366
- platform,
367
- elements,
368
- middlewareData
369
- } = state;
370
- // Since `element` is required, we don't Partial<> the type.
371
- const {
372
- element,
373
- padding = 0
374
- } = evaluate(options, state) || {};
375
- if (element == null) {
376
- return {};
377
- }
378
- const paddingObject = getPaddingObject(padding);
379
- const coords = {
380
- x,
381
- y
382
- };
383
- const axis = getAlignmentAxis(placement);
384
- const length = getAxisLength(axis);
385
- const arrowDimensions = await platform.getDimensions(element);
386
- const isYAxis = axis === 'y';
387
- const minProp = isYAxis ? 'top' : 'left';
388
- const maxProp = isYAxis ? 'bottom' : 'right';
389
- const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
390
- const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
391
- const startDiff = coords[axis] - rects.reference[axis];
392
- const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
393
- let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
394
-
395
- // DOM platform can return `window` as the `offsetParent`.
396
- if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
397
- clientSize = elements.floating[clientProp] || rects.floating[length];
398
- }
399
- const centerToReference = endDiff / 2 - startDiff / 2;
400
-
401
- // If the padding is large enough that it causes the arrow to no longer be
402
- // centered, modify the padding so that it is centered.
403
- const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
404
- const minPadding = min(paddingObject[minProp], largestPossiblePadding);
405
- const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
406
-
407
- // Make sure the arrow doesn't overflow the floating element if the center
408
- // point is outside the floating element's bounds.
409
- const max = clientSize - arrowDimensions[length] - maxPadding;
410
- const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
411
- const offset = clamp(minPadding, center, max);
412
-
413
- // If the reference is small enough that the arrow's padding causes it to
414
- // to point to nothing for an aligned placement, adjust the offset of the
415
- // floating element itself. To ensure `shift()` continues to take action,
416
- // a single reset is performed when this is true.
417
- const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
418
- const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
419
- return {
420
- [axis]: coords[axis] + alignmentOffset,
421
- data: {
422
- [axis]: offset,
423
- centerOffset: center - offset - alignmentOffset,
424
- ...(shouldAddOffset && {
425
- alignmentOffset
426
- })
427
- },
428
- reset: shouldAddOffset
429
- };
430
- }
431
- });
432
-
433
- /**
434
- * Optimizes the visibility of the floating element by flipping the `placement`
435
- * in order to keep it in view when the preferred placement(s) will overflow the
436
- * clipping boundary. Alternative to `autoPlacement`.
437
- * @see https://floating-ui.com/docs/flip
438
- */
439
- const flip$1 = function (options) {
440
- if (options === void 0) {
441
- options = {};
442
- }
443
- return {
444
- name: 'flip',
445
- options,
446
- async fn(state) {
447
- var _middlewareData$arrow, _middlewareData$flip;
448
- const {
449
- placement,
450
- middlewareData,
451
- rects,
452
- initialPlacement,
453
- platform,
454
- elements
455
- } = state;
456
- const {
457
- mainAxis: checkMainAxis = true,
458
- crossAxis: checkCrossAxis = true,
459
- fallbackPlacements: specifiedFallbackPlacements,
460
- fallbackStrategy = 'bestFit',
461
- fallbackAxisSideDirection = 'none',
462
- flipAlignment = true,
463
- ...detectOverflowOptions
464
- } = evaluate(options, state);
465
-
466
- // If a reset by the arrow was caused due to an alignment offset being
467
- // added, we should skip any logic now since `flip()` has already done its
468
- // work.
469
- // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
470
- if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
471
- return {};
472
- }
473
- const side = getSide$1(placement);
474
- const initialSideAxis = getSideAxis(initialPlacement);
475
- const isBasePlacement = getSide$1(initialPlacement) === initialPlacement;
476
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
477
- const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
478
- const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
479
- if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
480
- fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
481
- }
482
- const placements = [initialPlacement, ...fallbackPlacements];
483
- const overflow = await platform.detectOverflow(state, detectOverflowOptions);
484
- const overflows = [];
485
- let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
486
- if (checkMainAxis) {
487
- overflows.push(overflow[side]);
488
- }
489
- if (checkCrossAxis) {
490
- const sides = getAlignmentSides(placement, rects, rtl);
491
- overflows.push(overflow[sides[0]], overflow[sides[1]]);
492
- }
493
- overflowsData = [...overflowsData, {
494
- placement,
495
- overflows
496
- }];
497
-
498
- // One or more sides is overflowing.
499
- if (!overflows.every(side => side <= 0)) {
500
- var _middlewareData$flip2, _overflowsData$filter;
501
- const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
502
- const nextPlacement = placements[nextIndex];
503
- if (nextPlacement) {
504
- const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
505
- if (!ignoreCrossAxisOverflow ||
506
- // We leave the current main axis only if every placement on that axis
507
- // overflows the main axis.
508
- overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
509
- // Try next placement and re-run the lifecycle.
510
- return {
511
- data: {
512
- index: nextIndex,
513
- overflows: overflowsData
514
- },
515
- reset: {
516
- placement: nextPlacement
517
- }
518
- };
519
- }
520
- }
521
-
522
- // First, find the candidates that fit on the mainAxis side of overflow,
523
- // then find the placement that fits the best on the main crossAxis side.
524
- let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
525
-
526
- // Otherwise fallback.
527
- if (!resetPlacement) {
528
- switch (fallbackStrategy) {
529
- case 'bestFit':
530
- {
531
- var _overflowsData$filter2;
532
- const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
533
- if (hasFallbackAxisSideDirection) {
534
- const currentSideAxis = getSideAxis(d.placement);
535
- return currentSideAxis === initialSideAxis ||
536
- // Create a bias to the `y` side axis due to horizontal
537
- // reading directions favoring greater width.
538
- currentSideAxis === 'y';
539
- }
540
- return true;
541
- }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
542
- if (placement) {
543
- resetPlacement = placement;
544
- }
545
- break;
546
- }
547
- case 'initialPlacement':
548
- resetPlacement = initialPlacement;
549
- break;
550
- }
551
- }
552
- if (placement !== resetPlacement) {
553
- return {
554
- reset: {
555
- placement: resetPlacement
556
- }
557
- };
558
- }
559
- }
560
- return {};
561
- }
562
- };
563
- };
564
-
565
- function getSideOffsets(overflow, rect) {
566
- return {
567
- top: overflow.top - rect.height,
568
- right: overflow.right - rect.width,
569
- bottom: overflow.bottom - rect.height,
570
- left: overflow.left - rect.width
571
- };
572
- }
573
- function isAnySideFullyClipped(overflow) {
574
- return sides.some(side => overflow[side] >= 0);
575
- }
576
- /**
577
- * Provides data to hide the floating element in applicable situations, such as
578
- * when it is not in the same clipping context as the reference element.
579
- * @see https://floating-ui.com/docs/hide
580
- */
581
- const hide$1 = function (options) {
582
- if (options === void 0) {
583
- options = {};
584
- }
585
- return {
586
- name: 'hide',
587
- options,
588
- async fn(state) {
589
- const {
590
- rects,
591
- platform
592
- } = state;
593
- const {
594
- strategy = 'referenceHidden',
595
- ...detectOverflowOptions
596
- } = evaluate(options, state);
597
- switch (strategy) {
598
- case 'referenceHidden':
599
- {
600
- const overflow = await platform.detectOverflow(state, {
601
- ...detectOverflowOptions,
602
- elementContext: 'reference'
603
- });
604
- const offsets = getSideOffsets(overflow, rects.reference);
605
- return {
606
- data: {
607
- referenceHiddenOffsets: offsets,
608
- referenceHidden: isAnySideFullyClipped(offsets)
609
- }
610
- };
611
- }
612
- case 'escaped':
613
- {
614
- const overflow = await platform.detectOverflow(state, {
615
- ...detectOverflowOptions,
616
- altBoundary: true
617
- });
618
- const offsets = getSideOffsets(overflow, rects.floating);
619
- return {
620
- data: {
621
- escapedOffsets: offsets,
622
- escaped: isAnySideFullyClipped(offsets)
623
- }
624
- };
625
- }
626
- default:
627
- {
628
- return {};
629
- }
630
- }
631
- }
632
- };
633
- };
634
-
635
- const originSides = /*#__PURE__*/new Set(['left', 'top']);
636
-
637
- // For type backwards-compatibility, the `OffsetOptions` type was also
638
- // Derivable.
639
-
640
- async function convertValueToCoords(state, options) {
641
- const {
642
- placement,
643
- platform,
644
- elements
645
- } = state;
646
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
647
- const side = getSide$1(placement);
648
- const alignment = getAlignment(placement);
649
- const isVertical = getSideAxis(placement) === 'y';
650
- const mainAxisMulti = originSides.has(side) ? -1 : 1;
651
- const crossAxisMulti = rtl && isVertical ? -1 : 1;
652
- const rawValue = evaluate(options, state);
653
-
654
- // eslint-disable-next-line prefer-const
655
- let {
656
- mainAxis,
657
- crossAxis,
658
- alignmentAxis
659
- } = typeof rawValue === 'number' ? {
660
- mainAxis: rawValue,
661
- crossAxis: 0,
662
- alignmentAxis: null
663
- } : {
664
- mainAxis: rawValue.mainAxis || 0,
665
- crossAxis: rawValue.crossAxis || 0,
666
- alignmentAxis: rawValue.alignmentAxis
667
- };
668
- if (alignment && typeof alignmentAxis === 'number') {
669
- crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
670
- }
671
- return isVertical ? {
672
- x: crossAxis * crossAxisMulti,
673
- y: mainAxis * mainAxisMulti
674
- } : {
675
- x: mainAxis * mainAxisMulti,
676
- y: crossAxis * crossAxisMulti
677
- };
678
- }
679
-
680
- /**
681
- * Modifies the placement by translating the floating element along the
682
- * specified axes.
683
- * A number (shorthand for `mainAxis` or distance), or an axes configuration
684
- * object may be passed.
685
- * @see https://floating-ui.com/docs/offset
686
- */
687
- const offset$1 = function (options) {
688
- if (options === void 0) {
689
- options = 0;
690
- }
691
- return {
692
- name: 'offset',
693
- options,
694
- async fn(state) {
695
- var _middlewareData$offse, _middlewareData$arrow;
696
- const {
697
- x,
698
- y,
699
- placement,
700
- middlewareData
701
- } = state;
702
- const diffCoords = await convertValueToCoords(state, options);
703
-
704
- // If the placement is the same and the arrow caused an alignment offset
705
- // then we don't need to change the positioning coordinates.
706
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
707
- return {};
708
- }
709
- return {
710
- x: x + diffCoords.x,
711
- y: y + diffCoords.y,
712
- data: {
713
- ...diffCoords,
714
- placement
715
- }
716
- };
717
- }
718
- };
719
- };
720
-
721
- /**
722
- * Optimizes the visibility of the floating element by shifting it in order to
723
- * keep it in view when it will overflow the clipping boundary.
724
- * @see https://floating-ui.com/docs/shift
725
- */
726
- const shift$1 = function (options) {
727
- if (options === void 0) {
728
- options = {};
729
- }
730
- return {
731
- name: 'shift',
732
- options,
733
- async fn(state) {
734
- const {
735
- x,
736
- y,
737
- placement,
738
- platform
739
- } = state;
740
- const {
741
- mainAxis: checkMainAxis = true,
742
- crossAxis: checkCrossAxis = false,
743
- limiter = {
744
- fn: _ref => {
745
- let {
746
- x,
747
- y
748
- } = _ref;
749
- return {
750
- x,
751
- y
752
- };
753
- }
754
- },
755
- ...detectOverflowOptions
756
- } = evaluate(options, state);
757
- const coords = {
758
- x,
759
- y
760
- };
761
- const overflow = await platform.detectOverflow(state, detectOverflowOptions);
762
- const crossAxis = getSideAxis(placement);
763
- const mainAxis = getOppositeAxis(crossAxis);
764
- let mainAxisCoord = coords[mainAxis];
765
- let crossAxisCoord = coords[crossAxis];
766
- const clampCoord = (axis, coord) => clamp(coord + overflow[axis === 'y' ? 'top' : 'left'], coord, coord - overflow[axis === 'y' ? 'bottom' : 'right']);
767
- if (checkMainAxis) {
768
- mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
769
- }
770
- if (checkCrossAxis) {
771
- crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
772
- }
773
- const limitedCoords = limiter.fn({
774
- ...state,
775
- [mainAxis]: mainAxisCoord,
776
- [crossAxis]: crossAxisCoord
777
- });
778
- return {
779
- ...limitedCoords,
780
- data: {
781
- x: limitedCoords.x - x,
782
- y: limitedCoords.y - y,
783
- enabled: {
784
- [mainAxis]: checkMainAxis,
785
- [crossAxis]: checkCrossAxis
786
- }
787
- }
788
- };
789
- }
790
- };
791
- };
792
- /**
793
- * Built-in `limiter` that will stop `shift()` at a certain point.
794
- */
795
- const limitShift$1 = function (options) {
796
- if (options === void 0) {
797
- options = {};
798
- }
799
- return {
800
- options,
801
- fn(state) {
802
- var _rawOffset$mainAxis, _rawOffset$crossAxis;
803
- const {
804
- x,
805
- y,
806
- placement,
807
- rects,
808
- middlewareData
809
- } = state;
810
- const {
811
- offset = 0,
812
- mainAxis: checkMainAxis = true,
813
- crossAxis: checkCrossAxis = true
814
- } = evaluate(options, state);
815
- const coords = {
816
- x,
817
- y
818
- };
819
- const crossAxis = getSideAxis(placement);
820
- const mainAxis = getOppositeAxis(crossAxis);
821
- let mainAxisCoord = coords[mainAxis];
822
- let crossAxisCoord = coords[crossAxis];
823
- const rawOffset = evaluate(offset, state);
824
- const computedOffset = typeof rawOffset === 'number' ? {
825
- mainAxis: rawOffset,
826
- crossAxis: 0
827
- } : {
828
- mainAxis: (_rawOffset$mainAxis = rawOffset.mainAxis) != null ? _rawOffset$mainAxis : 0,
829
- crossAxis: (_rawOffset$crossAxis = rawOffset.crossAxis) != null ? _rawOffset$crossAxis : 0
830
- };
831
- if (checkMainAxis) {
832
- const len = mainAxis === 'y' ? 'height' : 'width';
833
- const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
834
- const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
835
- if (mainAxisCoord < limitMin) {
836
- mainAxisCoord = limitMin;
837
- } else if (mainAxisCoord > limitMax) {
838
- mainAxisCoord = limitMax;
839
- }
840
- }
841
- if (checkCrossAxis) {
842
- var _middlewareData$offse, _middlewareData$offse2;
843
- const len = mainAxis === 'y' ? 'width' : 'height';
844
- const isOriginSide = originSides.has(getSide$1(placement));
845
- const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
846
- const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
847
- if (crossAxisCoord < limitMin) {
848
- crossAxisCoord = limitMin;
849
- } else if (crossAxisCoord > limitMax) {
850
- crossAxisCoord = limitMax;
851
- }
852
- }
853
- return {
854
- [mainAxis]: mainAxisCoord,
855
- [crossAxis]: crossAxisCoord
856
- };
857
- }
858
- };
859
- };
860
-
861
- // Method syntax keeps callback parameters bivariant, but expressing the
862
- // explicit `| undefined` required by `exactOptionalPropertyTypes` needs
863
- // property syntax, which is contravariant under `strictFunctionTypes`.
864
- // Extracting the function from a method position restores that bivariance so
865
- // consumers can still assign callbacks with narrower parameter types.
866
-
867
- /**
868
- * Provides data that allows you to change the size of the floating element —
869
- * for instance, prevent it from overflowing the clipping boundary or match the
870
- * width of the reference element.
871
- * @see https://floating-ui.com/docs/size
872
- */
873
- const size$1 = function (options) {
874
- if (options === void 0) {
875
- options = {};
876
- }
877
- return {
878
- name: 'size',
879
- options,
880
- async fn(state) {
881
- const {
882
- placement,
883
- rects,
884
- platform,
885
- elements
886
- } = state;
887
- const {
888
- apply = () => {},
889
- ...detectOverflowOptions
890
- } = evaluate(options, state);
891
- const overflow = await platform.detectOverflow(state, detectOverflowOptions);
892
- const side = getSide$1(placement);
893
- const alignment = getAlignment(placement);
894
- const isYAxis = getSideAxis(placement) === 'y';
895
- const {
896
- width,
897
- height
898
- } = rects.floating;
899
- let heightSide;
900
- let widthSide;
901
- if (side === 'top' || side === 'bottom') {
902
- heightSide = side;
903
- widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
904
- } else {
905
- widthSide = side;
906
- heightSide = alignment === 'end' ? 'top' : 'bottom';
907
- }
908
- const maximumClippingHeight = height - overflow.top - overflow.bottom;
909
- const maximumClippingWidth = width - overflow.left - overflow.right;
910
- const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
911
- const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
912
- const shiftData = state.middlewareData.shift;
913
- const noShift = !shiftData;
914
- let availableHeight = overflowAvailableHeight;
915
- let availableWidth = overflowAvailableWidth;
916
- if (shiftData != null && shiftData.enabled.x) {
917
- availableWidth = maximumClippingWidth;
918
- }
919
- if (shiftData != null && shiftData.enabled.y) {
920
- availableHeight = maximumClippingHeight;
921
- }
922
- if (noShift && !alignment) {
923
- if (isYAxis) {
924
- availableWidth = width - 2 * max(overflow.left, overflow.right);
925
- } else {
926
- availableHeight = height - 2 * max(overflow.top, overflow.bottom);
927
- }
928
- }
929
- await apply({
930
- ...state,
931
- availableWidth,
932
- availableHeight
933
- });
934
- const nextDimensions = await platform.getDimensions(elements.floating);
935
- if (width !== nextDimensions.width || height !== nextDimensions.height) {
936
- return {
937
- reset: {
938
- rects: true
939
- }
940
- };
941
- }
942
- return {};
943
- }
944
- };
945
- };
946
-
947
- function hasWindow() {
948
- return typeof window !== 'undefined';
949
- }
950
- function getNodeName(node) {
951
- if (isNode(node)) {
952
- return (node.nodeName || '').toLowerCase();
953
- }
954
- // Mocked nodes in testing environments may not be instances of Node. By
955
- // returning `#document` an infinite loop won't occur.
956
- // https://github.com/floating-ui/floating-ui/issues/2317
957
- return '#document';
958
- }
959
- function getWindow(node) {
960
- var _node$ownerDocument;
961
- return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
962
- }
963
- function getDocumentElement(node) {
964
- var _ref;
965
- return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
966
- }
967
- function isNode(value) {
968
- if (!hasWindow()) {
969
- return false;
970
- }
971
- return value instanceof Node || value instanceof getWindow(value).Node;
972
- }
973
- function isElement(value) {
974
- if (!hasWindow()) {
975
- return false;
976
- }
977
- return value instanceof Element || value instanceof getWindow(value).Element;
978
- }
979
- function isHTMLElement(value) {
980
- if (!hasWindow()) {
981
- return false;
982
- }
983
- return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
984
- }
985
- function isShadowRoot(value) {
986
- if (!hasWindow() || typeof ShadowRoot === 'undefined') {
987
- return false;
988
- }
989
- return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
990
- }
991
- function isOverflowElement(element) {
992
- const {
993
- overflow,
994
- overflowX,
995
- overflowY,
996
- display
997
- } = getComputedStyle$1(element);
998
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
999
- }
1000
- function isTableElement(element) {
1001
- return /^(table|td|th)$/.test(getNodeName(element));
1002
- }
1003
- function isTopLayer(element) {
1004
- try {
1005
- if (element.matches(':popover-open')) {
1006
- return true;
1007
- }
1008
- } catch (_e) {
1009
- // no-op
1010
- }
1011
- try {
1012
- return element.matches(':modal');
1013
- } catch (_e) {
1014
- return false;
1015
- }
1016
- }
1017
- const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
1018
- const containRe = /paint|layout|strict|content/;
1019
- const isNotNone = value => !!value && value !== 'none';
1020
- let isWebKitValue;
1021
- function isContainingBlock(elementOrCss) {
1022
- const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
1023
-
1024
- // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1025
- // https://drafts.csswg.org/css-transforms-2/#individual-transforms
1026
- return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
1027
- }
1028
- function getContainingBlock(element) {
1029
- let currentNode = getParentNode(element);
1030
- while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
1031
- if (isContainingBlock(currentNode)) {
1032
- return currentNode;
1033
- } else if (isTopLayer(currentNode)) {
1034
- return null;
1035
- }
1036
- currentNode = getParentNode(currentNode);
1037
- }
1038
- return null;
1039
- }
1040
- function isWebKit() {
1041
- if (isWebKitValue == null) {
1042
- isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
1043
- }
1044
- return isWebKitValue;
1045
- }
1046
- function isLastTraversableNode(node) {
1047
- return /^(html|body|#document)$/.test(getNodeName(node));
1048
- }
1049
- function getComputedStyle$1(element) {
1050
- return getWindow(element).getComputedStyle(element);
1051
- }
1052
- function getNodeScroll(element) {
1053
- if (isElement(element)) {
1054
- return {
1055
- scrollLeft: element.scrollLeft,
1056
- scrollTop: element.scrollTop
1057
- };
1058
- }
1059
- return {
1060
- scrollLeft: element.scrollX,
1061
- scrollTop: element.scrollY
1062
- };
1063
- }
1064
- function getParentNode(node) {
1065
- if (getNodeName(node) === 'html') {
1066
- return node;
1067
- }
1068
- const result =
1069
- // Step into the shadow DOM of the parent of a slotted node.
1070
- node.assignedSlot ||
1071
- // DOM Element detected.
1072
- node.parentNode ||
1073
- // ShadowRoot detected.
1074
- isShadowRoot(node) && node.host ||
1075
- // Fallback.
1076
- getDocumentElement(node);
1077
- return isShadowRoot(result) ? result.host : result;
1078
- }
1079
- function getNearestOverflowAncestor(node) {
1080
- const parentNode = getParentNode(node);
1081
- if (isLastTraversableNode(parentNode)) {
1082
- return (node.ownerDocument || node).body;
1083
- }
1084
- if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
1085
- return parentNode;
1086
- }
1087
- return getNearestOverflowAncestor(parentNode);
1088
- }
1089
- function getOverflowAncestors(node, list, traverseIframes) {
1090
- var _node$ownerDocument2;
1091
- if (list === void 0) {
1092
- list = [];
1093
- }
1094
- const scrollableAncestor = getNearestOverflowAncestor(node);
1095
- const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1096
- const win = getWindow(scrollableAncestor);
1097
- if (isBody) {
1098
- getFrameElement(win);
1099
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], []);
1100
- } else {
1101
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, []));
1102
- }
1103
- }
1104
- function getFrameElement(win) {
1105
- return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
1106
- }
1107
-
1108
- function getCssDimensions(element) {
1109
- const css = getComputedStyle$1(element);
1110
- // In testing environments, the `width` and `height` properties are empty
1111
- // strings for SVG elements, returning NaN. Fallback to `0` in this case.
1112
- let width = parseFloat(css.width) || 0;
1113
- let height = parseFloat(css.height) || 0;
1114
- const hasOffset = isHTMLElement(element);
1115
- const offsetWidth = hasOffset ? element.offsetWidth : width;
1116
- const offsetHeight = hasOffset ? element.offsetHeight : height;
1117
- const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
1118
- if (shouldFallback) {
1119
- width = offsetWidth;
1120
- height = offsetHeight;
1121
- }
1122
- return {
1123
- width,
1124
- height,
1125
- $: shouldFallback
1126
- };
1127
- }
1128
-
1129
- function unwrapElement(element) {
1130
- return !isElement(element) ? element.contextElement : element;
1131
- }
1132
-
1133
- function getScale(element) {
1134
- const domElement = unwrapElement(element);
1135
- if (!isHTMLElement(domElement)) {
1136
- return createCoords(1);
1137
- }
1138
- const rect = domElement.getBoundingClientRect();
1139
- const {
1140
- width,
1141
- height,
1142
- $
1143
- } = getCssDimensions(domElement);
1144
- let x = ($ ? round(rect.width) : rect.width) / width;
1145
- let y = ($ ? round(rect.height) : rect.height) / height;
1146
-
1147
- // 0, NaN, or Infinity should always fallback to 1.
1148
-
1149
- if (!x || !Number.isFinite(x)) {
1150
- x = 1;
1151
- }
1152
- if (!y || !Number.isFinite(y)) {
1153
- y = 1;
1154
- }
1155
- return {
1156
- x,
1157
- y
1158
- };
1159
- }
1160
-
1161
- const noOffsets = /*#__PURE__*/createCoords(0);
1162
- function getVisualOffsets(element) {
1163
- const win = getWindow(element);
1164
- if (!isWebKit() || !win.visualViewport) {
1165
- return noOffsets;
1166
- }
1167
- return {
1168
- x: win.visualViewport.offsetLeft,
1169
- y: win.visualViewport.offsetTop
1170
- };
1171
- }
1172
- function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1173
- if (isFixed === void 0) {
1174
- isFixed = false;
1175
- }
1176
- return !!floatingOffsetParent && isFixed && floatingOffsetParent === getWindow(element);
1177
- }
1178
-
1179
- function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1180
- if (includeScale === void 0) {
1181
- includeScale = false;
1182
- }
1183
- if (isFixedStrategy === void 0) {
1184
- isFixedStrategy = false;
1185
- }
1186
- const clientRect = element.getBoundingClientRect();
1187
- const domElement = unwrapElement(element);
1188
- let scale = createCoords(1);
1189
- if (includeScale) {
1190
- if (offsetParent) {
1191
- if (isElement(offsetParent)) {
1192
- scale = getScale(offsetParent);
1193
- }
1194
- } else {
1195
- scale = getScale(element);
1196
- }
1197
- }
1198
- const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1199
- let x = (clientRect.left + visualOffsets.x) / scale.x;
1200
- let y = (clientRect.top + visualOffsets.y) / scale.y;
1201
- let width = clientRect.width / scale.x;
1202
- let height = clientRect.height / scale.y;
1203
- if (domElement && offsetParent) {
1204
- const win = getWindow(domElement);
1205
- const offsetWin = isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1206
- let currentWin = win;
1207
- let currentIFrame = getFrameElement(currentWin);
1208
- while (currentIFrame && offsetWin !== currentWin) {
1209
- const iframeScale = getScale(currentIFrame);
1210
- const iframeRect = currentIFrame.getBoundingClientRect();
1211
- const css = getComputedStyle$1(currentIFrame);
1212
- const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1213
- const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1214
- x *= iframeScale.x;
1215
- y *= iframeScale.y;
1216
- width *= iframeScale.x;
1217
- height *= iframeScale.y;
1218
- x += left;
1219
- y += top;
1220
- currentWin = getWindow(currentIFrame);
1221
- currentIFrame = getFrameElement(currentWin);
1222
- }
1223
- }
1224
- return rectToClientRect({
1225
- width,
1226
- height,
1227
- x,
1228
- y
1229
- });
1230
- }
1231
-
1232
- // If <html> has a CSS width greater than the viewport, then this will be
1233
- // incorrect for RTL.
1234
- function getWindowScrollBarX(element, rect) {
1235
- const leftScroll = getNodeScroll(element).scrollLeft;
1236
- if (!rect) {
1237
- return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1238
- }
1239
- return rect.left + leftScroll;
1240
- }
1241
-
1242
- function getHTMLOffset(documentElement, scroll) {
1243
- const htmlRect = documentElement.getBoundingClientRect();
1244
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
1245
- const y = htmlRect.top + scroll.scrollTop;
1246
- return {
1247
- x,
1248
- y
1249
- };
1250
- }
1251
-
1252
- function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1253
- let {
1254
- elements,
1255
- rect,
1256
- offsetParent,
1257
- strategy
1258
- } = _ref;
1259
- const isFixed = strategy === 'fixed';
1260
- const documentElement = getDocumentElement(offsetParent);
1261
- const topLayer = elements ? isTopLayer(elements.floating) : false;
1262
- if (offsetParent === documentElement || topLayer && isFixed) {
1263
- return rect;
1264
- }
1265
- let scroll = {
1266
- scrollLeft: 0,
1267
- scrollTop: 0
1268
- };
1269
- let scale = createCoords(1);
1270
- const offsets = createCoords(0);
1271
- const isOffsetParentAnElement = isHTMLElement(offsetParent);
1272
- if (isOffsetParentAnElement || !isFixed) {
1273
- if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1274
- scroll = getNodeScroll(offsetParent);
1275
- }
1276
- if (isOffsetParentAnElement) {
1277
- const offsetRect = getBoundingClientRect(offsetParent);
1278
- scale = getScale(offsetParent);
1279
- offsets.x = offsetRect.x + offsetParent.clientLeft;
1280
- offsets.y = offsetRect.y + offsetParent.clientTop;
1281
- }
1282
- }
1283
- const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1284
- return {
1285
- width: rect.width * scale.x,
1286
- height: rect.height * scale.y,
1287
- x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1288
- y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1289
- };
1290
- }
1291
-
1292
- function getClientRects(element) {
1293
- return element.getClientRects ? Array.from(element.getClientRects()) : [];
1294
- }
1295
-
1296
- // Gets the entire size of the scrollable document area, even extending outside
1297
- // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
1298
- function getDocumentRect(html) {
1299
- const scroll = getNodeScroll(html);
1300
- const body = html.ownerDocument.body;
1301
- const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1302
- const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1303
- let x = -scroll.scrollLeft + getWindowScrollBarX(html);
1304
- const y = -scroll.scrollTop;
1305
- if (getComputedStyle$1(body).direction === 'rtl') {
1306
- x += max(html.clientWidth, body.clientWidth) - width;
1307
- }
1308
- return {
1309
- width,
1310
- height,
1311
- x,
1312
- y
1313
- };
1314
- }
1315
-
1316
- // Safety check: ensure the scrollbar space is reasonable in case this
1317
- // calculation is affected by unusual styles.
1318
- // Most scrollbars leave 15-18px of space.
1319
- const SCROLLBAR_MAX = 25;
1320
- function getViewportRect(element, strategy, rootBoundary) {
1321
- if (rootBoundary === void 0) {
1322
- rootBoundary = 'viewport';
1323
- }
1324
- const isLayoutViewport = rootBoundary === 'layoutViewport';
1325
- const win = getWindow(element);
1326
- const html = getDocumentElement(element);
1327
- const visualViewport = win.visualViewport;
1328
- let width = html.clientWidth;
1329
- let height = html.clientHeight;
1330
- let x = 0;
1331
- let y = 0;
1332
- if (visualViewport) {
1333
- // Client coordinates are relative to the layout viewport, except in
1334
- // WebKit with an `absolute` strategy, where they are relative to the
1335
- // visual viewport.
1336
- const layoutRelativeClientCoords = !isWebKit() || strategy === 'fixed';
1337
- if (isLayoutViewport) {
1338
- if (!layoutRelativeClientCoords) {
1339
- x = -visualViewport.offsetLeft;
1340
- y = -visualViewport.offsetTop;
1341
- }
1342
- } else {
1343
- width = visualViewport.width;
1344
- height = visualViewport.height;
1345
- if (layoutRelativeClientCoords) {
1346
- x = visualViewport.offsetLeft;
1347
- y = visualViewport.offsetTop;
1348
- }
1349
- }
1350
- }
1351
- const windowScrollbarX = getWindowScrollBarX(html);
1352
- // `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks
1353
- // the visual width but isn't reflected in `html.clientWidth`, so subtract it.
1354
- // Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also
1355
- // reserves an empty inline-start gutter that clips nothing, so exclude just
1356
- // the one scrollbar-side gutter — halve the measured (two-gutter) total. A
1357
- // left-side scrollbar (`windowScrollbarX > 0`) is already handled by
1358
- // `getHTMLOffset`/`visualViewport.width`; skip it here.
1359
- if (windowScrollbarX <= 0) {
1360
- const doc = html.ownerDocument;
1361
- const body = doc.body;
1362
- const bodyStyles = getComputedStyle(body);
1363
- const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
1364
- const reservedWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
1365
- const gutter = getComputedStyle(html).scrollbarGutter === 'stable both-edges' ? reservedWidth / 2 : reservedWidth;
1366
- if (gutter <= SCROLLBAR_MAX) {
1367
- width -= gutter;
1368
- }
1369
- }
1370
- return {
1371
- width,
1372
- height,
1373
- x,
1374
- y
1375
- };
1376
- }
1377
-
1378
- // Returns the inner client rect, subtracting scrollbars if present.
1379
- function getInnerBoundingClientRect(element, strategy) {
1380
- const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
1381
- const top = clientRect.top + element.clientTop;
1382
- const left = clientRect.left + element.clientLeft;
1383
- const scale = getScale(element);
1384
- const width = element.clientWidth * scale.x;
1385
- const height = element.clientHeight * scale.y;
1386
- const x = left * scale.x;
1387
- const y = top * scale.y;
1388
- return {
1389
- width,
1390
- height,
1391
- x,
1392
- y
1393
- };
1394
- }
1395
- function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1396
- let rect;
1397
- if (clippingAncestor === 'viewport' || clippingAncestor === 'layoutViewport') {
1398
- rect = getViewportRect(element, strategy, clippingAncestor);
1399
- } else if (clippingAncestor === 'document') {
1400
- rect = getDocumentRect(getDocumentElement(element));
1401
- } else if (isElement(clippingAncestor)) {
1402
- rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1403
- } else {
1404
- const visualOffsets = getVisualOffsets(element);
1405
- rect = {
1406
- x: clippingAncestor.x - visualOffsets.x,
1407
- y: clippingAncestor.y - visualOffsets.y,
1408
- width: clippingAncestor.width,
1409
- height: clippingAncestor.height
1410
- };
1411
- }
1412
- return rectToClientRect(rect);
1413
- }
1414
-
1415
- // A "clipping ancestor" is an `overflow` element with the characteristic of
1416
- // clipping (or hiding) child elements. This returns all clipping ancestors
1417
- // of the given element up the tree.
1418
- function getClippingElementAncestors(element, cache) {
1419
- const cachedResult = cache.get(element);
1420
- if (cachedResult) {
1421
- return cachedResult;
1422
- }
1423
- let result = getOverflowAncestors(element, []).filter(el => isElement(el) && getNodeName(el) !== 'body');
1424
- let lastKeptComputedStyle = null;
1425
- const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
1426
- let currentNode = elementIsFixed ? getParentNode(element) : element;
1427
-
1428
- // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1429
- while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1430
- const computedStyle = getComputedStyle$1(currentNode);
1431
- const currentNodeIsContaining = isContainingBlock(currentNode);
1432
- // Position of the containing block chain below the current node. A fixed
1433
- // element whose containing block hasn't been found yet is a fixed chain.
1434
- const lastPosition = lastKeptComputedStyle ? lastKeptComputedStyle.position : elementIsFixed ? 'fixed' : '';
1435
-
1436
- // A non-containing ancestor does not clip the element when the chain
1437
- // below it escapes it: a fixed chain escapes all ancestors up to the
1438
- // next containing block, an absolute chain escapes static ancestors.
1439
- const shouldDropCurrentNode = !currentNodeIsContaining && (lastPosition === 'fixed' || lastPosition === 'absolute' && computedStyle.position === 'static');
1440
- if (shouldDropCurrentNode) {
1441
- // Drop non-containing blocks.
1442
- result = result.filter(ancestor => ancestor !== currentNode);
1443
- } else {
1444
- // The kept node carries the chain position for the next iteration.
1445
- lastKeptComputedStyle = computedStyle;
1446
- }
1447
- currentNode = getParentNode(currentNode);
1448
- }
1449
- cache.set(element, result);
1450
- return result;
1451
- }
1452
-
1453
- // Gets the maximum area that the element is visible in due to any number of
1454
- // clipping ancestors.
1455
- function getClippingRect(_ref) {
1456
- let {
1457
- element,
1458
- boundary,
1459
- rootBoundary,
1460
- strategy
1461
- } = _ref;
1462
- const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1463
- const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1464
- const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
1465
- let top = firstRect.top;
1466
- let right = firstRect.right;
1467
- let bottom = firstRect.bottom;
1468
- let left = firstRect.left;
1469
- for (let i = 1; i < clippingAncestors.length; i++) {
1470
- const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
1471
- top = max(rect.top, top);
1472
- right = min(rect.right, right);
1473
- bottom = min(rect.bottom, bottom);
1474
- left = max(rect.left, left);
1475
- }
1476
- return {
1477
- width: right - left,
1478
- height: bottom - top,
1479
- x: left,
1480
- y: top
1481
- };
1482
- }
1483
-
1484
- function getDimensions(element) {
1485
- const {
1486
- width,
1487
- height
1488
- } = getCssDimensions(element);
1489
- return {
1490
- width,
1491
- height
1492
- };
1493
- }
1494
-
1495
- function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1496
- const isOffsetParentAnElement = isHTMLElement(offsetParent);
1497
- const documentElement = getDocumentElement(offsetParent);
1498
- const isFixed = strategy === 'fixed';
1499
- const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1500
- let scroll = {
1501
- scrollLeft: 0,
1502
- scrollTop: 0
1503
- };
1504
- const offsets = createCoords(0);
1505
- if (isOffsetParentAnElement || !isFixed) {
1506
- if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1507
- scroll = getNodeScroll(offsetParent);
1508
- }
1509
- if (isOffsetParentAnElement) {
1510
- const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1511
- offsets.x = offsetRect.x + offsetParent.clientLeft;
1512
- offsets.y = offsetRect.y + offsetParent.clientTop;
1513
- }
1514
- }
1515
-
1516
- // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
1517
- // Firefox with layout.scrollbar.side = 3 in about:config to test this.
1518
- if (!isOffsetParentAnElement && documentElement) {
1519
- offsets.x = getWindowScrollBarX(documentElement);
1520
- }
1521
- const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1522
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
1523
- const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
1524
- return {
1525
- x,
1526
- y,
1527
- width: rect.width,
1528
- height: rect.height
1529
- };
1530
- }
1531
-
1532
- function isStaticPositioned(element) {
1533
- return getComputedStyle$1(element).position === 'static';
1534
- }
1535
-
1536
- function getTrueOffsetParent(element, polyfill) {
1537
- if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
1538
- return null;
1539
- }
1540
- if (polyfill) {
1541
- return polyfill(element);
1542
- }
1543
- let rawOffsetParent = element.offsetParent;
1544
-
1545
- // Firefox returns the <html> element as the offsetParent if it's non-static,
1546
- // while Chrome and Safari return the <body> element. The <body> element must
1547
- // be used to perform the correct calculations even if the <html> element is
1548
- // non-static.
1549
- if (getDocumentElement(element) === rawOffsetParent) {
1550
- rawOffsetParent = rawOffsetParent.ownerDocument.body;
1551
- }
1552
- return rawOffsetParent;
1553
- }
1554
-
1555
- // Gets the closest ancestor positioned element. Handles some edge cases,
1556
- // such as table ancestors and cross browser bugs.
1557
- function getOffsetParent(element, polyfill) {
1558
- const win = getWindow(element);
1559
- if (isTopLayer(element)) {
1560
- return win;
1561
- }
1562
- if (!isHTMLElement(element)) {
1563
- let svgOffsetParent = getParentNode(element);
1564
- while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1565
- if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1566
- return svgOffsetParent;
1567
- }
1568
- svgOffsetParent = getParentNode(svgOffsetParent);
1569
- }
1570
- return win;
1571
- }
1572
- let offsetParent = getTrueOffsetParent(element, polyfill);
1573
- while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1574
- offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1575
- }
1576
- if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1577
- return win;
1578
- }
1579
- return offsetParent || getContainingBlock(element) || win;
1580
- }
1581
-
1582
- const getElementRects = async function (data) {
1583
- const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1584
- const getDimensionsFn = this.getDimensions;
1585
- const floatingDimensions = await getDimensionsFn(data.floating);
1586
- return {
1587
- reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1588
- floating: {
1589
- x: 0,
1590
- y: 0,
1591
- width: floatingDimensions.width,
1592
- height: floatingDimensions.height
1593
- }
1594
- };
1595
- };
1596
-
1597
- function isRTL(element) {
1598
- return getComputedStyle$1(element).direction === 'rtl';
1599
- }
1600
-
1601
- const platform = {
1602
- convertOffsetParentRelativeRectToViewportRelativeRect,
1603
- getDocumentElement,
1604
- getClippingRect,
1605
- getOffsetParent,
1606
- getElementRects,
1607
- getClientRects,
1608
- getDimensions,
1609
- getScale,
1610
- isElement,
1611
- isRTL
1612
- };
1613
-
1614
- /**
1615
- * Modifies the placement by translating the floating element along the
1616
- * specified axes.
1617
- * A number (shorthand for `mainAxis` or distance), or an axes configuration
1618
- * object may be passed.
1619
- * @see https://floating-ui.com/docs/offset
1620
- */
1621
- const offset = offset$1;
1622
-
1623
- /**
1624
- * Optimizes the visibility of the floating element by shifting it in order to
1625
- * keep it in view when it will overflow the clipping boundary.
1626
- * @see https://floating-ui.com/docs/shift
1627
- */
1628
- const shift = shift$1;
1629
-
1630
- /**
1631
- * Optimizes the visibility of the floating element by flipping the `placement`
1632
- * in order to keep it in view when the preferred placement(s) will overflow the
1633
- * clipping boundary. Alternative to `autoPlacement`.
1634
- * @see https://floating-ui.com/docs/flip
1635
- */
1636
- const flip = flip$1;
1637
-
1638
- /**
1639
- * Provides data that allows you to change the size of the floating element —
1640
- * for instance, prevent it from overflowing the clipping boundary or match the
1641
- * width of the reference element.
1642
- * @see https://floating-ui.com/docs/size
1643
- */
1644
- const size = size$1;
1645
-
1646
- /**
1647
- * Provides data to hide the floating element in applicable situations, such as
1648
- * when it is not in the same clipping context as the reference element.
1649
- * @see https://floating-ui.com/docs/hide
1650
- */
1651
- const hide = hide$1;
1652
-
1653
- /**
1654
- * Provides data to position an inner element of the floating element so that it
1655
- * appears centered to the reference element.
1656
- * @see https://floating-ui.com/docs/arrow
1657
- */
1658
- const arrow = arrow$1;
1659
-
1660
- /**
1661
- * Built-in `limiter` that will stop `shift()` at a certain point.
1662
- */
1663
- const limitShift = limitShift$1;
1664
-
1665
- /**
1666
- * Computes the `x` and `y` coordinates that will place the floating element
1667
- * next to a given reference element.
1668
- */
1669
- const computePosition = (reference, floating, options) => {
1670
- // This caches the expensive `getClippingElementAncestors` function so that
1671
- // multiple lifecycle resets re-use the same result. It only lives for a
1672
- // single call. If other functions become expensive, we can add them as well.
1673
- const cache = new Map();
1674
- const mergedOptions = options != null ? options : {};
1675
- const platformWithCache = {
1676
- ...platform,
1677
- ...mergedOptions.platform,
1678
- _c: cache
1679
- };
1680
- return computePosition$1(reference, floating, {
1681
- ...mergedOptions,
1682
- platform: platformWithCache
1683
- });
1684
- };
1685
-
1686
- function Bell($$renderer, $$props) {
1687
- let { $$slots, $$events, ...props } = $$props;
1688
- const iconData = {
1689
- "name": "bell",
1690
- "size": 24,
1691
- "node": [
1692
- ["path", { "d": "M10.268 21a2 2 0 0 0 3.464 0" }],
1693
- [
1694
- "path",
1695
- {
1696
- "d": "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"
1697
- }
1698
- ]
1699
- ]
1700
- };
1701
- Icon($$renderer, spread_props([props, { icon: iconData }]));
1702
- }
1703
- function Gauge($$renderer, $$props) {
1704
- let { $$slots, $$events, ...props } = $$props;
1705
- const iconData = {
1706
- "name": "gauge",
1707
- "size": 24,
1708
- "node": [
1709
- ["path", { "d": "m12 14 4-4" }],
1710
- ["path", { "d": "M3.34 19a10 10 0 1 1 17.32 0" }]
1711
- ]
1712
- };
1713
- Icon($$renderer, spread_props([props, { icon: iconData }]));
1714
- }
1715
- function Puzzle($$renderer, $$props) {
1716
- let { $$slots, $$events, ...props } = $$props;
1717
- const iconData = {
1718
- "name": "puzzle",
1719
- "size": 24,
1720
- "node": [
1721
- [
1722
- "path",
1723
- {
1724
- "d": "M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z"
1725
- }
1726
- ]
1727
- ]
1728
- };
1729
- Icon($$renderer, spread_props([props, { icon: iconData }]));
1730
- }
1731
- function isFunction(value) {
1732
- return typeof value === "function";
1733
- }
1734
- function get$1(value) {
1735
- if (isFunction(value)) {
1736
- return value();
1737
- }
1738
- return value;
1739
- }
1740
- class ElementSize {
1741
- // no need to use `$state` here since we are using createSubscriber
1742
- #size = { width: 0, height: 0 };
1743
- #observed = false;
1744
- #options;
1745
- #node;
1746
- #window;
1747
- // we use a derived here to extract the width so that if the width doesn't change we don't get a state update
1748
- // which we would get if we would just use a getter since the version of the subscriber will be changing
1749
- #width = derived(() => {
1750
- this.#subscribe()?.();
1751
- return this.getSize().width;
1752
- });
1753
- // we use a derived here to extract the height so that if the height doesn't change we don't get a state update
1754
- // which we would get if we would just use a getter since the version of the subscriber will be changing
1755
- #height = derived(() => {
1756
- this.#subscribe()?.();
1757
- return this.getSize().height;
1758
- });
1759
- // we need to use a derived here because the class will be created before the node is bound to the ref
1760
- #subscribe = derived(() => {
1761
- const node$ = get$1(this.#node);
1762
- if (!node$) return;
1763
- return createSubscriber();
1764
- });
1765
- constructor(node, options = { box: "border-box" }) {
1766
- this.#window = options.window ?? defaultWindow;
1767
- this.#options = options;
1768
- this.#node = node;
1769
- this.#size = { width: 0, height: 0 };
1770
- }
1771
- calculateSize() {
1772
- const element = get$1(this.#node);
1773
- if (!element || !this.#window) {
1774
- return;
1775
- }
1776
- const offsetWidth = element.offsetWidth;
1777
- const offsetHeight = element.offsetHeight;
1778
- if (this.#options.box === "border-box") {
1779
- return { width: offsetWidth, height: offsetHeight };
1780
- }
1781
- const style = this.#window.getComputedStyle(element);
1782
- const paddingWidth = parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);
1783
- const paddingHeight = parseFloat(style.paddingTop) + parseFloat(style.paddingBottom);
1784
- const borderWidth = parseFloat(style.borderLeftWidth) + parseFloat(style.borderRightWidth);
1785
- const borderHeight = parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
1786
- const contentWidth = offsetWidth - paddingWidth - borderWidth;
1787
- const contentHeight = offsetHeight - paddingHeight - borderHeight;
1788
- return { width: contentWidth, height: contentHeight };
1789
- }
1790
- getSize() {
1791
- return this.#observed ? this.#size : this.calculateSize() ?? this.#size;
1792
- }
1793
- get current() {
1794
- this.#subscribe()?.();
1795
- return this.getSize();
1796
- }
1797
- get width() {
1798
- return this.#width();
1799
- }
1800
- get height() {
1801
- return this.#height();
1802
- }
1803
- }
1804
- const FloatingRootContext = new Context("Floating.Root");
1805
- const FloatingTooltipRootContext = new Context("Floating.Root");
1806
- class FloatingRootState {
1807
- static create(tooltip = false) {
1808
- return tooltip ? FloatingTooltipRootContext.set(new FloatingRootState()) : FloatingRootContext.set(new FloatingRootState());
1809
- }
1810
- anchorNode = simpleBox(null);
1811
- customAnchorNode = simpleBox(null);
1812
- triggerNode = simpleBox(null);
1813
- constructor() {
1814
- }
1815
- }
1816
- class FloatingAnchorState {
1817
- static create(opts, tooltip = false) {
1818
- return tooltip ? new FloatingAnchorState(opts, FloatingTooltipRootContext.get()) : new FloatingAnchorState(opts, FloatingRootContext.get());
1819
- }
1820
- opts;
1821
- root;
1822
- constructor(opts, root) {
1823
- this.opts = opts;
1824
- this.root = root;
1825
- if (opts.virtualEl && opts.virtualEl.current) {
1826
- root.triggerNode = boxFrom(opts.virtualEl.current);
1827
- } else {
1828
- root.triggerNode = opts.ref;
1829
- }
1830
- }
1831
- }
1832
- function Floating_layer($$renderer, $$props) {
1833
- $$renderer.component(($$renderer2) => {
1834
- let { children, tooltip = false } = $$props;
1835
- FloatingRootState.create(tooltip);
1836
- children?.($$renderer2);
1837
- $$renderer2.push(`<!---->`);
1838
- });
1839
- }
1840
- function get(valueOrGetValue) {
1841
- return typeof valueOrGetValue === "function" ? valueOrGetValue() : valueOrGetValue;
1842
- }
1843
- function getDPR(element) {
1844
- if (typeof window === "undefined") return 1;
1845
- const win = element.ownerDocument.defaultView || window;
1846
- return win.devicePixelRatio || 1;
1847
- }
1848
- function roundByDPR(element, value) {
1849
- const dpr = getDPR(element);
1850
- return Math.round(value * dpr) / dpr;
1851
- }
1852
- function getFloatingContentCSSVars(name) {
1853
- return {
1854
- [`--bits-${name}-content-transform-origin`]: `var(--bits-floating-transform-origin)`,
1855
- [`--bits-${name}-content-available-width`]: `var(--bits-floating-available-width)`,
1856
- [`--bits-${name}-content-available-height`]: `var(--bits-floating-available-height)`,
1857
- [`--bits-${name}-anchor-width`]: `var(--bits-floating-anchor-width)`,
1858
- [`--bits-${name}-anchor-height`]: `var(--bits-floating-anchor-height)`
1859
- };
1860
- }
1861
- function Floating_layer_anchor($$renderer, $$props) {
1862
- $$renderer.component(($$renderer2) => {
1863
- let { id, children, virtualEl, ref, tooltip = false } = $$props;
1864
- FloatingAnchorState.create(
1865
- {
1866
- id: boxWith(() => id),
1867
- virtualEl: boxWith(() => virtualEl),
1868
- ref
1869
- },
1870
- tooltip
1871
- );
1872
- children?.($$renderer2);
1873
- $$renderer2.push(`<!---->`);
1874
- });
1875
- }
1876
- function useFloating(options) {
1877
- const openOption = derived(() => get(options.open) ?? true);
1878
- const middlewareOption = derived(() => get(options.middleware));
1879
- const transformOption = derived(() => get(options.transform) ?? true);
1880
- const placementOption = derived(() => get(options.placement) ?? "bottom");
1881
- const strategyOption = derived(() => get(options.strategy) ?? "absolute");
1882
- const sideOffsetOption = derived(() => get(options.sideOffset) ?? 0);
1883
- const alignOffsetOption = derived(() => get(options.alignOffset) ?? 0);
1884
- const reference = options.reference;
1885
- let x = 0;
1886
- let y = 0;
1887
- const floating = simpleBox(null);
1888
- let strategy = strategyOption();
1889
- let placement = placementOption();
1890
- let middlewareData = {};
1891
- let isPositioned = false;
1892
- let updateRequestId = 0;
1893
- const floatingStyles = derived(() => {
1894
- const xVal = floating.current ? roundByDPR(floating.current, x) : x;
1895
- const yVal = floating.current ? roundByDPR(floating.current, y) : y;
1896
- if (transformOption()) {
1897
- return {
1898
- position: strategy,
1899
- left: "0",
1900
- top: "0",
1901
- transform: `translate(${xVal}px, ${yVal}px)`,
1902
- ...floating.current && getDPR(floating.current) >= 1.5 && { willChange: "transform" }
1903
- };
1904
- }
1905
- return { position: strategy, left: `${xVal}px`, top: `${yVal}px` };
1906
- });
1907
- function update() {
1908
- if (reference.current === null || floating.current === null) return;
1909
- const referenceNode = reference.current;
1910
- const floatingNode = floating.current;
1911
- const requestId = ++updateRequestId;
1912
- computePosition(referenceNode, floatingNode, {
1913
- middleware: middlewareOption(),
1914
- placement: placementOption(),
1915
- strategy: strategyOption()
1916
- }).then((position) => {
1917
- if (requestId !== updateRequestId) return;
1918
- if (reference.current !== referenceNode || floating.current !== floatingNode) return;
1919
- const referenceHidden = isReferenceHidden(referenceNode);
1920
- if (referenceHidden) {
1921
- middlewareData = {
1922
- ...middlewareData,
1923
- hide: {
1924
- // oxlint-disable-next-line no-explicit-any
1925
- ...middlewareData.hide,
1926
- referenceHidden: true
1927
- }
1928
- };
1929
- return;
1930
- }
1931
- if (!openOption() && x !== 0 && y !== 0) {
1932
- const maxExpectedOffset = Math.max(Math.abs(sideOffsetOption()), Math.abs(alignOffsetOption()), 15);
1933
- if (position.x <= maxExpectedOffset && position.y <= maxExpectedOffset) return;
1934
- }
1935
- x = position.x;
1936
- y = position.y;
1937
- strategy = position.strategy;
1938
- placement = position.placement;
1939
- middlewareData = position.middlewareData;
1940
- isPositioned = true;
1941
- });
1942
- }
1943
- return {
1944
- floating,
1945
- reference,
1946
- get strategy() {
1947
- return strategy;
1948
- },
1949
- get placement() {
1950
- return placement;
1951
- },
1952
- get middlewareData() {
1953
- return middlewareData;
1954
- },
1955
- get isPositioned() {
1956
- return isPositioned;
1957
- },
1958
- get floatingStyles() {
1959
- return floatingStyles();
1960
- },
1961
- get update() {
1962
- return update;
1963
- }
1964
- };
1965
- }
1966
- function isReferenceHidden(node) {
1967
- if (!(node instanceof Element)) return false;
1968
- if (!node.isConnected) return true;
1969
- if (node instanceof HTMLElement && node.hidden) return true;
1970
- return node.getClientRects().length === 0;
1971
- }
1972
- const OPPOSITE_SIDE = { top: "bottom", right: "left", bottom: "top", left: "right" };
1973
- const FloatingContentContext = new Context("Floating.Content");
1974
- class FloatingContentState {
1975
- static create(opts, tooltip = false) {
1976
- return tooltip ? FloatingContentContext.set(new FloatingContentState(opts, FloatingTooltipRootContext.get())) : FloatingContentContext.set(new FloatingContentState(opts, FloatingRootContext.get()));
1977
- }
1978
- opts;
1979
- root;
1980
- // nodes
1981
- contentRef = simpleBox(null);
1982
- wrapperRef = simpleBox(null);
1983
- arrowRef = simpleBox(null);
1984
- contentAttachment = attachRef(this.contentRef);
1985
- wrapperAttachment = attachRef(this.wrapperRef);
1986
- arrowAttachment = attachRef(this.arrowRef);
1987
- // ids
1988
- arrowId = simpleBox(useId());
1989
- #transformedStyle = derived(() => {
1990
- if (typeof this.opts.style === "string") return cssToStyleObj(this.opts.style);
1991
- if (!this.opts.style) return {};
1992
- });
1993
- #updatePositionStrategy = void 0;
1994
- #arrowSize = new ElementSize(() => this.arrowRef.current ?? void 0);
1995
- #arrowWidth = derived(() => this.#arrowSize?.width ?? 0);
1996
- #arrowHeight = derived(() => this.#arrowSize?.height ?? 0);
1997
- #desiredPlacement = derived(() => this.opts.side?.current + (this.opts.align.current !== "center" ? `-${this.opts.align.current}` : ""));
1998
- #boundary = derived(() => Array.isArray(this.opts.collisionBoundary.current) ? this.opts.collisionBoundary.current : [this.opts.collisionBoundary.current]);
1999
- #hasExplicitBoundaries = derived(() => this.#boundary().length > 0);
2000
- get hasExplicitBoundaries() {
2001
- return this.#hasExplicitBoundaries();
2002
- }
2003
- set hasExplicitBoundaries($$value) {
2004
- return this.#hasExplicitBoundaries($$value);
2005
- }
2006
- #detectOverflowOptions = derived(() => ({
2007
- padding: this.opts.collisionPadding.current,
2008
- boundary: this.#boundary().filter(isNotNull),
2009
- altBoundary: this.hasExplicitBoundaries
2010
- }));
2011
- get detectOverflowOptions() {
2012
- return this.#detectOverflowOptions();
2013
- }
2014
- set detectOverflowOptions($$value) {
2015
- return this.#detectOverflowOptions($$value);
2016
- }
2017
- #availableWidth = void 0;
2018
- #availableHeight = void 0;
2019
- #anchorWidth = void 0;
2020
- #anchorHeight = void 0;
2021
- #middleware = derived(() => [
2022
- offset({
2023
- mainAxis: this.opts.sideOffset.current + this.#arrowHeight(),
2024
- alignmentAxis: this.opts.alignOffset.current
2025
- }),
2026
- this.opts.avoidCollisions.current && shift({
2027
- mainAxis: true,
2028
- crossAxis: false,
2029
- limiter: this.opts.sticky.current === "partial" ? limitShift() : void 0,
2030
- ...this.detectOverflowOptions
2031
- }),
2032
- this.opts.avoidCollisions.current && flip({ ...this.detectOverflowOptions }),
2033
- size({
2034
- ...this.detectOverflowOptions,
2035
- apply: ({ rects, availableWidth, availableHeight }) => {
2036
- const { width: anchorWidth, height: anchorHeight } = rects.reference;
2037
- this.#availableWidth = availableWidth;
2038
- this.#availableHeight = availableHeight;
2039
- this.#anchorWidth = anchorWidth;
2040
- this.#anchorHeight = anchorHeight;
2041
- }
2042
- }),
2043
- this.arrowRef.current && arrow({
2044
- element: this.arrowRef.current,
2045
- padding: this.opts.arrowPadding.current
2046
- }),
2047
- transformOrigin({
2048
- arrowWidth: this.#arrowWidth(),
2049
- arrowHeight: this.#arrowHeight()
2050
- }),
2051
- this.opts.hideWhenDetached.current && hide({ strategy: "referenceHidden", ...this.detectOverflowOptions })
2052
- ].filter(Boolean));
2053
- get middleware() {
2054
- return this.#middleware();
2055
- }
2056
- set middleware($$value) {
2057
- return this.#middleware($$value);
2058
- }
2059
- floating;
2060
- #placedSide = derived(() => getSideFromPlacement(this.floating.placement));
2061
- get placedSide() {
2062
- return this.#placedSide();
2063
- }
2064
- set placedSide($$value) {
2065
- return this.#placedSide($$value);
2066
- }
2067
- #placedAlign = derived(() => getAlignFromPlacement(this.floating.placement));
2068
- get placedAlign() {
2069
- return this.#placedAlign();
2070
- }
2071
- set placedAlign($$value) {
2072
- return this.#placedAlign($$value);
2073
- }
2074
- #arrowX = derived(() => this.floating.middlewareData.arrow?.x ?? 0);
2075
- get arrowX() {
2076
- return this.#arrowX();
2077
- }
2078
- set arrowX($$value) {
2079
- return this.#arrowX($$value);
2080
- }
2081
- #arrowY = derived(() => this.floating.middlewareData.arrow?.y ?? 0);
2082
- get arrowY() {
2083
- return this.#arrowY();
2084
- }
2085
- set arrowY($$value) {
2086
- return this.#arrowY($$value);
2087
- }
2088
- #cannotCenterArrow = derived(() => this.floating.middlewareData.arrow?.centerOffset !== 0);
2089
- get cannotCenterArrow() {
2090
- return this.#cannotCenterArrow();
2091
- }
2092
- set cannotCenterArrow($$value) {
2093
- return this.#cannotCenterArrow($$value);
2094
- }
2095
- contentZIndex;
2096
- #arrowBaseSide = derived(() => OPPOSITE_SIDE[this.placedSide]);
2097
- get arrowBaseSide() {
2098
- return this.#arrowBaseSide();
2099
- }
2100
- set arrowBaseSide($$value) {
2101
- return this.#arrowBaseSide($$value);
2102
- }
2103
- #wrapperProps = derived(() => ({
2104
- id: this.opts.wrapperId.current,
2105
- "data-bits-floating-content-wrapper": "",
2106
- style: {
2107
- ...this.floating.floatingStyles,
2108
- transform: this.floating.isPositioned ? this.floating.floatingStyles.transform : "translate(0, -200%)",
2109
- minWidth: "max-content",
2110
- zIndex: this.contentZIndex,
2111
- "--bits-floating-transform-origin": `${this.floating.middlewareData.transformOrigin?.x} ${this.floating.middlewareData.transformOrigin?.y}`,
2112
- "--bits-floating-available-width": `${this.#availableWidth}px`,
2113
- "--bits-floating-available-height": `${this.#availableHeight}px`,
2114
- "--bits-floating-anchor-width": `${this.#anchorWidth}px`,
2115
- "--bits-floating-anchor-height": `${this.#anchorHeight}px`,
2116
- ...this.floating.middlewareData.hide?.referenceHidden && { visibility: "hidden", "pointer-events": "none" },
2117
- ...this.#transformedStyle()
2118
- },
2119
- dir: this.opts.dir.current,
2120
- ...this.wrapperAttachment
2121
- }));
2122
- get wrapperProps() {
2123
- return this.#wrapperProps();
2124
- }
2125
- set wrapperProps($$value) {
2126
- return this.#wrapperProps($$value);
2127
- }
2128
- #props = derived(() => ({
2129
- "data-side": this.placedSide,
2130
- "data-align": this.placedAlign,
2131
- style: styleToString({ ...this.#transformedStyle() }),
2132
- ...this.contentAttachment
2133
- }));
2134
- get props() {
2135
- return this.#props();
2136
- }
2137
- set props($$value) {
2138
- return this.#props($$value);
2139
- }
2140
- #arrowStyle = derived(() => ({
2141
- position: "absolute",
2142
- left: this.arrowX ? `${this.arrowX}px` : void 0,
2143
- top: this.arrowY ? `${this.arrowY}px` : void 0,
2144
- [this.arrowBaseSide]: 0,
2145
- "transform-origin": { top: "", right: "0 0", bottom: "center 0", left: "100% 0" }[this.placedSide],
2146
- transform: {
2147
- top: "translateY(100%)",
2148
- right: "translateY(50%) rotate(90deg) translateX(-50%)",
2149
- bottom: "rotate(180deg)",
2150
- left: "translateY(50%) rotate(-90deg) translateX(50%)"
2151
- }[this.placedSide],
2152
- visibility: this.cannotCenterArrow ? "hidden" : void 0
2153
- }));
2154
- get arrowStyle() {
2155
- return this.#arrowStyle();
2156
- }
2157
- set arrowStyle($$value) {
2158
- return this.#arrowStyle($$value);
2159
- }
2160
- constructor(opts, root) {
2161
- this.opts = opts;
2162
- this.root = root;
2163
- this.#updatePositionStrategy = opts.updatePositionStrategy;
2164
- if (opts.customAnchor) {
2165
- this.root.customAnchorNode.current = opts.customAnchor.current;
2166
- }
2167
- watch(() => opts.customAnchor.current, (customAnchor) => {
2168
- this.root.customAnchorNode.current = customAnchor;
2169
- });
2170
- this.floating = useFloating({
2171
- strategy: () => this.opts.strategy.current,
2172
- placement: () => this.#desiredPlacement(),
2173
- middleware: () => this.middleware,
2174
- reference: this.root.anchorNode,
2175
- open: () => this.opts.enabled.current,
2176
- sideOffset: () => this.opts.sideOffset.current,
2177
- alignOffset: () => this.opts.alignOffset.current
2178
- });
2179
- watch(() => this.contentRef.current, (contentNode) => {
2180
- if (!contentNode || !this.opts.enabled.current) return;
2181
- const win = getWindow$1(contentNode);
2182
- const rafId = win.requestAnimationFrame(() => {
2183
- if (this.contentRef.current !== contentNode || !this.opts.enabled.current) return;
2184
- const zIndex = win.getComputedStyle(contentNode).zIndex;
2185
- if (zIndex !== this.contentZIndex) {
2186
- this.contentZIndex = zIndex;
2187
- }
2188
- });
2189
- return () => {
2190
- win.cancelAnimationFrame(rafId);
2191
- };
2192
- });
2193
- }
2194
- }
2195
- class FloatingArrowState {
2196
- static create(opts) {
2197
- return new FloatingArrowState(opts, FloatingContentContext.get());
2198
- }
2199
- opts;
2200
- content;
2201
- constructor(opts, content) {
2202
- this.opts = opts;
2203
- this.content = content;
2204
- }
2205
- #props = derived(() => ({
2206
- id: this.opts.id.current,
2207
- style: this.content.arrowStyle,
2208
- "data-side": this.content.placedSide,
2209
- ...this.content.arrowAttachment
2210
- }));
2211
- get props() {
2212
- return this.#props();
2213
- }
2214
- set props($$value) {
2215
- return this.#props($$value);
2216
- }
2217
- }
2218
- function transformOrigin(options) {
2219
- return {
2220
- name: "transformOrigin",
2221
- options,
2222
- fn(data) {
2223
- const { placement, rects, middlewareData } = data;
2224
- const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
2225
- const isArrowHidden = cannotCenterArrow;
2226
- const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
2227
- const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
2228
- const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
2229
- const noArrowAlign = { start: "0%", center: "50%", end: "100%" }[placedAlign];
2230
- const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
2231
- const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
2232
- let x = "";
2233
- let y = "";
2234
- if (placedSide === "bottom") {
2235
- x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
2236
- y = `${-arrowHeight}px`;
2237
- } else if (placedSide === "top") {
2238
- x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
2239
- y = `${rects.floating.height + arrowHeight}px`;
2240
- } else if (placedSide === "right") {
2241
- x = `${-arrowHeight}px`;
2242
- y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
2243
- } else if (placedSide === "left") {
2244
- x = `${rects.floating.width + arrowHeight}px`;
2245
- y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
2246
- }
2247
- return { data: { x, y } };
2248
- }
2249
- };
2250
- }
2251
- function getSideAndAlignFromPlacement(placement) {
2252
- const [side, align = "center"] = placement.split("-");
2253
- return [side, align];
2254
- }
2255
- function getSideFromPlacement(placement) {
2256
- return getSideAndAlignFromPlacement(placement)[0];
2257
- }
2258
- function getAlignFromPlacement(placement) {
2259
- return getSideAndAlignFromPlacement(placement)[1];
2260
- }
2261
- function Floating_layer_content($$renderer, $$props) {
2262
- $$renderer.component(($$renderer2) => {
2263
- let {
2264
- content,
2265
- side = "bottom",
2266
- sideOffset = 0,
2267
- align = "center",
2268
- alignOffset = 0,
2269
- id,
2270
- arrowPadding = 0,
2271
- avoidCollisions = true,
2272
- collisionBoundary = [],
2273
- collisionPadding = 0,
2274
- hideWhenDetached = false,
2275
- onPlaced = () => {
2276
- },
2277
- sticky = "partial",
2278
- updatePositionStrategy = "optimized",
2279
- strategy = "fixed",
2280
- dir = "ltr",
2281
- style = {},
2282
- wrapperId = useId(),
2283
- customAnchor = null,
2284
- enabled,
2285
- tooltip = false
2286
- } = $$props;
2287
- const contentState = FloatingContentState.create(
2288
- {
2289
- side: boxWith(() => side),
2290
- sideOffset: boxWith(() => sideOffset),
2291
- align: boxWith(() => align),
2292
- alignOffset: boxWith(() => alignOffset),
2293
- id: boxWith(() => id),
2294
- arrowPadding: boxWith(() => arrowPadding),
2295
- avoidCollisions: boxWith(() => avoidCollisions),
2296
- collisionBoundary: boxWith(() => collisionBoundary),
2297
- collisionPadding: boxWith(() => collisionPadding),
2298
- hideWhenDetached: boxWith(() => hideWhenDetached),
2299
- onPlaced: boxWith(() => onPlaced),
2300
- sticky: boxWith(() => sticky),
2301
- updatePositionStrategy: boxWith(() => updatePositionStrategy),
2302
- strategy: boxWith(() => strategy),
2303
- dir: boxWith(() => dir),
2304
- style: boxWith(() => style),
2305
- enabled: boxWith(() => enabled),
2306
- wrapperId: boxWith(() => wrapperId),
2307
- customAnchor: boxWith(() => customAnchor)
2308
- },
2309
- tooltip
2310
- );
2311
- const mergedProps = derived(() => mergeProps(contentState.wrapperProps, { style: { pointerEvents: "auto" } }));
2312
- content?.($$renderer2, { props: contentState.props, wrapperProps: mergedProps() });
2313
- $$renderer2.push(`<!---->`);
2314
- });
2315
- }
2316
- function Floating_layer_content_static($$renderer, $$props) {
2317
- $$renderer.component(($$renderer2) => {
2318
- let { content } = $$props;
2319
- content?.($$renderer2, { props: {}, wrapperProps: {} });
2320
- $$renderer2.push(`<!---->`);
2321
- });
2322
- }
2323
- function Popper_content($$renderer, $$props) {
2324
- let {
2325
- content,
2326
- isStatic = false,
2327
- onPlaced,
2328
- $$slots,
2329
- $$events,
2330
- ...restProps
2331
- } = $$props;
2332
- if (isStatic) {
2333
- $$renderer.push("<!--[0-->");
2334
- Floating_layer_content_static($$renderer, { content });
2335
- } else {
2336
- $$renderer.push("<!--[-1-->");
2337
- Floating_layer_content($$renderer, spread_props([{ content, onPlaced }, restProps]));
2338
- }
2339
- $$renderer.push(`<!--]-->`);
2340
- }
2341
- function Popper_layer_inner($$renderer, $$props) {
2342
- $$renderer.component(($$renderer2) => {
2343
- let {
2344
- popper,
2345
- onEscapeKeydown,
2346
- escapeKeydownBehavior,
2347
- preventOverflowTextSelection,
2348
- id,
2349
- onPointerDown,
2350
- onPointerUp,
2351
- side,
2352
- sideOffset,
2353
- align,
2354
- alignOffset,
2355
- arrowPadding,
2356
- avoidCollisions,
2357
- collisionBoundary,
2358
- collisionPadding,
2359
- sticky,
2360
- hideWhenDetached,
2361
- updatePositionStrategy,
2362
- strategy,
2363
- dir,
2364
- preventScroll,
2365
- wrapperId,
2366
- style,
2367
- onPlaced,
2368
- onInteractOutside,
2369
- onCloseAutoFocus,
2370
- onOpenAutoFocus,
2371
- onFocusOutside,
2372
- interactOutsideBehavior = "close",
2373
- loop,
2374
- trapFocus = true,
2375
- isValidEvent = () => false,
2376
- customAnchor = null,
2377
- isStatic = false,
2378
- enabled,
2379
- forceMount,
2380
- ref,
2381
- tooltip = false,
2382
- contentPointerEvents = "auto",
2383
- $$slots,
2384
- $$events,
2385
- ...restProps
2386
- } = $$props;
2387
- const resolvedPreventScroll = derived(() => preventScroll ?? true);
2388
- const effectiveStrategy = derived(() => strategy ?? (resolvedPreventScroll() ? "fixed" : "absolute"));
2389
- {
2390
- let content = function($$renderer3, { props: floatingProps, wrapperProps }) {
2391
- if (forceMount && enabled) {
2392
- $$renderer3.push("<!--[0-->");
2393
- Scroll_lock($$renderer3, { preventScroll: resolvedPreventScroll() });
2394
- } else if (!forceMount) {
2395
- $$renderer3.push("<!--[1-->");
2396
- Scroll_lock($$renderer3, { preventScroll: resolvedPreventScroll() });
2397
- } else {
2398
- $$renderer3.push("<!--[-1-->");
2399
- }
2400
- $$renderer3.push(`<!--]--> `);
2401
- {
2402
- let focusScope = function($$renderer4, { props: focusScopeProps }) {
2403
- Escape_layer($$renderer4, {
2404
- onEscapeKeydown,
2405
- escapeKeydownBehavior,
2406
- enabled,
2407
- ref,
2408
- children: ($$renderer5) => {
2409
- {
2410
- let children = function($$renderer6, { props: dismissibleProps }) {
2411
- Text_selection_layer($$renderer6, {
2412
- id,
2413
- preventOverflowTextSelection,
2414
- onPointerDown,
2415
- onPointerUp,
2416
- enabled,
2417
- ref,
2418
- children: ($$renderer7) => {
2419
- popper?.($$renderer7, {
2420
- props: mergeProps(restProps, floatingProps, dismissibleProps, focusScopeProps, { id, style: { pointerEvents: contentPointerEvents } }),
2421
- wrapperProps
2422
- });
2423
- $$renderer7.push(`<!---->`);
2424
- }
2425
- });
2426
- };
2427
- Dismissible_layer($$renderer5, {
2428
- id,
2429
- onInteractOutside,
2430
- onFocusOutside,
2431
- interactOutsideBehavior,
2432
- isValidEvent,
2433
- enabled,
2434
- ref,
2435
- children
2436
- });
2437
- }
2438
- }
2439
- });
2440
- };
2441
- Focus_scope($$renderer3, {
2442
- onOpenAutoFocus,
2443
- onCloseAutoFocus,
2444
- loop,
2445
- enabled,
2446
- trapFocus,
2447
- ref,
2448
- focusScope
2449
- });
2450
- }
2451
- $$renderer3.push(`<!---->`);
2452
- };
2453
- Popper_content($$renderer2, {
2454
- isStatic,
2455
- id,
2456
- side,
2457
- sideOffset,
2458
- align,
2459
- alignOffset,
2460
- arrowPadding,
2461
- avoidCollisions,
2462
- collisionBoundary,
2463
- collisionPadding,
2464
- sticky,
2465
- hideWhenDetached,
2466
- updatePositionStrategy,
2467
- strategy: effectiveStrategy(),
2468
- dir,
2469
- wrapperId,
2470
- style,
2471
- onPlaced,
2472
- customAnchor,
2473
- enabled,
2474
- tooltip,
2475
- content,
2476
- $$slots: { content: true }
2477
- });
2478
- }
2479
- });
2480
- }
2481
- function Popper_layer($$renderer, $$props) {
2482
- let {
2483
- popper,
2484
- open,
2485
- onEscapeKeydown,
2486
- escapeKeydownBehavior,
2487
- preventOverflowTextSelection,
2488
- id,
2489
- onPointerDown,
2490
- onPointerUp,
2491
- side,
2492
- sideOffset,
2493
- align,
2494
- alignOffset,
2495
- arrowPadding,
2496
- avoidCollisions,
2497
- collisionBoundary,
2498
- collisionPadding,
2499
- sticky,
2500
- hideWhenDetached,
2501
- updatePositionStrategy,
2502
- strategy,
2503
- dir,
2504
- preventScroll,
2505
- wrapperId,
2506
- style,
2507
- onPlaced,
2508
- onInteractOutside,
2509
- onCloseAutoFocus,
2510
- onOpenAutoFocus,
2511
- onFocusOutside,
2512
- interactOutsideBehavior = "close",
2513
- loop,
2514
- trapFocus = true,
2515
- isValidEvent = () => false,
2516
- customAnchor = null,
2517
- isStatic = false,
2518
- ref,
2519
- shouldRender,
2520
- $$slots,
2521
- $$events,
2522
- ...restProps
2523
- } = $$props;
2524
- if (shouldRender) {
2525
- $$renderer.push("<!--[0-->");
2526
- Popper_layer_inner($$renderer, spread_props([
2527
- {
2528
- popper,
2529
- onEscapeKeydown,
2530
- escapeKeydownBehavior,
2531
- preventOverflowTextSelection,
2532
- id,
2533
- onPointerDown,
2534
- onPointerUp,
2535
- side,
2536
- sideOffset,
2537
- align,
2538
- alignOffset,
2539
- arrowPadding,
2540
- avoidCollisions,
2541
- collisionBoundary,
2542
- collisionPadding,
2543
- sticky,
2544
- hideWhenDetached,
2545
- updatePositionStrategy,
2546
- strategy,
2547
- dir,
2548
- preventScroll,
2549
- wrapperId,
2550
- style,
2551
- onPlaced,
2552
- customAnchor,
2553
- isStatic,
2554
- enabled: open,
2555
- onInteractOutside,
2556
- onCloseAutoFocus,
2557
- onOpenAutoFocus,
2558
- interactOutsideBehavior,
2559
- loop,
2560
- trapFocus,
2561
- isValidEvent,
2562
- onFocusOutside,
2563
- forceMount: false,
2564
- ref
2565
- },
2566
- restProps
2567
- ]));
2568
- } else {
2569
- $$renderer.push("<!--[-1-->");
2570
- }
2571
- $$renderer.push(`<!--]-->`);
2572
- }
2573
- function Popper_layer_force_mount($$renderer, $$props) {
2574
- let {
2575
- popper,
2576
- onEscapeKeydown,
2577
- escapeKeydownBehavior,
2578
- preventOverflowTextSelection,
2579
- id,
2580
- onPointerDown,
2581
- onPointerUp,
2582
- side,
2583
- sideOffset,
2584
- align,
2585
- alignOffset,
2586
- arrowPadding,
2587
- avoidCollisions,
2588
- collisionBoundary,
2589
- collisionPadding,
2590
- sticky,
2591
- hideWhenDetached,
2592
- updatePositionStrategy,
2593
- strategy,
2594
- dir,
2595
- preventScroll,
2596
- wrapperId,
2597
- style,
2598
- onPlaced,
2599
- onInteractOutside,
2600
- onCloseAutoFocus,
2601
- onOpenAutoFocus,
2602
- onFocusOutside,
2603
- interactOutsideBehavior = "close",
2604
- loop,
2605
- trapFocus = true,
2606
- isValidEvent = () => false,
2607
- customAnchor = null,
2608
- isStatic = false,
2609
- enabled,
2610
- $$slots,
2611
- $$events,
2612
- ...restProps
2613
- } = $$props;
2614
- Popper_layer_inner($$renderer, spread_props([
2615
- {
2616
- popper,
2617
- onEscapeKeydown,
2618
- escapeKeydownBehavior,
2619
- preventOverflowTextSelection,
2620
- id,
2621
- onPointerDown,
2622
- onPointerUp,
2623
- side,
2624
- sideOffset,
2625
- align,
2626
- alignOffset,
2627
- arrowPadding,
2628
- avoidCollisions,
2629
- collisionBoundary,
2630
- collisionPadding,
2631
- sticky,
2632
- hideWhenDetached,
2633
- updatePositionStrategy,
2634
- strategy,
2635
- dir,
2636
- preventScroll,
2637
- wrapperId,
2638
- style,
2639
- onPlaced,
2640
- customAnchor,
2641
- isStatic,
2642
- enabled,
2643
- onInteractOutside,
2644
- onCloseAutoFocus,
2645
- onOpenAutoFocus,
2646
- interactOutsideBehavior,
2647
- loop,
2648
- trapFocus,
2649
- isValidEvent,
2650
- onFocusOutside
2651
- },
2652
- restProps,
2653
- { forceMount: true }
2654
- ]));
2655
- }
2656
- function isPointInPolygon(point, polygon) {
2657
- const [x, y] = point;
2658
- let isInside = false;
2659
- const length = polygon.length;
2660
- for (let i = 0, j = length - 1; i < length; j = i++) {
2661
- const [xi, yi] = polygon[i] ?? [0, 0];
2662
- const [xj, yj] = polygon[j] ?? [0, 0];
2663
- const intersect = yi >= y !== yj >= y && x <= (xj - xi) * (y - yi) / (yj - yi) + xi;
2664
- if (intersect) {
2665
- isInside = !isInside;
2666
- }
2667
- }
2668
- return isInside;
2669
- }
2670
- function isInsideRect(point, rect) {
2671
- return point[0] >= rect.left && point[0] <= rect.right && point[1] >= rect.top && point[1] <= rect.bottom;
2672
- }
2673
- function getSide(triggerRect, contentRect) {
2674
- const triggerCenterX = triggerRect.left + triggerRect.width / 2;
2675
- const triggerCenterY = triggerRect.top + triggerRect.height / 2;
2676
- const contentCenterX = contentRect.left + contentRect.width / 2;
2677
- const contentCenterY = contentRect.top + contentRect.height / 2;
2678
- const deltaX = contentCenterX - triggerCenterX;
2679
- const deltaY = contentCenterY - triggerCenterY;
2680
- if (Math.abs(deltaX) > Math.abs(deltaY)) {
2681
- return deltaX > 0 ? "right" : "left";
2682
- }
2683
- return deltaY > 0 ? "bottom" : "top";
2684
- }
2685
- class SafePolygon {
2686
- #opts;
2687
- #buffer;
2688
- #transitIntentTimeout;
2689
- // tracks the cursor position when leaving trigger or content
2690
- #exitPoint = null;
2691
- // tracks what we're moving toward: "content" when leaving trigger, "trigger" when leaving content
2692
- #exitTarget = null;
2693
- #transitTargets = [];
2694
- #trackedTriggerNode = null;
2695
- #leaveFallbackRafId = null;
2696
- #transitIntentTimeoutId = null;
2697
- #cancelLeaveFallback() {
2698
- if (this.#leaveFallbackRafId !== null) {
2699
- cancelAnimationFrame(this.#leaveFallbackRafId);
2700
- this.#leaveFallbackRafId = null;
2701
- }
2702
- }
2703
- #scheduleLeaveFallback() {
2704
- this.#cancelLeaveFallback();
2705
- this.#leaveFallbackRafId = requestAnimationFrame(() => {
2706
- this.#leaveFallbackRafId = null;
2707
- if (!this.#exitPoint || !this.#exitTarget) return;
2708
- this.#clearTracking();
2709
- this.#opts.onPointerExit();
2710
- });
2711
- }
2712
- #cancelTransitIntentTimeout() {
2713
- if (this.#transitIntentTimeoutId !== null) {
2714
- clearTimeout(this.#transitIntentTimeoutId);
2715
- this.#transitIntentTimeoutId = null;
2716
- }
2717
- }
2718
- #scheduleTransitIntentTimeout() {
2719
- if (this.#transitIntentTimeout === null) return;
2720
- this.#cancelTransitIntentTimeout();
2721
- this.#transitIntentTimeoutId = window.setTimeout(
2722
- () => {
2723
- this.#transitIntentTimeoutId = null;
2724
- if (!this.#exitPoint || !this.#exitTarget) return;
2725
- this.#clearTracking();
2726
- this.#opts.onPointerExit();
2727
- },
2728
- this.#transitIntentTimeout
2729
- );
2730
- }
2731
- constructor(opts) {
2732
- this.#opts = opts;
2733
- this.#buffer = opts.buffer ?? 1;
2734
- const transitIntentTimeout = opts.transitIntentTimeout;
2735
- this.#transitIntentTimeout = typeof transitIntentTimeout === "number" && transitIntentTimeout > 0 ? transitIntentTimeout : null;
2736
- watch([opts.triggerNode, opts.contentNode, opts.enabled], ([triggerNode, contentNode, enabled]) => {
2737
- if (!triggerNode || !contentNode || !enabled) {
2738
- this.#trackedTriggerNode = null;
2739
- this.#clearTracking();
2740
- return;
2741
- }
2742
- if (this.#trackedTriggerNode && this.#trackedTriggerNode !== triggerNode) {
2743
- this.#clearTracking();
2744
- }
2745
- this.#trackedTriggerNode = triggerNode;
2746
- const doc = getDocument(triggerNode);
2747
- const handlePointerMove = (e) => {
2748
- this.#onPointerMove([e.clientX, e.clientY], triggerNode, contentNode);
2749
- };
2750
- const handleTriggerLeave = (e) => {
2751
- const target = e.relatedTarget;
2752
- if (isElement$1(target) && contentNode.contains(target)) {
2753
- return;
2754
- }
2755
- const ignoredTargets = this.#opts.ignoredTargets?.() ?? [];
2756
- if (isElement$1(target) && ignoredTargets.some((n) => n === target || n.contains(target))) {
2757
- return;
2758
- }
2759
- this.#transitTargets = isElement$1(target) && ignoredTargets.length > 0 ? ignoredTargets.filter((n) => target.contains(n)) : [];
2760
- this.#exitPoint = [e.clientX, e.clientY];
2761
- this.#exitTarget = "content";
2762
- this.#scheduleLeaveFallback();
2763
- };
2764
- const handleTriggerEnter = () => {
2765
- this.#clearTracking();
2766
- };
2767
- const handleContentEnter = () => {
2768
- this.#clearTracking();
2769
- };
2770
- const handleContentLeave = (e) => {
2771
- const target = e.relatedTarget;
2772
- if (isElement$1(target) && triggerNode.contains(target)) {
2773
- return;
2774
- }
2775
- this.#exitPoint = [e.clientX, e.clientY];
2776
- this.#exitTarget = "trigger";
2777
- this.#scheduleLeaveFallback();
2778
- };
2779
- return [
2780
- on(doc, "pointermove", handlePointerMove),
2781
- on(triggerNode, "pointerleave", handleTriggerLeave),
2782
- on(triggerNode, "pointerenter", handleTriggerEnter),
2783
- on(contentNode, "pointerenter", handleContentEnter),
2784
- on(contentNode, "pointerleave", handleContentLeave)
2785
- ].reduce(
2786
- (acc, cleanup) => () => {
2787
- acc();
2788
- cleanup();
2789
- },
2790
- () => {
2791
- }
2792
- );
2793
- });
2794
- }
2795
- #onPointerMove(clientPoint, triggerNode, contentNode) {
2796
- if (!this.#exitPoint || !this.#exitTarget) return;
2797
- this.#cancelLeaveFallback();
2798
- this.#scheduleTransitIntentTimeout();
2799
- const triggerRect = triggerNode.getBoundingClientRect();
2800
- const contentRect = contentNode.getBoundingClientRect();
2801
- if (this.#exitTarget === "content" && isInsideRect(clientPoint, contentRect)) {
2802
- this.#clearTracking();
2803
- return;
2804
- }
2805
- if (this.#exitTarget === "trigger" && isInsideRect(clientPoint, triggerRect)) {
2806
- this.#clearTracking();
2807
- return;
2808
- }
2809
- if (this.#exitTarget === "content" && this.#transitTargets.length > 0) {
2810
- for (const transitTarget of this.#transitTargets) {
2811
- const transitRect = transitTarget.getBoundingClientRect();
2812
- if (isInsideRect(clientPoint, transitRect)) return;
2813
- const transitSide = getSide(triggerRect, transitRect);
2814
- const transitCorridor = this.#getCorridorPolygon(triggerRect, transitRect, transitSide);
2815
- if (transitCorridor && isPointInPolygon(clientPoint, transitCorridor)) return;
2816
- }
2817
- }
2818
- const side = getSide(triggerRect, contentRect);
2819
- const corridorPoly = this.#getCorridorPolygon(triggerRect, contentRect, side);
2820
- if (corridorPoly && isPointInPolygon(clientPoint, corridorPoly)) {
2821
- return;
2822
- }
2823
- const targetRect = this.#exitTarget === "content" ? contentRect : triggerRect;
2824
- const safePoly = this.#getSafePolygon(this.#exitPoint, targetRect, side, this.#exitTarget);
2825
- if (isPointInPolygon(clientPoint, safePoly)) {
2826
- return;
2827
- }
2828
- this.#clearTracking();
2829
- this.#opts.onPointerExit();
2830
- }
2831
- #clearTracking() {
2832
- this.#exitPoint = null;
2833
- this.#exitTarget = null;
2834
- this.#transitTargets = [];
2835
- this.#cancelLeaveFallback();
2836
- this.#cancelTransitIntentTimeout();
2837
- }
2838
- /**
2839
- * Creates a rectangular corridor between trigger and content
2840
- * This prevents closing when cursor is in the gap between them
2841
- */
2842
- #getCorridorPolygon(triggerRect, contentRect, side) {
2843
- const buffer = this.#buffer;
2844
- switch (side) {
2845
- case "top":
2846
- return [
2847
- [
2848
- Math.min(triggerRect.left, contentRect.left) - buffer,
2849
- triggerRect.top
2850
- ],
2851
- [
2852
- Math.min(triggerRect.left, contentRect.left) - buffer,
2853
- contentRect.bottom
2854
- ],
2855
- [
2856
- Math.max(triggerRect.right, contentRect.right) + buffer,
2857
- contentRect.bottom
2858
- ],
2859
- [
2860
- Math.max(triggerRect.right, contentRect.right) + buffer,
2861
- triggerRect.top
2862
- ]
2863
- ];
2864
- case "bottom":
2865
- return [
2866
- [
2867
- Math.min(triggerRect.left, contentRect.left) - buffer,
2868
- triggerRect.bottom
2869
- ],
2870
- [
2871
- Math.min(triggerRect.left, contentRect.left) - buffer,
2872
- contentRect.top
2873
- ],
2874
- [
2875
- Math.max(triggerRect.right, contentRect.right) + buffer,
2876
- contentRect.top
2877
- ],
2878
- [
2879
- Math.max(triggerRect.right, contentRect.right) + buffer,
2880
- triggerRect.bottom
2881
- ]
2882
- ];
2883
- case "left":
2884
- return [
2885
- [
2886
- triggerRect.left,
2887
- Math.min(triggerRect.top, contentRect.top) - buffer
2888
- ],
2889
- [
2890
- contentRect.right,
2891
- Math.min(triggerRect.top, contentRect.top) - buffer
2892
- ],
2893
- [
2894
- contentRect.right,
2895
- Math.max(triggerRect.bottom, contentRect.bottom) + buffer
2896
- ],
2897
- [
2898
- triggerRect.left,
2899
- Math.max(triggerRect.bottom, contentRect.bottom) + buffer
2900
- ]
2901
- ];
2902
- case "right":
2903
- return [
2904
- [
2905
- triggerRect.right,
2906
- Math.min(triggerRect.top, contentRect.top) - buffer
2907
- ],
2908
- [
2909
- contentRect.left,
2910
- Math.min(triggerRect.top, contentRect.top) - buffer
2911
- ],
2912
- [
2913
- contentRect.left,
2914
- Math.max(triggerRect.bottom, contentRect.bottom) + buffer
2915
- ],
2916
- [
2917
- triggerRect.right,
2918
- Math.max(triggerRect.bottom, contentRect.bottom) + buffer
2919
- ]
2920
- ];
2921
- }
2922
- }
2923
- /**
2924
- * Creates a triangular/trapezoidal safe zone from the exit point to the target
2925
- */
2926
- #getSafePolygon(exitPoint, targetRect, side, exitTarget) {
2927
- const buffer = this.#buffer * 4;
2928
- const [x, y] = exitPoint;
2929
- const effectiveSide = exitTarget === "trigger" ? this.#flipSide(side) : side;
2930
- switch (effectiveSide) {
2931
- case "top":
2932
- return [
2933
- [x - buffer, y + buffer],
2934
- [x + buffer, y + buffer],
2935
- [targetRect.right + buffer, targetRect.bottom],
2936
- [targetRect.right + buffer, targetRect.top],
2937
- [targetRect.left - buffer, targetRect.top],
2938
- [targetRect.left - buffer, targetRect.bottom]
2939
- ];
2940
- case "bottom":
2941
- return [
2942
- [x - buffer, y - buffer],
2943
- [x + buffer, y - buffer],
2944
- [targetRect.right + buffer, targetRect.top],
2945
- [targetRect.right + buffer, targetRect.bottom],
2946
- [targetRect.left - buffer, targetRect.bottom],
2947
- [targetRect.left - buffer, targetRect.top]
2948
- ];
2949
- case "left":
2950
- return [
2951
- [x + buffer, y - buffer],
2952
- [x + buffer, y + buffer],
2953
- [targetRect.right, targetRect.bottom + buffer],
2954
- [targetRect.left, targetRect.bottom + buffer],
2955
- [targetRect.left, targetRect.top - buffer],
2956
- [targetRect.right, targetRect.top - buffer]
2957
- ];
2958
- case "right":
2959
- return [
2960
- [x - buffer, y - buffer],
2961
- [x - buffer, y + buffer],
2962
- [targetRect.left, targetRect.bottom + buffer],
2963
- [targetRect.right, targetRect.bottom + buffer],
2964
- [targetRect.right, targetRect.top - buffer],
2965
- [targetRect.left, targetRect.top - buffer]
2966
- ];
2967
- }
2968
- }
2969
- #flipSide(side) {
2970
- switch (side) {
2971
- case "top":
2972
- return "bottom";
2973
- case "bottom":
2974
- return "top";
2975
- case "left":
2976
- return "right";
2977
- case "right":
2978
- return "left";
2979
- }
2980
- }
2981
- }
2982
- const popoverAttrs = createBitsAttrs({
2983
- component: "popover",
2984
- parts: ["root", "trigger", "content", "close", "overlay"]
2985
- });
2986
- const PopoverRootContext = new Context("Popover.Root");
2987
- class PopoverRootState {
2988
- static create(opts) {
2989
- return PopoverRootContext.set(new PopoverRootState(opts));
2990
- }
2991
- opts;
2992
- contentNode = null;
2993
- contentPresence;
2994
- triggerNode = null;
2995
- overlayNode = null;
2996
- overlayPresence;
2997
- // hover tracking state
2998
- openedViaHover = false;
2999
- hasInteractedWithContent = false;
3000
- hoverCooldown = false;
3001
- closeDelay = 0;
3002
- #closeTimeout = null;
3003
- #domContext = null;
3004
- constructor(opts) {
3005
- this.opts = opts;
3006
- this.contentPresence = new PresenceManager({
3007
- ref: boxWith(() => this.contentNode),
3008
- open: this.opts.open,
3009
- onComplete: () => {
3010
- this.opts.onOpenChangeComplete.current(this.opts.open.current);
3011
- }
3012
- });
3013
- this.overlayPresence = new PresenceManager({ ref: boxWith(() => this.overlayNode), open: this.opts.open });
3014
- watch(() => this.opts.open.current, (isOpen) => {
3015
- if (!isOpen) {
3016
- this.openedViaHover = false;
3017
- this.hasInteractedWithContent = false;
3018
- this.#clearCloseTimeout();
3019
- }
3020
- });
3021
- }
3022
- setDomContext(ctx) {
3023
- this.#domContext = ctx;
3024
- }
3025
- #clearCloseTimeout() {
3026
- if (this.#closeTimeout !== null && this.#domContext) {
3027
- this.#domContext.clearTimeout(this.#closeTimeout);
3028
- this.#closeTimeout = null;
3029
- }
3030
- }
3031
- toggleOpen() {
3032
- this.#clearCloseTimeout();
3033
- this.opts.open.current = !this.opts.open.current;
3034
- }
3035
- handleClose() {
3036
- this.#clearCloseTimeout();
3037
- if (!this.opts.open.current) return;
3038
- this.opts.open.current = false;
3039
- }
3040
- handleHoverOpen() {
3041
- this.#clearCloseTimeout();
3042
- if (this.opts.open.current) return;
3043
- this.openedViaHover = true;
3044
- this.opts.open.current = true;
3045
- }
3046
- handleHoverClose() {
3047
- if (!this.opts.open.current) return;
3048
- if (this.openedViaHover && !this.hasInteractedWithContent) {
3049
- this.opts.open.current = false;
3050
- }
3051
- }
3052
- handleDelayedHoverClose() {
3053
- if (!this.opts.open.current) return;
3054
- if (!this.openedViaHover || this.hasInteractedWithContent) return;
3055
- this.#clearCloseTimeout();
3056
- if (this.closeDelay <= 0) {
3057
- this.opts.open.current = false;
3058
- } else if (this.#domContext) {
3059
- this.#closeTimeout = this.#domContext.setTimeout(
3060
- () => {
3061
- if (this.openedViaHover && !this.hasInteractedWithContent) {
3062
- this.opts.open.current = false;
3063
- }
3064
- this.#closeTimeout = null;
3065
- },
3066
- this.closeDelay
3067
- );
3068
- }
3069
- }
3070
- cancelDelayedClose() {
3071
- this.#clearCloseTimeout();
3072
- }
3073
- markInteraction() {
3074
- this.hasInteractedWithContent = true;
3075
- this.#clearCloseTimeout();
3076
- }
3077
- }
3078
- class PopoverTriggerState {
3079
- static create(opts) {
3080
- return new PopoverTriggerState(opts, PopoverRootContext.get());
3081
- }
3082
- opts;
3083
- root;
3084
- attachment;
3085
- domContext;
3086
- #openTimeout = null;
3087
- #closeTimeout = null;
3088
- #isHovering = false;
3089
- constructor(opts, root) {
3090
- this.opts = opts;
3091
- this.root = root;
3092
- this.attachment = attachRef(this.opts.ref, (v) => this.root.triggerNode = v);
3093
- this.domContext = new DOMContext(opts.ref);
3094
- this.root.setDomContext(this.domContext);
3095
- this.onclick = this.onclick.bind(this);
3096
- this.onkeydown = this.onkeydown.bind(this);
3097
- this.onpointerenter = this.onpointerenter.bind(this);
3098
- this.onpointerleave = this.onpointerleave.bind(this);
3099
- watch(() => this.opts.closeDelay.current, (delay) => {
3100
- this.root.closeDelay = delay;
3101
- });
3102
- }
3103
- #clearOpenTimeout() {
3104
- if (this.#openTimeout !== null) {
3105
- this.domContext.clearTimeout(this.#openTimeout);
3106
- this.#openTimeout = null;
3107
- }
3108
- }
3109
- #clearCloseTimeout() {
3110
- if (this.#closeTimeout !== null) {
3111
- this.domContext.clearTimeout(this.#closeTimeout);
3112
- this.#closeTimeout = null;
3113
- }
3114
- }
3115
- #clearAllTimeouts() {
3116
- this.#clearOpenTimeout();
3117
- this.#clearCloseTimeout();
3118
- }
3119
- onpointerenter(e) {
3120
- if (this.opts.disabled.current) return;
3121
- if (!this.opts.openOnHover.current) return;
3122
- if (isTouch(e)) return;
3123
- this.#isHovering = true;
3124
- this.#clearCloseTimeout();
3125
- this.root.cancelDelayedClose();
3126
- if (this.root.opts.open.current || this.root.hoverCooldown) return;
3127
- const delay = this.opts.openDelay.current;
3128
- if (delay <= 0) {
3129
- this.root.handleHoverOpen();
3130
- } else {
3131
- this.#openTimeout = this.domContext.setTimeout(
3132
- () => {
3133
- this.root.handleHoverOpen();
3134
- this.#openTimeout = null;
3135
- },
3136
- delay
3137
- );
3138
- }
3139
- }
3140
- onpointerleave(e) {
3141
- if (this.opts.disabled.current) return;
3142
- if (!this.opts.openOnHover.current) return;
3143
- if (isTouch(e)) return;
3144
- this.#isHovering = false;
3145
- this.#clearOpenTimeout();
3146
- this.root.hoverCooldown = false;
3147
- }
3148
- onclick(e) {
3149
- if (this.opts.disabled.current) return;
3150
- if (e.button !== 0) return;
3151
- this.#clearAllTimeouts();
3152
- if (this.#isHovering && this.root.opts.open.current && this.root.openedViaHover) {
3153
- this.root.openedViaHover = false;
3154
- this.root.hasInteractedWithContent = true;
3155
- return;
3156
- }
3157
- if (this.#isHovering && this.opts.openOnHover.current && this.root.opts.open.current) {
3158
- this.root.hoverCooldown = true;
3159
- }
3160
- if (this.root.hoverCooldown && !this.root.opts.open.current) {
3161
- this.root.hoverCooldown = false;
3162
- }
3163
- this.root.toggleOpen();
3164
- }
3165
- onkeydown(e) {
3166
- if (this.opts.disabled.current) return;
3167
- if (!(e.key === ENTER || e.key === SPACE)) return;
3168
- e.preventDefault();
3169
- this.#clearAllTimeouts();
3170
- this.root.toggleOpen();
3171
- }
3172
- #getAriaControls() {
3173
- if (this.root.opts.open.current && this.root.contentNode?.id) {
3174
- return this.root.contentNode?.id;
3175
- }
3176
- }
3177
- #props = derived(() => ({
3178
- id: this.opts.id.current,
3179
- "aria-haspopup": "dialog",
3180
- "aria-expanded": boolToStr(this.root.opts.open.current),
3181
- "data-state": getDataOpenClosed(this.root.opts.open.current),
3182
- "aria-controls": this.#getAriaControls(),
3183
- [popoverAttrs.trigger]: "",
3184
- disabled: this.opts.disabled.current,
3185
- //
3186
- onkeydown: this.onkeydown,
3187
- onclick: this.onclick,
3188
- onpointerenter: this.onpointerenter,
3189
- onpointerleave: this.onpointerleave,
3190
- ...this.attachment
3191
- }));
3192
- get props() {
3193
- return this.#props();
3194
- }
3195
- set props($$value) {
3196
- return this.#props($$value);
3197
- }
3198
- }
3199
- class PopoverContentState {
3200
- static create(opts) {
3201
- return new PopoverContentState(opts, PopoverRootContext.get());
3202
- }
3203
- opts;
3204
- root;
3205
- attachment;
3206
- constructor(opts, root) {
3207
- this.opts = opts;
3208
- this.root = root;
3209
- this.attachment = attachRef(this.opts.ref, (v) => this.root.contentNode = v);
3210
- this.onpointerdown = this.onpointerdown.bind(this);
3211
- this.onfocusin = this.onfocusin.bind(this);
3212
- this.onpointerenter = this.onpointerenter.bind(this);
3213
- this.onpointerleave = this.onpointerleave.bind(this);
3214
- new SafePolygon({
3215
- triggerNode: () => this.root.triggerNode,
3216
- contentNode: () => this.root.contentNode,
3217
- enabled: () => this.root.opts.open.current && this.root.openedViaHover && !this.root.hasInteractedWithContent,
3218
- onPointerExit: () => {
3219
- this.root.handleDelayedHoverClose();
3220
- }
3221
- });
3222
- }
3223
- onpointerdown(_) {
3224
- this.root.markInteraction();
3225
- }
3226
- onfocusin(e) {
3227
- const target = e.target;
3228
- if (isElement$1(target) && isTabbable(target)) {
3229
- this.root.markInteraction();
3230
- }
3231
- }
3232
- onpointerenter(e) {
3233
- if (isTouch(e)) return;
3234
- this.root.cancelDelayedClose();
3235
- }
3236
- onpointerleave(e) {
3237
- if (isTouch(e)) return;
3238
- }
3239
- onInteractOutside = (e) => {
3240
- this.opts.onInteractOutside.current(e);
3241
- if (e.defaultPrevented) return;
3242
- if (!isElement$1(e.target)) return;
3243
- const closestTrigger = e.target.closest(popoverAttrs.selector("trigger"));
3244
- if (closestTrigger && closestTrigger === this.root.triggerNode) return;
3245
- if (this.opts.customAnchor.current) {
3246
- if (isElement$1(this.opts.customAnchor.current)) {
3247
- if (this.opts.customAnchor.current.contains(e.target)) return;
3248
- } else if (typeof this.opts.customAnchor.current === "string") {
3249
- const el = document.querySelector(this.opts.customAnchor.current);
3250
- if (el && el.contains(e.target)) return;
3251
- }
3252
- }
3253
- this.root.handleClose();
3254
- };
3255
- onEscapeKeydown = (e) => {
3256
- this.opts.onEscapeKeydown.current(e);
3257
- if (e.defaultPrevented) return;
3258
- this.root.handleClose();
3259
- };
3260
- get shouldRender() {
3261
- return this.root.contentPresence.shouldRender;
3262
- }
3263
- get shouldTrapFocus() {
3264
- if (this.root.openedViaHover && !this.root.hasInteractedWithContent) return false;
3265
- return true;
3266
- }
3267
- #snippetProps = derived(() => ({ open: this.root.opts.open.current }));
3268
- get snippetProps() {
3269
- return this.#snippetProps();
3270
- }
3271
- set snippetProps($$value) {
3272
- return this.#snippetProps($$value);
3273
- }
3274
- #props = derived(() => ({
3275
- id: this.opts.id.current,
3276
- tabindex: -1,
3277
- "data-state": getDataOpenClosed(this.root.opts.open.current),
3278
- ...getDataTransitionAttrs(this.root.contentPresence.transitionStatus),
3279
- [popoverAttrs.content]: "",
3280
- style: { pointerEvents: "auto", contain: "layout style" },
3281
- onpointerdown: this.onpointerdown,
3282
- onfocusin: this.onfocusin,
3283
- onpointerenter: this.onpointerenter,
3284
- onpointerleave: this.onpointerleave,
3285
- ...this.attachment
3286
- }));
3287
- get props() {
3288
- return this.#props();
3289
- }
3290
- set props($$value) {
3291
- return this.#props($$value);
3292
- }
3293
- popperProps = {
3294
- onInteractOutside: this.onInteractOutside,
3295
- onEscapeKeydown: this.onEscapeKeydown
3296
- };
3297
- }
3298
- function Popover_content($$renderer, $$props) {
3299
- $$renderer.component(($$renderer2) => {
3300
- const uid = props_id($$renderer2);
3301
- let {
3302
- child,
3303
- children,
3304
- ref = null,
3305
- id = createId(uid),
3306
- forceMount = false,
3307
- onOpenAutoFocus = noop,
3308
- onCloseAutoFocus = noop,
3309
- onEscapeKeydown = noop,
3310
- onInteractOutside = noop,
3311
- trapFocus = true,
3312
- preventScroll = false,
3313
- customAnchor = null,
3314
- style,
3315
- $$slots,
3316
- $$events,
3317
- ...restProps
3318
- } = $$props;
3319
- const contentState = PopoverContentState.create({
3320
- id: boxWith(() => id),
3321
- ref: boxWith(() => ref, (v) => ref = v),
3322
- onInteractOutside: boxWith(() => onInteractOutside),
3323
- onEscapeKeydown: boxWith(() => onEscapeKeydown),
3324
- customAnchor: boxWith(() => customAnchor)
3325
- });
3326
- const mergedProps = derived(() => mergeProps(restProps, contentState.props));
3327
- const effectiveTrapFocus = derived(() => trapFocus && contentState.shouldTrapFocus);
3328
- function handleOpenAutoFocus(e) {
3329
- if (!contentState.shouldTrapFocus) {
3330
- e.preventDefault();
3331
- }
3332
- onOpenAutoFocus(e);
3333
- }
3334
- if (forceMount) {
3335
- $$renderer2.push("<!--[0-->");
3336
- {
3337
- let popper = function($$renderer3, { props, wrapperProps }) {
3338
- const finalProps = mergeProps(props, { style: getFloatingContentCSSVars("popover") }, { style });
3339
- if (child) {
3340
- $$renderer3.push("<!--[0-->");
3341
- child($$renderer3, {
3342
- props: finalProps,
3343
- wrapperProps,
3344
- ...contentState.snippetProps
3345
- });
3346
- $$renderer3.push(`<!---->`);
3347
- } else {
3348
- $$renderer3.push(`<!--[-1--><div${attributes({ ...wrapperProps })}><div${attributes({ ...finalProps })}>`);
3349
- children?.($$renderer3);
3350
- $$renderer3.push(`<!----></div></div>`);
3351
- }
3352
- $$renderer3.push(`<!--]-->`);
3353
- };
3354
- Popper_layer_force_mount($$renderer2, spread_props([
3355
- mergedProps(),
3356
- contentState.popperProps,
3357
- {
3358
- ref: contentState.opts.ref,
3359
- enabled: contentState.root.opts.open.current,
3360
- id,
3361
- trapFocus: effectiveTrapFocus(),
3362
- preventScroll,
3363
- loop: true,
3364
- forceMount: true,
3365
- customAnchor,
3366
- onOpenAutoFocus: handleOpenAutoFocus,
3367
- onCloseAutoFocus,
3368
- shouldRender: contentState.shouldRender,
3369
- popper,
3370
- $$slots: { popper: true }
3371
- }
3372
- ]));
3373
- }
3374
- } else if (!forceMount) {
3375
- $$renderer2.push("<!--[1-->");
3376
- {
3377
- let popper = function($$renderer3, { props, wrapperProps }) {
3378
- const finalProps = mergeProps(props, { style: getFloatingContentCSSVars("popover") }, { style });
3379
- if (child) {
3380
- $$renderer3.push("<!--[0-->");
3381
- child($$renderer3, {
3382
- props: finalProps,
3383
- wrapperProps,
3384
- ...contentState.snippetProps
3385
- });
3386
- $$renderer3.push(`<!---->`);
3387
- } else {
3388
- $$renderer3.push(`<!--[-1--><div${attributes({ ...wrapperProps })}><div${attributes({ ...finalProps })}>`);
3389
- children?.($$renderer3);
3390
- $$renderer3.push(`<!----></div></div>`);
3391
- }
3392
- $$renderer3.push(`<!--]-->`);
3393
- };
3394
- Popper_layer($$renderer2, spread_props([
3395
- mergedProps(),
3396
- contentState.popperProps,
3397
- {
3398
- ref: contentState.opts.ref,
3399
- open: contentState.root.opts.open.current,
3400
- id,
3401
- trapFocus: effectiveTrapFocus(),
3402
- preventScroll,
3403
- loop: true,
3404
- forceMount: false,
3405
- customAnchor,
3406
- onOpenAutoFocus: handleOpenAutoFocus,
3407
- onCloseAutoFocus,
3408
- shouldRender: contentState.shouldRender,
3409
- popper,
3410
- $$slots: { popper: true }
3411
- }
3412
- ]));
3413
- }
3414
- } else {
3415
- $$renderer2.push("<!--[-1-->");
3416
- }
3417
- $$renderer2.push(`<!--]-->`);
3418
- bind_props($$props, { ref });
3419
- });
3420
- }
3421
- function Popover_trigger($$renderer, $$props) {
3422
- $$renderer.component(($$renderer2) => {
3423
- const uid = props_id($$renderer2);
3424
- let {
3425
- children,
3426
- child,
3427
- id = createId(uid),
3428
- ref = null,
3429
- type = "button",
3430
- disabled = false,
3431
- openOnHover = false,
3432
- openDelay = 700,
3433
- closeDelay = 300,
3434
- $$slots,
3435
- $$events,
3436
- ...restProps
3437
- } = $$props;
3438
- const triggerState = PopoverTriggerState.create({
3439
- id: boxWith(() => id),
3440
- ref: boxWith(() => ref, (v) => ref = v),
3441
- disabled: boxWith(() => Boolean(disabled)),
3442
- openOnHover: boxWith(() => openOnHover),
3443
- openDelay: boxWith(() => openDelay),
3444
- closeDelay: boxWith(() => closeDelay)
3445
- });
3446
- const mergedProps = derived(() => mergeProps(restProps, triggerState.props, { type }));
3447
- Floating_layer_anchor($$renderer2, {
3448
- id,
3449
- ref: triggerState.opts.ref,
3450
- children: ($$renderer3) => {
3451
- if (child) {
3452
- $$renderer3.push("<!--[0-->");
3453
- child($$renderer3, { props: mergedProps() });
3454
- $$renderer3.push(`<!---->`);
3455
- } else {
3456
- $$renderer3.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);
3457
- children?.($$renderer3);
3458
- $$renderer3.push(`<!----></button>`);
3459
- }
3460
- $$renderer3.push(`<!--]-->`);
3461
- }
3462
- });
3463
- bind_props($$props, { ref });
3464
- });
3465
- }
3466
- function Popover($$renderer, $$props) {
3467
- $$renderer.component(($$renderer2) => {
3468
- let {
3469
- open = false,
3470
- onOpenChange = noop,
3471
- onOpenChangeComplete = noop,
3472
- children
3473
- } = $$props;
3474
- PopoverRootState.create({
3475
- open: boxWith(() => open, (v) => {
3476
- open = v;
3477
- onOpenChange(v);
3478
- }),
3479
- onOpenChangeComplete: boxWith(() => onOpenChangeComplete)
3480
- });
3481
- Floating_layer($$renderer2, {
3482
- children: ($$renderer3) => {
3483
- children?.($$renderer3);
3484
- $$renderer3.push(`<!---->`);
3485
- }
3486
- });
3487
- bind_props($$props, { open });
3488
- });
3489
- }
3490
- const SLACK_MS = 2 * 6e4;
3491
- const escape = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
3492
- function mentions(text, task) {
3493
- if (new RegExp(`(?<![\\w-])${escape(task.id)}(?![\\w-])`).test(text)) return true;
3494
- const urls = [task.pr?.url, task.preview?.url].filter((u) => !!u).map((u) => u.replace(/\/+$/, ""));
3495
- return urls.some((u) => new RegExp(`${escape(u)}(?![\\w-])`).test(text));
3496
- }
3497
- const time = (s) => {
3498
- const t = s ? Date.parse(s) : NaN;
3499
- return Number.isNaN(t) ? null : t;
3500
- };
3501
- function previewCards(items, tasks) {
3502
- const out = /* @__PURE__ */ new Map();
3503
- for (const task of tasks) {
3504
- if (!task.preview) continue;
3505
- const reported = time(task.preview.reportedAt);
3506
- const landed = task.status === "landed";
3507
- const merged = landed ? time(task.mergedAt) : null;
3508
- let first = null;
3509
- let since = null;
3510
- for (const it of items) {
3511
- if (it.kind !== "turn") continue;
3512
- const at = time(it.at);
3513
- if (reported !== null && (at === null || at < reported - SLACK_MS)) continue;
3514
- const part = it.parts.find((p) => p.kind === "text" && mentions(p.text, task));
3515
- if (!part) continue;
3516
- first ??= part.id;
3517
- if (landed && (merged === null || at !== null && at >= merged - SLACK_MS)) {
3518
- since = part.id;
3519
- break;
3520
- }
3521
- }
3522
- const anchor = since ?? first;
3523
- if (!anchor) continue;
3524
- out.set(anchor, [...out.get(anchor) ?? [], { task, landed }]);
3525
- }
3526
- return out;
3527
- }
3528
- function chipLabel(r, max = 34) {
3529
- const title = r.title.length > max ? `${r.title.slice(0, max - 1)}…` : r.title;
3530
- const num = r.url?.match(/\/pull\/(\d+)/)?.[1];
3531
- return r.kind === "pr" ? `PR${num ? ` #${num}` : ""} ${title}` : `# ${title}`;
3532
- }
3533
- const EXPANDED = /\[(?:PR (https?:\/\/\S+) — )?task ([A-Za-z0-9][A-Za-z0-9._-]*)(?: on second mate ([A-Za-z0-9][A-Za-z0-9._-]*))?: ([^\]\n]+)\]/g;
3534
- function parseRefs(text) {
3535
- const out = [];
3536
- let at = 0;
3537
- for (const m of text.matchAll(EXPANDED)) {
3538
- if (m.index > at) out.push(text.slice(at, m.index));
3539
- out.push({
3540
- kind: m[1] ? "pr" : "task",
3541
- id: m[3] ? `${m[2]}@${m[3]}` : m[2],
3542
- title: m[4].trim(),
3543
- project: null,
3544
- url: m[1] ?? null
3545
- });
3546
- at = m.index + m[0].length;
3547
- }
3548
- if (at < text.length) out.push(text.slice(at));
3549
- return out;
3550
- }
3551
- const SNIPPET_MAX = 140;
3552
- function plain(text) {
3553
- const md = text.replace(/```[^\n]*\n([\s\S]*?)```/g, "$1").replace(/!\[([^\]]*)\]\([^)]*\)/g, "$1").replace(/\[([^\]]+)\]\([^)]*\)/g, "$1").replace(/^\s{0,3}(?:#{1,6}\s+|>\s?|[-*+]\s+|\d+[.)]\s+)/gm, "").replace(/(\*\*|__|~~|`)/g, "").replace(/(^|[\s(])[*_]([^*_\n]+)[*_](?=[\s).,!?:;]|$)/g, "$1$2");
3554
- return parseRefs(md).map((p) => typeof p === "string" ? p : chipLabel(p, 60)).join("").replace(/\s+/g, " ").trim();
3555
- }
3556
- function snippetOf(text, max = SNIPPET_MAX) {
3557
- const line = plain(text);
3558
- if (line.length <= max) return line;
3559
- const cut = line.slice(0, max - 1);
3560
- const space = cut.lastIndexOf(" ");
3561
- return `${(space > max / 2 ? cut.slice(0, space) : cut).replace(/[\s.,;:]+$/, "")}…`;
3562
- }
3563
- const QUOTED = /^> Replying to (Firstmate|my message): “(.*)”\n\n([\s\S]+)$/;
3564
- function parseReply(text) {
3565
- const m = text.replace(/\r\n?/g, "\n").match(QUOTED);
3566
- if (!m || !m[3].trim()) return { to: null, body: text };
3567
- return {
3568
- to: { who: m[1] === "Firstmate" ? "firstmate" : "captain", snippet: m[2] },
3569
- body: m[3]
3570
- };
3571
- }
3572
- function quotes(to, text) {
3573
- const line = plain(text);
3574
- if (!line) return false;
3575
- const s = to.snippet.endsWith("…") ? to.snippet.slice(0, -1) : to.snippet;
3576
- return to.snippet.endsWith("…") ? line.startsWith(s) : line === s;
3577
- }
3578
- const UNSORTED = "unsorted";
3579
- const UNSORTED_TAG = { topic: UNSORTED, source: null };
3580
- const MARKER = /^\s{0,3}<!--\s*project:\s*([^\s>]+?)\s*-->\s*$/i;
3581
- const FENCE = /^\s{0,3}(`{3,}|~{3,})/;
3582
- function parseMarkers(text) {
3583
- const out = [];
3584
- let slug = null;
3585
- let lines = [];
3586
- let fence = null;
3587
- const flush = () => {
3588
- const t = lines.join("\n").trim();
3589
- if (t) out.push({ slug, text: t });
3590
- lines = [];
3591
- };
3592
- for (const line of text.split("\n")) {
3593
- const f = line.match(FENCE)?.[1];
3594
- if (f && (!fence || f[0] === fence[0])) fence = fence ? null : f;
3595
- const m = fence ? null : line.match(MARKER);
3596
- if (m) {
3597
- flush();
3598
- slug = m[1];
3599
- } else lines.push(line);
3600
- }
3601
- flush();
3602
- if (!out.length && !text.trim()) return [];
3603
- return out.length ? out : [{ slug, text: "" }];
3604
- }
3605
- const PREFIX = /^\[project ([^\]\s]+)\][ \u00a0]?/;
3606
- function parseThread(text) {
3607
- const m = text.match(PREFIX);
3608
- return m ? { topic: m[1], text: text.slice(m[0].length) } : { topic: null, text };
3609
- }
3610
- const slugify = (s) => s.trim().toLowerCase().replace(/[^a-z0-9.]+/g, "-").replace(/^-+|-+$/g, "");
3611
- function resolveTopic(slug, projects) {
3612
- const s = slug.trim().toLowerCase();
3613
- const key = slugify(slug);
3614
- const p = projects.find((x) => x.id.toLowerCase() === s) ?? projects.find((x) => x.name.toLowerCase() === s) ?? projects.find((x) => slugify(x.id) === key || slugify(x.name) === key);
3615
- return p ? p.id : key || UNSORTED;
3616
- }
3617
- function topicName(slug) {
3618
- const words = slug.replace(/[-_]+/g, " ").trim();
3619
- return words ? words[0].toUpperCase() + words.slice(1) : slug;
3620
- }
3621
- function guessed(text, tasks) {
3622
- let found = null;
3623
- for (const t of tasks) {
3624
- if (!t.projectId || t.projectId === "unassigned" || t.projectId === found) continue;
3625
- if (!mentions(text, t)) continue;
3626
- if (found) return null;
3627
- found = t.projectId;
3628
- }
3629
- return found;
3630
- }
3631
- function tagChat(items, tasks, projects, retags = {}) {
3632
- const users = /* @__PURE__ */ new Map();
3633
- const parts = /* @__PURE__ */ new Map();
3634
- const turns = /* @__PURE__ */ new Map();
3635
- const guess = (text) => {
3636
- const p = guessed(text, tasks);
3637
- return p ? { topic: p, source: "guess" } : null;
3638
- };
3639
- const own = (key, tag) => retags[key] ? { topic: retags[key], source: retags[key] === UNSORTED ? null : "you" } : tag;
3640
- let lastCaptain = null;
3641
- for (const it of items) {
3642
- if (it.kind === "user") {
3643
- const sent = parseThread(parseReply(it.text).body);
3644
- const tag = sent.topic ? { topic: resolveTopic(sent.topic, projects), source: "thread" } : guess(sent.text) ?? UNSORTED_TAG;
3645
- const final = own(it.id, tag);
3646
- users.set(it.id, final);
3647
- lastCaptain = final;
3648
- continue;
3649
- }
3650
- if (it.kind !== "turn") continue;
3651
- let carry = null;
3652
- const asked = it.trigger === "captain" && lastCaptain?.source ? lastCaptain : null;
3653
- for (const part of it.parts) {
3654
- if (part.kind !== "text") continue;
3655
- const sections = parseMarkers(part.text);
3656
- const out = sections.map((s, i) => {
3657
- let tag;
3658
- if (s.slug) tag = { topic: resolveTopic(s.slug, projects), source: "marker" };
3659
- else if (carry?.source === "marker") tag = carry;
3660
- else
3661
- tag = guess(s.text) ?? carry ?? (asked && { ...asked, source: "guess" }) ?? UNSORTED_TAG;
3662
- if (tag.source) carry = tag;
3663
- const intro = i === 0 && !s.slug && sections.length > 1;
3664
- return { key: i ? `${part.id}#${i}` : part.id, text: s.text, tag, intro };
3665
- });
3666
- const final = out.map((s) => ({ ...s, tag: own(s.key, s.tag) }));
3667
- parts.set(part.id, final);
3668
- const lead = final.find((x) => !x.intro);
3669
- if (!turns.has(it.id) && lead) turns.set(it.id, lead.tag);
3670
- }
3671
- if (!turns.has(it.id))
3672
- turns.set(it.id, own(`turn:${it.id}`, asked ? { ...asked, source: "guess" } : UNSORTED_TAG));
3673
- }
3674
- return { users, parts, turns };
3675
- }
3676
- function cardTag(key, projectId, source, retags = {}) {
3677
- const mine = retags[key];
3678
- if (mine) return { topic: mine, source: mine === UNSORTED ? null : "you" };
3679
- return projectId && projectId !== "unassigned" ? { topic: projectId, source } : UNSORTED_TAG;
3680
- }
3681
- function threadRows(entries, keep = null) {
3682
- const rows = /* @__PURE__ */ new Map();
3683
- for (const e of entries) {
3684
- const at = e.at ? Date.parse(e.at) : NaN;
3685
- for (const topic of new Set(e.topics)) {
3686
- const r = rows.get(topic) ?? { topic, count: 0, needs: 0, last: 0 };
3687
- r.count++;
3688
- if (e.needs) r.needs++;
3689
- if (!Number.isNaN(at)) r.last = Math.max(r.last, at);
3690
- rows.set(topic, r);
3691
- }
3692
- }
3693
- if (keep && !rows.has(keep)) rows.set(keep, { topic: keep, count: 0, needs: 0, last: 0 });
3694
- return [...rows.values()].sort(
3695
- (a, b) => Number(a.topic === UNSORTED) - Number(b.topic === UNSORTED) || b.last - a.last || a.topic.localeCompare(b.topic)
3696
- );
3697
- }
3698
- function foldRuns(entries, thread) {
3699
- const out = /* @__PURE__ */ new Map();
3700
- let run = null;
3701
- for (const e of entries) {
3702
- if (e.topics.includes(thread)) {
3703
- run = null;
3704
- continue;
3705
- }
3706
- if (!run) run = { first: e.key, count: 0, topics: [], from: e.at, to: e.at };
3707
- run.count++;
3708
- run.to = e.at ?? run.to;
3709
- for (const t of e.topics) if (!run.topics.includes(t)) run.topics.push(t);
3710
- out.set(e.key, run);
3711
- }
3712
- return out;
3713
- }
3714
- function homeLabel(home) {
3715
- const name = home?.replace(/[\\/]+$/, "").split(/[\\/]/).pop()?.trim();
3716
- return name || null;
3717
- }
3718
- function initials(id) {
3719
- const words = id.split(/[^\p{L}\p{N}]+/u).filter(Boolean);
3720
- if (!words.length) return "?";
3721
- if (words.length === 1) return words[0].slice(0, 2).toUpperCase();
3722
- return (words[0][0] + words[1][0]).toUpperCase();
3723
- }
3724
- function hueOf(id) {
3725
- let h = 0;
3726
- for (const c of id) h = h * 31 + c.codePointAt(0) >>> 0;
3727
- return h % 6;
3728
- }
3729
- const inPlay = (t) => t.status !== "queued" && t.status !== "landed" && t.status !== "closed";
3730
- const failing = (t) => t.status === "failed" || t.status === "blocked" || t.status === "lost" || t.pipeline?.outcome === "failed" || t.passage.steps.some((s) => s.failed);
3731
- function checksShare(tasks) {
3732
- const playing = tasks.filter(inPlay);
3733
- const bad = playing.filter(failing).length;
3734
- return {
3735
- percent: playing.length ? Math.round((playing.length - bad) / playing.length * 100) : 100,
3736
- failing: bad,
3737
- inPlay: playing.length
3738
- };
3739
- }
3740
- function glance(projects, tasks, limit = 4) {
3741
- return projects.map((p) => {
3742
- const ts = tasks.filter((t) => t.projectId === p.id);
3743
- const needs = ts.some(needsYou);
3744
- const busy = ts.some((t) => t.busy || inPlay(t) && t.status === "working");
3745
- return {
3746
- id: p.id,
3747
- name: p.name,
3748
- landed: ts.length ? Math.round(ts.filter((t) => t.status === "landed").length / ts.length * 100) : 0,
3749
- word: needs ? "Needs you" : busy ? "Working" : "Quiet",
3750
- tone: needs ? "needs" : busy ? "busy" : "quiet",
3751
- tasks: ts.length
3752
- };
3753
- }).filter((r) => r.tasks > 0).sort((a, b) => b.tasks - a.tasks || a.name.localeCompare(b.name)).slice(0, limit);
3754
- }
3755
-
3756
- export { checksShare as A, Bell as B, glance as C, Floating_layer as F, Gauge as G, Puzzle as P, SafePolygon as S, UNSORTED as U, Popover as a, Popover_trigger as b, Popover_content as c, Floating_layer_anchor as d, Popper_layer_force_mount as e, Popper_layer as f, getFloatingContentCSSVars as g, homeLabel as h, inPlay as i, FloatingArrowState as j, hueOf as k, initials as l, parseThread as m, UNSORTED_TAG as n, foldRuns as o, parseReply as p, tagChat as q, quotes as r, parseRefs as s, topicName as t, chipLabel as u, parseMarkers as v, previewCards as w, cardTag as x, threadRows as y, snippetOf as z };
3757
- //# sourceMappingURL=bridge.js-Cm-aK0Fl.js.map