@mountaya/elements 0.0.0-stage → 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 (828) hide show
  1. package/CHANGELOG.md +273 -0
  2. package/LICENCE.fr.txt +280 -0
  3. package/LICENSE.txt +262 -0
  4. package/README.md +1510 -2
  5. package/THIRD-PARTY-NOTICES.txt +103 -0
  6. package/dist/agent/index.cjs +1211 -0
  7. package/dist/agent/index.cjs.map +1 -0
  8. package/dist/agent/index.d.cts +1966 -0
  9. package/dist/agent/index.d.ts +1966 -0
  10. package/dist/agent/index.js +1181 -0
  11. package/dist/agent/index.js.map +1 -0
  12. package/dist/camera/index.cjs +2512 -0
  13. package/dist/camera/index.cjs.map +1 -0
  14. package/dist/camera/index.d.cts +1723 -0
  15. package/dist/camera/index.d.ts +1723 -0
  16. package/dist/camera/index.js +2443 -0
  17. package/dist/camera/index.js.map +1 -0
  18. package/dist/chunk-5pTPpv4v.d.cts +897 -0
  19. package/dist/chunk-5pTPpv4v.d.ts +897 -0
  20. package/dist/chunk-6JzFMFHh.d.ts +119 -0
  21. package/dist/chunk-6qyuJVvt.d.ts +513 -0
  22. package/dist/chunk-9fp0lDic.cjs +583 -0
  23. package/dist/chunk-9fp0lDic.cjs.map +1 -0
  24. package/dist/chunk-A48H1rDg.d.cts +73 -0
  25. package/dist/chunk-A48H1rDg.d.ts +73 -0
  26. package/dist/chunk-B-m1AchR.cjs +57 -0
  27. package/dist/chunk-B-m1AchR.cjs.map +1 -0
  28. package/dist/chunk-B-qFTf04.d.ts +216 -0
  29. package/dist/chunk-B0YROiZh.d.cts +1475 -0
  30. package/dist/chunk-B14wgOvH.d.cts +68 -0
  31. package/dist/chunk-B19l3j9r.cjs +150 -0
  32. package/dist/chunk-B19l3j9r.cjs.map +1 -0
  33. package/dist/chunk-B2PtjVKg.cjs +86 -0
  34. package/dist/chunk-B2PtjVKg.cjs.map +1 -0
  35. package/dist/chunk-B56Oyb7W.cjs +70 -0
  36. package/dist/chunk-B56Oyb7W.cjs.map +1 -0
  37. package/dist/chunk-B5WGMQwK.cjs +113 -0
  38. package/dist/chunk-B5WGMQwK.cjs.map +1 -0
  39. package/dist/chunk-B98mKrdu.d.cts +302 -0
  40. package/dist/chunk-BB0PmqIM.d.cts +44 -0
  41. package/dist/chunk-BBikve0Z.cjs +269 -0
  42. package/dist/chunk-BBikve0Z.cjs.map +1 -0
  43. package/dist/chunk-BHeXmM0X.js +37 -0
  44. package/dist/chunk-BHeXmM0X.js.map +1 -0
  45. package/dist/chunk-BI8WZLpU.cjs +281 -0
  46. package/dist/chunk-BI8WZLpU.cjs.map +1 -0
  47. package/dist/chunk-BIEc_SkR.cjs +29 -0
  48. package/dist/chunk-BIEc_SkR.cjs.map +1 -0
  49. package/dist/chunk-BJ6L6_W9.cjs +553 -0
  50. package/dist/chunk-BJ6L6_W9.cjs.map +1 -0
  51. package/dist/chunk-BJ91UCbB.js +11 -0
  52. package/dist/chunk-BJ91UCbB.js.map +1 -0
  53. package/dist/chunk-BJEZWTKj.cjs +166 -0
  54. package/dist/chunk-BJEZWTKj.cjs.map +1 -0
  55. package/dist/chunk-BJz54mfg.cjs +10 -0
  56. package/dist/chunk-BJz54mfg.cjs.map +1 -0
  57. package/dist/chunk-BNX5LAfN.d.cts +912 -0
  58. package/dist/chunk-BP6KgA86.js +35 -0
  59. package/dist/chunk-BP6KgA86.js.map +1 -0
  60. package/dist/chunk-BRnjQq6K.d.cts +157 -0
  61. package/dist/chunk-BSiMEwPS.js +46 -0
  62. package/dist/chunk-BSiMEwPS.js.map +1 -0
  63. package/dist/chunk-BTPjDw_y.cjs +16 -0
  64. package/dist/chunk-BTPjDw_y.cjs.map +1 -0
  65. package/dist/chunk-BTUUABGI.js +17 -0
  66. package/dist/chunk-BTUUABGI.js.map +1 -0
  67. package/dist/chunk-BUeL9y7s.cjs +45 -0
  68. package/dist/chunk-BUeL9y7s.cjs.map +1 -0
  69. package/dist/chunk-BWMuCNc9.cjs +172 -0
  70. package/dist/chunk-BWMuCNc9.cjs.map +1 -0
  71. package/dist/chunk-BWjRfhpF.js +126 -0
  72. package/dist/chunk-BWjRfhpF.js.map +1 -0
  73. package/dist/chunk-BZ5KyZXI.d.ts +302 -0
  74. package/dist/chunk-B_4SVmvh.js +94 -0
  75. package/dist/chunk-B_4SVmvh.js.map +1 -0
  76. package/dist/chunk-BcTUuZQ3.js +95 -0
  77. package/dist/chunk-BcTUuZQ3.js.map +1 -0
  78. package/dist/chunk-BdkqSsJe.cjs +140 -0
  79. package/dist/chunk-BdkqSsJe.cjs.map +1 -0
  80. package/dist/chunk-BfktMVmI.js +70 -0
  81. package/dist/chunk-BfktMVmI.js.map +1 -0
  82. package/dist/chunk-BfzQb0EK.cjs +6 -0
  83. package/dist/chunk-BhWfT-22.d.cts +808 -0
  84. package/dist/chunk-BjJcqX5J.cjs +60 -0
  85. package/dist/chunk-BjJcqX5J.cjs.map +1 -0
  86. package/dist/chunk-Bk0L8g5J.d.cts +77 -0
  87. package/dist/chunk-Bk0L8g5J.d.ts +77 -0
  88. package/dist/chunk-Bl4_uVa6.cjs +11 -0
  89. package/dist/chunk-Bl4_uVa6.cjs.map +1 -0
  90. package/dist/chunk-BlKF4lrp.js +43 -0
  91. package/dist/chunk-BlKF4lrp.js.map +1 -0
  92. package/dist/chunk-Bm1FieGR.js +4 -0
  93. package/dist/chunk-Bm1FieGR.js.map +1 -0
  94. package/dist/chunk-Bn6ZbxkS.cjs +27 -0
  95. package/dist/chunk-BpN3hr6a.cjs +541 -0
  96. package/dist/chunk-BpN3hr6a.cjs.map +1 -0
  97. package/dist/chunk-Bq_WHTfd.d.cts +119 -0
  98. package/dist/chunk-Bqt4LBBz.cjs +648 -0
  99. package/dist/chunk-Bqt4LBBz.cjs.map +1 -0
  100. package/dist/chunk-Bqt97zwf.d.cts +54 -0
  101. package/dist/chunk-Bqt97zwf.d.ts +54 -0
  102. package/dist/chunk-BsBiN4w6.d.cts +245 -0
  103. package/dist/chunk-BvTpOUoC.cjs +207 -0
  104. package/dist/chunk-BvTpOUoC.cjs.map +1 -0
  105. package/dist/chunk-BwK6Hl3q.cjs +446 -0
  106. package/dist/chunk-BwK6Hl3q.cjs.map +1 -0
  107. package/dist/chunk-BxDQZDXR.d.cts +76 -0
  108. package/dist/chunk-BxDQZDXR.d.ts +76 -0
  109. package/dist/chunk-BxUio8kX.js +20 -0
  110. package/dist/chunk-BxUio8kX.js.map +1 -0
  111. package/dist/chunk-BxaocpFi.d.cts +1 -0
  112. package/dist/chunk-Bywi0K1N.js +36 -0
  113. package/dist/chunk-Bywi0K1N.js.map +1 -0
  114. package/dist/chunk-C-IlmkDl.js +59 -0
  115. package/dist/chunk-C-IlmkDl.js.map +1 -0
  116. package/dist/chunk-C5PtVewq.d.ts +389 -0
  117. package/dist/chunk-C5dpC7mQ.js +19 -0
  118. package/dist/chunk-C5dpC7mQ.js.map +1 -0
  119. package/dist/chunk-C5q1sgSa.js +46 -0
  120. package/dist/chunk-C5q1sgSa.js.map +1 -0
  121. package/dist/chunk-C6fU9G5I.cjs +221 -0
  122. package/dist/chunk-C6fU9G5I.cjs.map +1 -0
  123. package/dist/chunk-C71dpWUK.js +5 -0
  124. package/dist/chunk-C71dpWUK.js.map +1 -0
  125. package/dist/chunk-C82N1gQX.d.ts +1831 -0
  126. package/dist/chunk-C8HdaHpu.js +118 -0
  127. package/dist/chunk-C8HdaHpu.js.map +1 -0
  128. package/dist/chunk-C8ZGryck.js +236 -0
  129. package/dist/chunk-C8ZGryck.js.map +1 -0
  130. package/dist/chunk-C95NG0oD.cjs +43 -0
  131. package/dist/chunk-C95NG0oD.cjs.map +1 -0
  132. package/dist/chunk-C9aR8DXb.js +9 -0
  133. package/dist/chunk-C9aR8DXb.js.map +1 -0
  134. package/dist/chunk-CAUZnoCs.d.ts +525 -0
  135. package/dist/chunk-CBXWWuM9.cjs +82 -0
  136. package/dist/chunk-CBXWWuM9.cjs.map +1 -0
  137. package/dist/chunk-CC_Kquu7.d.cts +125 -0
  138. package/dist/chunk-CC_Kquu7.d.ts +125 -0
  139. package/dist/chunk-CCp85vXg.cjs +60 -0
  140. package/dist/chunk-CCp85vXg.cjs.map +1 -0
  141. package/dist/chunk-CEcB1_uK.js +39 -0
  142. package/dist/chunk-CEcB1_uK.js.map +1 -0
  143. package/dist/chunk-CFIo021l.d.cts +216 -0
  144. package/dist/chunk-CH_IZoJE.js +33 -0
  145. package/dist/chunk-CH_IZoJE.js.map +1 -0
  146. package/dist/chunk-CHrasH_g.cjs +25 -0
  147. package/dist/chunk-CHrasH_g.cjs.map +1 -0
  148. package/dist/chunk-CJVoSaAE.cjs +3 -0
  149. package/dist/chunk-CJp8nGcb.js +96 -0
  150. package/dist/chunk-CJp8nGcb.js.map +1 -0
  151. package/dist/chunk-CJwUtkOt.js +112 -0
  152. package/dist/chunk-CJwUtkOt.js.map +1 -0
  153. package/dist/chunk-CKhCOVIf.d.cts +751 -0
  154. package/dist/chunk-CKiVSRYg.js +50 -0
  155. package/dist/chunk-CKiVSRYg.js.map +1 -0
  156. package/dist/chunk-CKtd19eD.cjs +59 -0
  157. package/dist/chunk-CKtd19eD.cjs.map +1 -0
  158. package/dist/chunk-CL92KE3j.d.ts +3188 -0
  159. package/dist/chunk-CLqUlkAe.js +54 -0
  160. package/dist/chunk-CLqUlkAe.js.map +1 -0
  161. package/dist/chunk-CMG5OV0q.cjs +4741 -0
  162. package/dist/chunk-CMG5OV0q.cjs.map +1 -0
  163. package/dist/chunk-CN_TKSgm.js +10 -0
  164. package/dist/chunk-CN_TKSgm.js.map +1 -0
  165. package/dist/chunk-CNe6MtqV.cjs +29 -0
  166. package/dist/chunk-CNe6MtqV.cjs.map +1 -0
  167. package/dist/chunk-COQkDTC5.js +83 -0
  168. package/dist/chunk-COQkDTC5.js.map +1 -0
  169. package/dist/chunk-CPBl6K4M.cjs +168 -0
  170. package/dist/chunk-CPBl6K4M.cjs.map +1 -0
  171. package/dist/chunk-CPx0ZYFB.d.ts +3 -0
  172. package/dist/chunk-CQQhcP_C.d.ts +197 -0
  173. package/dist/chunk-CTNoajFh.d.cts +389 -0
  174. package/dist/chunk-CTd-qgJc.cjs +384 -0
  175. package/dist/chunk-CTd-qgJc.cjs.map +1 -0
  176. package/dist/chunk-CW80YYtU.cjs +1056 -0
  177. package/dist/chunk-CW80YYtU.cjs.map +1 -0
  178. package/dist/chunk-CWpqBgkF.d.cts +24 -0
  179. package/dist/chunk-CWpqBgkF.d.ts +24 -0
  180. package/dist/chunk-CXjRArgy.d.ts +3 -0
  181. package/dist/chunk-CXonfH3-.cjs +14 -0
  182. package/dist/chunk-CXonfH3-.cjs.map +1 -0
  183. package/dist/chunk-CYcouGXN.d.ts +825 -0
  184. package/dist/chunk-CZDAzEBw.cjs +1621 -0
  185. package/dist/chunk-CZDAzEBw.cjs.map +1 -0
  186. package/dist/chunk-C_fQFr70.d.cts +159 -0
  187. package/dist/chunk-C_fQFr70.d.ts +159 -0
  188. package/dist/chunk-CbOtHnnB.cjs +359 -0
  189. package/dist/chunk-CbOtHnnB.cjs.map +1 -0
  190. package/dist/chunk-CdA6ZMGk.d.cts +825 -0
  191. package/dist/chunk-Ce1_thm7.js +146 -0
  192. package/dist/chunk-Ce1_thm7.js.map +1 -0
  193. package/dist/chunk-CeD8Hw0j.d.cts +3188 -0
  194. package/dist/chunk-CeiTuMyt.d.cts +525 -0
  195. package/dist/chunk-Ch1OLzLi.js +1 -0
  196. package/dist/chunk-Cizu_j1N.cjs +87 -0
  197. package/dist/chunk-Cizu_j1N.cjs.map +1 -0
  198. package/dist/chunk-CjDe9z6A.d.cts +427 -0
  199. package/dist/chunk-Cl1etdlu.js +63 -0
  200. package/dist/chunk-Cl1etdlu.js.map +1 -0
  201. package/dist/chunk-CmoVJDoz.js +4 -0
  202. package/dist/chunk-CmoVJDoz.js.map +1 -0
  203. package/dist/chunk-CnLucxjG.cjs +197 -0
  204. package/dist/chunk-CnLucxjG.cjs.map +1 -0
  205. package/dist/chunk-CsWjBmdi.cjs +56 -0
  206. package/dist/chunk-CsWjBmdi.cjs.map +1 -0
  207. package/dist/chunk-CuseO5MZ.d.cts +3 -0
  208. package/dist/chunk-CvMHibbA.d.ts +427 -0
  209. package/dist/chunk-CwDeiN5U.js +870 -0
  210. package/dist/chunk-CwDeiN5U.js.map +1 -0
  211. package/dist/chunk-Cwdmx4tG.js +1 -0
  212. package/dist/chunk-D-4MxHTt.d.cts +105 -0
  213. package/dist/chunk-D-4MxHTt.d.ts +105 -0
  214. package/dist/chunk-D0LF-99V.js +1093 -0
  215. package/dist/chunk-D0LF-99V.js.map +1 -0
  216. package/dist/chunk-D1fe-0c_.js +367 -0
  217. package/dist/chunk-D1fe-0c_.js.map +1 -0
  218. package/dist/chunk-D21fEI6A.d.ts +1926 -0
  219. package/dist/chunk-D39gAxya.cjs +89 -0
  220. package/dist/chunk-D39gAxya.cjs.map +1 -0
  221. package/dist/chunk-D6KdIW5e.cjs +228 -0
  222. package/dist/chunk-D6KdIW5e.cjs.map +1 -0
  223. package/dist/chunk-D6qHYbgW.d.cts +36 -0
  224. package/dist/chunk-D89E-w70.d.ts +44 -0
  225. package/dist/chunk-D8bdTysL.js +552 -0
  226. package/dist/chunk-D8bdTysL.js.map +1 -0
  227. package/dist/chunk-D96QJT24.cjs +109 -0
  228. package/dist/chunk-D96QJT24.cjs.map +1 -0
  229. package/dist/chunk-DAmkQl-i.js +119 -0
  230. package/dist/chunk-DAmkQl-i.js.map +1 -0
  231. package/dist/chunk-DEfsb2lc.cjs +10 -0
  232. package/dist/chunk-DEfsb2lc.cjs.map +1 -0
  233. package/dist/chunk-DIFjT5-V.d.cts +66 -0
  234. package/dist/chunk-DJpUw8TN.d.ts +912 -0
  235. package/dist/chunk-DK6lm2IZ.cjs +11 -0
  236. package/dist/chunk-DK6lm2IZ.cjs.map +1 -0
  237. package/dist/chunk-DKqgr31j.cjs +61 -0
  238. package/dist/chunk-DKqgr31j.cjs.map +1 -0
  239. package/dist/chunk-DLZ0QYm9.js +37 -0
  240. package/dist/chunk-DLZ0QYm9.js.map +1 -0
  241. package/dist/chunk-DLjS0uaC.js +4 -0
  242. package/dist/chunk-DLjS0uaC.js.map +1 -0
  243. package/dist/chunk-DMokwmOV.cjs +49 -0
  244. package/dist/chunk-DMokwmOV.cjs.map +1 -0
  245. package/dist/chunk-DMvWgBZL.d.cts +1831 -0
  246. package/dist/chunk-DNfGfIF3.js +31 -0
  247. package/dist/chunk-DNfGfIF3.js.map +1 -0
  248. package/dist/chunk-DQbSRe8D.d.ts +245 -0
  249. package/dist/chunk-DSGkP8_y.js +45 -0
  250. package/dist/chunk-DSGkP8_y.js.map +1 -0
  251. package/dist/chunk-DTctvfSd.d.cts +197 -0
  252. package/dist/chunk-DWe7igyw.cjs +206 -0
  253. package/dist/chunk-DWe7igyw.cjs.map +1 -0
  254. package/dist/chunk-DWsMP5JR.d.ts +68 -0
  255. package/dist/chunk-DWsm3HIW.d.cts +120 -0
  256. package/dist/chunk-DWsm3HIW.d.ts +120 -0
  257. package/dist/chunk-DXABHjLa.cjs +3 -0
  258. package/dist/chunk-D_BeqSbc.cjs +42 -0
  259. package/dist/chunk-D_BeqSbc.cjs.map +1 -0
  260. package/dist/chunk-D_svQNdW.d.ts +66 -0
  261. package/dist/chunk-Dav4xWrp.js +330 -0
  262. package/dist/chunk-Dav4xWrp.js.map +1 -0
  263. package/dist/chunk-DbCPhepL.js +293 -0
  264. package/dist/chunk-DbCPhepL.js.map +1 -0
  265. package/dist/chunk-DcrTy-y2.cjs +43 -0
  266. package/dist/chunk-DcrTy-y2.cjs.map +1 -0
  267. package/dist/chunk-Ddv484ld.js +487 -0
  268. package/dist/chunk-Ddv484ld.js.map +1 -0
  269. package/dist/chunk-De0bjnhY.cjs +88 -0
  270. package/dist/chunk-De0bjnhY.cjs.map +1 -0
  271. package/dist/chunk-De2FmNPu.cjs +32 -0
  272. package/dist/chunk-De2FmNPu.cjs.map +1 -0
  273. package/dist/chunk-DeSjQXiI.d.ts +157 -0
  274. package/dist/chunk-Den0Ta6C.js +132 -0
  275. package/dist/chunk-Den0Ta6C.js.map +1 -0
  276. package/dist/chunk-DiDKEeEa.js +8 -0
  277. package/dist/chunk-DiDKEeEa.js.map +1 -0
  278. package/dist/chunk-Dj60k5PU.js +197 -0
  279. package/dist/chunk-Dj60k5PU.js.map +1 -0
  280. package/dist/chunk-DjnYQBCN.js +4705 -0
  281. package/dist/chunk-DjnYQBCN.js.map +1 -0
  282. package/dist/chunk-Dk9VKvyq.d.ts +1 -0
  283. package/dist/chunk-Dor1ERI9.cjs +85 -0
  284. package/dist/chunk-Dor1ERI9.cjs.map +1 -0
  285. package/dist/chunk-DpMouOoH.js +451 -0
  286. package/dist/chunk-DpMouOoH.js.map +1 -0
  287. package/dist/chunk-DposgdNL.cjs +52 -0
  288. package/dist/chunk-DposgdNL.cjs.map +1 -0
  289. package/dist/chunk-DqLTG_5Q.d.cts +3 -0
  290. package/dist/chunk-Dr5MCIpS.d.cts +63 -0
  291. package/dist/chunk-Dr5MCIpS.d.ts +63 -0
  292. package/dist/chunk-DrudttCC.cjs +4 -0
  293. package/dist/chunk-DsDYVJQC.js +173 -0
  294. package/dist/chunk-DsDYVJQC.js.map +1 -0
  295. package/dist/chunk-Dw8ur6FJ.js +27 -0
  296. package/dist/chunk-Dw8ur6FJ.js.map +1 -0
  297. package/dist/chunk-DwG6M_0v.js +64 -0
  298. package/dist/chunk-DwG6M_0v.js.map +1 -0
  299. package/dist/chunk-Dy9a5ibO.js +284 -0
  300. package/dist/chunk-Dy9a5ibO.js.map +1 -0
  301. package/dist/chunk-DyayZlQJ.js +157 -0
  302. package/dist/chunk-DyayZlQJ.js.map +1 -0
  303. package/dist/chunk-DyhJZC2i.js +126 -0
  304. package/dist/chunk-DyhJZC2i.js.map +1 -0
  305. package/dist/chunk-F9zBzmmG.cjs +45 -0
  306. package/dist/chunk-F9zBzmmG.cjs.map +1 -0
  307. package/dist/chunk-FyCYofv2.js +116 -0
  308. package/dist/chunk-FyCYofv2.js.map +1 -0
  309. package/dist/chunk-GHJRjAk2.js +1 -0
  310. package/dist/chunk-H14isiSf.d.ts +751 -0
  311. package/dist/chunk-HIJzXoN4.js +7 -0
  312. package/dist/chunk-HIJzXoN4.js.map +1 -0
  313. package/dist/chunk-Id_8kRtu.d.ts +36 -0
  314. package/dist/chunk-KN60yxBQ.js +5 -0
  315. package/dist/chunk-KN60yxBQ.js.map +1 -0
  316. package/dist/chunk-NM5yg6bh.cjs +82 -0
  317. package/dist/chunk-NM5yg6bh.cjs.map +1 -0
  318. package/dist/chunk-OXr3zJfM.cjs +119 -0
  319. package/dist/chunk-OXr3zJfM.cjs.map +1 -0
  320. package/dist/chunk-QGqgNC4z.d.ts +928 -0
  321. package/dist/chunk-QJBtJrZ0.js +36 -0
  322. package/dist/chunk-QJBtJrZ0.js.map +1 -0
  323. package/dist/chunk-QKWhxfPv.d.cts +361 -0
  324. package/dist/chunk-QKWhxfPv.d.ts +361 -0
  325. package/dist/chunk-QXW7b4Ev.d.cts +410 -0
  326. package/dist/chunk-RHZrxUrM.cjs +39 -0
  327. package/dist/chunk-RHZrxUrM.cjs.map +1 -0
  328. package/dist/chunk-RTxe2i66.js +91 -0
  329. package/dist/chunk-RTxe2i66.js.map +1 -0
  330. package/dist/chunk-RrKkJb6P.js +16 -0
  331. package/dist/chunk-RrKkJb6P.js.map +1 -0
  332. package/dist/chunk-VOJqpcnM.cjs +181 -0
  333. package/dist/chunk-VOJqpcnM.cjs.map +1 -0
  334. package/dist/chunk-VljGTrid.js +1 -0
  335. package/dist/chunk-X3UVwUEK.d.cts +513 -0
  336. package/dist/chunk-X9K2WChn.cjs +28 -0
  337. package/dist/chunk-X9K2WChn.cjs.map +1 -0
  338. package/dist/chunk-YrtOx6oy.js +251 -0
  339. package/dist/chunk-YrtOx6oy.js.map +1 -0
  340. package/dist/chunk-bY7ySujI.d.cts +928 -0
  341. package/dist/chunk-bYf1sBz5.d.cts +11 -0
  342. package/dist/chunk-bYf1sBz5.d.ts +11 -0
  343. package/dist/chunk-blfknWoM.d.cts +1926 -0
  344. package/dist/chunk-blqsohAb.js +113 -0
  345. package/dist/chunk-blqsohAb.js.map +1 -0
  346. package/dist/chunk-cDMCjodI.cjs +58 -0
  347. package/dist/chunk-cDMCjodI.cjs.map +1 -0
  348. package/dist/chunk-cWjE3qd6.cjs +10 -0
  349. package/dist/chunk-cWjE3qd6.cjs.map +1 -0
  350. package/dist/chunk-dfOgV3fu.js +26 -0
  351. package/dist/chunk-dfOgV3fu.js.map +1 -0
  352. package/dist/chunk-f9cTwUX1.cjs +125 -0
  353. package/dist/chunk-f9cTwUX1.cjs.map +1 -0
  354. package/dist/chunk-fHVYEZs4.cjs +28 -0
  355. package/dist/chunk-fHVYEZs4.cjs.map +1 -0
  356. package/dist/chunk-fWRUMgRI.js +22 -0
  357. package/dist/chunk-fWRUMgRI.js.map +1 -0
  358. package/dist/chunk-fozLXfHY.d.cts +55 -0
  359. package/dist/chunk-fozLXfHY.d.ts +55 -0
  360. package/dist/chunk-gWmB1l3A.cjs +3122 -0
  361. package/dist/chunk-gWmB1l3A.cjs.map +1 -0
  362. package/dist/chunk-gbj2R-_w.js +58 -0
  363. package/dist/chunk-gbj2R-_w.js.map +1 -0
  364. package/dist/chunk-iIWxsAXd.js +59 -0
  365. package/dist/chunk-iIWxsAXd.js.map +1 -0
  366. package/dist/chunk-lItIuOIS.cjs +137 -0
  367. package/dist/chunk-lItIuOIS.cjs.map +1 -0
  368. package/dist/chunk-m6Rh4PCe.cjs +798 -0
  369. package/dist/chunk-m6Rh4PCe.cjs.map +1 -0
  370. package/dist/chunk-o3IRANDf.cjs +99 -0
  371. package/dist/chunk-o3IRANDf.cjs.map +1 -0
  372. package/dist/chunk-obUcg3Sk.d.ts +808 -0
  373. package/dist/chunk-ohsf-6Rn.js +600 -0
  374. package/dist/chunk-ohsf-6Rn.js.map +1 -0
  375. package/dist/chunk-pBleU6Nv.js +3061 -0
  376. package/dist/chunk-pBleU6Nv.js.map +1 -0
  377. package/dist/chunk-px4e99cy.js +71 -0
  378. package/dist/chunk-px4e99cy.js.map +1 -0
  379. package/dist/chunk-qwYDLeXc.cjs +99 -0
  380. package/dist/chunk-qwYDLeXc.cjs.map +1 -0
  381. package/dist/chunk-rF_859Qk.cjs +101 -0
  382. package/dist/chunk-rF_859Qk.cjs.map +1 -0
  383. package/dist/chunk-rLJkqJ5j.d.ts +1475 -0
  384. package/dist/chunk-twQItIRg.cjs +338 -0
  385. package/dist/chunk-twQItIRg.cjs.map +1 -0
  386. package/dist/chunk-vnPrMVjY.js +10 -0
  387. package/dist/chunk-vnPrMVjY.js.map +1 -0
  388. package/dist/chunk-ws3bVwaS.d.ts +410 -0
  389. package/dist/chunk-xh3UkuVs.cjs +246 -0
  390. package/dist/chunk-xh3UkuVs.cjs.map +1 -0
  391. package/dist/chunk-yMzRr26E.js +153 -0
  392. package/dist/chunk-yMzRr26E.js.map +1 -0
  393. package/dist/collab/index.cjs +831 -0
  394. package/dist/collab/index.cjs.map +1 -0
  395. package/dist/collab/index.d.cts +824 -0
  396. package/dist/collab/index.d.ts +824 -0
  397. package/dist/collab/index.js +819 -0
  398. package/dist/collab/index.js.map +1 -0
  399. package/dist/data/index.cjs +39 -0
  400. package/dist/data/index.d.cts +6 -0
  401. package/dist/data/index.d.ts +6 -0
  402. package/dist/data/index.js +7 -0
  403. package/dist/editor/index.cjs +2713 -0
  404. package/dist/editor/index.cjs.map +1 -0
  405. package/dist/editor/index.d.cts +10 -0
  406. package/dist/editor/index.d.ts +10 -0
  407. package/dist/editor/index.js +2702 -0
  408. package/dist/editor/index.js.map +1 -0
  409. package/dist/errors/index.cjs +11 -0
  410. package/dist/errors/index.d.cts +2 -0
  411. package/dist/errors/index.d.ts +2 -0
  412. package/dist/errors/index.js +1 -0
  413. package/dist/geo/index.cjs +68 -0
  414. package/dist/geo/index.d.cts +6 -0
  415. package/dist/geo/index.d.ts +6 -0
  416. package/dist/geo/index.js +11 -0
  417. package/dist/i18n/fr/index.cjs +333 -0
  418. package/dist/i18n/fr/index.cjs.map +1 -0
  419. package/dist/i18n/fr/index.d.cts +18 -0
  420. package/dist/i18n/fr/index.d.ts +18 -0
  421. package/dist/i18n/fr/index.js +328 -0
  422. package/dist/i18n/fr/index.js.map +1 -0
  423. package/dist/i18n/index.cjs +451 -0
  424. package/dist/i18n/index.cjs.map +1 -0
  425. package/dist/i18n/index.d.cts +268 -0
  426. package/dist/i18n/index.d.ts +268 -0
  427. package/dist/i18n/index.js +430 -0
  428. package/dist/i18n/index.js.map +1 -0
  429. package/dist/icons/index.cjs +37 -0
  430. package/dist/icons/index.d.cts +4 -0
  431. package/dist/icons/index.d.ts +4 -0
  432. package/dist/icons/index.js +8 -0
  433. package/dist/index.cjs +517 -0
  434. package/dist/index.cjs.map +1 -0
  435. package/dist/index.d.cts +174 -0
  436. package/dist/index.d.ts +174 -0
  437. package/dist/index.js +54 -0
  438. package/dist/index.js.map +1 -0
  439. package/dist/layers/index.cjs +83 -0
  440. package/dist/layers/index.d.cts +3 -0
  441. package/dist/layers/index.d.ts +3 -0
  442. package/dist/layers/index.js +5 -0
  443. package/dist/map-client/index.cjs +5 -0
  444. package/dist/map-client/index.d.cts +6 -0
  445. package/dist/map-client/index.d.ts +6 -0
  446. package/dist/map-client/index.js +0 -0
  447. package/dist/maplibre-worker.mjs +12 -0
  448. package/dist/navigation/index.cjs +612 -0
  449. package/dist/navigation/index.cjs.map +1 -0
  450. package/dist/navigation/index.d.cts +551 -0
  451. package/dist/navigation/index.d.ts +551 -0
  452. package/dist/navigation/index.js +599 -0
  453. package/dist/navigation/index.js.map +1 -0
  454. package/dist/profile/index.cjs +177 -0
  455. package/dist/profile/index.d.cts +8 -0
  456. package/dist/profile/index.d.ts +8 -0
  457. package/dist/profile/index.js +10 -0
  458. package/dist/seams/index.cjs +15 -0
  459. package/dist/seams/index.d.cts +4 -0
  460. package/dist/seams/index.d.ts +4 -0
  461. package/dist/seams/index.js +4 -0
  462. package/dist/search/index.cjs +39 -0
  463. package/dist/search/index.d.cts +6 -0
  464. package/dist/search/index.d.ts +6 -0
  465. package/dist/search/index.js +3 -0
  466. package/dist/style/index.cjs +34 -0
  467. package/dist/style/index.d.cts +5 -0
  468. package/dist/style/index.d.ts +5 -0
  469. package/dist/style/index.js +5 -0
  470. package/dist/styles.css +11 -0
  471. package/dist/testing/index.cjs +444 -0
  472. package/dist/testing/index.cjs.map +1 -0
  473. package/dist/testing/index.d.cts +217 -0
  474. package/dist/testing/index.d.ts +217 -0
  475. package/dist/testing/index.js +435 -0
  476. package/dist/testing/index.js.map +1 -0
  477. package/dist/timezone/index.cjs +1953 -0
  478. package/dist/timezone/index.cjs.map +1 -0
  479. package/dist/timezone/index.d.cts +28 -0
  480. package/dist/timezone/index.d.ts +28 -0
  481. package/dist/timezone/index.js +1948 -0
  482. package/dist/timezone/index.js.map +1 -0
  483. package/dist/units/index.cjs +29 -0
  484. package/dist/units/index.d.cts +3 -0
  485. package/dist/units/index.d.ts +3 -0
  486. package/dist/units/index.js +3 -0
  487. package/dist/video/index.cjs +1713 -0
  488. package/dist/video/index.cjs.map +1 -0
  489. package/dist/video/index.d.cts +846 -0
  490. package/dist/video/index.d.ts +846 -0
  491. package/dist/video/index.js +1689 -0
  492. package/dist/video/index.js.map +1 -0
  493. package/dist/view/index.cjs +7 -0
  494. package/dist/view/index.d.cts +3 -0
  495. package/dist/view/index.d.ts +3 -0
  496. package/dist/view/index.js +1 -0
  497. package/package.json +433 -4
  498. package/src/agent/engines/session.ts +2255 -0
  499. package/src/agent/index.ts +109 -0
  500. package/src/agent/rules/agentError.ts +128 -0
  501. package/src/agent/rules/boundedInputJson.ts +53 -0
  502. package/src/agent/rules/conversation.ts +629 -0
  503. package/src/agent/rules/conversationFaults.ts +349 -0
  504. package/src/agent/rules/conversationHost.ts +390 -0
  505. package/src/agent/rules/dispatcher.ts +102 -0
  506. package/src/agent/rules/errorCodes.ts +78 -0
  507. package/src/agent/rules/errorStatus.ts +65 -0
  508. package/src/agent/rules/scriptedTransport.ts +390 -0
  509. package/src/agent/rules/stickToBottom.ts +38 -0
  510. package/src/agent/rules/toolResultPayload.ts +197 -0
  511. package/src/auth/rules/clientHeader.ts +22 -0
  512. package/src/auth/rules/sentCredential.ts +76 -0
  513. package/src/auth/rules/transformRequest.ts +803 -0
  514. package/src/camera/engines/videoFlight.ts +1758 -0
  515. package/src/camera/index.ts +157 -0
  516. package/src/camera/rules/clearance.ts +1099 -0
  517. package/src/camera/rules/fit.ts +132 -0
  518. package/src/camera/rules/modes.ts +1019 -0
  519. package/src/camera/rules/plan.ts +478 -0
  520. package/src/camera/rules/planner.ts +129 -0
  521. package/src/camera/rules/poseRanges.ts +38 -0
  522. package/src/camera/rules/presets.ts +185 -0
  523. package/src/camera/rules/profileSamples.ts +243 -0
  524. package/src/camera/rules/route.ts +596 -0
  525. package/src/camera/rules/routeContent.ts +105 -0
  526. package/src/camera/rules/spline.ts +765 -0
  527. package/src/camera/rules/sweptViewports.ts +39 -0
  528. package/src/camera/rules/track.ts +1412 -0
  529. package/src/camera/rules/vocabulary.ts +130 -0
  530. package/src/camera/rules/zoom.ts +216 -0
  531. package/src/collab/engines/session.ts +1902 -0
  532. package/src/collab/engines/trailingThrottle.ts +151 -0
  533. package/src/collab/index.ts +52 -0
  534. package/src/collab/rules/dispatch.ts +143 -0
  535. package/src/collab/rules/peerNames.ts +51 -0
  536. package/src/collab/rules/scriptedTransport.ts +244 -0
  537. package/src/compose/engines/baseMapSwitch.ts +1136 -0
  538. package/src/compose/engines/events.ts +962 -0
  539. package/src/compose/engines/mountayaMap.ts +5648 -0
  540. package/src/compose/engines/sentCredentials.ts +146 -0
  541. package/src/compose/engines/slotRequests.ts +413 -0
  542. package/src/compose/rules/accessRefusal.ts +109 -0
  543. package/src/compose/rules/accessStanding.ts +75 -0
  544. package/src/compose/rules/analysisKinds.ts +331 -0
  545. package/src/compose/rules/analysisLayers.ts +176 -0
  546. package/src/compose/rules/cameraMoves.ts +38 -0
  547. package/src/compose/rules/carriedLayers.ts +87 -0
  548. package/src/compose/rules/developmentWarnings.ts +167 -0
  549. package/src/compose/rules/fitBox.ts +67 -0
  550. package/src/compose/rules/fitCamera.ts +54 -0
  551. package/src/compose/rules/geoJsonSlot.ts +61 -0
  552. package/src/compose/rules/geometrySlots.ts +155 -0
  553. package/src/compose/rules/glyphNode.ts +62 -0
  554. package/src/compose/rules/layerKeys.ts +92 -0
  555. package/src/compose/rules/layerOrder.ts +85 -0
  556. package/src/compose/rules/layersManifest.ts +26 -0
  557. package/src/compose/rules/mapOptions.ts +300 -0
  558. package/src/compose/rules/maplibreWorkerVersion.gen.ts +8 -0
  559. package/src/compose/rules/markerPin.ts +122 -0
  560. package/src/compose/rules/markerRegistry.ts +85 -0
  561. package/src/compose/rules/markerSprite.ts +382 -0
  562. package/src/compose/rules/maxBounds.ts +120 -0
  563. package/src/compose/rules/overlayLookup.ts +49 -0
  564. package/src/compose/rules/paintDiff.ts +38 -0
  565. package/src/compose/rules/panLock.ts +77 -0
  566. package/src/compose/rules/patch.ts +124 -0
  567. package/src/compose/rules/queriedFeature.ts +55 -0
  568. package/src/compose/rules/queryLayers.ts +46 -0
  569. package/src/compose/rules/searchHighlight.ts +313 -0
  570. package/src/compose/rules/slotNames.ts +19 -0
  571. package/src/compose/rules/stripeImage.ts +253 -0
  572. package/src/compose/rules/swapMarker.ts +66 -0
  573. package/src/compose/rules/terrainVariant.ts +88 -0
  574. package/src/compose/rules/types.ts +559 -0
  575. package/src/compose/rules/urlHash.ts +19 -0
  576. package/src/compose/rules/viewOptions.ts +451 -0
  577. package/src/compose/rules/workerUrl.ts +131 -0
  578. package/src/data/engines/itineraryResource.ts +643 -0
  579. package/src/data/index.ts +78 -0
  580. package/src/data/rules/adapt.ts +473 -0
  581. package/src/data/rules/editModes.ts +51 -0
  582. package/src/data/rules/itinerary.ts +168 -0
  583. package/src/data/rules/nullable.ts +63 -0
  584. package/src/data/rules/roadAccess.ts +169 -0
  585. package/src/data/rules/segmentGroups.ts +309 -0
  586. package/src/data/rules/selectors.ts +95 -0
  587. package/src/data/rules/zones.ts +79 -0
  588. package/src/draw/engines/boundaryEngine.ts +1003 -0
  589. package/src/draw/engines/framedAdapter.ts +198 -0
  590. package/src/draw/engines/pointerCursor.ts +205 -0
  591. package/src/draw/engines/segmentEngine.ts +1405 -0
  592. package/src/draw/engines/snapIndex.ts +254 -0
  593. package/src/draw/engines/waypointEngine.ts +574 -0
  594. package/src/draw/engines/zoneEngine.ts +1137 -0
  595. package/src/draw/rules/drawFrame.ts +123 -0
  596. package/src/draw/rules/insertVertex.ts +226 -0
  597. package/src/draw/rules/screenSpace.ts +62 -0
  598. package/src/draw/rules/seeds.ts +185 -0
  599. package/src/draw/rules/snap.ts +115 -0
  600. package/src/draw/rules/snapCameraKey.ts +50 -0
  601. package/src/draw/rules/terraDrawShared.ts +214 -0
  602. package/src/draw/rules/zoneOutline.ts +213 -0
  603. package/src/editing/engines/cursor.ts +505 -0
  604. package/src/editing/engines/draftMarker.ts +149 -0
  605. package/src/editing/rules/accent.ts +11 -0
  606. package/src/editing/rules/engine.ts +288 -0
  607. package/src/editing/rules/placement.ts +22 -0
  608. package/src/editing/rules/positions.ts +89 -0
  609. package/src/editing/rules/sources.ts +9 -0
  610. package/src/editing/rules/types.ts +457 -0
  611. package/src/editing/rules/vocabulary.ts +10 -0
  612. package/src/editing/rules/waypointCursor.ts +228 -0
  613. package/src/editor/engines/directionArrows.ts +459 -0
  614. package/src/editor/engines/directions.ts +1383 -0
  615. package/src/editor/engines/editorClient.ts +134 -0
  616. package/src/editor/engines/eventScope.ts +59 -0
  617. package/src/editor/engines/frameLoop.ts +159 -0
  618. package/src/editor/engines/itineraryPreview.ts +272 -0
  619. package/src/editor/engines/mapLockGuard.ts +66 -0
  620. package/src/editor/engines/overlayRenderer.ts +2696 -0
  621. package/src/editor/engines/peerDraft.ts +760 -0
  622. package/src/editor/engines/poiPick.ts +305 -0
  623. package/src/editor/engines/pointPick.ts +84 -0
  624. package/src/editor/engines/roadAccessLine.ts +140 -0
  625. package/src/editor/engines/searchHighlight.ts +183 -0
  626. package/src/editor/engines/viewClient.ts +4091 -0
  627. package/src/editor/engines/zoneBadges.ts +503 -0
  628. package/src/editor/index.ts +97 -0
  629. package/src/editor/rules/accentColor.ts +116 -0
  630. package/src/editor/rules/camera.ts +121 -0
  631. package/src/editor/rules/contract.ts +120 -0
  632. package/src/editor/rules/icons.ts +825 -0
  633. package/src/editor/rules/markerElements.ts +244 -0
  634. package/src/editor/rules/style.ts +51 -0
  635. package/src/editor/rules/terrain.ts +98 -0
  636. package/src/editor/rules/tileWarm.ts +191 -0
  637. package/src/editor/rules/tilesReload.ts +158 -0
  638. package/src/editor/rules/zoneBadgePlacement.ts +1832 -0
  639. package/src/editor/rules/zoneTimeStyling.ts +119 -0
  640. package/src/errors/index.ts +25 -0
  641. package/src/errors/rules/errors.ts +158 -0
  642. package/src/errors/rules/print.ts +129 -0
  643. package/src/geo/index.ts +89 -0
  644. package/src/geo/rules/boundaries.ts +105 -0
  645. package/src/geo/rules/camera.ts +496 -0
  646. package/src/geo/rules/corridor.ts +242 -0
  647. package/src/geo/rules/elevationTiles.ts +269 -0
  648. package/src/geo/rules/formatLngLat.ts +63 -0
  649. package/src/geo/rules/geodesy.ts +125 -0
  650. package/src/geo/rules/geometry.ts +362 -0
  651. package/src/geo/rules/lineWalk.ts +77 -0
  652. package/src/geo/rules/longitude.ts +99 -0
  653. package/src/geo/rules/searchLimits.ts +22 -0
  654. package/src/geo/rules/segmentGeometry.ts +80 -0
  655. package/src/geo/rules/terrain.ts +107 -0
  656. package/src/geo/rules/tuples.ts +124 -0
  657. package/src/geo/rules/types.ts +54 -0
  658. package/src/geo/rules/webMercator.ts +57 -0
  659. package/src/i18n/fr/index.ts +17 -0
  660. package/src/i18n/fr/rules/fr.ts +85 -0
  661. package/src/i18n/fr/rules/words.gen.ts +277 -0
  662. package/src/i18n/index.ts +82 -0
  663. package/src/i18n/rules/bundle.ts +378 -0
  664. package/src/i18n/rules/config.ts +71 -0
  665. package/src/i18n/rules/dates.ts +165 -0
  666. package/src/i18n/rules/endonyms.gen.ts +19 -0
  667. package/src/i18n/rules/language.ts +92 -0
  668. package/src/i18n/rules/localizedName.ts +33 -0
  669. package/src/i18n/rules/merge.ts +106 -0
  670. package/src/i18n/rules/scope.ts +127 -0
  671. package/src/i18n/rules/strings.ts +632 -0
  672. package/src/i18n/rules/videoOverlay.ts +121 -0
  673. package/src/i18n/rules/wordForms.ts +95 -0
  674. package/src/i18n/rules/words.gen.ts +277 -0
  675. package/src/icons/index.ts +54 -0
  676. package/src/icons/rules/activities.ts +40 -0
  677. package/src/icons/rules/amenities.ts +250 -0
  678. package/src/icons/rules/artwork.gen.ts +83 -0
  679. package/src/icons/rules/artwork.ts +47 -0
  680. package/src/icons/rules/fallback.ts +21 -0
  681. package/src/icons/rules/lucideMarkers.gen.ts +112 -0
  682. package/src/icons/rules/lucideUi.gen.ts +197 -0
  683. package/src/icons/rules/paint.ts +107 -0
  684. package/src/icons/rules/parse.ts +475 -0
  685. package/src/icons/rules/provider.ts +373 -0
  686. package/src/icons/rules/sprites.ts +54 -0
  687. package/src/icons/rules/ui.ts +348 -0
  688. package/src/icons/rules/waypoints.ts +215 -0
  689. package/src/index.ts +993 -0
  690. package/src/layers/engines/layersSelection.ts +515 -0
  691. package/src/layers/engines/readoutEngine.ts +131 -0
  692. package/src/layers/index.ts +151 -0
  693. package/src/layers/rules/analysis.ts +135 -0
  694. package/src/layers/rules/enrichment.ts +30 -0
  695. package/src/layers/rules/geoJson.ts +270 -0
  696. package/src/layers/rules/hover.ts +67 -0
  697. package/src/layers/rules/itineraries.ts +182 -0
  698. package/src/layers/rules/layersPanel.ts +237 -0
  699. package/src/layers/rules/order.ts +194 -0
  700. package/src/layers/rules/overlayInstant.ts +49 -0
  701. package/src/layers/rules/overlays.ts +52 -0
  702. package/src/layers/rules/poiPanel.ts +119 -0
  703. package/src/layers/rules/pois.ts +114 -0
  704. package/src/layers/rules/readout.ts +340 -0
  705. package/src/layers/rules/streetView.ts +16 -0
  706. package/src/layers/rules/tileTimestamp.ts +146 -0
  707. package/src/layers/rules/timeSlider.ts +192 -0
  708. package/src/layers/rules/timeWindow.ts +123 -0
  709. package/src/layers/rules/zones.ts +43 -0
  710. package/src/layers/rules/zoom.ts +77 -0
  711. package/src/map-client/index.ts +71 -0
  712. package/src/map-client/rules/mapClient.ts +1945 -0
  713. package/src/navigation/engines/navigation.ts +493 -0
  714. package/src/navigation/index.ts +51 -0
  715. package/src/navigation/rules/followedRoute.ts +78 -0
  716. package/src/navigation/rules/instructions.ts +89 -0
  717. package/src/navigation/rules/itineraryRoute.ts +232 -0
  718. package/src/navigation/rules/offRoute.ts +41 -0
  719. package/src/navigation/rules/progress.ts +230 -0
  720. package/src/navigation/rules/prompts.ts +217 -0
  721. package/src/navigation/rules/routeRequest.ts +98 -0
  722. package/src/navigation/rules/status.ts +142 -0
  723. package/src/navigation/rules/steps.ts +234 -0
  724. package/src/navigation/rules/types.ts +83 -0
  725. package/src/profile/index.ts +307 -0
  726. package/src/profile/rules/amenityBadge.ts +35 -0
  727. package/src/profile/rules/amenityFilter.ts +74 -0
  728. package/src/profile/rules/amenityStacks.ts +66 -0
  729. package/src/profile/rules/axis.ts +89 -0
  730. package/src/profile/rules/axisCulling.ts +83 -0
  731. package/src/profile/rules/axisLookup.ts +180 -0
  732. package/src/profile/rules/climbs.ts +292 -0
  733. package/src/profile/rules/cursorMarker.ts +122 -0
  734. package/src/profile/rules/cursorReadout.ts +104 -0
  735. package/src/profile/rules/curvePlacement.ts +216 -0
  736. package/src/profile/rules/dock.ts +293 -0
  737. package/src/profile/rules/elevation.ts +1263 -0
  738. package/src/profile/rules/instant.ts +89 -0
  739. package/src/profile/rules/intl.ts +237 -0
  740. package/src/profile/rules/legEmphasis.ts +53 -0
  741. package/src/profile/rules/profileColors.ts +66 -0
  742. package/src/profile/rules/profileLayout.ts +59 -0
  743. package/src/profile/rules/profileSlices.ts +55 -0
  744. package/src/profile/rules/routeProfile.ts +475 -0
  745. package/src/profile/rules/rowMatch.ts +50 -0
  746. package/src/profile/rules/scale.ts +646 -0
  747. package/src/profile/rules/scaleFrame.ts +171 -0
  748. package/src/profile/rules/sectionChips.ts +83 -0
  749. package/src/profile/rules/sections.ts +923 -0
  750. package/src/profile/rules/slopeRamp.ts +160 -0
  751. package/src/profile/rules/statStrip.ts +103 -0
  752. package/src/profile/rules/steepness.ts +51 -0
  753. package/src/profile/rules/tableCells.ts +269 -0
  754. package/src/profile/rules/tableCursor.ts +87 -0
  755. package/src/profile/rules/unitPatterns.ts +335 -0
  756. package/src/profile/rules/units.ts +1025 -0
  757. package/src/profile/rules/waypointCard.ts +590 -0
  758. package/src/profile/rules/webAddress.ts +130 -0
  759. package/src/profile/rules/windowSpans.ts +65 -0
  760. package/src/rules/asciiFold.ts +17 -0
  761. package/src/rules/inDevelopment.ts +54 -0
  762. package/src/rules/listeners.ts +62 -0
  763. package/src/rules/timers.ts +9 -0
  764. package/src/rules/types.ts +22 -0
  765. package/src/rules/uuid.ts +87 -0
  766. package/src/seams/engines/geolocateControl.ts +286 -0
  767. package/src/seams/index.ts +50 -0
  768. package/src/seams/rules/clock.ts +169 -0
  769. package/src/seams/rules/geolocation.ts +165 -0
  770. package/src/seams/rules/segmentRoute.ts +187 -0
  771. package/src/search/engines/search.ts +1093 -0
  772. package/src/search/index.ts +99 -0
  773. package/src/search/rules/describe.ts +383 -0
  774. package/src/search/rules/filters.ts +195 -0
  775. package/src/search/rules/highlight.ts +270 -0
  776. package/src/search/rules/pick.ts +90 -0
  777. package/src/search/rules/rows.ts +258 -0
  778. package/src/search/rules/searchFocus.ts +27 -0
  779. package/src/search/rules/searchViewport.ts +44 -0
  780. package/src/search/rules/shown.ts +77 -0
  781. package/src/search/rules/types.ts +340 -0
  782. package/src/stream/rules/reconnectSchedule.ts +83 -0
  783. package/src/style/engines/organizationRead.ts +80 -0
  784. package/src/style/index.ts +63 -0
  785. package/src/style/rules/apply.ts +268 -0
  786. package/src/style/rules/attribution.ts +119 -0
  787. package/src/style/rules/itineraryLine.ts +142 -0
  788. package/src/style/rules/language.ts +668 -0
  789. package/src/style/rules/layout.gen.ts +27 -0
  790. package/src/style/rules/organization.ts +96 -0
  791. package/src/style/rules/paint.ts +143 -0
  792. package/src/style/rules/panelLayout.ts +51 -0
  793. package/src/style/rules/roadAccessColors.ts +29 -0
  794. package/src/style/rules/roadAccessLine.ts +267 -0
  795. package/src/style/rules/segmentColors.ts +207 -0
  796. package/src/testing/catalogs.ts +103 -0
  797. package/src/testing/index.ts +30 -0
  798. package/src/testing/mapClient.ts +241 -0
  799. package/src/testing/mountayaMap.ts +741 -0
  800. package/src/timezone/index.ts +14 -0
  801. package/src/timezone/rules/viewport.ts +875 -0
  802. package/src/units/index.ts +55 -0
  803. package/src/units/rules/conversions.ts +620 -0
  804. package/src/units/rules/preferenceChoices.ts +124 -0
  805. package/src/units/rules/preferences.ts +77 -0
  806. package/src/units/rules/rounding.ts +69 -0
  807. package/src/video/engines/videoRun.ts +654 -0
  808. package/src/video/engines/viewClient.ts +6 -0
  809. package/src/video/index.ts +83 -0
  810. package/src/video/profileOverlay/rules/contract.ts +210 -0
  811. package/src/video/profileOverlay/rules/curve.ts +216 -0
  812. package/src/video/profileOverlay/rules/draw.ts +410 -0
  813. package/src/video/profileOverlay/rules/fonts.ts +54 -0
  814. package/src/video/profileOverlay/rules/graphDesign.ts +690 -0
  815. package/src/video/profileOverlay/rules/minimalDesign.ts +144 -0
  816. package/src/video/profileOverlay/rules/registry.ts +23 -0
  817. package/src/video/profileOverlay/rules/staticLayer.ts +582 -0
  818. package/src/video/profileOverlay/rules/stripDesign.ts +327 -0
  819. package/src/video/profileOverlay/rules/types.ts +78 -0
  820. package/src/video/rules/videoConstants.ts +250 -0
  821. package/src/video/rules/videoEncoder.ts +277 -0
  822. package/src/video/rules/videoFrames.ts +99 -0
  823. package/src/video/rules/videoPreview.ts +185 -0
  824. package/src/video/rules/videoRecorder.ts +746 -0
  825. package/src/video/rules/videoWatermark.ts +155 -0
  826. package/src/video/rules/watermarkMark.ts +40 -0
  827. package/src/view/engines/viewClient.ts +6 -0
  828. package/src/view/index.ts +20 -0
