@intent-hq/web 2.385.2 → 2.386.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/assets/0.DSZNT9Vm.css +1 -0
  3. package/web/app/immutable/chunks/{B5NaFcis.js → -8AxW0IA.js} +3 -3
  4. package/web/app/immutable/chunks/{CBueLH7U.js → -VR23WhZ.js} +1 -1
  5. package/web/app/immutable/chunks/{U7dpdlAf.js → 0b3rkAam.js} +1 -1
  6. package/web/app/immutable/chunks/{sSXTMg2P.js → 0y7aytZM.js} +1 -1
  7. package/web/app/immutable/chunks/{B6d1Nolc.js → 21kfe-mS.js} +1 -1
  8. package/web/app/immutable/chunks/{BvMBgdHo.js → 24f6N9l0.js} +1 -1
  9. package/web/app/immutable/chunks/{DcOkWaeN.js → 2aKRVAvL.js} +1 -1
  10. package/web/app/immutable/chunks/{IwNEzJ15.js → 3IpMTtMx.js} +1 -1
  11. package/web/app/immutable/chunks/{SbTG0nwQ.js → 3Kr2ijlK.js} +1 -1
  12. package/web/app/immutable/chunks/{CD-M_2xD.js → 3LCOBHm6.js} +1 -1
  13. package/web/app/immutable/chunks/{CTW83wJs.js → 3Qz3qAhk.js} +1 -1
  14. package/web/app/immutable/chunks/{CU_-vK2M.js → 6SOEgr71.js} +3 -3
  15. package/web/app/immutable/chunks/{gU2qspu9.js → 77KTvr2w.js} +1 -1
  16. package/web/app/immutable/chunks/{DAUvP6UD.js → 7EQMYysM.js} +1 -1
  17. package/web/app/immutable/chunks/{DlU1rxYV.js → 7i0OJtNQ.js} +1 -1
  18. package/web/app/immutable/chunks/{B6FGs8l2.js → 8jO_MBKF.js} +1 -1
  19. package/web/app/immutable/chunks/{C50zlWbZ.js → 9AJtSub0.js} +1 -1
  20. package/web/app/immutable/chunks/{7HiVLHLh.js → 9R_52XLX.js} +1 -1
  21. package/web/app/immutable/chunks/{DGMrUmNq.js → A3z9XWMi.js} +1 -1
  22. package/web/app/immutable/chunks/{CIJ-7Xzd.js → B-4i031c.js} +1 -1
  23. package/web/app/immutable/chunks/{B3IS1jjn.js → B-MjuJTx.js} +2 -2
  24. package/web/app/immutable/chunks/{BW1iql_y.js → B0kNPCxU.js} +1 -1
  25. package/web/app/immutable/chunks/{CYSndAne.js → B18ybwa0.js} +1 -1
  26. package/web/app/immutable/chunks/{pnbUAKkx.js → B1xM1EBM.js} +1 -1
  27. package/web/app/immutable/chunks/B2LBPAIA.js +1 -0
  28. package/web/app/immutable/chunks/{DuAAGnM9.js → B2OS2WTh.js} +1 -1
  29. package/web/app/immutable/chunks/{BjlMkd10.js → B3JbrKDZ.js} +1 -1
  30. package/web/app/immutable/chunks/{C2F2Vd1P.js → B3OJ_2Dd.js} +1 -1
  31. package/web/app/immutable/chunks/{-8sNsc56.js → B4F7GG5Q.js} +1 -1
  32. package/web/app/immutable/chunks/{CrsbEWnE.js → B8foSZsl.js} +1 -1
  33. package/web/app/immutable/chunks/{deEweluJ.js → B9kUdNbG.js} +1 -1
  34. package/web/app/immutable/chunks/{BTepRW_m.js → BB-hf8IY.js} +4 -4
  35. package/web/app/immutable/chunks/{TC7OsYhy.js → BCFB88Wl.js} +1 -1
  36. package/web/app/immutable/chunks/{jnsEVh0o.js → BCVhFPNJ.js} +1 -1
  37. package/web/app/immutable/chunks/{DYbZIRJE.js → BCiWc-GH.js} +1 -1
  38. package/web/app/immutable/chunks/{BD9db4FR.js → BCuI_zgX.js} +1 -1
  39. package/web/app/immutable/chunks/{D7P3vklT.js → BD7jFvJp.js} +1 -1
  40. package/web/app/immutable/chunks/{CObW_WD-.js → BDbFQqI8.js} +3 -3
  41. package/web/app/immutable/chunks/{0pEQEOm6.js → BE08e7Se.js} +1 -1
  42. package/web/app/immutable/chunks/{HU1Ksz8U.js → BGo6FK-0.js} +1 -1
  43. package/web/app/immutable/chunks/{CXZbeRE-.js → BHJpo3VA.js} +1 -1
  44. package/web/app/immutable/chunks/{ClYR_2Js.js → BIcof04i.js} +1 -1
  45. package/web/app/immutable/chunks/{Clo7aK1n.js → BIkt0YE0.js} +1 -1
  46. package/web/app/immutable/chunks/{ada9rZfE.js → BKFxm3WK.js} +1 -1
  47. package/web/app/immutable/chunks/{94vL4WlW.js → BNFvOw36.js} +1 -1
  48. package/web/app/immutable/chunks/{CzXIAWau.js → BNJkKc31.js} +1 -1
  49. package/web/app/immutable/chunks/{CTgU1bby.js → BOnTc4ny.js} +1 -1
  50. package/web/app/immutable/chunks/{7ZsTr9xa.js → BPDyvu9A.js} +1 -1
  51. package/web/app/immutable/chunks/{c0c_b7yh.js → BPpACIC2.js} +1 -1
  52. package/web/app/immutable/chunks/{zB9UbdEg.js → BRPJcG-m.js} +1 -1
  53. package/web/app/immutable/chunks/{C63WwVct.js → BRdQpeCl.js} +1 -1
  54. package/web/app/immutable/chunks/{DxC0zTSc.js → BUTuN2nE.js} +1 -1
  55. package/web/app/immutable/chunks/{CWOQ_pUA.js → BVcaPXq9.js} +1 -1
  56. package/web/app/immutable/chunks/{CoJyxFcH.js → BVyOECUU.js} +1 -1
  57. package/web/app/immutable/chunks/{DiURwJNX.js → BW2en5Js.js} +1 -1
  58. package/web/app/immutable/chunks/{BO8Bp7Ht.js → BWI85bGY.js} +1 -1
  59. package/web/app/immutable/chunks/{rXKOJqUt.js → BXHbm15d.js} +1 -1
  60. package/web/app/immutable/chunks/{CQMFoUkp.js → BYJh9adv.js} +1 -1
  61. package/web/app/immutable/chunks/{nw_ZiYCy.js → BYYtBM5R.js} +1 -1
  62. package/web/app/immutable/chunks/{YHt5oaBn.js → Bax102l4.js} +1 -1
  63. package/web/app/immutable/chunks/{bKvZbiNk.js → Bb-hI5du.js} +2 -2
  64. package/web/app/immutable/chunks/{3iG5yoX3.js → Bb8ARnaK.js} +1 -1
  65. package/web/app/immutable/chunks/{CJB-ebPL.js → BbWnSSTS.js} +1 -1
  66. package/web/app/immutable/chunks/{B0qb2Ymj.js → BbfEcBPg.js} +1 -1
  67. package/web/app/immutable/chunks/{CNSshwg_.js → BcYVm7io.js} +1 -1
  68. package/web/app/immutable/chunks/{DlpH_aW2.js → BdY8OnZP.js} +1 -1
  69. package/web/app/immutable/chunks/{BrMDbquN.js → BdlYeRHB.js} +2 -2
  70. package/web/app/immutable/chunks/{Dxd7AQYv.js → BeUuk8D1.js} +1 -1
  71. package/web/app/immutable/chunks/{Da-Blgd9.js → Bf_4e4N2.js} +1 -1
  72. package/web/app/immutable/chunks/{BVkAOJlr.js → BhYFIrRM.js} +1 -1
  73. package/web/app/immutable/chunks/{BWCYowXB.js → BhtJVlVx.js} +1 -1
  74. package/web/app/immutable/chunks/{0MXBpkLa.js → Bj4j6g-o.js} +1 -1
  75. package/web/app/immutable/chunks/{BJO0de_7.js → BjdIR-od.js} +1 -1
  76. package/web/app/immutable/chunks/{DVz0ewou.js → Bk14_fvY.js} +1 -1
  77. package/web/app/immutable/chunks/{Bc1vJq_Z.js → BlRGZv8u.js} +1 -1
  78. package/web/app/immutable/chunks/{Bi_Yd73A.js → BmLlDCoW.js} +1 -1
  79. package/web/app/immutable/chunks/{Ex_x2wO5.js → Bn4F-JIh.js} +1 -1
  80. package/web/app/immutable/chunks/{Bu-RLSv9.js → BoEcbLG-.js} +1 -1
  81. package/web/app/immutable/chunks/{DE32K02M.js → BolJpU8l.js} +4 -4
  82. package/web/app/immutable/chunks/{BwPwF85e.js → BpLxj3s3.js} +1 -1
  83. package/web/app/immutable/chunks/{D7Dfbf5g.js → BqCTtUhB.js} +1 -1
  84. package/web/app/immutable/chunks/{CmyAIpbY.js → BqrahRdk.js} +4 -4
  85. package/web/app/immutable/chunks/{Dval4sTX.js → BrDfJqC4.js} +1 -1
  86. package/web/app/immutable/chunks/{CCEmXQBN.js → BtMIAxno.js} +1 -1
  87. package/web/app/immutable/chunks/{CiWHn2aR.js → BthojcF8.js} +2 -2
  88. package/web/app/immutable/chunks/{DtqPBHQj.js → Btst3lgy.js} +1 -1
  89. package/web/app/immutable/chunks/{D-rRuAXZ.js → Bu3PKqut.js} +1 -1
  90. package/web/app/immutable/chunks/{pomj9evG.js → Bv_0mmoe.js} +1 -1
  91. package/web/app/immutable/chunks/{BQLaE7V5.js → BwVjpKmH.js} +1 -1
  92. package/web/app/immutable/chunks/{Mko8tFZb.js → BweHPPaS.js} +2 -2
  93. package/web/app/immutable/chunks/{418Agcsp.js → Bx7gCv2M.js} +1 -1
  94. package/web/app/immutable/chunks/{B8QvP_8b.js → BxU747mj.js} +1 -1
  95. package/web/app/immutable/chunks/{kAZ_zPIu.js → ByZL9dMf.js} +1 -1
  96. package/web/app/immutable/chunks/{B5q4SHo9.js → C1La-Fme.js} +1 -1
  97. package/web/app/immutable/chunks/{CletI6Pa.js → C21Z9LLF.js} +1 -1
  98. package/web/app/immutable/chunks/{BgDnzAo4.js → C4M_mNFP.js} +1 -1
  99. package/web/app/immutable/chunks/{BXJzIaQM.js → C6Wi6O6n.js} +1 -1
  100. package/web/app/immutable/chunks/{Cv0qomAl.js → C6afU4he.js} +1 -1
  101. package/web/app/immutable/chunks/{KReSIZSD.js → C6rz0msZ.js} +1 -1
  102. package/web/app/immutable/chunks/{CPI5xBWX.js → C8TrySMt.js} +1 -1
  103. package/web/app/immutable/chunks/{DI71nFp4.js → C9ij7Z2h.js} +1 -1
  104. package/web/app/immutable/chunks/{BY0BGmY0.js → CB8gRmKb.js} +1 -1
  105. package/web/app/immutable/chunks/{BVl79jmM.js → CDxGu9F5.js} +1 -1
  106. package/web/app/immutable/chunks/{BRKjDAGC.js → CDxV78M0.js} +1 -1
  107. package/web/app/immutable/chunks/{BTvTyEgq.js → CFB2mNds.js} +2 -2
  108. package/web/app/immutable/chunks/{IkcYx7DF.js → CF_a5Llj.js} +1 -1
  109. package/web/app/immutable/chunks/{OGqbAD_O.js → CFdI48b2.js} +1 -1
  110. package/web/app/immutable/chunks/{HC_j1BdV.js → CGHwi-2H.js} +1 -1
  111. package/web/app/immutable/chunks/{CI0C7_h-.js → CGUVvS8r.js} +1 -1
  112. package/web/app/immutable/chunks/CH-Qi35K.js +1 -0
  113. package/web/app/immutable/chunks/{BPuz5cN_.js → CIKXOyvw.js} +2 -2
  114. package/web/app/immutable/chunks/{4g_iHoQm.js → CIoJPvjg.js} +1 -1
  115. package/web/app/immutable/chunks/{CA4P_FmX.js → CJEwuNO9.js} +1 -1
  116. package/web/app/immutable/chunks/{Cy9hcA7q.js → CJke1tnU.js} +1 -1
  117. package/web/app/immutable/chunks/{BgQadJDW.js → CLqqc_hU.js} +1 -1
  118. package/web/app/immutable/chunks/{DPtj8tX0.js → CM9GoLV5.js} +1 -1
  119. package/web/app/immutable/chunks/{C9ew0Hx2.js → COBhx_l-.js} +1 -1
  120. package/web/app/immutable/chunks/{BMnuRHbZ.js → COS4Sgoi.js} +2 -2
  121. package/web/app/immutable/chunks/{DbqTt-YM.js → COSIRxZC.js} +1 -1
  122. package/web/app/immutable/chunks/{CPvH5Ru2.js → COlfJVPs.js} +4 -4
  123. package/web/app/immutable/chunks/{A0KsbysW.js → COsxNPUV.js} +1 -1
  124. package/web/app/immutable/chunks/{QRUY44Ff.js → CPWMushE.js} +1 -1
  125. package/web/app/immutable/chunks/{tLFaYuVN.js → CQ5BHnSj.js} +1 -1
  126. package/web/app/immutable/chunks/{B_75gRww.js → CRUcTVFP.js} +1 -1
  127. package/web/app/immutable/chunks/{C9p4fddz.js → CSb1CnpN.js} +1 -1
  128. package/web/app/immutable/chunks/{B5stdxh5.js → CTTICX_5.js} +1 -1
  129. package/web/app/immutable/chunks/{jBG7W4tL.js → CTqRHXfu.js} +1 -1
  130. package/web/app/immutable/chunks/{h8JtxU_T.js → CUA9hM4m.js} +1 -1
  131. package/web/app/immutable/chunks/{BXv1gq_o.js → CUeOEnqq.js} +1 -1
  132. package/web/app/immutable/chunks/{NC6gsHNQ.js → CW979n9w.js} +1 -1
  133. package/web/app/immutable/chunks/{FVS6L2WV.js → CY0EK8Cm.js} +3 -3
  134. package/web/app/immutable/chunks/{C1AUaRa8.js → CYq58ltZ.js} +1 -1
  135. package/web/app/immutable/chunks/{LQRHF1eM.js → CZ5zON0R.js} +1 -1
  136. package/web/app/immutable/chunks/{DQT1hnTe.js → C_wfHKmM.js} +1 -1
  137. package/web/app/immutable/chunks/{BmFHmusU.js → CaHWSiOY.js} +1 -1
  138. package/web/app/immutable/chunks/{iCWz6IE9.js → CaMRSd1-.js} +1 -1
  139. package/web/app/immutable/chunks/{DWa-2rkZ.js → CdGl_2eX.js} +1 -1
  140. package/web/app/immutable/chunks/{C8LrJXqa.js → Cerl373K.js} +1 -1
  141. package/web/app/immutable/chunks/{CvZTDgJa.js → CfnXjWQL.js} +1 -1
  142. package/web/app/immutable/chunks/ChKOG1mU.js +3 -0
  143. package/web/app/immutable/chunks/{CHto7_WH.js → ChOMtuod.js} +1 -1
  144. package/web/app/immutable/chunks/{CuPx_r7k.js → CjLfgoGI.js} +1 -1
  145. package/web/app/immutable/chunks/{2ZJE_wyo.js → CnMzOGNL.js} +1 -1
  146. package/web/app/immutable/chunks/{CmTojxTj.js → CnQVxh95.js} +1 -1
  147. package/web/app/immutable/chunks/{BuBXySe4.js → Cpgxz5sK.js} +1 -1
  148. package/web/app/immutable/chunks/{BmC9h1kv.js → Cpw2gXhG.js} +1 -1
  149. package/web/app/immutable/chunks/{Do2KlQU0.js → CsilY7l9.js} +1 -1
  150. package/web/app/immutable/chunks/{C-zB-6G6.js → CueOVPTy.js} +1 -1
  151. package/web/app/immutable/chunks/{VeUh5OMZ.js → CvSLeFQo.js} +1 -1
  152. package/web/app/immutable/chunks/{COgn_CzG.js → CvusaaYc.js} +1 -1
  153. package/web/app/immutable/chunks/{BECK4OaG.js → Cwg3XF5F.js} +1 -1
  154. package/web/app/immutable/chunks/{CDAnHxmJ.js → CyHe7TdT.js} +1 -1
  155. package/web/app/immutable/chunks/{B2CniqS1.js → D22j4iWy.js} +1 -1
  156. package/web/app/immutable/chunks/{BSUnflvl.js → D2Tzo4Hp.js} +1 -1
  157. package/web/app/immutable/chunks/{CMq0sOjt.js → D5A9atQX.js} +2 -2
  158. package/web/app/immutable/chunks/{CL4ty7oi.js → D5evzUZd.js} +1 -1
  159. package/web/app/immutable/chunks/{DJPIUVkw.js → D5xlMOwU.js} +1 -1
  160. package/web/app/immutable/chunks/{2qYrAiyX.js → D6_ybykj.js} +1 -1
  161. package/web/app/immutable/chunks/{CGYPBD6G.js → D7yetF0v.js} +1 -1
  162. package/web/app/immutable/chunks/{B5anfoVk.js → D9_wDL10.js} +1 -1
  163. package/web/app/immutable/chunks/{BhQMKzoM.js → DAI6QH7D.js} +1 -1
  164. package/web/app/immutable/chunks/{BLKFshyr.js → DAVG7sIL.js} +1 -1
  165. package/web/app/immutable/chunks/{BCZTn_fp.js → DBwdk2-0.js} +1 -1
  166. package/web/app/immutable/chunks/{BDOuZgzG.js → DC1xYxUn.js} +1 -1
  167. package/web/app/immutable/chunks/{TT8yXpG-.js → DDdsJrHq.js} +1 -1
  168. package/web/app/immutable/chunks/{D_VvdZe2.js → DEKjIPd8.js} +1 -1
  169. package/web/app/immutable/chunks/{Dvi4g0xk.js → DFKO8V-Y.js} +1 -1
  170. package/web/app/immutable/chunks/{BSgFpkqa.js → DGdWzkgm.js} +1 -1
  171. package/web/app/immutable/chunks/{BVuLEX_p.js → DIQ-xR1q.js} +1 -1
  172. package/web/app/immutable/chunks/{CFmT7rsG.js → DIWzdBfB.js} +1 -1
  173. package/web/app/immutable/chunks/{DhLHwyRV.js → DIad5c9_.js} +1 -1
  174. package/web/app/immutable/chunks/{B6eTPmJH.js → DJJ2Xrlq.js} +1 -1
  175. package/web/app/immutable/chunks/{4PAYwk2I.js → DJb2lMGn.js} +1 -1
  176. package/web/app/immutable/chunks/{DHcX7CG0.js → DKupjKLn.js} +1 -1
  177. package/web/app/immutable/chunks/{RHSH5iZ7.js → DNDJdxKs.js} +1 -1
  178. package/web/app/immutable/chunks/{Dp8FVKoA.js → DOLX5oss.js} +1 -1
  179. package/web/app/immutable/chunks/{7mo0aYB5.js → DOZ82gYM.js} +1 -1
  180. package/web/app/immutable/chunks/{lD0hZ5-I.js → DOir9M0E.js} +1 -1
  181. package/web/app/immutable/chunks/{3uhIXwkT.js → DQBViT5w.js} +1 -1
  182. package/web/app/immutable/chunks/{Dxfvrgme.js → DQvAX2eX.js} +1 -1
  183. package/web/app/immutable/chunks/{CgCJQyTf.js → DSDM77x3.js} +1 -1
  184. package/web/app/immutable/chunks/{O49gK3tp.js → DU1c0itA.js} +1 -1
  185. package/web/app/immutable/chunks/DWvCfaBg.js +1 -0
  186. package/web/app/immutable/chunks/{7y3Z0Q49.js → DX2U4Mz9.js} +3 -3
  187. package/web/app/immutable/chunks/{DLQIjfwi.js → DXDbxM_W.js} +1 -1
  188. package/web/app/immutable/chunks/{D40Fo-pJ.js → DY1YVoxv.js} +1 -1
  189. package/web/app/immutable/chunks/{8jMQM9h0.js → DY5rw8pn.js} +1 -1
  190. package/web/app/immutable/chunks/{BPxN1acN.js → DZSbMOPJ.js} +2 -2
  191. package/web/app/immutable/chunks/{CCyecAzB.js → DZjSAGjX.js} +1 -1
  192. package/web/app/immutable/chunks/Da8rtzmJ.js +1 -0
  193. package/web/app/immutable/chunks/{BdU-kPC9.js → DaOKbar2.js} +2 -2
  194. package/web/app/immutable/chunks/{CfYakquS.js → DbUDL_oo.js} +1 -1
  195. package/web/app/immutable/chunks/{DGv69LVd.js → Dbr8gjWS.js} +1 -1
  196. package/web/app/immutable/chunks/{COWlXo8C.js → DbxqdYAO.js} +3 -3
  197. package/web/app/immutable/chunks/{6xdvppss.js → DcLVN86K.js} +1 -1
  198. package/web/app/immutable/chunks/{BqARUxDK.js → DcMTwn77.js} +1 -1
  199. package/web/app/immutable/chunks/{DhVTc7Ol.js → DdRupUfV.js} +2 -2
  200. package/web/app/immutable/chunks/{wiGlLVr-.js → Dde9Z_vp.js} +1 -1
  201. package/web/app/immutable/chunks/{odj5qcEP.js → DdjeekcY.js} +1 -1
  202. package/web/app/immutable/chunks/{BJgwBOBz.js → Dduwpj0a.js} +1 -1
  203. package/web/app/immutable/chunks/{CV2tdNDf.js → De0cdeOU.js} +1 -1
  204. package/web/app/immutable/chunks/{B4I8lQNP.js → De2a277N.js} +1 -1
  205. package/web/app/immutable/chunks/{C_SKcJv7.js → DeY70dof.js} +1 -1
  206. package/web/app/immutable/chunks/{DSiGyv9Y.js → Df4a242o.js} +1 -1
  207. package/web/app/immutable/chunks/{BLvtkZ8G.js → DfgH7-YK.js} +1 -1
  208. package/web/app/immutable/chunks/{7OH6WUSt.js → DgjIVRdE.js} +1 -1
  209. package/web/app/immutable/chunks/{DVJBGL7F.js → DgzMHcMD.js} +1 -1
  210. package/web/app/immutable/chunks/{DEs9kPtf.js → Dh-HeAnQ.js} +1 -1
  211. package/web/app/immutable/chunks/{j67P3UNv.js → Dh438xC0.js} +2 -2
  212. package/web/app/immutable/chunks/{BZkfp4xg.js → DhaHSPPQ.js} +1 -1
  213. package/web/app/immutable/chunks/{B433f4mk.js → Di_ao8Rc.js} +1 -1
  214. package/web/app/immutable/chunks/{CIaruUrd.js → DjNuITHM.js} +1 -1
  215. package/web/app/immutable/chunks/{BSntxgH1.js → Djah0WfC.js} +1 -1
  216. package/web/app/immutable/chunks/{BbLh3POL.js → DlMrAlfA.js} +1 -1
  217. package/web/app/immutable/chunks/{BzirSHSv.js → Dm3wAkDL.js} +1 -1
  218. package/web/app/immutable/chunks/{B5qiyEpH.js → DpESY8ko.js} +1 -1
  219. package/web/app/immutable/chunks/{B_4WsP9b.js → DpvQ3NRH.js} +1 -1
  220. package/web/app/immutable/chunks/{JM7CQkWC.js → Dpvv-9m3.js} +1 -1
  221. package/web/app/immutable/chunks/{nwO3KCpP.js → DpxbS0Pj.js} +1 -1
  222. package/web/app/immutable/chunks/{BIGqOuh0.js → Drf1gLyo.js} +1 -1
  223. package/web/app/immutable/chunks/{Cp9EK0r2.js → DrkDJmY5.js} +1 -1
  224. package/web/app/immutable/chunks/{DpITHrfz.js → DsOS7N8Z.js} +1 -1
  225. package/web/app/immutable/chunks/{6paLMka3.js → Dt3xwKL6.js} +2 -2
  226. package/web/app/immutable/chunks/{CEEUgGO1.js → DtQHtXEW.js} +1 -1
  227. package/web/app/immutable/chunks/{DDb9H7X6.js → DvnO7gWT.js} +3 -3
  228. package/web/app/immutable/chunks/{BdEtT3Ti.js → DxWgWHgi.js} +1 -1
  229. package/web/app/immutable/chunks/{SRhgUz9l.js → DxuwadpA.js} +1 -1
  230. package/web/app/immutable/chunks/{DnKqeAaM.js → DyLERSuu.js} +1 -1
  231. package/web/app/immutable/chunks/{pMP23LzB.js → DyXOhKE5.js} +1 -1
  232. package/web/app/immutable/chunks/{BlIRL_82.js → Dyx6ysl7.js} +1 -1
  233. package/web/app/immutable/chunks/{CR-JVxLD.js → DzBJS0Lp.js} +1 -1
  234. package/web/app/immutable/chunks/{Bv_xG3nA.js → DzpuLv6U.js} +1 -1
  235. package/web/app/immutable/chunks/{BcKrkXju.js → E1uoF1cW.js} +1 -1
  236. package/web/app/immutable/chunks/{DsfORPYa.js → E8oicBhU.js} +1 -1
  237. package/web/app/immutable/chunks/{DV7x43jt.js → EQgYvydQ.js} +1 -1
  238. package/web/app/immutable/chunks/{9GO97JAL.js → FQkCsxt2.js} +1 -1
  239. package/web/app/immutable/chunks/{l7vsMvdj.js → HcbkpXC1.js} +2 -2
  240. package/web/app/immutable/chunks/{jVbx5uZK.js → HeVxSGdr.js} +1 -1
  241. package/web/app/immutable/chunks/{BoznPtpa.js → IG43rVtJ.js} +1 -1
  242. package/web/app/immutable/chunks/{CAfPEsZt.js → Ksiiix3Q.js} +1 -1
  243. package/web/app/immutable/chunks/{DlUpt_0u.js → LdXAlc1O.js} +1 -1
  244. package/web/app/immutable/chunks/{BzEFG3NN.js → Ly7eBIj5.js} +1 -1
  245. package/web/app/immutable/chunks/{B2jyBWIj.js → MoxNukrR.js} +1 -1
  246. package/web/app/immutable/chunks/{C-PQQ8rb.js → Nrq0Uf9_.js} +1 -1
  247. package/web/app/immutable/chunks/{DPR_clFy.js → OMssb4xF.js} +1 -1
  248. package/web/app/immutable/chunks/{C0Zo7HuP.js → PkPZtGfM.js} +1 -1
  249. package/web/app/immutable/chunks/{D1fDU8Ti.js → Pyf1FzKM.js} +1 -1
  250. package/web/app/immutable/chunks/{3qVSmuIV.js → QA00-uqv.js} +1 -1
  251. package/web/app/immutable/chunks/{BSygKG3g.js → QIFiwjW0.js} +3 -3
  252. package/web/app/immutable/chunks/{B5uejTJk.js → TN7R9Ny0.js} +1 -1
  253. package/web/app/immutable/chunks/{CVuncf5f.js → TXPMw3n4.js} +1 -1
  254. package/web/app/immutable/chunks/{B7y9pKDL.js → TyVpf8MX.js} +1 -1
  255. package/web/app/immutable/chunks/{fHygQTSC.js → UQ6MIVTw.js} +1 -1
  256. package/web/app/immutable/chunks/{yDmmPu6L.js → UnM4qztD.js} +1 -1
  257. package/web/app/immutable/chunks/{PhAbES0t.js → UqcU95a7.js} +1 -1
  258. package/web/app/immutable/chunks/{DLCFUd4s.js → VTJf_qPn.js} +1 -1
  259. package/web/app/immutable/chunks/{B8HnjSSF.js → W05hyx94.js} +1 -1
  260. package/web/app/immutable/chunks/{C2YpPfAS.js → XMluVOSf.js} +1 -1
  261. package/web/app/immutable/chunks/{BtBQ5qfh.js → Y4bYs1dr.js} +1 -1
  262. package/web/app/immutable/chunks/{B5tvpTFB.js → Y_tkjygB.js} +1 -1
  263. package/web/app/immutable/chunks/{DzqKdIr-.js → YbqMJoDi.js} +1 -1
  264. package/web/app/immutable/chunks/{CXeB7YFK.js → Z8DHXl17.js} +1 -1
  265. package/web/app/immutable/chunks/{CjjWPVbV.js → _HPNXgkR.js} +3 -3
  266. package/web/app/immutable/chunks/{Bf_nrOhg.js → aixoUWDq.js} +1 -1
  267. package/web/app/immutable/chunks/{BoG8wR7s.js → awY5HvZY.js} +1 -1
  268. package/web/app/immutable/chunks/{5-0LQoqd.js → bIL0xbKX.js} +1 -1
  269. package/web/app/immutable/chunks/{BByf3ILj.js → bojY7ttK.js} +1 -1
  270. package/web/app/immutable/chunks/{dmZv6JOg.js → cfiNEg68.js} +1 -1
  271. package/web/app/immutable/chunks/{DZScoaNb.js → dFhS46gw.js} +1 -1
  272. package/web/app/immutable/chunks/{DM1_VFfD.js → fC3yz20p.js} +1 -1
  273. package/web/app/immutable/chunks/{f5nWqjrx.js → h5ZeHogL.js} +1 -1
  274. package/web/app/immutable/chunks/{CsmNoTJl.js → hRfDutUE.js} +1 -1
  275. package/web/app/immutable/chunks/{C-G2u0Oe.js → hstOawAs.js} +1 -1
  276. package/web/app/immutable/chunks/{BbuLzldI.js → i8jM24jD.js} +1 -1
  277. package/web/app/immutable/chunks/{DmvYOHFs.js → ico0GHoP.js} +13 -13
  278. package/web/app/immutable/chunks/{Cp02CBjf.js → jyNUu-ZR.js} +1 -1
  279. package/web/app/immutable/chunks/{BDsciJGp.js → kAav5o2h.js} +1 -1
  280. package/web/app/immutable/chunks/{BV1ayWTC.js → lSLkjC_I.js} +1 -1
  281. package/web/app/immutable/chunks/{BuFDqZnJ.js → mRUS_S7Z.js} +1 -1
  282. package/web/app/immutable/chunks/{BHqp2vwo.js → maZzJmVw.js} +1 -1
  283. package/web/app/immutable/chunks/{BvbeTrka.js → r5JNAzEM.js} +1 -1
  284. package/web/app/immutable/chunks/{CXDUvPYf.js → rsUVVEzx.js} +1 -1
  285. package/web/app/immutable/chunks/{lTwh0Wzj.js → tHETzssD.js} +1 -1
  286. package/web/app/immutable/chunks/{Dmx5wWLe.js → v7JbBbwR.js} +1 -1
  287. package/web/app/immutable/chunks/{Cp7Byf5d.js → wBNgrgMC.js} +1 -1
  288. package/web/app/immutable/chunks/{DX9N1RQz.js → x-RVzKqZ.js} +1 -1
  289. package/web/app/immutable/chunks/{BKMQo7oP.js → yMcNgg0D.js} +1 -1
  290. package/web/app/immutable/chunks/{BNa9zzEx.js → yqEyUNVG.js} +1 -1
  291. package/web/app/immutable/chunks/{COjWFpJP.js → yy2JFRyT.js} +1 -1
  292. package/web/app/immutable/chunks/{7KxcPj98.js → zFAkpaJn.js} +1 -1
  293. package/web/app/immutable/entry/{app.CgTOio8y.js → app.gkm8TnXW.js} +3 -3
  294. package/web/app/immutable/entry/start.CMMmzvCE.js +1 -0
  295. package/web/app/immutable/nodes/{0.C2oVsoB8.js → 0.xKtnYOA2.js} +1 -1
  296. package/web/app/immutable/nodes/{1.riWgWdpy.js → 1.BMx4VsW1.js} +1 -1
  297. package/web/app/immutable/nodes/{10.DbjaWIBW.js → 10.HyXPJR8g.js} +5 -5
  298. package/web/app/immutable/nodes/{11.exvXwEGT.js → 11._cAIrch_.js} +1 -1
  299. package/web/app/immutable/nodes/{12.D6rxlIQy.js → 12.DOoAvwLA.js} +1 -1
  300. package/web/app/immutable/nodes/{13.CHYsmiD_.js → 13.Coj_sRB4.js} +1 -1
  301. package/web/app/immutable/nodes/{14.mG-YN9pn.js → 14.AVrz3ZLQ.js} +3 -3
  302. package/web/app/immutable/nodes/{15.D2k47bXC.js → 15.BGK-JRWm.js} +1 -1
  303. package/web/app/immutable/nodes/{16.BsFtzH0D.js → 16.CMkcwVoI.js} +1 -1
  304. package/web/app/immutable/nodes/{17.me_aOx8O.js → 17.BS5un5d0.js} +1 -1
  305. package/web/app/immutable/nodes/{18.BO1oZWgm.js → 18._hTG2-17.js} +1 -1
  306. package/web/app/immutable/nodes/{19.DPrP9Wtk.js → 19.DuCFyr_N.js} +2 -2
  307. package/web/app/immutable/nodes/{2.BpY-66TB.js → 2.uAqDAg4D.js} +4 -4
  308. package/web/app/immutable/nodes/{20.LbRPieV_.js → 20.C1pW6BvW.js} +1 -1
  309. package/web/app/immutable/nodes/{3.CriVb5Fs.js → 3.M-EbuqKW.js} +1 -1
  310. package/web/app/immutable/nodes/{4.dRoX-MYE.js → 4.ByPZ1Nrn.js} +1 -1
  311. package/web/app/immutable/nodes/{5.Bn3YBx-4.js → 5.DKAjjuf7.js} +1 -1
  312. package/web/app/immutable/nodes/{6.CgMdV-V1.js → 6.DOc_YxMK.js} +1 -1
  313. package/web/app/immutable/nodes/{7.FdAsp1bX.js → 7.gFNAyoNX.js} +1 -1
  314. package/web/app/immutable/nodes/{8.Da7xrRMP.js → 8.C_Kp8pWz.js} +1 -1
  315. package/web/app/immutable/nodes/{9.BnLzowQ-.js → 9.C6HX35Sq.js} +4 -4
  316. package/web/app/version.json +1 -1
  317. package/web/generated/paraglide.js +49 -49
  318. package/web/index.html +19 -19
  319. package/web/app/immutable/assets/0.BmwjvpSF.css +0 -1
  320. package/web/app/immutable/chunks/CCIZBeez.js +0 -1
  321. package/web/app/immutable/chunks/CXdnCPBf.js +0 -3
  322. package/web/app/immutable/chunks/DWIoipce.js +0 -1
  323. package/web/app/immutable/chunks/Dws-34a7.js +0 -1
  324. package/web/app/immutable/chunks/Whej1Dge.js +0 -1
  325. package/web/app/immutable/entry/start.oAnCLCVf.js +0 -1
