@intent-hq/web 2.346.0 → 2.346.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{Brqq8vhd.js → -IUVo3ff.js} +4 -4
  3. package/web/app/immutable/chunks/{BVURea8L.js → -_IhnrUG.js} +1 -1
  4. package/web/app/immutable/chunks/{BDDEv5gU.js → -oWCrnEw.js} +1 -1
  5. package/web/app/immutable/chunks/{DknPpgEW.js → 0h3tB2X7.js} +1 -1
  6. package/web/app/immutable/chunks/{CJ_dtcmM.js → 1kPFR2jr.js} +1 -1
  7. package/web/app/immutable/chunks/{DcZKw8cP.js → 2_W5MGlF.js} +1 -1
  8. package/web/app/immutable/chunks/{CtDj7gZD.js → 35EIyCm3.js} +1 -1
  9. package/web/app/immutable/chunks/{9XVQ1GVX.js → 3OP-tats.js} +1 -1
  10. package/web/app/immutable/chunks/{CAdgzoaK.js → 3hAJcdO4.js} +1 -1
  11. package/web/app/immutable/chunks/{BY3nRRgO.js → 4I5A3DRt.js} +3 -3
  12. package/web/app/immutable/chunks/{ouMKS3MA.js → 5ICkS6dd.js} +1 -1
  13. package/web/app/immutable/chunks/{D31IcU1_.js → 5m7mNQI1.js} +1 -1
  14. package/web/app/immutable/chunks/{BOxkenyY.js → 8-yHkkqV.js} +1 -1
  15. package/web/app/immutable/chunks/{ahX1JzRb.js → 9PMcLe0B.js} +1 -1
  16. package/web/app/immutable/chunks/{CzcD2H5U.js → AfO8pDU9.js} +1 -1
  17. package/web/app/immutable/chunks/{z_Tdw9N5.js → B-hjApiN.js} +1 -1
  18. package/web/app/immutable/chunks/{ACNn9MHT.js → B-izwTdw.js} +2 -2
  19. package/web/app/immutable/chunks/{iKgBWWl-.js → B2Qef3kJ.js} +2 -2
  20. package/web/app/immutable/chunks/{B0mNIdOb.js → B2i6P1Yj.js} +1 -1
  21. package/web/app/immutable/chunks/{CcaAQlGA.js → B6_GAXLX.js} +1 -1
  22. package/web/app/immutable/chunks/{CQyjMIYw.js → B9wI8Jqn.js} +1 -1
  23. package/web/app/immutable/chunks/{DdVIXVso.js → BA-Wd8x9.js} +1 -1
  24. package/web/app/immutable/chunks/{asQ_ruFQ.js → BB4FgpiZ.js} +1 -1
  25. package/web/app/immutable/chunks/{ftma9Ybn.js → BBhsbqLJ.js} +1 -1
  26. package/web/app/immutable/chunks/{BDzYiKUH.js → BCjermhu.js} +1 -1
  27. package/web/app/immutable/chunks/{D-i7C44m.js → BD_lDepV.js} +2 -2
  28. package/web/app/immutable/chunks/{3as4gwP9.js → BDgfFtcK.js} +1 -1
  29. package/web/app/immutable/chunks/{Big_dnEI.js → BEA1dP-Y.js} +1 -1
  30. package/web/app/immutable/chunks/{CXpFRnSj.js → BEF8aCkH.js} +1 -1
  31. package/web/app/immutable/chunks/{Dj8J0eqI.js → BFVZAW0_.js} +1 -1
  32. package/web/app/immutable/chunks/{DFs6FJS8.js → BG2eX09y.js} +1 -1
  33. package/web/app/immutable/chunks/{BaYzTmbw.js → BGqL3gJO.js} +1 -1
  34. package/web/app/immutable/chunks/{B7dTLx8u.js → BGsa1Rn-.js} +1 -1
  35. package/web/app/immutable/chunks/{Ba1C4iSG.js → BHmRsJkZ.js} +1 -1
  36. package/web/app/immutable/chunks/{DhHSeQsG.js → BI0I5q5w.js} +3 -3
  37. package/web/app/immutable/chunks/{CvHwMug-.js → BIB7YFjF.js} +2 -2
  38. package/web/app/immutable/chunks/{OPvMR-5p.js → BIWW5pDn.js} +1 -1
  39. package/web/app/immutable/chunks/{BBlTlRXR.js → BKJdB-rj.js} +1 -1
  40. package/web/app/immutable/chunks/BKW86yq_.js +1 -0
  41. package/web/app/immutable/chunks/{CrjpdU4V.js → BLXPhKCH.js} +1 -1
  42. package/web/app/immutable/chunks/{-Wo302Zr.js → BMCRnGzk.js} +1 -1
  43. package/web/app/immutable/chunks/{BO8NImWp.js → BMlW8PWp.js} +1 -1
  44. package/web/app/immutable/chunks/{BKw5KoGy.js → BMxLlxet.js} +1 -1
  45. package/web/app/immutable/chunks/{DKTqwHrN.js → BO3bzcut.js} +1 -1
  46. package/web/app/immutable/chunks/BPZ_JA05.js +2 -0
  47. package/web/app/immutable/chunks/{B4gIvcP2.js → BW1uSKLL.js} +1 -1
  48. package/web/app/immutable/chunks/{DPUWJyjX.js → BYpXsiCq.js} +1 -1
  49. package/web/app/immutable/chunks/{Dto-4yb7.js → BZHceihR.js} +1 -1
  50. package/web/app/immutable/chunks/{Clhk_Z-l.js → BZklR_B6.js} +1 -1
  51. package/web/app/immutable/chunks/{BDPqCRJm.js → BZpL3F2r.js} +1 -1
  52. package/web/app/immutable/chunks/BZvAKLUn.js +1 -0
  53. package/web/app/immutable/chunks/{3h5ZjEwa.js → B_ALvSh2.js} +1 -1
  54. package/web/app/immutable/chunks/{BaYeKXL3.js → B_uWHofm.js} +1 -1
  55. package/web/app/immutable/chunks/{i2sZiDEq.js → BaDPh7vq.js} +1 -1
  56. package/web/app/immutable/chunks/{C3NeTp2u.js → BcLSwxTf.js} +1 -1
  57. package/web/app/immutable/chunks/{DOB2ATTF.js → BfaGwOq5.js} +1 -1
  58. package/web/app/immutable/chunks/{CiKocWhX.js → BfaHQDJW.js} +1 -1
  59. package/web/app/immutable/chunks/{DOKxXiSI.js → Bfi661u9.js} +4 -4
  60. package/web/app/immutable/chunks/{bKyElw3h.js → BjCpOU4b.js} +1 -1
  61. package/web/app/immutable/chunks/BjFh2SH5.js +1 -0
  62. package/web/app/immutable/chunks/{Dx3sZmi8.js → Bkff-hvs.js} +1 -1
  63. package/web/app/immutable/chunks/{DE8QOEZV.js → BkzhB_Po.js} +1 -1
  64. package/web/app/immutable/chunks/{Dkr_RXdV.js → BlznqeMI.js} +1 -1
  65. package/web/app/immutable/chunks/{D7dPbXji.js → BmLxQNOC.js} +1 -1
  66. package/web/app/immutable/chunks/{C3VPe7p1.js → BmooL5Pj.js} +1 -1
  67. package/web/app/immutable/chunks/{GzTl4Sb0.js → BnSdmDXX.js} +1 -1
  68. package/web/app/immutable/chunks/{cATI0wnI.js → BnsQkZ2z.js} +1 -1
  69. package/web/app/immutable/chunks/{DHGSAfCZ.js → BotBkFiN.js} +1 -1
  70. package/web/app/immutable/chunks/{B5HeJKYE.js → BppmVmxY.js} +1 -1
  71. package/web/app/immutable/chunks/{C-OtpXcF.js → BqOOOgy5.js} +1 -1
  72. package/web/app/immutable/chunks/{DzejiLWr.js → BqRBAXUd.js} +3 -3
  73. package/web/app/immutable/chunks/{WbTmlouE.js → Bs3_4AtC.js} +1 -1
  74. package/web/app/immutable/chunks/{C_EpV6jU.js → Bs7Hg6Iw.js} +1 -1
  75. package/web/app/immutable/chunks/{DZ3SUe8R.js → BtiDRzyn.js} +1 -1
  76. package/web/app/immutable/chunks/{A8_BT67P.js → BtwtItRa.js} +1 -1
  77. package/web/app/immutable/chunks/{Bgi2L8Br.js → BvpnWd-y.js} +1 -1
  78. package/web/app/immutable/chunks/{C33Dw59E.js → Bw9Opv8X.js} +1 -1
  79. package/web/app/immutable/chunks/{BLaIjbEF.js → BwPpu-bL.js} +1 -1
  80. package/web/app/immutable/chunks/{CzdMU9Bu.js → By74nslt.js} +2 -2
  81. package/web/app/immutable/chunks/{BWTugGQ8.js → BycUBg6h.js} +1 -1
  82. package/web/app/immutable/chunks/{YYacqJ9a.js → BzrasdW9.js} +1 -1
  83. package/web/app/immutable/chunks/{B4XZNQ4a.js → C-6Vv_Md.js} +1 -1
  84. package/web/app/immutable/chunks/{CVa6MqnK.js → C0deMyYN.js} +1 -1
  85. package/web/app/immutable/chunks/{DZyAzxxC.js → C1N6iAP2.js} +1 -1
  86. package/web/app/immutable/chunks/{DXnd4CJZ.js → C1c28WNI.js} +1 -1
  87. package/web/app/immutable/chunks/{Cb0zVN4i.js → C1s02RDB.js} +1 -1
  88. package/web/app/immutable/chunks/{Y4VeEPHl.js → C3LkuwxU.js} +1 -1
  89. package/web/app/immutable/chunks/{z-RLr2Z1.js → C4EqZepj.js} +1 -1
  90. package/web/app/immutable/chunks/{jlJQSpH6.js → C4LCiNWC.js} +1 -1
  91. package/web/app/immutable/chunks/{D492HRYt.js → C4s4Sq6j.js} +1 -1
  92. package/web/app/immutable/chunks/{DeCAcSD9.js → C4t0jJ4k.js} +1 -1
  93. package/web/app/immutable/chunks/{BfbZn9QX.js → C4xNNtUj.js} +1 -1
  94. package/web/app/immutable/chunks/{BK64B_Ic.js → C7CRtBIe.js} +1 -1
  95. package/web/app/immutable/chunks/{BTNEDHav.js → C7fHSR36.js} +1 -1
  96. package/web/app/immutable/chunks/{BMKkyPLo.js → C9u4tXUT.js} +1 -1
  97. package/web/app/immutable/chunks/{CgLoJgPR.js → CFFiNWgw.js} +1 -1
  98. package/web/app/immutable/chunks/{5Ixgq0WC.js → CFpSvOJx.js} +1 -1
  99. package/web/app/immutable/chunks/{B3D9gAmi.js → CGhe-vKv.js} +1 -1
  100. package/web/app/immutable/chunks/{CbZEAbX5.js → CIhlsnLM.js} +1 -1
  101. package/web/app/immutable/chunks/{DgHZa_R5.js → CJl18r_J.js} +1 -1
  102. package/web/app/immutable/chunks/{eNHX5lds.js → CK5SmfAe.js} +1 -1
  103. package/web/app/immutable/chunks/{D1CYDv8t.js → CKfg4UqD.js} +1 -1
  104. package/web/app/immutable/chunks/{Do80Vc58.js → CLqD3xZb.js} +1 -1
  105. package/web/app/immutable/chunks/{71L4lHBq.js → CMG5CVfP.js} +1 -1
  106. package/web/app/immutable/chunks/{DtAyUyC0.js → CMcMoJJq.js} +1 -1
  107. package/web/app/immutable/chunks/{C3oF1SK5.js → CNHQ2hz2.js} +1 -1
  108. package/web/app/immutable/chunks/{B1HPKTBI.js → CNOSe0wO.js} +1 -1
  109. package/web/app/immutable/chunks/{C4HHXGmJ.js → CNwVL4wn.js} +1 -1
  110. package/web/app/immutable/chunks/{s0TWEExr.js → COhzdkuA.js} +1 -1
  111. package/web/app/immutable/chunks/{DukmxKgk.js → CP2XzLLk.js} +1 -1
  112. package/web/app/immutable/chunks/{zGl9gaL0.js → CPE7SIVP.js} +1 -1
  113. package/web/app/immutable/chunks/{Chpqmkx4.js → CPo4UsMt.js} +1 -1
  114. package/web/app/immutable/chunks/{B83M2_sj.js → CS0II5i-.js} +1 -1
  115. package/web/app/immutable/chunks/{CQbtnalz.js → CS4C4Dqz.js} +1 -1
  116. package/web/app/immutable/chunks/{7eL9Pgig.js → CSelYXXo.js} +1 -1
  117. package/web/app/immutable/chunks/{IRbjhecv.js → CTMYdigD.js} +1 -1
  118. package/web/app/immutable/chunks/{DGmRhalF.js → CUEYQ1xR.js} +1 -1
  119. package/web/app/immutable/chunks/{T9tywf_e.js → CXZBvyNr.js} +1 -1
  120. package/web/app/immutable/chunks/{BnkmaA34.js → CXgI2Ln7.js} +1 -1
  121. package/web/app/immutable/chunks/{Zl17pAXX.js → CZ2Oen6-.js} +1 -1
  122. package/web/app/immutable/chunks/{Cq8oeEXe.js → Cd-mRODX.js} +1 -1
  123. package/web/app/immutable/chunks/{etVaBLxV.js → Cdb_pBT1.js} +1 -1
  124. package/web/app/immutable/chunks/{BeJ5WWx4.js → ChOLlFah.js} +22 -22
  125. package/web/app/immutable/chunks/{DryyHkNv.js → CiLrRXKC.js} +1 -1
  126. package/web/app/immutable/chunks/{CQB76zlc.js → CjS1Cmfi.js} +1 -1
  127. package/web/app/immutable/chunks/{ByLCbaqp.js → CjsTzCaF.js} +1 -1
  128. package/web/app/immutable/chunks/{BQbcEQz0.js → CjxgW2LG.js} +1 -1
  129. package/web/app/immutable/chunks/{CHfmHJ17.js → Cjyjhytt.js} +1 -1
  130. package/web/app/immutable/chunks/{Ckp5dOHW.js → Ck2hwsBm.js} +1 -1
  131. package/web/app/immutable/chunks/{B55-cQLT.js → CpB9-pxF.js} +1 -1
  132. package/web/app/immutable/chunks/{DMjNjha0.js → CqvGUHnF.js} +1 -1
  133. package/web/app/immutable/chunks/{Dkva_evl.js → CsvSUZwX.js} +2 -2
  134. package/web/app/immutable/chunks/{DOCWMdWU.js → CuD9DL4y.js} +1 -1
  135. package/web/app/immutable/chunks/{DwA_Z_f6.js → Cueu30DH.js} +1 -1
  136. package/web/app/immutable/chunks/{3DAIKGff.js → Cv_fAsRR.js} +1 -1
  137. package/web/app/immutable/chunks/{BmEcZoA2.js → CxSx5kbz.js} +1 -1
  138. package/web/app/immutable/chunks/{U6cHmbYS.js → CxlqEDL_.js} +3 -3
  139. package/web/app/immutable/chunks/{DzKYjnRy.js → CyhyGZAH.js} +2 -2
  140. package/web/app/immutable/chunks/{B0WVH3Hg.js → CzGRX-SL.js} +1 -1
  141. package/web/app/immutable/chunks/{DcwC09tE.js → CzGw49VI.js} +1 -1
  142. package/web/app/immutable/chunks/{CNT1n9YR.js → D0wwPGAk.js} +1 -1
  143. package/web/app/immutable/chunks/D1jZIoRI.js +1 -0
  144. package/web/app/immutable/chunks/D3e1E0pH.js +13 -0
  145. package/web/app/immutable/chunks/{CFs6uWH2.js → D6G3HdC8.js} +1 -1
  146. package/web/app/immutable/chunks/{C1osWUn_.js → D9TgvNHy.js} +1 -1
  147. package/web/app/immutable/chunks/{Cx31i8ng.js → D9WJ9yaW.js} +1 -1
  148. package/web/app/immutable/chunks/DD34O6fm.js +408 -0
  149. package/web/app/immutable/chunks/{Bxnf75xq.js → DGs9CA_z.js} +1 -1
  150. package/web/app/immutable/chunks/{B1U_DCBw.js → DKnPivVx.js} +1 -1
  151. package/web/app/immutable/chunks/{dBZS3-kp.js → DL98Mvfc.js} +1 -1
  152. package/web/app/immutable/chunks/{C8XrM-qb.js → DMtABnLi.js} +1 -1
  153. package/web/app/immutable/chunks/{CiIELmgj.js → DNMpoEvN.js} +1 -1
  154. package/web/app/immutable/chunks/{txy0Txom.js → DNQiloiF.js} +1 -1
  155. package/web/app/immutable/chunks/{BM7oCSp5.js → DN_Lq29a.js} +1 -1
  156. package/web/app/immutable/chunks/{CDbQwqu1.js → DQ3kuV3H.js} +1 -1
  157. package/web/app/immutable/chunks/{CmoBwSCp.js → DR-bu7f0.js} +1 -1
  158. package/web/app/immutable/chunks/{DzGNgfrZ.js → DRG7DUhO.js} +1 -1
  159. package/web/app/immutable/chunks/{CjbCpI18.js → DSHtWXiq.js} +1 -1
  160. package/web/app/immutable/chunks/{BLl22NdQ.js → DSU9ZcQ0.js} +1 -1
  161. package/web/app/immutable/chunks/{BlEwAz4v.js → DTTdoBjw.js} +1 -1
  162. package/web/app/immutable/chunks/{DRZKWEq3.js → DUyBdSjv.js} +1 -1
  163. package/web/app/immutable/chunks/{CXVUfxHv.js → DZZviYVT.js} +2 -2
  164. package/web/app/immutable/chunks/{Dr45ln4z.js → DaOs4JNK.js} +1 -1
  165. package/web/app/immutable/chunks/{DNjgs7AU.js → Db5vVNPd.js} +1 -1
  166. package/web/app/immutable/chunks/{DccrGg38.js → DciVixd2.js} +3 -3
  167. package/web/app/immutable/chunks/{Bgw3O9rE.js → DctMspbi.js} +1 -1
  168. package/web/app/immutable/chunks/{CswFIiBb.js → DetpMFuT.js} +1 -1
  169. package/web/app/immutable/chunks/{Cq2aackv.js → DghbEZ16.js} +1 -1
  170. package/web/app/immutable/chunks/{BOyF7pe9.js → DhUnCLhA.js} +1 -1
  171. package/web/app/immutable/chunks/{DYnCJwSs.js → DhWGSJOr.js} +1 -1
  172. package/web/app/immutable/chunks/{D7NdkRF-.js → DlrkMELS.js} +4 -4
  173. package/web/app/immutable/chunks/{CAUaU8Wh.js → DmY0GWNY.js} +1 -1
  174. package/web/app/immutable/chunks/DnBFSw4A.js +4 -0
  175. package/web/app/immutable/chunks/{DH-29Rs_.js → Dnk26fqb.js} +3 -3
  176. package/web/app/immutable/chunks/{BW9EApvt.js → Do1gmE20.js} +1 -1
  177. package/web/app/immutable/chunks/{BQ5F0iVp.js → DqmvYlsZ.js} +1 -1
  178. package/web/app/immutable/chunks/{SVZRr24P.js → Dsq9SKtm.js} +1 -1
  179. package/web/app/immutable/chunks/{DKKFIb2l.js → DuA0wXTo.js} +1 -1
  180. package/web/app/immutable/chunks/{BDZoh7yg.js → DuMO6x6m.js} +1 -1
  181. package/web/app/immutable/chunks/{DByMRbHr.js → Dx1uQEhV.js} +1 -1
  182. package/web/app/immutable/chunks/{D-TVq_rK.js → DxdbljsN.js} +1 -1
  183. package/web/app/immutable/chunks/{DHROL4K5.js → DxkncNQp.js} +1 -1
  184. package/web/app/immutable/chunks/{B79pUPc3.js → DxlsP5Pu.js} +4 -4
  185. package/web/app/immutable/chunks/{D0I9E6A0.js → DzEm_gMB.js} +1 -1
  186. package/web/app/immutable/chunks/{DTSEdINd.js → Dzr2-f8u.js} +2 -2
  187. package/web/app/immutable/chunks/{CrHk5l6X.js → E9kqzP8d.js} +1 -1
  188. package/web/app/immutable/chunks/{BJZ04Dji.js → ENl_7pWb.js} +1 -1
  189. package/web/app/immutable/chunks/{W7sv3DY6.js → HAVpWhg1.js} +1 -1
  190. package/web/app/immutable/chunks/{fzs92dqr.js → HXO2zRQJ.js} +1 -1
  191. package/web/app/immutable/chunks/{BqBqZaGQ.js → JbkOWTOg.js} +1 -1
  192. package/web/app/immutable/chunks/{DfjJilaB.js → KErKc4MM.js} +2 -2
  193. package/web/app/immutable/chunks/{DUQV_xq3.js → Mrn_4qcP.js} +1 -1
  194. package/web/app/immutable/chunks/{BcbQZUsh.js → NhKlePe6.js} +1 -1
  195. package/web/app/immutable/chunks/{ChNPgGKQ.js → NqdaVAll.js} +1 -1
  196. package/web/app/immutable/chunks/{DDySjsub.js → O3Ve923N.js} +1 -1
  197. package/web/app/immutable/chunks/O7PQPM4V.js +1 -0
  198. package/web/app/immutable/chunks/{BrIsEZwT.js → P1zH2HLT.js} +1 -1
  199. package/web/app/immutable/chunks/{BDtb6AfX.js → P2s61dnl.js} +1 -1
  200. package/web/app/immutable/chunks/{B-7vt8Nv.js → QcdWHB0v.js} +1 -1
  201. package/web/app/immutable/chunks/{V9qci_dz.js → RKjwEkJS.js} +1 -1
  202. package/web/app/immutable/chunks/{1_fC7X8z.js → R_Ru9hwD.js} +1 -1
  203. package/web/app/immutable/chunks/{DMYKSC8W.js → SnydeSOZ.js} +2 -2
  204. package/web/app/immutable/chunks/{BK2lpqz4.js → SrhdBdnO.js} +1 -1
  205. package/web/app/immutable/chunks/{BjURBDIt.js → T1DVgc50.js} +1 -1
  206. package/web/app/immutable/chunks/{C1CDOGnh.js → T9_nVC7k.js} +1 -1
  207. package/web/app/immutable/chunks/{CSg3z6A2.js → UKn44y3B.js} +1 -1
  208. package/web/app/immutable/chunks/{DW9MEQey.js → UxXMSC13.js} +1 -1
  209. package/web/app/immutable/chunks/{D9jvlcNy.js → VVSQHNmC.js} +1 -1
  210. package/web/app/immutable/chunks/{d-Ep-sfP.js → V_ABjOKq.js} +1 -1
  211. package/web/app/immutable/chunks/{BZYeogxf.js → W4Nuovgc.js} +1 -1
  212. package/web/app/immutable/chunks/{CCm1BgPl.js → YuOz6Rmc.js} +1 -1
  213. package/web/app/immutable/chunks/{B0-4rCYZ.js → Znww69M9.js} +1 -1
  214. package/web/app/immutable/chunks/{BcgSXbtK.js → _5Vv4dkf.js} +1 -1
  215. package/web/app/immutable/chunks/{BgKhYgm8.js → _RxuD-W2.js} +1 -1
  216. package/web/app/immutable/chunks/{CguBowm8.js → a48W8e3q.js} +1 -1
  217. package/web/app/immutable/chunks/{BYDvuR-h.js → bYaMqcEY.js} +1 -1
  218. package/web/app/immutable/chunks/{euZ22sAu.js → cX33-fuj.js} +1 -1
  219. package/web/app/immutable/chunks/{CSQXURhP.js → dT5WNNGq.js} +1 -1
  220. package/web/app/immutable/chunks/{D_SZXZdx.js → eqxSNkBq.js} +1 -1
  221. package/web/app/immutable/chunks/{BqyYlCY3.js → fPgojm2p.js} +1 -1
  222. package/web/app/immutable/chunks/{wTgWcOy1.js → hCF4Zu9x.js} +1 -1
  223. package/web/app/immutable/chunks/{CvGEpOsC.js → j3POoRwI.js} +1 -1
  224. package/web/app/immutable/chunks/{G_wYaln-.js → jqkXCyuX.js} +1 -1
  225. package/web/app/immutable/chunks/{CGcQAX9W.js → k6cZvV27.js} +1 -1
  226. package/web/app/immutable/chunks/{CP8WYBBE.js → m296fjds.js} +1 -1
  227. package/web/app/immutable/chunks/{BWAGtvpD.js → qvZYvB9N.js} +1 -1
  228. package/web/app/immutable/chunks/{-UJlOg-6.js → rBb3s3xl.js} +1 -1
  229. package/web/app/immutable/chunks/{ClMg3ew2.js → rISNYNCE.js} +1 -1
  230. package/web/app/immutable/chunks/{CA6TS0WC.js → sCaWuYEb.js} +1 -1
  231. package/web/app/immutable/chunks/{4sUGQp1u.js → tcnXcM0S.js} +1 -1
  232. package/web/app/immutable/chunks/{DjdPlKc4.js → tn7Dp-vi.js} +1 -1
  233. package/web/app/immutable/chunks/{BpYNQf9o.js → uIpdZ1Gn.js} +1 -1
  234. package/web/app/immutable/chunks/{BDPAYMJ1.js → uc8QMJUx.js} +1 -1
  235. package/web/app/immutable/chunks/{BWZmCaEW.js → yw7dEI88.js} +1 -1
  236. package/web/app/immutable/chunks/{D3toWTag.js → zEbP96sv.js} +4 -4
  237. package/web/app/immutable/chunks/{0qEvU7Aj.js → zqCR6Knb.js} +1 -1
  238. package/web/app/immutable/entry/{app.BXnRxWvG.js → app.Dg3CVjdE.js} +3 -3
  239. package/web/app/immutable/entry/start.51bhhgUY.js +1 -0
  240. package/web/app/immutable/nodes/{0.CFk1FXLg.js → 0.mr7Lr8Nh.js} +1 -1
  241. package/web/app/immutable/nodes/{1.Bd67D1tA.js → 1.rfzchHhR.js} +1 -1
  242. package/web/app/immutable/nodes/{10.CTZ0L3wZ.js → 10.D4xVtSvV.js} +1 -1
  243. package/web/app/immutable/nodes/{11.CH_h0WbH.js → 11.Bl5UwrS9.js} +1 -1
  244. package/web/app/immutable/nodes/{12.DhihsAtw.js → 12.CUp8k2-A.js} +1 -1
  245. package/web/app/immutable/nodes/{13.B727xJXs.js → 13.Ch9aZ9Uv.js} +3 -3
  246. package/web/app/immutable/nodes/{14.CgITgBOZ.js → 14.Bjuagqn-.js} +1 -1
  247. package/web/app/immutable/nodes/{15.CCzIPJGf.js → 15.Cto8qDz0.js} +1 -1
  248. package/web/app/immutable/nodes/{16.CbtJfPHZ.js → 16.SivUu1Ma.js} +1 -1
  249. package/web/app/immutable/nodes/{17.CelzCwXF.js → 17.Chj8J0QC.js} +1 -1
  250. package/web/app/immutable/nodes/{18.fqvApY-g.js → 18.D_tnQyvk.js} +2 -2
  251. package/web/app/immutable/nodes/{2.t-1b60vK.js → 2.WfgNcNo2.js} +4 -4
  252. package/web/app/immutable/nodes/{3.4L0YPvZL.js → 3.D4wTMvE8.js} +1 -1
  253. package/web/app/immutable/nodes/{4.BLQgcpcU.js → 4.ZitfbCkz.js} +1 -1
  254. package/web/app/immutable/nodes/{5.Bp_OiOTI.js → 5.BFEJ_NR_.js} +1 -1
  255. package/web/app/immutable/nodes/{6.CcuwCBp4.js → 6.Bkj3ggYn.js} +1 -1
  256. package/web/app/immutable/nodes/{7.B-TRUT7o.js → 7.Cz8EbGz5.js} +1 -1
  257. package/web/app/immutable/nodes/{8.CaG5gby5.js → 8.gF00dlat.js} +6 -6
  258. package/web/app/immutable/nodes/9.COG4Nc0F.js +39 -0
  259. package/web/app/version.json +1 -1
  260. package/web/generated/paraglide.js +49 -49
  261. package/web/index.html +18 -18
  262. package/web/app/immutable/chunks/2V4-p70U.js +0 -408
  263. package/web/app/immutable/chunks/BAGVOK-j.js +0 -4
  264. package/web/app/immutable/chunks/Bbkml6DP.js +0 -1
  265. package/web/app/immutable/chunks/D9jYN6_J.js +0 -1
  266. package/web/app/immutable/chunks/DF1uIj8u.js +0 -1
  267. package/web/app/immutable/chunks/DOPeTAKk.js +0 -13
  268. package/web/app/immutable/chunks/DgwMMJRI.js +0 -2
  269. package/web/app/immutable/chunks/TL85KYB9.js +0 -1
  270. package/web/app/immutable/chunks/ciTxbtqU.js +0 -1
  271. package/web/app/immutable/entry/start.BX3EKd8C.js +0 -1
  272. package/web/app/immutable/nodes/9.DosMxTmg.js +0 -39
