@mountaya/studio-react 0.1.0 → 0.2.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 (1057) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +3 -3
  3. package/THIRD-PARTY-NOTICES.txt +2 -2
  4. package/dist/chunk--VSQcEs_.cjs +26 -0
  5. package/dist/chunk--VSQcEs_.cjs.map +1 -0
  6. package/dist/chunk-0qoALFfx.cjs +454 -0
  7. package/dist/chunk-0qoALFfx.cjs.map +1 -0
  8. package/dist/chunk-0sHgX8We.cjs +97 -0
  9. package/dist/chunk-0sHgX8We.cjs.map +1 -0
  10. package/dist/chunk-4D4as_tP.js +16 -0
  11. package/dist/chunk-4D4as_tP.js.map +1 -0
  12. package/dist/chunk-6LM6wuIg.cjs +13 -0
  13. package/dist/chunk-6LM6wuIg.cjs.map +1 -0
  14. package/dist/chunk-6VpwF-77.js +7 -0
  15. package/dist/chunk-6VpwF-77.js.map +1 -0
  16. package/dist/chunk-6v2fJIDh.cjs +28 -0
  17. package/dist/chunk-6v2fJIDh.cjs.map +1 -0
  18. package/dist/chunk-Af0f-OjN.js +71 -0
  19. package/dist/chunk-Af0f-OjN.js.map +1 -0
  20. package/dist/chunk-B-QQkaWk.js +91 -0
  21. package/dist/chunk-B-QQkaWk.js.map +1 -0
  22. package/dist/chunk-B1lX5w6I.cjs +181 -0
  23. package/dist/chunk-B1lX5w6I.cjs.map +1 -0
  24. package/dist/chunk-B2gsz9OJ.js +19 -0
  25. package/dist/chunk-B2gsz9OJ.js.map +1 -0
  26. package/dist/chunk-B38srE2R.d.cts +3976 -0
  27. package/dist/chunk-B3HdxIq7.js +69 -0
  28. package/dist/chunk-B3HdxIq7.js.map +1 -0
  29. package/dist/chunk-B3UCX3Wd.js +30 -0
  30. package/dist/chunk-B3UCX3Wd.js.map +1 -0
  31. package/dist/chunk-B3mMYMtz.cjs +88 -0
  32. package/dist/chunk-B3mMYMtz.cjs.map +1 -0
  33. package/dist/chunk-B7D0neNQ.cjs +47 -0
  34. package/dist/chunk-B7D0neNQ.cjs.map +1 -0
  35. package/dist/chunk-B7UzNwmm.cjs +115 -0
  36. package/dist/chunk-B7UzNwmm.cjs.map +1 -0
  37. package/dist/chunk-B7d3NIaH.js +55 -0
  38. package/dist/chunk-B7d3NIaH.js.map +1 -0
  39. package/dist/chunk-B8ONCPFQ.cjs +70 -0
  40. package/dist/chunk-B8ONCPFQ.cjs.map +1 -0
  41. package/dist/chunk-B8QgG-RT.js +2232 -0
  42. package/dist/chunk-B8QgG-RT.js.map +1 -0
  43. package/dist/chunk-B8ZpXH0_.cjs +64 -0
  44. package/dist/chunk-B8ZpXH0_.cjs.map +1 -0
  45. package/dist/chunk-B8mS5bGc.cjs +112 -0
  46. package/dist/chunk-B8mS5bGc.cjs.map +1 -0
  47. package/dist/chunk-B9EkHHSU.js +40 -0
  48. package/dist/chunk-B9EkHHSU.js.map +1 -0
  49. package/dist/chunk-BA0PWNyn.js +234 -0
  50. package/dist/chunk-BA0PWNyn.js.map +1 -0
  51. package/dist/chunk-BAWE1gqe.js +60 -0
  52. package/dist/chunk-BAWE1gqe.js.map +1 -0
  53. package/dist/chunk-BAe9m2Yp.d.cts +963 -0
  54. package/dist/chunk-BDJCk6ml.js +19 -0
  55. package/dist/chunk-BDJCk6ml.js.map +1 -0
  56. package/dist/chunk-BFI2CR6j.cjs +381 -0
  57. package/dist/chunk-BFI2CR6j.cjs.map +1 -0
  58. package/dist/chunk-BIIJXiiS.js +40 -0
  59. package/dist/chunk-BIIJXiiS.js.map +1 -0
  60. package/dist/chunk-BJAn10wR.js +54 -0
  61. package/dist/chunk-BJAn10wR.js.map +1 -0
  62. package/dist/chunk-BLxPxx5p.js +1641 -0
  63. package/dist/chunk-BLxPxx5p.js.map +1 -0
  64. package/dist/chunk-BNSJoNwO.cjs +377 -0
  65. package/dist/chunk-BNSJoNwO.cjs.map +1 -0
  66. package/dist/chunk-BNTshA5u.js +304 -0
  67. package/dist/chunk-BNTshA5u.js.map +1 -0
  68. package/dist/chunk-BO_yHMn2.js +7 -0
  69. package/dist/chunk-BO_yHMn2.js.map +1 -0
  70. package/dist/chunk-BOpIVklq.cjs +23 -0
  71. package/dist/chunk-BOpIVklq.cjs.map +1 -0
  72. package/dist/chunk-BP8bHGiE.cjs +12 -0
  73. package/dist/chunk-BP8bHGiE.cjs.map +1 -0
  74. package/dist/chunk-BPsgx3c7.js +56 -0
  75. package/dist/chunk-BPsgx3c7.js.map +1 -0
  76. package/dist/chunk-BQkKY_kf.js +44 -0
  77. package/dist/chunk-BQkKY_kf.js.map +1 -0
  78. package/dist/chunk-BQoAEKyJ.js +193 -0
  79. package/dist/chunk-BQoAEKyJ.js.map +1 -0
  80. package/dist/chunk-BRuLc45I.cjs +21 -0
  81. package/dist/chunk-BRuLc45I.cjs.map +1 -0
  82. package/dist/chunk-BSnrqsA8.cjs +56 -0
  83. package/dist/chunk-BSnrqsA8.cjs.map +1 -0
  84. package/dist/chunk-BTDBomKm.cjs +80 -0
  85. package/dist/chunk-BTDBomKm.cjs.map +1 -0
  86. package/dist/chunk-BVogYy0R.js +375 -0
  87. package/dist/chunk-BVogYy0R.js.map +1 -0
  88. package/dist/chunk-BWITLmlf.js +6 -0
  89. package/dist/chunk-BWITLmlf.js.map +1 -0
  90. package/dist/chunk-BXUrvYqd.d.cts +112 -0
  91. package/dist/chunk-BXUrvYqd.d.ts +112 -0
  92. package/dist/chunk-BYzQfFFV.js +54 -0
  93. package/dist/chunk-BYzQfFFV.js.map +1 -0
  94. package/dist/chunk-BZCKMlN8.js +35 -0
  95. package/dist/chunk-BZCKMlN8.js.map +1 -0
  96. package/dist/chunk-BalPERFX.js +13 -0
  97. package/dist/chunk-BalPERFX.js.map +1 -0
  98. package/dist/chunk-Bb5SAw6T.cjs +72 -0
  99. package/dist/chunk-Bb5SAw6T.cjs.map +1 -0
  100. package/dist/chunk-BbQyoetL.cjs +269 -0
  101. package/dist/chunk-BbQyoetL.cjs.map +1 -0
  102. package/dist/chunk-BdepwGey.js +600 -0
  103. package/dist/chunk-BdepwGey.js.map +1 -0
  104. package/dist/chunk-BeB57TnZ.js +29 -0
  105. package/dist/chunk-BeB57TnZ.js.map +1 -0
  106. package/dist/chunk-BecxET4U.cjs +26 -0
  107. package/dist/chunk-BecxET4U.cjs.map +1 -0
  108. package/dist/chunk-Bfuu_B7M.js +16 -0
  109. package/dist/chunk-Bfuu_B7M.js.map +1 -0
  110. package/dist/chunk-Bh4xSiDO.js +93 -0
  111. package/dist/chunk-Bh4xSiDO.js.map +1 -0
  112. package/dist/chunk-BhLItb06.js +10 -0
  113. package/dist/chunk-BhLItb06.js.map +1 -0
  114. package/dist/chunk-BhelUZ4P.js +30 -0
  115. package/dist/chunk-BhelUZ4P.js.map +1 -0
  116. package/dist/chunk-BiMRpOwB.cjs +342 -0
  117. package/dist/chunk-BiMRpOwB.cjs.map +1 -0
  118. package/dist/chunk-Bj3ium6N.cjs +22 -0
  119. package/dist/chunk-Bj3ium6N.cjs.map +1 -0
  120. package/dist/chunk-BjQzK3c3.cjs +59 -0
  121. package/dist/chunk-BjQzK3c3.cjs.map +1 -0
  122. package/dist/chunk-BkvNTXo7.cjs +15 -0
  123. package/dist/chunk-BkvNTXo7.cjs.map +1 -0
  124. package/dist/chunk-BmJDHIlZ.cjs +50 -0
  125. package/dist/chunk-BmJDHIlZ.cjs.map +1 -0
  126. package/dist/chunk-BmztanwN.cjs +13 -0
  127. package/dist/chunk-BmztanwN.cjs.map +1 -0
  128. package/dist/chunk-Bnci-ej8.cjs +262 -0
  129. package/dist/chunk-Bnci-ej8.cjs.map +1 -0
  130. package/dist/chunk-BoOw05B0.js +24 -0
  131. package/dist/chunk-BoOw05B0.js.map +1 -0
  132. package/dist/chunk-BqPxk-8w.cjs +95 -0
  133. package/dist/chunk-BqPxk-8w.cjs.map +1 -0
  134. package/dist/chunk-Br_1h4WD.cjs +15 -0
  135. package/dist/chunk-Br_1h4WD.cjs.map +1 -0
  136. package/dist/chunk-BtmcBZXU.js +13 -0
  137. package/dist/chunk-BtmcBZXU.js.map +1 -0
  138. package/dist/chunk-BvaNI_86.js +11 -0
  139. package/dist/chunk-BvaNI_86.js.map +1 -0
  140. package/dist/chunk-BvoYNlF5.js +145 -0
  141. package/dist/chunk-BvoYNlF5.js.map +1 -0
  142. package/dist/chunk-BwnCGe7J.js +268 -0
  143. package/dist/chunk-BwnCGe7J.js.map +1 -0
  144. package/dist/chunk-BxpaOkyq.cjs +310 -0
  145. package/dist/chunk-BxpaOkyq.cjs.map +1 -0
  146. package/dist/chunk-BybRyFen.cjs +65 -0
  147. package/dist/chunk-BybRyFen.cjs.map +1 -0
  148. package/dist/chunk-C-9wXKm5.cjs +83 -0
  149. package/dist/chunk-C-9wXKm5.cjs.map +1 -0
  150. package/dist/chunk-C-hV-Usi.js +7 -0
  151. package/dist/chunk-C-hV-Usi.js.map +1 -0
  152. package/dist/chunk-C06UWdDq.js +100 -0
  153. package/dist/chunk-C06UWdDq.js.map +1 -0
  154. package/dist/chunk-C1NzDn7y.cjs +35 -0
  155. package/dist/chunk-C1NzDn7y.cjs.map +1 -0
  156. package/dist/chunk-C2zEVNM1.js +20 -0
  157. package/dist/chunk-C2zEVNM1.js.map +1 -0
  158. package/dist/chunk-C3ftwoOp.js +6 -0
  159. package/dist/chunk-C3ftwoOp.js.map +1 -0
  160. package/dist/chunk-C5ZETobm.js +17 -0
  161. package/dist/chunk-C5ZETobm.js.map +1 -0
  162. package/dist/chunk-C5oCIViv.js +98 -0
  163. package/dist/chunk-C5oCIViv.js.map +1 -0
  164. package/dist/chunk-C60kC4oZ.cjs +114 -0
  165. package/dist/chunk-C60kC4oZ.cjs.map +1 -0
  166. package/dist/chunk-C6Mr3Z8L.js +59 -0
  167. package/dist/chunk-C6Mr3Z8L.js.map +1 -0
  168. package/dist/chunk-C6cBmVch.js +119 -0
  169. package/dist/chunk-C6cBmVch.js.map +1 -0
  170. package/dist/chunk-C6vKd7KP.cjs +519 -0
  171. package/dist/chunk-C6vKd7KP.cjs.map +1 -0
  172. package/dist/chunk-C7NizUxN.js +21 -0
  173. package/dist/chunk-C7NizUxN.js.map +1 -0
  174. package/dist/chunk-C93yeTAD.js +91 -0
  175. package/dist/chunk-C93yeTAD.js.map +1 -0
  176. package/dist/chunk-CByZU6Hx.cjs +90 -0
  177. package/dist/chunk-CByZU6Hx.cjs.map +1 -0
  178. package/dist/chunk-CCNIPIJB.cjs +25 -0
  179. package/dist/chunk-CCNIPIJB.cjs.map +1 -0
  180. package/dist/chunk-CEDKBew2.js +15 -0
  181. package/dist/chunk-CEDKBew2.js.map +1 -0
  182. package/dist/chunk-CI2PEZIK.js +147 -0
  183. package/dist/chunk-CI2PEZIK.js.map +1 -0
  184. package/dist/chunk-CIjPAYuo.cjs +268 -0
  185. package/dist/chunk-CIjPAYuo.cjs.map +1 -0
  186. package/dist/chunk-CJyqD6Ib.js +518 -0
  187. package/dist/chunk-CJyqD6Ib.js.map +1 -0
  188. package/dist/chunk-CNFF8fiL.js +38 -0
  189. package/dist/chunk-CNFF8fiL.js.map +1 -0
  190. package/dist/chunk-CNFoFzhK.cjs +50 -0
  191. package/dist/chunk-CNFoFzhK.cjs.map +1 -0
  192. package/dist/chunk-CQAuAPOE.cjs +63 -0
  193. package/dist/chunk-CQAuAPOE.cjs.map +1 -0
  194. package/dist/chunk-CR46E73M.js +50 -0
  195. package/dist/chunk-CR46E73M.js.map +1 -0
  196. package/dist/chunk-CSq4CbT1.js +86 -0
  197. package/dist/chunk-CSq4CbT1.js.map +1 -0
  198. package/dist/chunk-CT6i9_8G.cjs +31 -0
  199. package/dist/chunk-CT6i9_8G.cjs.map +1 -0
  200. package/dist/chunk-CUKEOil1.cjs +108 -0
  201. package/dist/chunk-CUKEOil1.cjs.map +1 -0
  202. package/dist/chunk-CWxPV2vI.js +111 -0
  203. package/dist/chunk-CWxPV2vI.js.map +1 -0
  204. package/dist/chunk-CXap-mFu.js +50 -0
  205. package/dist/chunk-CXap-mFu.js.map +1 -0
  206. package/dist/chunk-CYx1vTOG.d.ts +69 -0
  207. package/dist/chunk-CZOXtOQp.js +261 -0
  208. package/dist/chunk-CZOXtOQp.js.map +1 -0
  209. package/dist/chunk-CZSBVyE9.js +68 -0
  210. package/dist/chunk-CZSBVyE9.js.map +1 -0
  211. package/dist/chunk-C_NZdnA3.cjs +57 -0
  212. package/dist/chunk-C_NZdnA3.cjs.map +1 -0
  213. package/dist/chunk-C_k4SxhD.js +245 -0
  214. package/dist/chunk-C_k4SxhD.js.map +1 -0
  215. package/dist/chunk-CaTeIppS.cjs +115 -0
  216. package/dist/chunk-CaTeIppS.cjs.map +1 -0
  217. package/dist/chunk-CaUCI-WV.cjs +69 -0
  218. package/dist/chunk-CaUCI-WV.cjs.map +1 -0
  219. package/dist/chunk-CblkEI9o.js +19 -0
  220. package/dist/chunk-CblkEI9o.js.map +1 -0
  221. package/dist/chunk-CcXeCiEQ.js +70 -0
  222. package/dist/chunk-CcXeCiEQ.js.map +1 -0
  223. package/dist/chunk-Ce4D2B8W.cjs +49 -0
  224. package/dist/chunk-Ce4D2B8W.cjs.map +1 -0
  225. package/dist/chunk-CetxbYL1.js +66 -0
  226. package/dist/chunk-CetxbYL1.js.map +1 -0
  227. package/dist/chunk-ClfU9elo.js +68 -0
  228. package/dist/chunk-ClfU9elo.js.map +1 -0
  229. package/dist/chunk-CmNHE_Un.cjs +4 -0
  230. package/dist/chunk-Cmb_XLfd.js +82 -0
  231. package/dist/chunk-Cmb_XLfd.js.map +1 -0
  232. package/dist/chunk-Cp26IdF1.js +72 -0
  233. package/dist/chunk-Cp26IdF1.js.map +1 -0
  234. package/dist/chunk-CsBkSCbR.cjs +92 -0
  235. package/dist/chunk-CsBkSCbR.cjs.map +1 -0
  236. package/dist/chunk-CsnIpELM.js +31 -0
  237. package/dist/chunk-CsnIpELM.js.map +1 -0
  238. package/dist/chunk-CsnJv55G.cjs +36 -0
  239. package/dist/chunk-CsnJv55G.cjs.map +1 -0
  240. package/dist/chunk-CsxHDVHF.cjs +68 -0
  241. package/dist/chunk-CsxHDVHF.cjs.map +1 -0
  242. package/dist/chunk-Cv1FyWmK.js +670 -0
  243. package/dist/chunk-Cv1FyWmK.js.map +1 -0
  244. package/dist/chunk-CwXRQ-3X.cjs +2238 -0
  245. package/dist/chunk-CwXRQ-3X.cjs.map +1 -0
  246. package/dist/chunk-CxC9GaSV.js +6 -0
  247. package/dist/chunk-CxC9GaSV.js.map +1 -0
  248. package/dist/chunk-CyDQK1JF.js +22 -0
  249. package/dist/chunk-CyDQK1JF.js.map +1 -0
  250. package/dist/chunk-CyFo-C-X.js +341 -0
  251. package/dist/chunk-CyFo-C-X.js.map +1 -0
  252. package/dist/chunk-CzGWcm8C.cjs +109 -0
  253. package/dist/chunk-CzGWcm8C.cjs.map +1 -0
  254. package/dist/chunk-D0Cmheqq.cjs +25 -0
  255. package/dist/chunk-D0Cmheqq.cjs.map +1 -0
  256. package/dist/chunk-D0VevtWq.cjs +13 -0
  257. package/dist/chunk-D0VevtWq.cjs.map +1 -0
  258. package/dist/chunk-D1HIZ09h.d.cts +22 -0
  259. package/dist/chunk-D1HIZ09h.d.ts +22 -0
  260. package/dist/chunk-D1PwxEEq.cjs +281 -0
  261. package/dist/chunk-D1PwxEEq.cjs.map +1 -0
  262. package/dist/chunk-D2BipKyx.d.cts +69 -0
  263. package/dist/chunk-D4g36nrI.d.ts +963 -0
  264. package/dist/chunk-D5vZKs5k.js +85 -0
  265. package/dist/chunk-D5vZKs5k.js.map +1 -0
  266. package/dist/chunk-D7XBi__G.js +17 -0
  267. package/dist/chunk-D7XBi__G.js.map +1 -0
  268. package/dist/chunk-D8TsKfym.cjs +35 -0
  269. package/dist/chunk-D8TsKfym.cjs.map +1 -0
  270. package/dist/chunk-D8r50zRF.cjs +4 -0
  271. package/dist/chunk-DAAlHzRS.js +2 -0
  272. package/dist/chunk-DBY6OSNP.js +13 -0
  273. package/dist/chunk-DBY6OSNP.js.map +1 -0
  274. package/dist/chunk-DBfZJAh3.js +146 -0
  275. package/dist/chunk-DBfZJAh3.js.map +1 -0
  276. package/dist/chunk-DBpF1Eur.cjs +69 -0
  277. package/dist/chunk-DBpF1Eur.cjs.map +1 -0
  278. package/dist/chunk-DCvhBL80.js +9 -0
  279. package/dist/chunk-DCvhBL80.js.map +1 -0
  280. package/dist/chunk-DDNoqMiU.cjs +12 -0
  281. package/dist/chunk-DDNoqMiU.cjs.map +1 -0
  282. package/dist/chunk-DEpLX45Z.cjs +25 -0
  283. package/dist/chunk-DEpLX45Z.cjs.map +1 -0
  284. package/dist/chunk-DFw3I0U0.cjs +19 -0
  285. package/dist/chunk-DFw3I0U0.cjs.map +1 -0
  286. package/dist/chunk-DJOkmY4u.cjs +36 -0
  287. package/dist/chunk-DJOkmY4u.cjs.map +1 -0
  288. package/dist/chunk-DJQsem2x.js +1128 -0
  289. package/dist/chunk-DJQsem2x.js.map +1 -0
  290. package/dist/chunk-DKNcYR4L.cjs +71 -0
  291. package/dist/chunk-DKNcYR4L.cjs.map +1 -0
  292. package/dist/chunk-DL4Q5WpP.cjs +19 -0
  293. package/dist/chunk-DL4Q5WpP.cjs.map +1 -0
  294. package/dist/chunk-DLt13wEh.js +279 -0
  295. package/dist/chunk-DLt13wEh.js.map +1 -0
  296. package/dist/chunk-DPvFDS5n.cjs +31 -0
  297. package/dist/chunk-DPvFDS5n.cjs.map +1 -0
  298. package/dist/chunk-DQ4l6EDZ.js +1728 -0
  299. package/dist/chunk-DQ4l6EDZ.js.map +1 -0
  300. package/dist/chunk-DQ_X9yhT.cjs +21 -0
  301. package/dist/chunk-DQ_X9yhT.cjs.map +1 -0
  302. package/dist/chunk-DQbbL87b.cjs +57 -0
  303. package/dist/chunk-DQbbL87b.cjs.map +1 -0
  304. package/dist/chunk-DRphChLx.js +15 -0
  305. package/dist/chunk-DRphChLx.js.map +1 -0
  306. package/dist/chunk-DSsTHBp4.js +62 -0
  307. package/dist/chunk-DSsTHBp4.js.map +1 -0
  308. package/dist/chunk-DVI59otQ.js +20 -0
  309. package/dist/chunk-DVI59otQ.js.map +1 -0
  310. package/dist/chunk-DVN4tYVL.cjs +235 -0
  311. package/dist/chunk-DVN4tYVL.cjs.map +1 -0
  312. package/dist/chunk-DWxCDSxn.cjs +36 -0
  313. package/dist/chunk-DWxCDSxn.cjs.map +1 -0
  314. package/dist/chunk-DXMaeZs_.cjs +135 -0
  315. package/dist/chunk-DXMaeZs_.cjs.map +1 -0
  316. package/dist/chunk-D_dPThBm.js +44 -0
  317. package/dist/chunk-D_dPThBm.js.map +1 -0
  318. package/dist/chunk-DbW3lF5Y.cjs +55 -0
  319. package/dist/chunk-DbW3lF5Y.cjs.map +1 -0
  320. package/dist/chunk-Dc0Robe4.cjs +254 -0
  321. package/dist/chunk-Dc0Robe4.cjs.map +1 -0
  322. package/dist/chunk-DcLLI7B1.cjs +16 -0
  323. package/dist/chunk-DcLLI7B1.cjs.map +1 -0
  324. package/dist/chunk-Dd9K8OSs.js +73 -0
  325. package/dist/chunk-Dd9K8OSs.js.map +1 -0
  326. package/dist/chunk-DeFJnC-Q.js +52 -0
  327. package/dist/chunk-DeFJnC-Q.js.map +1 -0
  328. package/dist/chunk-DeggaLXL.cjs +109 -0
  329. package/dist/chunk-DeggaLXL.cjs.map +1 -0
  330. package/dist/chunk-DetGuqR8.cjs +12 -0
  331. package/dist/chunk-DetGuqR8.cjs.map +1 -0
  332. package/dist/chunk-Df761BAX.cjs +4 -0
  333. package/dist/chunk-DfQZch7H.cjs +60 -0
  334. package/dist/chunk-DfQZch7H.cjs.map +1 -0
  335. package/dist/chunk-DhwoAmi8.cjs +77 -0
  336. package/dist/chunk-DhwoAmi8.cjs.map +1 -0
  337. package/dist/chunk-DkH1DKxi.cjs +66 -0
  338. package/dist/chunk-DkH1DKxi.cjs.map +1 -0
  339. package/dist/chunk-DkjkI8F5.cjs +150 -0
  340. package/dist/chunk-DkjkI8F5.cjs.map +1 -0
  341. package/dist/chunk-DlaVYkP2.cjs +23 -0
  342. package/dist/chunk-DlaVYkP2.cjs.map +1 -0
  343. package/dist/chunk-DlcsA1GQ.js +6 -0
  344. package/dist/chunk-DlcsA1GQ.js.map +1 -0
  345. package/dist/chunk-DmBkJhi_.js +8 -0
  346. package/dist/chunk-DmBkJhi_.js.map +1 -0
  347. package/dist/chunk-DnXjnOQ1.cjs +42 -0
  348. package/dist/chunk-DnXjnOQ1.cjs.map +1 -0
  349. package/dist/chunk-DrG9yz7c.js +509 -0
  350. package/dist/chunk-DrG9yz7c.js.map +1 -0
  351. package/dist/chunk-DsTU_5Be.js +96 -0
  352. package/dist/chunk-DsTU_5Be.js.map +1 -0
  353. package/dist/chunk-DsXj9iLu.cjs +1827 -0
  354. package/dist/chunk-DsXj9iLu.cjs.map +1 -0
  355. package/dist/chunk-DteUy52S.js +45 -0
  356. package/dist/chunk-DteUy52S.js.map +1 -0
  357. package/dist/chunk-DtvsE56k.cjs +12 -0
  358. package/dist/chunk-DtvsE56k.cjs.map +1 -0
  359. package/dist/chunk-DuD5YqoE.cjs +99 -0
  360. package/dist/chunk-DuD5YqoE.cjs.map +1 -0
  361. package/dist/chunk-DvrtQ0Y0.js +51 -0
  362. package/dist/chunk-DvrtQ0Y0.js.map +1 -0
  363. package/dist/chunk-DwUFwDV2.js +144 -0
  364. package/dist/chunk-DwUFwDV2.js.map +1 -0
  365. package/dist/chunk-Dy59Tdfm.cjs +67 -0
  366. package/dist/chunk-Dy59Tdfm.cjs.map +1 -0
  367. package/dist/chunk-DyJupG9U.cjs +74 -0
  368. package/dist/chunk-DyJupG9U.cjs.map +1 -0
  369. package/dist/chunk-DzCbinPo.js +9 -0
  370. package/dist/chunk-DzCbinPo.js.map +1 -0
  371. package/dist/chunk-GgcOmaXu.cjs +137 -0
  372. package/dist/chunk-GgcOmaXu.cjs.map +1 -0
  373. package/dist/chunk-GnVcZTQv.cjs +50 -0
  374. package/dist/chunk-GnVcZTQv.cjs.map +1 -0
  375. package/dist/chunk-JDLVWYk5.cjs +22 -0
  376. package/dist/chunk-JDLVWYk5.cjs.map +1 -0
  377. package/dist/chunk-NA04sFmY.js +2 -0
  378. package/dist/chunk-NqIZvB2L.js +44 -0
  379. package/dist/chunk-NqIZvB2L.js.map +1 -0
  380. package/dist/chunk-OGNas_Mn.cjs +654 -0
  381. package/dist/chunk-OGNas_Mn.cjs.map +1 -0
  382. package/dist/chunk-PeexRooj.cjs +12 -0
  383. package/dist/chunk-PeexRooj.cjs.map +1 -0
  384. package/dist/chunk-QUjeQKsz.js +26 -0
  385. package/dist/chunk-QUjeQKsz.js.map +1 -0
  386. package/dist/chunk-S0jc_E9W.cjs +62 -0
  387. package/dist/chunk-S0jc_E9W.cjs.map +1 -0
  388. package/dist/chunk-TLRG-UaM.js +453 -0
  389. package/dist/chunk-TLRG-UaM.js.map +1 -0
  390. package/dist/chunk-TYmd7TzW.cjs +68 -0
  391. package/dist/chunk-TYmd7TzW.cjs.map +1 -0
  392. package/dist/chunk-TlHnQSY_.js +250 -0
  393. package/dist/chunk-TlHnQSY_.js.map +1 -0
  394. package/dist/chunk-Vba_029j.js +36 -0
  395. package/dist/chunk-Vba_029j.js.map +1 -0
  396. package/dist/chunk-Vp0uJb7O.cjs +92 -0
  397. package/dist/chunk-Vp0uJb7O.cjs.map +1 -0
  398. package/dist/chunk-WPGdcwtf.cjs +15 -0
  399. package/dist/chunk-WPGdcwtf.cjs.map +1 -0
  400. package/dist/chunk-WUipjqNN.cjs +158 -0
  401. package/dist/chunk-WUipjqNN.cjs.map +1 -0
  402. package/dist/chunk-Y-zyJ0-m.js +6 -0
  403. package/dist/chunk-Y-zyJ0-m.js.map +1 -0
  404. package/dist/chunk-ZIIlDASG.js +94 -0
  405. package/dist/chunk-ZIIlDASG.js.map +1 -0
  406. package/dist/chunk-ZLDg2I1Z.js +6 -0
  407. package/dist/chunk-ZLDg2I1Z.js.map +1 -0
  408. package/dist/chunk-_jSTl9gW.cjs +1129 -0
  409. package/dist/chunk-_jSTl9gW.cjs.map +1 -0
  410. package/dist/chunk-b5CqEoo1.cjs +599 -0
  411. package/dist/chunk-b5CqEoo1.cjs.map +1 -0
  412. package/dist/chunk-bA-2OGXv.d.ts +3977 -0
  413. package/dist/chunk-bvwC3n0z.cjs +12 -0
  414. package/dist/chunk-bvwC3n0z.cjs.map +1 -0
  415. package/dist/chunk-cMQzXXQq.js +67 -0
  416. package/dist/chunk-cMQzXXQq.js.map +1 -0
  417. package/dist/chunk-cTRnGhbF.cjs +177 -0
  418. package/dist/chunk-cTRnGhbF.cjs.map +1 -0
  419. package/dist/chunk-dHKPMJ4D.js +85 -0
  420. package/dist/chunk-dHKPMJ4D.js.map +1 -0
  421. package/dist/chunk-d_BOXcT5.js +9 -0
  422. package/dist/chunk-d_BOXcT5.js.map +1 -0
  423. package/dist/chunk-ea1IbBcA.js +66 -0
  424. package/dist/chunk-ea1IbBcA.js.map +1 -0
  425. package/dist/chunk-f-dHVrF3.js +293 -0
  426. package/dist/chunk-f-dHVrF3.js.map +1 -0
  427. package/dist/chunk-h7Z5mAV_.cjs +41 -0
  428. package/dist/chunk-h7Z5mAV_.cjs.map +1 -0
  429. package/dist/chunk-jSgMzVr1.js +35 -0
  430. package/dist/chunk-jSgMzVr1.js.map +1 -0
  431. package/dist/chunk-kYE5SZgs.cjs +252 -0
  432. package/dist/chunk-kYE5SZgs.cjs.map +1 -0
  433. package/dist/chunk-lEnNKG6x.cjs +285 -0
  434. package/dist/chunk-lEnNKG6x.cjs.map +1 -0
  435. package/dist/chunk-lcml1N1G.js +11 -0
  436. package/dist/chunk-lcml1N1G.js.map +1 -0
  437. package/dist/chunk-nBK0qBXt.js +68 -0
  438. package/dist/chunk-nBK0qBXt.js.map +1 -0
  439. package/dist/chunk-njoANlUr.cjs +41 -0
  440. package/dist/chunk-njoANlUr.cjs.map +1 -0
  441. package/dist/chunk-nwutfrnH.cjs +430 -0
  442. package/dist/chunk-nwutfrnH.cjs.map +1 -0
  443. package/dist/chunk-o1EKuTLo.js +56 -0
  444. package/dist/chunk-o1EKuTLo.js.map +1 -0
  445. package/dist/chunk-oMFOZSQM.cjs +52 -0
  446. package/dist/chunk-oMFOZSQM.cjs.map +1 -0
  447. package/dist/chunk-pb64dLGD.cjs +682 -0
  448. package/dist/chunk-pb64dLGD.cjs.map +1 -0
  449. package/dist/chunk-s7kBzSlt.js +2 -0
  450. package/dist/chunk-uhXxE8xV.cjs +32 -0
  451. package/dist/chunk-uhXxE8xV.cjs.map +1 -0
  452. package/dist/chunk-vGzpsUSM.cjs +110 -0
  453. package/dist/chunk-vGzpsUSM.cjs.map +1 -0
  454. package/dist/chunk-vN_Di8Af.cjs +1890 -0
  455. package/dist/chunk-vN_Di8Af.cjs.map +1 -0
  456. package/dist/chunk-veLShVmw.js +41 -0
  457. package/dist/chunk-veLShVmw.js.map +1 -0
  458. package/dist/chunk-wTf5jOFv.js +253 -0
  459. package/dist/chunk-wTf5jOFv.js.map +1 -0
  460. package/dist/chunk-yO-Ek9RH.cjs +17 -0
  461. package/dist/chunk-yO-Ek9RH.cjs.map +1 -0
  462. package/dist/chunk-ye5UUSFw.js +280 -0
  463. package/dist/chunk-ye5UUSFw.js.map +1 -0
  464. package/dist/copilot/index.cjs +8 -41
  465. package/dist/copilot/index.d.cts +3 -7
  466. package/dist/copilot/index.d.ts +3 -7
  467. package/dist/copilot/index.js +3 -29
  468. package/dist/embed/index.cjs +1599 -1762
  469. package/dist/embed/index.cjs.map +1 -1
  470. package/dist/embed/index.d.cts +86 -95
  471. package/dist/embed/index.d.ts +86 -95
  472. package/dist/embed/index.js +1594 -1760
  473. package/dist/embed/index.js.map +1 -1
  474. package/dist/headless/index.cjs +125 -407
  475. package/dist/headless/index.d.cts +4 -23
  476. package/dist/headless/index.d.ts +4 -23
  477. package/dist/headless/index.js +28 -30
  478. package/dist/import/index.cjs +386 -416
  479. package/dist/import/index.cjs.map +1 -1
  480. package/dist/import/index.d.cts +28 -37
  481. package/dist/import/index.d.ts +28 -37
  482. package/dist/import/index.js +379 -407
  483. package/dist/import/index.js.map +1 -1
  484. package/dist/index.cjs +8939 -10545
  485. package/dist/index.cjs.map +1 -1
  486. package/dist/index.d.cts +1786 -1888
  487. package/dist/index.d.ts +1786 -1888
  488. package/dist/index.js +8737 -9876
  489. package/dist/index.js.map +1 -1
  490. package/dist/map/index.cjs +34 -120
  491. package/dist/map/index.d.cts +2 -988
  492. package/dist/map/index.d.ts +2 -988
  493. package/dist/map/index.js +1 -24
  494. package/dist/styles.css +7 -0
  495. package/dist/testing/index.cjs +367 -326
  496. package/dist/testing/index.cjs.map +1 -1
  497. package/dist/testing/index.d.cts +84 -101
  498. package/dist/testing/index.d.ts +84 -101
  499. package/dist/testing/index.js +362 -324
  500. package/dist/testing/index.js.map +1 -1
  501. package/dist/video/index.cjs +6 -51
  502. package/dist/video/index.d.cts +44 -49
  503. package/dist/video/index.d.ts +44 -49
  504. package/dist/video/index.js +1 -43
  505. package/package.json +22 -23
  506. package/src/agent/components/ChatTranscript.tsx +1 -1
  507. package/src/agent/hooks/useAgentChatTransport.ts +1 -1
  508. package/src/controls/components/PoiOverlayMenu.tsx +1 -1
  509. package/src/controls/components/StudioControls.tsx +1 -1
  510. package/src/directions/components/DirectionsModal.tsx +1 -1
  511. package/src/directions/components/directionsPdf.tsx +1 -9
  512. package/src/embed/components/EmbedColumnsSection.tsx +1 -1
  513. package/src/embed/components/EmbedElementSwitcher.tsx +6 -8
  514. package/src/embed/components/EmbedTablePreview.tsx +2 -2
  515. package/src/embed/hooks/useEmbedPreviewCamera.ts +1 -1
  516. package/src/embed/index.ts +2 -8
  517. package/src/headless/hooks/usePlatformViewer.ts +2 -2
  518. package/src/headless/hooks/useSegmentList.ts +1 -1
  519. package/src/headless/hooks/useSegmentRow.ts +4 -0
  520. package/src/headless/hooks/useStreetViewCorridor.ts +1 -1
  521. package/src/headless/hooks/useStudioDispatch.ts +2 -3
  522. package/src/headless/hooks/useWaypointRow.ts +2 -0
  523. package/src/headless/providers/mountayaStudio.tsx +3 -2
  524. package/src/headless/providers/studio.tsx +5 -4
  525. package/src/headless/providers/studioStrings.tsx +1 -1
  526. package/src/host/components/MountayaStudioHost.tsx +2 -2
  527. package/src/host/hooks/useStudioToolBus.ts +1 -1
  528. package/src/host/hooks/useStudioToolContext.ts +1 -1
  529. package/src/index.ts +13 -52
  530. package/src/itinerary/components/ItineraryForm.tsx +1 -1
  531. package/src/itinerary/components/ItineraryHeaderIdentity.tsx +1 -1
  532. package/src/itinerary/components/PlaceMark.tsx +1 -1
  533. package/src/itinerary/components/SegmentGroupModal.tsx +1 -0
  534. package/src/itinerary/components/StudioItineraryProfile.tsx +5 -5
  535. package/src/itinerary/components/WaypointDetailsView.tsx +2 -2
  536. package/src/itinerary/components/WaypointMarkers.tsx +2 -2
  537. package/src/itinerary/components/WaypointPreviewCard.tsx +1 -1
  538. package/src/itinerary/components/WaypointSwitcher.tsx +1 -1
  539. package/src/itinerary/hooks/useItineraryPace.ts +1 -0
  540. package/src/itinerary/hooks/useProfileVisibility.ts +1 -1
  541. package/src/itinerary/providers/ItineraryViewProvider.tsx +1 -1
  542. package/src/itinerary/rules/amenityGlyphs.ts +1 -1
  543. package/src/lists/components/WaypointList.tsx +2 -1
  544. package/src/map/components/ContextMenuPopup.tsx +6 -6
  545. package/src/map/components/MapAnchoredPopup.tsx +2 -1
  546. package/src/map/hooks/useStudioConstraints.ts +1 -1
  547. package/src/map/hooks/useStudioEditEngine.ts +2 -1
  548. package/src/map/hooks/useStudioEnrichment.ts +1 -1
  549. package/src/map/hooks/useStudioItinerarySelection.ts +1 -1
  550. package/src/map/hooks/useStudioMapBindings.ts +2 -2
  551. package/src/map/hooks/useStudioMapSync.ts +2 -2
  552. package/src/map/hooks/useStudioOverlay.ts +1 -1
  553. package/src/map/hooks/useStudioPeerDrafts.ts +1 -1
  554. package/src/map/hooks/useStudioPoiLayers.ts +1 -1
  555. package/src/map/hooks/useStudioSuggestionPicking.ts +1 -1
  556. package/src/map/hooks/useStudioTimestamp.ts +1 -1
  557. package/src/map/hooks/useStudioUrlState.ts +1 -1
  558. package/src/map/hooks/useStudioWaypointEditing.ts +1 -1
  559. package/src/map/hooks/useStudioZoneEditing.ts +1 -1
  560. package/src/map/hooks/useStudioZoneSelection.ts +1 -1
  561. package/src/map/hooks/useTileLayers.ts +1 -1
  562. package/src/map/rules/poiGlyphs.ts +1 -1
  563. package/src/panels/components/StudioLayersPanel.tsx +1 -1
  564. package/src/primitives/components/ActivityIcon.tsx +1 -1
  565. package/src/primitives/components/DateTimePickerField.tsx +11 -2
  566. package/src/rows/components/WaypointRow.tsx +1 -0
  567. package/src/rows/components/WaypointRowLayout.tsx +1 -0
  568. package/src/rules/menuActions.ts +1 -1
  569. package/src/rules/studioConfig.ts +1 -1
  570. package/src/search/components/SearchTab.tsx +2 -2
  571. package/src/share/components/ShareSheet.tsx +1 -1
  572. package/src/studio/components/MountayaStudio.tsx +4 -4
  573. package/src/studio/components/MountayaStudioViewer.tsx +2 -2
  574. package/src/studio/hooks/useViewerActivation.ts +2 -2
  575. package/src/studio/hooks/useViewerMapBindings.ts +1 -1
  576. package/src/styles.css +6 -5
  577. package/src/testing/mountayaClient.tsx +1 -1
  578. package/src/video/components/PreviewSurface.tsx +2 -2
  579. package/src/video/components/VideoExportWizard.tsx +6 -8
  580. package/src/video/hooks/useVideoPreviewSeed.ts +2 -2
  581. package/src/zone/components/ZoneForm.tsx +1 -1
  582. package/dist/AgentMarkdown-RNLATZYN.cjs +0 -213
  583. package/dist/AgentMarkdown-RNLATZYN.cjs.map +0 -1
  584. package/dist/AgentMarkdown-TMN6E2XC.js +0 -206
  585. package/dist/AgentMarkdown-TMN6E2XC.js.map +0 -1
  586. package/dist/ContextMenuPopup-EOYN42YZ.js +0 -468
  587. package/dist/ContextMenuPopup-EOYN42YZ.js.map +0 -1
  588. package/dist/ContextMenuPopup-VQLAYYYZ.cjs +0 -470
  589. package/dist/ContextMenuPopup-VQLAYYYZ.cjs.map +0 -1
  590. package/dist/CopilotPanel-CCLEYZUN.js +0 -29
  591. package/dist/CopilotPanel-CCLEYZUN.js.map +0 -1
  592. package/dist/CopilotPanel-LYPMTDKX.cjs +0 -38
  593. package/dist/CopilotPanel-LYPMTDKX.cjs.map +0 -1
  594. package/dist/DateTimePickerField-FZRKJ2SU.js +0 -53
  595. package/dist/DateTimePickerField-FZRKJ2SU.js.map +0 -1
  596. package/dist/DateTimePickerField-NB456C6F.cjs +0 -55
  597. package/dist/DateTimePickerField-NB456C6F.cjs.map +0 -1
  598. package/dist/DirectionsModal-4Y346QFU.cjs +0 -291
  599. package/dist/DirectionsModal-4Y346QFU.cjs.map +0 -1
  600. package/dist/DirectionsModal-DRPO2654.js +0 -289
  601. package/dist/DirectionsModal-DRPO2654.js.map +0 -1
  602. package/dist/DuplicateItineraryModal-2QGWI7E7.js +0 -321
  603. package/dist/DuplicateItineraryModal-2QGWI7E7.js.map +0 -1
  604. package/dist/DuplicateItineraryModal-WFGMU6JL.cjs +0 -323
  605. package/dist/DuplicateItineraryModal-WFGMU6JL.cjs.map +0 -1
  606. package/dist/EditCollectionModal-4QYP53SX.js +0 -90
  607. package/dist/EditCollectionModal-4QYP53SX.js.map +0 -1
  608. package/dist/EditCollectionModal-T2TMAO53.cjs +0 -92
  609. package/dist/EditCollectionModal-T2TMAO53.cjs.map +0 -1
  610. package/dist/EmbedSnippetCode-NMFCQ7TF.cjs +0 -62
  611. package/dist/EmbedSnippetCode-NMFCQ7TF.cjs.map +0 -1
  612. package/dist/EmbedSnippetCode-TGBSWDMD.js +0 -60
  613. package/dist/EmbedSnippetCode-TGBSWDMD.js.map +0 -1
  614. package/dist/EmbedTablePreview-3RRHM63Q.js +0 -72
  615. package/dist/EmbedTablePreview-3RRHM63Q.js.map +0 -1
  616. package/dist/EmbedTablePreview-Z3W62MRV.cjs +0 -74
  617. package/dist/EmbedTablePreview-Z3W62MRV.cjs.map +0 -1
  618. package/dist/ExportModal-5NUZZPXN.cjs +0 -267
  619. package/dist/ExportModal-5NUZZPXN.cjs.map +0 -1
  620. package/dist/ExportModal-H7OYP6CK.js +0 -265
  621. package/dist/ExportModal-H7OYP6CK.js.map +0 -1
  622. package/dist/FileDropzone-GKPMAZF5.cjs +0 -41
  623. package/dist/FileDropzone-GKPMAZF5.cjs.map +0 -1
  624. package/dist/FileDropzone-GRXY4FXR.js +0 -39
  625. package/dist/FileDropzone-GRXY4FXR.js.map +0 -1
  626. package/dist/LocationPermissionModal-AFHI5J4S.cjs +0 -92
  627. package/dist/LocationPermissionModal-AFHI5J4S.cjs.map +0 -1
  628. package/dist/LocationPermissionModal-MURJ5DDB.js +0 -90
  629. package/dist/LocationPermissionModal-MURJ5DDB.js.map +0 -1
  630. package/dist/ManageCollectionsModal-E3IUHUTO.cjs +0 -402
  631. package/dist/ManageCollectionsModal-E3IUHUTO.cjs.map +0 -1
  632. package/dist/ManageCollectionsModal-FIHSZXSR.js +0 -400
  633. package/dist/ManageCollectionsModal-FIHSZXSR.js.map +0 -1
  634. package/dist/NewCollectionModal-7TBWVA3G.js +0 -75
  635. package/dist/NewCollectionModal-7TBWVA3G.js.map +0 -1
  636. package/dist/NewCollectionModal-QFQYCKCG.cjs +0 -77
  637. package/dist/NewCollectionModal-QFQYCKCG.cjs.map +0 -1
  638. package/dist/RoadAccessModal-DNUJV5PC.js +0 -57
  639. package/dist/RoadAccessModal-DNUJV5PC.js.map +0 -1
  640. package/dist/RoadAccessModal-WLLL2ASZ.cjs +0 -59
  641. package/dist/RoadAccessModal-WLLL2ASZ.cjs.map +0 -1
  642. package/dist/SegmentColorPicker-7Y4JEPFC.cjs +0 -81
  643. package/dist/SegmentColorPicker-7Y4JEPFC.cjs.map +0 -1
  644. package/dist/SegmentColorPicker-UNLPITUA.js +0 -79
  645. package/dist/SegmentColorPicker-UNLPITUA.js.map +0 -1
  646. package/dist/SegmentGroupModal-F54FZUR2.cjs +0 -32
  647. package/dist/SegmentGroupModal-F54FZUR2.cjs.map +0 -1
  648. package/dist/SegmentGroupModal-KBU7OPNJ.js +0 -23
  649. package/dist/SegmentGroupModal-KBU7OPNJ.js.map +0 -1
  650. package/dist/ShareCollectionModal-TWYE6JJ4.cjs +0 -82
  651. package/dist/ShareCollectionModal-TWYE6JJ4.cjs.map +0 -1
  652. package/dist/ShareCollectionModal-VXSRHX4S.js +0 -80
  653. package/dist/ShareCollectionModal-VXSRHX4S.js.map +0 -1
  654. package/dist/ShareModal-HLYNE7OL.js +0 -115
  655. package/dist/ShareModal-HLYNE7OL.js.map +0 -1
  656. package/dist/ShareModal-WISND27S.cjs +0 -117
  657. package/dist/ShareModal-WISND27S.cjs.map +0 -1
  658. package/dist/VideoExportWizard-BSDWA3B5.js +0 -44
  659. package/dist/VideoExportWizard-BSDWA3B5.js.map +0 -1
  660. package/dist/VideoExportWizard-UOHR4MNS.cjs +0 -53
  661. package/dist/VideoExportWizard-UOHR4MNS.cjs.map +0 -1
  662. package/dist/WaypointDetailsModal-LK5LBK6S.js +0 -270
  663. package/dist/WaypointDetailsModal-LK5LBK6S.js.map +0 -1
  664. package/dist/WaypointDetailsModal-MEMOLLUY.cjs +0 -272
  665. package/dist/WaypointDetailsModal-MEMOLLUY.cjs.map +0 -1
  666. package/dist/WaypointWorkbench-DCCLBURG.cjs +0 -1204
  667. package/dist/WaypointWorkbench-DCCLBURG.cjs.map +0 -1
  668. package/dist/WaypointWorkbench-NRCLGU23.js +0 -1202
  669. package/dist/WaypointWorkbench-NRCLGU23.js.map +0 -1
  670. package/dist/chunk-22BNE3YV.js +0 -13
  671. package/dist/chunk-22BNE3YV.js.map +0 -1
  672. package/dist/chunk-24RNBTO2.cjs +0 -154
  673. package/dist/chunk-24RNBTO2.cjs.map +0 -1
  674. package/dist/chunk-2DDL2LIJ.cjs +0 -65
  675. package/dist/chunk-2DDL2LIJ.cjs.map +0 -1
  676. package/dist/chunk-2GAMKPS2.cjs +0 -16
  677. package/dist/chunk-2GAMKPS2.cjs.map +0 -1
  678. package/dist/chunk-2K4HCCZJ.cjs +0 -51
  679. package/dist/chunk-2K4HCCZJ.cjs.map +0 -1
  680. package/dist/chunk-2MHWH3TS.cjs +0 -119
  681. package/dist/chunk-2MHWH3TS.cjs.map +0 -1
  682. package/dist/chunk-2MQBPZNR.cjs +0 -12
  683. package/dist/chunk-2MQBPZNR.cjs.map +0 -1
  684. package/dist/chunk-2QSPCXLM.js +0 -84
  685. package/dist/chunk-2QSPCXLM.js.map +0 -1
  686. package/dist/chunk-32WRG44G.js +0 -66
  687. package/dist/chunk-32WRG44G.js.map +0 -1
  688. package/dist/chunk-32XMYLEB.js +0 -9
  689. package/dist/chunk-32XMYLEB.js.map +0 -1
  690. package/dist/chunk-3BEHHSVE.cjs +0 -790
  691. package/dist/chunk-3BEHHSVE.cjs.map +0 -1
  692. package/dist/chunk-3HF2XZKQ.js +0 -8
  693. package/dist/chunk-3HF2XZKQ.js.map +0 -1
  694. package/dist/chunk-3K2NX5FH.js +0 -51
  695. package/dist/chunk-3K2NX5FH.js.map +0 -1
  696. package/dist/chunk-3Q23QKNI.cjs +0 -26
  697. package/dist/chunk-3Q23QKNI.cjs.map +0 -1
  698. package/dist/chunk-3TQV2M4C.cjs +0 -16
  699. package/dist/chunk-3TQV2M4C.cjs.map +0 -1
  700. package/dist/chunk-3XDKDTE6.js +0 -16
  701. package/dist/chunk-3XDKDTE6.js.map +0 -1
  702. package/dist/chunk-46EARJWC.js +0 -288
  703. package/dist/chunk-46EARJWC.js.map +0 -1
  704. package/dist/chunk-4DQOJIUV.js +0 -96
  705. package/dist/chunk-4DQOJIUV.js.map +0 -1
  706. package/dist/chunk-4T52NAVT.js +0 -10
  707. package/dist/chunk-4T52NAVT.js.map +0 -1
  708. package/dist/chunk-4TPRVQGY.js +0 -12
  709. package/dist/chunk-4TPRVQGY.js.map +0 -1
  710. package/dist/chunk-4TX5E63A.cjs +0 -12
  711. package/dist/chunk-4TX5E63A.cjs.map +0 -1
  712. package/dist/chunk-4VKJF24B.js +0 -22
  713. package/dist/chunk-4VKJF24B.js.map +0 -1
  714. package/dist/chunk-4Z734K3L.js +0 -15
  715. package/dist/chunk-4Z734K3L.js.map +0 -1
  716. package/dist/chunk-4ZRSEOZM.js +0 -629
  717. package/dist/chunk-4ZRSEOZM.js.map +0 -1
  718. package/dist/chunk-52T3VZR5.js +0 -55
  719. package/dist/chunk-52T3VZR5.js.map +0 -1
  720. package/dist/chunk-56DP2X7U.js +0 -15
  721. package/dist/chunk-56DP2X7U.js.map +0 -1
  722. package/dist/chunk-5AHT62LO.js +0 -24
  723. package/dist/chunk-5AHT62LO.js.map +0 -1
  724. package/dist/chunk-5BR4CTVV.cjs +0 -17
  725. package/dist/chunk-5BR4CTVV.cjs.map +0 -1
  726. package/dist/chunk-5CTZOFDV.cjs +0 -17
  727. package/dist/chunk-5CTZOFDV.cjs.map +0 -1
  728. package/dist/chunk-5F55MFIX.cjs +0 -45
  729. package/dist/chunk-5F55MFIX.cjs.map +0 -1
  730. package/dist/chunk-5FMQJ4A4.cjs +0 -362
  731. package/dist/chunk-5FMQJ4A4.cjs.map +0 -1
  732. package/dist/chunk-5PMEAMHS.js +0 -82
  733. package/dist/chunk-5PMEAMHS.js.map +0 -1
  734. package/dist/chunk-676DNRSN.js +0 -85
  735. package/dist/chunk-676DNRSN.js.map +0 -1
  736. package/dist/chunk-6H2F7JKL.js +0 -179
  737. package/dist/chunk-6H2F7JKL.js.map +0 -1
  738. package/dist/chunk-6HMRMON7.js +0 -10
  739. package/dist/chunk-6HMRMON7.js.map +0 -1
  740. package/dist/chunk-6NKPZ3LT.cjs +0 -14
  741. package/dist/chunk-6NKPZ3LT.cjs.map +0 -1
  742. package/dist/chunk-6TG2HZDG.js +0 -75
  743. package/dist/chunk-6TG2HZDG.js.map +0 -1
  744. package/dist/chunk-6WU7XEQA.cjs +0 -103
  745. package/dist/chunk-6WU7XEQA.cjs.map +0 -1
  746. package/dist/chunk-6YD325QI.cjs +0 -90
  747. package/dist/chunk-6YD325QI.cjs.map +0 -1
  748. package/dist/chunk-7B6TUEL5.js +0 -20
  749. package/dist/chunk-7B6TUEL5.js.map +0 -1
  750. package/dist/chunk-7KS5F27H.js +0 -33
  751. package/dist/chunk-7KS5F27H.js.map +0 -1
  752. package/dist/chunk-A2N6553V.cjs +0 -295
  753. package/dist/chunk-A2N6553V.cjs.map +0 -1
  754. package/dist/chunk-A66FJAVG.js +0 -44
  755. package/dist/chunk-A66FJAVG.js.map +0 -1
  756. package/dist/chunk-AF43JU4W.js +0 -27
  757. package/dist/chunk-AF43JU4W.js.map +0 -1
  758. package/dist/chunk-AHGHAWYR.js +0 -99
  759. package/dist/chunk-AHGHAWYR.js.map +0 -1
  760. package/dist/chunk-AKN5KIZT.js +0 -1969
  761. package/dist/chunk-AKN5KIZT.js.map +0 -1
  762. package/dist/chunk-ANTDR5MJ.cjs +0 -12
  763. package/dist/chunk-ANTDR5MJ.cjs.map +0 -1
  764. package/dist/chunk-AQ5JIIAE.js +0 -26
  765. package/dist/chunk-AQ5JIIAE.js.map +0 -1
  766. package/dist/chunk-ARHO5MLJ.js +0 -10
  767. package/dist/chunk-ARHO5MLJ.js.map +0 -1
  768. package/dist/chunk-BAYGKSWY.cjs +0 -26
  769. package/dist/chunk-BAYGKSWY.cjs.map +0 -1
  770. package/dist/chunk-BEJ5I724.js +0 -8
  771. package/dist/chunk-BEJ5I724.js.map +0 -1
  772. package/dist/chunk-BFNXXLVV.cjs +0 -34
  773. package/dist/chunk-BFNXXLVV.cjs.map +0 -1
  774. package/dist/chunk-BFQJDFGB.js +0 -57
  775. package/dist/chunk-BFQJDFGB.js.map +0 -1
  776. package/dist/chunk-CHEQJ6N7.cjs +0 -2214
  777. package/dist/chunk-CHEQJ6N7.cjs.map +0 -1
  778. package/dist/chunk-CJOJWZM7.js +0 -92
  779. package/dist/chunk-CJOJWZM7.js.map +0 -1
  780. package/dist/chunk-CJRSFC45.cjs +0 -578
  781. package/dist/chunk-CJRSFC45.cjs.map +0 -1
  782. package/dist/chunk-CWQ4WHPI.cjs +0 -46
  783. package/dist/chunk-CWQ4WHPI.cjs.map +0 -1
  784. package/dist/chunk-D3INXUFT.js +0 -360
  785. package/dist/chunk-D3INXUFT.js.map +0 -1
  786. package/dist/chunk-D6CDAYZ6.cjs +0 -18
  787. package/dist/chunk-D6CDAYZ6.cjs.map +0 -1
  788. package/dist/chunk-DDPXRXRD.cjs +0 -23
  789. package/dist/chunk-DDPXRXRD.cjs.map +0 -1
  790. package/dist/chunk-DUUPWSOZ.cjs +0 -14
  791. package/dist/chunk-DUUPWSOZ.cjs.map +0 -1
  792. package/dist/chunk-DVWYOHOB.cjs +0 -43
  793. package/dist/chunk-DVWYOHOB.cjs.map +0 -1
  794. package/dist/chunk-DZPHWBMC.cjs +0 -11
  795. package/dist/chunk-DZPHWBMC.cjs.map +0 -1
  796. package/dist/chunk-E26FROI3.js +0 -68
  797. package/dist/chunk-E26FROI3.js.map +0 -1
  798. package/dist/chunk-E7ZTDAQW.cjs +0 -37
  799. package/dist/chunk-E7ZTDAQW.cjs.map +0 -1
  800. package/dist/chunk-ECI4EKIV.cjs +0 -94
  801. package/dist/chunk-ECI4EKIV.cjs.map +0 -1
  802. package/dist/chunk-EN5RWYHP.cjs +0 -28
  803. package/dist/chunk-EN5RWYHP.cjs.map +0 -1
  804. package/dist/chunk-ET3UASEF.cjs +0 -91
  805. package/dist/chunk-ET3UASEF.cjs.map +0 -1
  806. package/dist/chunk-EW5SY246.cjs +0 -97
  807. package/dist/chunk-EW5SY246.cjs.map +0 -1
  808. package/dist/chunk-EWWHVV7R.cjs +0 -18
  809. package/dist/chunk-EWWHVV7R.cjs.map +0 -1
  810. package/dist/chunk-F2LZZC6X.js +0 -90
  811. package/dist/chunk-F2LZZC6X.js.map +0 -1
  812. package/dist/chunk-F6VFOI4U.cjs +0 -12
  813. package/dist/chunk-F6VFOI4U.cjs.map +0 -1
  814. package/dist/chunk-FGX3TEU4.cjs +0 -12
  815. package/dist/chunk-FGX3TEU4.cjs.map +0 -1
  816. package/dist/chunk-FK4F24KE.js +0 -10
  817. package/dist/chunk-FK4F24KE.js.map +0 -1
  818. package/dist/chunk-FLIGKB6K.js +0 -313
  819. package/dist/chunk-FLIGKB6K.js.map +0 -1
  820. package/dist/chunk-G2NDWNFB.cjs +0 -185
  821. package/dist/chunk-G2NDWNFB.cjs.map +0 -1
  822. package/dist/chunk-G2XORRLH.js +0 -15
  823. package/dist/chunk-G2XORRLH.js.map +0 -1
  824. package/dist/chunk-GIZN7NX5.cjs +0 -25
  825. package/dist/chunk-GIZN7NX5.cjs.map +0 -1
  826. package/dist/chunk-GM2BQ24D.js +0 -47
  827. package/dist/chunk-GM2BQ24D.js.map +0 -1
  828. package/dist/chunk-GMQJZ5N7.cjs +0 -50
  829. package/dist/chunk-GMQJZ5N7.cjs.map +0 -1
  830. package/dist/chunk-GT7RJOAA.cjs +0 -315
  831. package/dist/chunk-GT7RJOAA.cjs.map +0 -1
  832. package/dist/chunk-GWGUMPOL.js +0 -9
  833. package/dist/chunk-GWGUMPOL.js.map +0 -1
  834. package/dist/chunk-GWVKSSE3.cjs +0 -154
  835. package/dist/chunk-GWVKSSE3.cjs.map +0 -1
  836. package/dist/chunk-GY7UMPHT.cjs +0 -99
  837. package/dist/chunk-GY7UMPHT.cjs.map +0 -1
  838. package/dist/chunk-HMVBS5DU.js +0 -150
  839. package/dist/chunk-HMVBS5DU.js.map +0 -1
  840. package/dist/chunk-HXHA2C7C.js +0 -169
  841. package/dist/chunk-HXHA2C7C.js.map +0 -1
  842. package/dist/chunk-IHMOFX2A.js +0 -208
  843. package/dist/chunk-IHMOFX2A.js.map +0 -1
  844. package/dist/chunk-II6C3LU2.cjs +0 -49
  845. package/dist/chunk-II6C3LU2.cjs.map +0 -1
  846. package/dist/chunk-IOOAFCSR.cjs +0 -58
  847. package/dist/chunk-IOOAFCSR.cjs.map +0 -1
  848. package/dist/chunk-IQZSIOMM.js +0 -10
  849. package/dist/chunk-IQZSIOMM.js.map +0 -1
  850. package/dist/chunk-J2H3WIUM.cjs +0 -12
  851. package/dist/chunk-J2H3WIUM.cjs.map +0 -1
  852. package/dist/chunk-J62OBSUE.cjs +0 -54
  853. package/dist/chunk-J62OBSUE.cjs.map +0 -1
  854. package/dist/chunk-JFJVSJUX.cjs +0 -16
  855. package/dist/chunk-JFJVSJUX.cjs.map +0 -1
  856. package/dist/chunk-JI2M77Y7.cjs +0 -68
  857. package/dist/chunk-JI2M77Y7.cjs.map +0 -1
  858. package/dist/chunk-JLSOLL3C.js +0 -31
  859. package/dist/chunk-JLSOLL3C.js.map +0 -1
  860. package/dist/chunk-JRME3LCP.cjs +0 -41
  861. package/dist/chunk-JRME3LCP.cjs.map +0 -1
  862. package/dist/chunk-JUD3CWTI.cjs +0 -2005
  863. package/dist/chunk-JUD3CWTI.cjs.map +0 -1
  864. package/dist/chunk-JVFHF3LE.cjs +0 -11
  865. package/dist/chunk-JVFHF3LE.cjs.map +0 -1
  866. package/dist/chunk-JVS2WNKQ.js +0 -26
  867. package/dist/chunk-JVS2WNKQ.js.map +0 -1
  868. package/dist/chunk-JXAFIYLV.js +0 -94
  869. package/dist/chunk-JXAFIYLV.js.map +0 -1
  870. package/dist/chunk-K2E744ST.cjs +0 -18
  871. package/dist/chunk-K2E744ST.cjs.map +0 -1
  872. package/dist/chunk-K2ZEMBJ7.js +0 -56
  873. package/dist/chunk-K2ZEMBJ7.js.map +0 -1
  874. package/dist/chunk-KCXNMLKB.js +0 -22
  875. package/dist/chunk-KCXNMLKB.js.map +0 -1
  876. package/dist/chunk-KMMDPXY4.js +0 -35
  877. package/dist/chunk-KMMDPXY4.js.map +0 -1
  878. package/dist/chunk-KMSGFBAJ.cjs +0 -78
  879. package/dist/chunk-KMSGFBAJ.cjs.map +0 -1
  880. package/dist/chunk-KPD7K4XQ.cjs +0 -11
  881. package/dist/chunk-KPD7K4XQ.cjs.map +0 -1
  882. package/dist/chunk-KUD3B3BA.js +0 -12
  883. package/dist/chunk-KUD3B3BA.js.map +0 -1
  884. package/dist/chunk-L62LSMJ5.js +0 -9
  885. package/dist/chunk-L62LSMJ5.js.map +0 -1
  886. package/dist/chunk-LB57H6LF.cjs +0 -261
  887. package/dist/chunk-LB57H6LF.cjs.map +0 -1
  888. package/dist/chunk-LCPKNSC4.cjs +0 -48
  889. package/dist/chunk-LCPKNSC4.cjs.map +0 -1
  890. package/dist/chunk-LE3W2CSF.cjs +0 -84
  891. package/dist/chunk-LE3W2CSF.cjs.map +0 -1
  892. package/dist/chunk-LG736CNC.js +0 -13
  893. package/dist/chunk-LG736CNC.js.map +0 -1
  894. package/dist/chunk-LGNTAZ3L.cjs +0 -33
  895. package/dist/chunk-LGNTAZ3L.cjs.map +0 -1
  896. package/dist/chunk-LHXINV6N.cjs +0 -47
  897. package/dist/chunk-LHXINV6N.cjs.map +0 -1
  898. package/dist/chunk-LLZUTIQB.cjs +0 -24
  899. package/dist/chunk-LLZUTIQB.cjs.map +0 -1
  900. package/dist/chunk-LPGXRU7R.cjs +0 -12
  901. package/dist/chunk-LPGXRU7R.cjs.map +0 -1
  902. package/dist/chunk-MA2BBWF5.cjs +0 -96
  903. package/dist/chunk-MA2BBWF5.cjs.map +0 -1
  904. package/dist/chunk-MLGORMWF.js +0 -23
  905. package/dist/chunk-MLGORMWF.js.map +0 -1
  906. package/dist/chunk-MO7XCKLA.js +0 -62
  907. package/dist/chunk-MO7XCKLA.js.map +0 -1
  908. package/dist/chunk-N37UE6RQ.cjs +0 -1797
  909. package/dist/chunk-N37UE6RQ.cjs.map +0 -1
  910. package/dist/chunk-N6NWKUOR.cjs +0 -60
  911. package/dist/chunk-N6NWKUOR.cjs.map +0 -1
  912. package/dist/chunk-NI5CAMFC.js +0 -568
  913. package/dist/chunk-NI5CAMFC.js.map +0 -1
  914. package/dist/chunk-NNLCZGZK.js +0 -21
  915. package/dist/chunk-NNLCZGZK.js.map +0 -1
  916. package/dist/chunk-NWHFUVYX.js +0 -97
  917. package/dist/chunk-NWHFUVYX.js.map +0 -1
  918. package/dist/chunk-OMDB6ZB2.cjs +0 -176
  919. package/dist/chunk-OMDB6ZB2.cjs.map +0 -1
  920. package/dist/chunk-P5W4TRJO.cjs +0 -33
  921. package/dist/chunk-P5W4TRJO.cjs.map +0 -1
  922. package/dist/chunk-PADS6TDO.js +0 -89
  923. package/dist/chunk-PADS6TDO.js.map +0 -1
  924. package/dist/chunk-PFLNOHBT.js +0 -92
  925. package/dist/chunk-PFLNOHBT.js.map +0 -1
  926. package/dist/chunk-PTLYNDZS.cjs +0 -13
  927. package/dist/chunk-PTLYNDZS.cjs.map +0 -1
  928. package/dist/chunk-QC3X4DAW.cjs +0 -71
  929. package/dist/chunk-QC3X4DAW.cjs.map +0 -1
  930. package/dist/chunk-QPTICYGD.cjs +0 -272
  931. package/dist/chunk-QPTICYGD.cjs.map +0 -1
  932. package/dist/chunk-QZ7W2E4U.cjs +0 -319
  933. package/dist/chunk-QZ7W2E4U.cjs.map +0 -1
  934. package/dist/chunk-RJJPUPOY.cjs +0 -97
  935. package/dist/chunk-RJJPUPOY.cjs.map +0 -1
  936. package/dist/chunk-RRSMCCFS.js +0 -43
  937. package/dist/chunk-RRSMCCFS.js.map +0 -1
  938. package/dist/chunk-S6VCR6F5.js +0 -91
  939. package/dist/chunk-S6VCR6F5.js.map +0 -1
  940. package/dist/chunk-S7Y2GMYJ.cjs +0 -89
  941. package/dist/chunk-S7Y2GMYJ.cjs.map +0 -1
  942. package/dist/chunk-SIMEDLX3.cjs +0 -645
  943. package/dist/chunk-SIMEDLX3.cjs.map +0 -1
  944. package/dist/chunk-SQYF7HKF.cjs +0 -59
  945. package/dist/chunk-SQYF7HKF.cjs.map +0 -1
  946. package/dist/chunk-ST7BNVC2.cjs +0 -13
  947. package/dist/chunk-ST7BNVC2.cjs.map +0 -1
  948. package/dist/chunk-SZVRMMLS.js +0 -16
  949. package/dist/chunk-SZVRMMLS.js.map +0 -1
  950. package/dist/chunk-T27LICRD.js +0 -2212
  951. package/dist/chunk-T27LICRD.js.map +0 -1
  952. package/dist/chunk-TAU5HGJ3.cjs +0 -11
  953. package/dist/chunk-TAU5HGJ3.cjs.map +0 -1
  954. package/dist/chunk-TOM7TV5E.js +0 -25
  955. package/dist/chunk-TOM7TV5E.js.map +0 -1
  956. package/dist/chunk-TSRUDRT3.js +0 -59
  957. package/dist/chunk-TSRUDRT3.js.map +0 -1
  958. package/dist/chunk-U4FX33MW.js +0 -257
  959. package/dist/chunk-U4FX33MW.js.map +0 -1
  960. package/dist/chunk-UBOPWQWC.cjs +0 -28
  961. package/dist/chunk-UBOPWQWC.cjs.map +0 -1
  962. package/dist/chunk-UFE26GNF.js +0 -42
  963. package/dist/chunk-UFE26GNF.js.map +0 -1
  964. package/dist/chunk-UMQQVTEO.js +0 -257
  965. package/dist/chunk-UMQQVTEO.js.map +0 -1
  966. package/dist/chunk-UWY3SFAS.js +0 -10
  967. package/dist/chunk-UWY3SFAS.js.map +0 -1
  968. package/dist/chunk-V6EIIZPJ.js +0 -57
  969. package/dist/chunk-V6EIIZPJ.js.map +0 -1
  970. package/dist/chunk-V6G6W5CF.cjs +0 -61
  971. package/dist/chunk-V6G6W5CF.cjs.map +0 -1
  972. package/dist/chunk-VC4ZBWOK.js +0 -152
  973. package/dist/chunk-VC4ZBWOK.js.map +0 -1
  974. package/dist/chunk-VJRF6ILX.js +0 -35
  975. package/dist/chunk-VJRF6ILX.js.map +0 -1
  976. package/dist/chunk-VNSLCFO4.js +0 -787
  977. package/dist/chunk-VNSLCFO4.js.map +0 -1
  978. package/dist/chunk-W7GAP7ST.js +0 -21
  979. package/dist/chunk-W7GAP7ST.js.map +0 -1
  980. package/dist/chunk-WFUASJHS.js +0 -64
  981. package/dist/chunk-WFUASJHS.js.map +0 -1
  982. package/dist/chunk-WIKSIT3M.js +0 -46
  983. package/dist/chunk-WIKSIT3M.js.map +0 -1
  984. package/dist/chunk-WKLZLFLY.cjs +0 -32
  985. package/dist/chunk-WKLZLFLY.cjs.map +0 -1
  986. package/dist/chunk-WNB5HYON.cjs +0 -10
  987. package/dist/chunk-WNB5HYON.cjs.map +0 -1
  988. package/dist/chunk-WO5P2XBP.js +0 -86
  989. package/dist/chunk-WO5P2XBP.js.map +0 -1
  990. package/dist/chunk-WPYC4NGZ.cjs +0 -46
  991. package/dist/chunk-WPYC4NGZ.cjs.map +0 -1
  992. package/dist/chunk-WQRYZY67.cjs +0 -89
  993. package/dist/chunk-WQRYZY67.cjs.map +0 -1
  994. package/dist/chunk-WVCYVMJU.js +0 -11
  995. package/dist/chunk-WVCYVMJU.js.map +0 -1
  996. package/dist/chunk-WX25G2S3.js +0 -116
  997. package/dist/chunk-WX25G2S3.js.map +0 -1
  998. package/dist/chunk-X4FE7RRQ.js +0 -23
  999. package/dist/chunk-X4FE7RRQ.js.map +0 -1
  1000. package/dist/chunk-X6EIJNOQ.cjs +0 -67
  1001. package/dist/chunk-X6EIJNOQ.cjs.map +0 -1
  1002. package/dist/chunk-XUBATJH6.js +0 -1769
  1003. package/dist/chunk-XUBATJH6.js.map +0 -1
  1004. package/dist/chunk-XUMREYMG.js +0 -293
  1005. package/dist/chunk-XUMREYMG.js.map +0 -1
  1006. package/dist/chunk-XYAJ2FS2.js +0 -31
  1007. package/dist/chunk-XYAJ2FS2.js.map +0 -1
  1008. package/dist/chunk-YKES5P4H.cjs +0 -58
  1009. package/dist/chunk-YKES5P4H.cjs.map +0 -1
  1010. package/dist/chunk-YYAQ75AV.cjs +0 -216
  1011. package/dist/chunk-YYAQ75AV.cjs.map +0 -1
  1012. package/dist/chunk-YZ3NJKVV.js +0 -42
  1013. package/dist/chunk-YZ3NJKVV.js.map +0 -1
  1014. package/dist/chunk-Z5ECTUMN.cjs +0 -104
  1015. package/dist/chunk-Z5ECTUMN.cjs.map +0 -1
  1016. package/dist/chunk-ZAKVHYDL.cjs +0 -28
  1017. package/dist/chunk-ZAKVHYDL.cjs.map +0 -1
  1018. package/dist/chunk-ZF34JXGU.js +0 -39
  1019. package/dist/chunk-ZF34JXGU.js.map +0 -1
  1020. package/dist/chunk-ZHGWDP2M.cjs +0 -101
  1021. package/dist/chunk-ZHGWDP2M.cjs.map +0 -1
  1022. package/dist/chunk-ZLHTQQLT.js +0 -13
  1023. package/dist/chunk-ZLHTQQLT.js.map +0 -1
  1024. package/dist/chunk-ZPAMY3IZ.cjs +0 -25
  1025. package/dist/chunk-ZPAMY3IZ.cjs.map +0 -1
  1026. package/dist/chunk-ZR63UB4V.js +0 -42
  1027. package/dist/chunk-ZR63UB4V.js.map +0 -1
  1028. package/dist/chunk-ZRCEB3KL.js +0 -11
  1029. package/dist/chunk-ZRCEB3KL.js.map +0 -1
  1030. package/dist/chunk-ZRGQNRQI.cjs +0 -36
  1031. package/dist/chunk-ZRGQNRQI.cjs.map +0 -1
  1032. package/dist/chunk-ZVY4IL7O.cjs +0 -22
  1033. package/dist/chunk-ZVY4IL7O.cjs.map +0 -1
  1034. package/dist/chunk-ZWIVKODQ.js +0 -49
  1035. package/dist/chunk-ZWIVKODQ.js.map +0 -1
  1036. package/dist/chunk-ZYF2HNMZ.js +0 -10
  1037. package/dist/chunk-ZYF2HNMZ.js.map +0 -1
  1038. package/dist/copilot/index.cjs.map +0 -1
  1039. package/dist/copilot/index.js.map +0 -1
  1040. package/dist/directionsPdf-GITP3SCP.cjs +0 -274
  1041. package/dist/directionsPdf-GITP3SCP.cjs.map +0 -1
  1042. package/dist/directionsPdf-TDKVUBCU.js +0 -272
  1043. package/dist/directionsPdf-TDKVUBCU.js.map +0 -1
  1044. package/dist/headless/index.cjs.map +0 -1
  1045. package/dist/headless/index.js.map +0 -1
  1046. package/dist/hostRegistry-BTG-KkRY.d.cts +0 -115
  1047. package/dist/hostRegistry-BTG-KkRY.d.ts +0 -115
  1048. package/dist/index-CELBpE13.d.cts +0 -4198
  1049. package/dist/index-nqc3A-ty.d.ts +0 -4198
  1050. package/dist/map/index.cjs.map +0 -1
  1051. package/dist/map/index.js.map +0 -1
  1052. package/dist/routingGuidePictures-CxgXiuNd.d.cts +0 -22
  1053. package/dist/routingGuidePictures-CxgXiuNd.d.ts +0 -22
  1054. package/dist/studioStrings-lNvOeC1g.d.cts +0 -72
  1055. package/dist/studioStrings-lNvOeC1g.d.ts +0 -72
  1056. package/dist/video/index.cjs.map +0 -1
  1057. package/dist/video/index.js.map +0 -1