@@ -1,4 +1,4 @@
1
- import{U as be,aZ as we,Y as _e,b0 as De,V as Se,a_ as Ce,b as l,X as dt,aW as vt,B as Me,L as U,ay as st,z as Ee,P as Ie,r as $e,bh as Ye}from"./DE32K02M.js";import{g as It}from"./BdWqymET.js";import{t as Ae,d as Fe,m as Le,l as Oe,h as We,g as Zt,p as Qt,u as Pe,q as Ve,i as ze,v as Re,x as Ne,w as He,n as Be,e as Kt,j as Jt,k as te,s as ee,a as re}from"./CsmNoTJl.js";function qe(t){return t}var Tt=1,Yt=2,Ft=3,xt=4,se=1e-6;function Ge(t){return"translate("+t+",0)"}function Xe(t){return"translate(0,"+t+")"}function je(t){return e=>+t(e)}function Ue(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),s=>+t(s)+e}function Ze(){return!this.__axis}function de(t,e){var s=[],r=null,i=null,g=6,y=6,b=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===Tt||t===xt?-1:1,_=t===xt||t===Yt?"x":"y",W=t===Tt||t===Ft?Ge:Xe;function w(D){var N=r??(e.ticks?e.ticks.apply(e,s):e.domain()),V=i??(e.tickFormat?e.tickFormat.apply(e,s):qe),k=Math.max(g,0)+b,M=e.range(),P=+M[0]+S,O=+M[M.length-1]+S,B=(e.bandwidth?Ue:je)(e.copy(),S),H=D.selection?D.selection():D,I=H.selectAll(".domain").data([null]),x=H.selectAll(".tick").data(N,e).order(),h=x.exit(),E=x.enter().append("g").attr("class","tick"),f=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),f=f.merge(E.append("line").attr("stroke","currentColor").attr(_+"2",L*g)),T=T.merge(E.append("text").attr("fill","currentColor").attr(_,L*k).attr("dy",t===Tt?"0em":t===Ft?"0.71em":"0.32em")),D!==H&&(I=I.transition(D),x=x.transition(D),f=f.transition(D),T=T.transition(D),h=h.transition(D).attr("opacity",se).attr("transform",function(v){return isFinite(v=B(v))?W(v+S):this.getAttribute("transform")}),E.attr("opacity",se).attr("transform",function(v){var p=this.parentNode.__axis;return W((p&&isFinite(p=p(v))?p:B(v))+S)})),h.remove(),I.attr("d",t===xt||t===Yt?y?"M"+L*y+","+P+"H"+S+"V"+O+"H"+L*y:"M"+S+","+P+"V"+O:y?"M"+P+","+L*y+"V"+S+"H"+O+"V"+L*y:"M"+P+","+S+"H"+O),x.attr("opacity",1).attr("transform",function(v){return W(B(v)+S)}),f.attr(_+"2",L*g),T.attr(_,L*k).text(V),H.filter(Ze).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Yt?"start":t===xt?"end":"middle"),H.each(function(){this.__axis=B})}return w.scale=function(D){return arguments.length?(e=D,w):e},w.ticks=function(){return s=Array.from(arguments),w},w.tickArguments=function(D){return arguments.length?(s=D==null?[]:Array.from(D),w):s.slice()},w.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),w):r&&r.slice()},w.tickFormat=function(D){return arguments.length?(i=D,w):i},w.tickSize=function(D){return arguments.length?(g=y=+D,w):g},w.tickSizeInner=function(D){return arguments.length?(g=+D,w):g},w.tickSizeOuter=function(D){return arguments.length?(y=+D,w):y},w.tickPadding=function(D){return arguments.length?(b=+D,w):b},w.offset=function(D){return arguments.length?(S=+D,w):S},w}function Qe(t){return de(Tt,t)}function Ke(t){return de(Ft,t)}var bt={exports:{}},Je=bt.exports,ne;function tr(){return ne||(ne=1,(function(t,e){(function(s,r){t.exports=r()})(Je,(function(){var s="day";return function(r,i,g){var y=function(L){return L.add(4-L.isoWeekday(),s)},b=i.prototype;b.isoWeekYear=function(){return y(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),s);var _,W,w,D,N=y(this),V=(_=this.isoWeekYear(),W=this.$u,w=(W?g.utc:g)().year(_).startOf("year"),D=4-w.isoWeekday(),w.isoWeekday()>4&&(D+=7),w.add(D,s));return N.diff(V,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var S=b.startOf;b.startOf=function(L,_){var W=this.$utils(),w=!!W.u(_)||_;return W.p(L)==="isoweek"?w?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(L,_)}}}))})(bt)),bt.exports}var er=tr();const rr=It(er);var wt={exports:{}},sr=wt.exports,ie;function nr(){return ie||(ie=1,(function(t,e){(function(s,r){t.exports=r()})(sr,(function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,g=/\d\d/,y=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,S={},L=function(k){return(k=+k)+(k>68?1900:2e3)},_=function(k){return function(M){this[k]=+M}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var P=M.match(/([+-]|\d\d)/g),O=60*P[1]+(+P[2]||0);return O===0?0:P[0]==="+"?-O:O})(k)}],w=function(k){var M=S[k];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(k,M){var P,O=S.meridiem;if(O){for(var B=1;B<=24;B+=1)if(k.indexOf(O(B,0,M))>-1){P=B>12;break}}else P=k===(M?"pm":"PM");return P},N={A:[b,function(k){this.afternoon=D(k,!1)}],a:[b,function(k){this.afternoon=D(k,!0)}],Q:[i,function(k){this.month=3*(k-1)+1}],S:[i,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[y,_("seconds")],ss:[y,_("seconds")],m:[y,_("minutes")],mm:[y,_("minutes")],H:[y,_("hours")],h:[y,_("hours")],HH:[y,_("hours")],hh:[y,_("hours")],D:[y,_("day")],DD:[g,_("day")],Do:[b,function(k){var M=S.ordinal,P=k.match(/\d+/);if(this.day=P[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===k&&(this.day=O)}],w:[y,_("week")],ww:[g,_("week")],M:[y,_("month")],MM:[g,_("month")],MMM:[b,function(k){var M=w("months"),P=(w("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(k)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[b,function(k){var M=w("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,_("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,_("year")],Z:W,ZZ:W};function V(k){var M,P;M=k,P=S&&S.formats;for(var O=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(f,T,v){var p=v&&v.toUpperCase();return T||P[v]||s[v]||P[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,m){return d||m.slice(1)}))}))).match(r),B=O.length,H=0;H<B;H+=1){var I=O[H],x=N[I],h=x&&x[0],E=x&&x[1];O[H]=E?{regex:h,parser:E}:I.replace(/^\[|\]$/g,"")}return function(f){for(var T={},v=0,p=0;v<B;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,m=a.parser,u=f.slice(p),C=d.exec(u)[0];m.call(T,C),f=f.replace(C,"")}}return(function(n){var $=n.afternoon;if($!==void 0){var o=n.hours;$?o<12&&(n.hours+=12):o===12&&(n.hours=0),delete n.afternoon}})(T),T}}return function(k,M,P){P.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var O=M.prototype,B=O.parse;O.parse=function(H){var I=H.date,x=H.utc,h=H.args;this.$u=x;var E=h[1];if(typeof E=="string"){var f=h[2]===!0,T=h[3]===!0,v=f||T,p=h[2];T&&(p=h[2]),S=this.$locale(),!f&&p&&(S=P.Ls[p]),this.$d=(function(u,C,n,$){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*u);var o=V(C)(u),G=o.year,c=o.month,Y=o.day,A=o.hours,R=o.minutes,F=o.seconds,q=o.milliseconds,z=o.zone,nt=o.week,at=new Date,yt=Y||(G||c?1:at.getDate()),lt=G||at.getFullYear(),X=0;G&&!c||(X=c>0?c-1:at.getMonth());var K,Z=A||0,ot=R||0,J=F||0,it=q||0;return z?new Date(Date.UTC(lt,X,yt,Z,ot,J,it+60*z.offset*1e3)):n?new Date(Date.UTC(lt,X,yt,Z,ot,J,it)):(K=new Date(lt,X,yt,Z,ot,J,it),nt&&(K=$(K).week(nt).toDate()),K)}catch{return new Date("")}})(I,E,x,P),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),S={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){h[1]=E[d-1];var m=P.apply(this,h);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===a&&(this.$d=new Date(""))}else B.call(this,H)}}}))})(wt)),wt.exports}var ir=nr();const ar=It(ir);var _t={exports:{}},or=_t.exports,ae;function cr(){return ae||(ae=1,(function(t,e){(function(s,r){t.exports=r()})(or,(function(){return function(s,r){var i=r.prototype,g=i.format;i.format=function(y){var b=this,S=this.$locale();if(!this.isValid())return g.bind(this)(y);var L=this.$utils(),_=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(W){switch(W){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return S.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return S.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),W==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),W==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),W==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return W}}));return g.bind(this)(_)}}}))})(_t)),_t.exports}var lr=cr();const ur=It(lr);var Dt={exports:{}},dr=Dt.exports,oe;function fr(){return oe||(oe=1,(function(t,e){(function(s,r){t.exports=r()})(dr,(function(){var s,r,i=1e3,g=6e4,y=36e5,b=864e5,S=31536e6,L=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,W=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,w={years:S,months:L,days:b,hours:y,minutes:g,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof B},N=function(I,x,h){return new B(I,h,x.$l)},V=function(I){return r.p(I)+"s"},k=function(I){return I<0},M=function(I){return k(I)?Math.ceil(I):Math.floor(I)},P=function(I){return Math.abs(I)},O=function(I,x){return I?k(I)?{negative:!0,format:""+P(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},B=(function(){function I(h,E,f){var T=this;if(this.$d={},this.$l=f,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return N(h*w[V(E)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(a){T.$d[V(a)]=h[a]})),this.calMilliseconds(),this;if(typeof h=="string"){var v=h.match(_);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(E,f){return E+(h.$d[f]||0)*w[f]}),0)},x.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/S),h%=S,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/y),h%=y,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/i),h%=i,this.$d.milliseconds=h},x.toISOString=function(){var h=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),f=+this.$d.days||0;this.$d.weeks&&(f+=7*this.$d.weeks);var T=O(f,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),m=h.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",C=(m?"-":"")+"P"+h.format+E.format+T.format+u+v.format+p.format+d.format;return C==="P"||C==="-P"?"P0D":C},x.toJSON=function(){return this.toISOString()},x.format=function(h){var E=h||"YYYY-MM-DDTHH:mm:ss",f={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return E.replace(W,(function(T,v){return v||String(f[T])}))},x.as=function(h){return this.$ms/w[V(h)]},x.get=function(h){var E=this.$ms,f=V(h);return f==="milliseconds"?E%=1e3:E=f==="weeks"?M(E/w[f]):this.$d[f],E||0},x.add=function(h,E,f){var T;return T=E?h*w[V(E)]:D(h)?h.$ms:N(h,this).$ms,N(this.$ms+T*(f?-1:1),this)},x.subtract=function(h,E){return this.add(h,E,!0)},x.locale=function(h){var E=this.clone();return E.$l=h,E},x.clone=function(){return N(this.$ms,this)},x.humanize=function(h){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),H=function(I,x,h){return I.add(x.years()*h,"y").add(x.months()*h,"M").add(x.days()*h,"d").add(x.hours()*h,"h").add(x.minutes()*h,"m").add(x.seconds()*h,"s").add(x.milliseconds()*h,"ms")};return function(I,x,h){s=h,r=h().$utils(),h.duration=function(T,v){var p=h.locale();return N(T,{$l:p},v)},h.isDuration=D;var E=x.prototype.add,f=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?H(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?H(this,T,-1):f.bind(this)(T,v)}}}))})(Dt)),Dt.exports}var hr=fr();const mr=It(hr);var Lt=(function(){var t=l(function(p,a,d,m){for(d=d||{},m=p.length;m--;d[p[m]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],i=[1,28],g=[1,29],y=[1,30],b=[1,31],S=[1,32],L=[1,33],_=[1,34],W=[1,9],w=[1,10],D=[1,11],N=[1,12],V=[1,13],k=[1,14],M=[1,15],P=[1,16],O=[1,19],B=[1,20],H=[1,21],I=[1,22],x=[1,23],h=[1,25],E=[1,35],f={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,m,u,C,n,$){var o=n.length-1;switch(C){case 1:return n[o-1];case 2:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:this.$=n[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=n[o].substr(18);break;case 19:u.TopAxis(),this.$=n[o].substr(8);break;case 20:u.setAxisFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 21:u.setTickInterval(n[o].substr(13)),this.$=n[o].substr(13);break;case 22:u.setExcludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 23:u.setIncludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 24:u.setTodayMarker(n[o].substr(12)),this.$=n[o].substr(12);break;case 27:u.setDiagramTitle(n[o].substr(6)),this.$=n[o].substr(6);break;case 28:this.$=n[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=n[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(n[o].substr(8)),this.$=n[o].substr(8);break;case 33:u.addTask(n[o-1],n[o]),this.$="task";break;case 34:this.$=n[o-1],u.setClickEvent(n[o-1],n[o],null);break;case 35:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],n[o]);break;case 36:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],null),u.setLink(n[o-2],n[o]);break;case 37:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-2],n[o-1]),u.setLink(n[o-3],n[o]);break;case 38:this.$=n[o-2],u.setClickEvent(n[o-2],n[o],null),u.setLink(n[o-2],n[o-1]);break;case 39:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-1],n[o]),u.setLink(n[o-3],n[o-2]);break;case 40:this.$=n[o-1],u.setLink(n[o-1],n[o]);break;case 41:case 47:this.$=n[o-1]+" "+n[o];break;case 42:case 43:case 45:this.$=n[o-2]+" "+n[o-1]+" "+n[o];break;case 44:case 46:this.$=n[o-3]+" "+n[o-2]+" "+n[o-1]+" "+n[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var m=new Error(a);throw m.hash=d,m}},"parseError"),parse:l(function(a){var d=this,m=[0],u=[],C=[null],n=[],$=this.table,o="",G=0,c=0,Y=2,A=1,R=n.slice.call(arguments,1),F=Object.create(this.lexer),q={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(q.yy[z]=this.yy[z]);F.setInput(a,q.yy),q.yy.lexer=F,q.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var nt=F.yylloc;n.push(nt);var at=F.options&&F.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){m.length=m.length-2*Q,C.length=C.length-Q,n.length=n.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var X,K,Z,ot,J={},it,tt,Ut,pt;;){if(K=m[m.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=lt()),Z=$[K]&&$[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var $t="";pt=[];for(it in $[K])this.terminals_[it]&&it>Y&&pt.push("'"+this.terminals_[it]+"'");F.showPosition?$t="Parse error on line "+(G+1)+`:
1
+ import{U as be,aZ as we,Y as _e,b0 as De,V as Se,a_ as Ce,b as l,X as dt,aW as vt,B as Me,L as U,ay as st,z as Ee,P as Ie,r as $e,bh as Ye}from"./BolJpU8l.js";import{g as It}from"./BdWqymET.js";import{t as Ae,d as Fe,m as Le,l as Oe,h as We,g as Zt,p as Qt,u as Pe,q as Ve,i as ze,v as Re,x as Ne,w as He,n as Be,e as Kt,j as Jt,k as te,s as ee,a as re}from"./hRfDutUE.js";function qe(t){return t}var Tt=1,Yt=2,Ft=3,xt=4,se=1e-6;function Ge(t){return"translate("+t+",0)"}function Xe(t){return"translate(0,"+t+")"}function je(t){return e=>+t(e)}function Ue(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),s=>+t(s)+e}function Ze(){return!this.__axis}function de(t,e){var s=[],r=null,i=null,g=6,y=6,b=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===Tt||t===xt?-1:1,_=t===xt||t===Yt?"x":"y",W=t===Tt||t===Ft?Ge:Xe;function w(D){var N=r??(e.ticks?e.ticks.apply(e,s):e.domain()),V=i??(e.tickFormat?e.tickFormat.apply(e,s):qe),k=Math.max(g,0)+b,M=e.range(),P=+M[0]+S,O=+M[M.length-1]+S,B=(e.bandwidth?Ue:je)(e.copy(),S),H=D.selection?D.selection():D,I=H.selectAll(".domain").data([null]),x=H.selectAll(".tick").data(N,e).order(),h=x.exit(),E=x.enter().append("g").attr("class","tick"),f=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),f=f.merge(E.append("line").attr("stroke","currentColor").attr(_+"2",L*g)),T=T.merge(E.append("text").attr("fill","currentColor").attr(_,L*k).attr("dy",t===Tt?"0em":t===Ft?"0.71em":"0.32em")),D!==H&&(I=I.transition(D),x=x.transition(D),f=f.transition(D),T=T.transition(D),h=h.transition(D).attr("opacity",se).attr("transform",function(v){return isFinite(v=B(v))?W(v+S):this.getAttribute("transform")}),E.attr("opacity",se).attr("transform",function(v){var p=this.parentNode.__axis;return W((p&&isFinite(p=p(v))?p:B(v))+S)})),h.remove(),I.attr("d",t===xt||t===Yt?y?"M"+L*y+","+P+"H"+S+"V"+O+"H"+L*y:"M"+S+","+P+"V"+O:y?"M"+P+","+L*y+"V"+S+"H"+O+"V"+L*y:"M"+P+","+S+"H"+O),x.attr("opacity",1).attr("transform",function(v){return W(B(v)+S)}),f.attr(_+"2",L*g),T.attr(_,L*k).text(V),H.filter(Ze).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Yt?"start":t===xt?"end":"middle"),H.each(function(){this.__axis=B})}return w.scale=function(D){return arguments.length?(e=D,w):e},w.ticks=function(){return s=Array.from(arguments),w},w.tickArguments=function(D){return arguments.length?(s=D==null?[]:Array.from(D),w):s.slice()},w.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),w):r&&r.slice()},w.tickFormat=function(D){return arguments.length?(i=D,w):i},w.tickSize=function(D){return arguments.length?(g=y=+D,w):g},w.tickSizeInner=function(D){return arguments.length?(g=+D,w):g},w.tickSizeOuter=function(D){return arguments.length?(y=+D,w):y},w.tickPadding=function(D){return arguments.length?(b=+D,w):b},w.offset=function(D){return arguments.length?(S=+D,w):S},w}function Qe(t){return de(Tt,t)}function Ke(t){return de(Ft,t)}var bt={exports:{}},Je=bt.exports,ne;function tr(){return ne||(ne=1,(function(t,e){(function(s,r){t.exports=r()})(Je,(function(){var s="day";return function(r,i,g){var y=function(L){return L.add(4-L.isoWeekday(),s)},b=i.prototype;b.isoWeekYear=function(){return y(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),s);var _,W,w,D,N=y(this),V=(_=this.isoWeekYear(),W=this.$u,w=(W?g.utc:g)().year(_).startOf("year"),D=4-w.isoWeekday(),w.isoWeekday()>4&&(D+=7),w.add(D,s));return N.diff(V,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var S=b.startOf;b.startOf=function(L,_){var W=this.$utils(),w=!!W.u(_)||_;return W.p(L)==="isoweek"?w?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(L,_)}}}))})(bt)),bt.exports}var er=tr();const rr=It(er);var wt={exports:{}},sr=wt.exports,ie;function nr(){return ie||(ie=1,(function(t,e){(function(s,r){t.exports=r()})(sr,(function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,g=/\d\d/,y=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,S={},L=function(k){return(k=+k)+(k>68?1900:2e3)},_=function(k){return function(M){this[k]=+M}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var P=M.match(/([+-]|\d\d)/g),O=60*P[1]+(+P[2]||0);return O===0?0:P[0]==="+"?-O:O})(k)}],w=function(k){var M=S[k];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(k,M){var P,O=S.meridiem;if(O){for(var B=1;B<=24;B+=1)if(k.indexOf(O(B,0,M))>-1){P=B>12;break}}else P=k===(M?"pm":"PM");return P},N={A:[b,function(k){this.afternoon=D(k,!1)}],a:[b,function(k){this.afternoon=D(k,!0)}],Q:[i,function(k){this.month=3*(k-1)+1}],S:[i,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[y,_("seconds")],ss:[y,_("seconds")],m:[y,_("minutes")],mm:[y,_("minutes")],H:[y,_("hours")],h:[y,_("hours")],HH:[y,_("hours")],hh:[y,_("hours")],D:[y,_("day")],DD:[g,_("day")],Do:[b,function(k){var M=S.ordinal,P=k.match(/\d+/);if(this.day=P[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===k&&(this.day=O)}],w:[y,_("week")],ww:[g,_("week")],M:[y,_("month")],MM:[g,_("month")],MMM:[b,function(k){var M=w("months"),P=(w("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(k)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[b,function(k){var M=w("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,_("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,_("year")],Z:W,ZZ:W};function V(k){var M,P;M=k,P=S&&S.formats;for(var O=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(f,T,v){var p=v&&v.toUpperCase();return T||P[v]||s[v]||P[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,m){return d||m.slice(1)}))}))).match(r),B=O.length,H=0;H<B;H+=1){var I=O[H],x=N[I],h=x&&x[0],E=x&&x[1];O[H]=E?{regex:h,parser:E}:I.replace(/^\[|\]$/g,"")}return function(f){for(var T={},v=0,p=0;v<B;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,m=a.parser,u=f.slice(p),C=d.exec(u)[0];m.call(T,C),f=f.replace(C,"")}}return(function(n){var $=n.afternoon;if($!==void 0){var o=n.hours;$?o<12&&(n.hours+=12):o===12&&(n.hours=0),delete n.afternoon}})(T),T}}return function(k,M,P){P.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var O=M.prototype,B=O.parse;O.parse=function(H){var I=H.date,x=H.utc,h=H.args;this.$u=x;var E=h[1];if(typeof E=="string"){var f=h[2]===!0,T=h[3]===!0,v=f||T,p=h[2];T&&(p=h[2]),S=this.$locale(),!f&&p&&(S=P.Ls[p]),this.$d=(function(u,C,n,$){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*u);var o=V(C)(u),G=o.year,c=o.month,Y=o.day,A=o.hours,R=o.minutes,F=o.seconds,q=o.milliseconds,z=o.zone,nt=o.week,at=new Date,yt=Y||(G||c?1:at.getDate()),lt=G||at.getFullYear(),X=0;G&&!c||(X=c>0?c-1:at.getMonth());var K,Z=A||0,ot=R||0,J=F||0,it=q||0;return z?new Date(Date.UTC(lt,X,yt,Z,ot,J,it+60*z.offset*1e3)):n?new Date(Date.UTC(lt,X,yt,Z,ot,J,it)):(K=new Date(lt,X,yt,Z,ot,J,it),nt&&(K=$(K).week(nt).toDate()),K)}catch{return new Date("")}})(I,E,x,P),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),S={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){h[1]=E[d-1];var m=P.apply(this,h);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===a&&(this.$d=new Date(""))}else B.call(this,H)}}}))})(wt)),wt.exports}var ir=nr();const ar=It(ir);var _t={exports:{}},or=_t.exports,ae;function cr(){return ae||(ae=1,(function(t,e){(function(s,r){t.exports=r()})(or,(function(){return function(s,r){var i=r.prototype,g=i.format;i.format=function(y){var b=this,S=this.$locale();if(!this.isValid())return g.bind(this)(y);var L=this.$utils(),_=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(W){switch(W){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return S.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return S.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),W==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),W==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),W==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return W}}));return g.bind(this)(_)}}}))})(_t)),_t.exports}var lr=cr();const ur=It(lr);var Dt={exports:{}},dr=Dt.exports,oe;function fr(){return oe||(oe=1,(function(t,e){(function(s,r){t.exports=r()})(dr,(function(){var s,r,i=1e3,g=6e4,y=36e5,b=864e5,S=31536e6,L=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,W=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,w={years:S,months:L,days:b,hours:y,minutes:g,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof B},N=function(I,x,h){return new B(I,h,x.$l)},V=function(I){return r.p(I)+"s"},k=function(I){return I<0},M=function(I){return k(I)?Math.ceil(I):Math.floor(I)},P=function(I){return Math.abs(I)},O=function(I,x){return I?k(I)?{negative:!0,format:""+P(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},B=(function(){function I(h,E,f){var T=this;if(this.$d={},this.$l=f,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return N(h*w[V(E)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(a){T.$d[V(a)]=h[a]})),this.calMilliseconds(),this;if(typeof h=="string"){var v=h.match(_);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(E,f){return E+(h.$d[f]||0)*w[f]}),0)},x.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/S),h%=S,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/y),h%=y,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/i),h%=i,this.$d.milliseconds=h},x.toISOString=function(){var h=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),f=+this.$d.days||0;this.$d.weeks&&(f+=7*this.$d.weeks);var T=O(f,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),m=h.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",C=(m?"-":"")+"P"+h.format+E.format+T.format+u+v.format+p.format+d.format;return C==="P"||C==="-P"?"P0D":C},x.toJSON=function(){return this.toISOString()},x.format=function(h){var E=h||"YYYY-MM-DDTHH:mm:ss",f={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return E.replace(W,(function(T,v){return v||String(f[T])}))},x.as=function(h){return this.$ms/w[V(h)]},x.get=function(h){var E=this.$ms,f=V(h);return f==="milliseconds"?E%=1e3:E=f==="weeks"?M(E/w[f]):this.$d[f],E||0},x.add=function(h,E,f){var T;return T=E?h*w[V(E)]:D(h)?h.$ms:N(h,this).$ms,N(this.$ms+T*(f?-1:1),this)},x.subtract=function(h,E){return this.add(h,E,!0)},x.locale=function(h){var E=this.clone();return E.$l=h,E},x.clone=function(){return N(this.$ms,this)},x.humanize=function(h){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),H=function(I,x,h){return I.add(x.years()*h,"y").add(x.months()*h,"M").add(x.days()*h,"d").add(x.hours()*h,"h").add(x.minutes()*h,"m").add(x.seconds()*h,"s").add(x.milliseconds()*h,"ms")};return function(I,x,h){s=h,r=h().$utils(),h.duration=function(T,v){var p=h.locale();return N(T,{$l:p},v)},h.isDuration=D;var E=x.prototype.add,f=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?H(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?H(this,T,-1):f.bind(this)(T,v)}}}))})(Dt)),Dt.exports}var hr=fr();const mr=It(hr);var Lt=(function(){var t=l(function(p,a,d,m){for(d=d||{},m=p.length;m--;d[p[m]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],i=[1,28],g=[1,29],y=[1,30],b=[1,31],S=[1,32],L=[1,33],_=[1,34],W=[1,9],w=[1,10],D=[1,11],N=[1,12],V=[1,13],k=[1,14],M=[1,15],P=[1,16],O=[1,19],B=[1,20],H=[1,21],I=[1,22],x=[1,23],h=[1,25],E=[1,35],f={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,m,u,C,n,$){var o=n.length-1;switch(C){case 1:return n[o-1];case 2:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:this.$=n[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=n[o].substr(18);break;case 19:u.TopAxis(),this.$=n[o].substr(8);break;case 20:u.setAxisFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 21:u.setTickInterval(n[o].substr(13)),this.$=n[o].substr(13);break;case 22:u.setExcludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 23:u.setIncludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 24:u.setTodayMarker(n[o].substr(12)),this.$=n[o].substr(12);break;case 27:u.setDiagramTitle(n[o].substr(6)),this.$=n[o].substr(6);break;case 28:this.$=n[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=n[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(n[o].substr(8)),this.$=n[o].substr(8);break;case 33:u.addTask(n[o-1],n[o]),this.$="task";break;case 34:this.$=n[o-1],u.setClickEvent(n[o-1],n[o],null);break;case 35:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],n[o]);break;case 36:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],null),u.setLink(n[o-2],n[o]);break;case 37:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-2],n[o-1]),u.setLink(n[o-3],n[o]);break;case 38:this.$=n[o-2],u.setClickEvent(n[o-2],n[o],null),u.setLink(n[o-2],n[o-1]);break;case 39:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-1],n[o]),u.setLink(n[o-3],n[o-2]);break;case 40:this.$=n[o-1],u.setLink(n[o-1],n[o]);break;case 41:case 47:this.$=n[o-1]+" "+n[o];break;case 42:case 43:case 45:this.$=n[o-2]+" "+n[o-1]+" "+n[o];break;case 44:case 46:this.$=n[o-3]+" "+n[o-2]+" "+n[o-1]+" "+n[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var m=new Error(a);throw m.hash=d,m}},"parseError"),parse:l(function(a){var d=this,m=[0],u=[],C=[null],n=[],$=this.table,o="",G=0,c=0,Y=2,A=1,R=n.slice.call(arguments,1),F=Object.create(this.lexer),q={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(q.yy[z]=this.yy[z]);F.setInput(a,q.yy),q.yy.lexer=F,q.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var nt=F.yylloc;n.push(nt);var at=F.options&&F.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){m.length=m.length-2*Q,C.length=C.length-Q,n.length=n.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var X,K,Z,ot,J={},it,tt,Ut,pt;;){if(K=m[m.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=lt()),Z=$[K]&&$[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var $t="";pt=[];for(it in $[K])this.terminals_[it]&&it>Y&&pt.push("'"+this.terminals_[it]+"'");F.showPosition?$t="Parse error on line "+(G+1)+`:
2
2
  `+F.showPosition()+`
3
3
  Expecting `+pt.join(", ")+", got '"+(this.terminals_[X]||X)+"'":$t="Parse error on line "+(G+1)+": Unexpected "+(X==A?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError($t,{text:F.match,token:this.terminals_[X]||X,line:F.yylineno,loc:nt,expected:pt})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+X);switch(Z[0]){case 1:m.push(X),C.push(F.yytext),n.push(F.yylloc),m.push(Z[1]),X=null,c=F.yyleng,o=F.yytext,G=F.yylineno,nt=F.yylloc;break;case 2:if(tt=this.productions_[Z[1]][1],J.$=C[C.length-tt],J._$={first_line:n[n.length-(tt||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(tt||1)].first_column,last_column:n[n.length-1].last_column},at&&(J._$.range=[n[n.length-(tt||1)].range[0],n[n.length-1].range[1]]),ot=this.performAction.apply(J,[o,c,G,q.yy,Z[1],C,n].concat(R)),typeof ot<"u")return ot;tt&&(m=m.slice(0,-1*tt*2),C=C.slice(0,-1*tt),n=n.slice(0,-1*tt)),m.push(this.productions_[Z[1]][0]),C.push(J.$),n.push(J._$),Ut=$[m[m.length-2]][m[m.length-1]],m.push(Ut);break;case 3:return!0}}return!0},"parse")},T=(function(){var p={EOF:1,parseError:l(function(d,m){if(this.yy.parser)this.yy.parser.parseError(d,m);else throw new Error(d)},"parseError"),setInput:l(function(a,d){return this.yy=d||this.yy||{},this._input=a,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:l(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.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),a},"input"),unput:l(function(a){var d=a.length,m=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=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),m.length-1&&(this.yylineno-=m.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:m?(m.length===u.length?this.yylloc.first_column:0)+u[u.length-m.length].length-m[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:l(function(){return this._more=!0,this},"more"),reject:l(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:l(function(a){this.unput(this.match.slice(a))},"less"),pastInput:l(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{p as xt}from"./BmFHmusU.js";import{aZ as gt,U as $t,Y as bt,b0 as wt,V as Ct,a_ as vt,b as s,ay as O,aX as Dt,B as kt,r as Tt,q as U,W as Z,O as At,a6 as ot}from"./DE32K02M.js";import{p as Bt}from"./BgDnzAo4.js";var rt=s(()=>({domains:new Map,transitions:[]}),"createDefaultData"),H=rt(),St=s(()=>H.domains,"getDomains"),Mt=s(()=>H.transitions,"getTransitions"),zt=s(t=>{if(t)for(const e of t){const n=e.domain,a=(e.items??[]).map(c=>({label:c.label}));H.domains.set(n,{name:n,items:a})}},"setDomains"),Lt=s(t=>{t&&(H.transitions=t.filter(e=>e.from===e.to?(O.warn(`Cynefin: self-loop transition on domain "${e.from}" is not meaningful and will be skipped.`),!1):!0).map(e=>({from:e.from,to:e.to,label:e.label||void 0})))},"setTransitions"),Nt=s(()=>U({...At.cynefin,...Z().cynefin}),"getConfig"),Pt=s(()=>{Tt(),H=rt()},"clear"),G={getDomains:St,getTransitions:Mt,setDomains:zt,setTransitions:Lt,getConfig:Nt,clear:Pt,setAccTitle:vt,getAccTitle:Ct,setDiagramTitle:wt,getDiagramTitle:bt,getAccDescription:$t,setAccDescription:gt},Wt=s(t=>{xt(t,G),G.setDomains(t.domains),G.setTransitions(t.transitions)},"populate"),It={parse:s(async t=>{const e=await Bt("cynefin",t);O.debug(e),Wt(e)},"parse")};function E(t){let e=t+1831565813|0;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}s(E,"seededRandom");function st(t){let e=0;for(let n=0;n<t.length;n++){const a=t.charCodeAt(n);e=(e<<5)-e+a,e|=0}return e}s(st,"hashString");function it(t,e){return typeof t=="number"&&Number.isFinite(t)&&t!==0?t:st(e)}s(it,"resolveSeed");function ct(t,e,n,a){const c=t/2,m=a??t*.015,v=7,I=e/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*17)*m*2-m;d.push({x:c+p,y:o*I})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.y+i.y)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*31+7),R=p.x+h,V=f,_=i.x-h;D+=` C${R},${V} ${_},${f} ${i.x},${i.y}`}return D}s(ct,"generateFoldPath");function lt(t,e,n,a){const c=e/2,m=a??e*.015,v=7,I=t/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*23)*m*2-m;d.push({x:o*I,y:c+p})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.x+i.x)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*37+11),R=f,V=p.y+h,_=f,z=i.y-h;D+=` C${R},${V} ${_},${z} ${i.x},${i.y}`}return D}s(lt,"generateHorizontalBoundary");function dt(t,e){const n=t/2,a=e*.5,c=e,m=t*.03;return[`M${n},${a}`,`C${n+m},${a+(c-a)*.2}`,`${n-m*1.5},${a+(c-a)*.55}`,`${n+m*.5},${a+(c-a)*.75}`,`C${n-m},${a+(c-a)*.85}`,`${n+m*.3},${a+(c-a)*.95}`,`${n},${c}`].join(" ")}s(dt,"generateCliffPath");function ft(t,e,n,a){return[`M${t-n},${e}`,`A${n},${a} 0 1,1 ${t+n},${e}`,`A${n},${a} 0 1,1 ${t-n},${e}`,"Z"].join(" ")}s(ft,"generateConfusionPath");var at={complex:{model:"Probe → Sense → Respond",practice:"Emergent Practices"},complicated:{model:"Sense → Analyse → Respond",practice:"Good Practices"},clear:{model:"Sense → Categorise → Respond",practice:"Best Practices"},chaotic:{model:"Act → Sense → Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},Rt=s((t,e)=>{const n=t/2,a=e/2;return{complex:{cx:n/2,cy:a/2,x:0,y:0,w:n,h:a},complicated:{cx:n+n/2,cy:a/2,x:n,y:0,w:n,h:a},chaotic:{cx:n/2,cy:a+a/2,x:0,y:a,w:n,h:a},clear:{cx:n+n/2,cy:a+a/2,x:n,y:a,w:n,h:a},confusion:{cx:n,cy:a,x:n*.7,y:a*.7,w:n*.6,h:a*.6}}},"getDomainLayouts"),Vt=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinDomainColors"),q=3,_t=s((t,e,n,a)=>{const c=a.db,m=c.getDomains(),v=c.getTransitions(),I=c.getDiagramTitle(),d=c.getAccTitle(),D=c.getAccDescription(),o=c.getConfig(),p=Vt();O.debug("Rendering Cynefin diagram");const i=o.width,f=o.height,b=o.padding,h=o.showDomainDescriptions,R=o.boundaryAmplitude,V=i+b*2,_=f+b*2,z={complex:p.complexBg,complicated:p.complicatedBg,clear:p.clearBg,chaotic:p.chaoticBg,confusion:p.confusionBg},k=Dt(e);kt(k,_,V,o.useMaxWidth??!0),k.attr("viewBox",`0 0 ${V} ${_}`),d&&k.append("title").text(d),D&&k.append("desc").text(D);const T=k.append("g").attr("transform",`translate(${b}, ${b})`),F=Rt(i,f),Q=it(o.seed,e),mt=T.append("g").attr("class","cynefin-backgrounds"),X=["complex","complicated","chaotic","clear"];for(const l of X){const r=F[l];mt.append("rect").attr("class","cynefinDomain").attr("x",r.x).attr("y",r.y).attr("width",r.w).attr("height",r.h).attr("fill",z[l]).attr("fill-opacity",.4).attr("stroke","none")}const j=T.append("g").attr("class","cynefin-boundaries");j.append("path").attr("class","cynefinBoundary").attr("d",ct(i,f,Q,R)).attr("fill","none"),j.append("path").attr("class","cynefinBoundary").attr("d",lt(i,f,Q+100,R)).attr("fill","none"),j.append("path").attr("class","cynefinCliff").attr("d",dt(i,f)).attr("fill","none");const pt=i*.15,yt=f*.15;T.append("path").attr("class","cynefinConfusion").attr("d",ft(i/2,f/2,pt,yt)).attr("fill",z.confusion).attr("fill-opacity",.5);const J=T.append("g").attr("class","cynefin-labels");for(const l of X){const r=F[l];J.append("text").attr("class","cynefinDomainLabel").attr("x",r.cx).attr("y",h?r.cy-30:r.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(l.charAt(0).toUpperCase()+l.slice(1))}if(J.append("text").attr("class","cynefinDomainLabel").attr("x",i/2).attr("y",h?f/2-10:f/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),h){const l=T.append("g").attr("class","cynefin-subtitles");for(const r of X){const u=F[r],y=at[r];l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.model),l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.practice)}l.append("text").attr("class","cynefinSubtitle").attr("x",i/2).attr("y",f/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(at.confusion.practice)}const K=T.append("g").attr("class","cynefin-items"),A=26,tt=10,ut=["complex","complicated","chaotic","clear","confusion"];for(const l of ut){const r=m.get(l);if(!r||r.items.length===0)continue;const u=F[l],y=l==="confusion";let L=r.items,N=0;y&&r.items.length>q&&(N=r.items.length-q,L=r.items.slice(0,q));let B;if(y){const g=h?22:14;B=u.cy+g}else B=u.cy+(h?25:15);if([...L].forEach((g,S)=>{const w=B+S*(A+4),M=K.append("g"),P=M.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(g.label);let $=g.label.length*7;const x=P.node();if(x&&typeof x.getBBox=="function"){const Y=x.getBBox();Y.width>0&&($=Y.width)}const C=$+tt*2,W=u.cx-C/2;M.attr("transform",`translate(${W}, ${w})`),M.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",C).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.95),P.attr("x",C/2).attr("y",A/2)}),N>0){const g=B+L.length*(A+4),S=`+${N} more`,w=K.append("g"),M=w.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(S);let P=S.length*7;const $=M.node();if($&&typeof $.getBBox=="function"){const W=$.getBBox();W.width>0&&(P=W.width)}const x=P+tt*2,C=u.cx-x/2;w.attr("transform",`translate(${C}, ${g})`),w.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",x).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.6),M.attr("x",x/2).attr("y",A/2)}}if(v.length>0){const l=k.select("defs").empty()?k.append("defs"):k.select("defs"),r=`cynefin-arrow-${e}`;l.append("marker").attr("id",r).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");const u=T.append("g").attr("class","cynefin-arrows");v.forEach(y=>{const L=F[y.from],N=F[y.to];if(!L||!N)return;if(y.from===y.to){O.warn(`Cynefin renderer: skipping self-loop on domain "${y.from}"`);return}const B=L.cx,g=L.cy,S=N.cx,w=N.cy,M=(B+S)/2,P=(g+w)/2,$=S-B,x=w-g,C=Math.sqrt($*$+x*x),W=C*.15,Y=-x/C,ht=$/C,et=M+Y*W,nt=P+ht*W;u.append("path").attr("class","cynefinArrowLine").attr("d",`M${B},${g} Q${et},${nt} ${S},${w}`).attr("fill","none").attr("marker-end",`url(#${r})`),y.label&&u.append("text").attr("class","cynefinArrowLabel").attr("x",et).attr("y",nt-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(y.label)})}I&&T.append("text").attr("class","cynefinTitle").attr("x",i/2).attr("y",-b/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(I)},"draw"),Ft={draw:_t},Et=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinTheme"),Ht=s(()=>{const t=Et();return`
1
+ import{p as xt}from"./CaHWSiOY.js";import{aZ as gt,U as $t,Y as bt,b0 as wt,V as Ct,a_ as vt,b as s,ay as O,aX as Dt,B as kt,r as Tt,q as U,W as Z,O as At,a6 as ot}from"./BolJpU8l.js";import{p as Bt}from"./C4M_mNFP.js";var rt=s(()=>({domains:new Map,transitions:[]}),"createDefaultData"),H=rt(),St=s(()=>H.domains,"getDomains"),Mt=s(()=>H.transitions,"getTransitions"),zt=s(t=>{if(t)for(const e of t){const n=e.domain,a=(e.items??[]).map(c=>({label:c.label}));H.domains.set(n,{name:n,items:a})}},"setDomains"),Lt=s(t=>{t&&(H.transitions=t.filter(e=>e.from===e.to?(O.warn(`Cynefin: self-loop transition on domain "${e.from}" is not meaningful and will be skipped.`),!1):!0).map(e=>({from:e.from,to:e.to,label:e.label||void 0})))},"setTransitions"),Nt=s(()=>U({...At.cynefin,...Z().cynefin}),"getConfig"),Pt=s(()=>{Tt(),H=rt()},"clear"),G={getDomains:St,getTransitions:Mt,setDomains:zt,setTransitions:Lt,getConfig:Nt,clear:Pt,setAccTitle:vt,getAccTitle:Ct,setDiagramTitle:wt,getDiagramTitle:bt,getAccDescription:$t,setAccDescription:gt},Wt=s(t=>{xt(t,G),G.setDomains(t.domains),G.setTransitions(t.transitions)},"populate"),It={parse:s(async t=>{const e=await Bt("cynefin",t);O.debug(e),Wt(e)},"parse")};function E(t){let e=t+1831565813|0;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}s(E,"seededRandom");function st(t){let e=0;for(let n=0;n<t.length;n++){const a=t.charCodeAt(n);e=(e<<5)-e+a,e|=0}return e}s(st,"hashString");function it(t,e){return typeof t=="number"&&Number.isFinite(t)&&t!==0?t:st(e)}s(it,"resolveSeed");function ct(t,e,n,a){const c=t/2,m=a??t*.015,v=7,I=e/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*17)*m*2-m;d.push({x:c+p,y:o*I})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.y+i.y)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*31+7),R=p.x+h,V=f,_=i.x-h;D+=` C${R},${V} ${_},${f} ${i.x},${i.y}`}return D}s(ct,"generateFoldPath");function lt(t,e,n,a){const c=e/2,m=a??e*.015,v=7,I=t/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*23)*m*2-m;d.push({x:o*I,y:c+p})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.x+i.x)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*37+11),R=f,V=p.y+h,_=f,z=i.y-h;D+=` C${R},${V} ${_},${z} ${i.x},${i.y}`}return D}s(lt,"generateHorizontalBoundary");function dt(t,e){const n=t/2,a=e*.5,c=e,m=t*.03;return[`M${n},${a}`,`C${n+m},${a+(c-a)*.2}`,`${n-m*1.5},${a+(c-a)*.55}`,`${n+m*.5},${a+(c-a)*.75}`,`C${n-m},${a+(c-a)*.85}`,`${n+m*.3},${a+(c-a)*.95}`,`${n},${c}`].join(" ")}s(dt,"generateCliffPath");function ft(t,e,n,a){return[`M${t-n},${e}`,`A${n},${a} 0 1,1 ${t+n},${e}`,`A${n},${a} 0 1,1 ${t-n},${e}`,"Z"].join(" ")}s(ft,"generateConfusionPath");var at={complex:{model:"Probe → Sense → Respond",practice:"Emergent Practices"},complicated:{model:"Sense → Analyse → Respond",practice:"Good Practices"},clear:{model:"Sense → Categorise → Respond",practice:"Best Practices"},chaotic:{model:"Act → Sense → Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},Rt=s((t,e)=>{const n=t/2,a=e/2;return{complex:{cx:n/2,cy:a/2,x:0,y:0,w:n,h:a},complicated:{cx:n+n/2,cy:a/2,x:n,y:0,w:n,h:a},chaotic:{cx:n/2,cy:a+a/2,x:0,y:a,w:n,h:a},clear:{cx:n+n/2,cy:a+a/2,x:n,y:a,w:n,h:a},confusion:{cx:n,cy:a,x:n*.7,y:a*.7,w:n*.6,h:a*.6}}},"getDomainLayouts"),Vt=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinDomainColors"),q=3,_t=s((t,e,n,a)=>{const c=a.db,m=c.getDomains(),v=c.getTransitions(),I=c.getDiagramTitle(),d=c.getAccTitle(),D=c.getAccDescription(),o=c.getConfig(),p=Vt();O.debug("Rendering Cynefin diagram");const i=o.width,f=o.height,b=o.padding,h=o.showDomainDescriptions,R=o.boundaryAmplitude,V=i+b*2,_=f+b*2,z={complex:p.complexBg,complicated:p.complicatedBg,clear:p.clearBg,chaotic:p.chaoticBg,confusion:p.confusionBg},k=Dt(e);kt(k,_,V,o.useMaxWidth??!0),k.attr("viewBox",`0 0 ${V} ${_}`),d&&k.append("title").text(d),D&&k.append("desc").text(D);const T=k.append("g").attr("transform",`translate(${b}, ${b})`),F=Rt(i,f),Q=it(o.seed,e),mt=T.append("g").attr("class","cynefin-backgrounds"),X=["complex","complicated","chaotic","clear"];for(const l of X){const r=F[l];mt.append("rect").attr("class","cynefinDomain").attr("x",r.x).attr("y",r.y).attr("width",r.w).attr("height",r.h).attr("fill",z[l]).attr("fill-opacity",.4).attr("stroke","none")}const j=T.append("g").attr("class","cynefin-boundaries");j.append("path").attr("class","cynefinBoundary").attr("d",ct(i,f,Q,R)).attr("fill","none"),j.append("path").attr("class","cynefinBoundary").attr("d",lt(i,f,Q+100,R)).attr("fill","none"),j.append("path").attr("class","cynefinCliff").attr("d",dt(i,f)).attr("fill","none");const pt=i*.15,yt=f*.15;T.append("path").attr("class","cynefinConfusion").attr("d",ft(i/2,f/2,pt,yt)).attr("fill",z.confusion).attr("fill-opacity",.5);const J=T.append("g").attr("class","cynefin-labels");for(const l of X){const r=F[l];J.append("text").attr("class","cynefinDomainLabel").attr("x",r.cx).attr("y",h?r.cy-30:r.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(l.charAt(0).toUpperCase()+l.slice(1))}if(J.append("text").attr("class","cynefinDomainLabel").attr("x",i/2).attr("y",h?f/2-10:f/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),h){const l=T.append("g").attr("class","cynefin-subtitles");for(const r of X){const u=F[r],y=at[r];l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.model),l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.practice)}l.append("text").attr("class","cynefinSubtitle").attr("x",i/2).attr("y",f/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(at.confusion.practice)}const K=T.append("g").attr("class","cynefin-items"),A=26,tt=10,ut=["complex","complicated","chaotic","clear","confusion"];for(const l of ut){const r=m.get(l);if(!r||r.items.length===0)continue;const u=F[l],y=l==="confusion";let L=r.items,N=0;y&&r.items.length>q&&(N=r.items.length-q,L=r.items.slice(0,q));let B;if(y){const g=h?22:14;B=u.cy+g}else B=u.cy+(h?25:15);if([...L].forEach((g,S)=>{const w=B+S*(A+4),M=K.append("g"),P=M.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(g.label);let $=g.label.length*7;const x=P.node();if(x&&typeof x.getBBox=="function"){const Y=x.getBBox();Y.width>0&&($=Y.width)}const C=$+tt*2,W=u.cx-C/2;M.attr("transform",`translate(${W}, ${w})`),M.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",C).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.95),P.attr("x",C/2).attr("y",A/2)}),N>0){const g=B+L.length*(A+4),S=`+${N} more`,w=K.append("g"),M=w.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(S);let P=S.length*7;const $=M.node();if($&&typeof $.getBBox=="function"){const W=$.getBBox();W.width>0&&(P=W.width)}const x=P+tt*2,C=u.cx-x/2;w.attr("transform",`translate(${C}, ${g})`),w.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",x).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.6),M.attr("x",x/2).attr("y",A/2)}}if(v.length>0){const l=k.select("defs").empty()?k.append("defs"):k.select("defs"),r=`cynefin-arrow-${e}`;l.append("marker").attr("id",r).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");const u=T.append("g").attr("class","cynefin-arrows");v.forEach(y=>{const L=F[y.from],N=F[y.to];if(!L||!N)return;if(y.from===y.to){O.warn(`Cynefin renderer: skipping self-loop on domain "${y.from}"`);return}const B=L.cx,g=L.cy,S=N.cx,w=N.cy,M=(B+S)/2,P=(g+w)/2,$=S-B,x=w-g,C=Math.sqrt($*$+x*x),W=C*.15,Y=-x/C,ht=$/C,et=M+Y*W,nt=P+ht*W;u.append("path").attr("class","cynefinArrowLine").attr("d",`M${B},${g} Q${et},${nt} ${S},${w}`).attr("fill","none").attr("marker-end",`url(#${r})`),y.label&&u.append("text").attr("class","cynefinArrowLabel").attr("x",et).attr("y",nt-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(y.label)})}I&&T.append("text").attr("class","cynefinTitle").attr("x",i/2).attr("y",-b/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(I)},"draw"),Ft={draw:_t},Et=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinTheme"),Ht=s(()=>{const t=Et();return`
2
2
  .cynefinDomain {
3
3
  stroke: none;
4
4
  }
@@ -1,3 +1,3 @@
1
- import{Jx as n,mA as o,nZ as u,ia as W,nV as k,nO as P,o5 as b,ih as S,s2 as h,vX as y}from"./4g_iHoQm.js";function L(e,t){return t?JSON.stringify(["git-root",t,e]):e}const p=[];function v(e){return!!e&&e!=="new"&&!e.startsWith("optimistic-")&&e!=="undefined"}const j=n.createSelector((e,t)=>e.panelLayout.byWorkspaceId[t]??o),A=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).pendingPanelReveal??null),f={count:0,isOpen:!1,isActive:!1,isOpenElsewhere:!1};function R(e,t,a,s){if(s.workspaceId&&s.workspaceId!==a)return f;const c=s,r=e.filter(l=>(!l.workspaceId||l.workspaceId===a)&&y(l,c));if(r.length===0)return f;const d=!!t&&(!t.workspaceId||t.workspaceId===a)&&y(t,c);return{count:r.length,isOpen:!0,isActive:d,isOpenElsewhere:!d}}const E=n.createSelector(e=>e.panelLayout.byWorkspaceId),F=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).root),x=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).expandedPanelId),H=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).panels),M=n.createSelector((e,t,a)=>(e.panelLayout.byWorkspaceId[t]??o).panels[a]),q=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).focusedPanelId),$=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return a.focusedPanelId?a.panels[a.focusedPanelId]:void 0});n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const s=a.focusedPanelId,c=s?a.panels[s]:void 0;return[t,{panelId:c?s:null,activeTabId:c?.activeTabId??null}]})));const B=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).restoreStatus),z=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;if(!a.focusedPanelId)return;const s=a.panels[a.focusedPanelId];if(!(!s||!s.activeTabId))return s.tabs.find(c=>c.id===s.activeTabId)}),D=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;for(let s=a.focusHistory.length-1;s>=0;s-=1){const c=a.focusHistory[s],r=a.panels[c.panelId]?.tabs.find(d=>d.id===c.tabId);if(r?.type==="agent")return r}}),V=n.createSelector((e,t,a)=>{const c=(e.panelLayout.byWorkspaceId[t]??o).panels[a];if(!(!c||!c.activeTabId))return c.tabs.find(r=>r.id===c.activeTabId)}),J=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return Object.values(a.panels).flatMap(s=>s.tabs)}),N=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return u(a.hiddenTabs??o.hiddenTabs)});function m(e){const t=[];for(const a of Object.values(e.panels))for(const s of a.tabs)s.type==="browser"&&t.push({tab:s,visibility:"visible",displayed:a.activeTabId===s.id});for(const a of u(e.hiddenTabs??o.hiddenTabs))a.type==="browser"&&t.push({tab:a,visibility:"hidden",displayed:!1});return t}const C=n.createSelector((e,t)=>{const a=e?.panelLayout?.byWorkspaceId[t]??o;return m(a).length>0}),K=n.createSelector(e=>Object.keys(e.panelLayout.byWorkspaceId).filter(t=>C.select(e,t)));n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const s=Object.values(a.panels).some(c=>c.tabs.length>0);return[t,s?W(a.root):0]})));const X=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return k(a.root,a.panels)});n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.canvasWidth??P(a.root,a.panels,"content")])));const Z=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).canvasWidth),G=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).canvasWidthSource),Q=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).columnCount);n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.restoreStatus])));const U=n.createSelector((e,t,a=!1)=>{if(!v(t))return p;const s=e.panelLayout.byWorkspaceId[t],c=e.files.byWorkspaceId[t];if(!c)return p;if(!s)return a?[...c.files.ids].sort((l,i)=>l.localeCompare(i)):p;const r=new Set;for(const l of Object.values(s.panels))for(const i of l.tabs)i.type==="file"&&typeof i.filePath=="string"&&i.filePath.length>0&&r.add(L(i.filePath,typeof i.data?.gitRootId=="string"?i.data.gitRootId:void 0));const d=[];for(const l of c.files.ids)r.has(l)||d.push(l);return d.length===0?p:(d.sort((l,i)=>l.localeCompare(i)),d)}),Y=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return b(a.root)});function I(e){return b(e.root).flatMap(t=>{const a=e.panels[t];return a?[{panelId:t,panes:a.tabs,activePaneId:a.activeTabId,attentionPaneIds:a.attentionTabIds??[]}]:[]})}const _=n.createSelector((e,t)=>I(e.panelLayout.byWorkspaceId[t]??o));n.createSelector((e,t,a)=>I(e.panelLayout.byWorkspaceId[t]??o).find(s=>s.panelId===a));function T(e){return b(e.root).flatMap(t=>{const a=e.panels[t];if(!a)return[];const c=a.tabs.find(r=>r.id===a.activeTabId)??a.tabs[0];return[{id:t,title:c?.title??"",type:c?.type}]})}n.createSelector((e,t)=>T(e.panelLayout.byWorkspaceId[t]??o));const w=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).recentlyClosed),g=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return u(a.recentlyClosedColumns??S("historyId")).find(s=>h(a,s))??null}),ee=n.createSelector((e,t)=>{const a=w.select(e,t)[0]??null,s=g.select(e,t);return s&&(!a||s.closedAt>=a.closedAt)?{kind:"column",closedAt:s.closedAt}:a?{kind:"tab",closedAt:a.closedAt}:null}),te=n.createSelector(e=>Object.entries(e.panelLayout.byWorkspaceId).flatMap(([t,a])=>a.tabWindowFocusRequest?[`${t}\0${a.tabWindowFocusRequest.seq}\0${a.tabWindowFocusRequest.tabWindowId}`]:[]).join(`
1
+ import{Jx as n,mA as o,nZ as u,ia as W,nV as k,nO as P,o5 as b,ih as S,s2 as h,vX as y}from"./CIoJPvjg.js";function L(e,t){return t?JSON.stringify(["git-root",t,e]):e}const p=[];function v(e){return!!e&&e!=="new"&&!e.startsWith("optimistic-")&&e!=="undefined"}const j=n.createSelector((e,t)=>e.panelLayout.byWorkspaceId[t]??o),A=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).pendingPanelReveal??null),f={count:0,isOpen:!1,isActive:!1,isOpenElsewhere:!1};function R(e,t,a,s){if(s.workspaceId&&s.workspaceId!==a)return f;const c=s,r=e.filter(l=>(!l.workspaceId||l.workspaceId===a)&&y(l,c));if(r.length===0)return f;const d=!!t&&(!t.workspaceId||t.workspaceId===a)&&y(t,c);return{count:r.length,isOpen:!0,isActive:d,isOpenElsewhere:!d}}const E=n.createSelector(e=>e.panelLayout.byWorkspaceId),F=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).root),x=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).expandedPanelId),H=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).panels),M=n.createSelector((e,t,a)=>(e.panelLayout.byWorkspaceId[t]??o).panels[a]),q=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).focusedPanelId),$=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return a.focusedPanelId?a.panels[a.focusedPanelId]:void 0});n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const s=a.focusedPanelId,c=s?a.panels[s]:void 0;return[t,{panelId:c?s:null,activeTabId:c?.activeTabId??null}]})));const B=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).restoreStatus),z=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;if(!a.focusedPanelId)return;const s=a.panels[a.focusedPanelId];if(!(!s||!s.activeTabId))return s.tabs.find(c=>c.id===s.activeTabId)}),D=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;for(let s=a.focusHistory.length-1;s>=0;s-=1){const c=a.focusHistory[s],r=a.panels[c.panelId]?.tabs.find(d=>d.id===c.tabId);if(r?.type==="agent")return r}}),V=n.createSelector((e,t,a)=>{const c=(e.panelLayout.byWorkspaceId[t]??o).panels[a];if(!(!c||!c.activeTabId))return c.tabs.find(r=>r.id===c.activeTabId)}),J=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return Object.values(a.panels).flatMap(s=>s.tabs)}),N=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return u(a.hiddenTabs??o.hiddenTabs)});function m(e){const t=[];for(const a of Object.values(e.panels))for(const s of a.tabs)s.type==="browser"&&t.push({tab:s,visibility:"visible",displayed:a.activeTabId===s.id});for(const a of u(e.hiddenTabs??o.hiddenTabs))a.type==="browser"&&t.push({tab:a,visibility:"hidden",displayed:!1});return t}const C=n.createSelector((e,t)=>{const a=e?.panelLayout?.byWorkspaceId[t]??o;return m(a).length>0}),K=n.createSelector(e=>Object.keys(e.panelLayout.byWorkspaceId).filter(t=>C.select(e,t)));n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const s=Object.values(a.panels).some(c=>c.tabs.length>0);return[t,s?W(a.root):0]})));const X=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return k(a.root,a.panels)});n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.canvasWidth??P(a.root,a.panels,"content")])));const Z=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).canvasWidth),G=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).canvasWidthSource),Q=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).columnCount);n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.restoreStatus])));const U=n.createSelector((e,t,a=!1)=>{if(!v(t))return p;const s=e.panelLayout.byWorkspaceId[t],c=e.files.byWorkspaceId[t];if(!c)return p;if(!s)return a?[...c.files.ids].sort((l,i)=>l.localeCompare(i)):p;const r=new Set;for(const l of Object.values(s.panels))for(const i of l.tabs)i.type==="file"&&typeof i.filePath=="string"&&i.filePath.length>0&&r.add(L(i.filePath,typeof i.data?.gitRootId=="string"?i.data.gitRootId:void 0));const d=[];for(const l of c.files.ids)r.has(l)||d.push(l);return d.length===0?p:(d.sort((l,i)=>l.localeCompare(i)),d)}),Y=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return b(a.root)});function I(e){return b(e.root).flatMap(t=>{const a=e.panels[t];return a?[{panelId:t,panes:a.tabs,activePaneId:a.activeTabId,attentionPaneIds:a.attentionTabIds??[]}]:[]})}const _=n.createSelector((e,t)=>I(e.panelLayout.byWorkspaceId[t]??o));n.createSelector((e,t,a)=>I(e.panelLayout.byWorkspaceId[t]??o).find(s=>s.panelId===a));function T(e){return b(e.root).flatMap(t=>{const a=e.panels[t];if(!a)return[];const c=a.tabs.find(r=>r.id===a.activeTabId)??a.tabs[0];return[{id:t,title:c?.title??"",type:c?.type}]})}n.createSelector((e,t)=>T(e.panelLayout.byWorkspaceId[t]??o));const w=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).recentlyClosed),g=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return u(a.recentlyClosedColumns??S("historyId")).find(s=>h(a,s))??null}),ee=n.createSelector((e,t)=>{const a=w.select(e,t)[0]??null,s=g.select(e,t);return s&&(!a||s.closedAt>=a.closedAt)?{kind:"column",closedAt:s.closedAt}:a?{kind:"tab",closedAt:a.closedAt}:null}),te=n.createSelector(e=>Object.entries(e.panelLayout.byWorkspaceId).flatMap(([t,a])=>a.tabWindowFocusRequest?[`${t}\0${a.tabWindowFocusRequest.seq}\0${a.tabWindowFocusRequest.tabWindowId}`]:[]).join(`
2
2
  `)),ae=n.createSelector(e=>Object.entries(e.panelLayout.byWorkspaceId).flatMap(([t,a])=>a.restoreStatus==="restored"?u(a.hiddenTabs??o.hiddenTabs).filter(s=>s.tabWindowId).map(s=>`${t}\0${s.id}`):[]).join(`
3
3
  `));export{w as A,B,ae as C,te as D,C as E,V as a,J as b,m as c,K as d,x as e,L as f,R as g,U as h,$ as i,q as j,N as k,ee as l,D as m,M as n,Z as o,G as p,Q as q,X as r,z as s,_ as t,Y as u,F as v,j as w,E as x,H as y,A as z};