package/src/index.ts ADDED
@@ -0,0 +1,993 @@
1
+ /**
2
+ * @mountaya/elements: render Mountaya data on MapLibre GL JS.
3
+ *
4
+ * ```ts
5
+ * import { Mountaya } from "@mountaya/client";
6
+ * import { MountayaMap } from "@mountaya/elements";
7
+ * import "@mountaya/elements/styles.css";
8
+ *
9
+ * const client = new Mountaya({ credential: { publishableKey: "pk_…" } });
10
+ * const map = new MountayaMap({ container: "map", client, center: [6.86, 45.83], zoom: 12 });
11
+ *
12
+ * await map.setItinerary(itineraryId, { fit: true }); // read through `client`, and framed
13
+ * map.setOverlay("aspectslope"); // exclusive: replaces the previous
14
+ * map.addEnrichment("hillshade"); // additive: stacks, and lands underneath
15
+ * ```
16
+ *
17
+ * **The application installs MapLibre, and this package drives it.** `maplibre-gl` is a peer
18
+ * the application installs beside this package. The package constructs the map, authenticates
19
+ * the requests MapLibre makes for itself, and keeps every layer at its deterministic rank, so
20
+ * an application never imports `maplibre-gl` to draw one. `map.raw` is the instance and the
21
+ * `maplibregl` export below is the namespace, for anything the façade does not wrap.
22
+ *
23
+ * **This package never calls `fetch`.** It holds the client and lets it do that, which is
24
+ * what lets the same rendering code serve data you fetched, cached, or rendered on a
25
+ * server.
26
+ *
27
+ * The lower-level pieces the façade composes (`applySpecification`, `createTransformRequest`,
28
+ * the geometry and camera arithmetic) stay exported, for a consumer driving a MapLibre map they
29
+ * own rather than one this package built.
30
+ *
31
+ * **The map is one element, not the whole package.** `elements` rather than `map` because
32
+ * what ships here is a set of renderable pieces, and the ones that follow the map do not
33
+ * all live on it: an elevation profile reads an itinerary's third coordinate and needs no
34
+ * canvas at all. The maths those pieces share (`src/profile/`) is exported beside the
35
+ * façade for exactly that reason.
36
+ *
37
+ * For React bindings, Mountaya's own map controls and the detached elements, use
38
+ * `@mountaya/elements-react`.
39
+ */
40
+
41
+ export {
42
+ createTransformRequest,
43
+ type MapCredential,
44
+ type RequestTransform,
45
+ type TransformedRequest,
46
+ type TransformRequestOptions,
47
+ } from "./auth/rules/transformRequest.js";
48
+ export { MapEventEngine, type MapEvents } from "./compose/engines/events.js";
49
+ export {
50
+ MountayaMap,
51
+ maplibregl,
52
+ STREETVIEW_COVERAGE_LAYER,
53
+ STREETVIEW_COVERAGE_SOURCE,
54
+ STREETVIEW_COVERAGE_TILES,
55
+ ZOOM_EASE_MS,
56
+ } from "./compose/engines/mountayaMap.js";
57
+ export type { GeometrySlot } from "./compose/rules/geometrySlots.js";
58
+ export { appendGlyph } from "./compose/rules/glyphNode.js";
59
+ export { beforeIdForRank } from "./compose/rules/layerOrder.js";
60
+ export type {
61
+ CameraConstraints,
62
+ MapLibreOptions,
63
+ MountayaMapOptions,
64
+ RawMap,
65
+ } from "./compose/rules/mapOptions.js";
66
+ export type { LayerPatch } from "./compose/rules/patch.js";
67
+ export type { TerrainVariant } from "./compose/rules/terrainVariant.js";
68
+ /**
69
+ * The Data API vocabulary, re-exported.
70
+ *
71
+ * Aliases of the client's own types, never structural copies, so a consumer types a
72
+ * variable from `@mountaya/elements` alone without also importing `@mountaya/client` for a
73
+ * name they only need in a signature.
74
+ */
75
+ export type {
76
+ AnalysisHandle,
77
+ AnalysisId,
78
+ Camera,
79
+ CameraPose,
80
+ CategoryOverlays,
81
+ CollectionDrawOptions,
82
+ DataActivitySlug,
83
+ DataLanguage,
84
+ DataRangeType,
85
+ DirectionsInput,
86
+ DirectionsResult,
87
+ DrawOptions,
88
+ FitBoundsOptions,
89
+ GeocodeInput,
90
+ GeocodeResult,
91
+ IsochronesInput,
92
+ IsochronesResult,
93
+ ItineraryDrawOptions,
94
+ Layers,
95
+ MarkerOptions,
96
+ MatrixDrawOptions,
97
+ MatrixInput,
98
+ MatrixMetric,
99
+ MatrixResult,
100
+ MountayaMapEvent,
101
+ MountayaMapEvents,
102
+ MountedSpecification,
103
+ MountOptions,
104
+ Overlay,
105
+ PoiCategory,
106
+ PoisInput,
107
+ PoisResult,
108
+ QueriedFeature,
109
+ RasterPaint,
110
+ Renderable,
111
+ RouteHazard,
112
+ SearchInput,
113
+ SearchResult,
114
+ SearchTargetsInput,
115
+ SuggestionDrawOptions,
116
+ SuggestionsInput,
117
+ SuggestionsResult,
118
+ Terrain,
119
+ Unsubscribe,
120
+ ZoomRange,
121
+ } from "./compose/rules/types.js";
122
+ export { currentMapHash } from "./compose/rules/urlHash.js";
123
+ /**
124
+ * Published for the one path the façade does not cover: a consumer who constructs
125
+ * `new maplibregl.Map()` themselves, below. `MountayaMap` calls it for you, so a consumer who
126
+ * never reaches past the façade never names it.
127
+ */
128
+ export { ensureMapLibreWorker } from "./compose/rules/workerUrl.js";
129
+ /**
130
+ * Reading one itinerary, for an element that was handed an id rather than geometry.
131
+ *
132
+ * Republished from `@mountaya/elements/data`, which is where it lives so that a consumer who
133
+ * wants only the mapping takes none of the renderer this root brings. Nothing here fetches:
134
+ * `fetchItinerary` calls a method on a source the caller passed in, and
135
+ * `ItineraryResourceEngine` resolves an id through it once per client, for any binding.
136
+ */
137
+ export {
138
+ type ItineraryResource,
139
+ ItineraryResourceEngine,
140
+ type ItineraryResourceEngineOptions,
141
+ invalidateItineraryResource,
142
+ } from "./data/engines/itineraryResource.js";
143
+ export {
144
+ itineraryCharacteristics,
145
+ itineraryGeometry,
146
+ itinerarySegments,
147
+ itineraryWaypoint,
148
+ itineraryWaypoints,
149
+ } from "./data/rules/adapt.js";
150
+ export {
151
+ SEGMENT_EDIT_MODES,
152
+ type SegmentEditMode,
153
+ WAYPOINT_EDIT_MODES,
154
+ type WaypointEditMode,
155
+ } from "./data/rules/editModes.js";
156
+ export {
157
+ type FetchItineraryOptions,
158
+ fetchItinerary,
159
+ type ItinerarySegment,
160
+ type ItinerarySegmentGroup,
161
+ type ItinerarySource,
162
+ type ItineraryWaypoint,
163
+ type ItineraryWithDetails,
164
+ } from "./data/rules/itinerary.js";
165
+ export { maxOrNull, minOrNull, sumOrNull } from "./data/rules/nullable.js";
166
+ export {
167
+ ROAD_ACCESS_KINDS,
168
+ type RoadAccessKind,
169
+ roadAccessFeatures,
170
+ roadAccessKindOf,
171
+ } from "./data/rules/roadAccess.js";
172
+ export {
173
+ applySegmentGroups,
174
+ groupIdForSegment,
175
+ SEGMENT_GROUP_ID_PREFIX,
176
+ SEGMENT_GROUP_MIN_MEMBERS,
177
+ segmentGroupOptionId,
178
+ segmentIdsForOption,
179
+ } from "./data/rules/segmentGroups.js";
180
+ export {
181
+ segmentGeometries,
182
+ segmentsForSelection,
183
+ waypointGeometries,
184
+ waypointsForSelection,
185
+ } from "./data/rules/selectors.js";
186
+ export { ZONE_LEVELS, ZONE_MODES, type ZoneLevel, type ZoneMode } from "./data/rules/zones.js";
187
+ /**
188
+ * Editing an itinerary, up to but not including the drawing library.
189
+ *
190
+ * What an edit speaks once you stop asking how handles get onto a canvas: what a draft IS, what
191
+ * opens a session, and the cursors an edit shows. A host that mirrors someone else's drafts reads
192
+ * these and none of a drawing library. The engines that put handles on a canvas are built into
193
+ * `MapLibreClient` of `@mountaya/elements/editor`, an opt-in entry behind optional peers, and no
194
+ * client takes an engine of the host's own.
195
+ */
196
+ export {
197
+ CURSOR_LOCK_DATA_ATTRIBUTE,
198
+ EDIT_CROSS_CURSOR,
199
+ EDIT_GRAB_CURSOR,
200
+ EDIT_GRABBING_CURSOR,
201
+ EDIT_MOVE_CURSOR,
202
+ ZONE_CREATE_CURSOR,
203
+ } from "./editing/engines/cursor.js";
204
+ export type {
205
+ BoundaryDraft,
206
+ BoundaryEditOptions,
207
+ DraftPhase,
208
+ SegmentDraft,
209
+ SegmentEditOptions,
210
+ SegmentViaPromptEvent,
211
+ WaypointDraftSnapshot,
212
+ WaypointEditOptions,
213
+ WaypointEngineDraftChange,
214
+ WaypointPoiCapture,
215
+ WaypointPoiSeed,
216
+ ZoneDraft,
217
+ ZoneEditOptions,
218
+ } from "./editing/rules/types.js";
219
+ /**
220
+ * The errors this package throws.
221
+ *
222
+ * Programming and state errors (an unknown marker id, an empty specification name), never
223
+ * wire errors: this package does not fetch, so a network failure always arrives as the
224
+ * client's own taxonomy. Catching `MountayaElementsError` separates a misuse of this
225
+ * package from every other failure in the calling program.
226
+ */
227
+ export {
228
+ errorFrom,
229
+ MountayaElementsError,
230
+ MountayaElementsForbiddenError,
231
+ MountayaElementsNotFoundError,
232
+ MountayaElementsRejectionError,
233
+ } from "./errors/rules/errors.js";
234
+ export {
235
+ boundaryToBoundingBox,
236
+ boundingBoxToBoundary,
237
+ selectBoundary,
238
+ } from "./geo/rules/boundaries.js";
239
+ export {
240
+ boundingBoxSpanMeters,
241
+ boundsWithPixelPadding,
242
+ EFFECTIVE_MIN_ZOOM_FLOOR,
243
+ EFFECTIVE_ZOOM_MIN_SPAN,
244
+ effectiveZoomBounds,
245
+ MAX_BOUNDS_MIN_PAD_DEG,
246
+ MAX_BOUNDS_PAD_FRACTION,
247
+ maxBoundsLongitudes,
248
+ normalizeBoundingBox,
249
+ paddedMaxBounds,
250
+ specificationBounds,
251
+ TILE_ZOOM_MAX,
252
+ TILE_ZOOM_MIN,
253
+ WEB_MERCATOR_MAX_LAT,
254
+ ZOOM_BUFFER,
255
+ type ZoomBounds,
256
+ } from "./geo/rules/camera.js";
257
+ export { distanceToSegmentMeters, metersToRoute, routeLines } from "./geo/rules/corridor.js";
258
+ export {
259
+ decodeElevation,
260
+ type ElevationEncoding,
261
+ type ElevationSource,
262
+ type ElevationTile,
263
+ elevationTilesAt,
264
+ type TerrainReading,
265
+ terrainFromElevationTiles,
266
+ } from "./geo/rules/elevationTiles.js";
267
+ export { formatLngLat } from "./geo/rules/formatLngLat.js";
268
+ export { EARTH_RADIUS_METERS, haversineMeters } from "./geo/rules/geodesy.js";
269
+ export {
270
+ boundingBoxToPolygon,
271
+ boundsOf,
272
+ buildGeometryCollection,
273
+ extractLineStrings,
274
+ extractLines,
275
+ extractPoint,
276
+ extractVias,
277
+ flattenGeometries,
278
+ geometriesEqual,
279
+ segmentLineCoordinates,
280
+ } from "./geo/rules/geometry.js";
281
+ export {
282
+ LATITUDE_LIMIT,
283
+ LONGITUDE_LIMIT,
284
+ longitudeDelta,
285
+ wrapLongitude,
286
+ wrapLongitudePastRange,
287
+ } from "./geo/rules/longitude.js";
288
+ // Published by `./geo` and by `./search`, and here once, from the module that declares it.
289
+ export { SEARCH_LIMIT_MAX } from "./geo/rules/searchLimits.js";
290
+ export {
291
+ buildSegmentGeometry,
292
+ DIRECTIONS_VIA_COUNTER_THRESHOLD,
293
+ DIRECTIONS_VIA_MAX,
294
+ DIRECTIONS_VIA_MIN,
295
+ SEGMENT_MIN_VIAS,
296
+ } from "./geo/rules/segmentGeometry.js";
297
+ export {
298
+ type AspectCardinal,
299
+ aspectCardinal,
300
+ type SlopeAspect,
301
+ slopeAspectFromNeighbours,
302
+ type TerrainNeighbours,
303
+ } from "./geo/rules/terrain.js";
304
+ export { boundsTuple, pointTuple, viewportBoundsFrom } from "./geo/rules/tuples.js";
305
+ export type { BoundingBox, FitBoundsPadding, LngLat, MapViewport } from "./geo/rules/types.js";
306
+ export { ACTIVITY_MARKER_PREFIX, activityMarkerIcon } from "./icons/rules/activities.js";
307
+ export {
308
+ AMENITY_GLYPHS,
309
+ type AmenityGlyph,
310
+ amenityGlyph,
311
+ WAYPOINT_AMENITIES,
312
+ WAYPOINT_AMENITY_GROUPS,
313
+ WAYPOINT_PROPERTY_FORMATS,
314
+ type WaypointAmenity,
315
+ type WaypointAmenityGroupId,
316
+ type WaypointPropertyFormat,
317
+ } from "./icons/rules/amenities.js";
318
+ export { watermarkArtwork } from "./icons/rules/artwork.gen.js";
319
+ /**
320
+ * The glyph sets used when none is supplied: markers from the first, controls from the second.
321
+ *
322
+ * Lucide, because it is ISC-licensed and can therefore be redistributed. Mountaya's own studio
323
+ * uses the Nucleo Core family, whose licence does not permit shipping derived path data in a
324
+ * public package, so a licensee substitutes it explicitly with `createIconProvider`, and
325
+ * everyone else gets a working map out of the box.
326
+ *
327
+ * Named for the set rather than for its role. The vendor name is the more useful one: a
328
+ * consumer reading `defaultIconProvider` has to look up what they were given, and the whole
329
+ * reason `IconProvider` is a seam is that the answer is a choice they may want to change.
330
+ */
331
+ export type { Artwork } from "./icons/rules/artwork.js";
332
+ export { placeGlyph } from "./icons/rules/fallback.js";
333
+ export { lucideIconProvider } from "./icons/rules/lucideMarkers.gen.js";
334
+ export { lucideUiIconProvider } from "./icons/rules/lucideUi.gen.js";
335
+ export { glyphPaint, type ShapePaint } from "./icons/rules/paint.js";
336
+ export { allowedAttributes, type GlyphElement, parseGlyph } from "./icons/rules/parse.js";
337
+ export {
338
+ createIconProvider,
339
+ fallbackProvider,
340
+ type GlyphPaint,
341
+ type IconProvider,
342
+ type IconProviderOptions,
343
+ } from "./icons/rules/provider.js";
344
+ export { WAYPOINT_ICON_PREFIX, waypointIconImageId } from "./icons/rules/sprites.js";
345
+ export { UI_GLYPHS, type UiGlyph } from "./icons/rules/ui.js";
346
+ export {
347
+ DEFAULT_WAYPOINT_COLOR,
348
+ DEFAULT_WAYPOINT_ICON,
349
+ USER_WAYPOINT_ICONS,
350
+ type UserWaypointIcon,
351
+ WAYPOINT_FALLBACK_GLYPH,
352
+ WAYPOINT_GLYPHS,
353
+ WAYPOINT_ICON_GROUPS,
354
+ type WaypointGlyph,
355
+ type WaypointIconGroupId,
356
+ } from "./icons/rules/waypoints.js";
357
+ export {
358
+ LayersSelectionEngine,
359
+ type LayersSelectionEngineOptions,
360
+ type LayersSelectionSnapshot,
361
+ type LayersSelectionTarget,
362
+ } from "./layers/engines/layersSelection.js";
363
+ export {
364
+ ReadoutEngine,
365
+ type ReadoutEngineOptions,
366
+ type ReadoutOpen,
367
+ } from "./layers/engines/readoutEngine.js";
368
+ /**
369
+ * The analysis palette, exported beside the converters that stamp it into their output.
370
+ *
371
+ * `isochronesToGeoJson` and its siblings already write these colours and widths onto the
372
+ * features they return, so publishing the features while hiding the palette would leave a
373
+ * consumer styling their own layer to eyedrop a screenshot for the values. A caller who
374
+ * draws an isochrone set from their own layer stack, or a legend beside it, reads them here.
375
+ */
376
+ export {
377
+ DIRECTIONS_LINE_COLOR,
378
+ ISOCHRONE_FILL_OPACITY,
379
+ ISOCHRONE_LINE_COLOR,
380
+ ISOCHRONE_LINE_WIDTH,
381
+ ISOCHRONE_RAMP,
382
+ isochroneColor,
383
+ MATRIX_LINE_COLOR,
384
+ MATRIX_LINE_MAX_WIDTH,
385
+ MATRIX_LINE_MIN_WIDTH,
386
+ MATRIX_LINE_OPACITY,
387
+ matrixLineWidth,
388
+ PLACE_POINT_COLOR,
389
+ POI_RESULT_POINT_COLOR,
390
+ RESULT_POINT_RADIUS,
391
+ RESULT_POINT_STROKE_COLOR,
392
+ RESULT_POINT_STROKE_WIDTH,
393
+ SUGGESTION_ALTERNATIVE_COLOR,
394
+ SUGGESTION_ALTERNATIVE_DASHARRAY,
395
+ SUGGESTION_ALTERNATIVE_OPACITY,
396
+ SUGGESTION_CHOSEN_COLOR,
397
+ } from "./layers/rules/analysis.js";
398
+ export {
399
+ ENRICHMENT_CATEGORY_SLUG,
400
+ isEnrichmentCategory,
401
+ POIS_OVERLAY_SLUG,
402
+ } from "./layers/rules/enrichment.js";
403
+ export {
404
+ analysisProps,
405
+ directionsToGeoJson,
406
+ isochronesToGeoJson,
407
+ matrixToGeoJson,
408
+ placesToGeoJson,
409
+ poisToGeoJson,
410
+ suggestionsToGeoJson,
411
+ } from "./layers/rules/geoJson.js";
412
+ export { type HoveredItinerary, hoveredItinerary } from "./layers/rules/hover.js";
413
+ export {
414
+ ITINERARY_CASING_COLOR,
415
+ ITINERARY_CASING_LAYER_SUFFIX,
416
+ ITINERARY_CASING_OPACITY,
417
+ ITINERARY_CASING_WIDTH_STOPS,
418
+ ITINERARY_DASHED_OPACITY,
419
+ ITINERARY_ENDPOINT_ICONS,
420
+ ITINERARY_LINE_DASHARRAY,
421
+ ITINERARY_LINE_SOURCE_LAYER,
422
+ ITINERARY_LINE_WIDTH_STOPS,
423
+ ITINERARY_POINT_SOURCE_LAYER,
424
+ ITINERARY_RESTRICTION_SOURCE_LAYER,
425
+ isItineraryCasingLayer,
426
+ itineraryLineLayout,
427
+ roadAccessIconLayerIdOf,
428
+ } from "./layers/rules/itineraries.js";
429
+ export {
430
+ type LayersPanelCategory,
431
+ type LayersPanelChoice,
432
+ type LayersPanelInput,
433
+ type LayersPanelPress,
434
+ type LayersPanelRow,
435
+ type LayersPanelSection,
436
+ layersPanelPress,
437
+ layersPanelSections,
438
+ } from "./layers/rules/layersPanel.js";
439
+ export {
440
+ LayerRank,
441
+ POI_SOURCE_LAYER_NAMES,
442
+ poiSourceLayers,
443
+ rankForTileLayer,
444
+ tileSourceLayerRanks,
445
+ } from "./layers/rules/order.js";
446
+ export { overlayInstant } from "./layers/rules/overlayInstant.js";
447
+ export { findOverlay, type OverlayKind } from "./layers/rules/overlays.js";
448
+ export {
449
+ type PoiPanelRow,
450
+ type PoiPanelRows,
451
+ type PoiPanelRowsInput,
452
+ poiPanelNoteZoom,
453
+ poiPanelRows,
454
+ } from "./layers/rules/poiPanel.js";
455
+ export {
456
+ omtCategoryToPoiEnum,
457
+ type PoiCategoryStyle,
458
+ poiCategoryStyles,
459
+ } from "./layers/rules/pois.js";
460
+ export {
461
+ type ReadoutCategoryLabel,
462
+ type ReadoutInput,
463
+ type ReadoutMeasure,
464
+ type ReadoutReading,
465
+ type ReadoutRow,
466
+ readoutRows,
467
+ } from "./layers/rules/readout.js";
468
+ export { STREETVIEW_MIN_ZOOM } from "./layers/rules/streetView.js";
469
+ export { type TimestampedSource, timestampedSources } from "./layers/rules/tileTimestamp.js";
470
+ export {
471
+ type TimeSliderReadout,
472
+ type TimeSliderTick,
473
+ timeSliderReadout,
474
+ timeSliderRelease,
475
+ timeSliderTicks,
476
+ } from "./layers/rules/timeSlider.js";
477
+ export {
478
+ TIME_WINDOW_FUTURE_HOURS,
479
+ TIME_WINDOW_PAST_HOURS,
480
+ type TimeSliderWindow,
481
+ timeSliderWindow,
482
+ } from "./layers/rules/timeWindow.js";
483
+ export {
484
+ ZONE_DEFAULT_COLOR,
485
+ ZONE_FILL_SOURCE_LAYER,
486
+ zoneLevelColors,
487
+ } from "./layers/rules/zones.js";
488
+ export { type PaintedLayers, paintZoomRange, zoomIntoRange } from "./layers/rules/zoom.js";
489
+ export { type BadgeSurface, badgeFallback } from "./profile/rules/amenityBadge.js";
490
+ export { type AmenityFilter, amenityFilter, toggleAmenity } from "./profile/rules/amenityFilter.js";
491
+ export {
492
+ type AmenityStack,
493
+ amenityStacks,
494
+ DEFAULT_AMENITY_STACK_MAX,
495
+ } from "./profile/rules/amenityStacks.js";
496
+ export { carriesElevation, type ProfileSpan, profileSpans } from "./profile/rules/axis.js";
497
+ export { type AxisLabelBox, cullCrowdedLabels } from "./profile/rules/axisCulling.js";
498
+ export {
499
+ CLIMB_CATEGORIES,
500
+ type ClimbCategory,
501
+ type ClimbSpan,
502
+ climbAt,
503
+ climbCategoryFor,
504
+ detectClimbs,
505
+ } from "./profile/rules/climbs.js";
506
+ export {
507
+ CURSOR_MARKER_GLYPH,
508
+ type CursorMarkerMap,
509
+ type CursorMarkerPin,
510
+ type CursorMarkerPoint,
511
+ cursorMarkerIds,
512
+ hideCursorMarker,
513
+ showCursorMarker,
514
+ } from "./profile/rules/cursorMarker.js";
515
+ export {
516
+ DEFAULT_READOUT_STATS,
517
+ type ProfileReadout,
518
+ type ProfileReadoutOptions,
519
+ profileReadout,
520
+ type ReadoutCell,
521
+ type ReadoutStat,
522
+ } from "./profile/rules/cursorReadout.js";
523
+ export {
524
+ type PlacedCutoff,
525
+ type PlacedDivider,
526
+ type PlacedWaypointMark,
527
+ type PlaceOnCurveInput,
528
+ type PlaceOnCurveValue,
529
+ placeOnCurve,
530
+ } from "./profile/rules/curvePlacement.js";
531
+ export {
532
+ EMBED_FIT_BASE_MARGIN,
533
+ EMBED_PROFILE_ANALYSIS_HEIGHT,
534
+ EMBED_PROFILE_ANCHOR_INSET,
535
+ EMBED_PROFILE_CHARACTERISTICS_HEIGHT,
536
+ EMBED_PROFILE_PANEL_CHROME,
537
+ EMBED_PROFILE_SECTION_GAP,
538
+ type EmbedProfileSections,
539
+ embedFitPadding,
540
+ estimateProfileHeight,
541
+ PROFILE_PANEL_MIN_GAP,
542
+ type ProfileVisibility,
543
+ type ProfileVisibilityInput,
544
+ resolveProfileVisibility,
545
+ } from "./profile/rules/dock.js";
546
+ /**
547
+ * The elevation profile's maths, exported rather than hidden behind the element that draws
548
+ * it. None of it touches MapLibre: a consumer charting an itinerary with their own library gets
549
+ * the same series, the same projections and the same figures Mountaya's own element reads.
550
+ */
551
+ export {
552
+ activePointAt,
553
+ buildElevationSeries,
554
+ type CumulativeElevation,
555
+ clampRange,
556
+ cumulativeElevation,
557
+ downsampleElevation,
558
+ ELEVATION_NOISE_THRESHOLD_METERS,
559
+ type ElevationPoint,
560
+ type ElevationSeries,
561
+ elevationAt,
562
+ GRADE_WINDOW_METERS,
563
+ gradeAt,
564
+ lineBetween,
565
+ MARKER_BELONGING_METERS,
566
+ MARKER_PROXIMITY_METERS,
567
+ MAX_PROFILE_POINTS,
568
+ type MarkerToProject,
569
+ MIN_RANGE_SPAN_METERS,
570
+ nearestPointIndexAt,
571
+ type ProfileInput,
572
+ type ProfileRange,
573
+ type ProfileTotals,
574
+ type ProjectedMarker,
575
+ profileLength,
576
+ profileLines,
577
+ profileTotals,
578
+ projectMarkers,
579
+ rangeTotals,
580
+ } from "./profile/rules/elevation.js";
581
+ export { formattedInstant } from "./profile/rules/instant.js";
582
+ // The one bounded `Intl` cache this family constructs formatters through. Mirrored here from
583
+ // `./profile` like everything else that entry publishes.
584
+ export {
585
+ clearIntlCache,
586
+ dateTimeFormat,
587
+ displayNames,
588
+ numberFormat,
589
+ relativeTimeFormat,
590
+ } from "./profile/rules/intl.js";
591
+ export { type LegEmphasisMap, writeLegEmphasis } from "./profile/rules/legEmphasis.js";
592
+ export { surfaceColors, wayTypeColors } from "./profile/rules/profileColors.js";
593
+ export {
594
+ distanceToFraction,
595
+ PROFILE_CHART_HEIGHT,
596
+ PROFILE_LABEL_COLUMN,
597
+ PROFILE_PLOT_RIGHT_INSET,
598
+ } from "./profile/rules/profileLayout.js";
599
+ export {
600
+ buildSlices,
601
+ distanceForSlice,
602
+ HIT_SLICES,
603
+ type HitSlice,
604
+ SLICE_WIDTH,
605
+ } from "./profile/rules/profileSlices.js";
606
+ export {
607
+ bandValueAt,
608
+ buildElevationPoints,
609
+ buildInfoBands,
610
+ committedPaceOf,
611
+ type IndexedInfo,
612
+ type InfoBand,
613
+ nearestRoutePointIndexAt,
614
+ type ProfileCharacteristics,
615
+ profileCharacteristics,
616
+ projectWaypoints,
617
+ type RouteProfilePoint,
618
+ trailDifficultyRank,
619
+ WAYPOINT_PROXIMITY_METERS,
620
+ type WaypointProjection,
621
+ } from "./profile/rules/routeProfile.js";
622
+ export { rowAt, rowStandsFor } from "./profile/rules/rowMatch.js";
623
+ export {
624
+ anchoredDomain,
625
+ type CurveColor,
626
+ type CurveStop,
627
+ classAt,
628
+ curveSpans,
629
+ curveStops,
630
+ type DistanceTick,
631
+ distanceTicks,
632
+ domainTicks,
633
+ type ElevationDomain,
634
+ PROFILE_BASELINE,
635
+ PROFILE_BOTTOM_INSET,
636
+ PROFILE_TOP_INSET,
637
+ PROFILE_VIEWBOX,
638
+ type ProfileAnchor,
639
+ type ProfileClass,
640
+ profileAreaPath,
641
+ profileDomain,
642
+ profilePolyline,
643
+ profileX,
644
+ profileY,
645
+ SLOPE_COLOR_STOPS,
646
+ type SlopeColorStop,
647
+ slopeColors,
648
+ } from "./profile/rules/scale.js";
649
+ export {
650
+ DEFAULT_SECTION_CHIP_STATS,
651
+ type SectionChipCell,
652
+ type SectionChipStat,
653
+ sectionChipCells,
654
+ sectionGrade,
655
+ } from "./profile/rules/sectionChips.js";
656
+ export {
657
+ chainGeometry,
658
+ dividesRoute,
659
+ type ItineraryCharacteristics,
660
+ type ItinerarySegmentInput,
661
+ type ItinerarySegmentRow,
662
+ type ItinerarySegmentRowMetrics,
663
+ type ItinerarySegmentRowOverride,
664
+ type ItineraryWaypointRow,
665
+ type ItineraryWaypointRowMetrics,
666
+ itinerarySegmentRows,
667
+ itineraryWaypointRows,
668
+ type PlacedWaypoint,
669
+ type ResolvedCharacteristics,
670
+ resolveCharacteristics,
671
+ resolveWaypoints,
672
+ type Waypoint,
673
+ type WaypointAt,
674
+ type WaypointContactDetail,
675
+ type WaypointDetails,
676
+ type WaypointLinkDetail,
677
+ type WaypointMediaDetail,
678
+ type WaypointOn,
679
+ type WaypointPhotoDetail,
680
+ type WaypointPropertyDetail,
681
+ type WaypointPropertyFormatDetail,
682
+ type WaypointTimingDetail,
683
+ } from "./profile/rules/sections.js";
684
+ export {
685
+ ASCENT_RAMP_STOPS,
686
+ DESCENT_RAMP_STOPS,
687
+ type SlopeRampStop,
688
+ slopeRampColor,
689
+ } from "./profile/rules/slopeRamp.js";
690
+ export {
691
+ DEFAULT_STAT_STRIP_STATS,
692
+ type StatStripCell,
693
+ type StatStripCursor,
694
+ type StatStripStat,
695
+ statStripCells,
696
+ } from "./profile/rules/statStrip.js";
697
+ export {
698
+ classifySteepness,
699
+ STEEPNESS_OVERLAY_SLUG,
700
+ STEEPNESS_THRESHOLDS,
701
+ type SteepnessClass,
702
+ } from "./profile/rules/steepness.js";
703
+ export {
704
+ DEFAULT_SEGMENT_TABLE_COLUMNS,
705
+ DEFAULT_WAYPOINT_TABLE_COLUMNS,
706
+ type SegmentRowCell,
707
+ type SegmentTableColumn,
708
+ segmentRowCell,
709
+ type WaypointRowCell,
710
+ type WaypointRowCellOptions,
711
+ type WaypointTableColumn,
712
+ waypointRowCell,
713
+ } from "./profile/rules/tableCells.js";
714
+ export {
715
+ isSegmentRowLit,
716
+ litSegmentId,
717
+ segmentRowCursor,
718
+ type TableCursor,
719
+ waypointRowCursor,
720
+ } from "./profile/rules/tableCursor.js";
721
+ export {
722
+ type DurationForSpeedInput,
723
+ defaultUnits,
724
+ displayToKilometersPerHour,
725
+ distanceUnitFor,
726
+ durationForSpeed,
727
+ elevationUnitFor,
728
+ formatAltitudeRange,
729
+ formatDistance,
730
+ formatDuration,
731
+ formatElevation,
732
+ formatHumidity,
733
+ formatNavDistance,
734
+ formatNumber,
735
+ formatPaceClock,
736
+ formatProportion,
737
+ formatSlope,
738
+ formatSnowDepth,
739
+ formatSnowfall,
740
+ formatSpeed,
741
+ formatTemperature,
742
+ kilometersPerHourToDisplay,
743
+ type MeasurementFormatOptions,
744
+ paceClockNumberToMinutes,
745
+ paceMinutesToClockNumber,
746
+ parseAscentToMeters,
747
+ parseDistanceToMeters,
748
+ parsePaceClock,
749
+ parseSpeedToKmh,
750
+ resolveSpeedKmh,
751
+ speedUnitFor,
752
+ splitDuration,
753
+ type UnitFormatOptions,
754
+ } from "./profile/rules/units.js";
755
+ export {
756
+ amenityName,
757
+ type WaypointCardFacts,
758
+ type WaypointCardField,
759
+ type WaypointCardRow,
760
+ type WaypointCardService,
761
+ type WaypointCardStringsLike,
762
+ type WaypointContactRow,
763
+ type WaypointMediaLink,
764
+ waypointCard,
765
+ waypointContactRows,
766
+ waypointDeclaresNothing,
767
+ waypointHeadline,
768
+ waypointMediaLinkIsLink,
769
+ waypointMediaLinks,
770
+ waypointMediaPhotos,
771
+ waypointPropertyIsLink,
772
+ waypointPropertyValue,
773
+ waypointSummary,
774
+ waypointTimingRows,
775
+ } from "./profile/rules/waypointCard.js";
776
+ export { isWebAddress } from "./profile/rules/webAddress.js";
777
+ export { type PlacedSpan, placeSpans } from "./profile/rules/windowSpans.js";
778
+ export { inDevelopment } from "./rules/inDevelopment.js";
779
+ export type { TileLayer, TileSource, TileSourceType } from "./rules/types.js";
780
+ export {
781
+ GeolocateControlEngine,
782
+ type GeolocateControlEngineOptions,
783
+ type GeolocateControlSnapshot,
784
+ type GeolocateControlTarget,
785
+ } from "./seams/engines/geolocateControl.js";
786
+ export { type Clock, manualClock, repeatEvery, systemClock } from "./seams/rules/clock.js";
787
+ // The device-position seam, its two shipped implementations, and the shapes they answer in.
788
+ // Published because a consumer embedding the map in a native shell supplies their own, and
789
+ // because `inertGeolocation` is how a product states that it does not locate people.
790
+ export {
791
+ browserGeolocation,
792
+ type GeolocationFix,
793
+ type GeolocationFixOptions,
794
+ type GeolocationPermission,
795
+ type GeolocationSeam,
796
+ inertGeolocation,
797
+ } from "./seams/rules/geolocation.js";
798
+ export {
799
+ SEGMENT_ROUTE_REFUSED,
800
+ type SegmentAnalyzeFn,
801
+ type SegmentRoute,
802
+ type SegmentRouteAnalysis,
803
+ type SegmentRouteAnalysisEntry,
804
+ type SegmentRouteElevation,
805
+ type SegmentRouteFn,
806
+ type SegmentRouteOptions,
807
+ type SegmentRouteResult,
808
+ } from "./seams/rules/segmentRoute.js";
809
+ /**
810
+ * The search result's row model, exported beside the map for the same reason the elevation
811
+ * maths is: turning the wire shapes into one list is the part every consumer would otherwise
812
+ * write, and would write slightly differently. `MountayaMap.search` answers the wire shapes;
813
+ * these turn one into a titled, described, pickable row. Nothing here renders:
814
+ * `@mountaya/elements-react` draws these rows, and a consumer with their own component library
815
+ * draws them their own way from the same mapping.
816
+ *
817
+ * SearchEngine is the search BOX, with no renderer and no framework attached: type into it,
818
+ * read a snapshot back, subscribe for the next one. It owns the parts every search surface would
819
+ * otherwise own by hand and get subtly wrong: the debounce, the abort of the round a newer
820
+ * keystroke replaced, the viewport refresh a pan triggers and a zoom does not, the one broaden
821
+ * from the visible map to the whole world when the map had nothing.
822
+ *
823
+ * `(subscribe, getSnapshot)` is React's `useSyncExternalStore` contract, which is why the
824
+ * engine reads as idiomatic from a hook that is four lines long. It is also a pair any
825
+ * reactive system can drive, so a Vue `shallowRef` or a Flutter `ValueNotifier` binds the same
826
+ * object rather than reimplementing the state machine behind it.
827
+ */
828
+ export {
829
+ SEARCH_DEBOUNCE_MS,
830
+ SEARCH_TARGETS,
831
+ SEARCH_VIEWPORT_REFRESH_MS,
832
+ type SearchConfig,
833
+ SearchEngine,
834
+ type SearchEngineOptions,
835
+ type SearchFetch,
836
+ type SearchUnsubscribe,
837
+ type SearchViewport,
838
+ } from "./search/engines/search.js";
839
+ export {
840
+ describePlace,
841
+ describePoi,
842
+ describeWay,
843
+ describeZone,
844
+ placeTitle,
845
+ poiTitle,
846
+ wayTitle,
847
+ } from "./search/rules/describe.js";
848
+ export {
849
+ everySectionEmpty,
850
+ type FailedSearchSection,
851
+ firstActiveSection,
852
+ SEARCH_FILTERS,
853
+ type SearchFilter,
854
+ type SearchListState,
855
+ type SearchListStatus,
856
+ searchFilterTargets,
857
+ searchListState,
858
+ sectionHasRows,
859
+ sectionsForFilter,
860
+ } from "./search/rules/filters.js";
861
+ export { type HighlightPart, highlightRanges, splitByRanges } from "./search/rules/highlight.js";
862
+ export { pickTarget, type SearchPick, type SearchPickCamera } from "./search/rules/pick.js";
863
+ export {
864
+ collectionRow,
865
+ itineraryRow,
866
+ placeRow,
867
+ poiRow,
868
+ wayRow,
869
+ zoneRow,
870
+ } from "./search/rules/rows.js";
871
+ export { createSearchViewport, type SearchCameraSource } from "./search/rules/searchViewport.js";
872
+ export {
873
+ type SearchOwed,
874
+ shownSearchSnapshot,
875
+ unansweredSearchSnapshot,
876
+ } from "./search/rules/shown.js";
877
+ export {
878
+ type CollectionRow,
879
+ type DataZoneLevel,
880
+ type ItineraryRow,
881
+ type MatchedRange,
882
+ type PlaceRow,
883
+ type PoiRow,
884
+ SECTION_ORDER,
885
+ type SearchHighlight,
886
+ type SearchLabel,
887
+ type SearchLabelResolver,
888
+ type SearchRow,
889
+ type SearchRowPayload,
890
+ type SearchRowPayloadCollection,
891
+ type SearchRowPayloadItinerary,
892
+ type SearchRowPayloadPlace,
893
+ type SearchRowPayloadPoi,
894
+ type SearchRowPayloadWay,
895
+ type SearchRowPayloadZone,
896
+ type SearchRowSecondary,
897
+ type SearchSection,
898
+ type SearchSectionState,
899
+ type SearchSnapshot,
900
+ type SearchTargetName,
901
+ type SearchWording,
902
+ type WayRow,
903
+ type ZoneRow,
904
+ } from "./search/rules/types.js";
905
+ export { OrganizationReadEngine } from "./style/engines/organizationRead.js";
906
+ export {
907
+ type ApplySpecificationOptions,
908
+ applySpecification,
909
+ removeSpecification,
910
+ type StyleTarget,
911
+ type TileSpecification,
912
+ tileLayerSpec,
913
+ tileSourceSpec,
914
+ } from "./style/rules/apply.js";
915
+ export { BASEMAP_ATTRIBUTION } from "./style/rules/attribution.js";
916
+ export {
917
+ type ItineraryLineOptions,
918
+ itineraryCasingSpec,
919
+ itineraryDashedLineSpec,
920
+ itineraryLineSpec,
921
+ zoomInterpolatedWidth,
922
+ } from "./style/rules/itineraryLine.js";
923
+ export {
924
+ applyLanguageToStyle,
925
+ clampMapLanguage,
926
+ type LanguageStyleTarget,
927
+ languageEndonym,
928
+ MAP_LANGUAGES,
929
+ type MapLanguage,
930
+ } from "./style/rules/language.js";
931
+ export {
932
+ type OrganizationReadState,
933
+ organizationWatermark,
934
+ type WatermarkPage,
935
+ type WatermarkPlacement,
936
+ } from "./style/rules/organization.js";
937
+ export {
938
+ defaultMapPaint,
939
+ type MapPaint,
940
+ type MapPaintOverrides,
941
+ resolveMapPaint,
942
+ } from "./style/rules/paint.js";
943
+ export { type PanelFrame, type PanelLayout, panelLayout } from "./style/rules/panelLayout.js";
944
+ export { roadAccessColors, roadAccessGlyph } from "./style/rules/roadAccessColors.js";
945
+ export {
946
+ assignDistinctColors,
947
+ DEFAULT_SEGMENT_COLOR,
948
+ LIVELY_PALETTE,
949
+ pickLivelyColor,
950
+ segmentColorAt,
951
+ } from "./style/rules/segmentColors.js";
952
+ export {
953
+ convertDataSize,
954
+ convertDuration,
955
+ convertLength,
956
+ convertProportion,
957
+ convertSlope,
958
+ convertSpeed,
959
+ convertTemperature,
960
+ type DataSizeUnit,
961
+ DEGREES_PER_TURN,
962
+ DEGREES_TO_RADIANS,
963
+ type DurationUnit,
964
+ isPaceUnit,
965
+ type LengthUnit,
966
+ METERS_PER_KILOMETER,
967
+ MILLISECONDS_PER_SECOND,
968
+ MINUTES_PER_HOUR,
969
+ type ProportionUnit,
970
+ RADIANS_TO_DEGREES,
971
+ SECONDS_PER_HOUR,
972
+ SECONDS_PER_MINUTE,
973
+ type SlopeUnit,
974
+ type SpeedUnit,
975
+ } from "./units/rules/conversions.js";
976
+ export {
977
+ type PreferenceChoice,
978
+ type PreferenceField,
979
+ type PreferenceOption,
980
+ type PreferencePress,
981
+ preferenceChoices,
982
+ preferencePress,
983
+ } from "./units/rules/preferenceChoices.js";
984
+ export {
985
+ UNIT_LENGTHS,
986
+ UNIT_PACES,
987
+ UNIT_SLOPES,
988
+ UNIT_TEMPERATURES,
989
+ type UnitLength,
990
+ type UnitPace,
991
+ type UnitSlope,
992
+ type UnitTemperature,
993
+ } from "./units/rules/preferences.js";