@@ -0,0 +1,1890 @@
1
+ "use client";
2
+ "use strict";
3
+ const require_studio = require("./chunk-nwutfrnH.cjs");
4
+ const require_useUiStore = require("./chunk-Ce4D2B8W.cjs");
5
+ const require_studioStrings = require("./chunk-Dy59Tdfm.cjs");
6
+ const require_sizing = require("./chunk-CQAuAPOE.cjs");
7
+ const require_DisabledReason = require("./chunk-WPGdcwtf.cjs");
8
+ const require_useUiStoreShallow = require("./chunk-D0VevtWq.cjs");
9
+ const require_useBeginSegmentEdit = require("./chunk-CzGWcm8C.cjs");
10
+ const require_useCollabOrganizationId = require("./chunk-PeexRooj.cjs");
11
+ const require_useAgentDriving = require("./chunk-bvwC3n0z.cjs");
12
+ const require_usePluginSlot = require("./chunk-DeggaLXL.cjs");
13
+ const require_useStudioDispatch = require("./chunk-Vp0uJb7O.cjs");
14
+ const require_useWaypointRow = require("./chunk-OGNas_Mn.cjs");
15
+ const require_PluginSlotItems = require("./chunk-CByZU6Hx.cjs");
16
+ const require_useEscapeKey = require("./chunk--VSQcEs_.cjs");
17
+ const require_useStudioFailureAlert = require("./chunk-BOpIVklq.cjs");
18
+ const require_useStudioUnits = require("./chunk-DPvFDS5n.cjs");
19
+ const require_EditorListSection = require("./chunk-DXMaeZs_.cjs");
20
+ const require_AppModal = require("./chunk-DuD5YqoE.cjs");
21
+ const require_ActivityIcon = require("./chunk-DQbbL87b.cjs");
22
+ const require_SidenavContentHeader = require("./chunk-WUipjqNN.cjs");
23
+ const require_menuActions = require("./chunk-B7D0neNQ.cjs");
24
+ const require_RowMetadata = require("./chunk-BSnrqsA8.cjs");
25
+ const require_StudioSegmentedControl = require("./chunk-BmztanwN.cjs");
26
+ const require_SpeedInput = require("./chunk-GgcOmaXu.cjs");
27
+ const require_waypointGlyphs = require("./chunk-DFw3I0U0.cjs");
28
+ const require_WaypointIconPicker = require("./chunk-CNFoFzhK.cjs");
29
+ let _mantine_core = require("@mantine/core");
30
+ let _mountaya_studio = require("@mountaya/studio");
31
+ let react = require("react");
32
+ let _mountaya_studio_strings = require("@mountaya/studio/strings");
33
+ let react_jsx_runtime = require("react/jsx-runtime");
34
+ let _mountaya_elements_i18n = require("@mountaya/elements/i18n");
35
+ let _mountaya_elements_react = require("@mountaya/elements-react");
36
+ let _mountaya_elements_icons = require("@mountaya/elements/icons");
37
+ let _mantine_hooks = require("@mantine/hooks");
38
+ let _mountaya_elements_profile = require("@mountaya/elements/profile");
39
+ let _mountaya_elements_units = require("@mountaya/elements/units");
40
+ const lockTooltipStyles = { tooltip: { whiteSpace: "pre-line" } };
41
+ const lockLabelNewline = /\n/g;
42
+ const flattenLockLabel = (label) => label.replace(lockLabelNewline, " ");
43
+ const LockTooltip = ({ children, label }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
44
+ events: {
45
+ focus: true,
46
+ hover: true,
47
+ touch: false
48
+ },
49
+ label,
50
+ position: "right",
51
+ styles: lockTooltipStyles,
52
+ withArrow: true,
53
+ children
54
+ });
55
+ const DisabledActionsButton = ({ ariaLabel, tooltipLabel }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LockTooltip, {
56
+ label: tooltipLabel,
57
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.ActionIcon, {
58
+ disabled: true,
59
+ variant: "subtle",
60
+ children: [
61
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
62
+ name: "more",
63
+ size: require_sizing.iconSizes.sm
64
+ }),
65
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.VisuallyHidden, { children: ariaLabel }),
66
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_DisabledReason.DisabledReason, { children: flattenLockLabel(tooltipLabel) })
67
+ ]
68
+ }) })
69
+ });
70
+ const SECTIONS$13 = ["agentLock"];
71
+ const agentTint = { color: "var(--mantine-color-blue-6)" };
72
+ const AgentEntityIndicator = ({ id, kind }) => {
73
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$13);
74
+ if (!require_useUiStore.useUiStore((state) => (0, _mountaya_studio.selectAgentEntityLocked)(kind, id)(state))) return null;
75
+ const label = words.agentLock.editingThis;
76
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
77
+ label,
78
+ position: "right",
79
+ styles: lockTooltipStyles,
80
+ withArrow: true,
81
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
82
+ "aria-label": flattenLockLabel(label),
83
+ role: "img",
84
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
85
+ name: "agent",
86
+ size: require_sizing.iconSizes.sm,
87
+ style: agentTint
88
+ })
89
+ })
90
+ });
91
+ };
92
+ const SECTIONS$12 = ["collab"];
93
+ const PeerEntityBadges = ({ lockHolderId, viewerIds }) => {
94
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$12);
95
+ const resolveName = require_studio.useStudioPeerName(require_useCollabOrganizationId.useCollabOrganizationId());
96
+ const nameFor = (0, react.useCallback)((userId) => resolveName(userId) ?? words.collab.roster.unknownPeer, [resolveName, words]);
97
+ const editingLabel = lockHolderId === null ? null : words.collab.lockedBy(nameFor(lockHolderId));
98
+ const holderTint = (0, react.useMemo)(() => lockHolderId === null ? {} : { color: (0, _mountaya_studio.collabPeerColor)(lockHolderId) }, [lockHolderId]);
99
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Group, {
100
+ gap: "xxs",
101
+ children: [viewerIds.map((userId) => {
102
+ const viewingLabel = words.collab.peerViewing(nameFor(userId));
103
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
104
+ label: viewingLabel,
105
+ position: "right",
106
+ withArrow: true,
107
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Avatar, {
108
+ "aria-label": viewingLabel,
109
+ color: (0, _mountaya_studio.collabPeerColor)(userId),
110
+ name: nameFor(userId),
111
+ role: "img",
112
+ size: "xs"
113
+ })
114
+ }, userId);
115
+ }), lockHolderId !== null && editingLabel !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
116
+ label: editingLabel,
117
+ position: "right",
118
+ styles: lockTooltipStyles,
119
+ withArrow: true,
120
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
121
+ "aria-label": flattenLockLabel(editingLabel),
122
+ role: "img",
123
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
124
+ name: "action-edit",
125
+ size: require_sizing.iconSizes.sm,
126
+ style: holderTint
127
+ })
128
+ })
129
+ }) : null]
130
+ });
131
+ };
132
+ const PeerEntityIndicator = ({ id, kind }) => {
133
+ const itineraryResource = require_useBeginSegmentEdit.useActiveItineraryResource();
134
+ const viewerIds = require_useUiStoreShallow.useUiStoreShallow((state) => {
135
+ const ids = [];
136
+ if (itineraryResource === null) return ids;
137
+ for (const peer of Object.values((0, _mountaya_studio.selectCollabPeers)(itineraryResource)(state))) if (peer.selection?.kind === kind && peer.selection.id === id) ids.push(peer.userId);
138
+ return ids;
139
+ });
140
+ const lockHolderId = require_useUiStore.useUiStore((state) => itineraryResource === null ? null : (0, _mountaya_studio.selectCollabLockHolder)(itineraryResource, kind, id)(state) ?? null);
141
+ if (viewerIds.length === 0 && lockHolderId === null) return null;
142
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PeerEntityBadges, {
143
+ lockHolderId,
144
+ viewerIds
145
+ });
146
+ };
147
+ const SECTIONS$11 = ["collab"];
148
+ const usePeerLockLabel = (lockHolderId) => usePeerLockLabels()(lockHolderId);
149
+ const usePeerLockLabels = () => {
150
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$11);
151
+ const resolveName = require_studio.useStudioPeerName(require_useCollabOrganizationId.useCollabOrganizationId());
152
+ return (0, react.useCallback)((lockHolderId) => {
153
+ const name = resolveName(lockHolderId);
154
+ return name === null ? words.collab.locked : words.collab.lockedBy(name);
155
+ }, [resolveName, words]);
156
+ };
157
+ const SECTIONS$10 = ["actions", "import"];
158
+ const ILLUSTRATED_SECTIONS = [{
159
+ key: "precision",
160
+ sides: ["recorded", "matched"]
161
+ }, {
162
+ key: "editable",
163
+ sides: ["manyPoints", "fewPoints"]
164
+ }];
165
+ const suppliedSides = (names, pictures) => {
166
+ const sides = names.flatMap((name) => {
167
+ const src = pictures[name];
168
+ return src === void 0 || src === "" ? [] : [{
169
+ name,
170
+ src
171
+ }];
172
+ });
173
+ return sides.length === names.length ? sides : [];
174
+ };
175
+ const TEXT_SECTIONS = ["exact"];
176
+ const ImportRoutingGuideModal = ({ matchedCount, onClose, opened, pictures = noPictures, totalCount }) => {
177
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$10);
178
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AppModal.AppModal, {
179
+ closeLabel: words.actions.close,
180
+ description: words.import.guide.description,
181
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
182
+ name: "help",
183
+ size: require_sizing.iconSizes.md
184
+ }),
185
+ onClose,
186
+ opened,
187
+ size: "lg",
188
+ title: words.import.guide.title,
189
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, {
190
+ gap: "md",
191
+ children: [
192
+ ILLUSTRATED_SECTIONS.map((section) => {
193
+ const sides = suppliedSides(section.sides, pictures);
194
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, {
195
+ gap: "xs",
196
+ children: [
197
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
198
+ variant: "section-label",
199
+ children: words.import.guide[`${section.key}Title`]
200
+ }),
201
+ sides.length === 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Box, {
202
+ className: "mtya-routing-guide-pair",
203
+ children: sides.map((side) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
204
+ className: "mtya-routing-guide-frame",
205
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Image, {
206
+ alt: words.import.guide.comparison[`${side.name}Alt`],
207
+ className: "mtya-routing-guide-comparison",
208
+ radius: "md",
209
+ src: side.src
210
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
211
+ className: "mtya-routing-guide-caption",
212
+ size: "xs",
213
+ children: words.import.guide.comparison[`${side.name}Caption`]
214
+ })]
215
+ }, side.name))
216
+ }),
217
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
218
+ c: "dimmed",
219
+ size: "xs",
220
+ children: words.import.guide[`${section.key}Body`]
221
+ })
222
+ ]
223
+ }, section.key);
224
+ }),
225
+ TEXT_SECTIONS.map((key) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, {
226
+ gap: "xxs",
227
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
228
+ variant: "section-label",
229
+ children: words.import.guide[`${key}Title`]
230
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
231
+ c: "dimmed",
232
+ size: "xs",
233
+ children: words.import.guide[`${key}Body`]
234
+ })]
235
+ }, key)),
236
+ matchedCount === void 0 || totalCount === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, {
237
+ gap: "xxs",
238
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
239
+ variant: "section-label",
240
+ children: words.import.guide.yourFile
241
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
242
+ c: "dimmed",
243
+ size: "xs",
244
+ children: words.import.guide.yourFileMatched(matchedCount, totalCount)
245
+ })]
246
+ })
247
+ ]
248
+ })
249
+ });
250
+ };
251
+ const noPictures = {};
252
+ const SEEN = "1";
253
+ const ImportRoutingGuideContext = (0, react.createContext)({ open: () => {} });
254
+ const useImportRoutingGuide = () => (0, react.use)(ImportRoutingGuideContext);
255
+ const ImportRoutingGuideProvider = ({ children, pictures }) => {
256
+ const [opened, { close, open }] = (0, _mantine_hooks.useDisclosure)(false);
257
+ const storage = require_studio.useStudioStorage();
258
+ const { importOpen, matchedCount, totalCount } = require_useUiStoreShallow.useUiStoreShallow((state) => {
259
+ const segments = (0, _mountaya_studio.selectImportSession)(state)?.draft?.segments ?? _mountaya_studio.EMPTY_SEGMENTS;
260
+ return {
261
+ importOpen: state.openContent === "import",
262
+ matchedCount: (0, _mountaya_studio.importSegmentCounts)(segments).routable,
263
+ totalCount: segments.length
264
+ };
265
+ });
266
+ (0, react.useEffect)(() => {
267
+ if (!importOpen || storage.read("import.routingGuideSeen") === SEEN) return;
268
+ storage.write("import.routingGuideSeen", SEEN);
269
+ open();
270
+ }, [
271
+ importOpen,
272
+ open,
273
+ storage
274
+ ]);
275
+ const controls = (0, react.useMemo)(() => ({ open }), [open]);
276
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(ImportRoutingGuideContext, {
277
+ value: controls,
278
+ children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ImportRoutingGuideModal, {
279
+ matchedCount: totalCount > 0 ? matchedCount : void 0,
280
+ onClose: close,
281
+ opened,
282
+ pictures,
283
+ totalCount: totalCount > 0 ? totalCount : void 0
284
+ })]
285
+ });
286
+ };
287
+ const showsFocus = (element) => element?.matches(":focus-visible") ?? false;
288
+ const SECTIONS$9 = ["actions", "itineraryForm"];
289
+ const CAPABILITIES = [
290
+ {
291
+ glyph: "routed",
292
+ key: "routing",
293
+ supported: (activity) => activity.capabilities.directions
294
+ },
295
+ {
296
+ glyph: "action-draw",
297
+ key: "freeline",
298
+ supported: (activity) => activity.capabilities.linestring
299
+ },
300
+ {
301
+ glyph: _mountaya_studio.REACHABILITY_GLYPH,
302
+ key: "zone",
303
+ supported: (activity) => activity.capabilities.directions
304
+ }
305
+ ];
306
+ const supportedTint = { color: "var(--mantine-color-teal-6)" };
307
+ const unavailableTint = { color: "var(--mantine-color-dimmed)" };
308
+ const CapabilityMark = ({ hint, supported }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
309
+ className: "mtya-activity-guide-mark",
310
+ children: supported ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
311
+ label: hint,
312
+ name: "check",
313
+ size: require_sizing.iconSizes.sm,
314
+ style: supportedTint
315
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
316
+ label: hint,
317
+ name: "unavailable",
318
+ size: require_sizing.iconSizes.sm,
319
+ style: unavailableTint
320
+ })
321
+ });
322
+ const activityLine = (bank, slug) => bank[slug] ?? "";
323
+ const nameControlStyle = { cursor: "inherit" };
324
+ const ActivityGuideRow = (0, react.memo)(function ActivityGuideRow({ activity, name, selected }) {
325
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$9);
326
+ const detail = activityLine(words.itineraryForm.activityGuide.detail, activity.slug);
327
+ const detailId = (0, react.useId)();
328
+ const { hovered, ref } = (0, _mantine_hooks.useHover)();
329
+ const [focused, setFocused] = (0, react.useState)(false);
330
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
331
+ label: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, {
332
+ gap: "xxs",
333
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
334
+ fw: 600,
335
+ size: "xs",
336
+ children: name
337
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
338
+ c: "dimmed",
339
+ size: "xs",
340
+ children: detail
341
+ })]
342
+ }),
343
+ opened: hovered || focused,
344
+ position: "top",
345
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
346
+ className: "mtya-activity-guide-row",
347
+ "data-selected": selected || void 0,
348
+ ref,
349
+ children: [
350
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.UnstyledButton, {
351
+ "aria-describedby": detailId,
352
+ className: "mtya-activity-guide-name",
353
+ onBlur: () => setFocused(false),
354
+ onFocus: (event) => setFocused(showsFocus(event.currentTarget)),
355
+ style: nameControlStyle,
356
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ActivityIcon.ActivityIcon, {
357
+ size: "1.5rem",
358
+ slug: activity.slug
359
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
360
+ fw: 500,
361
+ size: "sm",
362
+ children: name
363
+ })]
364
+ }),
365
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.VisuallyHidden, {
366
+ id: detailId,
367
+ children: detail
368
+ }),
369
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
370
+ c: "dimmed",
371
+ className: "mtya-activity-guide-description",
372
+ size: "xs",
373
+ children: activityLine(words.itineraryForm.activityGuide.activity, activity.slug)
374
+ }),
375
+ CAPABILITIES.map(({ key, supported }) => {
376
+ const has = supported(activity);
377
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CapabilityMark, {
378
+ hint: has ? words.itineraryForm.capability[key].supported : words.itineraryForm.capability[key].unsupported,
379
+ supported: has
380
+ }, key);
381
+ })
382
+ ]
383
+ })
384
+ });
385
+ });
386
+ const ActivityGuideTable = ({ categories, language, selectedActivityId }) => {
387
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$9);
388
+ const nameOf = (activity) => (0, _mountaya_elements_i18n.localizedName)(activity, language);
389
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
390
+ className: "mtya-activity-guide-head",
391
+ children: [
392
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {}),
393
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {}),
394
+ CAPABILITIES.map(({ glyph, key }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
395
+ className: "mtya-activity-guide-head-mark",
396
+ children: [
397
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
398
+ name: glyph,
399
+ size: require_sizing.iconSizes.sm
400
+ }),
401
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
402
+ className: "mtya-activity-guide-head-label",
403
+ children: words.itineraryForm.capability[key].label
404
+ }),
405
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
406
+ className: "mtya-activity-guide-head-gloss",
407
+ children: words.itineraryForm.capability[key].gloss
408
+ })
409
+ ]
410
+ }, key))
411
+ ]
412
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
413
+ className: "mtya-activity-guide-body",
414
+ children: categories.map((category) => {
415
+ if (category.children.length === 0) return null;
416
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
417
+ className: "mtya-activity-guide-group",
418
+ variant: "section-label",
419
+ children: (0, _mountaya_elements_i18n.localizedName)(category, language)
420
+ }), category.children.map((activity) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ActivityGuideRow, {
421
+ activity,
422
+ name: nameOf(activity),
423
+ selected: activity.id === selectedActivityId
424
+ }, activity.id))] }, category.id);
425
+ })
426
+ })] });
427
+ };
428
+ const ACTIVITY_GUIDE_WIDTH = "52.5rem";
429
+ const ActivityGuideModal = ({ categories, language, onClose, opened, selectedActivityId }) => {
430
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$9);
431
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AppModal.AppModal, {
432
+ closeLabel: words.actions.close,
433
+ description: words.itineraryForm.activityGuide.description,
434
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
435
+ name: "guide",
436
+ size: require_sizing.iconSizes.md
437
+ }),
438
+ onClose,
439
+ opened,
440
+ size: ACTIVITY_GUIDE_WIDTH,
441
+ title: words.itineraryForm.activityGuide.title,
442
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ActivityGuideTable, {
443
+ categories,
444
+ language,
445
+ selectedActivityId
446
+ })
447
+ });
448
+ };
449
+ const ActivityGuideContext = (0, react.createContext)({
450
+ open: () => {},
451
+ openFor: () => {}
452
+ });
453
+ const useActivityGuide = () => (0, react.use)(ActivityGuideContext);
454
+ const ActivityGuideProvider = ({ children }) => {
455
+ const language = (0, _mountaya_elements_react.useMountayaLanguage)();
456
+ const [opened, { close, open: show }] = (0, _mantine_hooks.useDisclosure)(false);
457
+ const [stated, setStated] = (0, react.useState)(null);
458
+ const categories = require_studio.useStudioActivities();
459
+ const itineraryActivityId = require_useUiStore.useUiStore((state) => state.activeItinerary?.activity_id ?? null);
460
+ const draftActivityId = require_useUiStore.useUiStore((state) => (0, _mountaya_studio.selectActiveDraftSession)(state)?.draft?.activityId ?? null);
461
+ const controls = (0, react.useMemo)(() => ({
462
+ open: () => {
463
+ setStated(null);
464
+ show();
465
+ },
466
+ openFor: (activityId) => {
467
+ setStated({ activityId });
468
+ show();
469
+ }
470
+ }), [show]);
471
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(ActivityGuideContext, {
472
+ value: controls,
473
+ children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ActivityGuideModal, {
474
+ categories,
475
+ language,
476
+ onClose: close,
477
+ opened,
478
+ selectedActivityId: stated === null ? itineraryActivityId ?? draftActivityId : stated.activityId
479
+ })]
480
+ });
481
+ };
482
+ const DisabledMenuItem = ({ color, icon, label, reason }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
483
+ label: reason,
484
+ withinPortal: true,
485
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Box, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Menu.Item, {
486
+ color,
487
+ disabled: true,
488
+ fz: "xs",
489
+ leftSection: icon,
490
+ children: [label, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_DisabledReason.DisabledReason, { children: reason })]
491
+ }) })
492
+ });
493
+ const SECTIONS$8 = ["agentLock"];
494
+ const PluginMenuItems = ({ items }) => {
495
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$8);
496
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PluginSlotItems.PluginSlotItems, {
497
+ items,
498
+ renderAction: (item) => item.disabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledMenuItem, {
499
+ color: item.entry.destructive ? "red" : void 0,
500
+ icon: item.entry.icon,
501
+ label: item.label,
502
+ reason: words.agentLock.rowLocked
503
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
504
+ color: item.entry.destructive ? "red" : void 0,
505
+ fz: "xs",
506
+ leftSection: item.entry.icon,
507
+ onClick: item.run,
508
+ children: item.label
509
+ })
510
+ });
511
+ };
512
+ const StudioFormStack = ({ children, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.MantineThemeProvider, {
513
+ theme: require_SidenavContentHeader.densityThemes[require_studio.useStudioDensity()].form,
514
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Stack, {
515
+ gap: "md",
516
+ ...props,
517
+ children
518
+ })
519
+ });
520
+ const SECTIONS$7 = ["itineraryForm"];
521
+ const ActivitySelect = ({ capability, categories, language, locked, onChange, value }) => {
522
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$7);
523
+ const selectId = (0, react.useId)();
524
+ const { openFor: openGuideFor } = useActivityGuide();
525
+ const agentDriving = require_useAgentDriving.useAgentDriving();
526
+ const data = (0, react.useMemo)(() => categories.map((category) => ({
527
+ group: (0, _mountaya_elements_i18n.localizedName)(category, language),
528
+ items: category.children.filter((activity) => capability === void 0 || activity.capabilities[capability]).map((activity) => ({
529
+ label: (0, _mountaya_elements_i18n.localizedName)(activity, language),
530
+ value: activity.id
531
+ }))
532
+ })).filter((group) => group.items.length > 0), [
533
+ capability,
534
+ categories,
535
+ language
536
+ ]);
537
+ const slugById = (0, react.useMemo)(() => {
538
+ const map = /* @__PURE__ */ new Map();
539
+ for (const category of categories) for (const activity of category.children) map.set(activity.id, activity.slug);
540
+ return map;
541
+ }, [categories]);
542
+ const selectedSlug = value === null ? void 0 : slugById.get(value);
543
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, {
544
+ gap: "6px",
545
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Group, {
546
+ align: "center",
547
+ justify: "space-between",
548
+ wrap: "nowrap",
549
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EditorListSection.FieldLabel, {
550
+ htmlFor: selectId,
551
+ required: true,
552
+ children: words.itineraryForm.activityLabel
553
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Anchor, {
554
+ c: agentDriving ? "dimmed" : void 0,
555
+ component: "button",
556
+ disabled: agentDriving,
557
+ onClick: () => openGuideFor(value),
558
+ size: "xs",
559
+ type: "button",
560
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Group, {
561
+ component: "span",
562
+ gap: "xxs",
563
+ wrap: "nowrap",
564
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
565
+ name: "guide",
566
+ size: require_sizing.iconSizes.xs
567
+ }), words.itineraryForm.activityGuide.trigger]
568
+ })
569
+ })]
570
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Select, {
571
+ allowDeselect: false,
572
+ data,
573
+ disabled: locked,
574
+ id: selectId,
575
+ leftSection: selectedSlug ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ActivityIcon.ActivityIcon, {
576
+ size: "1.5rem",
577
+ slug: selectedSlug
578
+ }) : void 0,
579
+ onChange,
580
+ placeholder: words.itineraryForm.activityPlaceholder,
581
+ renderOption: ({ option }) => {
582
+ const slug = slugById.get(option.value);
583
+ if (!slug) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
584
+ inherit: true,
585
+ children: option.label
586
+ });
587
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Group, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ActivityIcon.ActivityIcon, {
588
+ size: "1.5rem",
589
+ slug
590
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
591
+ inherit: true,
592
+ children: option.label
593
+ })] });
594
+ },
595
+ required: true,
596
+ rightSection: locked ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
597
+ label: words.itineraryForm.activityLocked,
598
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
599
+ "aria-label": words.itineraryForm.activityLocked,
600
+ role: "img",
601
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
602
+ name: "locked",
603
+ size: require_sizing.iconSizes.xs
604
+ })
605
+ })
606
+ }) : void 0,
607
+ value
608
+ })]
609
+ });
610
+ };
611
+ const RenameInput = ({ ariaLabel, details, errorMessage, fw, gap = 0, onBlur, onChange, onKeyDown, size = "xs", value }) => {
612
+ const inputRef = (0, react.useRef)(null);
613
+ (0, react.useEffect)(() => {
614
+ const timer = setTimeout(() => {
615
+ inputRef.current?.focus();
616
+ inputRef.current?.select();
617
+ });
618
+ return () => clearTimeout(timer);
619
+ }, []);
620
+ const invalid = !_mountaya_studio.displayNameSchema.safeParse(value).success;
621
+ const reasonId = (0, react.useId)();
622
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, {
623
+ __vars: {
624
+ "--mtya-rename-fw": fw === void 0 ? "inherit" : String(fw),
625
+ "--mtya-rename-fz": `var(--mantine-font-size-${size})`,
626
+ "--mtya-rename-lh": `var(--mantine-line-height-${size})`
627
+ },
628
+ className: "mtya-rename-column",
629
+ gap,
630
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.TextInput, {
631
+ "aria-errormessage": invalid ? reasonId : void 0,
632
+ "aria-label": ariaLabel,
633
+ classNames: {
634
+ input: "mtya-rename-input",
635
+ root: "mtya-rename-root"
636
+ },
637
+ error: invalid,
638
+ mb: 0,
639
+ mt: 0,
640
+ onBlur,
641
+ onChange,
642
+ onKeyDown,
643
+ ref: inputRef,
644
+ value,
645
+ variant: "unstyled",
646
+ withErrorStyles: false
647
+ }), invalid ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
648
+ c: "red",
649
+ id: reasonId,
650
+ size: "xs",
651
+ children: errorMessage
652
+ }) : details]
653
+ });
654
+ };
655
+ const SegmentIcon = ({ color, glyph, label }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
656
+ label,
657
+ position: "bottom",
658
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Center, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
659
+ name: glyph,
660
+ size: require_sizing.iconSizes.sm,
661
+ style: color === void 0 ? void 0 : { color }
662
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.VisuallyHidden, { children: label })] })
663
+ });
664
+ const anchorStyle = {
665
+ inset: 0,
666
+ pointerEvents: "none"
667
+ };
668
+ const DROPDOWN_MARKER = "data-segment-row-popover";
669
+ const SegmentRowPopover = ({ children, dropdown, label, onCancel, onDismiss, opened }) => {
670
+ const dismissRef = (0, _mountaya_elements_react.useLatestRef)(onDismiss);
671
+ const cancelRef = (0, _mountaya_elements_react.useLatestRef)(onCancel);
672
+ const endedRef = (0, react.useRef)(false);
673
+ const end = (0, react.useCallback)((action) => {
674
+ if (endedRef.current) return;
675
+ endedRef.current = true;
676
+ action();
677
+ }, []);
678
+ const wasOpenRef = (0, react.useRef)(opened);
679
+ if (opened !== wasOpenRef.current) {
680
+ wasOpenRef.current = opened;
681
+ if (opened) endedRef.current = false;
682
+ }
683
+ require_useEscapeKey.useEscapeKey(() => end(cancelRef.current), opened);
684
+ (0, react.useEffect)(() => {
685
+ if (!opened) return;
686
+ const onPointerDown = (event) => {
687
+ if (!event.composedPath().some((node) => node instanceof Element && node.hasAttribute(DROPDOWN_MARKER))) end(dismissRef.current);
688
+ };
689
+ document.addEventListener("pointerdown", onPointerDown, true);
690
+ return () => {
691
+ document.removeEventListener("pointerdown", onPointerDown, true);
692
+ };
693
+ }, [
694
+ dismissRef,
695
+ end,
696
+ opened
697
+ ]);
698
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Box, {
699
+ pos: "relative",
700
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Popover, {
701
+ closeOnClickOutside: false,
702
+ closeOnEscape: false,
703
+ opened,
704
+ position: "bottom-end",
705
+ returnFocus: true,
706
+ trapFocus: true,
707
+ withinPortal: true,
708
+ withRoles: false,
709
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Popover.Target, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Box, {
710
+ "aria-hidden": true,
711
+ pos: "absolute",
712
+ style: anchorStyle
713
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Popover.Dropdown, {
714
+ "aria-label": label,
715
+ "data-segment-row-popover": true,
716
+ role: "dialog",
717
+ children: dropdown
718
+ })]
719
+ }), children]
720
+ });
721
+ };
722
+ const SECTIONS$6 = ["segments"];
723
+ const SegmentModeControl = ({ children, mode, onChange, onClose, opened }) => {
724
+ const strings = require_studioStrings.useStudioScopedStrings(SECTIONS$6).segments;
725
+ const pick = (next) => {
726
+ onClose();
727
+ const engine = _mountaya_studio.segmentEditModeSchema.safeParse(next);
728
+ if (engine.success && engine.data !== mode) onChange(engine.data);
729
+ };
730
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentRowPopover, {
731
+ dropdown: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, {
732
+ gap: "xs",
733
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
734
+ c: "dimmed",
735
+ fw: 500,
736
+ fz: "xs",
737
+ children: strings.engineHeading
738
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_StudioSegmentedControl.StudioSegmentedControl, {
739
+ data: [{
740
+ label: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
741
+ label: strings.engineRouted,
742
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Group, {
743
+ justify: "center",
744
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
745
+ name: "routed",
746
+ size: require_sizing.iconSizes.sm
747
+ })
748
+ })
749
+ }),
750
+ value: "directions"
751
+ }, {
752
+ label: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
753
+ label: strings.engineFreehand,
754
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Group, {
755
+ justify: "center",
756
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
757
+ name: "freehand",
758
+ size: require_sizing.iconSizes.sm
759
+ })
760
+ })
761
+ }),
762
+ value: "linestring"
763
+ }],
764
+ onChange: pick,
765
+ value: mode
766
+ })]
767
+ }),
768
+ label: strings.engineHeading,
769
+ onCancel: onClose,
770
+ onDismiss: onClose,
771
+ opened,
772
+ children
773
+ });
774
+ };
775
+ const SECTIONS$5 = ["agentLock", "segmentMenu"];
776
+ const verbGlyph = (action) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
777
+ name: require_menuActions.menuActionGlyphs[action],
778
+ size: require_sizing.iconSizes.sm
779
+ });
780
+ const triggerHiddenStyle$1 = { opacity: 0 };
781
+ const triggerVisibleStyle$1 = { opacity: 1 };
782
+ const SegmentChainBand = ({ chain, splitReason, strings }) => {
783
+ const offersGaps = chain.onInsertAfter !== void 0 && chain.onInsertBefore !== void 0;
784
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
785
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Divider, {}),
786
+ offersGaps ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
787
+ fz: "xs",
788
+ leftSection: verbGlyph("insertBefore"),
789
+ onClick: chain.onInsertBefore,
790
+ children: strings.menuInsertBefore
791
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
792
+ fz: "xs",
793
+ leftSection: verbGlyph("insertAfter"),
794
+ onClick: chain.onInsertAfter,
795
+ children: strings.menuInsertAfter
796
+ })] }) : null,
797
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Menu.Sub, {
798
+ safeAreaPolygon: true,
799
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Sub.Target, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Sub.Item, {
800
+ fz: "xs",
801
+ leftSection: verbGlyph("splitMerge"),
802
+ children: strings.menuSplitMerge
803
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Menu.Sub.Dropdown, { children: [
804
+ splitReason === null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
805
+ fz: "xs",
806
+ leftSection: verbGlyph("split"),
807
+ onClick: chain.onSplit,
808
+ children: strings.menuSplit
809
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledMenuItem, {
810
+ icon: verbGlyph("split"),
811
+ label: strings.menuSplit,
812
+ reason: splitReason
813
+ }),
814
+ chain.mergePreviousDisabledReason !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledMenuItem, {
815
+ icon: verbGlyph("mergePrevious"),
816
+ label: strings.menuMergePrevious,
817
+ reason: strings[_mountaya_studio_strings.mergeDisabledHintKey[chain.mergePreviousDisabledReason]]
818
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
819
+ fz: "xs",
820
+ leftSection: verbGlyph("mergePrevious"),
821
+ onClick: chain.onMergePrevious,
822
+ children: strings.menuMergePrevious
823
+ }),
824
+ chain.mergeNextDisabledReason !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledMenuItem, {
825
+ icon: verbGlyph("mergeNext"),
826
+ label: strings.menuMergeNext,
827
+ reason: strings[_mountaya_studio_strings.mergeDisabledHintKey[chain.mergeNextDisabledReason]]
828
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
829
+ fz: "xs",
830
+ leftSection: verbGlyph("mergeNext"),
831
+ onClick: chain.onMergeNext,
832
+ children: strings.menuMergeNext
833
+ })
834
+ ] })]
835
+ })
836
+ ] });
837
+ };
838
+ const SegmentGroupBand = ({ group, strings }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Divider, {}), group.grouped ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Menu.Sub, {
839
+ safeAreaPolygon: true,
840
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Sub.Target, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Sub.Item, {
841
+ fz: "xs",
842
+ leftSection: verbGlyph("group"),
843
+ children: strings.menuGroupSection
844
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Menu.Sub.Dropdown, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
845
+ fz: "xs",
846
+ leftSection: verbGlyph("group"),
847
+ onClick: group.onEditGroup,
848
+ children: strings.menuEditGroup
849
+ }), group.removeDisabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledMenuItem, {
850
+ icon: verbGlyph("group"),
851
+ label: strings.menuRemoveFromGroup,
852
+ reason: strings.removeDisabledHint
853
+ }) : group.removeDissolves ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Tooltip, {
854
+ label: strings.ungroupHint,
855
+ withinPortal: true,
856
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
857
+ fz: "xs",
858
+ leftSection: verbGlyph("group"),
859
+ onClick: group.onRemoveFromGroup,
860
+ children: strings.ungroup
861
+ })
862
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
863
+ fz: "xs",
864
+ leftSection: verbGlyph("group"),
865
+ onClick: group.onRemoveFromGroup,
866
+ children: strings.menuRemoveFromGroup
867
+ })] })]
868
+ }) : group.groupDisabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledMenuItem, {
869
+ icon: verbGlyph("group"),
870
+ label: strings.menuGroup,
871
+ reason: strings.groupDisabledHint
872
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
873
+ fz: "xs",
874
+ leftSection: verbGlyph("group"),
875
+ onClick: group.onGroup,
876
+ children: strings.menuGroup
877
+ })] });
878
+ const SegmentRowMenu = (0, react.memo)(function SegmentRowMenu({ chain, deleteDisabled, group, onDelete, onEditGeometry, onExport, onToggle, onRename, onSetSpeed, pluginTarget, triggerVisible }) {
879
+ const strings = require_studioStrings.useStudioScopedStrings(SECTIONS$5).segmentMenu;
880
+ const pluginItems = require_usePluginSlot.usePluginSlot("segment.menu", pluginTarget ?? null);
881
+ const splitReason = chain?.splitDisabledReason ? strings[_mountaya_studio_strings.splitDisabledHintKey[chain.splitDisabledReason]] : null;
882
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Menu, {
883
+ onChange: onToggle,
884
+ position: "bottom-end",
885
+ withinPortal: true,
886
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Target, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.ActionIcon, {
887
+ "aria-label": strings.menuLabel,
888
+ className: "mtya-menu-trigger",
889
+ style: triggerVisible ? triggerVisibleStyle$1 : triggerHiddenStyle$1,
890
+ variant: "subtle",
891
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
892
+ name: "more",
893
+ size: require_sizing.iconSizes.sm
894
+ })
895
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Menu.Dropdown, { children: [
896
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
897
+ fz: "xs",
898
+ leftSection: verbGlyph("rename"),
899
+ onClick: onRename,
900
+ children: strings.menuRename
901
+ }),
902
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
903
+ fz: "xs",
904
+ leftSection: verbGlyph("edit"),
905
+ onClick: onEditGeometry,
906
+ children: strings.menuEdit
907
+ }),
908
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
909
+ fz: "xs",
910
+ leftSection: verbGlyph("setSpeed"),
911
+ onClick: onSetSpeed,
912
+ children: strings.menuSetSpeed
913
+ }),
914
+ chain ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
915
+ fz: "xs",
916
+ leftSection: verbGlyph("engine"),
917
+ onClick: chain.onChangeEngine,
918
+ children: strings.menuChangeEngine
919
+ }) : null,
920
+ chain ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentChainBand, {
921
+ chain,
922
+ splitReason,
923
+ strings
924
+ }) : null,
925
+ group ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentGroupBand, {
926
+ group,
927
+ strings
928
+ }) : null,
929
+ onExport ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Divider, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
930
+ fz: "xs",
931
+ leftSection: verbGlyph("export"),
932
+ onClick: onExport,
933
+ children: strings.menuExport
934
+ })] }) : null,
935
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PluginMenuItems, { items: pluginItems }),
936
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Divider, {}),
937
+ deleteDisabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledMenuItem, {
938
+ color: "red",
939
+ icon: verbGlyph("delete"),
940
+ label: strings.menuDelete,
941
+ reason: strings.deleteDisabledHint
942
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
943
+ color: "red",
944
+ fz: "xs",
945
+ leftSection: verbGlyph("delete"),
946
+ onClick: onDelete,
947
+ children: strings.menuDelete
948
+ })
949
+ ] })]
950
+ });
951
+ });
952
+ const SECTIONS$4 = ["segments"];
953
+ const formatDurationHint = (totalSeconds, hoursLabel, minutesLabel) => {
954
+ const split = (0, _mountaya_elements_profile.splitDuration)(totalSeconds);
955
+ if (split === null || split.hours === 0 && split.minutes === 0) return null;
956
+ const { hours, minutes } = split;
957
+ if (hours > 0) return minutes === 0 ? hoursLabel(hours) : `${hoursLabel(hours)} ${minutesLabel(minutes)}`;
958
+ return minutesLabel(minutes);
959
+ };
960
+ const SegmentSpeedControl = ({ activityDefaultSpeed, children, distanceMeters, durationSeconds = null, onChange, onClose, opened, speed, units }) => {
961
+ const strings = require_studioStrings.useStudioScopedStrings(SECTIONS$4).segments;
962
+ const studioUnits = require_useStudioUnits.useStudioUnits();
963
+ const resolvedUnits = units ?? studioUnits;
964
+ const speedUnit = (0, _mountaya_elements_profile.speedUnitFor)(resolvedUnits.length, resolvedUnits.pace);
965
+ const label = require_SpeedInput.useSpeedControlLabel(resolvedUnits.length, resolvedUnits.pace);
966
+ const [draft, setDraft] = (0, react.useState)(speed);
967
+ const openSpeedRef = (0, react.useRef)(speed);
968
+ const committedRef = (0, react.useRef)(false);
969
+ const [wasOpen, setWasOpen] = (0, react.useState)(opened);
970
+ if (opened !== wasOpen) {
971
+ setWasOpen(opened);
972
+ if (opened) {
973
+ setDraft(speed);
974
+ openSpeedRef.current = speed;
975
+ committedRef.current = false;
976
+ }
977
+ }
978
+ const enteredKmh = draft ?? activityDefaultSpeed;
979
+ const hintSeconds = (0, _mountaya_elements_profile.durationForSpeed)({
980
+ baseDurationSeconds: durationSeconds,
981
+ baseSpeedKmh: (0, _mountaya_elements_profile.resolveSpeedKmh)(speed, activityDefaultSpeed),
982
+ distanceMeters,
983
+ targetSpeedKmh: enteredKmh
984
+ });
985
+ const durationHint = formatDurationHint(hintSeconds, (count) => strings.durationHours(count), (count) => strings.durationMinutes(count));
986
+ const speedKey = (kmh) => {
987
+ if (kmh === null) return null;
988
+ const display = (0, _mountaya_elements_profile.kilometersPerHourToDisplay)(kmh, speedUnit);
989
+ if (display === null) return null;
990
+ const steps = (0, _mountaya_elements_units.isPaceUnit)(speedUnit) ? _mountaya_elements_units.SECONDS_PER_MINUTE : 10;
991
+ return Math.round(display * steps) / steps;
992
+ };
993
+ const commitAndClose = (next) => {
994
+ if (committedRef.current) return;
995
+ committedRef.current = true;
996
+ if (speedKey(next) !== speedKey(openSpeedRef.current)) onChange(next);
997
+ onClose();
998
+ };
999
+ const cancelAndClose = () => {
1000
+ if (committedRef.current) return;
1001
+ committedRef.current = true;
1002
+ setDraft(openSpeedRef.current);
1003
+ onClose();
1004
+ };
1005
+ const useDefault = () => commitAndClose(null);
1006
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentRowPopover, {
1007
+ dropdown: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, { children: [
1008
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SpeedInput.SpeedInput, {
1009
+ defaultSpeedKmh: activityDefaultSpeed,
1010
+ kmh: draft,
1011
+ length: resolvedUnits.length,
1012
+ onChange: setDraft,
1013
+ pace: resolvedUnits.pace
1014
+ }),
1015
+ durationHint ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
1016
+ c: "dimmed",
1017
+ size: "xs",
1018
+ children: strings.durationHint(durationHint)
1019
+ }) : null,
1020
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Button, {
1021
+ onClick: () => commitAndClose(draft),
1022
+ children: strings.speedSet
1023
+ }),
1024
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Button, {
1025
+ onClick: useDefault,
1026
+ variant: "subtle",
1027
+ children: strings.speedUseDefault
1028
+ })
1029
+ ] }),
1030
+ label,
1031
+ onCancel: cancelAndClose,
1032
+ onDismiss: () => commitAndClose(draft),
1033
+ opened,
1034
+ children
1035
+ });
1036
+ };
1037
+ const SECTIONS$3 = [
1038
+ "agentLock",
1039
+ "segmentMenu",
1040
+ "segments"
1041
+ ];
1042
+ const SegmentRowActions = (0, react.memo)(function SegmentRowActions({ chain, deleteDisabled, group, mode, onDelete, onEditGeometry, onExport, onMenuOpenChange, onSetMode, onSetSpeed, onStartRename, pluginTarget, posture, speed, triggerVisible }) {
1043
+ const menuLabel = require_studioStrings.useStudioScopedStrings(SECTIONS$3).segmentMenu.menuLabel;
1044
+ const [speedOpen, setSpeedOpen] = (0, react.useState)(false);
1045
+ const [modeOpen, setModeOpen] = (0, react.useState)(false);
1046
+ if (!(posture.kind === "interactive" || posture.kind === "renaming") && (speedOpen || modeOpen)) {
1047
+ setSpeedOpen(false);
1048
+ setModeOpen(false);
1049
+ }
1050
+ const menuChain = (0, react.useMemo)(() => chain ? {
1051
+ ...chain,
1052
+ onChangeEngine: () => setModeOpen(true)
1053
+ } : void 0, [chain]);
1054
+ const openSpeed = (0, react.useCallback)(() => setSpeedOpen(true), []);
1055
+ const closeSpeed = (0, react.useCallback)(() => setSpeedOpen(false), []);
1056
+ const closeMode = (0, react.useCallback)(() => setModeOpen(false), []);
1057
+ if (posture.kind === "readonly") return null;
1058
+ if (posture.kind === "agentDriving" || posture.kind === "peerLocked" || posture.kind === "unsaved") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledActionsButton, {
1059
+ ariaLabel: menuLabel,
1060
+ tooltipLabel: posture.reason
1061
+ });
1062
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentSpeedControl, {
1063
+ activityDefaultSpeed: speed.activityDefaultSpeed,
1064
+ distanceMeters: speed.distanceMeters,
1065
+ durationSeconds: speed.durationSeconds,
1066
+ onChange: onSetSpeed,
1067
+ onClose: closeSpeed,
1068
+ opened: speedOpen,
1069
+ speed: speed.speed,
1070
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentModeControl, {
1071
+ mode,
1072
+ onChange: onSetMode,
1073
+ onClose: closeMode,
1074
+ opened: modeOpen,
1075
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentRowMenu, {
1076
+ chain: menuChain,
1077
+ deleteDisabled,
1078
+ group,
1079
+ onDelete,
1080
+ onEditGeometry,
1081
+ onExport,
1082
+ onRename: onStartRename,
1083
+ onSetSpeed: openSpeed,
1084
+ onToggle: onMenuOpenChange,
1085
+ pluginTarget,
1086
+ triggerVisible
1087
+ })
1088
+ })
1089
+ });
1090
+ });
1091
+ const nameColumnStyle$1 = {
1092
+ flex: 1,
1093
+ minWidth: 0
1094
+ };
1095
+ const SegmentRowBody = (0, react.memo)(function SegmentRowBody({ ascent, distance, name, onEditGeometry, onStartRename, posture, reasonMessage, rename }) {
1096
+ const metadataLine = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_RowMetadata.RowMetadata, {
1097
+ ascent,
1098
+ distance
1099
+ });
1100
+ const content = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
1101
+ size: "xs",
1102
+ children: name
1103
+ }), metadataLine] });
1104
+ let body;
1105
+ if (posture.kind === "renaming") body = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RenameInput, {
1106
+ ariaLabel: rename.ariaLabel,
1107
+ details: metadataLine,
1108
+ errorMessage: rename.errorMessage,
1109
+ onBlur: rename.onBlur,
1110
+ onChange: (event) => rename.onChange(event.currentTarget.value),
1111
+ onKeyDown: rename.onKeyDown,
1112
+ value: rename.value
1113
+ });
1114
+ else if (posture.kind === "peerLocked") body = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LockTooltip, {
1115
+ label: posture.reason,
1116
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.UnstyledButton, {
1117
+ "aria-disabled": true,
1118
+ children: content
1119
+ })
1120
+ });
1121
+ else if (posture.kind === "readonly") body = content;
1122
+ else if (posture.kind === "agentDriving" || posture.kind === "unsaved") body = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LockTooltip, {
1123
+ label: posture.reason,
1124
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.UnstyledButton, {
1125
+ "aria-disabled": true,
1126
+ children: content
1127
+ })
1128
+ });
1129
+ else body = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.UnstyledButton, {
1130
+ onClick: onEditGeometry,
1131
+ onDoubleClick: onStartRename,
1132
+ children: content
1133
+ });
1134
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Stack, {
1135
+ gap: "xxs",
1136
+ style: nameColumnStyle$1,
1137
+ children: [body, reasonMessage !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
1138
+ c: "dimmed",
1139
+ size: "xs",
1140
+ children: reasonMessage
1141
+ }) : null]
1142
+ });
1143
+ });
1144
+ const SECTIONS$2 = [
1145
+ "agentLock",
1146
+ "segmentMenu",
1147
+ "segments"
1148
+ ];
1149
+ const useSegmentRowChain = ({ activitySlug, chain, itineraryId, merge, mode, onFailure, segmentId, splitPick }) => {
1150
+ const { dispatch } = require_useWaypointRow.useStudioDispatchUnsafe();
1151
+ const previousSegmentId = chain?.previousSegmentId ?? null;
1152
+ const insertMode = chain?.insertMode === null ? null : chain?.insertMode ?? mode;
1153
+ const insert = (0, react.useCallback)(async (afterSegmentId) => {
1154
+ if (insertMode === null) return;
1155
+ const result = await dispatch("studio.itinerary.segment.insertBegin", {
1156
+ activitySlug,
1157
+ afterSegmentId,
1158
+ itineraryId,
1159
+ mode: insertMode
1160
+ });
1161
+ if (!result.ok) onFailure?.({
1162
+ result,
1163
+ verb: "insert"
1164
+ });
1165
+ }, [
1166
+ activitySlug,
1167
+ dispatch,
1168
+ insertMode,
1169
+ itineraryId,
1170
+ onFailure
1171
+ ]);
1172
+ const chainable = chain !== void 0;
1173
+ return (0, react.useMemo)(() => chainable ? {
1174
+ mergeNextDisabledReason: chain?.mergeNextDisabledReason ?? null,
1175
+ mergePreviousDisabledReason: chain?.mergePreviousDisabledReason ?? null,
1176
+ ...insertMode === null ? {} : {
1177
+ onInsertAfter: () => insert(segmentId),
1178
+ onInsertBefore: () => insert(previousSegmentId)
1179
+ },
1180
+ onMergeNext: () => {
1181
+ merge(segmentId);
1182
+ },
1183
+ onMergePrevious: () => {
1184
+ if (previousSegmentId !== null) merge(previousSegmentId);
1185
+ },
1186
+ onSplit: splitPick,
1187
+ splitDisabledReason: chain?.splitDisabledReason ?? null
1188
+ } : void 0, [
1189
+ chain?.mergeNextDisabledReason,
1190
+ chain?.mergePreviousDisabledReason,
1191
+ chain?.splitDisabledReason,
1192
+ chainable,
1193
+ insert,
1194
+ insertMode,
1195
+ merge,
1196
+ previousSegmentId,
1197
+ segmentId,
1198
+ splitPick
1199
+ ]);
1200
+ };
1201
+ const SegmentRow = (0, react.memo)(function SegmentRow({ activityDefaultSpeed = null, ascent, chain, color = null, deleteDisabled = false, distance, distanceMeters = null, durationSeconds = null, group, groupRail, indicators, mode, name, onExport, reasonMessage = null, speed = null, trailing, ...options }) {
1202
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$2);
1203
+ const row = require_useWaypointRow.useSegmentRow({
1204
+ ...options,
1205
+ segmentName: name
1206
+ });
1207
+ const locked = row.posture.kind === "peerLocked" || row.posture.kind === "agentDriving";
1208
+ const chainable = chain !== void 0 && row.posture.kind !== "unsaved";
1209
+ const { itineraryId, segmentId } = options;
1210
+ const chainActions = useSegmentRowChain({
1211
+ activitySlug: options.activitySlug,
1212
+ chain: chainable ? chain : void 0,
1213
+ itineraryId,
1214
+ merge: row.actions.merge,
1215
+ mode,
1216
+ onFailure: options.onFailure,
1217
+ segmentId,
1218
+ splitPick: row.actions.splitPick
1219
+ });
1220
+ const rename = (0, react.useMemo)(() => ({
1221
+ ariaLabel: words.segments.renameLabel,
1222
+ errorMessage: words.segments.renameError,
1223
+ onBlur: row.rename.inputProps.onBlur,
1224
+ onChange: row.rename.setValue,
1225
+ onKeyDown: row.rename.inputProps.onKeyDown,
1226
+ value: row.rename.value
1227
+ }), [
1228
+ row.rename.inputProps.onBlur,
1229
+ row.rename.inputProps.onKeyDown,
1230
+ row.rename.setValue,
1231
+ row.rename.value,
1232
+ words.segments.renameError,
1233
+ words.segments.renameLabel
1234
+ ]);
1235
+ const exportSegment = (0, react.useMemo)(() => onExport === void 0 ? void 0 : () => onExport(segmentId), [onExport, segmentId]);
1236
+ const speedProps = (0, react.useMemo)(() => ({
1237
+ activityDefaultSpeed,
1238
+ distanceMeters,
1239
+ durationSeconds,
1240
+ speed
1241
+ }), [
1242
+ activityDefaultSpeed,
1243
+ distanceMeters,
1244
+ durationSeconds,
1245
+ speed
1246
+ ]);
1247
+ const groupStyle = (0, react.useMemo)(() => groupRail ? { "--group-color": groupRail.color } : void 0, [groupRail]);
1248
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Group, {
1249
+ align: "center",
1250
+ "aria-describedby": groupRail?.chipId,
1251
+ "aria-disabled": locked || void 0,
1252
+ "data-editing": row.rename.editing || void 0,
1253
+ "data-group-first": groupRail?.isFirst || void 0,
1254
+ "data-group-last": groupRail?.isLast || void 0,
1255
+ "data-grouped": groupRail ? true : void 0,
1256
+ "data-map-hovered": row.mapHovered || void 0,
1257
+ "data-menu-open": row.menuOpen || void 0,
1258
+ style: groupStyle,
1259
+ ...row.rowProps,
1260
+ children: [
1261
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SpeedInput.SegmentColorCircle, {
1262
+ color,
1263
+ disabled: locked,
1264
+ label: words.segments.recolor,
1265
+ onRecolor: row.actions.recolor
1266
+ }),
1267
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentRowBody, {
1268
+ ascent,
1269
+ distance,
1270
+ name,
1271
+ onEditGeometry: row.editGeometry,
1272
+ onStartRename: row.startRename,
1273
+ posture: row.posture,
1274
+ reasonMessage,
1275
+ rename
1276
+ }),
1277
+ indicators,
1278
+ trailing,
1279
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentRowActions, {
1280
+ chain: chainActions,
1281
+ deleteDisabled,
1282
+ group,
1283
+ mode,
1284
+ onDelete: row.actions.remove,
1285
+ onEditGeometry: row.editGeometry,
1286
+ onExport: chainable ? exportSegment : void 0,
1287
+ onMenuOpenChange: row.setMenuOpen,
1288
+ onSetMode: row.actions.setMode,
1289
+ onSetSpeed: row.actions.setSpeed,
1290
+ onStartRename: row.startRename,
1291
+ pluginTarget: row.pluginTarget,
1292
+ posture: row.posture,
1293
+ speed: speedProps,
1294
+ triggerVisible: row.active || row.menuOpen
1295
+ })
1296
+ ]
1297
+ });
1298
+ });
1299
+ const SECTIONS$1 = [
1300
+ "agentLock",
1301
+ "collab",
1302
+ "import",
1303
+ "segmentEditor",
1304
+ "segmentGroup",
1305
+ "segmentMenu",
1306
+ "segments"
1307
+ ];
1308
+ const verbFailureSentence = (words, verb) => ({
1309
+ editBegin: words.segmentEditor.editGeometryFailed,
1310
+ groupDelete: words.segmentGroup.ungroupFailed,
1311
+ groupOpen: words.segmentGroup.openFailed,
1312
+ groupSetRange: words.segmentGroup.rangeFailed,
1313
+ insert: words.segmentEditor.insertFailed,
1314
+ merge: words.segmentEditor.mergeFailed,
1315
+ recolor: words.segmentEditor.saveFailed,
1316
+ remove: words.segmentEditor.deleteFailed,
1317
+ rename: words.segmentEditor.saveFailed,
1318
+ setMode: words.segmentEditor.setModeFailed,
1319
+ setSpeed: words.segmentEditor.saveFailed,
1320
+ splitPick: words.segmentEditor.splitFailed
1321
+ })[verb];
1322
+ const verbRefusal = (words, failure) => {
1323
+ const { result, verb } = failure;
1324
+ return verb === "remove" && !result.ok && result.code === "conflict" && !result.detail ? {
1325
+ ...result,
1326
+ detail: words.segmentEditor.deleteNotEdge
1327
+ } : result;
1328
+ };
1329
+ const reportVerbFailure = (report, words, failure) => {
1330
+ report(verbRefusal(words, failure), verbFailureSentence(words, failure.verb));
1331
+ };
1332
+ const LockedSegmentRow = ({ lockHolderId, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentRow, {
1333
+ ...props,
1334
+ peerLockHint: usePeerLockLabel(lockHolderId)
1335
+ });
1336
+ const PersistedSegmentRow = (0, react.memo)(function PersistedSegmentRow({ activityDefaultSpeed, activitySlug, groupActions, groupRail, insertMode, isCommitted, isFirst, isLast, itineraryId, mergeNextDisabledReason, mergePreviousDisabledReason, onExport, previousSegmentId, segment, splitDisabledReason }) {
1337
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$1);
1338
+ const unitFormat = require_useStudioUnits.useStudioUnits();
1339
+ const reportFailure = require_useStudioFailureAlert.useStudioFailureAlert();
1340
+ const resource = require_useBeginSegmentEdit.useActiveItineraryResource();
1341
+ const lockHolderId = require_useBeginSegmentEdit.usePeerLockHolderId(resource, "segment", segment.id);
1342
+ const onFailure = (0, react.useCallback)((failure) => reportVerbFailure(reportFailure, words, failure), [words, reportFailure]);
1343
+ const indicators = (0, react.useMemo)(() => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(AgentEntityIndicator, {
1344
+ id: segment.id,
1345
+ kind: "segment"
1346
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PeerEntityIndicator, {
1347
+ id: segment.id,
1348
+ kind: "segment"
1349
+ })] }), [segment.id]);
1350
+ const chain = (0, react.useMemo)(() => isCommitted ? {
1351
+ insertMode,
1352
+ mergeNextDisabledReason,
1353
+ mergePreviousDisabledReason,
1354
+ previousSegmentId,
1355
+ splitDisabledReason
1356
+ } : void 0, [
1357
+ insertMode,
1358
+ isCommitted,
1359
+ mergeNextDisabledReason,
1360
+ mergePreviousDisabledReason,
1361
+ previousSegmentId,
1362
+ splitDisabledReason
1363
+ ]);
1364
+ const rowProps = {
1365
+ activityDefaultSpeed,
1366
+ activitySlug: activitySlug ?? void 0,
1367
+ agentLockHint: words.agentLock.rowLocked,
1368
+ ascent: (0, _mountaya_elements_profile.formatElevation)(segment.ascent, unitFormat),
1369
+ chain,
1370
+ color: segment.color,
1371
+ deleteDisabled: !(isFirst || isLast),
1372
+ distance: (0, _mountaya_elements_profile.formatDistance)(segment.distance, unitFormat),
1373
+ distanceMeters: segment.distance,
1374
+ durationSeconds: segment.duration,
1375
+ group: groupActions,
1376
+ groupRail,
1377
+ indicators,
1378
+ itineraryId,
1379
+ mode: segment.mode,
1380
+ name: segment.name,
1381
+ onExport,
1382
+ onFailure,
1383
+ segmentId: segment.id,
1384
+ segmentName: segment.name,
1385
+ speed: segment.speed,
1386
+ unsavedHint: isCommitted ? null : words.segmentEditor.unsavedRowHint
1387
+ };
1388
+ return lockHolderId === null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentRow, {
1389
+ ...rowProps,
1390
+ peerLockHint: null
1391
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LockedSegmentRow, {
1392
+ ...rowProps,
1393
+ lockHolderId
1394
+ });
1395
+ });
1396
+ const DraftSegmentRow = (0, react.memo)(function DraftSegmentRow({ activityDefaultSpeed, activitySlug, isFirst, isLast, isOnly, liveSegment, previousEnd, segment }) {
1397
+ const { dispatch } = require_useStudioDispatch.useStudioDispatch();
1398
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS$1);
1399
+ const unitFormat = require_useStudioUnits.useStudioUnits();
1400
+ const reportFailure = require_useStudioFailureAlert.useStudioFailureAlert();
1401
+ const { toggleImportMode } = require_useWaypointRow.useSegmentRowActions({
1402
+ itineraryId: "",
1403
+ segmentId: segment.id
1404
+ });
1405
+ const onFailure = (0, react.useCallback)((failure) => reportVerbFailure(reportFailure, words, failure), [words, reportFailure]);
1406
+ const onEditGeometry = (0, react.useCallback)(() => {
1407
+ (0, _mountaya_studio.beginDraftSegmentEdit)(dispatch, segment, {
1408
+ isFirst,
1409
+ previousEnd
1410
+ }, activitySlug).then((result) => {
1411
+ if (result !== null && !result.ok) reportFailure(result, verbFailureSentence(words, "editBegin"));
1412
+ });
1413
+ }, [
1414
+ activitySlug,
1415
+ dispatch,
1416
+ words,
1417
+ isFirst,
1418
+ previousEnd,
1419
+ reportFailure,
1420
+ segment
1421
+ ]);
1422
+ const chosen = segment.mode === "directions" && segment.directions ? segment.directions : segment.linestring;
1423
+ const ascentMeters = liveSegment?.ascent ?? chosen.elevation?.ascent ?? chosen.ascent ?? null;
1424
+ const distance = liveSegment?.distance ?? chosen.distance ?? null;
1425
+ const canToggle = segment.directions !== null && !segment.snapLocked;
1426
+ const modeTooltip = (mode) => {
1427
+ const verb = mode === "directions" ? words.import.segmentMode.snapTooltip : words.import.segmentMode.exactTooltip;
1428
+ const candidate = mode === "directions" ? segment.directions : segment.linestring;
1429
+ const measured = candidate?.distance != null ? (0, _mountaya_elements_profile.formatDistance)(candidate.distance, unitFormat) : "";
1430
+ return require_RowMetadata.joinMetadata([verb, measured]);
1431
+ };
1432
+ const reasonMessage = segment.mode === "linestring" && segment.recommendationReason !== null ? (0, _mountaya_studio.importReasonSentence)(words, segment.recommendationReason) : null;
1433
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentRow, {
1434
+ activityDefaultSpeed,
1435
+ agentLockHint: words.agentLock.rowLocked,
1436
+ ascent: (0, _mountaya_elements_profile.formatElevation)(ascentMeters, unitFormat),
1437
+ color: segment.color,
1438
+ deleteDisabled: !(isFirst || isLast) || isOnly,
1439
+ distance: (0, _mountaya_elements_profile.formatDistance)(distance, unitFormat),
1440
+ distanceMeters: distance,
1441
+ mode: segment.mode,
1442
+ name: segment.name,
1443
+ onEditGeometry,
1444
+ onFailure,
1445
+ peerLockHint: null,
1446
+ reasonMessage,
1447
+ segmentId: segment.id,
1448
+ segmentName: segment.name,
1449
+ speed: segment.speed,
1450
+ trailing: canToggle ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_StudioSegmentedControl.StudioSegmentedControl, {
1451
+ data: [{
1452
+ label: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentIcon, {
1453
+ glyph: "routed",
1454
+ label: modeTooltip("directions")
1455
+ }),
1456
+ value: "directions"
1457
+ }, {
1458
+ label: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SegmentIcon, {
1459
+ glyph: "freehand",
1460
+ label: modeTooltip("linestring")
1461
+ }),
1462
+ value: "linestring"
1463
+ }],
1464
+ onChange: toggleImportMode,
1465
+ value: segment.mode
1466
+ }) : null
1467
+ });
1468
+ });
1469
+ const SidenavContentBody = ({ children }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Stack, {
1470
+ gap: "md",
1471
+ mih: "100%",
1472
+ p: "md",
1473
+ children
1474
+ });
1475
+ const SidenavContentFormBody = ({ children }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StudioFormStack, {
1476
+ mih: "100%",
1477
+ p: "md",
1478
+ children
1479
+ });
1480
+ const SECTIONS = ["segments", "waypointEditor"];
1481
+ const LazySegmentColorPicker = (0, react.lazy)(() => Promise.resolve().then(() => require("./chunk-TYmd7TzW.cjs")).then((module) => ({ default: module.SegmentColorPicker })));
1482
+ const diskBaseStyle = {
1483
+ alignItems: "center",
1484
+ borderRadius: "50%",
1485
+ color: "white",
1486
+ display: "flex",
1487
+ height: 28,
1488
+ justifyContent: "center",
1489
+ width: 28
1490
+ };
1491
+ const WaypointIconCircle = ({ color, colorless = false, disabled = false, icon, itineraryId, label, session = false, waypointId }) => {
1492
+ const words = require_studioStrings.useStudioScopedStrings(SECTIONS);
1493
+ const { recolor, setIcon } = require_useWaypointRow.useWaypointRowActions({
1494
+ itineraryId: itineraryId ?? "",
1495
+ session,
1496
+ waypointId
1497
+ });
1498
+ const [opened, setOpened] = (0, react.useState)(false);
1499
+ const [draftColor, setDraftColor] = (0, react.useState)(color ?? _mountaya_elements_icons.DEFAULT_WAYPOINT_COLOR);
1500
+ const open = () => {
1501
+ setDraftColor(color ?? _mountaya_elements_icons.DEFAULT_WAYPOINT_COLOR);
1502
+ setOpened(true);
1503
+ };
1504
+ require_useEscapeKey.useEscapeKey(() => setOpened(false), opened);
1505
+ const resolvedColor = opened && !colorless ? draftColor : color ?? _mountaya_elements_icons.DEFAULT_WAYPOINT_COLOR;
1506
+ const Glyph = require_waypointGlyphs.waypointGlyphTable[icon ?? "map-pin"];
1507
+ const pickerSelection = icon === null ? null : _mountaya_studio.userWaypointIconSchema.safeParse(icon).data ?? null;
1508
+ const diskStyle = (0, react.useMemo)(() => ({
1509
+ ...diskBaseStyle,
1510
+ backgroundColor: resolvedColor
1511
+ }), [resolvedColor]);
1512
+ if (disabled) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.UnstyledButton, {
1513
+ "aria-disabled": true,
1514
+ "aria-label": label,
1515
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Box, {
1516
+ style: diskStyle,
1517
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Glyph, { size: require_sizing.iconSizes.sm })
1518
+ })
1519
+ });
1520
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Popover, {
1521
+ onChange: setOpened,
1522
+ opened,
1523
+ position: "bottom-start",
1524
+ preventPositionChangeWhenVisible: false,
1525
+ withArrow: true,
1526
+ withinPortal: true,
1527
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Popover.Target, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.UnstyledButton, {
1528
+ "aria-label": label,
1529
+ onClick: open,
1530
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Box, {
1531
+ style: diskStyle,
1532
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Glyph, { size: require_sizing.iconSizes.sm })
1533
+ })
1534
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Popover.Dropdown, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Group, {
1535
+ align: "flex-start",
1536
+ gap: "md",
1537
+ wrap: "nowrap",
1538
+ children: [colorless ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Box, {
1539
+ "aria-label": words.waypointEditor.colorLabel,
1540
+ role: "group",
1541
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react.Suspense, {
1542
+ fallback: null,
1543
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LazySegmentColorPicker, {
1544
+ onChange: setDraftColor,
1545
+ onChangeEnd: recolor,
1546
+ value: draftColor
1547
+ })
1548
+ })
1549
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Box, {
1550
+ "aria-label": words.waypointEditor.iconLabel,
1551
+ role: "group",
1552
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WaypointIconPicker.WaypointIconPicker, {
1553
+ onChange: setIcon,
1554
+ value: pickerSelection
1555
+ })
1556
+ })]
1557
+ }) })]
1558
+ });
1559
+ };
1560
+ const nameColumnStyle = {
1561
+ flex: 1,
1562
+ minWidth: 0
1563
+ };
1564
+ const triggerVisibleStyle = { opacity: 1 };
1565
+ const triggerHiddenStyle = { opacity: 0 };
1566
+ const ELEMENT_SECTIONS$1 = ["waypoints"];
1567
+ const isDisplayName = (name) => _mountaya_studio.displayNameSchema.safeParse(name).success;
1568
+ const WaypointRowLayout = ({ details, iconCircle, indicator, lockHint = null, mapHovered, menuItems, name, onBodyClick, onMouseEnter, onMouseLeave, onRename, onStartRename, ref, rowRef }) => {
1569
+ const strings = (0, _mountaya_elements_react.useMountayaScopedStrings)(ELEMENT_SECTIONS$1).waypoints;
1570
+ const commitRename = (0, react.useCallback)((next) => onRename?.(next), [onRename]);
1571
+ const rename = require_useWaypointRow.useInlineRename({
1572
+ locked: lockHint !== null,
1573
+ name,
1574
+ onCommit: commitRename,
1575
+ validate: isDisplayName
1576
+ });
1577
+ const { editing } = rename;
1578
+ const startRename = (0, react.useCallback)(() => {
1579
+ onStartRename?.();
1580
+ rename.start();
1581
+ }, [onStartRename, rename.start]);
1582
+ (0, react.useImperativeHandle)(ref, () => ({ startRenaming: startRename }), [startRename]);
1583
+ const [active, setActive] = (0, react.useState)(false);
1584
+ const [menuOpened, setMenuOpened] = (0, react.useState)(false);
1585
+ const onRowMouseEnter = (0, react.useCallback)(() => {
1586
+ setActive(true);
1587
+ onMouseEnter?.();
1588
+ }, [onMouseEnter]);
1589
+ const onRowMouseLeave = (0, react.useCallback)(() => {
1590
+ setActive(false);
1591
+ onMouseLeave?.();
1592
+ }, [onMouseLeave]);
1593
+ const onRowBlur = (0, react.useCallback)((event) => {
1594
+ if (!event.currentTarget.contains(event.relatedTarget)) setActive(false);
1595
+ }, []);
1596
+ const bodyContent = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
1597
+ size: "xs",
1598
+ children: name
1599
+ }), details] });
1600
+ const displayOnly = menuItems === void 0 && onRename === void 0 && onBodyClick === void 0;
1601
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Group, {
1602
+ align: "center",
1603
+ "aria-disabled": lockHint !== null || void 0,
1604
+ "data-editing": editing || void 0,
1605
+ "data-map-hovered": mapHovered || void 0,
1606
+ "data-menu-open": menuOpened || void 0,
1607
+ "data-readonly": displayOnly || void 0,
1608
+ onBlur: onRowBlur,
1609
+ onFocus: () => setActive(true),
1610
+ onMouseEnter: onRowMouseEnter,
1611
+ onMouseLeave: onRowMouseLeave,
1612
+ ref: rowRef,
1613
+ children: [
1614
+ iconCircle,
1615
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Stack, {
1616
+ gap: "xxs",
1617
+ style: nameColumnStyle,
1618
+ children: editing ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RenameInput, {
1619
+ ariaLabel: strings.renameLabel,
1620
+ details,
1621
+ errorMessage: strings.renameError,
1622
+ onBlur: rename.inputProps.onBlur,
1623
+ onChange: rename.inputProps.onChange,
1624
+ onKeyDown: rename.inputProps.onKeyDown,
1625
+ value: rename.value
1626
+ }) : lockHint !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LockTooltip, {
1627
+ label: lockHint,
1628
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.UnstyledButton, {
1629
+ "aria-disabled": true,
1630
+ children: bodyContent
1631
+ })
1632
+ }) : displayOnly ? bodyContent : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.UnstyledButton, {
1633
+ onClick: onBodyClick,
1634
+ onDoubleClick: onRename === void 0 ? void 0 : startRename,
1635
+ children: bodyContent
1636
+ })
1637
+ }),
1638
+ indicator,
1639
+ menuItems === void 0 ? null : lockHint !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledActionsButton, {
1640
+ ariaLabel: strings.menuLabel,
1641
+ tooltipLabel: lockHint
1642
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_mantine_core.Menu, {
1643
+ onChange: setMenuOpened,
1644
+ position: "bottom-end",
1645
+ withinPortal: true,
1646
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Target, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.ActionIcon, {
1647
+ "aria-label": strings.menuLabel,
1648
+ className: "mtya-menu-trigger",
1649
+ style: active || menuOpened ? triggerVisibleStyle : triggerHiddenStyle,
1650
+ variant: "subtle",
1651
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
1652
+ name: "more",
1653
+ size: require_sizing.iconSizes.sm
1654
+ })
1655
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Dropdown, { children: menuItems })]
1656
+ })
1657
+ ]
1658
+ });
1659
+ };
1660
+ const ELEMENT_SECTIONS = ["waypoints"];
1661
+ const WaypointRow = (0, react.memo)(function WaypointRow({ iconCircle, indicators, menuItems: hostItems, mode, name, onBodyClick, readOnly = false, ...options }) {
1662
+ const strings = (0, _mountaya_elements_react.useMountayaScopedStrings)(ELEMENT_SECTIONS).waypoints;
1663
+ const layoutRef = (0, react.useRef)(null);
1664
+ const row = require_useWaypointRow.useWaypointRow(options);
1665
+ const pluginItems = require_usePluginSlot.usePluginSlot("waypoint.menu", row.pluginTarget);
1666
+ const onStartRename = row.cancelMove;
1667
+ const startRenaming = (0, react.useCallback)(() => layoutRef.current?.startRenaming(), []);
1668
+ const locked = row.lockHint !== null;
1669
+ const movable = !readOnly && row.moveOnMap !== void 0 && !locked;
1670
+ const bodyAction = (0, react.useCallback)(() => {
1671
+ if (onBodyClick !== void 0) row.deferBodyClick(onBodyClick);
1672
+ }, [onBodyClick, row.deferBodyClick]);
1673
+ const menuItems = readOnly ? void 0 : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
1674
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
1675
+ fz: "xs",
1676
+ leftSection: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
1677
+ name: "action-rename",
1678
+ size: require_sizing.iconSizes.sm
1679
+ }),
1680
+ onClick: startRenaming,
1681
+ children: strings.menuRename
1682
+ }),
1683
+ hostItems,
1684
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PluginMenuItems, { items: pluginItems }),
1685
+ movable ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
1686
+ fz: "xs",
1687
+ leftSection: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
1688
+ name: "action-move",
1689
+ size: require_sizing.iconSizes.sm
1690
+ }),
1691
+ onClick: row.moveOnMap,
1692
+ children: strings.menuMove
1693
+ }) : null,
1694
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Divider, {}),
1695
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Menu.Item, {
1696
+ color: "red",
1697
+ fz: "xs",
1698
+ leftSection: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sizing.Glyph, {
1699
+ name: "action-delete",
1700
+ size: require_sizing.iconSizes.sm
1701
+ }),
1702
+ onClick: row.actions.remove,
1703
+ children: strings.menuDelete
1704
+ })
1705
+ ] });
1706
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(WaypointRowLayout, {
1707
+ details: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Text, {
1708
+ c: "dimmed",
1709
+ size: "xs",
1710
+ children: mode === "poi" ? strings.modePoi : strings.modePoint
1711
+ }),
1712
+ iconCircle,
1713
+ indicator: indicators,
1714
+ lockHint: row.lockHint,
1715
+ mapHovered: row.mapHovered,
1716
+ menuItems,
1717
+ name,
1718
+ onBodyClick: onBodyClick !== void 0 ? bodyAction : movable ? row.moveOnMap : void 0,
1719
+ onMouseEnter: row.onMouseEnter,
1720
+ onMouseLeave: row.onMouseLeave,
1721
+ onRename: readOnly ? void 0 : row.actions.rename,
1722
+ onStartRename,
1723
+ ref: layoutRef,
1724
+ rowRef: row.rowRef
1725
+ });
1726
+ });
1727
+ Object.defineProperty(exports, "ActivityGuideProvider", {
1728
+ enumerable: true,
1729
+ get: function() {
1730
+ return ActivityGuideProvider;
1731
+ }
1732
+ });
1733
+ Object.defineProperty(exports, "ActivitySelect", {
1734
+ enumerable: true,
1735
+ get: function() {
1736
+ return ActivitySelect;
1737
+ }
1738
+ });
1739
+ Object.defineProperty(exports, "AgentEntityIndicator", {
1740
+ enumerable: true,
1741
+ get: function() {
1742
+ return AgentEntityIndicator;
1743
+ }
1744
+ });
1745
+ Object.defineProperty(exports, "DisabledActionsButton", {
1746
+ enumerable: true,
1747
+ get: function() {
1748
+ return DisabledActionsButton;
1749
+ }
1750
+ });
1751
+ Object.defineProperty(exports, "DisabledMenuItem", {
1752
+ enumerable: true,
1753
+ get: function() {
1754
+ return DisabledMenuItem;
1755
+ }
1756
+ });
1757
+ Object.defineProperty(exports, "DraftSegmentRow", {
1758
+ enumerable: true,
1759
+ get: function() {
1760
+ return DraftSegmentRow;
1761
+ }
1762
+ });
1763
+ Object.defineProperty(exports, "ImportRoutingGuideProvider", {
1764
+ enumerable: true,
1765
+ get: function() {
1766
+ return ImportRoutingGuideProvider;
1767
+ }
1768
+ });
1769
+ Object.defineProperty(exports, "LockTooltip", {
1770
+ enumerable: true,
1771
+ get: function() {
1772
+ return LockTooltip;
1773
+ }
1774
+ });
1775
+ Object.defineProperty(exports, "PeerEntityIndicator", {
1776
+ enumerable: true,
1777
+ get: function() {
1778
+ return PeerEntityIndicator;
1779
+ }
1780
+ });
1781
+ Object.defineProperty(exports, "PersistedSegmentRow", {
1782
+ enumerable: true,
1783
+ get: function() {
1784
+ return PersistedSegmentRow;
1785
+ }
1786
+ });
1787
+ Object.defineProperty(exports, "PluginMenuItems", {
1788
+ enumerable: true,
1789
+ get: function() {
1790
+ return PluginMenuItems;
1791
+ }
1792
+ });
1793
+ Object.defineProperty(exports, "RenameInput", {
1794
+ enumerable: true,
1795
+ get: function() {
1796
+ return RenameInput;
1797
+ }
1798
+ });
1799
+ Object.defineProperty(exports, "SegmentIcon", {
1800
+ enumerable: true,
1801
+ get: function() {
1802
+ return SegmentIcon;
1803
+ }
1804
+ });
1805
+ Object.defineProperty(exports, "SegmentRow", {
1806
+ enumerable: true,
1807
+ get: function() {
1808
+ return SegmentRow;
1809
+ }
1810
+ });
1811
+ Object.defineProperty(exports, "SegmentRowBody", {
1812
+ enumerable: true,
1813
+ get: function() {
1814
+ return SegmentRowBody;
1815
+ }
1816
+ });
1817
+ Object.defineProperty(exports, "SidenavContentBody", {
1818
+ enumerable: true,
1819
+ get: function() {
1820
+ return SidenavContentBody;
1821
+ }
1822
+ });
1823
+ Object.defineProperty(exports, "SidenavContentFormBody", {
1824
+ enumerable: true,
1825
+ get: function() {
1826
+ return SidenavContentFormBody;
1827
+ }
1828
+ });
1829
+ Object.defineProperty(exports, "StudioFormStack", {
1830
+ enumerable: true,
1831
+ get: function() {
1832
+ return StudioFormStack;
1833
+ }
1834
+ });
1835
+ Object.defineProperty(exports, "WaypointIconCircle", {
1836
+ enumerable: true,
1837
+ get: function() {
1838
+ return WaypointIconCircle;
1839
+ }
1840
+ });
1841
+ Object.defineProperty(exports, "WaypointRow", {
1842
+ enumerable: true,
1843
+ get: function() {
1844
+ return WaypointRow;
1845
+ }
1846
+ });
1847
+ Object.defineProperty(exports, "reportVerbFailure", {
1848
+ enumerable: true,
1849
+ get: function() {
1850
+ return reportVerbFailure;
1851
+ }
1852
+ });
1853
+ Object.defineProperty(exports, "showsFocus", {
1854
+ enumerable: true,
1855
+ get: function() {
1856
+ return showsFocus;
1857
+ }
1858
+ });
1859
+ Object.defineProperty(exports, "useActivityGuide", {
1860
+ enumerable: true,
1861
+ get: function() {
1862
+ return useActivityGuide;
1863
+ }
1864
+ });
1865
+ Object.defineProperty(exports, "useImportRoutingGuide", {
1866
+ enumerable: true,
1867
+ get: function() {
1868
+ return useImportRoutingGuide;
1869
+ }
1870
+ });
1871
+ Object.defineProperty(exports, "usePeerLockLabel", {
1872
+ enumerable: true,
1873
+ get: function() {
1874
+ return usePeerLockLabel;
1875
+ }
1876
+ });
1877
+ Object.defineProperty(exports, "usePeerLockLabels", {
1878
+ enumerable: true,
1879
+ get: function() {
1880
+ return usePeerLockLabels;
1881
+ }
1882
+ });
1883
+ Object.defineProperty(exports, "verbFailureSentence", {
1884
+ enumerable: true,
1885
+ get: function() {
1886
+ return verbFailureSentence;
1887
+ }
1888
+ });
1889
+
1890
+ //# sourceMappingURL=chunk-vN_Di8Af.cjs.map