@@ -1 +1 @@
1
- import{Jx as t,iE as o}from"./4g_iHoQm.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
1
+ import{Jx as t,iE as o}from"./CIoJPvjg.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
@@ -1 +1 @@
1
- import"./3SdAC2_C.js";import{p as De}from"./C-zB-6G6.js";import"./BD9db4FR.js";import{j as Oe,k as we,c as We,l as ke}from"./Bc1vJq_Z.js";import{s as qe}from"./BoG8wR7s.js";import{i as _e}from"./Bu13V5mO.js";function Ze(t,i={}){const l=(i.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const v=i.duration??160,y=v<=80?"fast":v<=160?"moderate":"slow";return Oe(t,{axis:i.axis,tier:y},{direction:"in"})}function $e(){return qe.get("enableComponentTransitions")}const Ae={request(){},settle(){}},O=new WeakMap,He=2,ze=2e3,re=2,Pe=1e3,Ve=3e3;function et(t,i){let l=i.enabled??!0,o=i.follow,v=i.onFollowChange,y=i.onScrollStateChange,T=i.threshold??100,w=!1,h=null,u=null,m=null,x=null,d=null,b=null,M=null,F=null,S=0,R=null,g=!1,$=null;const L=new Set,W=new Map,P=new WeakSet,k=new Map,A=document.createElement("div");A.dataset.followBottomAnchor="",A.setAttribute("aria-hidden","true"),A.style.cssText=`height:1px;${i.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function G(e){e===A||k.has(e)||(k.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function V(e){const n=k.get(e);n!==void 0&&(e.style.overflowAnchor=n,k.delete(e))}function I(e){if(e)for(const r of t.children)r instanceof HTMLElement&&G(r);else for(const r of k.keys())V(r);const n=e?"auto":"none";A.style.overflowAnchor!==n&&(A.style.overflowAnchor=n),e?(A.parentElement!==t||A.nextSibling)&&t.append(A):A.remove()}function H(){I(o)}function C(){A.remove();for(const e of k.keys())V(e)}function Y(e){P.add(e),x?.observe(e)}function j(){d!==null&&cancelAnimationFrame(d),F!==null&&cancelAnimationFrame(F),d=null,F=null,S=0,R=null}function c(){return Math.max(0,t.scrollHeight-t.clientHeight)}function D(){return $??=getComputedStyle(t).overflowAnchor!=="none",$}function q(){const e=c(),n=t.scrollTop,r=h??void 0;h={maximum:e,scrollTop:n};const f={maximum:e,scrollTop:n,previous:r};return p.observe(f),f}function U(e=q()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),h={maximum:e.maximum,scrollTop:e.maximum},{maximum:e.maximum,scrollTop:e.maximum}}function N(e=q()){const n=Math.max(0,e.maximum-e.scrollTop),r=n<=T;u?.distanceFromBottom===n&&u.isAtBottom===r&&u.isFollowing===o||(u={distanceFromBottom:n,isAtBottom:r,isFollowing:o},y?.({distanceFromBottom:n,isAtBottom:r,isFollowing:o}))}function _(e,n=!0){if(p.cancel(),!l){o=e;return}const r=o!==e;r&&(o=e,I(e)),r&&n&&v?.(e),e||j(),N()}function ee(e,n=!0){if(!L.delete(e))return;const r=(W.get(e.element)??1)-1;r>0?W.set(e.element,r):(W.delete(e.element),P.has(e.element)||x?.unobserve?.(e.element)),S=0,n&&X()}function te(e=!0){if(L.size===0)return;const n=performance.now();for(const r of L)(!t.contains(r.element)||n>=r.expiresAt)&&ee(r,e)}function oe(){if(d=null,g||!l||!o)return;if(te(!1),L.size>0){d=requestAnimationFrame(oe);return}const e=U(),{maximum:n}=e;N(e),n===R?S+=1:(S=0,R=n),S<He&&(d=requestAnimationFrame(oe))}function X(){g||!l||!o||d!==null||(d=requestAnimationFrame(oe))}function z(e=!0){if(g||!l||!o)return;const n=U(),{maximum:r}=n;N(n),S=0,R=r,e&&X()}function ne(){M===null&&(M=requestAnimationFrame(()=>{M=null,!(g||!l)&&N()}))}function Te(){if(F=null,g||!l)return;let e=q();const n=e.scrollTop!==e.maximum;e=U(e),(n||e.maximum!==R||L.size>0)&&(S=0,R=e.maximum,X()),N(e)}function Fe(){if(!(g||!l)){if(o){if(d!==null||F!==null)return;F=requestAnimationFrame(Te);return}ne()}}function Se(){if(!(g||!l)){if(o){z(F===null);return}ne()}}const K={followAndScroll(){_(!0),z()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(te(),L.size>0):!1,beforeMutation(e,n){if(g||!l||!o)return Ae;const r={element:e,expiresAt:performance.now()+(n.maxHoldMs??ze)};L.add(r);const f=W.get(e)??0;return W.set(e,f+1),f===0&&!P.has(e)&&x?.observe(e),S=0,X(),{request(){!L.has(r)||g||(D()?X():z())},settle(){if(!(g||!L.has(r))){if(D()){ee(r);return}ee(r,!1),z()}}}}};function Le(){let e=null,n=null,r=null,f;function Q(s){return!e||s&&e.wheel!==s?!1:!e.wheel?.defaultPrevented&&performance.now()<e.expiresAt}function Me(s,a){if(s.maximum-s.scrollTop<=re)return!0;const B=s.previous;return a&&B!==void 0&&B.maximum<s.maximum&&B.maximum-s.scrollTop<=re}function Z(s,a){return Me(s,a)?(K.followAndScroll(),!0):!1}function ge(s){const a=q();return Q(s)&&Z(a,!0)}function Re(s){f=s,r===null&&(r=requestAnimationFrame(()=>{r=null;const a=f;f=void 0,!(g||!l||!Q(a))&&(ge(a)||N())}))}function Ne(s,a){const B=Math.max(0,a.maximum-a.scrollTop);if(a.maximum!==s.maximum)return s.maximum=a.maximum,s.distance=B,s.movedTowardBottom=!1,!1;const ve=B-s.distance;return s.distance=B,ve>0?(s.movedTowardBottom=!1,_(!1),!0):ve===0?!1:(s.movedTowardBottom=!0,Z(a,!1))}function Ce(s){if(o||!e)return!1;const a=s.previous;return a&&s.scrollTop<a.scrollTop?(e=null,!1):(!a||s.scrollTop>a.scrollTop)&&Q()&&Z(s,!0)}return{isDragging:()=>n!==null,start(s,a){const B=s==="touch"?Ve:Pe;e={wheel:a,expiresAt:performance.now()+B}},grab(s){if(e=null,!s){n=null;return}const a=c();n={maximum:a,distance:Math.max(0,a-t.scrollTop),movedTowardBottom:!1}},move(s){return n?Ne(n,s):Ce(s)},land(s,a){if(s==="frame"){Re(a);return}if(s==="scrollend"){Q()&&ge(),e=null;return}if(!n)return;const{movedTowardBottom:B}=n;n=null,B&&Z(q(),!1)||N()},observe(s){const a=s.previous;e&&a!==void 0&&s.maximum<a.maximum&&s.maximum-s.scrollTop<=re&&(e=null)},cancel(){e=null},requestBottom(){K.followAndScroll()},reset(){e=null,n=null,f=void 0,r!==null&&cancelAnimationFrame(r),r=null}}}const p=Le();function ie(e){e.deltaY<0?_(!1):e.deltaY>0&&(p.start("wheel",e),p.land("frame",e))}function le(e){e.target===t?p.land("scrollend"):p.cancel()}let se=0;function ae(e){p.cancel(),w=!1,se=e.touches[0]?.clientY??0}function ue(e){const n=e.touches[0]?.clientY??0,r=se-n;w=r>0,r<0&&_(!1)}function ce(){w&&p.start("touch"),p.land("frame")}function fe(e){if(p.cancel(),["ArrowUp","PageUp","Home"].includes(e.key))_(!1);else if(["ArrowDown","PageDown","End"].includes(e.key)){if(e.target instanceof Element&&_e(e.target))return;if(e.key==="End"){p.requestBottom();return}p.start("keyboard"),p.land("frame")}}function Be(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const r=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(r.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=r.left+f:e.clientX>=r.right-f}function me(){const e=p.isDragging();if(!e&&o&&d!==null)return;let n=q();p.move(n)||(o&&!e&&(n=U(n)),N(n))}function de(e){p.grab(Be(e))}function J(){p.land("release")}function Ee(){if(!m){m=new MutationObserver(e=>{let n=!1;for(const r of e)if(r.type==="childList"){for(const f of r.removedNodes)n=!0,f instanceof HTMLElement&&V(f);for(const f of r.addedNodes)f instanceof HTMLElement&&f!==A&&x&&(Y(f),o&&f.parentElement===t&&G(f))}n&&te(),I(o),Fe()}),m.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),x=new ResizeObserver(Se),Y(t);for(const e of t.children)e instanceof HTMLElement&&e!==A&&Y(e)}}function be(){m?.disconnect(),m=null,x?.disconnect(),x=null}function pe(e=!1){if(!l||g)return;if(O.set(t,K),t.addEventListener("scroll",me,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",ie,{passive:!0}),t.addEventListener("touchstart",ae,{passive:!0}),t.addEventListener("touchmove",ue,{passive:!0}),t.addEventListener("touchend",ce,{passive:!0}),t.addEventListener("keydown",fe),t.addEventListener("pointerdown",de,{passive:!0}),window.addEventListener("pointerup",J,{passive:!0}),window.addEventListener("pointercancel",J,{passive:!0}),H(),Ee(),e){b=requestAnimationFrame(()=>{b=null,!(g||!l)&&(D(),o?z():N())});return}D();let n=q();o&&(n=U(n),R=n.maximum),N(n)}function he(){p.reset(),w=!1,h=null,L.clear(),W.clear(),j(),b!==null&&cancelAnimationFrame(b),b=null,M!==null&&cancelAnimationFrame(M),M=null,u=null,$=null,O.get(t)===K&&O.delete(t),be(),C(),t.removeEventListener("scroll",me),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",ie),t.removeEventListener("touchstart",ae),t.removeEventListener("touchmove",ue),t.removeEventListener("touchend",ce),t.removeEventListener("keydown",fe),t.removeEventListener("pointerdown",de),window.removeEventListener("pointerup",J),window.removeEventListener("pointercancel",J)}return pe(!0),{update(e){v=e.onFollowChange,y=e.onScrollStateChange,T=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,pe(!0);return}l?e.follow&&!o?(_(!0,!1),z()):!e.follow&&o?_(!1,!1):b===null&&ne():o=e.follow},destroy(){g=!0,he()}}}function tt(t){return O.get(t)?.isFollowing()??!1}function ot(t){return O.get(t)?.isNativeScrollAnchoringActive()??!1}function nt(t){return O.get(t)?.hasActiveMutation()??!1}function xe(t,i={}){let l=t;for(;l;){const o=O.get(l);if(o)return o.beforeMutation(t,i);l=l.parentElement}return Ae}function Ie(t){const{scrollTop:i,scrollHeight:l,clientHeight:o}=t;return l-i-o}function Ye(t,i=100){return Ie(t)<=i}function Ue(t,i=!1){t.scrollTo({top:t.scrollHeight,behavior:i?"smooth":"auto"})}function rt(t){const i=O.get(t);if(i){i.followAndScroll();return}Ue(t)}function it(t,i,l=150,o){const v=t();if(!v)return;const y=v.scrollTop,T=performance.now();function w(u){return 1-Math.pow(1-u,3)}function h(u){const m=t();if(!m)return;const x=u-T,d=Math.min(x/l,1),b=typeof i=="function"?i(m):i;m.scrollTop=y+(b-y)*w(d),d<1?requestAnimationFrame(h):o?.(m)}requestAnimationFrame(h)}function lt(t,i="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),v=Ye(t,100);if(v&&O.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:v};const y=t.querySelectorAll(i);let T=null,w=0,h;for(const u of y){const m=u.getBoundingClientRect();if(m.top>=o.bottom)break;if(m.top>=o.top){T||(T=u,w=m.top-o.top);const x=u.getAttribute("data-message-id");if(x){h={id:x,offsetFromViewport:m.top-o.top};break}}}return{element:T,offsetFromViewport:w,scrollTop:l,isNearBottom:v,...h?{message:h}:{}}}function ye(t,i){if(i.message){const l=t.querySelector(`[data-message-id="${CSS.escape(i.message.id)}"]`);if(l)return{element:l,offsetFromViewport:i.message.offsetFromViewport}}return i.element?.isConnected?{element:i.element,offsetFromViewport:i.offsetFromViewport}:null}function st(t,i){return ye(t,i)!==null}function at(t,i){const l=ye(t,i);if(l){const{element:o,offsetFromViewport:v}=l,y=t.getBoundingClientRect(),h=o.getBoundingClientRect().top-y.top-v;Math.abs(h)>5&&(t.scrollTop+=h)}}function E(t,i){const l=Number.parseFloat(String(t[i]));return Number.isFinite(l)?l:0}function ut(t,i={},l={}){const o=t,y={maxHoldMs:we[i.tier??"moderate"].settleMs*2+500};let T=xe(o,y);const w=()=>{T?.settle(),T=null},h=()=>{T??=xe(o,y)};if(!$e()||De())return w(),{duration:0};const u=getComputedStyle(o),m=i.axis??"y",x=o.getBoundingClientRect(),d=m==="y"?E(u,"height")||x.height:E(u,"width")||x.width;if(!Number.isFinite(d)||d<=0)return w(),{duration:0};const b=E(u,"opacity")||1,M=i.tier??"moderate",F=we[M],S=l.direction==="out",R=typeof u.getPropertyValue=="function"?S?We(o,{tier:M}):ke(o,{tier:M}):{duration:S?F.exit.duration:F.settleMs,easing:F.exit.easing},g=R.duration??(S?F.exit.duration:F.settleMs),$=i.y??-4,L=E(u,"paddingTop"),W=E(u,"paddingBottom"),P=E(u,"marginTop"),k=E(u,"marginBottom"),A=E(u,"paddingLeft"),G=E(u,"paddingRight"),V=E(u,"marginLeft"),I=E(u,"marginRight");let H=null,C=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const Y=(c,D)=>{o.style.overflow="hidden",m==="y"?(o.style.height=`${c*d}px`,o.style.paddingTop=`${c*L}px`,o.style.paddingBottom=`${c*W}px`,o.style.marginTop=`${c*P}px`,o.style.marginBottom=`${c*k}px`):(o.style.width=`${c*d}px`,o.style.paddingLeft=`${c*A}px`,o.style.paddingRight=`${c*G}px`,o.style.marginLeft=`${c*V}px`,o.style.marginRight=`${c*I}px`),o.style.opacity=`${c*b}`,o.style.transform=m==="y"?`translateY(${$*D}px)`:`translateX(${$*D}px)`},j=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:g,easing:R.easing,tick:(c,D)=>{if(l.direction==="both"&&(H===null?c<1&&(C="outro"):c<H?(h(),C="outro"):c>H&&(h(),C="intro")),H=c,c===1&&C!=="outro"){j(),w(),C="idle";return}Y(c,D),T?.request(),c===0&&C==="outro"&&(w(),C="idle")}}}export{it as a,$e as b,xe as c,st as d,lt as e,et as f,rt as g,nt as h,tt as i,ot as j,Ze as k,Ue as l,at as r,ut as s};
1
+ import"./3SdAC2_C.js";import{p as De}from"./CueOVPTy.js";import"./BCuI_zgX.js";import{j as Oe,k as we,c as We,l as ke}from"./BlRGZv8u.js";import{s as qe}from"./awY5HvZY.js";import{i as _e}from"./Bu13V5mO.js";function Ze(t,i={}){const l=(i.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const v=i.duration??160,y=v<=80?"fast":v<=160?"moderate":"slow";return Oe(t,{axis:i.axis,tier:y},{direction:"in"})}function $e(){return qe.get("enableComponentTransitions")}const Ae={request(){},settle(){}},O=new WeakMap,He=2,ze=2e3,re=2,Pe=1e3,Ve=3e3;function et(t,i){let l=i.enabled??!0,o=i.follow,v=i.onFollowChange,y=i.onScrollStateChange,T=i.threshold??100,w=!1,h=null,u=null,m=null,x=null,d=null,b=null,M=null,F=null,S=0,R=null,g=!1,$=null;const L=new Set,W=new Map,P=new WeakSet,k=new Map,A=document.createElement("div");A.dataset.followBottomAnchor="",A.setAttribute("aria-hidden","true"),A.style.cssText=`height:1px;${i.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function G(e){e===A||k.has(e)||(k.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function V(e){const n=k.get(e);n!==void 0&&(e.style.overflowAnchor=n,k.delete(e))}function I(e){if(e)for(const r of t.children)r instanceof HTMLElement&&G(r);else for(const r of k.keys())V(r);const n=e?"auto":"none";A.style.overflowAnchor!==n&&(A.style.overflowAnchor=n),e?(A.parentElement!==t||A.nextSibling)&&t.append(A):A.remove()}function H(){I(o)}function C(){A.remove();for(const e of k.keys())V(e)}function Y(e){P.add(e),x?.observe(e)}function j(){d!==null&&cancelAnimationFrame(d),F!==null&&cancelAnimationFrame(F),d=null,F=null,S=0,R=null}function c(){return Math.max(0,t.scrollHeight-t.clientHeight)}function D(){return $??=getComputedStyle(t).overflowAnchor!=="none",$}function q(){const e=c(),n=t.scrollTop,r=h??void 0;h={maximum:e,scrollTop:n};const f={maximum:e,scrollTop:n,previous:r};return p.observe(f),f}function U(e=q()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),h={maximum:e.maximum,scrollTop:e.maximum},{maximum:e.maximum,scrollTop:e.maximum}}function N(e=q()){const n=Math.max(0,e.maximum-e.scrollTop),r=n<=T;u?.distanceFromBottom===n&&u.isAtBottom===r&&u.isFollowing===o||(u={distanceFromBottom:n,isAtBottom:r,isFollowing:o},y?.({distanceFromBottom:n,isAtBottom:r,isFollowing:o}))}function _(e,n=!0){if(p.cancel(),!l){o=e;return}const r=o!==e;r&&(o=e,I(e)),r&&n&&v?.(e),e||j(),N()}function ee(e,n=!0){if(!L.delete(e))return;const r=(W.get(e.element)??1)-1;r>0?W.set(e.element,r):(W.delete(e.element),P.has(e.element)||x?.unobserve?.(e.element)),S=0,n&&X()}function te(e=!0){if(L.size===0)return;const n=performance.now();for(const r of L)(!t.contains(r.element)||n>=r.expiresAt)&&ee(r,e)}function oe(){if(d=null,g||!l||!o)return;if(te(!1),L.size>0){d=requestAnimationFrame(oe);return}const e=U(),{maximum:n}=e;N(e),n===R?S+=1:(S=0,R=n),S<He&&(d=requestAnimationFrame(oe))}function X(){g||!l||!o||d!==null||(d=requestAnimationFrame(oe))}function z(e=!0){if(g||!l||!o)return;const n=U(),{maximum:r}=n;N(n),S=0,R=r,e&&X()}function ne(){M===null&&(M=requestAnimationFrame(()=>{M=null,!(g||!l)&&N()}))}function Te(){if(F=null,g||!l)return;let e=q();const n=e.scrollTop!==e.maximum;e=U(e),(n||e.maximum!==R||L.size>0)&&(S=0,R=e.maximum,X()),N(e)}function Fe(){if(!(g||!l)){if(o){if(d!==null||F!==null)return;F=requestAnimationFrame(Te);return}ne()}}function Se(){if(!(g||!l)){if(o){z(F===null);return}ne()}}const K={followAndScroll(){_(!0),z()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(te(),L.size>0):!1,beforeMutation(e,n){if(g||!l||!o)return Ae;const r={element:e,expiresAt:performance.now()+(n.maxHoldMs??ze)};L.add(r);const f=W.get(e)??0;return W.set(e,f+1),f===0&&!P.has(e)&&x?.observe(e),S=0,X(),{request(){!L.has(r)||g||(D()?X():z())},settle(){if(!(g||!L.has(r))){if(D()){ee(r);return}ee(r,!1),z()}}}}};function Le(){let e=null,n=null,r=null,f;function Q(s){return!e||s&&e.wheel!==s?!1:!e.wheel?.defaultPrevented&&performance.now()<e.expiresAt}function Me(s,a){if(s.maximum-s.scrollTop<=re)return!0;const B=s.previous;return a&&B!==void 0&&B.maximum<s.maximum&&B.maximum-s.scrollTop<=re}function Z(s,a){return Me(s,a)?(K.followAndScroll(),!0):!1}function ge(s){const a=q();return Q(s)&&Z(a,!0)}function Re(s){f=s,r===null&&(r=requestAnimationFrame(()=>{r=null;const a=f;f=void 0,!(g||!l||!Q(a))&&(ge(a)||N())}))}function Ne(s,a){const B=Math.max(0,a.maximum-a.scrollTop);if(a.maximum!==s.maximum)return s.maximum=a.maximum,s.distance=B,s.movedTowardBottom=!1,!1;const ve=B-s.distance;return s.distance=B,ve>0?(s.movedTowardBottom=!1,_(!1),!0):ve===0?!1:(s.movedTowardBottom=!0,Z(a,!1))}function Ce(s){if(o||!e)return!1;const a=s.previous;return a&&s.scrollTop<a.scrollTop?(e=null,!1):(!a||s.scrollTop>a.scrollTop)&&Q()&&Z(s,!0)}return{isDragging:()=>n!==null,start(s,a){const B=s==="touch"?Ve:Pe;e={wheel:a,expiresAt:performance.now()+B}},grab(s){if(e=null,!s){n=null;return}const a=c();n={maximum:a,distance:Math.max(0,a-t.scrollTop),movedTowardBottom:!1}},move(s){return n?Ne(n,s):Ce(s)},land(s,a){if(s==="frame"){Re(a);return}if(s==="scrollend"){Q()&&ge(),e=null;return}if(!n)return;const{movedTowardBottom:B}=n;n=null,B&&Z(q(),!1)||N()},observe(s){const a=s.previous;e&&a!==void 0&&s.maximum<a.maximum&&s.maximum-s.scrollTop<=re&&(e=null)},cancel(){e=null},requestBottom(){K.followAndScroll()},reset(){e=null,n=null,f=void 0,r!==null&&cancelAnimationFrame(r),r=null}}}const p=Le();function ie(e){e.deltaY<0?_(!1):e.deltaY>0&&(p.start("wheel",e),p.land("frame",e))}function le(e){e.target===t?p.land("scrollend"):p.cancel()}let se=0;function ae(e){p.cancel(),w=!1,se=e.touches[0]?.clientY??0}function ue(e){const n=e.touches[0]?.clientY??0,r=se-n;w=r>0,r<0&&_(!1)}function ce(){w&&p.start("touch"),p.land("frame")}function fe(e){if(p.cancel(),["ArrowUp","PageUp","Home"].includes(e.key))_(!1);else if(["ArrowDown","PageDown","End"].includes(e.key)){if(e.target instanceof Element&&_e(e.target))return;if(e.key==="End"){p.requestBottom();return}p.start("keyboard"),p.land("frame")}}function Be(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const r=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(r.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=r.left+f:e.clientX>=r.right-f}function me(){const e=p.isDragging();if(!e&&o&&d!==null)return;let n=q();p.move(n)||(o&&!e&&(n=U(n)),N(n))}function de(e){p.grab(Be(e))}function J(){p.land("release")}function Ee(){if(!m){m=new MutationObserver(e=>{let n=!1;for(const r of e)if(r.type==="childList"){for(const f of r.removedNodes)n=!0,f instanceof HTMLElement&&V(f);for(const f of r.addedNodes)f instanceof HTMLElement&&f!==A&&x&&(Y(f),o&&f.parentElement===t&&G(f))}n&&te(),I(o),Fe()}),m.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),x=new ResizeObserver(Se),Y(t);for(const e of t.children)e instanceof HTMLElement&&e!==A&&Y(e)}}function be(){m?.disconnect(),m=null,x?.disconnect(),x=null}function pe(e=!1){if(!l||g)return;if(O.set(t,K),t.addEventListener("scroll",me,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",ie,{passive:!0}),t.addEventListener("touchstart",ae,{passive:!0}),t.addEventListener("touchmove",ue,{passive:!0}),t.addEventListener("touchend",ce,{passive:!0}),t.addEventListener("keydown",fe),t.addEventListener("pointerdown",de,{passive:!0}),window.addEventListener("pointerup",J,{passive:!0}),window.addEventListener("pointercancel",J,{passive:!0}),H(),Ee(),e){b=requestAnimationFrame(()=>{b=null,!(g||!l)&&(D(),o?z():N())});return}D();let n=q();o&&(n=U(n),R=n.maximum),N(n)}function he(){p.reset(),w=!1,h=null,L.clear(),W.clear(),j(),b!==null&&cancelAnimationFrame(b),b=null,M!==null&&cancelAnimationFrame(M),M=null,u=null,$=null,O.get(t)===K&&O.delete(t),be(),C(),t.removeEventListener("scroll",me),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",ie),t.removeEventListener("touchstart",ae),t.removeEventListener("touchmove",ue),t.removeEventListener("touchend",ce),t.removeEventListener("keydown",fe),t.removeEventListener("pointerdown",de),window.removeEventListener("pointerup",J),window.removeEventListener("pointercancel",J)}return pe(!0),{update(e){v=e.onFollowChange,y=e.onScrollStateChange,T=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,pe(!0);return}l?e.follow&&!o?(_(!0,!1),z()):!e.follow&&o?_(!1,!1):b===null&&ne():o=e.follow},destroy(){g=!0,he()}}}function tt(t){return O.get(t)?.isFollowing()??!1}function ot(t){return O.get(t)?.isNativeScrollAnchoringActive()??!1}function nt(t){return O.get(t)?.hasActiveMutation()??!1}function xe(t,i={}){let l=t;for(;l;){const o=O.get(l);if(o)return o.beforeMutation(t,i);l=l.parentElement}return Ae}function Ie(t){const{scrollTop:i,scrollHeight:l,clientHeight:o}=t;return l-i-o}function Ye(t,i=100){return Ie(t)<=i}function Ue(t,i=!1){t.scrollTo({top:t.scrollHeight,behavior:i?"smooth":"auto"})}function rt(t){const i=O.get(t);if(i){i.followAndScroll();return}Ue(t)}function it(t,i,l=150,o){const v=t();if(!v)return;const y=v.scrollTop,T=performance.now();function w(u){return 1-Math.pow(1-u,3)}function h(u){const m=t();if(!m)return;const x=u-T,d=Math.min(x/l,1),b=typeof i=="function"?i(m):i;m.scrollTop=y+(b-y)*w(d),d<1?requestAnimationFrame(h):o?.(m)}requestAnimationFrame(h)}function lt(t,i="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),v=Ye(t,100);if(v&&O.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:v};const y=t.querySelectorAll(i);let T=null,w=0,h;for(const u of y){const m=u.getBoundingClientRect();if(m.top>=o.bottom)break;if(m.top>=o.top){T||(T=u,w=m.top-o.top);const x=u.getAttribute("data-message-id");if(x){h={id:x,offsetFromViewport:m.top-o.top};break}}}return{element:T,offsetFromViewport:w,scrollTop:l,isNearBottom:v,...h?{message:h}:{}}}function ye(t,i){if(i.message){const l=t.querySelector(`[data-message-id="${CSS.escape(i.message.id)}"]`);if(l)return{element:l,offsetFromViewport:i.message.offsetFromViewport}}return i.element?.isConnected?{element:i.element,offsetFromViewport:i.offsetFromViewport}:null}function st(t,i){return ye(t,i)!==null}function at(t,i){const l=ye(t,i);if(l){const{element:o,offsetFromViewport:v}=l,y=t.getBoundingClientRect(),h=o.getBoundingClientRect().top-y.top-v;Math.abs(h)>5&&(t.scrollTop+=h)}}function E(t,i){const l=Number.parseFloat(String(t[i]));return Number.isFinite(l)?l:0}function ut(t,i={},l={}){const o=t,y={maxHoldMs:we[i.tier??"moderate"].settleMs*2+500};let T=xe(o,y);const w=()=>{T?.settle(),T=null},h=()=>{T??=xe(o,y)};if(!$e()||De())return w(),{duration:0};const u=getComputedStyle(o),m=i.axis??"y",x=o.getBoundingClientRect(),d=m==="y"?E(u,"height")||x.height:E(u,"width")||x.width;if(!Number.isFinite(d)||d<=0)return w(),{duration:0};const b=E(u,"opacity")||1,M=i.tier??"moderate",F=we[M],S=l.direction==="out",R=typeof u.getPropertyValue=="function"?S?We(o,{tier:M}):ke(o,{tier:M}):{duration:S?F.exit.duration:F.settleMs,easing:F.exit.easing},g=R.duration??(S?F.exit.duration:F.settleMs),$=i.y??-4,L=E(u,"paddingTop"),W=E(u,"paddingBottom"),P=E(u,"marginTop"),k=E(u,"marginBottom"),A=E(u,"paddingLeft"),G=E(u,"paddingRight"),V=E(u,"marginLeft"),I=E(u,"marginRight");let H=null,C=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const Y=(c,D)=>{o.style.overflow="hidden",m==="y"?(o.style.height=`${c*d}px`,o.style.paddingTop=`${c*L}px`,o.style.paddingBottom=`${c*W}px`,o.style.marginTop=`${c*P}px`,o.style.marginBottom=`${c*k}px`):(o.style.width=`${c*d}px`,o.style.paddingLeft=`${c*A}px`,o.style.paddingRight=`${c*G}px`,o.style.marginLeft=`${c*V}px`,o.style.marginRight=`${c*I}px`),o.style.opacity=`${c*b}`,o.style.transform=m==="y"?`translateY(${$*D}px)`:`translateX(${$*D}px)`},j=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:g,easing:R.easing,tick:(c,D)=>{if(l.direction==="both"&&(H===null?c<1&&(C="outro"):c<H?(h(),C="outro"):c>H&&(h(),C="intro")),H=c,c===1&&C!=="outro"){j(),w(),C="idle";return}Y(c,D),T?.request(),c===0&&C==="outro"&&(w(),C="idle")}}}export{it as a,$e as b,xe as c,st as d,lt as e,et as f,rt as g,nt as h,tt as i,ot as j,Ze as k,Ue as l,at as r,ut as s};
@@ -1 +1 @@
1
- import{t as J,bo as g,bw as Q,b as T,bm as D}from"./Dws-34a7.js";import{bs as U,b_ as V,W as m,bn as X,aA as b,aC as ae,a7 as B,ay as F,aD as t,a5 as Z,bS as $,bH as h,bA as E,be as ie,b$ as se,bO as G,c9 as f,aB as H,bV as j,bl as ee,bk as oe}from"./3SdAC2_C.js";import{s as le,f as ue,c as ce}from"./BD9db4FR.js";import{i as P}from"./DLCFUd4s.js";import{k as fe}from"./5-0LQoqd.js";import{g as me,i as de}from"./C-zB-6G6.js";import{I as pe}from"./C63WwVct.js";import"./C2F2Vd1P.js";import{L as ge}from"./COgn_CzG.js";import"./BW1iql_y.js";import{D as be}from"./C9ew0Hx2.js";import{b as te}from"./B6d1Nolc.js";import{P as ve,K as O}from"./C8LrJXqa.js";var _e=ae('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function Ce(p,i){if(new.target)return J({component:Ce,...p});U(i,!0);let s=g(i,"width",7,24),e=g(i,"class",7,"");var a={get width(){return s()},set width(o=24){s(o),b()},get class(){return e()},set class(o=""){e(o),b()},$set:Q,$on:(o,u)=>T(i,o,u)},l=_e();return V(()=>{le(l,"width",s()),ue(l,0,ce(e()))}),m(p,l),X(a)}var he=H('<span class="min-w-0 shrink truncate text-subtle"> </span>'),we=H('<li class="flex min-w-0 items-baseline justify-between gap-3"><span class="min-w-0 truncate"> </span> <!></li>'),Le=H('<ul class="grid gap-1.5"></ul>'),ye=H('<div class="grid gap-2"><!> <!></div>');function re(p,i){if(new.target)return J({component:re,...p});U(i,!0);const s=r=>{var c=B(),x=F(c);{var A=_=>{var R=Le();me(R,21,()=>e().options.items??[],de,(q,w)=>{var M=we(),I=Z(M),C=ee(I,!0),S=$(I,2);{var L=y=>{var Y=he(),ne=ee(Y,!0);V(()=>G(ne,t(w).detail)),m(y,Y)};P(S,y=>{t(w).detail&&y(L)})}E(M),V(()=>G(C,t(w).label)),m(q,M)}),E(R),m(_,R)};P(x,_=>{e().kind==="confirm"&&_(A)})}m(r,c)};let e=g(i,"request",7),a=g(i,"value",15,""),l=g(i,"busy",7,!1),o=g(i,"static",7,!1),u=g(i,"onAccept",7),v=g(i,"onCancel",7),k=j(null);var K={get request(){return e()},set request(r){e(r),b()},get value(){return a()},set value(r=""){a(r),b()},get busy(){return l()},set busy(r=!1){l(r),b()},get static(){return o()},set static(r=!1){o(r),b()},get onAccept(){return u()},set onAccept(r){u(r),b()},get onCancel(){return v()},set onCancel(r){v(r),b()},$set:Q,$on:(r,c)=>T(i,r,c)},n=B(),d=F(n);{var N=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_bulkActionConfirm_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_bulkActionConfirm_cancel_label()),A=f(()=>e().options.destructive??!1),_=f(()=>e().options.items?.length?s:void 0);be(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return t(c)},get cancelLabel(){return t(x)},get destructive(){return t(A)},get details(){return t(_)},get busy(){return l()},onConfirm:()=>u()(a()),get onCancel(){return v()}})}},W=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_input_cancel_label()),A=f(()=>!e().options.field.required||a().trim().length>0);te(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},get cancelLabel(){return t(x)},get canSubmit(){return t(A)},get busy(){return l()},get initialFocus(){return t(k)},onSubmit:()=>u()(a()),get onCancel(){return v()},children:(_,R)=>{var q=ye(),w=Z(q);{var M=C=>{ge(C,{for:"confirm-prompt-field",children:(S,L)=>{ie();var y=se();V(()=>G(y,e().options.field.label)),m(S,y)},$$slots:{default:!0}})};P(w,C=>{e().options.field.label&&C(M)})}var I=$(w,2);{let C=f(()=>e().options.field.type??"text"),S=f(()=>e().options.field.label?void 0:e().options.title);pe(I,{id:"confirm-prompt-field",get type(){return t(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return t(S)},get ref(){return t(k)},set ref(L){h(k,L,!0)},get value(){return a()},set value(L){a(L)}})}E(q),m(_,q)},$$slots:{default:!0}})}},z=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label());te(r,{open:!0,get static(){return o()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return l()},onSubmit:()=>u()(a()),onCancel:()=>u()(a())})}};P(d,r=>{e()?.kind==="confirm"?r(N):e()?.kind==="prompt"?r(W,1):e()?.kind==="alert"&&r(z,2)})}return m(p,n),X(K)}function ke(p,i){if(new.target)return J({component:ke,...p});U(i,!0);let s=j(null),e=j(""),a=j(!1);oe(()=>ve(n=>{h(s,n,!0),h(e,n?.kind==="prompt"?n.options.field.initialValue??"":"",!0),h(a,!1)}));function l(){!t(s)||t(a)||O(t(s).id,t(s).kind==="confirm"?!1:null)}async function o(){if(!t(s)||t(a))return;const n=t(s);h(a,!0);try{n.kind==="confirm"?(await n.options.onConfirm?.(),O(n.id,!0)):n.kind==="prompt"?(await n.options.onConfirm?.(t(e).trim()),O(n.id,t(e).trim())):O(n.id,void 0)}catch(d){throw console.error("Confirm action failed:",d),h(a,!1),d}}var u={$set:Q,$on:(n,d)=>T(i,n,d)},v=B(),k=F(v);{var K=n=>{var d=B(),N=F(d);fe(N,()=>t(s).id,W=>{re(W,{get request(){return t(s)},get busy(){return t(a)},onAccept:o,onCancel:l,get value(){return t(e)},set value(z){h(e,z,!0)}})}),m(n,d)};P(k,n=>{t(s)&&n(K)})}return m(p,v),X(u)}export{ke as C,Ce as L};
1
+ import{t as J,bo as g,bw as Q,b as T,bm as D}from"./DWvCfaBg.js";import{bs as U,b_ as V,W as m,bn as X,aA as b,aC as ae,a7 as B,ay as F,aD as t,a5 as Z,bS as $,bH as h,bA as E,be as ie,b$ as se,bO as G,c9 as f,aB as H,bV as j,bl as ee,bk as oe}from"./3SdAC2_C.js";import{s as le,f as ue,c as ce}from"./BCuI_zgX.js";import{i as P}from"./VTJf_qPn.js";import{k as fe}from"./bIL0xbKX.js";import{g as me,i as de}from"./CueOVPTy.js";import{I as pe}from"./BRdQpeCl.js";import"./B3OJ_2Dd.js";import{L as ge}from"./CvusaaYc.js";import"./B0kNPCxU.js";import{D as be}from"./COBhx_l-.js";import{b as te}from"./21kfe-mS.js";import{P as ve,K as O}from"./Cerl373K.js";var _e=ae('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function Ce(p,i){if(new.target)return J({component:Ce,...p});U(i,!0);let s=g(i,"width",7,24),e=g(i,"class",7,"");var a={get width(){return s()},set width(o=24){s(o),b()},get class(){return e()},set class(o=""){e(o),b()},$set:Q,$on:(o,u)=>T(i,o,u)},l=_e();return V(()=>{le(l,"width",s()),ue(l,0,ce(e()))}),m(p,l),X(a)}var he=H('<span class="min-w-0 shrink truncate text-subtle"> </span>'),we=H('<li class="flex min-w-0 items-baseline justify-between gap-3"><span class="min-w-0 truncate"> </span> <!></li>'),Le=H('<ul class="grid gap-1.5"></ul>'),ye=H('<div class="grid gap-2"><!> <!></div>');function re(p,i){if(new.target)return J({component:re,...p});U(i,!0);const s=r=>{var c=B(),x=F(c);{var A=_=>{var R=Le();me(R,21,()=>e().options.items??[],de,(q,w)=>{var M=we(),I=Z(M),C=ee(I,!0),S=$(I,2);{var L=y=>{var Y=he(),ne=ee(Y,!0);V(()=>G(ne,t(w).detail)),m(y,Y)};P(S,y=>{t(w).detail&&y(L)})}E(M),V(()=>G(C,t(w).label)),m(q,M)}),E(R),m(_,R)};P(x,_=>{e().kind==="confirm"&&_(A)})}m(r,c)};let e=g(i,"request",7),a=g(i,"value",15,""),l=g(i,"busy",7,!1),o=g(i,"static",7,!1),u=g(i,"onAccept",7),v=g(i,"onCancel",7),k=j(null);var K={get request(){return e()},set request(r){e(r),b()},get value(){return a()},set value(r=""){a(r),b()},get busy(){return l()},set busy(r=!1){l(r),b()},get static(){return o()},set static(r=!1){o(r),b()},get onAccept(){return u()},set onAccept(r){u(r),b()},get onCancel(){return v()},set onCancel(r){v(r),b()},$set:Q,$on:(r,c)=>T(i,r,c)},n=B(),d=F(n);{var N=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_bulkActionConfirm_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_bulkActionConfirm_cancel_label()),A=f(()=>e().options.destructive??!1),_=f(()=>e().options.items?.length?s:void 0);be(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return t(c)},get cancelLabel(){return t(x)},get destructive(){return t(A)},get details(){return t(_)},get busy(){return l()},onConfirm:()=>u()(a()),get onCancel(){return v()}})}},W=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_input_cancel_label()),A=f(()=>!e().options.field.required||a().trim().length>0);te(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},get cancelLabel(){return t(x)},get canSubmit(){return t(A)},get busy(){return l()},get initialFocus(){return t(k)},onSubmit:()=>u()(a()),get onCancel(){return v()},children:(_,R)=>{var q=ye(),w=Z(q);{var M=C=>{ge(C,{for:"confirm-prompt-field",children:(S,L)=>{ie();var y=se();V(()=>G(y,e().options.field.label)),m(S,y)},$$slots:{default:!0}})};P(w,C=>{e().options.field.label&&C(M)})}var I=$(w,2);{let C=f(()=>e().options.field.type??"text"),S=f(()=>e().options.field.label?void 0:e().options.title);pe(I,{id:"confirm-prompt-field",get type(){return t(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return t(S)},get ref(){return t(k)},set ref(L){h(k,L,!0)},get value(){return a()},set value(L){a(L)}})}E(q),m(_,q)},$$slots:{default:!0}})}},z=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label());te(r,{open:!0,get static(){return o()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return l()},onSubmit:()=>u()(a()),onCancel:()=>u()(a())})}};P(d,r=>{e()?.kind==="confirm"?r(N):e()?.kind==="prompt"?r(W,1):e()?.kind==="alert"&&r(z,2)})}return m(p,n),X(K)}function ke(p,i){if(new.target)return J({component:ke,...p});U(i,!0);let s=j(null),e=j(""),a=j(!1);oe(()=>ve(n=>{h(s,n,!0),h(e,n?.kind==="prompt"?n.options.field.initialValue??"":"",!0),h(a,!1)}));function l(){!t(s)||t(a)||O(t(s).id,t(s).kind==="confirm"?!1:null)}async function o(){if(!t(s)||t(a))return;const n=t(s);h(a,!0);try{n.kind==="confirm"?(await n.options.onConfirm?.(),O(n.id,!0)):n.kind==="prompt"?(await n.options.onConfirm?.(t(e).trim()),O(n.id,t(e).trim())):O(n.id,void 0)}catch(d){throw console.error("Confirm action failed:",d),h(a,!1),d}}var u={$set:Q,$on:(n,d)=>T(i,n,d)},v=B(),k=F(v);{var K=n=>{var d=B(),N=F(d);fe(N,()=>t(s).id,W=>{re(W,{get request(){return t(s)},get busy(){return t(a)},onAccept:o,onCancel:l,get value(){return t(e)},set value(z){h(e,z,!0)}})}),m(n,d)};P(k,n=>{t(s)&&n(K)})}return m(p,v),X(u)}export{ke as C,Ce as L};
@@ -1 +1 @@
1
- import{o as y,e as I,s as S,g as A}from"./7KxcPj98.js";function U(){return!0}const o=new Date().toISOString(),d=[{id:"mock-ws-1",title:"Example Project",branch:"feature/demo",baseRef:"main",changesets:[],timeline:[],conversationInfo:[],status:"Active",createdAt:o,updatedAt:o,lastActivity:o,repositoryPath:"/Users/demo/projects/example",repositoryOwner:"demo",repositoryName:"example-project",tags:[],agentSummary:{agentIds:["agent-1"]}},{id:"mock-ws-2",title:"Design System",branch:"feature/tokens",baseRef:"main",changesets:[],timeline:[],conversationInfo:[],status:"Active",createdAt:o,updatedAt:o,lastActivity:o,repositoryPath:"/Users/demo/projects/design-system",repositoryOwner:"demo",repositoryName:"design-system",tags:[]}],g=[{path:"workspaceInitializer.state",label:"Workspace initializer state",description:"Browser-preview workspace initializer state.",category:"workspace",type:"object",defaultValue:{},value:{hydrated:!0}},{path:"hardwareConsole.state",label:"Hardware console state",description:"Browser-preview hardware console state.",category:"hardwareConsole",type:"object",defaultValue:{},value:{}},{path:"rtk.enabled",label:"RTK enabled",description:"Use RTK compressed command output.",category:"tools",type:"boolean",defaultValue:!1,value:!1,origin:"default"}];let l=0;function C(t){const e=g.find(a=>a.path===t);if(!e)return m("INVALID_PARAMS",-32602,`Browser mock: setting "${String(t)}" not found`);const{value:r,origin:s,...i}=e;return{path:e.path,value:r,definition:i,...s?{origin:s}:{},revision:l}}function M(t){return Array.isArray(t)?Object.fromEntries(t.filter(e=>typeof e=="string").map(e=>[e,{available:!1}])):{}}let w=0,B=0;const R=crypto.randomUUID(),p=Symbol("browser-mock-error");function m(t,e,r){return{[p]:{code:t,message:r,data:{code:t},rpcCode:e}}}function T(t){return typeof t=="object"&&t!==null&&p in t}function W(t,e){if(t==="workspace.list")return{workspaces:d};if(t==="workspace.get"){const r=d.find(s=>s.id===e?.workspaceId);return r?{workspace:r}:m("INVALID_PARAMS",-32602,`Browser mock: workspace "${String(e?.workspaceId)}" not found`)}if(t==="task.listAgentLinks")return{links:[],linksByNoteId:{}};if(t==="workspace.getTokenUsage")return{tokenUsage:{byAgentId:{},totals:{inputTokens:0,outputTokens:0,cacheReadTokens:0,cacheCreationTokens:0},byModel:{},byAgentModel:[],lastScanAt:null}};if(t==="workspace.getContext")return{items:[]};if(t==="script.list")return{scripts:[]};if(t==="terminal.list")return{terminals:[],daemonBootId:R};if(t==="terminal.create")return{terminalId:`browser-mock-terminal-${++B}`};if(t==="terminal.write"||t==="terminal.resize"||t==="terminal.kill")return{ok:!0};if(t==="terminal.getBuffer")return{terminalId:String(e?.terminalId??""),data:""};if(t==="terminal.readOutput")return"";if(t==="agent.listActive")return{streams:[]};if(t==="prMonitor.list")return{monitors:[]};if(t==="gitRoot.list")return{gitRoots:[]};if(t==="file.tree")return[];if(t==="file-tracking.getChanges")return{changes:[],truncated:!1,totalCount:0};if(t==="file-tracking.loadCommits")return{commits:[],boundarySha:null,nextToken:null};if(t==="repo.list")return{repos:[]};if(t==="settings.list")return{settings:g,revision:l};if(t==="settings.get")return C(e?.path);if(t==="settings.update"){const r=Array.isArray(e?.changes)?e.changes:[],s=[];for(const i of r){if(typeof i!="object"||i===null)continue;const{path:a,value:c}=i,u=g.find(v=>v.path===a);u&&(u.value=c,s.push({path:u.path,value:c,...u.origin?{origin:u.origin}:{}}))}return s.length>0&&(l+=1),{applied:s,revision:l}}if(t==="host.checkAuggie"||t==="host.findBinary")return{available:!1};if(t==="host.toolAvailability")return{tools:M(e?.tools)};if(t==="host.providerAuthStatus")return{providers:[]};if(t==="host.providerDiscovery")return{providers:[]};if(t==="system.status")return{running:!0,listenMode:"browser-mock",version:"0.0.0-browser",protocolVersion:"0.0.0-browser",host:{os:"browser",arch:"browser",locality:"local"}};if(t==="agent.list")return{agents:[],retiredCount:0};if(t==="agent.listInterrupted")return{agents:[]};if(t==="models.list")return{models:[]};if(t==="skill.list")return{skills:[]};if(t==="search.fileNames")return{files:[]};if(t==="comment.list")return{threads:[]};if(t==="task.list")return{tasks:[],stats:{total:0,completed:0,inProgress:0}};if(t==="note.list")return{notes:[]};if(t==="git.status")return{branch:"",ahead:0,behind:0,diverged:!1,files:[],hasUncommittedChanges:!1,hasUntrackedFiles:!1};if(t==="event.query")return e?.paginate===!0||typeof e?.nextToken=="string"?{items:[],nextToken:null}:[];if(t==="events.subscribe")return{subscriptionId:`browser-mock-sub-${++w}`};if(t==="events.unsubscribe")return{}}function O(t,e){if(t==="backend:request"){const r=e?.method;if(typeof r!="string"||r.length===0)return{ok:!1,error:{code:"INVALID_PARAMS",message:"method is required"}};const s=W(r,e?.params);return T(s)?{ok:!1,error:s[p]}:s!==void 0?{ok:!0,result:s}:{ok:!1,error:{code:"NOT_IMPLEMENTED",message:`Browser mock: backend method "${r}" not implemented`}}}if(t==="backend:subscribe")return{ok:!0,result:{subscriptionId:`browser-mock-sub-${++w}`}};if(t==="backend:unsubscribe")return{ok:!0,result:{}};if(t==="backend:get-status"){const r=A();if(r)return{status:r.getStatus(),daemonStartup:r.getStartupState(),transport:{mode:"external-ws",target:r.getTarget()}};const s=I();return s?{status:"connecting",transport:{mode:"external-ws",target:S(s)}}:{status:"connected",transport:"browser-mock"}}}function P(t,e){const r=O(t,e);return r!==void 0?r:t==="workspace:list"?{success:!0,data:d}:t==="workspace:get-recent-repositories"?{success:!0,data:[]}:t==="workspace:get-settings"||t==="workspace:getSettings"?{success:!0,data:{}}:t==="app:version"||t==="app:get-version"?{success:!0,data:"0.0.0-browser"}:t==="system:get-info"?{success:!0,data:{platform:"browser",arch:"wasm",hostname:"localhost"}}:t==="providers:get-models"?{success:!0,data:[]}:t==="providers:get-availability"?{success:!0,data:{}}:t==="providers:get-paths"?{success:!0,data:{}}:t==="feature-codes:get-active"?{features:[]}:t==="config:get"||t==="config:get-all"||t==="config:getAll"?{success:!0,data:{}}:t==="settings:get"||t==="settings:getAll"?{success:!0,data:{}}:t==="auto-update:get-state"?{success:!0,data:{channel:"stable",status:"idle"}}:t.startsWith("window:")?{success:!0}:t==="panel-layout:load"?{success:!0,data:null}:t==="first-visit-state:load"?{success:!0,data:null}:t==="rules:list"||t==="rules:load-workspace"?{success:!0,data:[]}:t.startsWith("specialists:")?{success:!0,data:[]}:t.startsWith("user-rules:")?{success:!0,data:t.includes("get-all")?[]:""}:t.startsWith("git:")?{success:!0,data:null}:t.startsWith("persistence:")||t.startsWith("storage:")?{success:!0,data:null}:t.startsWith("notes:")?{success:!0,data:t.includes("list")?[]:null}:t.startsWith("agent:")?{success:!0,data:null}:t.startsWith("log:")?{success:!0,data:null}:t.startsWith("user-mcp:")||t.startsWith("mcp:")?{success:!0,data:t.includes("list")?[]:null}:t==="skills:list"?{success:!0,data:[]}:t.includes("-auth:")||t.includes("auth:")?{success:!0,data:{authenticated:!1}}:t.startsWith("dialog:")?{success:!0,data:{canceled:!0,filePaths:[]}}:(console.debug(`[BrowserMock] Unhandled IPC channel: ${t}`),{success:!1,error:`Browser mock: channel "${t}" not implemented`})}const n=[];function f(t,e){for(const r of[...n])r.channel===t&&r.callback(e)}let k=0;const x={invoke:async(t,e)=>(console.warn(`[BrowserMock] Serving MOCK response for IPC channel '${t}' — this is dev-only mock data, not a real bridge`),P(t,e)),send:(t,...e)=>{},on:(t,e)=>{const r=`browser-mock-${++k}`;return n.push({id:r,channel:t,callback:e}),r},off:(t,e)=>{},offById:(t,e)=>{const r=n.findIndex(s=>s.id===e);r!==-1&&n.splice(r,1)},removeAllListeners:t=>{for(let e=n.length-1;e>=0;e--)n[e].channel===t&&n.splice(e,1)},once:(t,e)=>{const r=`browser-mock-${++k}`,s=(...i)=>{e(...i);const a=n.findIndex(c=>c.id===r);a!==-1&&n.splice(a,1)};n.push({id:r,channel:t,callback:s})},getPathForFile:t=>"",platform:"darwin",arch:"arm64",versions:{node:"20.0.0",chrome:"120.0.0",electron:"0.0.0-browser"}};function D(){return typeof window>"u"||window.electronAPI?!1:(console.warn("[BrowserMock] Installing mock electronAPI for browser-mode rendering — all IPC responses are DEV MOCKS"),window.electronAPI=x,_(),!0)}let b=!1;function _(){if(b)return;b=!0;let t=null,e=null,r=null;y(s=>{t?.(),e?.(),r?.(),t=s.onStatusChange(i=>{f("backend:status",{status:i,daemonStartup:s.getStartupState(),transport:{mode:"external-ws",target:s.getTarget()}})}),r=s.onStartupChange(i=>{f("backend:status",{status:s.getStatus(),daemonStartup:i,transport:{mode:"external-ws",target:s.getTarget()}})}),e=s.onReconnected(()=>{f("backend:status",{status:"connected",reconnected:!0,transport:{mode:"external-ws",target:s.getTarget()}})})})}D();export{D as installBrowserMock,U as isBrowserMockEnabled};
1
+ import{o as y,e as I,s as S,g as A}from"./zFAkpaJn.js";function U(){return!0}const o=new Date().toISOString(),d=[{id:"mock-ws-1",title:"Example Project",branch:"feature/demo",baseRef:"main",changesets:[],timeline:[],conversationInfo:[],status:"Active",createdAt:o,updatedAt:o,lastActivity:o,repositoryPath:"/Users/demo/projects/example",repositoryOwner:"demo",repositoryName:"example-project",tags:[],agentSummary:{agentIds:["agent-1"]}},{id:"mock-ws-2",title:"Design System",branch:"feature/tokens",baseRef:"main",changesets:[],timeline:[],conversationInfo:[],status:"Active",createdAt:o,updatedAt:o,lastActivity:o,repositoryPath:"/Users/demo/projects/design-system",repositoryOwner:"demo",repositoryName:"design-system",tags:[]}],g=[{path:"workspaceInitializer.state",label:"Workspace initializer state",description:"Browser-preview workspace initializer state.",category:"workspace",type:"object",defaultValue:{},value:{hydrated:!0}},{path:"hardwareConsole.state",label:"Hardware console state",description:"Browser-preview hardware console state.",category:"hardwareConsole",type:"object",defaultValue:{},value:{}},{path:"rtk.enabled",label:"RTK enabled",description:"Use RTK compressed command output.",category:"tools",type:"boolean",defaultValue:!1,value:!1,origin:"default"}];let l=0;function C(t){const e=g.find(a=>a.path===t);if(!e)return m("INVALID_PARAMS",-32602,`Browser mock: setting "${String(t)}" not found`);const{value:r,origin:s,...i}=e;return{path:e.path,value:r,definition:i,...s?{origin:s}:{},revision:l}}function M(t){return Array.isArray(t)?Object.fromEntries(t.filter(e=>typeof e=="string").map(e=>[e,{available:!1}])):{}}let w=0,B=0;const R=crypto.randomUUID(),p=Symbol("browser-mock-error");function m(t,e,r){return{[p]:{code:t,message:r,data:{code:t},rpcCode:e}}}function T(t){return typeof t=="object"&&t!==null&&p in t}function W(t,e){if(t==="workspace.list")return{workspaces:d};if(t==="workspace.get"){const r=d.find(s=>s.id===e?.workspaceId);return r?{workspace:r}:m("INVALID_PARAMS",-32602,`Browser mock: workspace "${String(e?.workspaceId)}" not found`)}if(t==="task.listAgentLinks")return{links:[],linksByNoteId:{}};if(t==="workspace.getTokenUsage")return{tokenUsage:{byAgentId:{},totals:{inputTokens:0,outputTokens:0,cacheReadTokens:0,cacheCreationTokens:0},byModel:{},byAgentModel:[],lastScanAt:null}};if(t==="workspace.getContext")return{items:[]};if(t==="script.list")return{scripts:[]};if(t==="terminal.list")return{terminals:[],daemonBootId:R};if(t==="terminal.create")return{terminalId:`browser-mock-terminal-${++B}`};if(t==="terminal.write"||t==="terminal.resize"||t==="terminal.kill")return{ok:!0};if(t==="terminal.getBuffer")return{terminalId:String(e?.terminalId??""),data:""};if(t==="terminal.readOutput")return"";if(t==="agent.listActive")return{streams:[]};if(t==="prMonitor.list")return{monitors:[]};if(t==="gitRoot.list")return{gitRoots:[]};if(t==="file.tree")return[];if(t==="file-tracking.getChanges")return{changes:[],truncated:!1,totalCount:0};if(t==="file-tracking.loadCommits")return{commits:[],boundarySha:null,nextToken:null};if(t==="repo.list")return{repos:[]};if(t==="settings.list")return{settings:g,revision:l};if(t==="settings.get")return C(e?.path);if(t==="settings.update"){const r=Array.isArray(e?.changes)?e.changes:[],s=[];for(const i of r){if(typeof i!="object"||i===null)continue;const{path:a,value:c}=i,u=g.find(v=>v.path===a);u&&(u.value=c,s.push({path:u.path,value:c,...u.origin?{origin:u.origin}:{}}))}return s.length>0&&(l+=1),{applied:s,revision:l}}if(t==="host.checkAuggie"||t==="host.findBinary")return{available:!1};if(t==="host.toolAvailability")return{tools:M(e?.tools)};if(t==="host.providerAuthStatus")return{providers:[]};if(t==="host.providerDiscovery")return{providers:[]};if(t==="system.status")return{running:!0,listenMode:"browser-mock",version:"0.0.0-browser",protocolVersion:"0.0.0-browser",host:{os:"browser",arch:"browser",locality:"local"}};if(t==="agent.list")return{agents:[],retiredCount:0};if(t==="agent.listInterrupted")return{agents:[]};if(t==="models.list")return{models:[]};if(t==="skill.list")return{skills:[]};if(t==="search.fileNames")return{files:[]};if(t==="comment.list")return{threads:[]};if(t==="task.list")return{tasks:[],stats:{total:0,completed:0,inProgress:0}};if(t==="note.list")return{notes:[]};if(t==="git.status")return{branch:"",ahead:0,behind:0,diverged:!1,files:[],hasUncommittedChanges:!1,hasUntrackedFiles:!1};if(t==="event.query")return e?.paginate===!0||typeof e?.nextToken=="string"?{items:[],nextToken:null}:[];if(t==="events.subscribe")return{subscriptionId:`browser-mock-sub-${++w}`};if(t==="events.unsubscribe")return{}}function O(t,e){if(t==="backend:request"){const r=e?.method;if(typeof r!="string"||r.length===0)return{ok:!1,error:{code:"INVALID_PARAMS",message:"method is required"}};const s=W(r,e?.params);return T(s)?{ok:!1,error:s[p]}:s!==void 0?{ok:!0,result:s}:{ok:!1,error:{code:"NOT_IMPLEMENTED",message:`Browser mock: backend method "${r}" not implemented`}}}if(t==="backend:subscribe")return{ok:!0,result:{subscriptionId:`browser-mock-sub-${++w}`}};if(t==="backend:unsubscribe")return{ok:!0,result:{}};if(t==="backend:get-status"){const r=A();if(r)return{status:r.getStatus(),daemonStartup:r.getStartupState(),transport:{mode:"external-ws",target:r.getTarget()}};const s=I();return s?{status:"connecting",transport:{mode:"external-ws",target:S(s)}}:{status:"connected",transport:"browser-mock"}}}function P(t,e){const r=O(t,e);return r!==void 0?r:t==="workspace:list"?{success:!0,data:d}:t==="workspace:get-recent-repositories"?{success:!0,data:[]}:t==="workspace:get-settings"||t==="workspace:getSettings"?{success:!0,data:{}}:t==="app:version"||t==="app:get-version"?{success:!0,data:"0.0.0-browser"}:t==="system:get-info"?{success:!0,data:{platform:"browser",arch:"wasm",hostname:"localhost"}}:t==="providers:get-models"?{success:!0,data:[]}:t==="providers:get-availability"?{success:!0,data:{}}:t==="providers:get-paths"?{success:!0,data:{}}:t==="feature-codes:get-active"?{features:[]}:t==="config:get"||t==="config:get-all"||t==="config:getAll"?{success:!0,data:{}}:t==="settings:get"||t==="settings:getAll"?{success:!0,data:{}}:t==="auto-update:get-state"?{success:!0,data:{channel:"stable",status:"idle"}}:t.startsWith("window:")?{success:!0}:t==="panel-layout:load"?{success:!0,data:null}:t==="first-visit-state:load"?{success:!0,data:null}:t==="rules:list"||t==="rules:load-workspace"?{success:!0,data:[]}:t.startsWith("specialists:")?{success:!0,data:[]}:t.startsWith("user-rules:")?{success:!0,data:t.includes("get-all")?[]:""}:t.startsWith("git:")?{success:!0,data:null}:t.startsWith("persistence:")||t.startsWith("storage:")?{success:!0,data:null}:t.startsWith("notes:")?{success:!0,data:t.includes("list")?[]:null}:t.startsWith("agent:")?{success:!0,data:null}:t.startsWith("log:")?{success:!0,data:null}:t.startsWith("user-mcp:")||t.startsWith("mcp:")?{success:!0,data:t.includes("list")?[]:null}:t==="skills:list"?{success:!0,data:[]}:t.includes("-auth:")||t.includes("auth:")?{success:!0,data:{authenticated:!1}}:t.startsWith("dialog:")?{success:!0,data:{canceled:!0,filePaths:[]}}:(console.debug(`[BrowserMock] Unhandled IPC channel: ${t}`),{success:!1,error:`Browser mock: channel "${t}" not implemented`})}const n=[];function f(t,e){for(const r of[...n])r.channel===t&&r.callback(e)}let k=0;const x={invoke:async(t,e)=>(console.warn(`[BrowserMock] Serving MOCK response for IPC channel '${t}' — this is dev-only mock data, not a real bridge`),P(t,e)),send:(t,...e)=>{},on:(t,e)=>{const r=`browser-mock-${++k}`;return n.push({id:r,channel:t,callback:e}),r},off:(t,e)=>{},offById:(t,e)=>{const r=n.findIndex(s=>s.id===e);r!==-1&&n.splice(r,1)},removeAllListeners:t=>{for(let e=n.length-1;e>=0;e--)n[e].channel===t&&n.splice(e,1)},once:(t,e)=>{const r=`browser-mock-${++k}`,s=(...i)=>{e(...i);const a=n.findIndex(c=>c.id===r);a!==-1&&n.splice(a,1)};n.push({id:r,channel:t,callback:s})},getPathForFile:t=>"",platform:"darwin",arch:"arm64",versions:{node:"20.0.0",chrome:"120.0.0",electron:"0.0.0-browser"}};function D(){return typeof window>"u"||window.electronAPI?!1:(console.warn("[BrowserMock] Installing mock electronAPI for browser-mode rendering — all IPC responses are DEV MOCKS"),window.electronAPI=x,_(),!0)}let b=!1;function _(){if(b)return;b=!0;let t=null,e=null,r=null;y(s=>{t?.(),e?.(),r?.(),t=s.onStatusChange(i=>{f("backend:status",{status:i,daemonStartup:s.getStartupState(),transport:{mode:"external-ws",target:s.getTarget()}})}),r=s.onStartupChange(i=>{f("backend:status",{status:s.getStatus(),daemonStartup:i,transport:{mode:"external-ws",target:s.getTarget()}})}),e=s.onReconnected(()=>{f("backend:status",{status:"connected",reconnected:!0,transport:{mode:"external-ws",target:s.getTarget()}})})})}D();export{D as installBrowserMock,U as isBrowserMockEnabled};