@@ -1,4 +1,4 @@
1
- var $s=Object.defineProperty;var Fs=(f,r,l)=>r in f?$s(f,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):f[r]=l;var q=(f,r,l)=>Fs(f,typeof r!="symbol"?r+"":r,l);import{t as dn,bq as S,bo as P,by as un,bs as On,b as hn,bu as je}from"./D9jYN6_J.js";import{ai as xr,bs as gn,ca as Be,aD as e,bH as m,a5 as N,bA as H,b_ as z,aw as sn,aj as ln,W as w,bn as fn,bV as Y,aA as x,ay as ne,bS as C,bl as de,bO as K,aB as T,c9 as u,a7 as nt,br as tt,bj as sr,c5 as gt,c0 as Ln,a as Us,be as Tt,b$ as ft,bf as or}from"./DYhIMPy1.js";import{i as M}from"./7eL9Pgig.js";import{g as Pt,i as Hn,I as ir,e as ar}from"./Bgw3O9rE.js";import{I as cn,F as Ws,c as Bs,t as Rt}from"./B4gIvcP2.js";import{f as En,s as Ve,g as lr}from"./C_EpV6jU.js";import{b as on}from"./BaIAhI85.js";import{Iz as Me,eC as Vs,et as Ks,eu as js,oz as qs,nn as Vt,nr as cr,nq as In,ew as Gs,u_ as Qs,u$ as Xs,v1 as Ys,GD as Zs,IE as Js,ri as eo,eB as to}from"./BfbZn9QX.js";import{c as no}from"./ciTxbtqU.js";import{F as Ne,Z as ro,a4 as An,as as dr,at as ur,bO as so,aL as oo,c8 as hr,bV as gr,cl as fr}from"./CAUaU8Wh.js";import{dr as io,be as ao,M as lo,aC as mr,i as co}from"./asQ_ruFQ.js";import{L as pr}from"./DryyHkNv.js";import{C as an}from"./DypB-Dwi.js";import{b6 as kr,bL as uo,bR as ho}from"./ChNPgGKQ.js";import{q as $e,d as go,g as fo}from"./BW9EApvt.js";import"./Cx31i8ng.js";import"./Dkva_evl.js";import{e as mo}from"./BAGVOK-j.js";import{T as Pr}from"./C1CDOGnh.js";import{g as Nn}from"./T9tywf_e.js";import{f as ke}from"./0qEvU7Aj.js";import{C as po}from"./DcZKw8cP.js";import{C as vo}from"./BWAGtvpD.js";import{s as vr}from"./GzTl4Sb0.js";import{t as Dt}from"./IRbjhecv.js";import{P as _o,k as _r}from"./B79pUPc3.js";import{g as wo}from"./D9jvlcNy.js";import{af as bo,a3 as yo}from"./D-i7C44m.js";import{ap as Co}from"./DOPeTAKk.js";import{L as wr}from"./DH-29Rs_.js";import{ad as So,ac as xo,ae as ko}from"./2V4-p70U.js";function br({scrollTop:f,scrollHeight:r,height:l,fitPerfectly:a=!1,fitPerfectlyOverscroll:c=0,overscrollSize:p}){const b=l+p*2,y=a?l+c*2:b;if(r=Math.max(r,y),b>=r||a){const G=Math.max(f-c,0),h=Math.min(f+y,r);return{top:G,bottom:Math.max(h,G)}}let A=f+l/2-b/2,F=A+b;return A<0&&(A=0),F>r&&(F=r),A=Math.floor(Math.max(A,0)),{top:A,bottom:Math.ceil(Math.max(Math.min(F,r),A))}}function Po(f,r){return f==null||r==null?f===r:f.top===r.top&&f.bottom===r.bottom}const Rr=1e3,Ro=Rr*4,Lo=[0,1e-6,.99999,1],Ho={overscrollSize:Rr,intersectionObserverMargin:Ro,resizeDebugging:!1};let rn=0,Io=-1;var Pe,Ao=(Pe=class{constructor(r){q(this,"__id",`virtualizer-${++Io}`);q(this,"config");q(this,"type","simple");q(this,"intersectionObserver");q(this,"scrollTop",0);q(this,"height",0);q(this,"scrollHeight",0);q(this,"windowSpecs",{top:0,bottom:0});q(this,"root");q(this,"contentContainer");q(this,"resizeObserver");q(this,"observers",new Map);q(this,"visibleInstances",new Map);q(this,"visibleInstancesDirty",!1);q(this,"instancesChanged",new Set);q(this,"reconcileQueue",new Set);q(this,"scrollDirty",!0);q(this,"heightDirty",!0);q(this,"scrollHeightDirty",!0);q(this,"renderedObservers",0);q(this,"connectQueue",new Map);q(this,"handleContainerResize",r=>{if(this.root==null)return;let l=!1;for(const a of r){const c=a.borderBoxSize[0].blockSize;this.root instanceof Document?c!==this.scrollHeight&&(this.scrollHeightDirty=!0,l=!0,this.config.resizeDebugging&&(console.log("Virtualizer: content size change",this.__id,{sizeChange:c-rn,newSize:c}),rn=c)):a.target===this.root?c!==this.height&&(this.heightDirty=!0,l=!0):a.target===this.contentContainer&&(this.scrollHeightDirty=!0,l=!0,this.config.resizeDebugging&&(console.log("Virtualizer: scroller size change",this.__id,{sizeChange:c-rn,newSize:c}),rn=c))}l&&$e(this.computeRenderRangeAndEmit)});q(this,"handleWindowResize",()=>{Pe.__STOP||window.innerHeight===this.height||(this.heightDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"handleWindowScroll",()=>{Pe.__STOP||this.root==null||!(this.root instanceof Document)||(this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"handleElementScroll",()=>{Pe.__STOP||this.root==null||this.root instanceof Document||(this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"computeRenderRangeAndEmit",()=>{if(Pe.__STOP)return;const r=this.heightDirty||this.scrollHeightDirty;let l=this.instancesChanged.size>0;if(this.instancesChanged.size===0){const p=br({scrollTop:this.getScrollTop(),height:this.getHeight(),scrollHeight:this.getScrollHeight(),overscrollSize:this.config.overscrollSize});if(!r&&Po(this.windowSpecs,p)&&this.renderedObservers===this.observers.size&&!this.visibleInstancesDirty&&this.reconcileQueue.size===0)return;this.windowSpecs=p}this.visibleInstancesDirty=!1,this.renderedObservers=this.observers.size;const a=this.getScrollAnchor(this.height),c=new Set;for(const p of r?this.observers.values():this.visibleInstances.values())p.onRender(r)&&c.add(p);for(const p of this.instancesChanged)c.has(p)||p.onRender(r)&&c.add(p);this.scrollFix(a);for(const p of c)this.reconcileQueue.delete(p),p.reconcileHeights();for(const p of this.reconcileQueue)p.reconcileHeights()&&(l=!0);this.reconcileQueue.clear(),l||=this.instancesChanged.size>0,l&&this.markDOMDirty(),(l||r)&&$e(this.computeRenderRangeAndEmit),c.clear(),this.instancesChanged.clear()});q(this,"handleIntersectionChange",r=>{this.scrollDirty=!0;for(const{target:l,isIntersecting:a}of r){if(!(l instanceof HTMLElement))throw new Error("Virtualizer.handleIntersectionChange: target not an HTMLElement");const c=this.observers.get(l);c!=null&&(a&&!this.visibleInstances.has(l)?(c.setVisibility(!0),this.visibleInstances.set(l,c),this.visibleInstancesDirty=!0):!a&&this.visibleInstances.has(l)&&(c.setVisibility(!1),this.visibleInstances.delete(l),this.visibleInstancesDirty=!0))}this.visibleInstancesDirty&&$e(this.computeRenderRangeAndEmit)});this.config={...Ho,...r}}setup(r,l){if(this.root==null){this.root=r,this.resizeObserver=new ResizeObserver(this.handleContainerResize),this.intersectionObserver=new IntersectionObserver(this.handleIntersectionChange,{root:this.root,threshold:Lo,rootMargin:`${this.config.intersectionObserverMargin}px 0px ${this.config.intersectionObserverMargin}px 0px`}),r instanceof Document?this.setupWindow():this.setupElement(l),window.__INSTANCE=this,window.__TOGGLE=()=>{Pe.__STOP?(Pe.__STOP=!1,(this.getScrollContainerElement()??window).scrollTo({top:Pe.__lastScrollPosition}),$e(this.computeRenderRangeAndEmit)):(Pe.__lastScrollPosition=this.getScrollTop(),Pe.__STOP=!0)};for(const[a,c]of this.connectQueue.entries())this.connect(a,c);this.connectQueue.clear(),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)}}instanceChanged(r,l){this.instancesChanged.add(r),l&&this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)}requestHeightReconcile(r){this.reconcileQueue.add(r),$e(this.computeRenderRangeAndEmit)}getWindowSpecs(){return this.windowSpecs.top===0&&this.windowSpecs.bottom===0&&(this.windowSpecs=br({scrollTop:this.getScrollTop(),height:this.getHeight(),scrollHeight:this.getScrollHeight(),overscrollSize:this.config.overscrollSize})),this.windowSpecs}getRoot(){return this.root}isInstanceVisible(r,l){const a=this.getScrollTop(),c=this.getHeight(),p=this.config.intersectionObserverMargin,b=a-p,y=a+c+p;return!(r<b-l||r>y)}setupWindow(){if(this.root==null||!(this.root instanceof Document))throw new Error("Virtualizer.setupWindow: Invalid setup method");window.addEventListener("scroll",this.handleWindowScroll,{passive:!0}),window.addEventListener("resize",this.handleWindowResize,{passive:!0}),this.resizeObserver?.observe(this.root.documentElement)}setupElement(r){if(this.root==null||this.root instanceof Document)throw new Error("Virtualizer.setupElement: Invalid setup method");this.root.addEventListener("scroll",this.handleElementScroll,{passive:!0}),this.resizeObserver?.observe(this.root),r??=this.root.firstElementChild??void 0,r instanceof HTMLElement&&(this.contentContainer=r,this.resizeObserver?.observe(r))}cleanUp(){go(this.computeRenderRangeAndEmit),this.resizeObserver?.disconnect(),this.resizeObserver=void 0,this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0,this.root?.removeEventListener("scroll",this.handleElementScroll),window.removeEventListener("scroll",this.handleWindowScroll),window.removeEventListener("resize",this.handleWindowResize),this.root=void 0,this.contentContainer=void 0,this.observers.clear(),this.visibleInstances.clear(),this.instancesChanged.clear(),this.reconcileQueue.clear(),this.connectQueue.clear(),this.visibleInstancesDirty=!1,this.windowSpecs={top:0,bottom:0},this.scrollTop=0,this.height=0,this.scrollHeight=0,this.scrollDirty=!0,this.heightDirty=!0,this.scrollHeightDirty=!0}getOffsetInScrollContainer(r){return this.getScrollTop()+Kt(r,this.getScrollContainerElement())}connect(r,l){if(this.observers.has(r))throw new Error("Virtualizer.connect: instance is already connected...");return this.intersectionObserver==null?this.connectQueue.set(r,l):(this.intersectionObserver.observe(r),this.observers.set(r,l),this.instancesChanged.add(l),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)),()=>this.disconnect(r)}disconnect(r){const l=this.observers.get(r);this.connectQueue.delete(r),l!=null&&(this.intersectionObserver?.unobserve(r),this.observers.delete(r),this.instancesChanged.delete(l),this.reconcileQueue.delete(l),this.visibleInstances.delete(r)&&(this.visibleInstancesDirty=!0),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit))}scrollFix(r){if(r==null)return;const l=this.getScrollContainerElement(),{lineIndex:a,lineOffset:c,fileElement:p,fileOffset:b,fileTypeOffset:y}=r;if(a!=null&&c!=null){const F=p.shadowRoot?.querySelector(`[data-line][data-line-index="${a}"]`);if(F instanceof HTMLElement){const G=Kt(F,l);if(G!==c){const h=G-c;this.applyScrollFix(h)}return}}const A=Kt(p,l);if(y==="top")A!==b&&this.applyScrollFix(A-b);else{const F=A+p.getBoundingClientRect().height;F!==b&&this.applyScrollFix(F-b)}}applyScrollFix(r){this.root==null||this.root instanceof Document?window.scrollTo({top:window.scrollY+r,behavior:"instant"}):this.root.scrollTo({top:this.root.scrollTop+r,behavior:"instant"}),this.markDOMDirty()}getScrollAnchor(r){const l=this.getScrollContainerElement();let a;for(const[c]of this.visibleInstances.entries()){const p=Kt(c,l),b=p+c.offsetHeight;let y,A;b<=0?(y=b,A="bottom"):(y=p,A="top");let F,G;if(b>0&&p<r)for(const oe of c.shadowRoot?.querySelectorAll("[data-line][data-line-index]")??[]){if(!(oe instanceof HTMLElement))continue;const Te=oe.dataset.lineIndex;if(Te==null)continue;const ue=Kt(oe,l);if(!(ue<0)){F=Te,G=ue;break}}if(a?.lineOffset!=null&&G==null)continue;let h=!1;(a==null||G!=null&&(a.lineOffset==null||G<a.lineOffset)||G==null&&a.lineOffset==null&&(y>=0&&(a.fileOffset<0||y<a.fileOffset)||y<0&&a.fileOffset<0&&y>a.fileOffset))&&(h=!0),h&&(a={fileElement:c,fileTypeOffset:A,fileOffset:y,lineIndex:F,lineOffset:G})}return a}getScrollTop(){if(!this.scrollDirty)return this.scrollTop;this.scrollDirty=!1;let r=this.root==null?0:this.root instanceof Document?window.scrollY:this.root.scrollTop;return r=this.clampScrollTop(r),this.scrollTop=r,r}scrollTo({top:r,behavior:l="auto"}){const{root:a}=this;if(a==null)return;const c=this.clampScrollTop(r);a instanceof Document?window.scrollTo({top:c,behavior:l}):a.scrollTo({top:c,behavior:l}),this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit)}clampScrollTop(r){return Math.max(0,Math.min(r,this.getScrollHeight()-this.getHeight()))}getScrollHeight(){return this.scrollHeightDirty?(this.scrollHeightDirty=!1,this.scrollHeight=this.root==null?0:this.root instanceof Document?this.root.documentElement.scrollHeight:this.root.scrollHeight,this.scrollHeight):this.scrollHeight}getHeight(){return this.heightDirty?(this.heightDirty=!1,this.height=this.root==null?0:this.root instanceof Document?globalThis.innerHeight:this.root.getBoundingClientRect().height,this.height):this.height}markDOMDirty(){this.scrollDirty=!0,this.scrollHeightDirty=!0,this.heightDirty=!0}getScrollContainerElement(){return this.root==null||this.root instanceof Document?void 0:this.root}},q(Pe,"__STOP",!1),q(Pe,"__lastScrollPosition",0),Pe);function Kt(f,r){const l=f.getBoundingClientRect(),a=r?.getBoundingClientRect().top??0;return l.top-a}var Eo=T('<div class="absolute inset-0 flex items-center justify-center rounded-lg bg-background/60 backdrop-blur-[2px] transition-opacity duration-spring-moderate ease-spring-moderate motion-reduce:transition-none z-10 pointer-events-none"><div class="flex items-center gap-2 rounded-lg border border-border bg-card px-3 py-2 text-xs font-medium text-subtle shadow-lg"><!> </div></div>'),Oo=T("<!> <!>",1),No=T('<div class="flex h-24 items-center justify-start text-left text-subtle"> </div>'),To=T('<div role="region"><!></div>');function Lr(f,r){if(new.target)return dn({component:Lr,...f});gn(r,!0);const l=()=>je(ve,"$sideBySide",a),[a,c]=On(),p=Nn()?.workspaceId??void 0;let b=S(r,"change",7),y=S(r,"foldUnchanged",7,!0),A=S(r,"allowHeadReads",7,!0),F=S(r,"canReadHeadFiles",7),G=S(r,"lineWrapping",7,!1),h=S(r,"scrollToLine",7),oe=S(r,"isAggregate",7,!1),Te=S(r,"showScrollHint",7,!1),ue=S(r,"onStageHunk",7),Q=S(r,"onUnstageHunk",7),at=S(r,"onOpenCommit",7),pt=S(r,"virtualizer",7),vt=S(r,"gitRootId",7,void 0),_t=S(r,"gitRootPath",7,void 0);const ve=kr();let Re=Y(!1),ye=Y(!1),Fe=Y(!1),Ue=Y(0),qe=Y(void 0);const $=80;function ie(){m(ye,!0)}function De(){m(ye,!1),m(Fe,!1),m(Ue,0)}function Le(v){!e(ye)||e(Re)||(m(Ue,e(Ue)+Math.abs(v.deltaY)),e(Ue)>=$&&!e(Fe)&&m(Fe,!0))}function jt(){m(Re,!0),m(Fe,!1),m(Ue,0)}function qt(v){e(qe)&&!e(qe).contains(v.relatedTarget)&&m(Re,!1)}Be(()=>{(e(Re)||!e(ye))&&(m(Fe,!1),m(Ue,0))});let Lt=u(()=>{const{toolCallId:v,filePath:_e,additions:Qe,deletions:yt,oldContent:re,newContent:Xe}=b(),rt="staged"in b()&&b().staged===!0,Ke="category"in b()?b().category:void 0,At="commitHash"in b()?b().commitHash:void 0,zt="gitlink"in b()?b().gitlink:void 0,Mt="isFullFileContent"in b()?b().isFullFileContent:!1;let Ct;return Ke==="committed"?Ct=an.Committed:rt?Ct=an.Staged:Ct=an.Unstaged,{id:v,file:_e,relativePath:_e,stage:Ct,commitHash:At,gitlink:zt,stats:{additions:Qe,deletions:yt},attribution:{timestamp:0},content:re!==void 0||Xe!==void 0?{oldContent:re??"",newContent:Xe??"",isFullFileContent:Mt}:void 0}});const D=u(()=>b().isFullFileContent?1:("chunks"in b()?b().chunks?.[0]?.newStart:void 0)??b().startLineNumber??1);var Ht={get change(){return b()},set change(v){b(v),x()},get foldUnchanged(){return y()},set foldUnchanged(v=!0){y(v),x()},get allowHeadReads(){return A()},set allowHeadReads(v=!0){A(v),x()},get canReadHeadFiles(){return F()},set canReadHeadFiles(v){F(v),x()},get lineWrapping(){return G()},set lineWrapping(v=!1){G(v),x()},get scrollToLine(){return h()},set scrollToLine(v){h(v),x()},get isAggregate(){return oe()},set isAggregate(v=!1){oe(v),x()},get showScrollHint(){return Te()},set showScrollHint(v=!1){Te(v),x()},get onStageHunk(){return ue()},set onStageHunk(v){ue(v),x()},get onUnstageHunk(){return Q()},set onUnstageHunk(v){Q(v),x()},get onOpenCommit(){return at()},set onOpenCommit(v){at(v),x()},get virtualizer(){return pt()},set virtualizer(v){pt(v),x()},get gitRootId(){return vt()},set gitRootId(v=void 0){vt(v),x()},get gitRootPath(){return _t()},set gitRootPath(v=void 0){_t(v),x()},$set:un,$on:(v,_e)=>hn(r,v,_e)},He=To();let wt;var It=N(He);{var Ge=v=>{var _e=Oo(),Qe=ne(_e);{let Xe=u(()=>l()?"split":"unified");Pr(Qe,{get change(){return e(Lt)},get workspaceId(){return p},get viewMode(){return e(Xe)},get foldUnchanged(){return y()},get lineWrapping(){return G()},get onStageHunk(){return ue()},get onUnstageHunk(){return Q()},useProvidedContent:!0,get allowHeadReads(){return A()},get canReadHeadFiles(){return F()},get lineOffset(){return e(D)},get virtualizer(){return pt()},get gitRootId(){return vt()},get gitRootPath(){return _t()}})}var yt=C(Qe,2);{var re=Xe=>{var rt=Eo(),Ke=N(rt),At=N(Ke);Ne(At,{get icon(){return ro},class:"w-3 h-3"});var zt=C(At);H(Ke),H(rt),z(Mt=>K(zt,` ${Mt??""}`),[()=>P.chat_inlineDiffItem_clickToScroll_label()]),cn(1,rt,()=>Ws,()=>({tier:"fast",y:0,scale:1})),cn(2,rt,()=>Bs,()=>({tier:"fast"})),w(Xe,rt)};M(yt,Xe=>{Te()&&e(Fe)&&Xe(re)})}w(v,_e)},bt=v=>{var _e=No(),Qe=de(_e,!0);z(yt=>K(Qe,yt),[()=>P.chat_inlineDiffItem_noWorkspace_label()]),w(v,_e)};M(It,v=>{p?v(Ge):v(bt,-1)})}H(He),on(He,v=>m(qe,v),()=>e(qe)),z(v=>{wt=En(He,1,"inline-diff-container relative",null,wt,{focused:e(Re)}),Ve(He,"aria-label",v)},[()=>P.chat_inlineDiffItem_viewer_ariaLabel()]),sn("mouseenter",He,ie),sn("mouseleave",He,De),sn("wheel",He,Le),ln("focusin",He,jt),ln("focusout",He,qt),w(f,He);var mn=fn(Ht);return c(),mn}xr(["focusin","focusout"]);function yr(f){return[f.stage,f.type,f.oldLineNumber??"",f.newLineNumber??"",f.content].join("\0")}function Do(f){let r=f.oldStart,l=f.newStart;return f.lines.map(a=>{const c={...a,oldLineNumber:a.oldLineNumber??a.oldNumber,newLineNumber:a.newLineNumber??a.newNumber};return c.oldLineNumber===void 0&&c.newLineNumber===void 0?a.type==="Context"?(c.oldLineNumber=r++,c.newLineNumber=l++):a.type==="Deletion"?c.oldLineNumber=r++:a.type==="Addition"&&(c.newLineNumber=l++):a.type==="Context"?(r=(c.oldLineNumber??r)+1,l=(c.newLineNumber??l)+1):a.type==="Deletion"?r=(c.oldLineNumber??r)+1:a.type==="Addition"&&(l=(c.newLineNumber??l)+1),c})}function zo(f,r){const l=f?f.split(`
1
+ var $s=Object.defineProperty;var Fs=(f,r,l)=>r in f?$s(f,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):f[r]=l;var q=(f,r,l)=>Fs(f,typeof r!="symbol"?r+"":r,l);import{t as dn,bq as S,bo as P,by as un,bs as On,b as hn,bu as je}from"./BKW86yq_.js";import{ai as xr,bs as gn,ca as Be,aD as e,bH as m,a5 as N,bA as H,b_ as z,aw as sn,aj as ln,W as w,bn as fn,bV as Y,aA as x,ay as ne,bS as C,bl as de,bO as K,aB as T,c9 as u,a7 as nt,br as tt,bj as sr,c5 as gt,c0 as Ln,a as Us,be as Tt,b$ as ft,bf as or}from"./DYhIMPy1.js";import{i as M}from"./CSelYXXo.js";import{g as Pt,i as Hn,I as ir,e as ar}from"./DctMspbi.js";import{I as cn,F as Ws,c as Bs,t as Rt}from"./BW1uSKLL.js";import{f as En,s as Ve,g as lr}from"./Bs7Hg6Iw.js";import{b as on}from"./BaIAhI85.js";import{Iz as Me,eC as Vs,et as Ks,eu as js,oz as qs,nn as Vt,nr as cr,nq as In,ew as Gs,u_ as Qs,u$ as Xs,v1 as Ys,GD as Zs,IE as Js,ri as eo,eB as to}from"./C4xNNtUj.js";import{c as no}from"./O7PQPM4V.js";import{F as Ne,Z as ro,a4 as An,as as dr,at as ur,bO as so,aL as oo,c8 as hr,bV as gr,cl as fr}from"./DmY0GWNY.js";import{dr as io,be as ao,M as lo,aC as mr,i as co}from"./BB4FgpiZ.js";import{L as pr}from"./CiLrRXKC.js";import{C as an}from"./DypB-Dwi.js";import{b6 as kr,bL as uo,bR as ho}from"./NqdaVAll.js";import{q as $e,d as go,g as fo}from"./Do1gmE20.js";import"./D9WJ9yaW.js";import"./CsvSUZwX.js";import{e as mo}from"./DnBFSw4A.js";import{T as Pr}from"./T9_nVC7k.js";import{g as Nn}from"./CXZBvyNr.js";import{f as ke}from"./zqCR6Knb.js";import{C as po}from"./2_W5MGlF.js";import{C as vo}from"./qvZYvB9N.js";import{s as vr}from"./BnSdmDXX.js";import{t as Dt}from"./CTMYdigD.js";import{P as _o,k as _r}from"./DxlsP5Pu.js";import{g as wo}from"./VVSQHNmC.js";import{af as bo,a3 as yo}from"./BD_lDepV.js";import{ap as Co}from"./D3e1E0pH.js";import{L as wr}from"./Dnk26fqb.js";import{ad as So,ac as xo,ae as ko}from"./DD34O6fm.js";function br({scrollTop:f,scrollHeight:r,height:l,fitPerfectly:a=!1,fitPerfectlyOverscroll:c=0,overscrollSize:p}){const b=l+p*2,y=a?l+c*2:b;if(r=Math.max(r,y),b>=r||a){const G=Math.max(f-c,0),h=Math.min(f+y,r);return{top:G,bottom:Math.max(h,G)}}let A=f+l/2-b/2,F=A+b;return A<0&&(A=0),F>r&&(F=r),A=Math.floor(Math.max(A,0)),{top:A,bottom:Math.ceil(Math.max(Math.min(F,r),A))}}function Po(f,r){return f==null||r==null?f===r:f.top===r.top&&f.bottom===r.bottom}const Rr=1e3,Ro=Rr*4,Lo=[0,1e-6,.99999,1],Ho={overscrollSize:Rr,intersectionObserverMargin:Ro,resizeDebugging:!1};let rn=0,Io=-1;var Pe,Ao=(Pe=class{constructor(r){q(this,"__id",`virtualizer-${++Io}`);q(this,"config");q(this,"type","simple");q(this,"intersectionObserver");q(this,"scrollTop",0);q(this,"height",0);q(this,"scrollHeight",0);q(this,"windowSpecs",{top:0,bottom:0});q(this,"root");q(this,"contentContainer");q(this,"resizeObserver");q(this,"observers",new Map);q(this,"visibleInstances",new Map);q(this,"visibleInstancesDirty",!1);q(this,"instancesChanged",new Set);q(this,"reconcileQueue",new Set);q(this,"scrollDirty",!0);q(this,"heightDirty",!0);q(this,"scrollHeightDirty",!0);q(this,"renderedObservers",0);q(this,"connectQueue",new Map);q(this,"handleContainerResize",r=>{if(this.root==null)return;let l=!1;for(const a of r){const c=a.borderBoxSize[0].blockSize;this.root instanceof Document?c!==this.scrollHeight&&(this.scrollHeightDirty=!0,l=!0,this.config.resizeDebugging&&(console.log("Virtualizer: content size change",this.__id,{sizeChange:c-rn,newSize:c}),rn=c)):a.target===this.root?c!==this.height&&(this.heightDirty=!0,l=!0):a.target===this.contentContainer&&(this.scrollHeightDirty=!0,l=!0,this.config.resizeDebugging&&(console.log("Virtualizer: scroller size change",this.__id,{sizeChange:c-rn,newSize:c}),rn=c))}l&&$e(this.computeRenderRangeAndEmit)});q(this,"handleWindowResize",()=>{Pe.__STOP||window.innerHeight===this.height||(this.heightDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"handleWindowScroll",()=>{Pe.__STOP||this.root==null||!(this.root instanceof Document)||(this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"handleElementScroll",()=>{Pe.__STOP||this.root==null||this.root instanceof Document||(this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"computeRenderRangeAndEmit",()=>{if(Pe.__STOP)return;const r=this.heightDirty||this.scrollHeightDirty;let l=this.instancesChanged.size>0;if(this.instancesChanged.size===0){const p=br({scrollTop:this.getScrollTop(),height:this.getHeight(),scrollHeight:this.getScrollHeight(),overscrollSize:this.config.overscrollSize});if(!r&&Po(this.windowSpecs,p)&&this.renderedObservers===this.observers.size&&!this.visibleInstancesDirty&&this.reconcileQueue.size===0)return;this.windowSpecs=p}this.visibleInstancesDirty=!1,this.renderedObservers=this.observers.size;const a=this.getScrollAnchor(this.height),c=new Set;for(const p of r?this.observers.values():this.visibleInstances.values())p.onRender(r)&&c.add(p);for(const p of this.instancesChanged)c.has(p)||p.onRender(r)&&c.add(p);this.scrollFix(a);for(const p of c)this.reconcileQueue.delete(p),p.reconcileHeights();for(const p of this.reconcileQueue)p.reconcileHeights()&&(l=!0);this.reconcileQueue.clear(),l||=this.instancesChanged.size>0,l&&this.markDOMDirty(),(l||r)&&$e(this.computeRenderRangeAndEmit),c.clear(),this.instancesChanged.clear()});q(this,"handleIntersectionChange",r=>{this.scrollDirty=!0;for(const{target:l,isIntersecting:a}of r){if(!(l instanceof HTMLElement))throw new Error("Virtualizer.handleIntersectionChange: target not an HTMLElement");const c=this.observers.get(l);c!=null&&(a&&!this.visibleInstances.has(l)?(c.setVisibility(!0),this.visibleInstances.set(l,c),this.visibleInstancesDirty=!0):!a&&this.visibleInstances.has(l)&&(c.setVisibility(!1),this.visibleInstances.delete(l),this.visibleInstancesDirty=!0))}this.visibleInstancesDirty&&$e(this.computeRenderRangeAndEmit)});this.config={...Ho,...r}}setup(r,l){if(this.root==null){this.root=r,this.resizeObserver=new ResizeObserver(this.handleContainerResize),this.intersectionObserver=new IntersectionObserver(this.handleIntersectionChange,{root:this.root,threshold:Lo,rootMargin:`${this.config.intersectionObserverMargin}px 0px ${this.config.intersectionObserverMargin}px 0px`}),r instanceof Document?this.setupWindow():this.setupElement(l),window.__INSTANCE=this,window.__TOGGLE=()=>{Pe.__STOP?(Pe.__STOP=!1,(this.getScrollContainerElement()??window).scrollTo({top:Pe.__lastScrollPosition}),$e(this.computeRenderRangeAndEmit)):(Pe.__lastScrollPosition=this.getScrollTop(),Pe.__STOP=!0)};for(const[a,c]of this.connectQueue.entries())this.connect(a,c);this.connectQueue.clear(),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)}}instanceChanged(r,l){this.instancesChanged.add(r),l&&this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)}requestHeightReconcile(r){this.reconcileQueue.add(r),$e(this.computeRenderRangeAndEmit)}getWindowSpecs(){return this.windowSpecs.top===0&&this.windowSpecs.bottom===0&&(this.windowSpecs=br({scrollTop:this.getScrollTop(),height:this.getHeight(),scrollHeight:this.getScrollHeight(),overscrollSize:this.config.overscrollSize})),this.windowSpecs}getRoot(){return this.root}isInstanceVisible(r,l){const a=this.getScrollTop(),c=this.getHeight(),p=this.config.intersectionObserverMargin,b=a-p,y=a+c+p;return!(r<b-l||r>y)}setupWindow(){if(this.root==null||!(this.root instanceof Document))throw new Error("Virtualizer.setupWindow: Invalid setup method");window.addEventListener("scroll",this.handleWindowScroll,{passive:!0}),window.addEventListener("resize",this.handleWindowResize,{passive:!0}),this.resizeObserver?.observe(this.root.documentElement)}setupElement(r){if(this.root==null||this.root instanceof Document)throw new Error("Virtualizer.setupElement: Invalid setup method");this.root.addEventListener("scroll",this.handleElementScroll,{passive:!0}),this.resizeObserver?.observe(this.root),r??=this.root.firstElementChild??void 0,r instanceof HTMLElement&&(this.contentContainer=r,this.resizeObserver?.observe(r))}cleanUp(){go(this.computeRenderRangeAndEmit),this.resizeObserver?.disconnect(),this.resizeObserver=void 0,this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0,this.root?.removeEventListener("scroll",this.handleElementScroll),window.removeEventListener("scroll",this.handleWindowScroll),window.removeEventListener("resize",this.handleWindowResize),this.root=void 0,this.contentContainer=void 0,this.observers.clear(),this.visibleInstances.clear(),this.instancesChanged.clear(),this.reconcileQueue.clear(),this.connectQueue.clear(),this.visibleInstancesDirty=!1,this.windowSpecs={top:0,bottom:0},this.scrollTop=0,this.height=0,this.scrollHeight=0,this.scrollDirty=!0,this.heightDirty=!0,this.scrollHeightDirty=!0}getOffsetInScrollContainer(r){return this.getScrollTop()+Kt(r,this.getScrollContainerElement())}connect(r,l){if(this.observers.has(r))throw new Error("Virtualizer.connect: instance is already connected...");return this.intersectionObserver==null?this.connectQueue.set(r,l):(this.intersectionObserver.observe(r),this.observers.set(r,l),this.instancesChanged.add(l),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)),()=>this.disconnect(r)}disconnect(r){const l=this.observers.get(r);this.connectQueue.delete(r),l!=null&&(this.intersectionObserver?.unobserve(r),this.observers.delete(r),this.instancesChanged.delete(l),this.reconcileQueue.delete(l),this.visibleInstances.delete(r)&&(this.visibleInstancesDirty=!0),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit))}scrollFix(r){if(r==null)return;const l=this.getScrollContainerElement(),{lineIndex:a,lineOffset:c,fileElement:p,fileOffset:b,fileTypeOffset:y}=r;if(a!=null&&c!=null){const F=p.shadowRoot?.querySelector(`[data-line][data-line-index="${a}"]`);if(F instanceof HTMLElement){const G=Kt(F,l);if(G!==c){const h=G-c;this.applyScrollFix(h)}return}}const A=Kt(p,l);if(y==="top")A!==b&&this.applyScrollFix(A-b);else{const F=A+p.getBoundingClientRect().height;F!==b&&this.applyScrollFix(F-b)}}applyScrollFix(r){this.root==null||this.root instanceof Document?window.scrollTo({top:window.scrollY+r,behavior:"instant"}):this.root.scrollTo({top:this.root.scrollTop+r,behavior:"instant"}),this.markDOMDirty()}getScrollAnchor(r){const l=this.getScrollContainerElement();let a;for(const[c]of this.visibleInstances.entries()){const p=Kt(c,l),b=p+c.offsetHeight;let y,A;b<=0?(y=b,A="bottom"):(y=p,A="top");let F,G;if(b>0&&p<r)for(const oe of c.shadowRoot?.querySelectorAll("[data-line][data-line-index]")??[]){if(!(oe instanceof HTMLElement))continue;const Te=oe.dataset.lineIndex;if(Te==null)continue;const ue=Kt(oe,l);if(!(ue<0)){F=Te,G=ue;break}}if(a?.lineOffset!=null&&G==null)continue;let h=!1;(a==null||G!=null&&(a.lineOffset==null||G<a.lineOffset)||G==null&&a.lineOffset==null&&(y>=0&&(a.fileOffset<0||y<a.fileOffset)||y<0&&a.fileOffset<0&&y>a.fileOffset))&&(h=!0),h&&(a={fileElement:c,fileTypeOffset:A,fileOffset:y,lineIndex:F,lineOffset:G})}return a}getScrollTop(){if(!this.scrollDirty)return this.scrollTop;this.scrollDirty=!1;let r=this.root==null?0:this.root instanceof Document?window.scrollY:this.root.scrollTop;return r=this.clampScrollTop(r),this.scrollTop=r,r}scrollTo({top:r,behavior:l="auto"}){const{root:a}=this;if(a==null)return;const c=this.clampScrollTop(r);a instanceof Document?window.scrollTo({top:c,behavior:l}):a.scrollTo({top:c,behavior:l}),this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit)}clampScrollTop(r){return Math.max(0,Math.min(r,this.getScrollHeight()-this.getHeight()))}getScrollHeight(){return this.scrollHeightDirty?(this.scrollHeightDirty=!1,this.scrollHeight=this.root==null?0:this.root instanceof Document?this.root.documentElement.scrollHeight:this.root.scrollHeight,this.scrollHeight):this.scrollHeight}getHeight(){return this.heightDirty?(this.heightDirty=!1,this.height=this.root==null?0:this.root instanceof Document?globalThis.innerHeight:this.root.getBoundingClientRect().height,this.height):this.height}markDOMDirty(){this.scrollDirty=!0,this.scrollHeightDirty=!0,this.heightDirty=!0}getScrollContainerElement(){return this.root==null||this.root instanceof Document?void 0:this.root}},q(Pe,"__STOP",!1),q(Pe,"__lastScrollPosition",0),Pe);function Kt(f,r){const l=f.getBoundingClientRect(),a=r?.getBoundingClientRect().top??0;return l.top-a}var Eo=T('<div class="absolute inset-0 flex items-center justify-center rounded-lg bg-background/60 backdrop-blur-[2px] transition-opacity duration-spring-moderate ease-spring-moderate motion-reduce:transition-none z-10 pointer-events-none"><div class="flex items-center gap-2 rounded-lg border border-border bg-card px-3 py-2 text-xs font-medium text-subtle shadow-lg"><!> </div></div>'),Oo=T("<!> <!>",1),No=T('<div class="flex h-24 items-center justify-start text-left text-subtle"> </div>'),To=T('<div role="region"><!></div>');function Lr(f,r){if(new.target)return dn({component:Lr,...f});gn(r,!0);const l=()=>je(ve,"$sideBySide",a),[a,c]=On(),p=Nn()?.workspaceId??void 0;let b=S(r,"change",7),y=S(r,"foldUnchanged",7,!0),A=S(r,"allowHeadReads",7,!0),F=S(r,"canReadHeadFiles",7),G=S(r,"lineWrapping",7,!1),h=S(r,"scrollToLine",7),oe=S(r,"isAggregate",7,!1),Te=S(r,"showScrollHint",7,!1),ue=S(r,"onStageHunk",7),Q=S(r,"onUnstageHunk",7),at=S(r,"onOpenCommit",7),pt=S(r,"virtualizer",7),vt=S(r,"gitRootId",7,void 0),_t=S(r,"gitRootPath",7,void 0);const ve=kr();let Re=Y(!1),ye=Y(!1),Fe=Y(!1),Ue=Y(0),qe=Y(void 0);const $=80;function ie(){m(ye,!0)}function De(){m(ye,!1),m(Fe,!1),m(Ue,0)}function Le(v){!e(ye)||e(Re)||(m(Ue,e(Ue)+Math.abs(v.deltaY)),e(Ue)>=$&&!e(Fe)&&m(Fe,!0))}function jt(){m(Re,!0),m(Fe,!1),m(Ue,0)}function qt(v){e(qe)&&!e(qe).contains(v.relatedTarget)&&m(Re,!1)}Be(()=>{(e(Re)||!e(ye))&&(m(Fe,!1),m(Ue,0))});let Lt=u(()=>{const{toolCallId:v,filePath:_e,additions:Qe,deletions:yt,oldContent:re,newContent:Xe}=b(),rt="staged"in b()&&b().staged===!0,Ke="category"in b()?b().category:void 0,At="commitHash"in b()?b().commitHash:void 0,zt="gitlink"in b()?b().gitlink:void 0,Mt="isFullFileContent"in b()?b().isFullFileContent:!1;let Ct;return Ke==="committed"?Ct=an.Committed:rt?Ct=an.Staged:Ct=an.Unstaged,{id:v,file:_e,relativePath:_e,stage:Ct,commitHash:At,gitlink:zt,stats:{additions:Qe,deletions:yt},attribution:{timestamp:0},content:re!==void 0||Xe!==void 0?{oldContent:re??"",newContent:Xe??"",isFullFileContent:Mt}:void 0}});const D=u(()=>b().isFullFileContent?1:("chunks"in b()?b().chunks?.[0]?.newStart:void 0)??b().startLineNumber??1);var Ht={get change(){return b()},set change(v){b(v),x()},get foldUnchanged(){return y()},set foldUnchanged(v=!0){y(v),x()},get allowHeadReads(){return A()},set allowHeadReads(v=!0){A(v),x()},get canReadHeadFiles(){return F()},set canReadHeadFiles(v){F(v),x()},get lineWrapping(){return G()},set lineWrapping(v=!1){G(v),x()},get scrollToLine(){return h()},set scrollToLine(v){h(v),x()},get isAggregate(){return oe()},set isAggregate(v=!1){oe(v),x()},get showScrollHint(){return Te()},set showScrollHint(v=!1){Te(v),x()},get onStageHunk(){return ue()},set onStageHunk(v){ue(v),x()},get onUnstageHunk(){return Q()},set onUnstageHunk(v){Q(v),x()},get onOpenCommit(){return at()},set onOpenCommit(v){at(v),x()},get virtualizer(){return pt()},set virtualizer(v){pt(v),x()},get gitRootId(){return vt()},set gitRootId(v=void 0){vt(v),x()},get gitRootPath(){return _t()},set gitRootPath(v=void 0){_t(v),x()},$set:un,$on:(v,_e)=>hn(r,v,_e)},He=To();let wt;var It=N(He);{var Ge=v=>{var _e=Oo(),Qe=ne(_e);{let Xe=u(()=>l()?"split":"unified");Pr(Qe,{get change(){return e(Lt)},get workspaceId(){return p},get viewMode(){return e(Xe)},get foldUnchanged(){return y()},get lineWrapping(){return G()},get onStageHunk(){return ue()},get onUnstageHunk(){return Q()},useProvidedContent:!0,get allowHeadReads(){return A()},get canReadHeadFiles(){return F()},get lineOffset(){return e(D)},get virtualizer(){return pt()},get gitRootId(){return vt()},get gitRootPath(){return _t()}})}var yt=C(Qe,2);{var re=Xe=>{var rt=Eo(),Ke=N(rt),At=N(Ke);Ne(At,{get icon(){return ro},class:"w-3 h-3"});var zt=C(At);H(Ke),H(rt),z(Mt=>K(zt,` ${Mt??""}`),[()=>P.chat_inlineDiffItem_clickToScroll_label()]),cn(1,rt,()=>Ws,()=>({tier:"fast",y:0,scale:1})),cn(2,rt,()=>Bs,()=>({tier:"fast"})),w(Xe,rt)};M(yt,Xe=>{Te()&&e(Fe)&&Xe(re)})}w(v,_e)},bt=v=>{var _e=No(),Qe=de(_e,!0);z(yt=>K(Qe,yt),[()=>P.chat_inlineDiffItem_noWorkspace_label()]),w(v,_e)};M(It,v=>{p?v(Ge):v(bt,-1)})}H(He),on(He,v=>m(qe,v),()=>e(qe)),z(v=>{wt=En(He,1,"inline-diff-container relative",null,wt,{focused:e(Re)}),Ve(He,"aria-label",v)},[()=>P.chat_inlineDiffItem_viewer_ariaLabel()]),sn("mouseenter",He,ie),sn("mouseleave",He,De),sn("wheel",He,Le),ln("focusin",He,jt),ln("focusout",He,qt),w(f,He);var mn=fn(Ht);return c(),mn}xr(["focusin","focusout"]);function yr(f){return[f.stage,f.type,f.oldLineNumber??"",f.newLineNumber??"",f.content].join("\0")}function Do(f){let r=f.oldStart,l=f.newStart;return f.lines.map(a=>{const c={...a,oldLineNumber:a.oldLineNumber??a.oldNumber,newLineNumber:a.newLineNumber??a.newNumber};return c.oldLineNumber===void 0&&c.newLineNumber===void 0?a.type==="Context"?(c.oldLineNumber=r++,c.newLineNumber=l++):a.type==="Deletion"?c.oldLineNumber=r++:a.type==="Addition"&&(c.newLineNumber=l++):a.type==="Context"?(r=(c.oldLineNumber??r)+1,l=(c.newLineNumber??l)+1):a.type==="Deletion"?r=(c.oldLineNumber??r)+1:a.type==="Addition"&&(l=(c.newLineNumber??l)+1),c})}function zo(f,r){const l=f?f.split(`
2
2
  `):[],a=r?r.split(`
3
3
  `):[];if(l.length===0&&a.length===0)return[];const c=[];for(const p of l)c.push({type:"Deletion",content:p});for(const p of a)c.push({type:"Addition",content:p});return[{oldStart:1,oldLines:l.length,newStart:1,newLines:a.length,lines:c}]}function Mo(f){if(!f||f.length===0)return[];const r=[];for(const a of f){let c=a.change.chunks||[];c.length===0&&(a.change.oldContent!=null||a.change.newContent!=null)&&(c=zo(a.change.oldContent??"",a.change.newContent??"")),c.forEach((p,b)=>{r.push({hunk:p,stage:a.category,part:a,hunkIndex:b})})}if(r.length===0)return[];r.sort((a,c)=>a.hunk.newStart-c.hunk.newStart);const l=[];for(const{hunk:a,stage:c,hunkIndex:p}of r){const y=Do(a).map(A=>({type:A.type,content:A.content,oldLineNumber:A.oldLineNumber,newLineNumber:A.newLineNumber,stage:c,hunkIndex:p}));l.push({headStart:a.oldStart,headLines:a.oldLines,wtStart:a.newStart,wtLines:a.newLines,lines:y,stages:new Set([c])})}return $o(l)}function $o(f){if(f.length<=1)return f;const r=[];let l=f[0];for(let a=1;a<f.length;a++){const c=f[a],p=l.wtStart+l.wtLines;c.wtStart<=p+3?l=Fo(l,c):(r.push(l),l=c)}return r.push(l),r}function Fo(f,r){const l=new Map,a=new Map,c=new Set;for(const h of f.lines)c.add(yr(h)),h.newLineNumber!==void 0&&l.set(h.newLineNumber,h),h.oldLineNumber!==void 0&&h.type!=="Addition"&&a.set(h.oldLineNumber,h);const p=[...f.lines];for(const h of r.lines){const oe=yr(h);if(!c.has(oe)){if(h.type==="Context"){const Te=h.newLineNumber!==void 0?l.get(h.newLineNumber):void 0,ue=h.oldLineNumber!==void 0?a.get(h.oldLineNumber):void 0;if(Te?.type==="Context"||ue?.type==="Context"){c.add(oe);continue}}p.push(h),c.add(oe),h.newLineNumber!==void 0&&l.set(h.newLineNumber,h),h.oldLineNumber!==void 0&&h.type!=="Addition"&&a.set(h.oldLineNumber,h)}}p.sort((h,oe)=>{const Te=h.newLineNumber??h.oldLineNumber??0,ue=oe.newLineNumber??oe.oldLineNumber??0;return Te-ue});const b=new Set([...f.stages,...r.stages]),y=Math.min(f.headStart,r.headStart),A=Math.min(f.wtStart,r.wtStart),F=Math.max(f.headStart+f.headLines,r.headStart+r.headLines),G=Math.max(f.wtStart+f.wtLines,r.wtStart+r.wtLines);return{headStart:y,headLines:F-y,wtStart:A,wtLines:G-A,lines:p,stages:b}}function Uo(f){const r=[],l=[];let a=f[0]?.headStart??1,c=f[0]?.wtStart??1;const p=(b,y,A)=>{let F=y;for(;F<A;)b.push(""),F++;return F};for(const b of f){a=p(r,a,b.headStart),c=p(l,c,b.wtStart);for(const y of b.lines)y.type==="Context"?(y.oldLineNumber!==void 0&&(a=p(r,a,y.oldLineNumber)),y.newLineNumber!==void 0&&(c=p(l,c,y.newLineNumber)),r.push(y.content),l.push(y.content),a++,c++):y.type==="Deletion"?(y.oldLineNumber!==void 0&&(a=p(r,a,y.oldLineNumber)),r.push(y.content),a++):y.type==="Addition"&&(y.newLineNumber!==void 0&&(c=p(l,c,y.newLineNumber)),l.push(y.content),c++)}return{oldContent:r.join(`
4
4
  `),newContent:l.join(`
@@ -1 +1 @@
1
- var qr=Object.defineProperty;var Yt=d=>{throw TypeError(d)};var zr=(d,e,t)=>e in d?qr(d,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):d[e]=t;var M=(d,e,t)=>zr(d,typeof e!="symbol"?e+"":e,t),xt=(d,e,t)=>e.has(d)||Yt("Cannot "+t);var h=(d,e,t)=>(xt(d,e,"read from private field"),t?t.call(d):e.get(d)),H=(d,e,t)=>e.has(d)?Yt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(d):e.set(d,t),Ie=(d,e,t,r)=>(xt(d,e,"write to private field"),r?r.call(d,t):e.set(d,t),t),Pe=(d,e,t)=>(xt(d,e,"access private method"),t);import{t as te,bq as a,by as re,b as ne,br as be,bt as _e,bo as jt}from"./D9jYN6_J.js";import{c9 as x,aD as n,bs as oe,a7 as q,ay as K,W as S,bn as se,aA as l,aB as $,bH as k,bV as Y,bi as Gr,ca as ve,cb as Yr,bf as ae,bo as ke,a5 as X,bA as Z,bS as ct,bI as jr,aG as At,c5 as Jr,bl as sr,b_ as Et,bO as Qr,br as Xr,bk as Zr,c0 as Ct}from"./DYhIMPy1.js";import{s as j}from"./Cx31i8ng.js";import{c as pe}from"./DZyAzxxC.js";import{e as $r,s as en,g as tn,i as rn,f as nn,b as on}from"./DHROL4K5.js";import{i as Q}from"./7eL9Pgig.js";import{g as sn,e as Jt}from"./Bgw3O9rE.js";import{aY as an,aQ as de,au as ln,aI as dn,h as Tt,an as Ce,D as yt,i as un,d as le,a as fe,l as pt,a6 as _t,ac as ft,_ as Ht,J as Mt,Z as Rt,E as Vt,aR as ir,aW as ar,aC as lr,ap as dr,aq as Lt,aF as Dt,ar as ur,a$ as me,aN as hn,aU as cn,aH as gn,aG as pn,at as Qt,am as hr,a2 as fn,av as U,ay as vn,m as cr,b as mn,c as bn,a4 as yn,C as wn,g as xn,A as _n,M as Cn,F as Nn,r as In,s as Pn,t as Sn,u as kn,v as On,w as An,x as En,y as Tn,o as Hn,p as Mn,q as Rn,B as Vn,z as Ln,az as ue,aS as J,a0 as gr,$ as pr,aV as Dn,H as Fn,f as Kn,a1 as Bn}from"./0qEvU7Aj.js";import{b as ee,e as xe,f as fr,s as vr,c as Wn}from"./C_EpV6jU.js";import{F as mr,as as Un,bV as qn,au as zn,aq as Gn}from"./CAUaU8Wh.js";import"./Dkva_evl.js";import{b as Yn}from"./BaIAhI85.js";import{P as jn,u as Jn,b as Xt,a as Qn}from"./d-Ep-sfP.js";import{c as Xn,u as Zn,s as $n}from"./DfxQWSVU.js";import"./DtAyUyC0.js";import{s as eo,a as to}from"./BsieX9dN.js";const br={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",transform:"translateX(-100%)"};an(br);var Ee,mt;class ro{constructor(e,t){H(this,Ee,()=>{});H(this,mt,x(()=>h(this,Ee).call(this)));let r;t!==void 0&&(r=t),Ie(this,Ee,()=>{try{return r}finally{r=e()}})}get current(){return n(h(this,mt))}}Ee=new WeakMap,mt=new WeakMap;var no=new Set(["$$slots","$$events","$$legacy","value"]),Zt=$("<input/>");function yr(d,e){if(new.target)return te({component:yr,...d});oe(e,!0);let t=a(e,"value",15),r=be(e,no);const s=x(()=>de(r,{"aria-hidden":"true",tabindex:-1,style:{...br,position:"absolute",top:"0",left:"0"}}));var o={get value(){return t()},set value(u){t(u),l()},$set:re,$on:(u,p)=>ne(e,u,p)},i=q(),v=K(i);{var _=u=>{var p=Zt();ee(p,()=>({...n(s),value:t()}),void 0,void 0,void 0,void 0,!0),S(u,p)},m=u=>{var p=Zt();ee(p,()=>({...n(s)}),void 0,void 0,void 0,void 0,!0),$r(p,t),S(u,p)};Q(v,u=>{n(s).type==="checkbox"?u(_):u(m,-1)})}return S(d,i),se(o)}var ce,ye,ge;class oo{constructor(e){H(this,ce);H(this,ye,x(()=>h(this,ce).candidateValues()));H(this,ge);Ie(this,ce,e),Ie(this,ge,ln("",{afterMs:1e3,getWindow:h(this,ce).getWindow})),this.handleTypeaheadSearch=this.handleTypeaheadSearch.bind(this),this.resetTypeahead=this.resetTypeahead.bind(this)}handleTypeaheadSearch(e){if(!h(this,ce).enabled()||!n(h(this,ye)).length)return;h(this,ge).current=h(this,ge).current+e;const t=h(this,ce).getCurrentItem(),r=n(h(this,ye)).find(v=>v===t)??"",s=n(h(this,ye)).map(v=>v??""),o=dn(s,h(this,ge).current,r),i=n(h(this,ye)).find(v=>v===o);return i&&h(this,ce).onMatch(i),i}resetTypeahead(){h(this,ge).current=""}}ce=new WeakMap,ye=new WeakMap,ge=new WeakMap;const $t=[mn,cr,bn,yn,wn,xn,_n,Cn,pt,Nn,In,Pn,Sn,kn,On,An,En,Tn,Hn,Mn,Rn],so=[fe,Ht,Mt],io=[le,Rt,Vt],wr=[...so,...io],ao=vn({component:"select",parts:["trigger","content","item","viewport","scroll-up-button","scroll-down-button","group","group-label","separator","arrow","input","content-wrapper","item-text","value"]}),Ne=new Tt("Select.Root | Combobox.Root"),xr=new Tt("Select.Group | Combobox.Group"),_r=new Tt("Select.Content | Combobox.Content");var Te,He,Me,Re,Ve,Le,De,Fe,Ke,Be,We,Ue;class Cr{constructor(e){M(this,"opts");H(this,Te,Y(!1));H(this,He,Y(null));H(this,Me,Y(null));M(this,"contentPresence");H(this,Re,Y(null));H(this,Ve,Y(null));H(this,Le,Y(null));H(this,De,Y(""));H(this,Fe,Y(null));H(this,Ke,x(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-value"):null));H(this,Be,x(()=>{if(this.highlightedNode)return this.highlightedNode.id}));H(this,We,x(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-label"):null));H(this,Ue,Y(!1));M(this,"isUsingKeyboard",!1);M(this,"isCombobox",!1);M(this,"domContext",new yt(()=>null));M(this,"getBitsAttr",e=>ao.getAttr(e,this.isCombobox?"combobox":void 0));this.opts=e,this.isCombobox=e.isCombobox,this.contentPresence=new fn({ref:U(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),Yr(()=>{this.opts.open.current||this.setHighlightedNode(null)})}get touchedInput(){return n(h(this,Te))}set touchedInput(e){k(h(this,Te),e,!0)}get inputNode(){return n(h(this,He))}set inputNode(e){k(h(this,He),e,!0)}get contentNode(){return n(h(this,Me))}set contentNode(e){k(h(this,Me),e,!0)}get viewportNode(){return n(h(this,Re))}set viewportNode(e){k(h(this,Re),e,!0)}get triggerNode(){return n(h(this,Ve))}set triggerNode(e){k(h(this,Ve),e,!0)}get valueNode(){return n(h(this,Le))}set valueNode(e){k(h(this,Le),e,!0)}get valueId(){return n(h(this,De))}set valueId(e){k(h(this,De),e,!0)}get highlightedNode(){return n(h(this,Fe))}set highlightedNode(e){k(h(this,Fe),e,!0)}get highlightedValue(){return n(h(this,Ke))}set highlightedValue(e){k(h(this,Ke),e)}get highlightedId(){return n(h(this,Be))}set highlightedId(e){k(h(this,Be),e)}get highlightedLabel(){return n(h(this,We))}set highlightedLabel(e){k(h(this,We),e)}get contentIsPositioned(){return n(h(this,Ue))}set contentIsPositioned(e){k(h(this,Ue),e,!0)}setHighlightedNode(e,t=!1){this.highlightedNode=e,e&&(this.isUsingKeyboard||t)&&this.scrollHighlightedNodeIntoView(e)}scrollHighlightedNodeIntoView(e){!this.viewportNode||!this.contentIsPositioned||e.scrollIntoView({block:this.opts.scrollAlignment.current})}getCandidateNodes(){const e=this.contentNode;return e?Array.from(e.querySelectorAll(`[${this.getBitsAttr("item")}]:not([data-disabled])`)):[]}setHighlightedToFirstCandidate(e=!1){this.setHighlightedNode(null);let t=this.getCandidateNodes();if(t.length){if(this.viewportNode){const r=this.viewportNode.getBoundingClientRect();t=t.filter(s=>{if(!this.viewportNode)return!1;const o=s.getBoundingClientRect();return o.right<=r.right&&o.left>=r.left&&o.bottom<=r.bottom&&o.top>=r.top})}this.setHighlightedNode(t[0],e)}}getNodeByValue(e){return this.getCandidateNodes().find(r=>r.dataset.value===e)??null}getLabelForValue(e){if(e==="")return"";const t=this.opts.items.current.find(s=>s.value===e)?.label;if(t!==void 0)return t;const r=this.getNodeByValue(e);if(r){const s=r.getAttribute("data-label");return s!==null&&s!==""?s:r.textContent?.trim()??e}return e}setOpen(e){this.opts.open.current=e}toggleOpen(){this.opts.open.current=!this.opts.open.current}handleOpen(){this.setOpen(!0)}handleClose(){this.setHighlightedNode(null),this.setOpen(!1)}toggleMenu(){this.toggleOpen()}}Te=new WeakMap,He=new WeakMap,Me=new WeakMap,Re=new WeakMap,Ve=new WeakMap,Le=new WeakMap,De=new WeakMap,Fe=new WeakMap,Ke=new WeakMap,Be=new WeakMap,We=new WeakMap,Ue=new WeakMap;var qe,ze,Ge,Ye;class lo extends Cr{constructor(t){super(t);M(this,"opts");M(this,"isMulti",!1);H(this,qe,x(()=>this.opts.value.current!==""));H(this,ze,x(()=>this.opts.items.current.length?this.opts.items.current.find(t=>t.value===this.opts.value.current)?.label??"":""));H(this,Ge,x(()=>this.opts.items.current.length?this.opts.items.current.filter(r=>!r.disabled).map(r=>r.label):[]));H(this,Ye,x(()=>!(this.isMulti||this.opts.items.current.length===0)));this.opts=t,ve(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),me(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}get hasValue(){return n(h(this,qe))}set hasValue(t){k(h(this,qe),t)}get currentLabel(){return n(h(this,ze))}set currentLabel(t){k(h(this,ze),t)}get candidateLabels(){return n(h(this,Ge))}set candidateLabels(t){k(h(this,Ge),t)}get dataTypeaheadEnabled(){return n(h(this,Ye))}set dataTypeaheadEnabled(t){k(h(this,Ye),t)}includesItem(t){return this.opts.value.current===t}toggleItem(t,r=t){const s=this.includesItem(t)?"":t;this.opts.value.current=s,s!==""&&(this.opts.inputValue.current=r)}setInitialHighlightedNode(){hr(()=>{if(!(this.highlightedNode&&this.domContext.getDocument().contains(this.highlightedNode))){if(this.opts.value.current!==""){const t=this.getNodeByValue(this.opts.value.current);if(t){this.setHighlightedNode(t,!0);return}}this.setHighlightedToFirstCandidate(!0)}})}}qe=new WeakMap,ze=new WeakMap,Ge=new WeakMap,Ye=new WeakMap;var je;class uo extends Cr{constructor(t){super(t);M(this,"opts");M(this,"isMulti",!0);H(this,je,x(()=>this.opts.value.current.length>0));this.opts=t,ve(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),me(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}get hasValue(){return n(h(this,je))}set hasValue(t){k(h(this,je),t)}includesItem(t){return this.opts.value.current.includes(t)}toggleItem(t,r=t){this.includesItem(t)?this.opts.value.current=this.opts.value.current.filter(s=>s!==t):this.opts.value.current=[...this.opts.value.current,t],this.opts.inputValue.current=r}setInitialHighlightedNode(){hr(()=>{if(this.domContext&&!(this.highlightedNode&&this.domContext.getDocument().contains(this.highlightedNode))){if(this.opts.value.current.length&&this.opts.value.current[0]!==""){const t=this.getNodeByValue(this.opts.value.current[0]);if(t){this.setHighlightedNode(t,!0);return}}this.setHighlightedToFirstCandidate(!0)}})}}je=new WeakMap;class ho{static create(e){const{type:t,...r}=e,s=t==="single"?new lo(r):new uo(r);return Ne.set(s)}}var Je;const Ft=class Ft{constructor(e,t){M(this,"opts");M(this,"root");M(this,"attachment");H(this,Je,x(()=>({id:this.opts.id.current,role:"combobox",disabled:this.root.opts.disabled.current?!0:void 0,"aria-activedescendant":this.root.highlightedId,"aria-autocomplete":"list","aria-expanded":ur(this.root.opts.open.current),"data-state":Dt(this.root.opts.open.current),"data-disabled":Lt(this.root.opts.disabled.current),onkeydown:this.onkeydown,oninput:this.oninput,[this.root.getBitsAttr("input")]:"",...this.attachment})));this.opts=e,this.root=t,this.attachment=Ce(e.ref,r=>this.root.inputNode=r),this.root.domContext=new yt(e.ref),this.onkeydown=this.onkeydown.bind(this),this.oninput=this.oninput.bind(this),me([()=>this.root.opts.value.current,()=>this.opts.clearOnDeselect.current],([r,s],[o])=>{s&&(Array.isArray(r)&&Array.isArray(o)?r.length===0&&o.length!==0&&(this.root.opts.inputValue.current=""):r===""&&o!==""&&(this.root.opts.inputValue.current=""))})}static create(e){return new Ft(e,Ne.get())}onkeydown(e){if(this.root.isUsingKeyboard=!0,e.key!==cr){if((e.key===le||e.key===fe)&&e.preventDefault(),!this.root.opts.open.current){if($t.includes(e.key)||e.key===ft||e.key===Vn&&this.root.opts.inputValue.current===""||(this.root.handleOpen(),this.root.hasValue))return;const t=this.root.getCandidateNodes();if(!t.length)return;if(e.key===fe){const r=t[0];this.root.setHighlightedNode(r)}else if(e.key===le){const r=t[t.length-1];this.root.setHighlightedNode(r)}return}if(e.key===ft){this.root.handleClose();return}if(e.key===pt&&!e.isComposing){e.preventDefault();const t=this.root.highlightedValue===this.root.opts.value.current;if(!this.root.opts.allowDeselect.current&&t&&!this.root.isMulti){this.root.handleClose();return}this.root.highlightedValue&&this.root.highlightedNode&&this.root.highlightedNode.isConnected&&this.root.toggleItem(this.root.highlightedValue,this.root.highlightedLabel??void 0),!this.root.isMulti&&!t&&this.root.handleClose()}if(e.key===le&&e.altKey&&this.root.handleClose(),wr.includes(e.key)){e.preventDefault();const t=this.root.getCandidateNodes(),r=this.root.highlightedNode,s=r?t.indexOf(r):-1,o=this.root.opts.loop.current;let i;if(e.key===fe?i=ir(t,s,o):e.key===le?i=ar(t,s,o):e.key===Rt?i=lr(t,s,10,o):e.key===Ht?i=dr(t,s,10,o):e.key===Mt?i=t[0]:e.key===Vt&&(i=t[t.length-1]),!i)return;this.root.setHighlightedNode(i);return}$t.includes(e.key)||this.root.highlightedNode||this.root.setHighlightedToFirstCandidate()}}oninput(e){this.root.opts.inputValue.current=e.currentTarget.value,this.root.setHighlightedToFirstCandidate()}get props(){return n(h(this,Je))}set props(e){k(h(this,Je),e)}};Je=new WeakMap;let er=Ft;var we,Se,he,Nr,It,Pt,Qe;const Kt=class Kt{constructor(e,t){H(this,he);M(this,"opts");M(this,"root");M(this,"attachment");H(this,we);H(this,Se);H(this,Qe,x(()=>({id:this.opts.id.current,disabled:this.root.opts.disabled.current?!0:void 0,"aria-haspopup":"listbox","aria-expanded":ur(this.root.opts.open.current),"aria-activedescendant":this.root.highlightedId,"data-state":Dt(this.root.opts.open.current),"data-disabled":Lt(this.root.opts.disabled.current),"data-placeholder":this.root.hasValue?void 0:"",[this.root.getBitsAttr("trigger")]:"",onpointerdown:this.onpointerdown,onkeydown:this.onkeydown,onclick:this.onclick,onpointerup:this.onpointerup,...this.attachment})));this.opts=e,this.root=t,this.attachment=Ce(e.ref,r=>this.root.triggerNode=r),this.root.domContext=new yt(e.ref),Ie(this,we,new un({getCurrentItem:()=>this.root.highlightedNode,onMatch:r=>{this.root.setHighlightedNode(r)},getActiveElement:()=>this.root.domContext.getActiveElement(),getWindow:()=>this.root.domContext.getWindow()})),Ie(this,Se,new oo({getCurrentItem:()=>this.root.isMulti?"":this.root.currentLabel,onMatch:r=>{if(this.root.isMulti||!this.root.opts.items.current)return;const s=this.root.opts.items.current.find(o=>o.label===r);s&&(this.root.opts.value.current=s.value)},enabled:()=>!this.root.isMulti&&this.root.dataTypeaheadEnabled,candidateValues:()=>this.root.isMulti?[]:this.root.candidateLabels,getWindow:()=>this.root.domContext.getWindow()})),this.onkeydown=this.onkeydown.bind(this),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onclick=this.onclick.bind(this)}static create(e){return new Kt(e,Ne.get())}onkeydown(e){if(this.root.isUsingKeyboard=!0,(e.key===le||e.key===fe)&&e.preventDefault(),!this.root.opts.open.current){if(e.key===pt||e.key===_t||e.key===fe||e.key===le)e.preventDefault(),this.root.handleOpen();else if(!this.root.isMulti&&this.root.dataTypeaheadEnabled){h(this,Se).handleTypeaheadSearch(e.key);return}if(this.root.hasValue)return;const i=this.root.getCandidateNodes();if(!i.length)return;if(e.key===fe){const v=i[0];this.root.setHighlightedNode(v)}else if(e.key===le){const v=i[i.length-1];this.root.setHighlightedNode(v)}return}if(e.key===ft){this.root.handleClose();return}if((e.key===pt||e.key===_t&&h(this,we).search==="")&&!e.isComposing&&(e.preventDefault(),Pe(this,he,Pt).call(this)))return;if(e.key===le&&e.altKey&&this.root.handleClose(),wr.includes(e.key)){e.preventDefault();const i=this.root.getCandidateNodes(),v=this.root.highlightedNode,_=v?i.indexOf(v):-1,m=this.root.opts.loop.current;let u;if(e.key===fe?u=ir(i,_,m):e.key===le?u=ar(i,_,m):e.key===Rt?u=lr(i,_,10,m):e.key===Ht?u=dr(i,_,10,m):e.key===Mt?u=i[0]:e.key===Vt&&(u=i[i.length-1]),!u)return;this.root.setHighlightedNode(u);return}const t=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1,s=e.key===_t,o=this.root.getCandidateNodes();if(e.key!==ft){if(!t&&(r||s)){!h(this,we).handleTypeaheadSearch(e.key,o)&&s&&(e.preventDefault(),Pe(this,he,Pt).call(this));return}this.root.highlightedNode||this.root.setHighlightedToFirstCandidate()}}onclick(e){e.currentTarget.focus()}onpointerdown(e){if(this.root.opts.disabled.current)return;if(e.pointerType==="touch")return e.preventDefault();const t=e.target;t?.hasPointerCapture(e.pointerId)&&t?.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&(this.root.opts.open.current===!1?Pe(this,he,It).call(this,e):this.root.handleClose())}onpointerup(e){this.root.opts.disabled.current||(e.preventDefault(),e.pointerType==="touch"&&(this.root.opts.open.current===!1?Pe(this,he,It).call(this,e):this.root.handleClose()))}get props(){return n(h(this,Qe))}set props(e){k(h(this,Qe),e)}};we=new WeakMap,Se=new WeakMap,he=new WeakSet,Nr=function(){this.root.opts.open.current=!0,h(this,Se).resetTypeahead(),h(this,we).resetTypeahead()},It=function(e){Pe(this,he,Nr).call(this)},Pt=function(){const e=this.root.highlightedValue===this.root.opts.value.current;return!this.root.opts.allowDeselect.current&&e&&!this.root.isMulti?(this.root.handleClose(),!0):(this.root.highlightedValue!==null&&this.root.toggleItem(this.root.highlightedValue,this.root.highlightedLabel??void 0),!this.root.isMulti&&!e?(this.root.handleClose(),!0):!1)},Qe=new WeakMap;let Nt=Kt;var Xe,bt,Ze,$e;const Bt=class Bt{constructor(e,t){M(this,"opts");M(this,"root");M(this,"attachment");H(this,Xe,Y(!1));M(this,"domContext");H(this,bt,x(()=>gn(this.root.isCombobox?"combobox":"select")));M(this,"onInteractOutside",e=>{if(e.target===this.root.triggerNode||e.target===this.root.inputNode){e.preventDefault();return}this.opts.onInteractOutside.current(e),!e.defaultPrevented&&this.root.handleClose()});M(this,"onEscapeKeydown",e=>{this.opts.onEscapeKeydown.current(e),!e.defaultPrevented&&this.root.handleClose()});M(this,"onOpenAutoFocus",e=>{e.preventDefault()});M(this,"onCloseAutoFocus",e=>{e.preventDefault()});H(this,Ze,x(()=>({open:this.root.opts.open.current})));H(this,$e,x(()=>({id:this.opts.id.current,role:"listbox","aria-multiselectable":this.root.isMulti?"true":void 0,"data-state":Dt(this.root.opts.open.current),...pn(this.root.contentPresence.transitionStatus),[this.root.getBitsAttr("content")]:"",style:{display:"flex",flexDirection:"column",outline:"none",boxSizing:"border-box",pointerEvents:"auto",...n(h(this,bt))},onpointermove:this.onpointermove,...this.attachment})));M(this,"popperProps",{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus,trapFocus:!1,loop:!1,onPlaced:()=>{this.root.opts.open.current&&(this.root.contentIsPositioned=!0,this.isPositioned=!0)}});this.opts=e,this.root=t,this.attachment=Ce(e.ref,r=>this.root.contentNode=r),this.domContext=new yt(this.opts.ref),this.root.domContext===null&&(this.root.domContext=this.domContext),cn(()=>{this.root.contentNode=null,this.root.contentIsPositioned=!1,this.isPositioned=!1}),me(()=>this.root.opts.open.current,()=>{this.root.opts.open.current||(this.root.contentIsPositioned=!1,this.isPositioned=!1)}),me([()=>this.isPositioned,()=>this.root.highlightedNode],()=>{!this.isPositioned||!this.root.highlightedNode||this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode)}),this.onpointermove=this.onpointermove.bind(this)}static create(e){return _r.set(new Bt(e,Ne.get()))}get isPositioned(){return n(h(this,Xe))}set isPositioned(e){k(h(this,Xe),e,!0)}onpointermove(e){this.root.isUsingKeyboard=!1}get shouldRender(){return this.root.contentPresence.shouldRender}get snippetProps(){return n(h(this,Ze))}set snippetProps(e){k(h(this,Ze),e)}get props(){return n(h(this,$e))}set props(e){k(h(this,$e),e)}};Xe=new WeakMap,bt=new WeakMap,Ze=new WeakMap,$e=new WeakMap;let vt=Bt;var et,tt,rt,nt,ot;const Wt=class Wt{constructor(e,t){M(this,"opts");M(this,"root");M(this,"attachment");H(this,et,x(()=>this.root.includesItem(this.opts.value.current)));H(this,tt,x(()=>this.root.highlightedValue===this.opts.value.current));M(this,"prevHighlighted",new ro(()=>this.isHighlighted));H(this,rt,Y(!1));H(this,nt,x(()=>({selected:this.isSelected,highlighted:this.isHighlighted})));H(this,ot,x(()=>({id:this.opts.id.current,role:"option","aria-selected":this.root.includesItem(this.opts.value.current)?"true":void 0,"data-value":this.opts.value.current,"data-disabled":Lt(this.opts.disabled.current),"data-highlighted":this.root.highlightedValue===this.opts.value.current&&!this.opts.disabled.current?"":void 0,"data-selected":this.root.includesItem(this.opts.value.current)?"":void 0,"data-label":this.opts.label.current,[this.root.getBitsAttr("item")]:"",onpointermove:this.onpointermove,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,...this.attachment})));this.opts=e,this.root=t,this.attachment=Ce(e.ref),me([()=>this.isHighlighted,()=>this.prevHighlighted.current],()=>{this.isHighlighted?this.opts.onHighlight.current():this.prevHighlighted.current&&this.opts.onUnhighlight.current()}),me(()=>this.mounted,()=>{this.mounted&&this.root.setInitialHighlightedNode()}),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onpointermove=this.onpointermove.bind(this)}static create(e){return new Wt(e,Ne.get())}get isSelected(){return n(h(this,et))}set isSelected(e){k(h(this,et),e)}get isHighlighted(){return n(h(this,tt))}set isHighlighted(e){k(h(this,tt),e)}get mounted(){return n(h(this,rt))}set mounted(e){k(h(this,rt),e,!0)}handleSelect(){if(this.opts.disabled.current)return;const e=this.opts.value.current===this.root.opts.value.current;if(!this.root.opts.allowDeselect.current&&e&&!this.root.isMulti){this.root.handleClose();return}this.root.toggleItem(this.opts.value.current,this.opts.label.current),!this.root.isMulti&&!e&&this.root.handleClose()}get snippetProps(){return n(h(this,nt))}set snippetProps(e){k(h(this,nt),e)}onpointerdown(e){e.preventDefault()}onpointerup(e){if(!(e.defaultPrevented||!this.opts.ref.current)){if(e.pointerType==="touch"&&!hn){Gr(this.opts.ref.current,"click",()=>{this.handleSelect(),this.root.setHighlightedNode(this.opts.ref.current)},{once:!0});return}e.preventDefault(),this.handleSelect(),e.pointerType==="touch"&&this.root.setHighlightedNode(this.opts.ref.current)}}onpointermove(e){e.pointerType!=="touch"&&this.root.highlightedNode!==this.opts.ref.current&&this.root.setHighlightedNode(this.opts.ref.current)}get props(){return n(h(this,ot))}set props(e){k(h(this,ot),e)}};et=new WeakMap,tt=new WeakMap,rt=new WeakMap,nt=new WeakMap,ot=new WeakMap;let St=Wt;var st,it;const Ut=class Ut{constructor(e,t){M(this,"opts");M(this,"root");H(this,st,Y(null));M(this,"attachment");H(this,it,x(()=>({id:this.opts.id.current,role:"group",[this.root.getBitsAttr("group")]:"","aria-labelledby":this.labelNode?.id??void 0,...this.attachment})));this.opts=e,this.root=t,this.attachment=Ce(e.ref)}static create(e){return xr.set(new Ut(e,Ne.get()))}get labelNode(){return n(h(this,st))}set labelNode(e){k(h(this,st),e,!0)}get props(){return n(h(this,it))}set props(e){k(h(this,it),e)}};st=new WeakMap,it=new WeakMap;let tr=Ut;var at;const qt=class qt{constructor(e,t){M(this,"opts");M(this,"group");M(this,"attachment");H(this,at,x(()=>({id:this.opts.id.current,[this.group.root.getBitsAttr("group-label")]:"",...this.attachment})));this.opts=e,this.group=t,this.attachment=Ce(e.ref,r=>this.group.labelNode=r)}static create(e){return new qt(e,xr.get())}get props(){return n(h(this,at))}set props(e){k(h(this,at),e)}};at=new WeakMap;let rr=qt;var lt,dt;const zt=class zt{constructor(e,t){M(this,"opts");M(this,"root");H(this,lt,x(()=>this.root.opts.name.current!==""));H(this,dt,x(()=>({disabled:Qt(this.root.opts.disabled.current),required:Qt(this.root.opts.required.current),name:this.root.opts.name.current,value:this.opts.value.current,onfocus:this.onfocus})));this.opts=e,this.root=t,this.onfocus=this.onfocus.bind(this)}static create(e){return new zt(e,Ne.get())}get shouldRender(){return n(h(this,lt))}set shouldRender(e){k(h(this,lt),e)}onfocus(e){e.preventDefault(),this.root.isCombobox?this.root.inputNode?.focus():this.root.triggerNode?.focus()}get props(){return n(h(this,dt))}set props(e){k(h(this,dt),e)}};lt=new WeakMap,dt=new WeakMap;let kt=zt;var ut,ht;const Gt=class Gt{constructor(e,t){M(this,"opts");M(this,"content");M(this,"root");M(this,"attachment");H(this,ut,Y(0));H(this,ht,x(()=>({id:this.opts.id.current,role:"presentation",[this.root.getBitsAttr("viewport")]:"",style:{position:"relative",flex:1,overflow:"auto"},...this.attachment})));this.opts=e,this.content=t,this.root=t.root,this.attachment=Ce(e.ref,r=>{this.root.viewportNode=r})}static create(e){return new Gt(e,_r.get())}get prevScrollTop(){return n(h(this,ut))}set prevScrollTop(e){k(h(this,ut),e,!0)}get props(){return n(h(this,ht))}set props(e){k(h(this,ht),e)}};ut=new WeakMap,ht=new WeakMap;let Ot=Gt;function gt(d,e){if(new.target)return te({component:gt,...d});oe(e,!0);let t=a(e,"value",15),r=a(e,"autocomplete",7);const s=kt.create({value:U(()=>t())});var o={get value(){return t()},set value(m){t(m),l()},get autocomplete(){return r()},set autocomplete(m){r(m),l()},$set:re,$on:(m,u)=>ne(e,m,u)},i=q(),v=K(i);{var _=m=>{yr(m,_e(()=>s.props,{get autocomplete(){return r()},get value(){return t()},set value(u){t(u)}}))};Q(v,m=>{s.shouldRender&&m(_)})}return S(d,i),se(o)}function Ir(d,e){if(new.target)return te({component:Ir,...d});oe(e,!0);let t=a(e,"id",7),r=a(e,"children",7),s=a(e,"virtualEl",7),o=a(e,"ref",7),i=a(e,"tooltip",7,!1);Ln.create({id:U(()=>t()),virtualEl:U(()=>s()),ref:o()},i());var v={get id(){return t()},set id(u){t(u),l()},get children(){return r()},set children(u){r(u),l()},get virtualEl(){return s()},set virtualEl(u){s(u),l()},get ref(){return o()},set ref(u){o(u),l()},get tooltip(){return i()},set tooltip(u=!1){i(u),l()},$set:re,$on:(u,p)=>ne(e,u,p)},_=q(),m=K(_);return j(m,()=>r()??ae),S(d,_),se(v)}var co=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount","side","onInteractOutside","onEscapeKeydown","children","child","preventScroll","style"]),nr=$("<div><div><!></div></div>");function Pr(d,e){const t=ke();if(new.target)return te({component:Pr,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"forceMount",7,!1),i=a(e,"side",7,"bottom"),v=a(e,"onInteractOutside",7,J),_=a(e,"onEscapeKeydown",7,J),m=a(e,"children",7),u=a(e,"child",7),p=a(e,"preventScroll",7,!1),T=a(e,"style",7),O=be(e,co);const C=vt.create({id:U(()=>r()),ref:U(()=>s(),c=>s(c)),onInteractOutside:U(()=>v()),onEscapeKeydown:U(()=>_())}),N=x(()=>de(O,C.props));var b={get id(){return r()},set id(c=ue(t)){r(c),l()},get ref(){return s()},set ref(c=null){s(c),l()},get forceMount(){return o()},set forceMount(c=!1){o(c),l()},get side(){return i()},set side(c="bottom"){i(c),l()},get onInteractOutside(){return v()},set onInteractOutside(c=J){v(c),l()},get onEscapeKeydown(){return _()},set onEscapeKeydown(c=J){_(c),l()},get children(){return m()},set children(c){m(c),l()},get child(){return u()},set child(c){u(c),l()},get preventScroll(){return p()},set preventScroll(c=!1){p(c),l()},get style(){return T()},set style(c){T(c),l()},$set:re,$on:(c,V)=>ne(e,c,V)},R=q(),D=K(R);{var G=c=>{gr(c,_e(()=>n(N),()=>C.popperProps,{get ref(){return C.opts.ref},get side(){return i()},get enabled(){return C.root.opts.open.current},get id(){return r()},get preventScroll(){return p()},forceMount:!0,get shouldRender(){return C.shouldRender},popper:(I,y)=>{let E=()=>(y?.()).props,B=()=>(y?.()).wrapperProps;const f=x(()=>de(E(),{style:C.props.style},{style:T()}));var L=q(),W=K(L);{var F=P=>{var A=q(),z=K(A);{let ie=x(()=>({props:n(f),wrapperProps:B(),...C.snippetProps}));j(z,u,()=>n(ie))}S(P,A)},w=P=>{var A=nr();ee(A,()=>({...B()}));var z=X(A);ee(z,()=>({...n(f)}));var ie=X(z);j(ie,()=>m()??ae),Z(z),Z(A),S(P,A)};Q(W,P=>{u()?P(F):P(w,-1)})}S(I,L)},$$slots:{popper:!0}}))},g=c=>{pr(c,_e(()=>n(N),()=>C.popperProps,{get ref(){return C.opts.ref},get side(){return i()},get open(){return C.root.opts.open.current},get id(){return r()},get preventScroll(){return p()},forceMount:!1,get shouldRender(){return C.shouldRender},popper:(I,y)=>{let E=()=>(y?.()).props,B=()=>(y?.()).wrapperProps;const f=x(()=>de(E(),{style:C.props.style},{style:T()}));var L=q(),W=K(L);{var F=P=>{var A=q(),z=K(A);{let ie=x(()=>({props:n(f),wrapperProps:B(),...C.snippetProps}));j(z,u,()=>n(ie))}S(P,A)},w=P=>{var A=nr();ee(A,()=>({...B()}));var z=X(A);ee(z,()=>({...n(f)}));var ie=X(z);j(ie,()=>m()??ae),Z(z),Z(A),S(P,A)};Q(W,P=>{u()?P(F):P(w,-1)})}S(I,L)},$$slots:{popper:!0}}))};Q(D,c=>{o()?c(G):o()||c(g,1)})}return S(d,R),se(b)}var go=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount","onInteractOutside","onEscapeKeydown","children","child","preventScroll","style"]),or=$("<div><!></div>");function Sr(d,e){const t=ke();if(new.target)return te({component:Sr,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"forceMount",7,!1),i=a(e,"onInteractOutside",7,J),v=a(e,"onEscapeKeydown",7,J),_=a(e,"children",7),m=a(e,"child",7),u=a(e,"preventScroll",7,!1),p=a(e,"style",7),T=be(e,go);const O=vt.create({id:U(()=>r()),ref:U(()=>s(),g=>s(g)),onInteractOutside:U(()=>i()),onEscapeKeydown:U(()=>v())}),C=x(()=>de(T,O.props));var N={get id(){return r()},set id(g=ue(t)){r(g),l()},get ref(){return s()},set ref(g=null){s(g),l()},get forceMount(){return o()},set forceMount(g=!1){o(g),l()},get onInteractOutside(){return i()},set onInteractOutside(g=J){i(g),l()},get onEscapeKeydown(){return v()},set onEscapeKeydown(g=J){v(g),l()},get children(){return _()},set children(g){_(g),l()},get child(){return m()},set child(g){m(g),l()},get preventScroll(){return u()},set preventScroll(g=!1){u(g),l()},get style(){return p()},set style(g){p(g),l()},$set:re,$on:(g,c)=>ne(e,g,c)},b=q(),R=K(b);{var D=g=>{gr(g,_e(()=>n(C),()=>O.popperProps,{get ref(){return O.opts.ref},isStatic:!0,get enabled(){return O.root.opts.open.current},get id(){return r()},get preventScroll(){return u()},forceMount:!0,get shouldRender(){return O.shouldRender},popper:(V,I)=>{let y=()=>(I?.()).props;const E=x(()=>de(y(),{style:O.props.style},{style:p()}));var B=q(),f=K(B);{var L=F=>{var w=q(),P=K(w);{let A=x(()=>({props:n(E),...O.snippetProps}));j(P,m,()=>n(A))}S(F,w)},W=F=>{var w=or();ee(w,()=>({...n(E)}));var P=X(w);j(P,()=>_()??ae),Z(w),S(F,w)};Q(f,F=>{m()?F(L):F(W,-1)})}S(V,B)},$$slots:{popper:!0}}))},G=g=>{pr(g,_e(()=>n(C),()=>O.popperProps,{get ref(){return O.opts.ref},isStatic:!0,get open(){return O.root.opts.open.current},get id(){return r()},get preventScroll(){return u()},forceMount:!1,get shouldRender(){return O.shouldRender},popper:(V,I)=>{let y=()=>(I?.()).props;const E=x(()=>de(y(),{style:O.props.style},{style:p()}));var B=q(),f=K(B);{var L=F=>{var w=q(),P=K(w);{let A=x(()=>({props:n(E),...O.snippetProps}));j(P,m,()=>n(A))}S(F,w)},W=F=>{var w=or();ee(w,()=>({...n(E)}));var P=X(w);j(P,()=>_()??ae),Z(w),S(F,w)};Q(f,F=>{m()?F(L):F(W,-1)})}S(V,B)},$$slots:{popper:!0}}))};Q(R,g=>{o()?g(D):o()||g(G,1)})}return S(d,b),se(N)}function kr(d,e){if(new.target)return te({component:kr,...d});oe(e,!0);let t=a(e,"mounted",15,!1),r=a(e,"onMountedChange",7,J);Dn(()=>(t(!0),r()(!0),()=>{t(!1),r()(!1)}));var s={get mounted(){return t()},set mounted(o=!1){t(o),l()},get onMountedChange(){return r()},set onMountedChange(o=J){r(o),l()},$set:re,$on:(o,i)=>ne(e,o,i)};return se(s)}var po=new Set(["$$slots","$$events","$$legacy","id","ref","value","label","disabled","children","child","onHighlight","onUnhighlight"]),fo=$("<div><!></div>"),vo=$("<!> <!>",1);function Or(d,e){const t=ke();if(new.target)return te({component:Or,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"value",7),i=a(e,"label",23,o),v=a(e,"disabled",7,!1),_=a(e,"children",7),m=a(e,"child",7),u=a(e,"onHighlight",7,J),p=a(e,"onUnhighlight",7,J),T=be(e,po);const O=St.create({id:U(()=>r()),ref:U(()=>s(),c=>s(c)),value:U(()=>o()),disabled:U(()=>v()),label:U(()=>i()),onHighlight:U(()=>u()),onUnhighlight:U(()=>p())}),C=x(()=>de(T,O.props));var N={get id(){return r()},set id(c=ue(t)){r(c),l()},get ref(){return s()},set ref(c=null){s(c),l()},get value(){return o()},set value(c){o(c),l()},get label(){return i()},set label(c=o){i(c),l()},get disabled(){return v()},set disabled(c=!1){v(c),l()},get children(){return _()},set children(c){_(c),l()},get child(){return m()},set child(c){m(c),l()},get onHighlight(){return u()},set onHighlight(c=J){u(c),l()},get onUnhighlight(){return p()},set onUnhighlight(c=J){p(c),l()},$set:re,$on:(c,V)=>ne(e,c,V)},b=vo(),R=K(b);{var D=c=>{var V=q(),I=K(V);{let y=x(()=>({props:n(C),...O.snippetProps}));j(I,m,()=>n(y))}S(c,V)},G=c=>{var V=fo();ee(V,()=>({...n(C)}));var I=X(V);j(I,()=>_()??ae,()=>O.snippetProps),Z(V),S(c,V)};Q(R,c=>{m()?c(D):c(G,-1)})}var g=ct(R,2);return kr(g,{get mounted(){return O.mounted},set mounted(c){O.mounted=c}}),S(d,b),se(N)}var mo=new Set(["$$slots","$$events","$$legacy","id","ref","children","child"]),bo=$("<div><!></div>");function Ar(d,e){const t=ke();if(new.target)return te({component:Ar,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"children",7),i=a(e,"child",7),v=be(e,mo);const _=Ot.create({id:U(()=>r()),ref:U(()=>s(),N=>s(N))}),m=x(()=>de(v,_.props));var u={get id(){return r()},set id(N=ue(t)){r(N),l()},get ref(){return s()},set ref(N=null){s(N),l()},get children(){return o()},set children(N){o(N),l()},get child(){return i()},set child(N){i(N),l()},$set:re,$on:(N,b)=>ne(e,N,b)},p=q(),T=K(p);{var O=N=>{var b=q(),R=K(b);j(R,i,()=>({props:n(m)})),S(N,b)},C=N=>{var b=bo();ee(b,()=>({...n(m)}));var R=X(b);j(R,()=>o()??ae),Z(b),S(N,b)};Q(T,N=>{i()?N(O):N(C,-1)})}return S(d,p),se(u)}var yo=$("<!> <!>",1);function Er(d,e){if(new.target)return te({component:Er,...d});oe(e,!0);let t=a(e,"value",15),r=a(e,"onValueChange",7,J),s=a(e,"name",7,""),o=a(e,"disabled",7,!1),i=a(e,"type",7),v=a(e,"open",15,!1),_=a(e,"onOpenChange",7,J),m=a(e,"onOpenChangeComplete",7,J),u=a(e,"loop",7,!1),p=a(e,"scrollAlignment",7,"nearest"),T=a(e,"required",7,!1),O=a(e,"items",23,()=>[]),C=a(e,"allowDeselect",7,!1),N=a(e,"autocomplete",7),b=a(e,"children",7);function R(){t()===void 0&&t(i()==="single"?"":[])}R(),me.pre(()=>t(),()=>{R()});let D=Y("");const G=ho.create({type:i(),value:U(()=>t(),f=>{t(f),r()(f)}),disabled:U(()=>o()),required:U(()=>T()),open:U(()=>v(),f=>{v(f),_()(f)}),loop:U(()=>u()),scrollAlignment:U(()=>p()),name:U(()=>s()),isCombobox:!1,items:U(()=>O()),allowDeselect:U(()=>C()),inputValue:U(()=>n(D),f=>k(D,f,!0)),onOpenChangeComplete:U(()=>m())});var g={get value(){return t()},set value(f){t(f),l()},get onValueChange(){return r()},set onValueChange(f=J){r(f),l()},get name(){return s()},set name(f=""){s(f),l()},get disabled(){return o()},set disabled(f=!1){o(f),l()},get type(){return i()},set type(f){i(f),l()},get open(){return v()},set open(f=!1){v(f),l()},get onOpenChange(){return _()},set onOpenChange(f=J){_(f),l()},get onOpenChangeComplete(){return m()},set onOpenChangeComplete(f=J){m(f),l()},get loop(){return u()},set loop(f=!1){u(f),l()},get scrollAlignment(){return p()},set scrollAlignment(f="nearest"){p(f),l()},get required(){return T()},set required(f=!1){T(f),l()},get items(){return O()},set items(f=[]){O(f),l()},get allowDeselect(){return C()},set allowDeselect(f=!1){C(f),l()},get autocomplete(){return N()},set autocomplete(f){N(f),l()},get children(){return b()},set children(f){b(f),l()},$set:re,$on:(f,L)=>ne(e,f,L)},c=yo(),V=K(c);Fn(V,{children:(f,L)=>{var W=q(),F=K(W);j(F,()=>b()??ae),S(f,W)},$$slots:{default:!0}});var I=ct(V,2);{var y=f=>{var L=q(),W=K(L);{var F=P=>{gt(P,{get autocomplete(){return N()}})},w=P=>{var A=q(),z=K(A);sn(z,16,()=>G.opts.value.current,ie=>ie,(ie,Oe)=>{gt(ie,{get value(){return Oe},get autocomplete(){return N()}})}),S(P,A)};Q(W,P=>{G.opts.value.current.length===0?P(F):P(w,-1)})}S(f,L)},E=x(()=>Array.isArray(G.opts.value.current)),B=f=>{gt(f,{get autocomplete(){return N()},get value(){return G.opts.value.current},set value(L){G.opts.value.current=L}})};Q(I,f=>{n(E)?f(y):f(B,-1)})}return S(d,c),se(g)}var wo=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","type"]),xo=$("<button><!></button>");function Tr(d,e){const t=ke();if(new.target)return te({component:Tr,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"child",7),i=a(e,"children",7),v=a(e,"type",7,"button"),_=be(e,wo);const m=Nt.create({id:U(()=>r()),ref:U(()=>s(),C=>s(C))}),u=x(()=>de(_,m.props,{type:v()}));var p={get id(){return r()},set id(C=ue(t)){r(C),l()},get ref(){return s()},set ref(C=null){s(C),l()},get child(){return o()},set child(C){o(C),l()},get children(){return i()},set children(C){i(C),l()},get type(){return v()},set type(C="button"){v(C),l()},$set:re,$on:(C,N)=>ne(e,C,N)},T=q(),O=K(T);return pe(O,()=>Ir,(C,N)=>{N(C,{get id(){return r()},get ref(){return m.opts.ref},children:(b,R)=>{var D=q(),G=K(D);{var g=V=>{var I=q(),y=K(I);j(y,o,()=>({props:n(u)})),S(V,I)},c=V=>{var I=xo();ee(I,()=>({...n(u)}));var y=X(I);j(y,()=>i()??ae),Z(I),S(V,I)};Q(G,V=>{o()?V(g):V(c,-1)})}S(b,D)},$$slots:{default:!0}})}),S(d,T),se(p)}var _o=$('<div data-slot="select-root" class="relative min-w-0 w-full"><!></div>');function Hr(d,e){const t=ke();if(new.target)return te({component:Hr,...d});oe(e,!0);const r=`${t}-trigger`;let s=Y(r),o=a(e,"value",15,""),i=a(e,"open",15,!1),v=a(e,"items",23,()=>[]),_=a(e,"disabled",7,!1),m=a(e,"invalid",7,!1),u=a(e,"required",7,!1),p=a(e,"name",7),T=a(e,"loop",7,!0),O=a(e,"onchange",7),C=a(e,"onopenchange",7),N=a(e,"children",7),b=a(e,"staticPosition",7,!1);en(()=>{i(!1),C()?.(!1)}),jr("canonical-select",{get triggerId(){return n(s)},registerTriggerId(g){k(s,g??r,!0)},listboxId:`${t}-listbox`,get value(){return o()},get displayValue(){return v().find(g=>g.value===o())?.label??o()},get invalid(){return m()},get open(){return i()},get staticPosition(){return b()},set open(g){i(g)}});var R={get value(){return o()},set value(g=""){o(g),l()},get open(){return i()},set open(g=!1){i(g),l()},get items(){return v()},set items(g=[]){v(g),l()},get disabled(){return _()},set disabled(g=!1){_(g),l()},get invalid(){return m()},set invalid(g=!1){m(g),l()},get required(){return u()},set required(g=!1){u(g),l()},get name(){return p()},set name(g){p(g),l()},get loop(){return T()},set loop(g=!0){T(g),l()},get onchange(){return O()},set onchange(g){O(g),l()},get onopenchange(){return C()},set onopenchange(g){C(g),l()},get children(){return N()},set children(g){N(g),l()},get staticPosition(){return b()},set staticPosition(g=!1){b(g),l()},$set:re,$on:(g,c)=>ne(e,g,c)},D=_o(),G=X(D);return pe(G,()=>Er,(g,c)=>{c(g,{type:"single",get items(){return v()},get disabled(){return _()},get required(){return u()},get name(){return p()},get loop(){return T()},get onValueChange(){return O()},get onOpenChange(){return C()},get value(){return o()},set value(V){o(V)},get open(){return i()},set open(V){i(V)},children:(V,I)=>{var y=q(),E=K(y);j(E,()=>N()??ae),S(V,y)},$$slots:{default:!0}})}),Z(D),S(d,D),se(R)}var Co=new Set(["$$slots","$$events","$$legacy","variant","class","children","child","onclick","id","ref"]),No=$("<!> <!>",1);function Mr(d,e){if(new.target)return te({component:Mr,...d});oe(e,!0);const t=(I,y)=>{let E=()=>(y?.()).props;const B=x(()=>G(E()));var f=q(),L=K(f);{var W=w=>{var P=q(),A=K(P);j(A,i,()=>({props:n(B)})),S(w,P)},F=w=>{Kn(w,_e(()=>n(B),{get variant(){return n(b)},get active(){return p.open},get class(){return n(R)},children:(P,A)=>{var z=No(),ie=K(z);j(ie,()=>o()??ae);var Oe=ct(ie,2);{var wt=Ae=>{mr(Ae,{get icon(){return Un},class:"size-3 shrink-0 text-muted-foreground transition-transform duration-spring-fast group-data-[state=open]:rotate-180 motion-reduce:transition-none"})};Q(Oe,Ae=>{r()==="default"&&Ae(wt)})}S(P,z)},$$slots:{default:!0}}))};Q(L,w=>{i()?w(W):w(F,-1)})}S(I,f)};let r=a(e,"variant",7,"default"),s=a(e,"class",7,""),o=a(e,"children",7),i=a(e,"child",7),v=a(e,"onclick",7),_=a(e,"id",7),m=a(e,"ref",15,null),u=be(e,Co);const p=At("canonical-select");Jr(()=>p.registerTriggerId(_())),ve(()=>p.registerTriggerId(_()));let T=Y(!1);ve(()=>{const I=p.triggerId;k(T,Array.from(document.querySelectorAll("label[for]")).some(y=>y.htmlFor===I),!0)});const O=x(()=>!u["aria-label"]&&!u["aria-labelledby"]&&!n(T));let C=Y(void 0);ve(()=>{const I=m();if(!n(O)||!I){k(C,void 0);return}const y=()=>{k(C,I.textContent?.trim()||void 0,!0)};y();const E=new MutationObserver(y);return E.observe(I,{childList:!0,characterData:!0,subtree:!0}),()=>E.disconnect()});const N={default:"border border-border bg-transparent shadow-none hover:border-input hover:bg-hover px-3",underline:"border-0 bg-transparent underline underline-offset-3 decoration-muted-foreground/30 px-3",ghost:"border-0 bg-transparent shadow-none hover:border-transparent hover:bg-hover px-3",secondary:"border border-border bg-secondary text-secondary-foreground shadow-(--elevation-raised) hover:border-input hover:bg-hover px-3"},b=x(()=>r()==="default"?"outline":r()==="secondary"?"secondary":"ghost"),R=x(()=>xe("group type-caption text-foreground flex h-(--control-height-medium) w-full min-w-0 cursor-pointer items-center justify-between gap-2 rounded-(--radius-medium) font-medium transition-[border-color,background-color,box-shadow] duration-spring-fast aria-invalid:border-danger aria-invalid:ring-1 aria-invalid:ring-danger/25 disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-50 disabled:hover:border-border disabled:hover:bg-transparent motion-reduce:transition-none",N[r()],s()));function D(I){I.detail===0&&!p.open&&(p.open=!0),v()?.(I)}function G(I){const{"aria-activedescendant":y,"aria-label":E,...B}=I;return{...B,role:"combobox","aria-label":typeof E=="string"?E:n(C),"aria-activedescendant":p.open&&typeof y=="string"?y:void 0}}var g={get variant(){return r()},set variant(I="default"){r(I),l()},get class(){return s()},set class(I=""){s(I),l()},get children(){return o()},set children(I){o(I),l()},get child(){return i()},set child(I){i(I),l()},get onclick(){return v()},set onclick(I){v(I),l()},get id(){return _()},set id(I){_(I),l()},get ref(){return m()},set ref(I=null){m(I),l()},$set:re,$on:(I,y)=>ne(e,I,y)},c=q(),V=K(c);{let I=x(()=>p.open?p.listboxId:void 0),y=x(()=>p.invalid||void 0);pe(V,()=>Tr,(E,B)=>{B(E,_e(()=>u,{get id(){return p.triggerId},get"aria-controls"(){return n(I)},get class(){return n(R)},get"aria-invalid"(){return n(y)},onclick:D,get child(){return t},get ref(){return m()},set ref(f){m(f)}}))})}return S(d,c),se(g)}var Io=$("<span> </span>");function Rr(d,e){if(new.target)return te({component:Rr,...d});oe(e,!0);let t=a(e,"placeholder",23,()=>jt.ui_select_value_placeholder());const r=At("canonical-select");var s={get placeholder(){return t()},set placeholder(v=jt.ui_select_value_placeholder()){t(v),l()},$set:re,$on:(v,_)=>ne(e,v,_)},o=Io(),i=sr(o,!0);return Et(()=>{fr(o,1,`min-w-0 flex-1 truncate text-left ${r.value?"text-foreground":"text-muted-foreground"}`),Qr(i,r.displayValue||t())}),S(d,o),se(s)}var Po=$('<span data-slot="menu-list-highlight" class="contents svelte-da0knc" aria-hidden="true"><!></span>');function Vr(d,e){if(new.target)return te({component:Vr,...d});oe(e,!0);let t=a(e,"activeIndex",7),r=a(e,"onactiveindexchange",7),s=Y(null),o=Y(null),i=Y(Xr([])),v=Y(null),_=Y(!1),m=Y(!1),u;const p='[data-menu-item], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="option"]';ve(()=>{n(o)&&t()===void 0&&n(_)&&n(o).activeIndex!==n(v)&&n(o).setActiveIndex(n(v))}),ve(()=>{!n(o)||t()===void 0||n(o).pointerPosition||n(o).setActiveIndex(t())}),ve(()=>{if(!n(o)?.pointerPosition){u=void 0;return}n(o).activeIndex!==u&&(u=n(o).activeIndex,r()?.(n(o).activeIndex))}),Zr(()=>{const b=n(s)?.parentElement;if(!b)return;b.dataset.listOverlay="",b.classList.add("relative","isolate");const R=tn(b,{axis:"xy"});k(o,R);let D=[];const G=w=>w instanceof Element&&(w.matches(p)||w.querySelector(p)),g=w=>w.hasAttribute("data-disabled")||w.getAttribute("aria-disabled")==="true",c=w=>w.dataset.selectionAppearance!=="indicator"&&(w.hasAttribute("data-selected")||w.getAttribute("data-state")==="checked"||w.getAttribute("aria-selected")==="true"||w.getAttribute("aria-checked")==="true"),V=()=>{const w=Array.from(b.querySelectorAll(p)).filter(A=>A.closest("[data-list-overlay]")===b&&!g(A));w.length!==D.length||w.some((A,z)=>A!==D[z])?(D.forEach((A,z)=>R.registerItem(z,null)),D=w,D.forEach((A,z)=>R.registerItem(z,A))):R.measure();const P=D.flatMap((A,z)=>c(A)?[z]:[]);if((P.length!==n(i).length||P.some((A,z)=>A!==n(i)[z]))&&k(i,P,!0),t()===void 0){const A=D.findIndex(z=>z.hasAttribute("data-highlighted")||z===document.activeElement);A>=0&&R.setActiveIndex(A)}},I=new MutationObserver(w=>{w.some(P=>P.type==="attributes"||[...P.addedNodes,...P.removedNodes].some(G))&&V()});I.observe(b,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-highlighted","data-selected","data-state","data-disabled","aria-selected","aria-checked","aria-disabled","data-selection-appearance"]});const y=()=>{const w=D.indexOf(document.activeElement);k(v,w>=0?w:null,!0)},E=()=>{k(m,!1),k(_,!0),y(),Ct().then(()=>{n(_)&&y()})},B=()=>{k(_,!1)},f=()=>{k(m,!1),k(_,!0),y()},L=w=>{const P=w.target instanceof Element?w.target.closest(p):null,A=D.indexOf(P);w.button!==0||A<0||(k(_,!1),k(m,!0),R.setActiveIndex(A))},W=()=>{k(m,!1)},F=w=>{const P=D.indexOf(w.target);k(v,P>=0?P:null,!0),P>=0&&R.setActiveIndex(P)};return b.addEventListener("keydown",E,!0),b.addEventListener("pointermove",B,!0),b.addEventListener("pointerleave",f),b.addEventListener("pointerdown",L),window.addEventListener("pointerup",W),window.addEventListener("pointercancel",W),b.addEventListener("focusin",F),Ct().then(V),()=>{I.disconnect(),b.removeEventListener("keydown",E,!0),b.removeEventListener("pointermove",B,!0),b.removeEventListener("pointerleave",f),b.removeEventListener("pointerdown",L),window.removeEventListener("pointerup",W),window.removeEventListener("pointercancel",W),b.removeEventListener("focusin",F),R.destroy(),k(o,null),delete b.dataset.listOverlay}});var T={get activeIndex(){return t()},set activeIndex(b){t(b),l()},get onactiveindexchange(){return r()},set onactiveindexchange(b){r(b),l()},$set:re,$on:(b,R)=>ne(e,b,R)},O=Po(),C=X(O);{var N=b=>{{let R=x(()=>n(m)?n(i).includes(n(o).activeIndex??-1)?"bg-hover menu-selection-pressed":"bg-active":"bg-hover");jn(b,{get store(){return n(o)},get selectedIndexes(){return n(i)},get hoverClass(){return n(R)}})}};Q(C,b=>{n(o)&&b(N)})}return Z(O),Yn(O,b=>k(s,b),()=>n(s)),Et(()=>vr(O,"data-active-index",n(o)?.activeIndex??void 0)),S(d,O),se(T)}const Lr=8;function Zo(d,e,t=24){if(!d)return!0;const r=d.getBoundingClientRect(),s=e+t+Lr;return r.left>=s||d.ownerDocument.documentElement.clientWidth-r.right>=s}var So=$("<div><!> <!></div>"),ko=$("<div><!></div>"),Oo=$("<div><div><!></div></div>");function Dr(d,e){if(new.target)return te({component:Dr,...d});oe(e,!0);const t=y=>{var E=q(),B=K(E);{const f=(L,W)=>{let F=()=>(W?.()).props;var w=So();ee(w,()=>({...F(),id:b.listboxId,role:"listbox","aria-labelledby":b.triggerId,tabindex:"-1"}));var P=X(w);Vr(P,{});var A=ct(P,2);j(A,()=>T()??ae),Z(w),S(L,w)};pe(B,()=>Ar,(L,W)=>{W(L,{get class(){return`relative min-h-0 flex-1 overflow-y-auto p-1.5 ${m()??""}`},child:f,$$slots:{child:!0}})})}S(y,E)},r=(y,E)=>{let B=()=>(E?.()).props;const f=x(()=>D(B()));var L=ko();ee(L,()=>({...n(f),...v()?{id:v()}:{}}));var W=X(L);t(W),Z(L),Jt(L,F=>i?.(F)),S(y,L)},s=(y,E)=>{let B=()=>(E?.()).props,f=()=>(E?.()).wrapperProps;const L=x(()=>D(B()));var W=Oo();ee(W,()=>({...f(),...v()?{id:v()}:{}}));var F=X(W);ee(F,()=>({...n(L)}));var w=X(F);t(w),Z(F),Jt(F,P=>i?.(P)),Z(W),S(y,W)},o=rn(),i=nn();let v=a(e,"wrapperId",7),_=a(e,"class",7,""),m=a(e,"wrapperClass",7,""),u=a(e,"dropUp",7,!1),p=a(e,"portal",7),T=a(e,"children",7);const O=x(()=>u()||p()===!0),C=Jn(),N=Xn(Zn()+2);$n(N);const b=At("canonical-select");async function R(){const y=document.getElementById(b.triggerId);await Ct(),!b.open&&y?.isConnected&&y.focus({preventScroll:!0})}function D(y){const{role:E,tabindex:B,...f}=y;return f}var G={get wrapperId(){return v()},set wrapperId(y){v(y),l()},get class(){return _()},set class(y=""){_(y),l()},get wrapperClass(){return m()},set wrapperClass(y=""){m(y),l()},get dropUp(){return u()},set dropUp(y=!1){u(y),l()},get portal(){return p()},set portal(y){p(y),l()},get children(){return T()},set children(y){T(y),l()},$set:re,$on:(y,E)=>ne(e,y,E)},g=q(),c=K(g);{var V=y=>{var E=q(),B=K(E);{let f=x(()=>xe(Xt(),"w-full max-h-60",_()));pe(B,()=>Sr,(L,W)=>{W(L,{preventScroll:!1,onEscapeKeydown:R,"data-slot":"select-content","data-static-position":!0,get"data-surface-level"(){return N},get class(){return n(f)},style:"max-width: calc(100vw - var(--space-4));",get child(){return r}})})}S(y,E)},I=y=>{const E=x(()=>p()===void 0&&!u()?C():void 0);var B=q(),f=K(B);{let L=x(()=>!n(O)&&!n(E)),W=x(()=>n(E)??o?.target());pe(f,()=>Bn,(F,w)=>{w(F,{get disabled(){return n(L)},get to(){return n(W)},children:(P,A)=>{var z=q(),ie=K(z);{let Oe=x(()=>n(E)?"absolute":"fixed"),wt=x(()=>n(E)!==void 0),Ae=x(()=>u()?"top":"bottom"),Br=x(()=>xe(Xt(),"w-(--bits-select-anchor-width) max-h-60",_()));pe(ie,()=>Pr,(Wr,Ur)=>{Ur(Wr,{get strategy(){return n(Oe)},get hideWhenDetached(){return n(wt)},onEscapeKeydown:R,"data-slot":"select-content",get"data-surface-level"(){return N},get side(){return n(Ae)},sideOffset:4,get collisionPadding(){return Lr},get class(){return n(Br)},style:"max-width: calc(100vw - var(--space-4));",get child(){return s}})})}S(P,z)},$$slots:{default:!0}})})}S(y,B)};Q(c,y=>{b.staticPosition?y(V):y(I,-1)})}return S(d,g),se(G)}var Ao=new Set(["$$slots","$$events","$$legacy","state","class","data-slot"]),Eo=$('<span><span class="relative block h-3.5 w-6 rounded-full bg-muted-foreground/25 transition-colors duration-spring-fast ease-spring-fast data-[state=checked]:bg-foreground/80 motion-reduce:transition-none"><span></span></span></span>'),To=$("<span><!></span>");function Fr(d,e){if(new.target)return te({component:Fr,...d});oe(e,!0);let t=a(e,"state",7),r=a(e,"class",7),s=a(e,"data-slot",7),o=be(e,Ao);var i={get state(){return t()},set state(p){t(p),l()},get class(){return r()},set class(p){r(p),l()},get"data-slot"(){return s()},set"data-slot"(p){s(p),l()},$set:re,$on:(p,T)=>ne(e,p,T)},v=q(),_=K(v);{var m=p=>{var T=Eo();ee(T,N=>({...o,"data-slot":s()??"menu-switch",class:N,"aria-hidden":"true"}),[()=>xe("ml-auto flex h-lh shrink-0 items-center",r())]);var O=X(T),C=sr(O);Z(T),Et(N=>{vr(O,"data-state",t()==="on"?"checked":"unchecked"),fr(C,1,N)},[()=>Wn(xe("absolute top-0.5 left-0.5 size-2.5 rounded-full bg-popover transition-transform duration-spring-fast ease-spring-fast motion-reduce:transition-none",t()==="on"&&"translate-x-2.5"))]),S(p,T)},u=p=>{var T=To();ee(T,N=>({...o,"data-slot":s()??(t()==="submenu"?"menu-sub-chevron":"menu-item-indicator"),class:N,"aria-hidden":"true"}),[()=>xe(on,t()==="submenu"?"text-muted-foreground":"text-primary-ink",r())]);var O=X(T);{var C=N=>{{let b=x(()=>t()==="mixed"?qn:t()==="submenu"?zn:Gn),R=x(()=>t()==="submenu"?"calc(var(--space-2) + var(--space-1) / 2)":"var(--menu-icon-size)"),D=x(()=>t()==="submenu"?"size-2.5 rtl:rotate-180":"size-(--menu-icon-size)");mr(N,{get icon(){return n(b)},get size(){return n(R)},get class(){return n(D)}})}};Q(O,N=>{t()!=="empty"&&N(C)})}Z(T),S(p,T)};Q(_,p=>{t()==="on"||t()==="off"?p(m):p(u,-1)})}return S(d,v),se(i)}var Ho=$('<div class="min-w-0 flex-1 truncate"><!></div> <!>',1);function Kr(d,e){if(new.target)return te({component:Kr,...d});oe(e,!0);let t=a(e,"value",7),r=a(e,"label",7),s=a(e,"disabled",7,!1),o=a(e,"children",7),i=a(e,"class",7,"");var v={get value(){return t()},set value(u){t(u),l()},get label(){return r()},set label(u){r(u),l()},get disabled(){return s()},set disabled(u=!1){s(u),l()},get children(){return o()},set children(u){o(u),l()},get class(){return i()},set class(u=""){i(u),l()},$set:re,$on:(u,p)=>ne(e,u,p)},_=q(),m=K(_);{const u=(C,N)=>{let b=()=>(N?.()).selected;var R=Ho(),D=K(R),G=X(D);j(G,()=>o()??ae),Z(D);var g=ct(D,2);{let c=x(()=>b()?"checked":"empty");Fr(g,{get state(){return n(c)},"data-slot":"select-item-check"})}S(C,R)};let p=x(()=>r()??t()),T=x(()=>s()||void 0),O=x(()=>xe(Qn(),i()));pe(m,()=>Or,(C,N)=>{N(C,{get value(){return t()},get label(){return n(p)},get disabled(){return s()},get"aria-disabled"(){return n(T)},"data-menu-item":!0,get class(){return n(O)},children:u,$$slots:{default:!0}})})}return S(d,_),se(v)}const $o={Root:Hr,Trigger:Mr,Value:Rr,Content:Dr,Item:Kr},Mo=(d,e)=>{let t,r;const s=()=>{t||(t=eo(()=>{t=void 0;const v=d.checkVisibility?.()??!0,_=v?d.clientWidth:0,m=v?d.clientHeight:0,u=_>0&&m>0&&(d.scrollWidth>_||d.scrollHeight>m);r?.(),r=to(()=>{r=void 0,e(u)})}))},o=typeof ResizeObserver>"u"?void 0:new ResizeObserver(s),i=new MutationObserver(s);return o?.observe(d),i.observe(d,{childList:!0,characterData:!0,subtree:!0}),document.fonts?.addEventListener("loadingdone",s),s(),{update(v){e=v,s()},destroy(){t?.(),r?.(),o?.disconnect(),i.disconnect(),document.fonts?.removeEventListener("loadingdone",s)}}},es=(d,e)=>{let t=e;const r=o=>{t&&(o||t.trim()!==d.textContent?.trim())?d.title=t:d.removeAttribute("title")},s=Mo(d,r);return{update(o){t=o,s?.update?.(r)},destroy(){s?.destroy?.(),d.removeAttribute("title")}}};export{Ir as F,yr as H,Fr as M,Lr as O,$o as S,Vr as a,rr as b,tr as c,er as d,ho as e,Pr as f,Sr as g,gt as h,Or as i,Ar as j,Zo as k,Mo as o,es as t};
1
+ var qr=Object.defineProperty;var Yt=d=>{throw TypeError(d)};var zr=(d,e,t)=>e in d?qr(d,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):d[e]=t;var M=(d,e,t)=>zr(d,typeof e!="symbol"?e+"":e,t),xt=(d,e,t)=>e.has(d)||Yt("Cannot "+t);var h=(d,e,t)=>(xt(d,e,"read from private field"),t?t.call(d):e.get(d)),H=(d,e,t)=>e.has(d)?Yt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(d):e.set(d,t),Ie=(d,e,t,r)=>(xt(d,e,"write to private field"),r?r.call(d,t):e.set(d,t),t),Pe=(d,e,t)=>(xt(d,e,"access private method"),t);import{t as te,bq as a,by as re,b as ne,br as be,bt as _e,bo as jt}from"./BKW86yq_.js";import{c9 as x,aD as n,bs as oe,a7 as q,ay as K,W as S,bn as se,aA as l,aB as $,bH as k,bV as Y,bi as Gr,ca as ve,cb as Yr,bf as ae,bo as ke,a5 as X,bA as Z,bS as ct,bI as jr,aG as At,c5 as Jr,bl as sr,b_ as Et,bO as Qr,br as Xr,bk as Zr,c0 as Ct}from"./DYhIMPy1.js";import{s as j}from"./D9WJ9yaW.js";import{c as pe}from"./C1N6iAP2.js";import{e as $r,s as en,g as tn,i as rn,f as nn,b as on}from"./DxkncNQp.js";import{i as Q}from"./CSelYXXo.js";import{g as sn,e as Jt}from"./DctMspbi.js";import{aY as an,aQ as de,au as ln,aI as dn,h as Tt,an as Ce,D as yt,i as un,d as le,a as fe,l as pt,a6 as _t,ac as ft,_ as Ht,J as Mt,Z as Rt,E as Vt,aR as ir,aW as ar,aC as lr,ap as dr,aq as Lt,aF as Dt,ar as ur,a$ as me,aN as hn,aU as cn,aH as gn,aG as pn,at as Qt,am as hr,a2 as fn,av as U,ay as vn,m as cr,b as mn,c as bn,a4 as yn,C as wn,g as xn,A as _n,M as Cn,F as Nn,r as In,s as Pn,t as Sn,u as kn,v as On,w as An,x as En,y as Tn,o as Hn,p as Mn,q as Rn,B as Vn,z as Ln,az as ue,aS as J,a0 as gr,$ as pr,aV as Dn,H as Fn,f as Kn,a1 as Bn}from"./zqCR6Knb.js";import{b as ee,e as xe,f as fr,s as vr,c as Wn}from"./Bs7Hg6Iw.js";import{F as mr,as as Un,bV as qn,au as zn,aq as Gn}from"./DmY0GWNY.js";import"./CsvSUZwX.js";import{b as Yn}from"./BaIAhI85.js";import{P as jn,u as Jn,b as Xt,a as Qn}from"./V_ABjOKq.js";import{c as Xn,u as Zn,s as $n}from"./DfxQWSVU.js";import"./CMcMoJJq.js";import{s as eo,a as to}from"./BsieX9dN.js";const br={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",transform:"translateX(-100%)"};an(br);var Ee,mt;class ro{constructor(e,t){H(this,Ee,()=>{});H(this,mt,x(()=>h(this,Ee).call(this)));let r;t!==void 0&&(r=t),Ie(this,Ee,()=>{try{return r}finally{r=e()}})}get current(){return n(h(this,mt))}}Ee=new WeakMap,mt=new WeakMap;var no=new Set(["$$slots","$$events","$$legacy","value"]),Zt=$("<input/>");function yr(d,e){if(new.target)return te({component:yr,...d});oe(e,!0);let t=a(e,"value",15),r=be(e,no);const s=x(()=>de(r,{"aria-hidden":"true",tabindex:-1,style:{...br,position:"absolute",top:"0",left:"0"}}));var o={get value(){return t()},set value(u){t(u),l()},$set:re,$on:(u,p)=>ne(e,u,p)},i=q(),v=K(i);{var _=u=>{var p=Zt();ee(p,()=>({...n(s),value:t()}),void 0,void 0,void 0,void 0,!0),S(u,p)},m=u=>{var p=Zt();ee(p,()=>({...n(s)}),void 0,void 0,void 0,void 0,!0),$r(p,t),S(u,p)};Q(v,u=>{n(s).type==="checkbox"?u(_):u(m,-1)})}return S(d,i),se(o)}var ce,ye,ge;class oo{constructor(e){H(this,ce);H(this,ye,x(()=>h(this,ce).candidateValues()));H(this,ge);Ie(this,ce,e),Ie(this,ge,ln("",{afterMs:1e3,getWindow:h(this,ce).getWindow})),this.handleTypeaheadSearch=this.handleTypeaheadSearch.bind(this),this.resetTypeahead=this.resetTypeahead.bind(this)}handleTypeaheadSearch(e){if(!h(this,ce).enabled()||!n(h(this,ye)).length)return;h(this,ge).current=h(this,ge).current+e;const t=h(this,ce).getCurrentItem(),r=n(h(this,ye)).find(v=>v===t)??"",s=n(h(this,ye)).map(v=>v??""),o=dn(s,h(this,ge).current,r),i=n(h(this,ye)).find(v=>v===o);return i&&h(this,ce).onMatch(i),i}resetTypeahead(){h(this,ge).current=""}}ce=new WeakMap,ye=new WeakMap,ge=new WeakMap;const $t=[mn,cr,bn,yn,wn,xn,_n,Cn,pt,Nn,In,Pn,Sn,kn,On,An,En,Tn,Hn,Mn,Rn],so=[fe,Ht,Mt],io=[le,Rt,Vt],wr=[...so,...io],ao=vn({component:"select",parts:["trigger","content","item","viewport","scroll-up-button","scroll-down-button","group","group-label","separator","arrow","input","content-wrapper","item-text","value"]}),Ne=new Tt("Select.Root | Combobox.Root"),xr=new Tt("Select.Group | Combobox.Group"),_r=new Tt("Select.Content | Combobox.Content");var Te,He,Me,Re,Ve,Le,De,Fe,Ke,Be,We,Ue;class Cr{constructor(e){M(this,"opts");H(this,Te,Y(!1));H(this,He,Y(null));H(this,Me,Y(null));M(this,"contentPresence");H(this,Re,Y(null));H(this,Ve,Y(null));H(this,Le,Y(null));H(this,De,Y(""));H(this,Fe,Y(null));H(this,Ke,x(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-value"):null));H(this,Be,x(()=>{if(this.highlightedNode)return this.highlightedNode.id}));H(this,We,x(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-label"):null));H(this,Ue,Y(!1));M(this,"isUsingKeyboard",!1);M(this,"isCombobox",!1);M(this,"domContext",new yt(()=>null));M(this,"getBitsAttr",e=>ao.getAttr(e,this.isCombobox?"combobox":void 0));this.opts=e,this.isCombobox=e.isCombobox,this.contentPresence=new fn({ref:U(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),Yr(()=>{this.opts.open.current||this.setHighlightedNode(null)})}get touchedInput(){return n(h(this,Te))}set touchedInput(e){k(h(this,Te),e,!0)}get inputNode(){return n(h(this,He))}set inputNode(e){k(h(this,He),e,!0)}get contentNode(){return n(h(this,Me))}set contentNode(e){k(h(this,Me),e,!0)}get viewportNode(){return n(h(this,Re))}set viewportNode(e){k(h(this,Re),e,!0)}get triggerNode(){return n(h(this,Ve))}set triggerNode(e){k(h(this,Ve),e,!0)}get valueNode(){return n(h(this,Le))}set valueNode(e){k(h(this,Le),e,!0)}get valueId(){return n(h(this,De))}set valueId(e){k(h(this,De),e,!0)}get highlightedNode(){return n(h(this,Fe))}set highlightedNode(e){k(h(this,Fe),e,!0)}get highlightedValue(){return n(h(this,Ke))}set highlightedValue(e){k(h(this,Ke),e)}get highlightedId(){return n(h(this,Be))}set highlightedId(e){k(h(this,Be),e)}get highlightedLabel(){return n(h(this,We))}set highlightedLabel(e){k(h(this,We),e)}get contentIsPositioned(){return n(h(this,Ue))}set contentIsPositioned(e){k(h(this,Ue),e,!0)}setHighlightedNode(e,t=!1){this.highlightedNode=e,e&&(this.isUsingKeyboard||t)&&this.scrollHighlightedNodeIntoView(e)}scrollHighlightedNodeIntoView(e){!this.viewportNode||!this.contentIsPositioned||e.scrollIntoView({block:this.opts.scrollAlignment.current})}getCandidateNodes(){const e=this.contentNode;return e?Array.from(e.querySelectorAll(`[${this.getBitsAttr("item")}]:not([data-disabled])`)):[]}setHighlightedToFirstCandidate(e=!1){this.setHighlightedNode(null);let t=this.getCandidateNodes();if(t.length){if(this.viewportNode){const r=this.viewportNode.getBoundingClientRect();t=t.filter(s=>{if(!this.viewportNode)return!1;const o=s.getBoundingClientRect();return o.right<=r.right&&o.left>=r.left&&o.bottom<=r.bottom&&o.top>=r.top})}this.setHighlightedNode(t[0],e)}}getNodeByValue(e){return this.getCandidateNodes().find(r=>r.dataset.value===e)??null}getLabelForValue(e){if(e==="")return"";const t=this.opts.items.current.find(s=>s.value===e)?.label;if(t!==void 0)return t;const r=this.getNodeByValue(e);if(r){const s=r.getAttribute("data-label");return s!==null&&s!==""?s:r.textContent?.trim()??e}return e}setOpen(e){this.opts.open.current=e}toggleOpen(){this.opts.open.current=!this.opts.open.current}handleOpen(){this.setOpen(!0)}handleClose(){this.setHighlightedNode(null),this.setOpen(!1)}toggleMenu(){this.toggleOpen()}}Te=new WeakMap,He=new WeakMap,Me=new WeakMap,Re=new WeakMap,Ve=new WeakMap,Le=new WeakMap,De=new WeakMap,Fe=new WeakMap,Ke=new WeakMap,Be=new WeakMap,We=new WeakMap,Ue=new WeakMap;var qe,ze,Ge,Ye;class lo extends Cr{constructor(t){super(t);M(this,"opts");M(this,"isMulti",!1);H(this,qe,x(()=>this.opts.value.current!==""));H(this,ze,x(()=>this.opts.items.current.length?this.opts.items.current.find(t=>t.value===this.opts.value.current)?.label??"":""));H(this,Ge,x(()=>this.opts.items.current.length?this.opts.items.current.filter(r=>!r.disabled).map(r=>r.label):[]));H(this,Ye,x(()=>!(this.isMulti||this.opts.items.current.length===0)));this.opts=t,ve(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),me(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}get hasValue(){return n(h(this,qe))}set hasValue(t){k(h(this,qe),t)}get currentLabel(){return n(h(this,ze))}set currentLabel(t){k(h(this,ze),t)}get candidateLabels(){return n(h(this,Ge))}set candidateLabels(t){k(h(this,Ge),t)}get dataTypeaheadEnabled(){return n(h(this,Ye))}set dataTypeaheadEnabled(t){k(h(this,Ye),t)}includesItem(t){return this.opts.value.current===t}toggleItem(t,r=t){const s=this.includesItem(t)?"":t;this.opts.value.current=s,s!==""&&(this.opts.inputValue.current=r)}setInitialHighlightedNode(){hr(()=>{if(!(this.highlightedNode&&this.domContext.getDocument().contains(this.highlightedNode))){if(this.opts.value.current!==""){const t=this.getNodeByValue(this.opts.value.current);if(t){this.setHighlightedNode(t,!0);return}}this.setHighlightedToFirstCandidate(!0)}})}}qe=new WeakMap,ze=new WeakMap,Ge=new WeakMap,Ye=new WeakMap;var je;class uo extends Cr{constructor(t){super(t);M(this,"opts");M(this,"isMulti",!0);H(this,je,x(()=>this.opts.value.current.length>0));this.opts=t,ve(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),me(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}get hasValue(){return n(h(this,je))}set hasValue(t){k(h(this,je),t)}includesItem(t){return this.opts.value.current.includes(t)}toggleItem(t,r=t){this.includesItem(t)?this.opts.value.current=this.opts.value.current.filter(s=>s!==t):this.opts.value.current=[...this.opts.value.current,t],this.opts.inputValue.current=r}setInitialHighlightedNode(){hr(()=>{if(this.domContext&&!(this.highlightedNode&&this.domContext.getDocument().contains(this.highlightedNode))){if(this.opts.value.current.length&&this.opts.value.current[0]!==""){const t=this.getNodeByValue(this.opts.value.current[0]);if(t){this.setHighlightedNode(t,!0);return}}this.setHighlightedToFirstCandidate(!0)}})}}je=new WeakMap;class ho{static create(e){const{type:t,...r}=e,s=t==="single"?new lo(r):new uo(r);return Ne.set(s)}}var Je;const Ft=class Ft{constructor(e,t){M(this,"opts");M(this,"root");M(this,"attachment");H(this,Je,x(()=>({id:this.opts.id.current,role:"combobox",disabled:this.root.opts.disabled.current?!0:void 0,"aria-activedescendant":this.root.highlightedId,"aria-autocomplete":"list","aria-expanded":ur(this.root.opts.open.current),"data-state":Dt(this.root.opts.open.current),"data-disabled":Lt(this.root.opts.disabled.current),onkeydown:this.onkeydown,oninput:this.oninput,[this.root.getBitsAttr("input")]:"",...this.attachment})));this.opts=e,this.root=t,this.attachment=Ce(e.ref,r=>this.root.inputNode=r),this.root.domContext=new yt(e.ref),this.onkeydown=this.onkeydown.bind(this),this.oninput=this.oninput.bind(this),me([()=>this.root.opts.value.current,()=>this.opts.clearOnDeselect.current],([r,s],[o])=>{s&&(Array.isArray(r)&&Array.isArray(o)?r.length===0&&o.length!==0&&(this.root.opts.inputValue.current=""):r===""&&o!==""&&(this.root.opts.inputValue.current=""))})}static create(e){return new Ft(e,Ne.get())}onkeydown(e){if(this.root.isUsingKeyboard=!0,e.key!==cr){if((e.key===le||e.key===fe)&&e.preventDefault(),!this.root.opts.open.current){if($t.includes(e.key)||e.key===ft||e.key===Vn&&this.root.opts.inputValue.current===""||(this.root.handleOpen(),this.root.hasValue))return;const t=this.root.getCandidateNodes();if(!t.length)return;if(e.key===fe){const r=t[0];this.root.setHighlightedNode(r)}else if(e.key===le){const r=t[t.length-1];this.root.setHighlightedNode(r)}return}if(e.key===ft){this.root.handleClose();return}if(e.key===pt&&!e.isComposing){e.preventDefault();const t=this.root.highlightedValue===this.root.opts.value.current;if(!this.root.opts.allowDeselect.current&&t&&!this.root.isMulti){this.root.handleClose();return}this.root.highlightedValue&&this.root.highlightedNode&&this.root.highlightedNode.isConnected&&this.root.toggleItem(this.root.highlightedValue,this.root.highlightedLabel??void 0),!this.root.isMulti&&!t&&this.root.handleClose()}if(e.key===le&&e.altKey&&this.root.handleClose(),wr.includes(e.key)){e.preventDefault();const t=this.root.getCandidateNodes(),r=this.root.highlightedNode,s=r?t.indexOf(r):-1,o=this.root.opts.loop.current;let i;if(e.key===fe?i=ir(t,s,o):e.key===le?i=ar(t,s,o):e.key===Rt?i=lr(t,s,10,o):e.key===Ht?i=dr(t,s,10,o):e.key===Mt?i=t[0]:e.key===Vt&&(i=t[t.length-1]),!i)return;this.root.setHighlightedNode(i);return}$t.includes(e.key)||this.root.highlightedNode||this.root.setHighlightedToFirstCandidate()}}oninput(e){this.root.opts.inputValue.current=e.currentTarget.value,this.root.setHighlightedToFirstCandidate()}get props(){return n(h(this,Je))}set props(e){k(h(this,Je),e)}};Je=new WeakMap;let er=Ft;var we,Se,he,Nr,It,Pt,Qe;const Kt=class Kt{constructor(e,t){H(this,he);M(this,"opts");M(this,"root");M(this,"attachment");H(this,we);H(this,Se);H(this,Qe,x(()=>({id:this.opts.id.current,disabled:this.root.opts.disabled.current?!0:void 0,"aria-haspopup":"listbox","aria-expanded":ur(this.root.opts.open.current),"aria-activedescendant":this.root.highlightedId,"data-state":Dt(this.root.opts.open.current),"data-disabled":Lt(this.root.opts.disabled.current),"data-placeholder":this.root.hasValue?void 0:"",[this.root.getBitsAttr("trigger")]:"",onpointerdown:this.onpointerdown,onkeydown:this.onkeydown,onclick:this.onclick,onpointerup:this.onpointerup,...this.attachment})));this.opts=e,this.root=t,this.attachment=Ce(e.ref,r=>this.root.triggerNode=r),this.root.domContext=new yt(e.ref),Ie(this,we,new un({getCurrentItem:()=>this.root.highlightedNode,onMatch:r=>{this.root.setHighlightedNode(r)},getActiveElement:()=>this.root.domContext.getActiveElement(),getWindow:()=>this.root.domContext.getWindow()})),Ie(this,Se,new oo({getCurrentItem:()=>this.root.isMulti?"":this.root.currentLabel,onMatch:r=>{if(this.root.isMulti||!this.root.opts.items.current)return;const s=this.root.opts.items.current.find(o=>o.label===r);s&&(this.root.opts.value.current=s.value)},enabled:()=>!this.root.isMulti&&this.root.dataTypeaheadEnabled,candidateValues:()=>this.root.isMulti?[]:this.root.candidateLabels,getWindow:()=>this.root.domContext.getWindow()})),this.onkeydown=this.onkeydown.bind(this),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onclick=this.onclick.bind(this)}static create(e){return new Kt(e,Ne.get())}onkeydown(e){if(this.root.isUsingKeyboard=!0,(e.key===le||e.key===fe)&&e.preventDefault(),!this.root.opts.open.current){if(e.key===pt||e.key===_t||e.key===fe||e.key===le)e.preventDefault(),this.root.handleOpen();else if(!this.root.isMulti&&this.root.dataTypeaheadEnabled){h(this,Se).handleTypeaheadSearch(e.key);return}if(this.root.hasValue)return;const i=this.root.getCandidateNodes();if(!i.length)return;if(e.key===fe){const v=i[0];this.root.setHighlightedNode(v)}else if(e.key===le){const v=i[i.length-1];this.root.setHighlightedNode(v)}return}if(e.key===ft){this.root.handleClose();return}if((e.key===pt||e.key===_t&&h(this,we).search==="")&&!e.isComposing&&(e.preventDefault(),Pe(this,he,Pt).call(this)))return;if(e.key===le&&e.altKey&&this.root.handleClose(),wr.includes(e.key)){e.preventDefault();const i=this.root.getCandidateNodes(),v=this.root.highlightedNode,_=v?i.indexOf(v):-1,m=this.root.opts.loop.current;let u;if(e.key===fe?u=ir(i,_,m):e.key===le?u=ar(i,_,m):e.key===Rt?u=lr(i,_,10,m):e.key===Ht?u=dr(i,_,10,m):e.key===Mt?u=i[0]:e.key===Vt&&(u=i[i.length-1]),!u)return;this.root.setHighlightedNode(u);return}const t=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1,s=e.key===_t,o=this.root.getCandidateNodes();if(e.key!==ft){if(!t&&(r||s)){!h(this,we).handleTypeaheadSearch(e.key,o)&&s&&(e.preventDefault(),Pe(this,he,Pt).call(this));return}this.root.highlightedNode||this.root.setHighlightedToFirstCandidate()}}onclick(e){e.currentTarget.focus()}onpointerdown(e){if(this.root.opts.disabled.current)return;if(e.pointerType==="touch")return e.preventDefault();const t=e.target;t?.hasPointerCapture(e.pointerId)&&t?.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&(this.root.opts.open.current===!1?Pe(this,he,It).call(this,e):this.root.handleClose())}onpointerup(e){this.root.opts.disabled.current||(e.preventDefault(),e.pointerType==="touch"&&(this.root.opts.open.current===!1?Pe(this,he,It).call(this,e):this.root.handleClose()))}get props(){return n(h(this,Qe))}set props(e){k(h(this,Qe),e)}};we=new WeakMap,Se=new WeakMap,he=new WeakSet,Nr=function(){this.root.opts.open.current=!0,h(this,Se).resetTypeahead(),h(this,we).resetTypeahead()},It=function(e){Pe(this,he,Nr).call(this)},Pt=function(){const e=this.root.highlightedValue===this.root.opts.value.current;return!this.root.opts.allowDeselect.current&&e&&!this.root.isMulti?(this.root.handleClose(),!0):(this.root.highlightedValue!==null&&this.root.toggleItem(this.root.highlightedValue,this.root.highlightedLabel??void 0),!this.root.isMulti&&!e?(this.root.handleClose(),!0):!1)},Qe=new WeakMap;let Nt=Kt;var Xe,bt,Ze,$e;const Bt=class Bt{constructor(e,t){M(this,"opts");M(this,"root");M(this,"attachment");H(this,Xe,Y(!1));M(this,"domContext");H(this,bt,x(()=>gn(this.root.isCombobox?"combobox":"select")));M(this,"onInteractOutside",e=>{if(e.target===this.root.triggerNode||e.target===this.root.inputNode){e.preventDefault();return}this.opts.onInteractOutside.current(e),!e.defaultPrevented&&this.root.handleClose()});M(this,"onEscapeKeydown",e=>{this.opts.onEscapeKeydown.current(e),!e.defaultPrevented&&this.root.handleClose()});M(this,"onOpenAutoFocus",e=>{e.preventDefault()});M(this,"onCloseAutoFocus",e=>{e.preventDefault()});H(this,Ze,x(()=>({open:this.root.opts.open.current})));H(this,$e,x(()=>({id:this.opts.id.current,role:"listbox","aria-multiselectable":this.root.isMulti?"true":void 0,"data-state":Dt(this.root.opts.open.current),...pn(this.root.contentPresence.transitionStatus),[this.root.getBitsAttr("content")]:"",style:{display:"flex",flexDirection:"column",outline:"none",boxSizing:"border-box",pointerEvents:"auto",...n(h(this,bt))},onpointermove:this.onpointermove,...this.attachment})));M(this,"popperProps",{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus,trapFocus:!1,loop:!1,onPlaced:()=>{this.root.opts.open.current&&(this.root.contentIsPositioned=!0,this.isPositioned=!0)}});this.opts=e,this.root=t,this.attachment=Ce(e.ref,r=>this.root.contentNode=r),this.domContext=new yt(this.opts.ref),this.root.domContext===null&&(this.root.domContext=this.domContext),cn(()=>{this.root.contentNode=null,this.root.contentIsPositioned=!1,this.isPositioned=!1}),me(()=>this.root.opts.open.current,()=>{this.root.opts.open.current||(this.root.contentIsPositioned=!1,this.isPositioned=!1)}),me([()=>this.isPositioned,()=>this.root.highlightedNode],()=>{!this.isPositioned||!this.root.highlightedNode||this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode)}),this.onpointermove=this.onpointermove.bind(this)}static create(e){return _r.set(new Bt(e,Ne.get()))}get isPositioned(){return n(h(this,Xe))}set isPositioned(e){k(h(this,Xe),e,!0)}onpointermove(e){this.root.isUsingKeyboard=!1}get shouldRender(){return this.root.contentPresence.shouldRender}get snippetProps(){return n(h(this,Ze))}set snippetProps(e){k(h(this,Ze),e)}get props(){return n(h(this,$e))}set props(e){k(h(this,$e),e)}};Xe=new WeakMap,bt=new WeakMap,Ze=new WeakMap,$e=new WeakMap;let vt=Bt;var et,tt,rt,nt,ot;const Wt=class Wt{constructor(e,t){M(this,"opts");M(this,"root");M(this,"attachment");H(this,et,x(()=>this.root.includesItem(this.opts.value.current)));H(this,tt,x(()=>this.root.highlightedValue===this.opts.value.current));M(this,"prevHighlighted",new ro(()=>this.isHighlighted));H(this,rt,Y(!1));H(this,nt,x(()=>({selected:this.isSelected,highlighted:this.isHighlighted})));H(this,ot,x(()=>({id:this.opts.id.current,role:"option","aria-selected":this.root.includesItem(this.opts.value.current)?"true":void 0,"data-value":this.opts.value.current,"data-disabled":Lt(this.opts.disabled.current),"data-highlighted":this.root.highlightedValue===this.opts.value.current&&!this.opts.disabled.current?"":void 0,"data-selected":this.root.includesItem(this.opts.value.current)?"":void 0,"data-label":this.opts.label.current,[this.root.getBitsAttr("item")]:"",onpointermove:this.onpointermove,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,...this.attachment})));this.opts=e,this.root=t,this.attachment=Ce(e.ref),me([()=>this.isHighlighted,()=>this.prevHighlighted.current],()=>{this.isHighlighted?this.opts.onHighlight.current():this.prevHighlighted.current&&this.opts.onUnhighlight.current()}),me(()=>this.mounted,()=>{this.mounted&&this.root.setInitialHighlightedNode()}),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onpointermove=this.onpointermove.bind(this)}static create(e){return new Wt(e,Ne.get())}get isSelected(){return n(h(this,et))}set isSelected(e){k(h(this,et),e)}get isHighlighted(){return n(h(this,tt))}set isHighlighted(e){k(h(this,tt),e)}get mounted(){return n(h(this,rt))}set mounted(e){k(h(this,rt),e,!0)}handleSelect(){if(this.opts.disabled.current)return;const e=this.opts.value.current===this.root.opts.value.current;if(!this.root.opts.allowDeselect.current&&e&&!this.root.isMulti){this.root.handleClose();return}this.root.toggleItem(this.opts.value.current,this.opts.label.current),!this.root.isMulti&&!e&&this.root.handleClose()}get snippetProps(){return n(h(this,nt))}set snippetProps(e){k(h(this,nt),e)}onpointerdown(e){e.preventDefault()}onpointerup(e){if(!(e.defaultPrevented||!this.opts.ref.current)){if(e.pointerType==="touch"&&!hn){Gr(this.opts.ref.current,"click",()=>{this.handleSelect(),this.root.setHighlightedNode(this.opts.ref.current)},{once:!0});return}e.preventDefault(),this.handleSelect(),e.pointerType==="touch"&&this.root.setHighlightedNode(this.opts.ref.current)}}onpointermove(e){e.pointerType!=="touch"&&this.root.highlightedNode!==this.opts.ref.current&&this.root.setHighlightedNode(this.opts.ref.current)}get props(){return n(h(this,ot))}set props(e){k(h(this,ot),e)}};et=new WeakMap,tt=new WeakMap,rt=new WeakMap,nt=new WeakMap,ot=new WeakMap;let St=Wt;var st,it;const Ut=class Ut{constructor(e,t){M(this,"opts");M(this,"root");H(this,st,Y(null));M(this,"attachment");H(this,it,x(()=>({id:this.opts.id.current,role:"group",[this.root.getBitsAttr("group")]:"","aria-labelledby":this.labelNode?.id??void 0,...this.attachment})));this.opts=e,this.root=t,this.attachment=Ce(e.ref)}static create(e){return xr.set(new Ut(e,Ne.get()))}get labelNode(){return n(h(this,st))}set labelNode(e){k(h(this,st),e,!0)}get props(){return n(h(this,it))}set props(e){k(h(this,it),e)}};st=new WeakMap,it=new WeakMap;let tr=Ut;var at;const qt=class qt{constructor(e,t){M(this,"opts");M(this,"group");M(this,"attachment");H(this,at,x(()=>({id:this.opts.id.current,[this.group.root.getBitsAttr("group-label")]:"",...this.attachment})));this.opts=e,this.group=t,this.attachment=Ce(e.ref,r=>this.group.labelNode=r)}static create(e){return new qt(e,xr.get())}get props(){return n(h(this,at))}set props(e){k(h(this,at),e)}};at=new WeakMap;let rr=qt;var lt,dt;const zt=class zt{constructor(e,t){M(this,"opts");M(this,"root");H(this,lt,x(()=>this.root.opts.name.current!==""));H(this,dt,x(()=>({disabled:Qt(this.root.opts.disabled.current),required:Qt(this.root.opts.required.current),name:this.root.opts.name.current,value:this.opts.value.current,onfocus:this.onfocus})));this.opts=e,this.root=t,this.onfocus=this.onfocus.bind(this)}static create(e){return new zt(e,Ne.get())}get shouldRender(){return n(h(this,lt))}set shouldRender(e){k(h(this,lt),e)}onfocus(e){e.preventDefault(),this.root.isCombobox?this.root.inputNode?.focus():this.root.triggerNode?.focus()}get props(){return n(h(this,dt))}set props(e){k(h(this,dt),e)}};lt=new WeakMap,dt=new WeakMap;let kt=zt;var ut,ht;const Gt=class Gt{constructor(e,t){M(this,"opts");M(this,"content");M(this,"root");M(this,"attachment");H(this,ut,Y(0));H(this,ht,x(()=>({id:this.opts.id.current,role:"presentation",[this.root.getBitsAttr("viewport")]:"",style:{position:"relative",flex:1,overflow:"auto"},...this.attachment})));this.opts=e,this.content=t,this.root=t.root,this.attachment=Ce(e.ref,r=>{this.root.viewportNode=r})}static create(e){return new Gt(e,_r.get())}get prevScrollTop(){return n(h(this,ut))}set prevScrollTop(e){k(h(this,ut),e,!0)}get props(){return n(h(this,ht))}set props(e){k(h(this,ht),e)}};ut=new WeakMap,ht=new WeakMap;let Ot=Gt;function gt(d,e){if(new.target)return te({component:gt,...d});oe(e,!0);let t=a(e,"value",15),r=a(e,"autocomplete",7);const s=kt.create({value:U(()=>t())});var o={get value(){return t()},set value(m){t(m),l()},get autocomplete(){return r()},set autocomplete(m){r(m),l()},$set:re,$on:(m,u)=>ne(e,m,u)},i=q(),v=K(i);{var _=m=>{yr(m,_e(()=>s.props,{get autocomplete(){return r()},get value(){return t()},set value(u){t(u)}}))};Q(v,m=>{s.shouldRender&&m(_)})}return S(d,i),se(o)}function Ir(d,e){if(new.target)return te({component:Ir,...d});oe(e,!0);let t=a(e,"id",7),r=a(e,"children",7),s=a(e,"virtualEl",7),o=a(e,"ref",7),i=a(e,"tooltip",7,!1);Ln.create({id:U(()=>t()),virtualEl:U(()=>s()),ref:o()},i());var v={get id(){return t()},set id(u){t(u),l()},get children(){return r()},set children(u){r(u),l()},get virtualEl(){return s()},set virtualEl(u){s(u),l()},get ref(){return o()},set ref(u){o(u),l()},get tooltip(){return i()},set tooltip(u=!1){i(u),l()},$set:re,$on:(u,p)=>ne(e,u,p)},_=q(),m=K(_);return j(m,()=>r()??ae),S(d,_),se(v)}var co=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount","side","onInteractOutside","onEscapeKeydown","children","child","preventScroll","style"]),nr=$("<div><div><!></div></div>");function Pr(d,e){const t=ke();if(new.target)return te({component:Pr,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"forceMount",7,!1),i=a(e,"side",7,"bottom"),v=a(e,"onInteractOutside",7,J),_=a(e,"onEscapeKeydown",7,J),m=a(e,"children",7),u=a(e,"child",7),p=a(e,"preventScroll",7,!1),T=a(e,"style",7),O=be(e,co);const C=vt.create({id:U(()=>r()),ref:U(()=>s(),c=>s(c)),onInteractOutside:U(()=>v()),onEscapeKeydown:U(()=>_())}),N=x(()=>de(O,C.props));var b={get id(){return r()},set id(c=ue(t)){r(c),l()},get ref(){return s()},set ref(c=null){s(c),l()},get forceMount(){return o()},set forceMount(c=!1){o(c),l()},get side(){return i()},set side(c="bottom"){i(c),l()},get onInteractOutside(){return v()},set onInteractOutside(c=J){v(c),l()},get onEscapeKeydown(){return _()},set onEscapeKeydown(c=J){_(c),l()},get children(){return m()},set children(c){m(c),l()},get child(){return u()},set child(c){u(c),l()},get preventScroll(){return p()},set preventScroll(c=!1){p(c),l()},get style(){return T()},set style(c){T(c),l()},$set:re,$on:(c,V)=>ne(e,c,V)},R=q(),D=K(R);{var G=c=>{gr(c,_e(()=>n(N),()=>C.popperProps,{get ref(){return C.opts.ref},get side(){return i()},get enabled(){return C.root.opts.open.current},get id(){return r()},get preventScroll(){return p()},forceMount:!0,get shouldRender(){return C.shouldRender},popper:(I,y)=>{let E=()=>(y?.()).props,B=()=>(y?.()).wrapperProps;const f=x(()=>de(E(),{style:C.props.style},{style:T()}));var L=q(),W=K(L);{var F=P=>{var A=q(),z=K(A);{let ie=x(()=>({props:n(f),wrapperProps:B(),...C.snippetProps}));j(z,u,()=>n(ie))}S(P,A)},w=P=>{var A=nr();ee(A,()=>({...B()}));var z=X(A);ee(z,()=>({...n(f)}));var ie=X(z);j(ie,()=>m()??ae),Z(z),Z(A),S(P,A)};Q(W,P=>{u()?P(F):P(w,-1)})}S(I,L)},$$slots:{popper:!0}}))},g=c=>{pr(c,_e(()=>n(N),()=>C.popperProps,{get ref(){return C.opts.ref},get side(){return i()},get open(){return C.root.opts.open.current},get id(){return r()},get preventScroll(){return p()},forceMount:!1,get shouldRender(){return C.shouldRender},popper:(I,y)=>{let E=()=>(y?.()).props,B=()=>(y?.()).wrapperProps;const f=x(()=>de(E(),{style:C.props.style},{style:T()}));var L=q(),W=K(L);{var F=P=>{var A=q(),z=K(A);{let ie=x(()=>({props:n(f),wrapperProps:B(),...C.snippetProps}));j(z,u,()=>n(ie))}S(P,A)},w=P=>{var A=nr();ee(A,()=>({...B()}));var z=X(A);ee(z,()=>({...n(f)}));var ie=X(z);j(ie,()=>m()??ae),Z(z),Z(A),S(P,A)};Q(W,P=>{u()?P(F):P(w,-1)})}S(I,L)},$$slots:{popper:!0}}))};Q(D,c=>{o()?c(G):o()||c(g,1)})}return S(d,R),se(b)}var go=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount","onInteractOutside","onEscapeKeydown","children","child","preventScroll","style"]),or=$("<div><!></div>");function Sr(d,e){const t=ke();if(new.target)return te({component:Sr,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"forceMount",7,!1),i=a(e,"onInteractOutside",7,J),v=a(e,"onEscapeKeydown",7,J),_=a(e,"children",7),m=a(e,"child",7),u=a(e,"preventScroll",7,!1),p=a(e,"style",7),T=be(e,go);const O=vt.create({id:U(()=>r()),ref:U(()=>s(),g=>s(g)),onInteractOutside:U(()=>i()),onEscapeKeydown:U(()=>v())}),C=x(()=>de(T,O.props));var N={get id(){return r()},set id(g=ue(t)){r(g),l()},get ref(){return s()},set ref(g=null){s(g),l()},get forceMount(){return o()},set forceMount(g=!1){o(g),l()},get onInteractOutside(){return i()},set onInteractOutside(g=J){i(g),l()},get onEscapeKeydown(){return v()},set onEscapeKeydown(g=J){v(g),l()},get children(){return _()},set children(g){_(g),l()},get child(){return m()},set child(g){m(g),l()},get preventScroll(){return u()},set preventScroll(g=!1){u(g),l()},get style(){return p()},set style(g){p(g),l()},$set:re,$on:(g,c)=>ne(e,g,c)},b=q(),R=K(b);{var D=g=>{gr(g,_e(()=>n(C),()=>O.popperProps,{get ref(){return O.opts.ref},isStatic:!0,get enabled(){return O.root.opts.open.current},get id(){return r()},get preventScroll(){return u()},forceMount:!0,get shouldRender(){return O.shouldRender},popper:(V,I)=>{let y=()=>(I?.()).props;const E=x(()=>de(y(),{style:O.props.style},{style:p()}));var B=q(),f=K(B);{var L=F=>{var w=q(),P=K(w);{let A=x(()=>({props:n(E),...O.snippetProps}));j(P,m,()=>n(A))}S(F,w)},W=F=>{var w=or();ee(w,()=>({...n(E)}));var P=X(w);j(P,()=>_()??ae),Z(w),S(F,w)};Q(f,F=>{m()?F(L):F(W,-1)})}S(V,B)},$$slots:{popper:!0}}))},G=g=>{pr(g,_e(()=>n(C),()=>O.popperProps,{get ref(){return O.opts.ref},isStatic:!0,get open(){return O.root.opts.open.current},get id(){return r()},get preventScroll(){return u()},forceMount:!1,get shouldRender(){return O.shouldRender},popper:(V,I)=>{let y=()=>(I?.()).props;const E=x(()=>de(y(),{style:O.props.style},{style:p()}));var B=q(),f=K(B);{var L=F=>{var w=q(),P=K(w);{let A=x(()=>({props:n(E),...O.snippetProps}));j(P,m,()=>n(A))}S(F,w)},W=F=>{var w=or();ee(w,()=>({...n(E)}));var P=X(w);j(P,()=>_()??ae),Z(w),S(F,w)};Q(f,F=>{m()?F(L):F(W,-1)})}S(V,B)},$$slots:{popper:!0}}))};Q(R,g=>{o()?g(D):o()||g(G,1)})}return S(d,b),se(N)}function kr(d,e){if(new.target)return te({component:kr,...d});oe(e,!0);let t=a(e,"mounted",15,!1),r=a(e,"onMountedChange",7,J);Dn(()=>(t(!0),r()(!0),()=>{t(!1),r()(!1)}));var s={get mounted(){return t()},set mounted(o=!1){t(o),l()},get onMountedChange(){return r()},set onMountedChange(o=J){r(o),l()},$set:re,$on:(o,i)=>ne(e,o,i)};return se(s)}var po=new Set(["$$slots","$$events","$$legacy","id","ref","value","label","disabled","children","child","onHighlight","onUnhighlight"]),fo=$("<div><!></div>"),vo=$("<!> <!>",1);function Or(d,e){const t=ke();if(new.target)return te({component:Or,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"value",7),i=a(e,"label",23,o),v=a(e,"disabled",7,!1),_=a(e,"children",7),m=a(e,"child",7),u=a(e,"onHighlight",7,J),p=a(e,"onUnhighlight",7,J),T=be(e,po);const O=St.create({id:U(()=>r()),ref:U(()=>s(),c=>s(c)),value:U(()=>o()),disabled:U(()=>v()),label:U(()=>i()),onHighlight:U(()=>u()),onUnhighlight:U(()=>p())}),C=x(()=>de(T,O.props));var N={get id(){return r()},set id(c=ue(t)){r(c),l()},get ref(){return s()},set ref(c=null){s(c),l()},get value(){return o()},set value(c){o(c),l()},get label(){return i()},set label(c=o){i(c),l()},get disabled(){return v()},set disabled(c=!1){v(c),l()},get children(){return _()},set children(c){_(c),l()},get child(){return m()},set child(c){m(c),l()},get onHighlight(){return u()},set onHighlight(c=J){u(c),l()},get onUnhighlight(){return p()},set onUnhighlight(c=J){p(c),l()},$set:re,$on:(c,V)=>ne(e,c,V)},b=vo(),R=K(b);{var D=c=>{var V=q(),I=K(V);{let y=x(()=>({props:n(C),...O.snippetProps}));j(I,m,()=>n(y))}S(c,V)},G=c=>{var V=fo();ee(V,()=>({...n(C)}));var I=X(V);j(I,()=>_()??ae,()=>O.snippetProps),Z(V),S(c,V)};Q(R,c=>{m()?c(D):c(G,-1)})}var g=ct(R,2);return kr(g,{get mounted(){return O.mounted},set mounted(c){O.mounted=c}}),S(d,b),se(N)}var mo=new Set(["$$slots","$$events","$$legacy","id","ref","children","child"]),bo=$("<div><!></div>");function Ar(d,e){const t=ke();if(new.target)return te({component:Ar,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"children",7),i=a(e,"child",7),v=be(e,mo);const _=Ot.create({id:U(()=>r()),ref:U(()=>s(),N=>s(N))}),m=x(()=>de(v,_.props));var u={get id(){return r()},set id(N=ue(t)){r(N),l()},get ref(){return s()},set ref(N=null){s(N),l()},get children(){return o()},set children(N){o(N),l()},get child(){return i()},set child(N){i(N),l()},$set:re,$on:(N,b)=>ne(e,N,b)},p=q(),T=K(p);{var O=N=>{var b=q(),R=K(b);j(R,i,()=>({props:n(m)})),S(N,b)},C=N=>{var b=bo();ee(b,()=>({...n(m)}));var R=X(b);j(R,()=>o()??ae),Z(b),S(N,b)};Q(T,N=>{i()?N(O):N(C,-1)})}return S(d,p),se(u)}var yo=$("<!> <!>",1);function Er(d,e){if(new.target)return te({component:Er,...d});oe(e,!0);let t=a(e,"value",15),r=a(e,"onValueChange",7,J),s=a(e,"name",7,""),o=a(e,"disabled",7,!1),i=a(e,"type",7),v=a(e,"open",15,!1),_=a(e,"onOpenChange",7,J),m=a(e,"onOpenChangeComplete",7,J),u=a(e,"loop",7,!1),p=a(e,"scrollAlignment",7,"nearest"),T=a(e,"required",7,!1),O=a(e,"items",23,()=>[]),C=a(e,"allowDeselect",7,!1),N=a(e,"autocomplete",7),b=a(e,"children",7);function R(){t()===void 0&&t(i()==="single"?"":[])}R(),me.pre(()=>t(),()=>{R()});let D=Y("");const G=ho.create({type:i(),value:U(()=>t(),f=>{t(f),r()(f)}),disabled:U(()=>o()),required:U(()=>T()),open:U(()=>v(),f=>{v(f),_()(f)}),loop:U(()=>u()),scrollAlignment:U(()=>p()),name:U(()=>s()),isCombobox:!1,items:U(()=>O()),allowDeselect:U(()=>C()),inputValue:U(()=>n(D),f=>k(D,f,!0)),onOpenChangeComplete:U(()=>m())});var g={get value(){return t()},set value(f){t(f),l()},get onValueChange(){return r()},set onValueChange(f=J){r(f),l()},get name(){return s()},set name(f=""){s(f),l()},get disabled(){return o()},set disabled(f=!1){o(f),l()},get type(){return i()},set type(f){i(f),l()},get open(){return v()},set open(f=!1){v(f),l()},get onOpenChange(){return _()},set onOpenChange(f=J){_(f),l()},get onOpenChangeComplete(){return m()},set onOpenChangeComplete(f=J){m(f),l()},get loop(){return u()},set loop(f=!1){u(f),l()},get scrollAlignment(){return p()},set scrollAlignment(f="nearest"){p(f),l()},get required(){return T()},set required(f=!1){T(f),l()},get items(){return O()},set items(f=[]){O(f),l()},get allowDeselect(){return C()},set allowDeselect(f=!1){C(f),l()},get autocomplete(){return N()},set autocomplete(f){N(f),l()},get children(){return b()},set children(f){b(f),l()},$set:re,$on:(f,L)=>ne(e,f,L)},c=yo(),V=K(c);Fn(V,{children:(f,L)=>{var W=q(),F=K(W);j(F,()=>b()??ae),S(f,W)},$$slots:{default:!0}});var I=ct(V,2);{var y=f=>{var L=q(),W=K(L);{var F=P=>{gt(P,{get autocomplete(){return N()}})},w=P=>{var A=q(),z=K(A);sn(z,16,()=>G.opts.value.current,ie=>ie,(ie,Oe)=>{gt(ie,{get value(){return Oe},get autocomplete(){return N()}})}),S(P,A)};Q(W,P=>{G.opts.value.current.length===0?P(F):P(w,-1)})}S(f,L)},E=x(()=>Array.isArray(G.opts.value.current)),B=f=>{gt(f,{get autocomplete(){return N()},get value(){return G.opts.value.current},set value(L){G.opts.value.current=L}})};Q(I,f=>{n(E)?f(y):f(B,-1)})}return S(d,c),se(g)}var wo=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","type"]),xo=$("<button><!></button>");function Tr(d,e){const t=ke();if(new.target)return te({component:Tr,...d});oe(e,!0);let r=a(e,"id",23,()=>ue(t)),s=a(e,"ref",15,null),o=a(e,"child",7),i=a(e,"children",7),v=a(e,"type",7,"button"),_=be(e,wo);const m=Nt.create({id:U(()=>r()),ref:U(()=>s(),C=>s(C))}),u=x(()=>de(_,m.props,{type:v()}));var p={get id(){return r()},set id(C=ue(t)){r(C),l()},get ref(){return s()},set ref(C=null){s(C),l()},get child(){return o()},set child(C){o(C),l()},get children(){return i()},set children(C){i(C),l()},get type(){return v()},set type(C="button"){v(C),l()},$set:re,$on:(C,N)=>ne(e,C,N)},T=q(),O=K(T);return pe(O,()=>Ir,(C,N)=>{N(C,{get id(){return r()},get ref(){return m.opts.ref},children:(b,R)=>{var D=q(),G=K(D);{var g=V=>{var I=q(),y=K(I);j(y,o,()=>({props:n(u)})),S(V,I)},c=V=>{var I=xo();ee(I,()=>({...n(u)}));var y=X(I);j(y,()=>i()??ae),Z(I),S(V,I)};Q(G,V=>{o()?V(g):V(c,-1)})}S(b,D)},$$slots:{default:!0}})}),S(d,T),se(p)}var _o=$('<div data-slot="select-root" class="relative min-w-0 w-full"><!></div>');function Hr(d,e){const t=ke();if(new.target)return te({component:Hr,...d});oe(e,!0);const r=`${t}-trigger`;let s=Y(r),o=a(e,"value",15,""),i=a(e,"open",15,!1),v=a(e,"items",23,()=>[]),_=a(e,"disabled",7,!1),m=a(e,"invalid",7,!1),u=a(e,"required",7,!1),p=a(e,"name",7),T=a(e,"loop",7,!0),O=a(e,"onchange",7),C=a(e,"onopenchange",7),N=a(e,"children",7),b=a(e,"staticPosition",7,!1);en(()=>{i(!1),C()?.(!1)}),jr("canonical-select",{get triggerId(){return n(s)},registerTriggerId(g){k(s,g??r,!0)},listboxId:`${t}-listbox`,get value(){return o()},get displayValue(){return v().find(g=>g.value===o())?.label??o()},get invalid(){return m()},get open(){return i()},get staticPosition(){return b()},set open(g){i(g)}});var R={get value(){return o()},set value(g=""){o(g),l()},get open(){return i()},set open(g=!1){i(g),l()},get items(){return v()},set items(g=[]){v(g),l()},get disabled(){return _()},set disabled(g=!1){_(g),l()},get invalid(){return m()},set invalid(g=!1){m(g),l()},get required(){return u()},set required(g=!1){u(g),l()},get name(){return p()},set name(g){p(g),l()},get loop(){return T()},set loop(g=!0){T(g),l()},get onchange(){return O()},set onchange(g){O(g),l()},get onopenchange(){return C()},set onopenchange(g){C(g),l()},get children(){return N()},set children(g){N(g),l()},get staticPosition(){return b()},set staticPosition(g=!1){b(g),l()},$set:re,$on:(g,c)=>ne(e,g,c)},D=_o(),G=X(D);return pe(G,()=>Er,(g,c)=>{c(g,{type:"single",get items(){return v()},get disabled(){return _()},get required(){return u()},get name(){return p()},get loop(){return T()},get onValueChange(){return O()},get onOpenChange(){return C()},get value(){return o()},set value(V){o(V)},get open(){return i()},set open(V){i(V)},children:(V,I)=>{var y=q(),E=K(y);j(E,()=>N()??ae),S(V,y)},$$slots:{default:!0}})}),Z(D),S(d,D),se(R)}var Co=new Set(["$$slots","$$events","$$legacy","variant","class","children","child","onclick","id","ref"]),No=$("<!> <!>",1);function Mr(d,e){if(new.target)return te({component:Mr,...d});oe(e,!0);const t=(I,y)=>{let E=()=>(y?.()).props;const B=x(()=>G(E()));var f=q(),L=K(f);{var W=w=>{var P=q(),A=K(P);j(A,i,()=>({props:n(B)})),S(w,P)},F=w=>{Kn(w,_e(()=>n(B),{get variant(){return n(b)},get active(){return p.open},get class(){return n(R)},children:(P,A)=>{var z=No(),ie=K(z);j(ie,()=>o()??ae);var Oe=ct(ie,2);{var wt=Ae=>{mr(Ae,{get icon(){return Un},class:"size-3 shrink-0 text-muted-foreground transition-transform duration-spring-fast group-data-[state=open]:rotate-180 motion-reduce:transition-none"})};Q(Oe,Ae=>{r()==="default"&&Ae(wt)})}S(P,z)},$$slots:{default:!0}}))};Q(L,w=>{i()?w(W):w(F,-1)})}S(I,f)};let r=a(e,"variant",7,"default"),s=a(e,"class",7,""),o=a(e,"children",7),i=a(e,"child",7),v=a(e,"onclick",7),_=a(e,"id",7),m=a(e,"ref",15,null),u=be(e,Co);const p=At("canonical-select");Jr(()=>p.registerTriggerId(_())),ve(()=>p.registerTriggerId(_()));let T=Y(!1);ve(()=>{const I=p.triggerId;k(T,Array.from(document.querySelectorAll("label[for]")).some(y=>y.htmlFor===I),!0)});const O=x(()=>!u["aria-label"]&&!u["aria-labelledby"]&&!n(T));let C=Y(void 0);ve(()=>{const I=m();if(!n(O)||!I){k(C,void 0);return}const y=()=>{k(C,I.textContent?.trim()||void 0,!0)};y();const E=new MutationObserver(y);return E.observe(I,{childList:!0,characterData:!0,subtree:!0}),()=>E.disconnect()});const N={default:"border border-border bg-transparent shadow-none hover:border-input hover:bg-hover px-3",underline:"border-0 bg-transparent underline underline-offset-3 decoration-muted-foreground/30 px-3",ghost:"border-0 bg-transparent shadow-none hover:border-transparent hover:bg-hover px-3",secondary:"border border-border bg-secondary text-secondary-foreground shadow-(--elevation-raised) hover:border-input hover:bg-hover px-3"},b=x(()=>r()==="default"?"outline":r()==="secondary"?"secondary":"ghost"),R=x(()=>xe("group type-caption text-foreground flex h-(--control-height-medium) w-full min-w-0 cursor-pointer items-center justify-between gap-2 rounded-(--radius-medium) font-medium transition-[border-color,background-color,box-shadow] duration-spring-fast aria-invalid:border-danger aria-invalid:ring-1 aria-invalid:ring-danger/25 disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-50 disabled:hover:border-border disabled:hover:bg-transparent motion-reduce:transition-none",N[r()],s()));function D(I){I.detail===0&&!p.open&&(p.open=!0),v()?.(I)}function G(I){const{"aria-activedescendant":y,"aria-label":E,...B}=I;return{...B,role:"combobox","aria-label":typeof E=="string"?E:n(C),"aria-activedescendant":p.open&&typeof y=="string"?y:void 0}}var g={get variant(){return r()},set variant(I="default"){r(I),l()},get class(){return s()},set class(I=""){s(I),l()},get children(){return o()},set children(I){o(I),l()},get child(){return i()},set child(I){i(I),l()},get onclick(){return v()},set onclick(I){v(I),l()},get id(){return _()},set id(I){_(I),l()},get ref(){return m()},set ref(I=null){m(I),l()},$set:re,$on:(I,y)=>ne(e,I,y)},c=q(),V=K(c);{let I=x(()=>p.open?p.listboxId:void 0),y=x(()=>p.invalid||void 0);pe(V,()=>Tr,(E,B)=>{B(E,_e(()=>u,{get id(){return p.triggerId},get"aria-controls"(){return n(I)},get class(){return n(R)},get"aria-invalid"(){return n(y)},onclick:D,get child(){return t},get ref(){return m()},set ref(f){m(f)}}))})}return S(d,c),se(g)}var Io=$("<span> </span>");function Rr(d,e){if(new.target)return te({component:Rr,...d});oe(e,!0);let t=a(e,"placeholder",23,()=>jt.ui_select_value_placeholder());const r=At("canonical-select");var s={get placeholder(){return t()},set placeholder(v=jt.ui_select_value_placeholder()){t(v),l()},$set:re,$on:(v,_)=>ne(e,v,_)},o=Io(),i=sr(o,!0);return Et(()=>{fr(o,1,`min-w-0 flex-1 truncate text-left ${r.value?"text-foreground":"text-muted-foreground"}`),Qr(i,r.displayValue||t())}),S(d,o),se(s)}var Po=$('<span data-slot="menu-list-highlight" class="contents svelte-da0knc" aria-hidden="true"><!></span>');function Vr(d,e){if(new.target)return te({component:Vr,...d});oe(e,!0);let t=a(e,"activeIndex",7),r=a(e,"onactiveindexchange",7),s=Y(null),o=Y(null),i=Y(Xr([])),v=Y(null),_=Y(!1),m=Y(!1),u;const p='[data-menu-item], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="option"]';ve(()=>{n(o)&&t()===void 0&&n(_)&&n(o).activeIndex!==n(v)&&n(o).setActiveIndex(n(v))}),ve(()=>{!n(o)||t()===void 0||n(o).pointerPosition||n(o).setActiveIndex(t())}),ve(()=>{if(!n(o)?.pointerPosition){u=void 0;return}n(o).activeIndex!==u&&(u=n(o).activeIndex,r()?.(n(o).activeIndex))}),Zr(()=>{const b=n(s)?.parentElement;if(!b)return;b.dataset.listOverlay="",b.classList.add("relative","isolate");const R=tn(b,{axis:"xy"});k(o,R);let D=[];const G=w=>w instanceof Element&&(w.matches(p)||w.querySelector(p)),g=w=>w.hasAttribute("data-disabled")||w.getAttribute("aria-disabled")==="true",c=w=>w.dataset.selectionAppearance!=="indicator"&&(w.hasAttribute("data-selected")||w.getAttribute("data-state")==="checked"||w.getAttribute("aria-selected")==="true"||w.getAttribute("aria-checked")==="true"),V=()=>{const w=Array.from(b.querySelectorAll(p)).filter(A=>A.closest("[data-list-overlay]")===b&&!g(A));w.length!==D.length||w.some((A,z)=>A!==D[z])?(D.forEach((A,z)=>R.registerItem(z,null)),D=w,D.forEach((A,z)=>R.registerItem(z,A))):R.measure();const P=D.flatMap((A,z)=>c(A)?[z]:[]);if((P.length!==n(i).length||P.some((A,z)=>A!==n(i)[z]))&&k(i,P,!0),t()===void 0){const A=D.findIndex(z=>z.hasAttribute("data-highlighted")||z===document.activeElement);A>=0&&R.setActiveIndex(A)}},I=new MutationObserver(w=>{w.some(P=>P.type==="attributes"||[...P.addedNodes,...P.removedNodes].some(G))&&V()});I.observe(b,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-highlighted","data-selected","data-state","data-disabled","aria-selected","aria-checked","aria-disabled","data-selection-appearance"]});const y=()=>{const w=D.indexOf(document.activeElement);k(v,w>=0?w:null,!0)},E=()=>{k(m,!1),k(_,!0),y(),Ct().then(()=>{n(_)&&y()})},B=()=>{k(_,!1)},f=()=>{k(m,!1),k(_,!0),y()},L=w=>{const P=w.target instanceof Element?w.target.closest(p):null,A=D.indexOf(P);w.button!==0||A<0||(k(_,!1),k(m,!0),R.setActiveIndex(A))},W=()=>{k(m,!1)},F=w=>{const P=D.indexOf(w.target);k(v,P>=0?P:null,!0),P>=0&&R.setActiveIndex(P)};return b.addEventListener("keydown",E,!0),b.addEventListener("pointermove",B,!0),b.addEventListener("pointerleave",f),b.addEventListener("pointerdown",L),window.addEventListener("pointerup",W),window.addEventListener("pointercancel",W),b.addEventListener("focusin",F),Ct().then(V),()=>{I.disconnect(),b.removeEventListener("keydown",E,!0),b.removeEventListener("pointermove",B,!0),b.removeEventListener("pointerleave",f),b.removeEventListener("pointerdown",L),window.removeEventListener("pointerup",W),window.removeEventListener("pointercancel",W),b.removeEventListener("focusin",F),R.destroy(),k(o,null),delete b.dataset.listOverlay}});var T={get activeIndex(){return t()},set activeIndex(b){t(b),l()},get onactiveindexchange(){return r()},set onactiveindexchange(b){r(b),l()},$set:re,$on:(b,R)=>ne(e,b,R)},O=Po(),C=X(O);{var N=b=>{{let R=x(()=>n(m)?n(i).includes(n(o).activeIndex??-1)?"bg-hover menu-selection-pressed":"bg-active":"bg-hover");jn(b,{get store(){return n(o)},get selectedIndexes(){return n(i)},get hoverClass(){return n(R)}})}};Q(C,b=>{n(o)&&b(N)})}return Z(O),Yn(O,b=>k(s,b),()=>n(s)),Et(()=>vr(O,"data-active-index",n(o)?.activeIndex??void 0)),S(d,O),se(T)}const Lr=8;function Zo(d,e,t=24){if(!d)return!0;const r=d.getBoundingClientRect(),s=e+t+Lr;return r.left>=s||d.ownerDocument.documentElement.clientWidth-r.right>=s}var So=$("<div><!> <!></div>"),ko=$("<div><!></div>"),Oo=$("<div><div><!></div></div>");function Dr(d,e){if(new.target)return te({component:Dr,...d});oe(e,!0);const t=y=>{var E=q(),B=K(E);{const f=(L,W)=>{let F=()=>(W?.()).props;var w=So();ee(w,()=>({...F(),id:b.listboxId,role:"listbox","aria-labelledby":b.triggerId,tabindex:"-1"}));var P=X(w);Vr(P,{});var A=ct(P,2);j(A,()=>T()??ae),Z(w),S(L,w)};pe(B,()=>Ar,(L,W)=>{W(L,{get class(){return`relative min-h-0 flex-1 overflow-y-auto p-1.5 ${m()??""}`},child:f,$$slots:{child:!0}})})}S(y,E)},r=(y,E)=>{let B=()=>(E?.()).props;const f=x(()=>D(B()));var L=ko();ee(L,()=>({...n(f),...v()?{id:v()}:{}}));var W=X(L);t(W),Z(L),Jt(L,F=>i?.(F)),S(y,L)},s=(y,E)=>{let B=()=>(E?.()).props,f=()=>(E?.()).wrapperProps;const L=x(()=>D(B()));var W=Oo();ee(W,()=>({...f(),...v()?{id:v()}:{}}));var F=X(W);ee(F,()=>({...n(L)}));var w=X(F);t(w),Z(F),Jt(F,P=>i?.(P)),Z(W),S(y,W)},o=rn(),i=nn();let v=a(e,"wrapperId",7),_=a(e,"class",7,""),m=a(e,"wrapperClass",7,""),u=a(e,"dropUp",7,!1),p=a(e,"portal",7),T=a(e,"children",7);const O=x(()=>u()||p()===!0),C=Jn(),N=Xn(Zn()+2);$n(N);const b=At("canonical-select");async function R(){const y=document.getElementById(b.triggerId);await Ct(),!b.open&&y?.isConnected&&y.focus({preventScroll:!0})}function D(y){const{role:E,tabindex:B,...f}=y;return f}var G={get wrapperId(){return v()},set wrapperId(y){v(y),l()},get class(){return _()},set class(y=""){_(y),l()},get wrapperClass(){return m()},set wrapperClass(y=""){m(y),l()},get dropUp(){return u()},set dropUp(y=!1){u(y),l()},get portal(){return p()},set portal(y){p(y),l()},get children(){return T()},set children(y){T(y),l()},$set:re,$on:(y,E)=>ne(e,y,E)},g=q(),c=K(g);{var V=y=>{var E=q(),B=K(E);{let f=x(()=>xe(Xt(),"w-full max-h-60",_()));pe(B,()=>Sr,(L,W)=>{W(L,{preventScroll:!1,onEscapeKeydown:R,"data-slot":"select-content","data-static-position":!0,get"data-surface-level"(){return N},get class(){return n(f)},style:"max-width: calc(100vw - var(--space-4));",get child(){return r}})})}S(y,E)},I=y=>{const E=x(()=>p()===void 0&&!u()?C():void 0);var B=q(),f=K(B);{let L=x(()=>!n(O)&&!n(E)),W=x(()=>n(E)??o?.target());pe(f,()=>Bn,(F,w)=>{w(F,{get disabled(){return n(L)},get to(){return n(W)},children:(P,A)=>{var z=q(),ie=K(z);{let Oe=x(()=>n(E)?"absolute":"fixed"),wt=x(()=>n(E)!==void 0),Ae=x(()=>u()?"top":"bottom"),Br=x(()=>xe(Xt(),"w-(--bits-select-anchor-width) max-h-60",_()));pe(ie,()=>Pr,(Wr,Ur)=>{Ur(Wr,{get strategy(){return n(Oe)},get hideWhenDetached(){return n(wt)},onEscapeKeydown:R,"data-slot":"select-content",get"data-surface-level"(){return N},get side(){return n(Ae)},sideOffset:4,get collisionPadding(){return Lr},get class(){return n(Br)},style:"max-width: calc(100vw - var(--space-4));",get child(){return s}})})}S(P,z)},$$slots:{default:!0}})})}S(y,B)};Q(c,y=>{b.staticPosition?y(V):y(I,-1)})}return S(d,g),se(G)}var Ao=new Set(["$$slots","$$events","$$legacy","state","class","data-slot"]),Eo=$('<span><span class="relative block h-3.5 w-6 rounded-full bg-muted-foreground/25 transition-colors duration-spring-fast ease-spring-fast data-[state=checked]:bg-foreground/80 motion-reduce:transition-none"><span></span></span></span>'),To=$("<span><!></span>");function Fr(d,e){if(new.target)return te({component:Fr,...d});oe(e,!0);let t=a(e,"state",7),r=a(e,"class",7),s=a(e,"data-slot",7),o=be(e,Ao);var i={get state(){return t()},set state(p){t(p),l()},get class(){return r()},set class(p){r(p),l()},get"data-slot"(){return s()},set"data-slot"(p){s(p),l()},$set:re,$on:(p,T)=>ne(e,p,T)},v=q(),_=K(v);{var m=p=>{var T=Eo();ee(T,N=>({...o,"data-slot":s()??"menu-switch",class:N,"aria-hidden":"true"}),[()=>xe("ml-auto flex h-lh shrink-0 items-center",r())]);var O=X(T),C=sr(O);Z(T),Et(N=>{vr(O,"data-state",t()==="on"?"checked":"unchecked"),fr(C,1,N)},[()=>Wn(xe("absolute top-0.5 left-0.5 size-2.5 rounded-full bg-popover transition-transform duration-spring-fast ease-spring-fast motion-reduce:transition-none",t()==="on"&&"translate-x-2.5"))]),S(p,T)},u=p=>{var T=To();ee(T,N=>({...o,"data-slot":s()??(t()==="submenu"?"menu-sub-chevron":"menu-item-indicator"),class:N,"aria-hidden":"true"}),[()=>xe(on,t()==="submenu"?"text-muted-foreground":"text-primary-ink",r())]);var O=X(T);{var C=N=>{{let b=x(()=>t()==="mixed"?qn:t()==="submenu"?zn:Gn),R=x(()=>t()==="submenu"?"calc(var(--space-2) + var(--space-1) / 2)":"var(--menu-icon-size)"),D=x(()=>t()==="submenu"?"size-2.5 rtl:rotate-180":"size-(--menu-icon-size)");mr(N,{get icon(){return n(b)},get size(){return n(R)},get class(){return n(D)}})}};Q(O,N=>{t()!=="empty"&&N(C)})}Z(T),S(p,T)};Q(_,p=>{t()==="on"||t()==="off"?p(m):p(u,-1)})}return S(d,v),se(i)}var Ho=$('<div class="min-w-0 flex-1 truncate"><!></div> <!>',1);function Kr(d,e){if(new.target)return te({component:Kr,...d});oe(e,!0);let t=a(e,"value",7),r=a(e,"label",7),s=a(e,"disabled",7,!1),o=a(e,"children",7),i=a(e,"class",7,"");var v={get value(){return t()},set value(u){t(u),l()},get label(){return r()},set label(u){r(u),l()},get disabled(){return s()},set disabled(u=!1){s(u),l()},get children(){return o()},set children(u){o(u),l()},get class(){return i()},set class(u=""){i(u),l()},$set:re,$on:(u,p)=>ne(e,u,p)},_=q(),m=K(_);{const u=(C,N)=>{let b=()=>(N?.()).selected;var R=Ho(),D=K(R),G=X(D);j(G,()=>o()??ae),Z(D);var g=ct(D,2);{let c=x(()=>b()?"checked":"empty");Fr(g,{get state(){return n(c)},"data-slot":"select-item-check"})}S(C,R)};let p=x(()=>r()??t()),T=x(()=>s()||void 0),O=x(()=>xe(Qn(),i()));pe(m,()=>Or,(C,N)=>{N(C,{get value(){return t()},get label(){return n(p)},get disabled(){return s()},get"aria-disabled"(){return n(T)},"data-menu-item":!0,get class(){return n(O)},children:u,$$slots:{default:!0}})})}return S(d,_),se(v)}const $o={Root:Hr,Trigger:Mr,Value:Rr,Content:Dr,Item:Kr},Mo=(d,e)=>{let t,r;const s=()=>{t||(t=eo(()=>{t=void 0;const v=d.checkVisibility?.()??!0,_=v?d.clientWidth:0,m=v?d.clientHeight:0,u=_>0&&m>0&&(d.scrollWidth>_||d.scrollHeight>m);r?.(),r=to(()=>{r=void 0,e(u)})}))},o=typeof ResizeObserver>"u"?void 0:new ResizeObserver(s),i=new MutationObserver(s);return o?.observe(d),i.observe(d,{childList:!0,characterData:!0,subtree:!0}),document.fonts?.addEventListener("loadingdone",s),s(),{update(v){e=v,s()},destroy(){t?.(),r?.(),o?.disconnect(),i.disconnect(),document.fonts?.removeEventListener("loadingdone",s)}}},es=(d,e)=>{let t=e;const r=o=>{t&&(o||t.trim()!==d.textContent?.trim())?d.title=t:d.removeAttribute("title")},s=Mo(d,r);return{update(o){t=o,s?.update?.(r)},destroy(){s?.destroy?.(),d.removeAttribute("title")}}};export{Ir as F,yr as H,Fr as M,Lr as O,$o as S,Vr as a,rr as b,tr as c,er as d,ho as e,Pr as f,Sr as g,gt as h,Or as i,Ar as j,Zo as k,Mo as o,es as t};
@@ -1,4 +1,4 @@
1
- import{g as st}from"./DOCWMdWU.js";import{g as it}from"./D0I9E6A0.js";import{s as at}from"./D492HRYt.js";import{b as f,ay as we,X as F,a1 as rt,aP as nt,bh as Ve,aW as fe,a_ as lt,V as ut,aZ as ot,U as ct,b0 as ht,Y as dt,z as I,r as pt,$ as At,am as ft,aU as gt,ab as mt,x as Ct,aV as bt,aI as U}from"./DOKxXiSI.js";import{c as kt}from"./BTNEDHav.js";import{aP as Et}from"./ChNPgGKQ.js";var Pe=(function(){var t=f(function(O,c,d,p){for(d=d||{},p=O.length;p--;d[O[p]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],g=[1,25],m=[1,32],_=[1,33],Y=[1,34],b=[1,45],me=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Be=[1,9],A=[1,8,9],te=[1,58],se=[1,59],ie=[1,60],ae=[1,61],re=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Me=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],ne=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],le=[13,60,86,100,102,103],K=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],ue=[1,103],W=[1,121],Q=[1,117],X=[1,113],j=[1,119],H=[1,114],q=[1,115],J=[1,116],Z=[1,118],$=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],oe=[12,39],Ne=[1,8,9,39,41,44,46],ce=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(function(c,d,p,l,C,e,ee){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:l.addRelation(e[s]);break;case 20:e[s-1].title=l.cleanupLabel(e[s]),l.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(e[s]);break;case 37:this.$=l.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:l.setCssClass(e[s-2],e[s]);break;case 49:l.addMembers(e[s-3],e[s-1]);break;case 51:l.setCssClass(e[s-5],e[s-3]),l.addMembers(e[s-5],e[s-1]);break;case 52:l.addAnnotation(e[s-3],e[s-1]);break;case 53:l.addAnnotation(e[s-6],e[s-4]),l.addMembers(e[s-6],e[s-1]);break;case 54:l.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],l.addClass(e[s]);break;case 56:this.$=e[s-1],l.addClass(e[s-1]),l.setClassLabel(e[s-1],e[s]);break;case 60:l.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:l.addMember(e[s-1],l.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=l.addNote(e[s],e[s-1]);break;case 72:this.$=l.addNote(e[s]);break;case 73:this.$=e[s-2],l.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],l.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],l.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],l.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],l.setLink(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],l.setLink(e[s-3],e[s-2],e[s]),l.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],l.setClickEvent(e[s-3],e[s-2],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],l.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],l.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],l.setLink(e[s-3],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],l.setLink(e[s-4],e[s-2],e[s]),l.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],l.setCssStyle(e[s-1],e[s]);break;case 106:l.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(A,[2,19],{22:[1,50]}),t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,27]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),{34:[1,51]},{36:[1,52]},t(A,[2,33]),t(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(A,[2,65]),t(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:Me,55:76},{58:78,60:[1,79]},t(A,[2,76]),t(A,[2,77]),t(A,[2,78]),t(A,[2,79]),t(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),t(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},t(ne,[2,133]),t(ne,[2,134]),t(ne,[2,135]),t(ne,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},t(A,[2,20]),t(A,[2,31]),t(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se},t(A,[2,64]),{67:93,73:_e,74:Se},t(le,[2,83],{66:94,68:te,69:se,70:ie,71:ae,72:re}),t(K,[2,84]),t(K,[2,85]),t(K,[2,86]),t(K,[2,87]),t(K,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:m,56:_},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ue},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:W,50:Q,59:110,60:X,82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},{60:[1,122]},{13:Me,55:123},t(S,[2,72]),t(S,[2,138]),{22:W,50:Q,59:124,60:X,61:[1,125],82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),{11:127,12:Ue,39:[2,36]},t(oe,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),t(oe,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(ce,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},t(le,[2,82],{66:136,68:te,69:se,70:ie,71:ae,72:re}),t(le,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:m,56:_},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:ue},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},t(A,[2,91],{13:[1,147]}),t(A,[2,93],{13:[1,149],77:[1,148]}),t(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(A,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(A,[2,106]),t(S,[2,71]),t(A,[2,73],{61:ze}),{60:[1,155]},t(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},t(oe,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(ce,[2,69]),t(ce,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},t(le,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:m,56:_},{45:163,51:ue},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(A,[2,60]),t(A,[2,92]),t(A,[2,94]),t(A,[2,95],{77:[1,165]}),t(A,[2,98]),t(A,[2,99],{13:[1,166]}),t(A,[2,101],{13:[1,168],77:[1,167]}),{22:W,50:Q,60:X,82:j,84:169,85:112,86:H,87:q,88:J,89:Z,90:$},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(oe,[2,11]),t(ce,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ue},t(A,[2,96]),t(A,[2,100]),t(A,[2,102]),t(A,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(A,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(function(c,d){if(d.recoverable)this.trace(c);else{var p=new Error(c);throw p.hash=d,p}},"parseError"),parse:f(function(c){var d=this,p=[0],l=[],C=[null],e=[],ee=this.table,s="",de=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),D=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);D.setInput(c,V.yy),V.yy.lexer=D,V.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ve=D.yylloc;e.push(ve);var et=D.options&&D.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){p.length=p.length-2*N,C.length=C.length-N,e.length=e.length-N}f(tt,"popStack");function Qe(){var N;return N=l.pop()||D.lex()||We,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=d.symbols_[N]||N),N}f(Qe,"lex");for(var B,P,L,Ie,G={},pe,v,Xe,Ae;;){if(P=p[p.length-1],this.defaultActions[P]?L=this.defaultActions[P]:((B===null||typeof B>"u")&&(B=Qe()),L=ee[P]&&ee[P][B]),typeof L>"u"||!L.length||!L[0]){var Oe="";Ae=[];for(pe in ee[P])this.terminals_[pe]&&pe>Ze&&Ae.push("'"+this.terminals_[pe]+"'");D.showPosition?Oe="Parse error on line "+(de+1)+`:
1
+ import{g as st}from"./CuD9DL4y.js";import{g as it}from"./DzEm_gMB.js";import{s as at}from"./C4s4Sq6j.js";import{b as f,ay as we,X as F,a1 as rt,aP as nt,bh as Ve,aW as fe,a_ as lt,V as ut,aZ as ot,U as ct,b0 as ht,Y as dt,z as I,r as pt,$ as At,am as ft,aU as gt,ab as mt,x as Ct,aV as bt,aI as U}from"./Bfi661u9.js";import{c as kt}from"./C7fHSR36.js";import{aP as Et}from"./NqdaVAll.js";var Pe=(function(){var t=f(function(O,c,d,p){for(d=d||{},p=O.length;p--;d[O[p]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],g=[1,25],m=[1,32],_=[1,33],Y=[1,34],b=[1,45],me=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Be=[1,9],A=[1,8,9],te=[1,58],se=[1,59],ie=[1,60],ae=[1,61],re=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Me=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],ne=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],le=[13,60,86,100,102,103],K=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],ue=[1,103],W=[1,121],Q=[1,117],X=[1,113],j=[1,119],H=[1,114],q=[1,115],J=[1,116],Z=[1,118],$=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],oe=[12,39],Ne=[1,8,9,39,41,44,46],ce=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(function(c,d,p,l,C,e,ee){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:l.addRelation(e[s]);break;case 20:e[s-1].title=l.cleanupLabel(e[s]),l.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(e[s]);break;case 37:this.$=l.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:l.setCssClass(e[s-2],e[s]);break;case 49:l.addMembers(e[s-3],e[s-1]);break;case 51:l.setCssClass(e[s-5],e[s-3]),l.addMembers(e[s-5],e[s-1]);break;case 52:l.addAnnotation(e[s-3],e[s-1]);break;case 53:l.addAnnotation(e[s-6],e[s-4]),l.addMembers(e[s-6],e[s-1]);break;case 54:l.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],l.addClass(e[s]);break;case 56:this.$=e[s-1],l.addClass(e[s-1]),l.setClassLabel(e[s-1],e[s]);break;case 60:l.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:l.addMember(e[s-1],l.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=l.addNote(e[s],e[s-1]);break;case 72:this.$=l.addNote(e[s]);break;case 73:this.$=e[s-2],l.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],l.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],l.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],l.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],l.setLink(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],l.setLink(e[s-3],e[s-2],e[s]),l.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],l.setClickEvent(e[s-3],e[s-2],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],l.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],l.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],l.setLink(e[s-3],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],l.setLink(e[s-4],e[s-2],e[s]),l.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],l.setCssStyle(e[s-1],e[s]);break;case 106:l.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(A,[2,19],{22:[1,50]}),t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,27]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),{34:[1,51]},{36:[1,52]},t(A,[2,33]),t(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(A,[2,65]),t(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:Me,55:76},{58:78,60:[1,79]},t(A,[2,76]),t(A,[2,77]),t(A,[2,78]),t(A,[2,79]),t(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),t(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},t(ne,[2,133]),t(ne,[2,134]),t(ne,[2,135]),t(ne,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},t(A,[2,20]),t(A,[2,31]),t(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se},t(A,[2,64]),{67:93,73:_e,74:Se},t(le,[2,83],{66:94,68:te,69:se,70:ie,71:ae,72:re}),t(K,[2,84]),t(K,[2,85]),t(K,[2,86]),t(K,[2,87]),t(K,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:m,56:_},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ue},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:W,50:Q,59:110,60:X,82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},{60:[1,122]},{13:Me,55:123},t(S,[2,72]),t(S,[2,138]),{22:W,50:Q,59:124,60:X,61:[1,125],82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),{11:127,12:Ue,39:[2,36]},t(oe,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),t(oe,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(ce,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},t(le,[2,82],{66:136,68:te,69:se,70:ie,71:ae,72:re}),t(le,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:m,56:_},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:ue},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},t(A,[2,91],{13:[1,147]}),t(A,[2,93],{13:[1,149],77:[1,148]}),t(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(A,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(A,[2,106]),t(S,[2,71]),t(A,[2,73],{61:ze}),{60:[1,155]},t(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},t(oe,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(ce,[2,69]),t(ce,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},t(le,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:m,56:_},{45:163,51:ue},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(A,[2,60]),t(A,[2,92]),t(A,[2,94]),t(A,[2,95],{77:[1,165]}),t(A,[2,98]),t(A,[2,99],{13:[1,166]}),t(A,[2,101],{13:[1,168],77:[1,167]}),{22:W,50:Q,60:X,82:j,84:169,85:112,86:H,87:q,88:J,89:Z,90:$},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(oe,[2,11]),t(ce,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ue},t(A,[2,96]),t(A,[2,100]),t(A,[2,102]),t(A,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(A,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(function(c,d){if(d.recoverable)this.trace(c);else{var p=new Error(c);throw p.hash=d,p}},"parseError"),parse:f(function(c){var d=this,p=[0],l=[],C=[null],e=[],ee=this.table,s="",de=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),D=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);D.setInput(c,V.yy),V.yy.lexer=D,V.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ve=D.yylloc;e.push(ve);var et=D.options&&D.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){p.length=p.length-2*N,C.length=C.length-N,e.length=e.length-N}f(tt,"popStack");function Qe(){var N;return N=l.pop()||D.lex()||We,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=d.symbols_[N]||N),N}f(Qe,"lex");for(var B,P,L,Ie,G={},pe,v,Xe,Ae;;){if(P=p[p.length-1],this.defaultActions[P]?L=this.defaultActions[P]:((B===null||typeof B>"u")&&(B=Qe()),L=ee[P]&&ee[P][B]),typeof L>"u"||!L.length||!L[0]){var Oe="";Ae=[];for(pe in ee[P])this.terminals_[pe]&&pe>Ze&&Ae.push("'"+this.terminals_[pe]+"'");D.showPosition?Oe="Parse error on line "+(de+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+Ae.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Oe="Parse error on line "+(de+1)+": Unexpected "+(B==We?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Oe,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:ve,expected:Ae})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+B);switch(L[0]){case 1:p.push(B),C.push(D.yytext),e.push(D.yylloc),p.push(L[1]),B=null,Ke=D.yyleng,s=D.yytext,de=D.yylineno,ve=D.yylloc;break;case 2:if(v=this.productions_[L[1]][1],G.$=C[C.length-v],G._$={first_line:e[e.length-(v||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(v||1)].first_column,last_column:e[e.length-1].last_column},et&&(G._$.range=[e[e.length-(v||1)].range[0],e[e.length-1].range[1]]),Ie=this.performAction.apply(G,[s,Ke,de,V.yy,L[1],C,e].concat($e)),typeof Ie<"u")return Ie;v&&(p=p.slice(0,-1*v*2),C=C.slice(0,-1*v),e=e.slice(0,-1*v)),p.push(this.productions_[L[1]][0]),C.push(G.$),e.push(G._$),Xe=ee[p[p.length-2]][p[p.length-1]],p.push(Xe);break;case 3:return!0}}return!0},"parse")},Je=(function(){var O={EOF:1,parseError:f(function(d,p){if(this.yy.parser)this.yy.parser.parseError(d,p);else throw new Error(d)},"parseError"),setInput:f(function(c,d){return this.yy=d||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:f(function(c){var d=c.length,p=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),p.length-1&&(this.yylineno-=p.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:p?(p.length===l.length?this.yylloc.first_column:0)+l[l.length-p.length].length-p[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(c){this.unput(this.match.slice(c))},"less"),pastInput:f(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+`