@mountaya/elements 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 (862) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +4 -3
  3. package/THIRD-PARTY-NOTICES.txt +1 -1
  4. package/dist/agent/index.cjs +1152 -1905
  5. package/dist/agent/index.cjs.map +1 -1
  6. package/dist/agent/index.d.cts +1152 -1202
  7. package/dist/agent/index.d.ts +1152 -1202
  8. package/dist/agent/index.js +1147 -1903
  9. package/dist/agent/index.js.map +1 -1
  10. package/dist/camera/index.cjs +2470 -3435
  11. package/dist/camera/index.cjs.map +1 -1
  12. package/dist/camera/index.d.cts +716 -744
  13. package/dist/camera/index.d.ts +716 -744
  14. package/dist/camera/index.js +2438 -3323
  15. package/dist/camera/index.js.map +1 -1
  16. package/dist/{units-D9mBrusY.d.cts → chunk-5pTPpv4v.d.cts} +38 -41
  17. package/dist/{units-D9mBrusY.d.ts → chunk-5pTPpv4v.d.ts} +38 -41
  18. package/dist/{order-BLhsGsH8.d.ts → chunk-6JzFMFHh.d.ts} +15 -28
  19. package/dist/chunk-6qyuJVvt.d.ts +513 -0
  20. package/dist/chunk-9fp0lDic.cjs +583 -0
  21. package/dist/chunk-9fp0lDic.cjs.map +1 -0
  22. package/dist/{zones-B05QA8fy.d.ts → chunk-A48H1rDg.d.cts} +2 -4
  23. package/dist/{zones-B05QA8fy.d.cts → chunk-A48H1rDg.d.ts} +2 -4
  24. package/dist/chunk-B-m1AchR.cjs +57 -0
  25. package/dist/chunk-B-m1AchR.cjs.map +1 -0
  26. package/dist/{bundle-xYrrbJTH.d.ts → chunk-B-qFTf04.d.ts} +51 -57
  27. package/dist/chunk-B0YROiZh.d.cts +1475 -0
  28. package/dist/chunk-B14wgOvH.d.cts +68 -0
  29. package/dist/chunk-B19l3j9r.cjs +150 -0
  30. package/dist/chunk-B19l3j9r.cjs.map +1 -0
  31. package/dist/chunk-B2PtjVKg.cjs +86 -0
  32. package/dist/chunk-B2PtjVKg.cjs.map +1 -0
  33. package/dist/chunk-B56Oyb7W.cjs +70 -0
  34. package/dist/chunk-B56Oyb7W.cjs.map +1 -0
  35. package/dist/chunk-B5WGMQwK.cjs +113 -0
  36. package/dist/chunk-B5WGMQwK.cjs.map +1 -0
  37. package/dist/{types-nO2joeRk.d.ts → chunk-B98mKrdu.d.cts} +103 -122
  38. package/dist/{videoOverlay-Dh_D5_Zs.d.ts → chunk-BB0PmqIM.d.cts} +10 -10
  39. package/dist/chunk-BBikve0Z.cjs +269 -0
  40. package/dist/chunk-BBikve0Z.cjs.map +1 -0
  41. package/dist/chunk-BHeXmM0X.js +37 -0
  42. package/dist/chunk-BHeXmM0X.js.map +1 -0
  43. package/dist/chunk-BI8WZLpU.cjs +281 -0
  44. package/dist/chunk-BI8WZLpU.cjs.map +1 -0
  45. package/dist/chunk-BIEc_SkR.cjs +29 -0
  46. package/dist/chunk-BIEc_SkR.cjs.map +1 -0
  47. package/dist/chunk-BJ6L6_W9.cjs +553 -0
  48. package/dist/chunk-BJ6L6_W9.cjs.map +1 -0
  49. package/dist/chunk-BJ91UCbB.js +11 -0
  50. package/dist/chunk-BJ91UCbB.js.map +1 -0
  51. package/dist/chunk-BJEZWTKj.cjs +166 -0
  52. package/dist/chunk-BJEZWTKj.cjs.map +1 -0
  53. package/dist/chunk-BJz54mfg.cjs +10 -0
  54. package/dist/chunk-BJz54mfg.cjs.map +1 -0
  55. package/dist/{sections-CVlc2Inr.d.cts → chunk-BNX5LAfN.d.cts} +289 -330
  56. package/dist/chunk-BP6KgA86.js +35 -0
  57. package/dist/chunk-BP6KgA86.js.map +1 -0
  58. package/dist/{segmentRoute-C5UL_5bp.d.ts → chunk-BRnjQq6K.d.cts} +44 -59
  59. package/dist/chunk-BSiMEwPS.js +46 -0
  60. package/dist/chunk-BSiMEwPS.js.map +1 -0
  61. package/dist/chunk-BTPjDw_y.cjs +16 -0
  62. package/dist/chunk-BTPjDw_y.cjs.map +1 -0
  63. package/dist/chunk-BTUUABGI.js +17 -0
  64. package/dist/chunk-BTUUABGI.js.map +1 -0
  65. package/dist/chunk-BUeL9y7s.cjs +45 -0
  66. package/dist/chunk-BUeL9y7s.cjs.map +1 -0
  67. package/dist/chunk-BWMuCNc9.cjs +172 -0
  68. package/dist/chunk-BWMuCNc9.cjs.map +1 -0
  69. package/dist/chunk-BWjRfhpF.js +126 -0
  70. package/dist/chunk-BWjRfhpF.js.map +1 -0
  71. package/dist/{types-CTQwbSdA.d.cts → chunk-BZ5KyZXI.d.ts} +103 -122
  72. package/dist/chunk-B_4SVmvh.js +94 -0
  73. package/dist/chunk-B_4SVmvh.js.map +1 -0
  74. package/dist/chunk-BcTUuZQ3.js +95 -0
  75. package/dist/chunk-BcTUuZQ3.js.map +1 -0
  76. package/dist/chunk-BdkqSsJe.cjs +140 -0
  77. package/dist/chunk-BdkqSsJe.cjs.map +1 -0
  78. package/dist/chunk-BfktMVmI.js +70 -0
  79. package/dist/chunk-BfktMVmI.js.map +1 -0
  80. package/dist/chunk-BfzQb0EK.cjs +6 -0
  81. package/dist/chunk-BhWfT-22.d.cts +808 -0
  82. package/dist/chunk-BjJcqX5J.cjs +60 -0
  83. package/dist/chunk-BjJcqX5J.cjs.map +1 -0
  84. package/dist/{geodesy-543qXKtI.d.ts → chunk-Bk0L8g5J.d.cts} +3 -4
  85. package/dist/{geodesy-543qXKtI.d.cts → chunk-Bk0L8g5J.d.ts} +3 -4
  86. package/dist/chunk-Bl4_uVa6.cjs +11 -0
  87. package/dist/chunk-Bl4_uVa6.cjs.map +1 -0
  88. package/dist/chunk-BlKF4lrp.js +43 -0
  89. package/dist/chunk-BlKF4lrp.js.map +1 -0
  90. package/dist/chunk-Bm1FieGR.js +4 -0
  91. package/dist/chunk-Bm1FieGR.js.map +1 -0
  92. package/dist/chunk-Bn6ZbxkS.cjs +27 -0
  93. package/dist/chunk-BpN3hr6a.cjs +541 -0
  94. package/dist/chunk-BpN3hr6a.cjs.map +1 -0
  95. package/dist/{order-BZkUwMou.d.cts → chunk-Bq_WHTfd.d.cts} +15 -28
  96. package/dist/chunk-Bqt4LBBz.cjs +648 -0
  97. package/dist/chunk-Bqt4LBBz.cjs.map +1 -0
  98. package/dist/{language-CEWQ5uYw.d.cts → chunk-Bqt97zwf.d.cts} +3 -18
  99. package/dist/{language-CEWQ5uYw.d.ts → chunk-Bqt97zwf.d.ts} +3 -18
  100. package/dist/chunk-BsBiN4w6.d.cts +245 -0
  101. package/dist/chunk-BvTpOUoC.cjs +207 -0
  102. package/dist/chunk-BvTpOUoC.cjs.map +1 -0
  103. package/dist/chunk-BwK6Hl3q.cjs +446 -0
  104. package/dist/chunk-BwK6Hl3q.cjs.map +1 -0
  105. package/dist/{elevationTiles-pmsb9wnU.d.cts → chunk-BxDQZDXR.d.cts} +26 -27
  106. package/dist/{elevationTiles-pmsb9wnU.d.ts → chunk-BxDQZDXR.d.ts} +26 -27
  107. package/dist/chunk-BxUio8kX.js +20 -0
  108. package/dist/chunk-BxUio8kX.js.map +1 -0
  109. package/dist/chunk-BxaocpFi.d.cts +1 -0
  110. package/dist/chunk-Bywi0K1N.js +36 -0
  111. package/dist/chunk-Bywi0K1N.js.map +1 -0
  112. package/dist/chunk-C-IlmkDl.js +59 -0
  113. package/dist/chunk-C-IlmkDl.js.map +1 -0
  114. package/dist/chunk-C5PtVewq.d.ts +389 -0
  115. package/dist/chunk-C5dpC7mQ.js +19 -0
  116. package/dist/chunk-C5dpC7mQ.js.map +1 -0
  117. package/dist/chunk-C5q1sgSa.js +46 -0
  118. package/dist/chunk-C5q1sgSa.js.map +1 -0
  119. package/dist/chunk-C6fU9G5I.cjs +221 -0
  120. package/dist/chunk-C6fU9G5I.cjs.map +1 -0
  121. package/dist/chunk-C71dpWUK.js +5 -0
  122. package/dist/chunk-C71dpWUK.js.map +1 -0
  123. package/dist/chunk-C82N1gQX.d.ts +1831 -0
  124. package/dist/chunk-C8HdaHpu.js +118 -0
  125. package/dist/chunk-C8HdaHpu.js.map +1 -0
  126. package/dist/chunk-C8ZGryck.js +236 -0
  127. package/dist/chunk-C8ZGryck.js.map +1 -0
  128. package/dist/chunk-C95NG0oD.cjs +43 -0
  129. package/dist/chunk-C95NG0oD.cjs.map +1 -0
  130. package/dist/chunk-C9aR8DXb.js +9 -0
  131. package/dist/chunk-C9aR8DXb.js.map +1 -0
  132. package/dist/{camera-C48Ykaxv.d.ts → chunk-CAUZnoCs.d.ts} +135 -159
  133. package/dist/chunk-CBXWWuM9.cjs +82 -0
  134. package/dist/chunk-CBXWWuM9.cjs.map +1 -0
  135. package/dist/chunk-CC_Kquu7.d.cts +125 -0
  136. package/dist/chunk-CC_Kquu7.d.ts +125 -0
  137. package/dist/chunk-CCp85vXg.cjs +60 -0
  138. package/dist/chunk-CCp85vXg.cjs.map +1 -0
  139. package/dist/chunk-CEcB1_uK.js +39 -0
  140. package/dist/chunk-CEcB1_uK.js.map +1 -0
  141. package/dist/{bundle-Je5zsRFg.d.cts → chunk-CFIo021l.d.cts} +51 -57
  142. package/dist/chunk-CH_IZoJE.js +33 -0
  143. package/dist/chunk-CH_IZoJE.js.map +1 -0
  144. package/dist/chunk-CHrasH_g.cjs +25 -0
  145. package/dist/chunk-CHrasH_g.cjs.map +1 -0
  146. package/dist/chunk-CJVoSaAE.cjs +3 -0
  147. package/dist/chunk-CJp8nGcb.js +96 -0
  148. package/dist/chunk-CJp8nGcb.js.map +1 -0
  149. package/dist/chunk-CJwUtkOt.js +112 -0
  150. package/dist/chunk-CJwUtkOt.js.map +1 -0
  151. package/dist/chunk-CKhCOVIf.d.cts +751 -0
  152. package/dist/chunk-CKiVSRYg.js +50 -0
  153. package/dist/chunk-CKiVSRYg.js.map +1 -0
  154. package/dist/chunk-CKtd19eD.cjs +59 -0
  155. package/dist/chunk-CKtd19eD.cjs.map +1 -0
  156. package/dist/chunk-CL92KE3j.d.ts +3188 -0
  157. package/dist/chunk-CLqUlkAe.js +54 -0
  158. package/dist/chunk-CLqUlkAe.js.map +1 -0
  159. package/dist/chunk-CMG5OV0q.cjs +4741 -0
  160. package/dist/chunk-CMG5OV0q.cjs.map +1 -0
  161. package/dist/chunk-CN_TKSgm.js +10 -0
  162. package/dist/chunk-CN_TKSgm.js.map +1 -0
  163. package/dist/chunk-CNe6MtqV.cjs +29 -0
  164. package/dist/chunk-CNe6MtqV.cjs.map +1 -0
  165. package/dist/chunk-COQkDTC5.js +83 -0
  166. package/dist/chunk-COQkDTC5.js.map +1 -0
  167. package/dist/chunk-CPBl6K4M.cjs +168 -0
  168. package/dist/chunk-CPBl6K4M.cjs.map +1 -0
  169. package/dist/chunk-CPx0ZYFB.d.ts +3 -0
  170. package/dist/chunk-CQQhcP_C.d.ts +197 -0
  171. package/dist/chunk-CTNoajFh.d.cts +389 -0
  172. package/dist/chunk-CTd-qgJc.cjs +384 -0
  173. package/dist/chunk-CTd-qgJc.cjs.map +1 -0
  174. package/dist/chunk-CW80YYtU.cjs +1056 -0
  175. package/dist/chunk-CW80YYtU.cjs.map +1 -0
  176. package/dist/{searchLimits-j99-NTXR.d.ts → chunk-CWpqBgkF.d.cts} +2 -2
  177. package/dist/{searchLimits-j99-NTXR.d.cts → chunk-CWpqBgkF.d.ts} +2 -2
  178. package/dist/chunk-CXjRArgy.d.ts +3 -0
  179. package/dist/chunk-CXonfH3-.cjs +14 -0
  180. package/dist/chunk-CXonfH3-.cjs.map +1 -0
  181. package/dist/chunk-CYcouGXN.d.ts +825 -0
  182. package/dist/chunk-CZDAzEBw.cjs +1621 -0
  183. package/dist/chunk-CZDAzEBw.cjs.map +1 -0
  184. package/dist/{amenities-B3-qAjxu.d.cts → chunk-C_fQFr70.d.cts} +40 -41
  185. package/dist/{amenities-B3-qAjxu.d.ts → chunk-C_fQFr70.d.ts} +40 -41
  186. package/dist/chunk-CbOtHnnB.cjs +359 -0
  187. package/dist/chunk-CbOtHnnB.cjs.map +1 -0
  188. package/dist/chunk-CdA6ZMGk.d.cts +825 -0
  189. package/dist/chunk-Ce1_thm7.js +146 -0
  190. package/dist/chunk-Ce1_thm7.js.map +1 -0
  191. package/dist/chunk-CeD8Hw0j.d.cts +3188 -0
  192. package/dist/{camera-BrFLU1DH.d.cts → chunk-CeiTuMyt.d.cts} +135 -159
  193. package/dist/chunk-Ch1OLzLi.js +1 -0
  194. package/dist/chunk-Cizu_j1N.cjs +87 -0
  195. package/dist/chunk-Cizu_j1N.cjs.map +1 -0
  196. package/dist/chunk-CjDe9z6A.d.cts +427 -0
  197. package/dist/chunk-Cl1etdlu.js +63 -0
  198. package/dist/chunk-Cl1etdlu.js.map +1 -0
  199. package/dist/chunk-CmoVJDoz.js +4 -0
  200. package/dist/chunk-CmoVJDoz.js.map +1 -0
  201. package/dist/chunk-CnLucxjG.cjs +197 -0
  202. package/dist/chunk-CnLucxjG.cjs.map +1 -0
  203. package/dist/chunk-CsWjBmdi.cjs +56 -0
  204. package/dist/chunk-CsWjBmdi.cjs.map +1 -0
  205. package/dist/chunk-CuseO5MZ.d.cts +3 -0
  206. package/dist/chunk-CvMHibbA.d.ts +427 -0
  207. package/dist/chunk-CwDeiN5U.js +870 -0
  208. package/dist/chunk-CwDeiN5U.js.map +1 -0
  209. package/dist/chunk-Cwdmx4tG.js +1 -0
  210. package/dist/{geolocation-DDkQdWMN.d.cts → chunk-D-4MxHTt.d.cts} +33 -34
  211. package/dist/{geolocation-DDkQdWMN.d.ts → chunk-D-4MxHTt.d.ts} +33 -34
  212. package/dist/chunk-D0LF-99V.js +1093 -0
  213. package/dist/chunk-D0LF-99V.js.map +1 -0
  214. package/dist/chunk-D1fe-0c_.js +367 -0
  215. package/dist/chunk-D1fe-0c_.js.map +1 -0
  216. package/dist/chunk-D21fEI6A.d.ts +1926 -0
  217. package/dist/chunk-D39gAxya.cjs +89 -0
  218. package/dist/chunk-D39gAxya.cjs.map +1 -0
  219. package/dist/chunk-D6KdIW5e.cjs +228 -0
  220. package/dist/chunk-D6KdIW5e.cjs.map +1 -0
  221. package/dist/chunk-D6qHYbgW.d.cts +36 -0
  222. package/dist/{videoOverlay-Dh_D5_Zs.d.cts → chunk-D89E-w70.d.ts} +10 -10
  223. package/dist/chunk-D8bdTysL.js +552 -0
  224. package/dist/chunk-D8bdTysL.js.map +1 -0
  225. package/dist/chunk-D96QJT24.cjs +109 -0
  226. package/dist/chunk-D96QJT24.cjs.map +1 -0
  227. package/dist/chunk-DAmkQl-i.js +119 -0
  228. package/dist/chunk-DAmkQl-i.js.map +1 -0
  229. package/dist/chunk-DEfsb2lc.cjs +10 -0
  230. package/dist/chunk-DEfsb2lc.cjs.map +1 -0
  231. package/dist/chunk-DIFjT5-V.d.cts +66 -0
  232. package/dist/{sections-CmtaduLc.d.ts → chunk-DJpUw8TN.d.ts} +289 -330
  233. package/dist/chunk-DK6lm2IZ.cjs +11 -0
  234. package/dist/chunk-DK6lm2IZ.cjs.map +1 -0
  235. package/dist/chunk-DKqgr31j.cjs +61 -0
  236. package/dist/chunk-DKqgr31j.cjs.map +1 -0
  237. package/dist/chunk-DLZ0QYm9.js +37 -0
  238. package/dist/chunk-DLZ0QYm9.js.map +1 -0
  239. package/dist/chunk-DLjS0uaC.js +4 -0
  240. package/dist/chunk-DLjS0uaC.js.map +1 -0
  241. package/dist/chunk-DMokwmOV.cjs +49 -0
  242. package/dist/chunk-DMokwmOV.cjs.map +1 -0
  243. package/dist/chunk-DMvWgBZL.d.cts +1831 -0
  244. package/dist/chunk-DNfGfIF3.js +31 -0
  245. package/dist/chunk-DNfGfIF3.js.map +1 -0
  246. package/dist/chunk-DQbSRe8D.d.ts +245 -0
  247. package/dist/chunk-DSGkP8_y.js +45 -0
  248. package/dist/chunk-DSGkP8_y.js.map +1 -0
  249. package/dist/chunk-DTctvfSd.d.cts +197 -0
  250. package/dist/chunk-DWe7igyw.cjs +206 -0
  251. package/dist/chunk-DWe7igyw.cjs.map +1 -0
  252. package/dist/chunk-DWsMP5JR.d.ts +68 -0
  253. package/dist/{provider-DM71XnLX.d.cts → chunk-DWsm3HIW.d.cts} +37 -38
  254. package/dist/{provider-DM71XnLX.d.ts → chunk-DWsm3HIW.d.ts} +37 -38
  255. package/dist/chunk-DXABHjLa.cjs +3 -0
  256. package/dist/chunk-D_BeqSbc.cjs +42 -0
  257. package/dist/chunk-D_BeqSbc.cjs.map +1 -0
  258. package/dist/chunk-D_svQNdW.d.ts +66 -0
  259. package/dist/chunk-Dav4xWrp.js +330 -0
  260. package/dist/chunk-Dav4xWrp.js.map +1 -0
  261. package/dist/chunk-DbCPhepL.js +293 -0
  262. package/dist/chunk-DbCPhepL.js.map +1 -0
  263. package/dist/chunk-DcrTy-y2.cjs +43 -0
  264. package/dist/chunk-DcrTy-y2.cjs.map +1 -0
  265. package/dist/chunk-Ddv484ld.js +487 -0
  266. package/dist/chunk-Ddv484ld.js.map +1 -0
  267. package/dist/chunk-De0bjnhY.cjs +88 -0
  268. package/dist/chunk-De0bjnhY.cjs.map +1 -0
  269. package/dist/chunk-De2FmNPu.cjs +32 -0
  270. package/dist/chunk-De2FmNPu.cjs.map +1 -0
  271. package/dist/{segmentRoute-CIo6dR8Y.d.cts → chunk-DeSjQXiI.d.ts} +44 -59
  272. package/dist/chunk-Den0Ta6C.js +132 -0
  273. package/dist/chunk-Den0Ta6C.js.map +1 -0
  274. package/dist/chunk-DiDKEeEa.js +8 -0
  275. package/dist/chunk-DiDKEeEa.js.map +1 -0
  276. package/dist/chunk-Dj60k5PU.js +197 -0
  277. package/dist/chunk-Dj60k5PU.js.map +1 -0
  278. package/dist/chunk-DjnYQBCN.js +4705 -0
  279. package/dist/chunk-DjnYQBCN.js.map +1 -0
  280. package/dist/chunk-Dk9VKvyq.d.ts +1 -0
  281. package/dist/chunk-Dor1ERI9.cjs +85 -0
  282. package/dist/chunk-Dor1ERI9.cjs.map +1 -0
  283. package/dist/chunk-DpMouOoH.js +451 -0
  284. package/dist/chunk-DpMouOoH.js.map +1 -0
  285. package/dist/chunk-DposgdNL.cjs +52 -0
  286. package/dist/chunk-DposgdNL.cjs.map +1 -0
  287. package/dist/chunk-DqLTG_5Q.d.cts +3 -0
  288. package/dist/{roadAccess-D_rOE4xW.d.cts → chunk-Dr5MCIpS.d.cts} +5 -28
  289. package/dist/{roadAccess-D_rOE4xW.d.ts → chunk-Dr5MCIpS.d.ts} +5 -28
  290. package/dist/chunk-DrudttCC.cjs +4 -0
  291. package/dist/chunk-DsDYVJQC.js +173 -0
  292. package/dist/chunk-DsDYVJQC.js.map +1 -0
  293. package/dist/chunk-Dw8ur6FJ.js +27 -0
  294. package/dist/chunk-Dw8ur6FJ.js.map +1 -0
  295. package/dist/chunk-DwG6M_0v.js +64 -0
  296. package/dist/chunk-DwG6M_0v.js.map +1 -0
  297. package/dist/chunk-Dy9a5ibO.js +284 -0
  298. package/dist/chunk-Dy9a5ibO.js.map +1 -0
  299. package/dist/chunk-DyayZlQJ.js +157 -0
  300. package/dist/chunk-DyayZlQJ.js.map +1 -0
  301. package/dist/chunk-DyhJZC2i.js +126 -0
  302. package/dist/chunk-DyhJZC2i.js.map +1 -0
  303. package/dist/chunk-F9zBzmmG.cjs +45 -0
  304. package/dist/chunk-F9zBzmmG.cjs.map +1 -0
  305. package/dist/chunk-FyCYofv2.js +116 -0
  306. package/dist/chunk-FyCYofv2.js.map +1 -0
  307. package/dist/chunk-GHJRjAk2.js +1 -0
  308. package/dist/chunk-H14isiSf.d.ts +751 -0
  309. package/dist/chunk-HIJzXoN4.js +7 -0
  310. package/dist/chunk-HIJzXoN4.js.map +1 -0
  311. package/dist/chunk-Id_8kRtu.d.ts +36 -0
  312. package/dist/chunk-KN60yxBQ.js +5 -0
  313. package/dist/chunk-KN60yxBQ.js.map +1 -0
  314. package/dist/chunk-NM5yg6bh.cjs +82 -0
  315. package/dist/chunk-NM5yg6bh.cjs.map +1 -0
  316. package/dist/chunk-OXr3zJfM.cjs +119 -0
  317. package/dist/chunk-OXr3zJfM.cjs.map +1 -0
  318. package/dist/chunk-QGqgNC4z.d.ts +928 -0
  319. package/dist/chunk-QJBtJrZ0.js +36 -0
  320. package/dist/chunk-QJBtJrZ0.js.map +1 -0
  321. package/dist/{routeProfile-BsSUABXv.d.cts → chunk-QKWhxfPv.d.cts} +196 -45
  322. package/dist/{routeProfile-BKfSfxx6.d.ts → chunk-QKWhxfPv.d.ts} +196 -45
  323. package/dist/chunk-QXW7b4Ev.d.cts +410 -0
  324. package/dist/chunk-RHZrxUrM.cjs +39 -0
  325. package/dist/chunk-RHZrxUrM.cjs.map +1 -0
  326. package/dist/chunk-RTxe2i66.js +91 -0
  327. package/dist/chunk-RTxe2i66.js.map +1 -0
  328. package/dist/chunk-RrKkJb6P.js +16 -0
  329. package/dist/chunk-RrKkJb6P.js.map +1 -0
  330. package/dist/chunk-VOJqpcnM.cjs +181 -0
  331. package/dist/chunk-VOJqpcnM.cjs.map +1 -0
  332. package/dist/chunk-VljGTrid.js +1 -0
  333. package/dist/chunk-X3UVwUEK.d.cts +513 -0
  334. package/dist/chunk-X9K2WChn.cjs +28 -0
  335. package/dist/chunk-X9K2WChn.cjs.map +1 -0
  336. package/dist/chunk-YrtOx6oy.js +251 -0
  337. package/dist/chunk-YrtOx6oy.js.map +1 -0
  338. package/dist/chunk-bY7ySujI.d.cts +928 -0
  339. package/dist/chunk-bYf1sBz5.d.cts +11 -0
  340. package/dist/chunk-bYf1sBz5.d.ts +11 -0
  341. package/dist/chunk-blfknWoM.d.cts +1926 -0
  342. package/dist/chunk-blqsohAb.js +113 -0
  343. package/dist/chunk-blqsohAb.js.map +1 -0
  344. package/dist/chunk-cDMCjodI.cjs +58 -0
  345. package/dist/chunk-cDMCjodI.cjs.map +1 -0
  346. package/dist/chunk-cWjE3qd6.cjs +10 -0
  347. package/dist/chunk-cWjE3qd6.cjs.map +1 -0
  348. package/dist/chunk-dfOgV3fu.js +26 -0
  349. package/dist/chunk-dfOgV3fu.js.map +1 -0
  350. package/dist/chunk-f9cTwUX1.cjs +125 -0
  351. package/dist/chunk-f9cTwUX1.cjs.map +1 -0
  352. package/dist/chunk-fHVYEZs4.cjs +28 -0
  353. package/dist/chunk-fHVYEZs4.cjs.map +1 -0
  354. package/dist/chunk-fWRUMgRI.js +22 -0
  355. package/dist/chunk-fWRUMgRI.js.map +1 -0
  356. package/dist/{types-BEv8V_8V.d.cts → chunk-fozLXfHY.d.cts} +8 -8
  357. package/dist/{types-BEv8V_8V.d.ts → chunk-fozLXfHY.d.ts} +8 -8
  358. package/dist/chunk-gWmB1l3A.cjs +3122 -0
  359. package/dist/chunk-gWmB1l3A.cjs.map +1 -0
  360. package/dist/chunk-gbj2R-_w.js +58 -0
  361. package/dist/chunk-gbj2R-_w.js.map +1 -0
  362. package/dist/chunk-iIWxsAXd.js +59 -0
  363. package/dist/chunk-iIWxsAXd.js.map +1 -0
  364. package/dist/chunk-lItIuOIS.cjs +137 -0
  365. package/dist/chunk-lItIuOIS.cjs.map +1 -0
  366. package/dist/chunk-m6Rh4PCe.cjs +798 -0
  367. package/dist/chunk-m6Rh4PCe.cjs.map +1 -0
  368. package/dist/chunk-o3IRANDf.cjs +99 -0
  369. package/dist/chunk-o3IRANDf.cjs.map +1 -0
  370. package/dist/chunk-obUcg3Sk.d.ts +808 -0
  371. package/dist/chunk-ohsf-6Rn.js +600 -0
  372. package/dist/chunk-ohsf-6Rn.js.map +1 -0
  373. package/dist/chunk-pBleU6Nv.js +3061 -0
  374. package/dist/chunk-pBleU6Nv.js.map +1 -0
  375. package/dist/chunk-px4e99cy.js +71 -0
  376. package/dist/chunk-px4e99cy.js.map +1 -0
  377. package/dist/chunk-qwYDLeXc.cjs +99 -0
  378. package/dist/chunk-qwYDLeXc.cjs.map +1 -0
  379. package/dist/chunk-rF_859Qk.cjs +101 -0
  380. package/dist/chunk-rF_859Qk.cjs.map +1 -0
  381. package/dist/chunk-rLJkqJ5j.d.ts +1475 -0
  382. package/dist/chunk-twQItIRg.cjs +338 -0
  383. package/dist/chunk-twQItIRg.cjs.map +1 -0
  384. package/dist/chunk-vnPrMVjY.js +10 -0
  385. package/dist/chunk-vnPrMVjY.js.map +1 -0
  386. package/dist/chunk-ws3bVwaS.d.ts +410 -0
  387. package/dist/chunk-xh3UkuVs.cjs +246 -0
  388. package/dist/chunk-xh3UkuVs.cjs.map +1 -0
  389. package/dist/chunk-yMzRr26E.js +153 -0
  390. package/dist/chunk-yMzRr26E.js.map +1 -0
  391. package/dist/collab/index.cjs +802 -1254
  392. package/dist/collab/index.cjs.map +1 -1
  393. package/dist/collab/index.d.cts +518 -544
  394. package/dist/collab/index.d.ts +518 -544
  395. package/dist/collab/index.js +797 -1252
  396. package/dist/collab/index.js.map +1 -1
  397. package/dist/data/index.cjs +39 -132
  398. package/dist/data/index.d.cts +6 -468
  399. package/dist/data/index.d.ts +6 -468
  400. package/dist/data/index.js +7 -15
  401. package/dist/editor/index.cjs +2631 -4424
  402. package/dist/editor/index.cjs.map +1 -1
  403. package/dist/editor/index.d.cts +10 -59
  404. package/dist/editor/index.d.ts +10 -59
  405. package/dist/editor/index.js +2619 -4403
  406. package/dist/editor/index.js.map +1 -1
  407. package/dist/errors/index.cjs +11 -28
  408. package/dist/errors/index.d.cts +2 -125
  409. package/dist/errors/index.d.ts +2 -125
  410. package/dist/errors/index.js +1 -3
  411. package/dist/geo/index.cjs +68 -232
  412. package/dist/geo/index.d.cts +6 -821
  413. package/dist/geo/index.d.ts +6 -821
  414. package/dist/geo/index.js +11 -15
  415. package/dist/i18n/fr/index.cjs +329 -334
  416. package/dist/i18n/fr/index.cjs.map +1 -1
  417. package/dist/i18n/fr/index.d.cts +3 -10
  418. package/dist/i18n/fr/index.d.ts +3 -10
  419. package/dist/i18n/fr/index.js +324 -332
  420. package/dist/i18n/fr/index.js.map +1 -1
  421. package/dist/i18n/index.cjs +434 -447
  422. package/dist/i18n/index.cjs.map +1 -1
  423. package/dist/i18n/index.d.cts +152 -111
  424. package/dist/i18n/index.d.ts +152 -111
  425. package/dist/i18n/index.js +420 -420
  426. package/dist/i18n/index.js.map +1 -1
  427. package/dist/icons/index.cjs +37 -116
  428. package/dist/icons/index.d.cts +4 -457
  429. package/dist/icons/index.d.ts +4 -457
  430. package/dist/icons/index.js +8 -11
  431. package/dist/index.cjs +515 -1867
  432. package/dist/index.cjs.map +1 -1
  433. package/dist/index.d.cts +44 -121
  434. package/dist/index.d.ts +44 -121
  435. package/dist/index.js +52 -65
  436. package/dist/index.js.map +1 -1
  437. package/dist/layers/index.cjs +83 -318
  438. package/dist/layers/index.d.cts +3 -1555
  439. package/dist/layers/index.d.ts +3 -1555
  440. package/dist/layers/index.js +5 -17
  441. package/dist/map-client/index.cjs +5 -4
  442. package/dist/map-client/index.d.cts +6 -1856
  443. package/dist/map-client/index.d.ts +6 -1856
  444. package/dist/map-client/index.js +0 -3
  445. package/dist/maplibre-worker.mjs +4 -4
  446. package/dist/navigation/index.cjs +584 -671
  447. package/dist/navigation/index.cjs.map +1 -1
  448. package/dist/navigation/index.d.cts +191 -272
  449. package/dist/navigation/index.d.ts +191 -272
  450. package/dist/navigation/index.js +579 -669
  451. package/dist/navigation/index.js.map +1 -1
  452. package/dist/profile/index.cjs +177 -675
  453. package/dist/profile/index.d.cts +8 -2086
  454. package/dist/profile/index.d.ts +8 -2086
  455. package/dist/profile/index.js +10 -18
  456. package/dist/seams/index.cjs +15 -39
  457. package/dist/seams/index.d.cts +4 -254
  458. package/dist/seams/index.d.ts +4 -254
  459. package/dist/seams/index.js +4 -6
  460. package/dist/search/index.cjs +39 -147
  461. package/dist/search/index.d.cts +6 -888
  462. package/dist/search/index.d.ts +6 -888
  463. package/dist/search/index.js +3 -14
  464. package/dist/style/index.cjs +34 -116
  465. package/dist/style/index.d.cts +5 -538
  466. package/dist/style/index.d.ts +5 -538
  467. package/dist/style/index.js +5 -11
  468. package/dist/testing/index.cjs +432 -617
  469. package/dist/testing/index.cjs.map +1 -1
  470. package/dist/testing/index.d.cts +61 -109
  471. package/dist/testing/index.d.ts +61 -109
  472. package/dist/testing/index.js +427 -615
  473. package/dist/testing/index.js.map +1 -1
  474. package/dist/timezone/index.cjs +1946 -752
  475. package/dist/timezone/index.cjs.map +1 -1
  476. package/dist/timezone/index.d.cts +4 -29
  477. package/dist/timezone/index.d.ts +4 -29
  478. package/dist/timezone/index.js +1941 -750
  479. package/dist/timezone/index.js.map +1 -1
  480. package/dist/units/index.cjs +29 -99
  481. package/dist/units/index.d.cts +3 -75
  482. package/dist/units/index.d.ts +3 -75
  483. package/dist/units/index.js +3 -6
  484. package/dist/video/index.cjs +1684 -2169
  485. package/dist/video/index.cjs.map +1 -1
  486. package/dist/video/index.d.cts +386 -413
  487. package/dist/video/index.d.ts +386 -413
  488. package/dist/video/index.js +1678 -2162
  489. package/dist/video/index.js.map +1 -1
  490. package/dist/view/index.cjs +6 -42
  491. package/dist/view/index.d.cts +3 -836
  492. package/dist/view/index.d.ts +3 -836
  493. package/dist/view/index.js +1 -34
  494. package/package.json +12 -12
  495. package/src/auth/rules/clientHeader.ts +1 -1
  496. package/src/camera/rules/modes.ts +38 -42
  497. package/src/camera/rules/routeContent.ts +1 -0
  498. package/src/collab/index.ts +1 -5
  499. package/src/compose/engines/mountayaMap.ts +16 -42
  500. package/src/compose/rules/developmentWarnings.ts +4 -3
  501. package/src/compose/rules/fitBox.ts +67 -0
  502. package/src/compose/rules/maplibreWorkerVersion.gen.ts +1 -1
  503. package/src/compose/rules/maxBounds.ts +5 -5
  504. package/src/compose/rules/types.ts +4 -11
  505. package/src/compose/rules/workerUrl.ts +41 -6
  506. package/src/editing/rules/engine.ts +4 -2
  507. package/src/editor/engines/viewClient.ts +8 -0
  508. package/src/editor/rules/contract.ts +1 -6
  509. package/src/errors/rules/errors.ts +1 -0
  510. package/src/geo/index.ts +1 -6
  511. package/src/i18n/index.ts +1 -0
  512. package/src/i18n/rules/dates.ts +165 -0
  513. package/src/index.ts +5 -24
  514. package/src/map-client/rules/mapClient.ts +4 -2
  515. package/src/profile/rules/scale.ts +1 -5
  516. package/src/profile/rules/waypointCard.ts +8 -11
  517. package/src/search/index.ts +3 -18
  518. package/src/video/index.ts +1 -1
  519. package/src/video/profileOverlay/rules/contract.ts +1 -3
  520. package/src/video/rules/videoEncoder.ts +1 -1
  521. package/dist/accentColor-GNKBD2CW.js +0 -4
  522. package/dist/accentColor-GNKBD2CW.js.map +0 -1
  523. package/dist/accentColor-VX2JSMGE.cjs +0 -17
  524. package/dist/accentColor-VX2JSMGE.cjs.map +0 -1
  525. package/dist/chunk-23PFRRB6.js +0 -3
  526. package/dist/chunk-23PFRRB6.js.map +0 -1
  527. package/dist/chunk-2GI5SAH2.js +0 -71
  528. package/dist/chunk-2GI5SAH2.js.map +0 -1
  529. package/dist/chunk-2MQK6A74.js +0 -39
  530. package/dist/chunk-2MQK6A74.js.map +0 -1
  531. package/dist/chunk-2RE7R4LD.js +0 -73
  532. package/dist/chunk-2RE7R4LD.js.map +0 -1
  533. package/dist/chunk-3JZQKN4O.js +0 -6
  534. package/dist/chunk-3JZQKN4O.js.map +0 -1
  535. package/dist/chunk-3NDXVUUI.js +0 -50
  536. package/dist/chunk-3NDXVUUI.js.map +0 -1
  537. package/dist/chunk-3R4GFTUM.cjs +0 -59
  538. package/dist/chunk-3R4GFTUM.cjs.map +0 -1
  539. package/dist/chunk-3RVUQ6JN.cjs +0 -22
  540. package/dist/chunk-3RVUQ6JN.cjs.map +0 -1
  541. package/dist/chunk-4F6BJMJC.cjs +0 -49
  542. package/dist/chunk-4F6BJMJC.cjs.map +0 -1
  543. package/dist/chunk-4NWQD4BX.js +0 -132
  544. package/dist/chunk-4NWQD4BX.js.map +0 -1
  545. package/dist/chunk-5K2MH3R6.js +0 -10
  546. package/dist/chunk-5K2MH3R6.js.map +0 -1
  547. package/dist/chunk-6ACRNQQQ.cjs +0 -8
  548. package/dist/chunk-6ACRNQQQ.cjs.map +0 -1
  549. package/dist/chunk-6D26E3IA.js +0 -66
  550. package/dist/chunk-6D26E3IA.js.map +0 -1
  551. package/dist/chunk-6ESAW35P.cjs +0 -80
  552. package/dist/chunk-6ESAW35P.cjs.map +0 -1
  553. package/dist/chunk-6LIW2A5M.cjs +0 -1176
  554. package/dist/chunk-6LIW2A5M.cjs.map +0 -1
  555. package/dist/chunk-6OTTWVCA.js +0 -57
  556. package/dist/chunk-6OTTWVCA.js.map +0 -1
  557. package/dist/chunk-6VROJ4UG.js +0 -862
  558. package/dist/chunk-6VROJ4UG.js.map +0 -1
  559. package/dist/chunk-6Y7FTGO4.js +0 -23
  560. package/dist/chunk-6Y7FTGO4.js.map +0 -1
  561. package/dist/chunk-75I4CG64.js +0 -104
  562. package/dist/chunk-75I4CG64.js.map +0 -1
  563. package/dist/chunk-7CUBXHAH.cjs +0 -14
  564. package/dist/chunk-7CUBXHAH.cjs.map +0 -1
  565. package/dist/chunk-7GTCURVY.js +0 -52
  566. package/dist/chunk-7GTCURVY.js.map +0 -1
  567. package/dist/chunk-7IWOL6AM.cjs +0 -100
  568. package/dist/chunk-7IWOL6AM.cjs.map +0 -1
  569. package/dist/chunk-7QN7M667.cjs +0 -151
  570. package/dist/chunk-7QN7M667.cjs.map +0 -1
  571. package/dist/chunk-A6KQDKLM.cjs +0 -1197
  572. package/dist/chunk-A6KQDKLM.cjs.map +0 -1
  573. package/dist/chunk-A77EA67G.js +0 -354
  574. package/dist/chunk-A77EA67G.js.map +0 -1
  575. package/dist/chunk-AFKOABJ4.cjs +0 -7194
  576. package/dist/chunk-AFKOABJ4.cjs.map +0 -1
  577. package/dist/chunk-AG6JV5Z2.cjs +0 -183
  578. package/dist/chunk-AG6JV5Z2.cjs.map +0 -1
  579. package/dist/chunk-APBK7NMS.js +0 -30
  580. package/dist/chunk-APBK7NMS.js.map +0 -1
  581. package/dist/chunk-AWO5YA7A.cjs +0 -33
  582. package/dist/chunk-AWO5YA7A.cjs.map +0 -1
  583. package/dist/chunk-AZATU6QW.js +0 -108
  584. package/dist/chunk-AZATU6QW.js.map +0 -1
  585. package/dist/chunk-BD2U3WST.cjs +0 -623
  586. package/dist/chunk-BD2U3WST.cjs.map +0 -1
  587. package/dist/chunk-BHBEOU6L.cjs +0 -65
  588. package/dist/chunk-BHBEOU6L.cjs.map +0 -1
  589. package/dist/chunk-CNOSNYNE.js +0 -8
  590. package/dist/chunk-CNOSNYNE.js.map +0 -1
  591. package/dist/chunk-CW3EFR4O.js +0 -12
  592. package/dist/chunk-CW3EFR4O.js.map +0 -1
  593. package/dist/chunk-DASVRNBK.js +0 -7187
  594. package/dist/chunk-DASVRNBK.js.map +0 -1
  595. package/dist/chunk-DJ6LCKYP.js +0 -42
  596. package/dist/chunk-DJ6LCKYP.js.map +0 -1
  597. package/dist/chunk-E5FHQAIO.cjs +0 -45
  598. package/dist/chunk-E5FHQAIO.cjs.map +0 -1
  599. package/dist/chunk-EOML5OTY.cjs +0 -360
  600. package/dist/chunk-EOML5OTY.cjs.map +0 -1
  601. package/dist/chunk-EP5CASHL.js +0 -613
  602. package/dist/chunk-EP5CASHL.js.map +0 -1
  603. package/dist/chunk-EP5OEEVZ.cjs +0 -14
  604. package/dist/chunk-EP5OEEVZ.cjs.map +0 -1
  605. package/dist/chunk-EUXI3FGQ.js +0 -150
  606. package/dist/chunk-EUXI3FGQ.js.map +0 -1
  607. package/dist/chunk-EWFSHCOS.js +0 -40
  608. package/dist/chunk-EWFSHCOS.js.map +0 -1
  609. package/dist/chunk-EX2C5K2T.cjs +0 -25
  610. package/dist/chunk-EX2C5K2T.cjs.map +0 -1
  611. package/dist/chunk-FEXWDQIZ.cjs +0 -8
  612. package/dist/chunk-FEXWDQIZ.cjs.map +0 -1
  613. package/dist/chunk-FEYBFY7H.cjs +0 -358
  614. package/dist/chunk-FEYBFY7H.cjs.map +0 -1
  615. package/dist/chunk-FRGAV6N6.cjs +0 -34
  616. package/dist/chunk-FRGAV6N6.cjs.map +0 -1
  617. package/dist/chunk-G5DHP5VF.js +0 -6
  618. package/dist/chunk-G5DHP5VF.js.map +0 -1
  619. package/dist/chunk-G5W2UHV2.js +0 -99
  620. package/dist/chunk-G5W2UHV2.js.map +0 -1
  621. package/dist/chunk-G7OP7O2C.cjs +0 -39
  622. package/dist/chunk-G7OP7O2C.cjs.map +0 -1
  623. package/dist/chunk-GE6CFCAM.cjs +0 -25
  624. package/dist/chunk-GE6CFCAM.cjs.map +0 -1
  625. package/dist/chunk-GIFALLHI.cjs +0 -111
  626. package/dist/chunk-GIFALLHI.cjs.map +0 -1
  627. package/dist/chunk-GLFET5GM.js +0 -129
  628. package/dist/chunk-GLFET5GM.js.map +0 -1
  629. package/dist/chunk-GQ6UFPFM.js +0 -22
  630. package/dist/chunk-GQ6UFPFM.js.map +0 -1
  631. package/dist/chunk-GQJWVMXS.js +0 -129
  632. package/dist/chunk-GQJWVMXS.js.map +0 -1
  633. package/dist/chunk-GVVJPUKC.js +0 -80
  634. package/dist/chunk-GVVJPUKC.js.map +0 -1
  635. package/dist/chunk-GZ2HOCQ2.cjs +0 -134
  636. package/dist/chunk-GZ2HOCQ2.cjs.map +0 -1
  637. package/dist/chunk-HCBOHXWP.js +0 -37
  638. package/dist/chunk-HCBOHXWP.js.map +0 -1
  639. package/dist/chunk-IBQJDVHF.cjs +0 -281
  640. package/dist/chunk-IBQJDVHF.cjs.map +0 -1
  641. package/dist/chunk-ISLB6Y5Q.cjs +0 -106
  642. package/dist/chunk-ISLB6Y5Q.cjs.map +0 -1
  643. package/dist/chunk-J55CRR4F.js +0 -105
  644. package/dist/chunk-J55CRR4F.js.map +0 -1
  645. package/dist/chunk-JBG6Z6MQ.cjs +0 -28
  646. package/dist/chunk-JBG6Z6MQ.cjs.map +0 -1
  647. package/dist/chunk-K3RQOZRU.js +0 -61
  648. package/dist/chunk-K3RQOZRU.js.map +0 -1
  649. package/dist/chunk-KDJYS4GB.cjs +0 -703
  650. package/dist/chunk-KDJYS4GB.cjs.map +0 -1
  651. package/dist/chunk-KMCAHUZM.cjs +0 -4
  652. package/dist/chunk-KMCAHUZM.cjs.map +0 -1
  653. package/dist/chunk-KUCBNPC6.js +0 -87
  654. package/dist/chunk-KUCBNPC6.js.map +0 -1
  655. package/dist/chunk-KV6UE5A4.js +0 -50
  656. package/dist/chunk-KV6UE5A4.js.map +0 -1
  657. package/dist/chunk-L6TZ2HQR.cjs +0 -18
  658. package/dist/chunk-L6TZ2HQR.cjs.map +0 -1
  659. package/dist/chunk-L7QHHGG2.cjs +0 -141
  660. package/dist/chunk-L7QHHGG2.cjs.map +0 -1
  661. package/dist/chunk-LHK3Y2AL.js +0 -271
  662. package/dist/chunk-LHK3Y2AL.js.map +0 -1
  663. package/dist/chunk-LO5RYRBH.cjs +0 -6317
  664. package/dist/chunk-LO5RYRBH.cjs.map +0 -1
  665. package/dist/chunk-LS5SJMUO.cjs +0 -194
  666. package/dist/chunk-LS5SJMUO.cjs.map +0 -1
  667. package/dist/chunk-LUGTMZFN.cjs +0 -42
  668. package/dist/chunk-LUGTMZFN.cjs.map +0 -1
  669. package/dist/chunk-LVUQU6D5.js +0 -32
  670. package/dist/chunk-LVUQU6D5.js.map +0 -1
  671. package/dist/chunk-M2QRC2GZ.js +0 -166
  672. package/dist/chunk-M2QRC2GZ.js.map +0 -1
  673. package/dist/chunk-M6QJYQIM.cjs +0 -53
  674. package/dist/chunk-M6QJYQIM.cjs.map +0 -1
  675. package/dist/chunk-MGCPH5EO.js +0 -12
  676. package/dist/chunk-MGCPH5EO.js.map +0 -1
  677. package/dist/chunk-MLVUWEZR.cjs +0 -474
  678. package/dist/chunk-MLVUWEZR.cjs.map +0 -1
  679. package/dist/chunk-MTAMJMZL.cjs +0 -707
  680. package/dist/chunk-MTAMJMZL.cjs.map +0 -1
  681. package/dist/chunk-MXL5AT3N.js +0 -48
  682. package/dist/chunk-MXL5AT3N.js.map +0 -1
  683. package/dist/chunk-MYEQSESM.cjs +0 -75
  684. package/dist/chunk-MYEQSESM.cjs.map +0 -1
  685. package/dist/chunk-N3VPF6ZD.js +0 -427
  686. package/dist/chunk-N3VPF6ZD.js.map +0 -1
  687. package/dist/chunk-N6VUAIGI.js +0 -7
  688. package/dist/chunk-N6VUAIGI.js.map +0 -1
  689. package/dist/chunk-N6XRLUN6.js +0 -6286
  690. package/dist/chunk-N6XRLUN6.js.map +0 -1
  691. package/dist/chunk-NOGDOZIT.cjs +0 -114
  692. package/dist/chunk-NOGDOZIT.cjs.map +0 -1
  693. package/dist/chunk-NUWXEISH.cjs +0 -10
  694. package/dist/chunk-NUWXEISH.cjs.map +0 -1
  695. package/dist/chunk-NZCZHXYN.cjs +0 -161
  696. package/dist/chunk-NZCZHXYN.cjs.map +0 -1
  697. package/dist/chunk-ODROSWQX.cjs +0 -53
  698. package/dist/chunk-ODROSWQX.cjs.map +0 -1
  699. package/dist/chunk-OE36AYKG.cjs +0 -82
  700. package/dist/chunk-OE36AYKG.cjs.map +0 -1
  701. package/dist/chunk-OLON7MO6.cjs +0 -437
  702. package/dist/chunk-OLON7MO6.cjs.map +0 -1
  703. package/dist/chunk-PBUOR2IT.js +0 -277
  704. package/dist/chunk-PBUOR2IT.js.map +0 -1
  705. package/dist/chunk-PC2ELXFF.cjs +0 -225
  706. package/dist/chunk-PC2ELXFF.cjs.map +0 -1
  707. package/dist/chunk-PCSGXLOC.js +0 -71
  708. package/dist/chunk-PCSGXLOC.js.map +0 -1
  709. package/dist/chunk-PFNMP6FQ.js +0 -56
  710. package/dist/chunk-PFNMP6FQ.js.map +0 -1
  711. package/dist/chunk-PIWSZTIP.js +0 -690
  712. package/dist/chunk-PIWSZTIP.js.map +0 -1
  713. package/dist/chunk-PKWHJ2GI.js +0 -136
  714. package/dist/chunk-PKWHJ2GI.js.map +0 -1
  715. package/dist/chunk-PLMVBX2A.cjs +0 -76
  716. package/dist/chunk-PLMVBX2A.cjs.map +0 -1
  717. package/dist/chunk-PM3XCD2G.cjs +0 -113
  718. package/dist/chunk-PM3XCD2G.cjs.map +0 -1
  719. package/dist/chunk-QAL4GZO7.cjs +0 -143
  720. package/dist/chunk-QAL4GZO7.cjs.map +0 -1
  721. package/dist/chunk-QDB2SEA2.js +0 -74
  722. package/dist/chunk-QDB2SEA2.js.map +0 -1
  723. package/dist/chunk-QOV7UNUN.js +0 -25
  724. package/dist/chunk-QOV7UNUN.js.map +0 -1
  725. package/dist/chunk-QQUWYLSF.cjs +0 -50
  726. package/dist/chunk-QQUWYLSF.cjs.map +0 -1
  727. package/dist/chunk-QUMBH3U4.cjs +0 -9
  728. package/dist/chunk-QUMBH3U4.cjs.map +0 -1
  729. package/dist/chunk-R4KA7OFQ.js +0 -12
  730. package/dist/chunk-R4KA7OFQ.js.map +0 -1
  731. package/dist/chunk-RBSGAZQQ.js +0 -17
  732. package/dist/chunk-RBSGAZQQ.js.map +0 -1
  733. package/dist/chunk-RM5YJWZI.js +0 -46
  734. package/dist/chunk-RM5YJWZI.js.map +0 -1
  735. package/dist/chunk-ROKNKXA4.cjs +0 -8
  736. package/dist/chunk-ROKNKXA4.cjs.map +0 -1
  737. package/dist/chunk-RQG6D546.cjs +0 -75
  738. package/dist/chunk-RQG6D546.cjs.map +0 -1
  739. package/dist/chunk-SG4YDD5L.cjs +0 -74
  740. package/dist/chunk-SG4YDD5L.cjs.map +0 -1
  741. package/dist/chunk-SNRCA7EO.js +0 -56
  742. package/dist/chunk-SNRCA7EO.js.map +0 -1
  743. package/dist/chunk-SO75R4WW.cjs +0 -22
  744. package/dist/chunk-SO75R4WW.cjs.map +0 -1
  745. package/dist/chunk-SP34NHFI.js +0 -45
  746. package/dist/chunk-SP34NHFI.js.map +0 -1
  747. package/dist/chunk-SSKSSBWJ.cjs +0 -179
  748. package/dist/chunk-SSKSSBWJ.cjs.map +0 -1
  749. package/dist/chunk-TB5663C2.js +0 -1108
  750. package/dist/chunk-TB5663C2.js.map +0 -1
  751. package/dist/chunk-TGH4NRES.js +0 -220
  752. package/dist/chunk-TGH4NRES.js.map +0 -1
  753. package/dist/chunk-TJ6ZPNID.js +0 -189
  754. package/dist/chunk-TJ6ZPNID.js.map +0 -1
  755. package/dist/chunk-U45T35N2.cjs +0 -90
  756. package/dist/chunk-U45T35N2.cjs.map +0 -1
  757. package/dist/chunk-UKVOPEZ2.js +0 -442
  758. package/dist/chunk-UKVOPEZ2.js.map +0 -1
  759. package/dist/chunk-UTB4NROA.cjs +0 -887
  760. package/dist/chunk-UTB4NROA.cjs.map +0 -1
  761. package/dist/chunk-UTW33B5V.js +0 -6
  762. package/dist/chunk-UTW33B5V.js.map +0 -1
  763. package/dist/chunk-UYUBSD2V.cjs +0 -33
  764. package/dist/chunk-UYUBSD2V.cjs.map +0 -1
  765. package/dist/chunk-V3JEP5AG.cjs +0 -59
  766. package/dist/chunk-V3JEP5AG.cjs.map +0 -1
  767. package/dist/chunk-VFAGJXHR.js +0 -18
  768. package/dist/chunk-VFAGJXHR.js.map +0 -1
  769. package/dist/chunk-VMEE57E5.cjs +0 -58
  770. package/dist/chunk-VMEE57E5.cjs.map +0 -1
  771. package/dist/chunk-VQVBEX3Y.cjs +0 -113
  772. package/dist/chunk-VQVBEX3Y.cjs.map +0 -1
  773. package/dist/chunk-VZDXX7TT.cjs +0 -64
  774. package/dist/chunk-VZDXX7TT.cjs.map +0 -1
  775. package/dist/chunk-WE5ZTI4D.js +0 -346
  776. package/dist/chunk-WE5ZTI4D.js.map +0 -1
  777. package/dist/chunk-WEFUVABP.js +0 -19
  778. package/dist/chunk-WEFUVABP.js.map +0 -1
  779. package/dist/chunk-WMU4LRKC.js +0 -28
  780. package/dist/chunk-WMU4LRKC.js.map +0 -1
  781. package/dist/chunk-WQ24RRHL.cjs +0 -354
  782. package/dist/chunk-WQ24RRHL.cjs.map +0 -1
  783. package/dist/chunk-WW4CGS7G.cjs +0 -26
  784. package/dist/chunk-WW4CGS7G.cjs.map +0 -1
  785. package/dist/chunk-WXE5WCTM.js +0 -1144
  786. package/dist/chunk-WXE5WCTM.js.map +0 -1
  787. package/dist/chunk-X23BGIYA.cjs +0 -37
  788. package/dist/chunk-X23BGIYA.cjs.map +0 -1
  789. package/dist/chunk-XEW4FTR2.js +0 -98
  790. package/dist/chunk-XEW4FTR2.js.map +0 -1
  791. package/dist/chunk-XIOI4IYW.js +0 -167
  792. package/dist/chunk-XIOI4IYW.js.map +0 -1
  793. package/dist/chunk-XLVPJ37V.cjs +0 -44
  794. package/dist/chunk-XLVPJ37V.cjs.map +0 -1
  795. package/dist/chunk-XOHAXXZA.cjs +0 -51
  796. package/dist/chunk-XOHAXXZA.cjs.map +0 -1
  797. package/dist/chunk-Y4NRIHK6.cjs +0 -313
  798. package/dist/chunk-Y4NRIHK6.cjs.map +0 -1
  799. package/dist/chunk-Y4YMMKL3.js +0 -23
  800. package/dist/chunk-Y4YMMKL3.js.map +0 -1
  801. package/dist/chunk-YJNYBVE3.cjs +0 -14
  802. package/dist/chunk-YJNYBVE3.cjs.map +0 -1
  803. package/dist/chunk-Z762QNQP.cjs +0 -60
  804. package/dist/chunk-Z762QNQP.cjs.map +0 -1
  805. package/dist/chunk-ZG5KMBOF.js +0 -669
  806. package/dist/chunk-ZG5KMBOF.js.map +0 -1
  807. package/dist/chunk-ZKONQEFA.js +0 -344
  808. package/dist/chunk-ZKONQEFA.js.map +0 -1
  809. package/dist/chunk-ZR5X7QMH.js +0 -39
  810. package/dist/chunk-ZR5X7QMH.js.map +0 -1
  811. package/dist/chunk-ZW4BJQ26.js +0 -84
  812. package/dist/chunk-ZW4BJQ26.js.map +0 -1
  813. package/dist/climbs-BhlWuu0x.d.ts +0 -70
  814. package/dist/climbs-DgBFwySV.d.cts +0 -70
  815. package/dist/data/index.cjs.map +0 -1
  816. package/dist/data/index.js.map +0 -1
  817. package/dist/errors/index.cjs.map +0 -1
  818. package/dist/errors/index.js.map +0 -1
  819. package/dist/geo/index.cjs.map +0 -1
  820. package/dist/geo/index.js.map +0 -1
  821. package/dist/icons/index.cjs.map +0 -1
  822. package/dist/icons/index.js.map +0 -1
  823. package/dist/itinerary-Dp2ZnqgD.d.cts +0 -178
  824. package/dist/itinerary-Dp2ZnqgD.d.ts +0 -178
  825. package/dist/layers/index.cjs.map +0 -1
  826. package/dist/layers/index.js.map +0 -1
  827. package/dist/map-client/index.cjs.map +0 -1
  828. package/dist/map-client/index.js.map +0 -1
  829. package/dist/markerSprite-DGBQF6PO.cjs +0 -49
  830. package/dist/markerSprite-DGBQF6PO.cjs.map +0 -1
  831. package/dist/markerSprite-DZLTR6F6.js +0 -8
  832. package/dist/markerSprite-DZLTR6F6.js.map +0 -1
  833. package/dist/mountayaMap-C9mxRFib.d.cts +0 -3277
  834. package/dist/mountayaMap-DgnlQ2fE.d.ts +0 -3277
  835. package/dist/paint-BgUcj8l7.d.cts +0 -118
  836. package/dist/paint-Dx_qGNE_.d.ts +0 -118
  837. package/dist/profile/index.cjs.map +0 -1
  838. package/dist/profile/index.js.map +0 -1
  839. package/dist/seams/index.cjs.map +0 -1
  840. package/dist/seams/index.js.map +0 -1
  841. package/dist/search/index.cjs.map +0 -1
  842. package/dist/search/index.js.map +0 -1
  843. package/dist/searchHighlight-DFE7LVIL.cjs +0 -33
  844. package/dist/searchHighlight-DFE7LVIL.cjs.map +0 -1
  845. package/dist/searchHighlight-MHAQZVWG.js +0 -12
  846. package/dist/searchHighlight-MHAQZVWG.js.map +0 -1
  847. package/dist/strings-30RSdIat.d.cts +0 -552
  848. package/dist/strings-DPTIbzT5.d.ts +0 -552
  849. package/dist/stripeImage-CQUXM2YI.js +0 -14
  850. package/dist/stripeImage-CQUXM2YI.js.map +0 -1
  851. package/dist/stripeImage-R43OPA6U.cjs +0 -39
  852. package/dist/stripeImage-R43OPA6U.cjs.map +0 -1
  853. package/dist/style/index.cjs.map +0 -1
  854. package/dist/style/index.js.map +0 -1
  855. package/dist/types-B034JMjl.d.ts +0 -973
  856. package/dist/types-B2NDLxQA.d.cts +0 -21
  857. package/dist/types-B2NDLxQA.d.ts +0 -21
  858. package/dist/types-C8aX5KMU.d.cts +0 -973
  859. package/dist/units/index.cjs.map +0 -1
  860. package/dist/units/index.js.map +0 -1
  861. package/dist/view/index.cjs.map +0 -1
  862. package/dist/view/index.js.map +0 -1
@@ -1,13 +1,8 @@
1
- import { f as RouteGeometry, C as CameraMode, g as CameraPlan, h as ProfileSource, P as ProfileSample, S as ShotCamera, e as ProfileDesign, c as VideoRecordingPhase, b as RecordingCamera, V as VideoProgress, R as RecordOutput, a as RecordProfile, d as VideoRecordingResult, i as CameraAspect, j as CameraOutputFormat, k as CameraFps, l as CameraResolution, Q as Quality, m as VideoPreset } from '../camera-BrFLU1DH.cjs';
2
- export { n as CAMERA_ASPECTS, o as CAMERA_BEARING_MODES, p as CAMERA_FPS, q as CAMERA_MODES, r as CAMERA_OUTPUT_FORMATS, s as CAMERA_RESOLUTIONS, t as CameraBearingMode, u as CameraOutput, v as CameraPlanInput, w as CameraShot, D as DEFAULT_TARGET_DURATION_MS, x as PROFILE_DESIGNS, y as QUALITY_TIERS, z as SegmentSpan, A as VIDEO_PRESETS_AVAILABLE, B as VIDEO_RECORDING_PHASES, E as createCameraPlan, F as defaultCameraOutput, G as defaultCameraShot, H as insertShotSorted, I as resolveProfileSamples } from '../camera-BrFLU1DH.cjs';
3
- import { L as LngLat, B as BoundingBox } from '../types-BEv8V_8V.cjs';
4
- import { U as UnitFormatOptions } from '../units-D9mBrusY.cjs';
5
- import { ItineraryWithDetails } from '../data/index.cjs';
6
- export { c as cumulativeMeters, r as routeLengthMeters } from '../geodesy-543qXKtI.cjs';
7
- import '../climbs-DgBFwySV.cjs';
8
- import '@mountaya/client';
9
- import 'geojson';
10
-
1
+ import { A as CameraMode, B as VideoRecordingPhase, C as CAMERA_FPS, D as CameraAspect, E as CAMERA_RESOLUTIONS, F as QUALITY_TIERS, I as Quality, L as VIDEO_PRESETS_AVAILABLE, M as CameraResolution, N as PROFILE_DESIGNS, O as CameraBearingMode, P as ProfileDesign, R as VIDEO_RECORDING_PHASES, S as CAMERA_BEARING_MODES, T as CAMERA_OUTPUT_FORMATS, _ as createCameraPlan, a as VideoRecordingResult, b as insertShotSorted, c as SegmentSpan, d as CameraPlan, f as CameraPlanInput, g as ShotCamera, h as RouteGeometry, i as VideoProgress, j as CameraOutputFormat, k as CameraFps, l as resolveProfileSamples, m as DEFAULT_TARGET_DURATION_MS, n as RecordProfile, o as ProfileSample, p as CameraShot, r as RecordingCamera, s as ProfileSource, t as RecordOutput, u as CameraOutput, v as defaultCameraOutput, w as CAMERA_MODES, x as CAMERA_ASPECTS, y as defaultCameraShot, z as VideoPreset } from "../chunk-CeiTuMyt.cjs";
2
+ import { r as LngLat, t as BoundingBox } from "../chunk-fozLXfHY.cjs";
3
+ import { r as UnitFormatOptions } from "../chunk-5pTPpv4v.cjs";
4
+ import { i as routeLengthMeters, n as cumulativeMeters } from "../chunk-Bk0L8g5J.cjs";
5
+ import { g as ItineraryWithDetails } from "../chunk-QKWhxfPv.cjs";
11
6
  /**
12
7
  * RouteCursor is a sampled position along an itinerary: the interpolated [lng, lat]
13
8
  * `point`, the `bearingDeg` of the itinerary's tangent there (the heading the path
@@ -16,9 +11,9 @@ import 'geojson';
16
11
  * second search). Produced by cursorAtFraction.
17
12
  */
18
13
  interface RouteCursor {
19
- bearingDeg: number;
20
- index: number;
21
- point: LngLat;
14
+ bearingDeg: number;
15
+ index: number;
16
+ point: LngLat;
22
17
  }
23
18
  /**
24
19
  * pointAtMeters returns the [lng, lat] located at the given arc-length along the
@@ -42,13 +37,13 @@ interface RouteCursor {
42
37
  * @param targetMeters How far along the line, in meters; held to the line's length.
43
38
  * @param cumulative The line's {@link cumulativeMeters}. Defaults to measuring the line again.
44
39
  */
45
- declare const pointAtMeters: (line: readonly LngLat[], targetMeters: number, cumulative?: readonly number[]) => LngLat;
40
+ export declare const pointAtMeters: (line: readonly LngLat[], targetMeters: number, cumulative?: readonly number[]) => LngLat;
46
41
  /**
47
42
  * bearingDegBetween returns the initial great-circle bearing in degrees (0..360)
48
43
  * from a to b: the heading to travel to go from the first point to the second.
49
44
  * Two identical points have no defined heading and return 0.
50
45
  */
51
- declare const bearingDegBetween: (a: LngLat, b: LngLat) => number;
46
+ export declare const bearingDegBetween: (a: LngLat, b: LngLat) => number;
52
47
  /**
53
48
  * tangentBearingAtMeters returns the itinerary's heading in degrees (0..360) at the
54
49
  * given arc-length, sampled by looking `lookaheadMeters` further along the line
@@ -69,7 +64,7 @@ declare const bearingDegBetween: (a: LngLat, b: LngLat) => number;
69
64
  * @param lookaheadMeters How far ahead of that point the heading aims, in meters.
70
65
  * @param cumulative The line's {@link cumulativeMeters}. Defaults to measuring the line again.
71
66
  */
72
- declare const tangentBearingAtMeters: (line: readonly LngLat[], targetMeters: number, lookaheadMeters: number, cumulative?: readonly number[]) => number;
67
+ export declare const tangentBearingAtMeters: (line: readonly LngLat[], targetMeters: number, lookaheadMeters: number, cumulative?: readonly number[]) => number;
73
68
  /**
74
69
  * cursorAtFraction samples an itinerary at a progress fraction (0..1 of total
75
70
  * length): it returns the interpolated point, the tangent bearing there (using
@@ -84,7 +79,7 @@ declare const tangentBearingAtMeters: (line: readonly LngLat[], targetMeters: nu
84
79
  * @param lookaheadMeters How far ahead of the point the tangent bearing aims, in meters.
85
80
  * @param cumulative The line's {@link cumulativeMeters}. Defaults to measuring the line again.
86
81
  */
87
- declare const cursorAtFraction: (line: readonly LngLat[], fraction: number, lookaheadMeters: number, cumulative?: readonly number[]) => RouteCursor;
82
+ export declare const cursorAtFraction: (line: readonly LngLat[], fraction: number, lookaheadMeters: number, cumulative?: readonly number[]) => RouteCursor;
88
83
  /**
89
84
  * itineraryToRouteGeometry flattens an itinerary, or one of its segments, into the single
90
85
  * {@link RouteGeometry} a camera plan resolves against.
@@ -109,7 +104,7 @@ declare const cursorAtFraction: (line: readonly LngLat[], fraction: number, look
109
104
  * @returns The route, or null where fewer than two vertices name a place: no itinerary, an
110
105
  * unknown segment, or segments holding no line. A flight needs a direction.
111
106
  */
112
- declare const itineraryToRouteGeometry: (itinerary: ItineraryWithDetails | null, segmentId?: string | null) => RouteGeometry | null;
107
+ export declare const itineraryToRouteGeometry: (itinerary: ItineraryWithDetails | null, segmentId?: string | null) => RouteGeometry | null;
113
108
  /**
114
109
  * elevationAtFraction returns the itinerary's embedded surface elevation in meters at
115
110
  * a progress fraction (0..1), interpolating linearly between the two vertices
@@ -124,7 +119,7 @@ declare const itineraryToRouteGeometry: (itinerary: ItineraryWithDetails | null,
124
119
  * @param fraction The progress along the route, 0 at its start and 1 at its end.
125
120
  * @param cumulative The route's {@link cumulativeMeters}. Defaults to measuring the line again.
126
121
  */
127
- declare const elevationAtFraction: (itinerary: RouteGeometry, fraction: number, cumulative?: readonly number[]) => number | null;
122
+ export declare const elevationAtFraction: (itinerary: RouteGeometry, fraction: number, cumulative?: readonly number[]) => number | null;
128
123
  /**
129
124
  * slopeDegAtFraction returns the itinerary's local slope in degrees at a progress
130
125
  * fraction (positive climbing, negative descending), measured as the rise over
@@ -145,8 +140,7 @@ declare const elevationAtFraction: (itinerary: RouteGeometry, fraction: number,
145
140
  * @param fraction The progress along the route the window starts at, 0 to 1.
146
141
  * @param lookaheadMeters The length of the window the grade is measured over, in meters.
147
142
  */
148
- declare const slopeDegAtFraction: (itinerary: RouteGeometry, fraction: number, lookaheadMeters: number) => number;
149
-
143
+ export declare const slopeDegAtFraction: (itinerary: RouteGeometry, fraction: number, lookaheadMeters: number) => number;
150
144
  /**
151
145
  * TerrainSampler reads the DEM elevation in meters at a [lng, lat], or null when
152
146
  * the terrain is not loaded there (off-coverage, or no DEM configured at all). It
@@ -167,11 +161,11 @@ type TerrainSampler = (lngLat: [number, number]) => number | null;
167
161
  * resolver already holds per frame, handed across without copying the whole pose.
168
162
  */
169
163
  interface ClearanceFrame {
170
- bearing: number;
171
- center: LngLat;
172
- fraction: number;
173
- pitch: number;
174
- zoom: number;
164
+ bearing: number;
165
+ center: LngLat;
166
+ fraction: number;
167
+ pitch: number;
168
+ zoom: number;
175
169
  }
176
170
  /**
177
171
  * ClearanceOptions tune the clearance pass.
@@ -199,10 +193,10 @@ interface ClearanceFrame {
199
193
  * derives the stride a preview should pass.
200
194
  */
201
195
  interface ClearanceOptions {
202
- anticipationMeters?: number | undefined;
203
- mode?: CameraMode | undefined;
204
- sampleStride?: number | undefined;
205
- viewportHeightPx?: number | undefined;
196
+ anticipationMeters?: number | undefined;
197
+ mode?: CameraMode | undefined;
198
+ sampleStride?: number | undefined;
199
+ viewportHeightPx?: number | undefined;
206
200
  }
207
201
  /**
208
202
  * ClearanceAdjustment is the per-frame clearance solution: aligned `zoom` and
@@ -213,8 +207,8 @@ interface ClearanceOptions {
213
207
  * resolver's min is a no-op and an un-cleared track is reproduced exactly.
214
208
  */
215
209
  interface ClearanceAdjustment {
216
- pitch: number[];
217
- zoom: number[];
210
+ pitch: number[];
211
+ zoom: number[];
218
212
  }
219
213
  /**
220
214
  * resolveClearanceAdjustments returns a clearance-adjusted zoom AND pitch per
@@ -250,8 +244,7 @@ interface ClearanceAdjustment {
250
244
  * @param options The anticipation, viewport, mode and stride the pass runs with.
251
245
  * @returns One zoom and one pitch per frame, each at or under the frame's own input.
252
246
  */
253
- declare const resolveClearanceAdjustments: (frames: readonly ClearanceFrame[], itinerary: RouteGeometry, sampler: TerrainSampler, options: ClearanceOptions) => ClearanceAdjustment;
254
-
247
+ export declare const resolveClearanceAdjustments: (frames: readonly ClearanceFrame[], itinerary: RouteGeometry, sampler: TerrainSampler, options: ClearanceOptions) => ClearanceAdjustment;
255
248
  /**
256
249
  * CameraPlanner is where a camera plan is turned into the per-frame arrays a preview flies and
257
250
  * a record composites.
@@ -280,19 +273,19 @@ declare const resolveClearanceAdjustments: (frames: readonly ClearanceFrame[], i
280
273
  * decision to take when there is a worker to widen it for.
281
274
  */
282
275
  interface CameraPlanner {
283
- /**
284
- * resolveSamples produces the per-frame overlay readout (distance, elevation, running
285
- * ascent, the categorical bands), index-aligned with the poses.
286
- */
287
- readonly resolveSamples: (plan: CameraPlan, itinerary: RouteGeometry, source: ProfileSource) => ProfileSample[];
288
- /**
289
- * resolveTrack produces the per-frame camera poses.
290
- *
291
- * `sampler` is the map's DEM readout, which turns on the clearance pass; `clearanceStride`
292
- * decimates that pass for a preview. Both are absent on the sampler-free call a host makes to
293
- * warm tiles.
294
- */
295
- readonly resolveTrack: (plan: CameraPlan, itinerary: RouteGeometry, sampler?: TerrainSampler, clearanceStride?: number) => readonly ShotCamera[];
276
+ /**
277
+ * resolveSamples produces the per-frame overlay readout (distance, elevation, running
278
+ * ascent, the categorical bands), index-aligned with the poses.
279
+ */
280
+ readonly resolveSamples: (plan: CameraPlan, itinerary: RouteGeometry, source: ProfileSource) => ProfileSample[];
281
+ /**
282
+ * resolveTrack produces the per-frame camera poses.
283
+ *
284
+ * `sampler` is the map's DEM readout, which turns on the clearance pass; `clearanceStride`
285
+ * decimates that pass for a preview. Both are absent on the sampler-free call a host makes to
286
+ * warm tiles.
287
+ */
288
+ readonly resolveTrack: (plan: CameraPlan, itinerary: RouteGeometry, sampler?: TerrainSampler, clearanceStride?: number) => readonly ShotCamera[];
296
289
  }
297
290
  /**
298
291
  * synchronousCameraPlanner resolves on the calling thread, exactly as `resolveCameraTrack` and
@@ -302,7 +295,7 @@ interface CameraPlanner {
302
295
  * to memoize their own results, so a second call for an unchanged plan and route costs a map
303
296
  * lookup, which is most of what a session of authoring does.
304
297
  */
305
- declare const synchronousCameraPlanner: () => CameraPlanner;
298
+ export declare const synchronousCameraPlanner: () => CameraPlanner;
306
299
  /**
307
300
  * measuredCameraPlanner wraps a planner so each resolve lands on the performance timeline.
308
301
  *
@@ -328,8 +321,7 @@ declare const synchronousCameraPlanner: () => CameraPlanner;
328
321
  * a runtime without `performance.mark` simply gets the durations: the wrapper never changes what
329
322
  * the planner returns, and never throws where the planner would not.
330
323
  */
331
- declare const measuredCameraPlanner: (planner: CameraPlanner, onMeasure?: (name: string, durationMs: number) => void) => CameraPlanner;
332
-
324
+ export declare const measuredCameraPlanner: (planner: CameraPlanner, onMeasure?: (name: string, durationMs: number) => void) => CameraPlanner;
333
325
  /**
334
326
  * Authoring and running one fly-through, with no product around it.
335
327
  *
@@ -368,42 +360,42 @@ declare const measuredCameraPlanner: (planner: CameraPlanner, onMeasure?: (name:
368
360
  * plan; the second is about the picture.
369
361
  */
370
362
  interface VideoFlightMap {
363
+ /**
364
+ * jumpToPose lands the camera on one full pose immediately, with no animation.
365
+ *
366
+ * The full pose and not a centre: a scrubbed frame has to match the pitch and bearing the flight
367
+ * would be at that fraction, or the scrubber shows a picture the video never contains.
368
+ */
369
+ jumpToPose: (pose: RecordingCamera) => void;
370
+ /**
371
+ * prewarmTerrain frames the route's bounds and resolves once the DEM under them has settled.
372
+ *
373
+ * The box of a route across the antimeridian runs past 180 or below -180, the form a
374
+ * renderer frames across the line.
375
+ */
376
+ prewarmTerrain: (bounds: BoundingBox) => Promise<void>;
377
+ previewPoses: (poses: RecordingCamera[], options: {
378
+ focusGlyphUrl?: string | undefined;
379
+ markers?: [number, number][] | undefined;
380
+ onProgress?: ((progress: VideoProgress) => void) | undefined;
381
+ planDurationMs?: number | undefined;
382
+ signal: AbortSignal;
383
+ }) => Promise<void>;
384
+ recordPoses: (poses: readonly RecordingCamera[], output: RecordOutput, options: {
385
+ focusGlyphUrl?: string | undefined;
386
+ markers?: [number, number][] | undefined;
387
+ onProgress?: ((progress: VideoProgress) => void) | undefined;
388
+ profile?: RecordProfile | undefined;
389
+ signal: AbortSignal;
371
390
  /**
372
- * jumpToPose lands the camera on one full pose immediately, with no animation.
373
- *
374
- * The full pose and not a centre: a scrubbed frame has to match the pitch and bearing the flight
375
- * would be at that fraction, or the scrubber shows a picture the video never contains.
391
+ * Whether the caller has just warmed these very poses' viewports, every frame's zoom and
392
+ * pitch included, so the recorder captures without a warm pass of its own. Absent or
393
+ * false, the recorder warms them first.
376
394
  */
377
- jumpToPose: (pose: RecordingCamera) => void;
378
- /**
379
- * prewarmTerrain frames the route's bounds and resolves once the DEM under them has settled.
380
- *
381
- * The box of a route across the antimeridian runs past 180 or below -180, the form a
382
- * renderer frames across the line.
383
- */
384
- prewarmTerrain: (bounds: BoundingBox) => Promise<void>;
385
- previewPoses: (poses: RecordingCamera[], options: {
386
- focusGlyphUrl?: string | undefined;
387
- markers?: [number, number][] | undefined;
388
- onProgress?: ((progress: VideoProgress) => void) | undefined;
389
- planDurationMs?: number | undefined;
390
- signal: AbortSignal;
391
- }) => Promise<void>;
392
- recordPoses: (poses: readonly RecordingCamera[], output: RecordOutput, options: {
393
- focusGlyphUrl?: string | undefined;
394
- markers?: [number, number][] | undefined;
395
- onProgress?: ((progress: VideoProgress) => void) | undefined;
396
- profile?: RecordProfile | undefined;
397
- signal: AbortSignal;
398
- /**
399
- * Whether the caller has just warmed these very poses' viewports, every frame's zoom and
400
- * pitch included, so the recorder captures without a warm pass of its own. Absent or
401
- * false, the recorder warms them first.
402
- */
403
- warmed?: boolean | undefined;
404
- }) => Promise<VideoRecordingResult>;
405
- sampleTerrainElevation: (lngLat: [number, number]) => number | null;
406
- warmPoses: (poses: readonly RecordingCamera[], signal?: AbortSignal) => Promise<void>;
395
+ warmed?: boolean | undefined;
396
+ }) => Promise<VideoRecordingResult>;
397
+ sampleTerrainElevation: (lngLat: [number, number]) => number | null;
398
+ warmPoses: (poses: readonly RecordingCamera[], signal?: AbortSignal) => Promise<void>;
407
399
  }
408
400
  /**
409
401
  * The elevation overlay burnt into the frame, and the units it is written in.
@@ -414,18 +406,18 @@ interface VideoFlightMap {
414
406
  * screen reads in. `language` doubles as the BCP 47 locale the numbers are formatted with.
415
407
  */
416
408
  interface VideoFlightProfile {
417
- readonly design: ProfileDesign;
418
- readonly enabled: boolean;
419
- readonly language: UnitFormatOptions["language"];
420
- readonly length: UnitFormatOptions["length"];
421
- readonly pace: UnitFormatOptions["pace"];
422
- readonly slope: UnitFormatOptions["slope"];
409
+ readonly design: ProfileDesign;
410
+ readonly enabled: boolean;
411
+ readonly language: UnitFormatOptions["language"];
412
+ readonly length: UnitFormatOptions["length"];
413
+ readonly pace: UnitFormatOptions["pace"];
414
+ readonly slope: UnitFormatOptions["slope"];
423
415
  }
424
416
  /**
425
417
  * The overlay a flight opens with: off, the graph design, metric, degrees and a speed
426
418
  * stated per unit of time, in English.
427
419
  */
428
- declare const defaultVideoFlightProfile: VideoFlightProfile;
420
+ export declare const defaultVideoFlightProfile: VideoFlightProfile;
429
421
  /**
430
422
  * What a flight is doing, as a subscriber reads it.
431
423
  *
@@ -441,34 +433,34 @@ declare const defaultVideoFlightProfile: VideoFlightProfile;
441
433
  * over a preview under way, and a scrubber reads its position off either.
442
434
  */
443
435
  type VideoFlightStatus = {
444
- readonly kind: "idle";
436
+ readonly kind: "idle";
445
437
  } | {
446
- readonly fraction: number;
447
- readonly kind: "parked";
438
+ readonly fraction: number;
439
+ readonly kind: "parked";
448
440
  } | {
449
- readonly fraction: number;
450
- readonly kind: "previewing";
441
+ readonly fraction: number;
442
+ readonly kind: "previewing";
451
443
  } | {
452
- readonly fraction: number;
453
- readonly kind: "recording";
454
- readonly phase: VideoRecordingPhase;
444
+ readonly fraction: number;
445
+ readonly kind: "recording";
446
+ readonly phase: VideoRecordingPhase;
455
447
  };
456
448
  /** Everything a UI renders from, and the whole of what `subscribe` announces a change to. */
457
449
  interface VideoFlight {
458
- /**
459
- * The activity silhouette the moving focus dot masks over its white disc, or null for a plain
460
- * disc. A URL rather than a glyph name: what artwork an activity has is the caller's vocabulary.
461
- */
462
- readonly activityGlyphUrl: string | null;
463
- readonly plan: CameraPlan;
464
- readonly profile: VideoFlightProfile;
465
- /**
466
- * Where the overlay's per-frame readouts are resolved from. Null leaves the overlay unpainted.
467
- */
468
- readonly profileSource: ProfileSource | null;
469
- /** The flattened route the plan is anchored to. Null until a caller supplies one. */
470
- readonly route: RouteGeometry | null;
471
- readonly status: VideoFlightStatus;
450
+ /**
451
+ * The activity silhouette the moving focus dot masks over its white disc, or null for a plain
452
+ * disc. A URL rather than a glyph name: what artwork an activity has is the caller's vocabulary.
453
+ */
454
+ readonly activityGlyphUrl: string | null;
455
+ readonly plan: CameraPlan;
456
+ readonly profile: VideoFlightProfile;
457
+ /**
458
+ * Where the overlay's per-frame readouts are resolved from. Null leaves the overlay unpainted.
459
+ */
460
+ readonly profileSource: ProfileSource | null;
461
+ /** The flattened route the plan is anchored to. Null until a caller supplies one. */
462
+ readonly route: RouteGeometry | null;
463
+ readonly status: VideoFlightStatus;
472
464
  }
473
465
  /**
474
466
  * Why a flight did not run, as a value rather than a throw.
@@ -485,14 +477,14 @@ interface VideoFlight {
485
477
  * subscriber that throws is no failure of the flight, and never arrives here.
486
478
  */
487
479
  type VideoFlightOutcome = {
488
- readonly ok: true;
480
+ readonly ok: true;
489
481
  } | {
490
- readonly error: Error;
491
- readonly ok: false;
492
- readonly reason: "failed";
482
+ readonly error: Error;
483
+ readonly ok: false;
484
+ readonly reason: "failed";
493
485
  } | {
494
- readonly ok: false;
495
- readonly reason: "aborted" | "no-map" | "no-route";
486
+ readonly ok: false;
487
+ readonly reason: "aborted" | "no-map" | "no-route";
496
488
  };
497
489
  /**
498
490
  * A finished recording, or why there is not one.
@@ -508,16 +500,16 @@ type VideoFlightOutcome = {
508
500
  * supplies may.
509
501
  */
510
502
  type VideoFlightRecording = {
511
- readonly blob: Blob;
512
- readonly extension: string;
513
- readonly ok: true;
503
+ readonly blob: Blob;
504
+ readonly extension: string;
505
+ readonly ok: true;
514
506
  } | {
515
- readonly error: Error;
516
- readonly ok: false;
517
- readonly reason: "failed";
507
+ readonly error: Error;
508
+ readonly ok: false;
509
+ readonly reason: "failed";
518
510
  } | {
519
- readonly ok: false;
520
- readonly reason: "aborted" | "no-frames" | "no-map" | "no-route" | "unavailable";
511
+ readonly ok: false;
512
+ readonly reason: "aborted" | "no-frames" | "no-map" | "no-route" | "unavailable";
521
513
  };
522
514
  /**
523
515
  * VideoFlightOptions is what a {@link VideoFlightEngine} is built with: the plan it opens on, and
@@ -525,33 +517,33 @@ type VideoFlightRecording = {
525
517
  * and whether a recording carries the brand mark.
526
518
  */
527
519
  interface VideoFlightOptions {
528
- /**
529
- * The plan a flight opens on. Required, because there is no default worth inventing: a plan
530
- * names a mode, an output and a keyframe list, and `cameraPlanGenerators` builds one from a
531
- * route in a line.
532
- */
533
- readonly plan: CameraPlan;
534
- /**
535
- * The map the flight drives. Omitted or null, every run answers `no-map` and the state still
536
- * works, which is what lets a caller author a plan before a canvas exists.
537
- */
538
- readonly map?: VideoFlightMap | null | undefined;
539
- /**
540
- * Where a plan is turned into per-frame poses. Defaults to resolving on the calling thread,
541
- * which is what the studio does; `measuredCameraPlanner` answers whether anything else is
542
- * warranted.
543
- */
544
- readonly planner?: CameraPlanner | undefined;
545
- /**
546
- * How many resolved flights to memoize. Four covers a session's working set (the current
547
- * preview, the record's full-density resolve, and a recent edit or two) while keeping the
548
- * retained per-frame pose arrays to a handful.
549
- *
550
- * A whole number, 0 or more. At 0 no flight is kept and every run resolves again.
551
- *
552
- * @default 4
553
- */
554
- readonly poseCacheSize?: number | undefined;
520
+ /**
521
+ * The plan a flight opens on. Required, because there is no default worth inventing: a plan
522
+ * names a mode, an output and a keyframe list, and `cameraPlanGenerators` builds one from a
523
+ * route in a line.
524
+ */
525
+ readonly plan: CameraPlan;
526
+ /**
527
+ * The map the flight drives. Omitted or null, every run answers `no-map` and the state still
528
+ * works, which is what lets a caller author a plan before a canvas exists.
529
+ */
530
+ readonly map?: VideoFlightMap | null | undefined;
531
+ /**
532
+ * Where a plan is turned into per-frame poses. Defaults to resolving on the calling thread,
533
+ * which is what the studio does; `measuredCameraPlanner` answers whether anything else is
534
+ * warranted.
535
+ */
536
+ readonly planner?: CameraPlanner | undefined;
537
+ /**
538
+ * How many resolved flights to memoize. Four covers a session's working set (the current
539
+ * preview, the record's full-density resolve, and a recent edit or two) while keeping the
540
+ * retained per-frame pose arrays to a handful.
541
+ *
542
+ * A whole number, 0 or more. At 0 no flight is kept and every run resolves again.
543
+ *
544
+ * @default 4
545
+ */
546
+ readonly poseCacheSize?: number | undefined;
555
547
  }
556
548
  /**
557
549
  * VideoFlightEngine authors and runs one fly-through over a route a host holds: it holds the
@@ -597,547 +589,537 @@ interface VideoFlightOptions {
597
589
  * flight.dispose();
598
590
  * ```
599
591
  */
600
- declare class VideoFlightEngine {
601
- private flight;
602
- private readonly listeners;
603
- private readonly map;
604
- private readonly planner;
605
- private readonly poseCacheSize;
606
- /**
607
- * The run in flight. One at a time: every preview and record stops the run before it as it
608
- * starts, because two flights over one map would fight for the camera.
609
- */
610
- private run;
611
- /**
612
- * How far through the flight a preview that {@link pause} stopped in the air had flown, which
613
- * {@link play} flies on from. Null when no flight is paused.
614
- */
615
- private pausedAt;
616
- /**
617
- * The memoized flights, an insertion-ordered LRU. Keyed on the pose-affecting plan fields, the
618
- * route's revision, whether this is the full-density record resolve or a decimated preview one,
619
- * and the DEM epoch, so a format-only edit collapses onto the same key and reuses the flight,
620
- * while a resolve cached against a cold DEM is dropped once the flight warm lands.
621
- */
622
- private readonly poseCache;
623
- /** Bumped when the flight terrain warms, which is what invalidates a cold-DEM resolve. */
624
- private demEpoch;
625
- /**
626
- * Advanced each time the route's content is read and differs from {@link routeContent}: as
627
- * {@link setRoute} is handed a route, and as a flight begins. The warm guards and the pose
628
- * cache name a route by it, so telling two routes apart costs one walk per `setRoute` and one
629
- * per flight, each ending at the first difference.
630
- */
631
- private routeRevision;
632
- /** What the held route held when it was last read, or null while no route is held. */
633
- private routeContent;
634
- /** The route revision each warm has already run for, so neither repeats. */
635
- private terrainWarmedRevision;
636
- private flightWarmedRevision;
637
- /** The terrain warm in progress, which a flight asked for meanwhile over the same route joins. */
638
- private terrainWarm;
639
- /**
640
- * The flight warm in progress, shared the same way. One sweep at a time moves the camera, and
641
- * the engine holds the handle that ends it: {@link abort}, {@link dispose}, another route and
642
- * a record, which sweeps for itself, each end it.
643
- */
644
- private flightWarm;
645
- /**
646
- * The sweep a record makes for itself, while it is in progress. It is the flight's sweep over
647
- * that route, so a flight asked for meanwhile joins it and starts none of its own. It ends on
648
- * the record's run and on nothing else, which is why it is held apart from
649
- * {@link flightWarm}: another route set meanwhile ends a shared sweep, and leaves a record on
650
- * the route it began with.
651
- */
652
- private recordWarm;
653
- /**
654
- * The settling of every map call that still holds the camera: the run in flight's, and that of
655
- * each flight stopped since whose `previewPoses` or `recordPoses` has yet to settle. A seek
656
- * parks the camera once all of them have let go of it.
657
- */
658
- private readonly landings;
659
- /**
660
- * Whether a seek stopped a flight and no status has replaced the one that flight left. A
661
- * stopped flight's own exit commits nothing, so its status is settled by the seek that
662
- * stopped it or, when that seek was overtaken, by the one that parks or fails in its place.
663
- * {@link commit} clears it on every status it states.
664
- */
665
- private seekStoppedFlight;
666
- /** The last encoded recording, so a save does not re-encode. */
667
- private lastRecording;
668
- /** Aborted by {@link dispose}, and the signal a seek resolves under, since it holds no run. */
669
- private readonly disposal;
670
- /** Whether {@link dispose} has run, read off the one signal it aborts. */
671
- private get disposed();
672
- /**
673
- * Advanced by every flight asked for, a seek included, and by {@link abort}. A seek holds no
674
- * run, so it reads this after each of its awaits to learn whether a newer preview, record or
675
- * seek was asked for since it began, or an abort, and leaves the camera alone when one was.
676
- */
677
- private flightSequence;
678
- /**
679
- * @throws {MountayaElementsError} When `poseCacheSize` is not a whole number, 0 or more, when
680
- * the plan is no object, or when it holds a member no flight can be planned with.
681
- * {@link setPlan} lists them.
682
- */
683
- constructor(options: VideoFlightOptions);
684
- /**
685
- * getSnapshot returns the current flight, by reference.
686
- *
687
- * Stable between changes, deliberately: it is `useSyncExternalStore`'s second argument, and a
688
- * fresh object per call makes React's own tearing check loop forever. Every command below
689
- * replaces the object rather than mutating it, so identity IS the change signal.
690
- */
691
- getSnapshot(): VideoFlight;
692
- /**
693
- * subscribe registers a listener for every change, and returns its own unsubscribe.
694
- *
695
- * A listener that throws keeps no other listener from being told and changes no command's
696
- * answer: a setter, {@link abort} and {@link reset} throw nothing, and a preview, a record or
697
- * a seek answers for the flight alone. What the listener threw is the subscribing program's
698
- * own fault, and it reaches the runtime as an uncaught error on a microtask, once per change
699
- * the listener threw at.
700
- */
701
- subscribe(listener: () => void): () => void;
702
- /** The last encoded recording, or null. Held so a save does not re-encode what was just made. */
703
- get recording(): {
704
- blob: Blob;
705
- extension: string;
706
- } | null;
707
- /**
708
- * setPlan replaces the plan. Does not abort a run: a plan edit mid-preview takes on the next.
709
- *
710
- * @throws {MountayaElementsError} Naming `plan`, when it is no object. Naming the member,
711
- * when `output` is no object, `shots` no array or an entry of `shots` no object, when
712
- * `version` is not 1, when `targetDurationMs` is
713
- * not a finite number above 0, when `output.fps` is not 24, 30 or 60, when a stated
714
- * `output.bitrateMbps` is not a finite number above 0, or when a shot holds a number that is
715
- * not finite, a `holdMs` below 0 or a `speedScale` at or below 0: what `createCameraPlan`
716
- * refuses, by the same rule. The plan the engine held stands.
717
- */
718
- setPlan(plan: CameraPlan): void;
719
- /**
720
- * setRoute anchors the flight to a route, and resets both warm guards when it changes.
721
- *
722
- * Reset on CONTENT, so a re-supplied identical route keeps its warms. A different route has
723
- * different terrain under it and different tiles to settle, so neither warm carries over, and
724
- * a flight warm still sweeping the route before it ends at its next stop.
725
- *
726
- * The route is held as the object it is given, never copied for a reader, and its content is
727
- * read here and again as each preview, record and seek begins. So a route edited in place (a
728
- * track that grows by a push) is flown as it stands when the next flight is asked for, with
729
- * its warms run again, whether or not it is handed over a second time.
730
- *
731
- * A line of fewer than two vertices is held as it is given and flown as no route: every run
732
- * over it answers `no-route`.
733
- *
734
- * Another route stops a preview flying the one before it, and lands a `previewing` or a
735
- * `parked` status on idle: the camera would fly, or rest on, a route the engine has let go
736
- * of, under a status that says otherwise. It forgets a paused flight as well, so the next
737
- * {@link play} flies the route that arrived from its first frame. A preview still in its
738
- * warm-up flies the route that arrived, and a record flies the route it began with.
739
- */
740
- setRoute(route: RouteGeometry | null): void;
741
- /**
742
- * setProfile merges a partial overlay update over the current one.
743
- *
744
- * A merge rather than a replacement, because every caller changes one field (the enable flag, a
745
- * unit, the design), and a replacement would make each of those restate the others.
746
- */
747
- setProfile(profile: Partial<VideoFlightProfile>): void;
748
- /** setProfileSource sets where the overlay's per-frame readouts are resolved from. */
749
- setProfileSource(profileSource: ProfileSource | null): void;
750
- /** setActivityGlyph sets the silhouette the moving focus dot masks, or null for a plain disc. */
751
- setActivityGlyph(activityGlyphUrl: string | null): void;
752
- /**
753
- * preview flies the plan live over the map from its first frame, encoding nothing, and reports
754
- * progress. It forgets a flight {@link pause} stopped.
755
- *
756
- * Paced to the plan's own wall-clock so the rehearsal runs at the speed the recording will and
757
- * dwells on holds: a preview that ran at frame rate would mislead about both.
758
- *
759
- * The run opens before the two warms rather than after them. Both warms move the camera and can
760
- * take seconds on a cold cache, which is when a caller reaches for {@link pause}: a run opened
761
- * after them would leave a pause, an abort, a dispose or a newer flight during the warm with
762
- * nothing to stop, and the fly would start anyway. A stop there answers `aborted`, starts no
763
- * further warm and flies no frame.
764
- *
765
- * The flight is of the plan and the route the engine holds once both warms have settled. A
766
- * route set during a warm is warmed in turn, the DEM over its bounds and then its viewports,
767
- * before any pose is resolved over it.
768
- *
769
- * It never rejects. A map or a planner that throws answers `failed` with the error it stopped
770
- * on. A throw that follows a stop answers `aborted`, because the caller asked the run to
771
- * stop. A subscriber that throws changes neither ({@link subscribe}). Every exit ends the run
772
- * and lands on idle unless a newer one holds it by then.
773
- */
774
- preview(): Promise<VideoFlightOutcome>;
775
- /**
776
- * play flies the plan on from where a flight was stopped, as {@link preview} flies it.
777
- *
778
- * It resumes a preview {@link pause} stopped in the air, from the frame nearest where it was and
779
- * over the rest of the plan's wall-clock. Over a `parked` status it flies on from the frame
780
- * {@link seek} parked the camera on, as a player plays on from where its reader put the head.
781
- * It flies from the first frame when there is neither, and when nothing is left to fly past the
782
- * frame it would start on. A play stopped in its warm-up flies nothing, and keeps where it was
783
- * to fly on from for the next one.
784
- */
785
- play(): Promise<VideoFlightOutcome>;
786
- /**
787
- * startPreview is {@link preview} and {@link play}: it opens the run, reads where the flight
788
- * flies on from, and answers what the fly settled on.
789
- */
790
- private startPreview;
791
- /**
792
- * flyPreview is {@link preview} and {@link play} from their first warm to the end of their
793
- * fly, under the run they opened. It throws what the map or the planner threw, which they
794
- * answer.
795
- */
796
- private flyPreview;
797
- /**
798
- * record captures one frame per pose and encodes them, reporting progress with its phase.
799
- *
800
- * Resolved at full density (stride 1), where a preview resolves at the decimated clearance
801
- * stride, so the artifact is what the plan describes rather than what was cheap to rehearse.
802
- *
803
- * The run opens before the terrain warm, for the reason {@link preview} gives, and the flight
804
- * warm inside the resolve takes its signal: a stop, an abort or a dispose during either warm
805
- * answers `aborted`, starts no further warm and captures no frame. Over a route a flight can
806
- * follow, the status reads `recording` in its `preparing` phase from the moment the run opens,
807
- * so a reader sees the press land while the terrain warms.
808
- *
809
- * A run stopped before the recorder answers keeps nothing: it answers `aborted`, whatever the
810
- * map resolved, since a recorder a host supplies may finish a file after its signal aborted.
811
- *
812
- * It never rejects. A recorder that fails, or a map or planner that throws on the way to the
813
- * first frame, answers `failed` with the error it stopped on, and a throw that follows an abort
814
- * answers `aborted`, because the caller asked the run to stop. A subscriber that throws
815
- * changes neither ({@link subscribe}). A recording
816
- * the map could not start answers `unavailable`, which is no cancel: the result states
817
- * `reason: "unavailable"` beside its `cancelled`. Every exit ends the run and lands on idle
818
- * unless a newer run holds it by then, so a caller holding a recording state always has an
819
- * outcome to settle it on.
820
- *
821
- * The record flies the plan and the route it began with. One set while it warms takes on the
822
- * next flight, so the poses, the encoder's output and the overlay's samples stay those of one
823
- * plan. Whether its frames carry the Mountaya watermark is the map's organization's to answer,
824
- * read as the capture begins: no member of the engine takes the mark off.
825
- */
826
- record(): Promise<VideoFlightRecording>;
827
- /**
828
- * flyRecording is {@link record} from its terrain warm to the recorder's answer, under the run
829
- * it opened. It throws what the map or the planner threw, which `record` answers.
830
- */
831
- private flyRecording;
832
- /**
833
- * seek parks the camera on the pose the flight is at, a fraction of the way through.
834
- *
835
- * It aborts any live fly first (a seek that did not would be overwritten by the next preview
836
- * frame), resolves the flight, and jumps to the nearest frame's FULL pose. The status is left
837
- * reading `parked` at the requested fraction rather than idle, because that is what a
838
- * scrubber reads to position itself: the camera is parked mid-flight, not stopped.
839
- *
840
- * The pose is of the plan and the route the engine holds as the camera lands. One set while
841
- * the seek waits, on a warm or on a stopped flight that still holds the camera, is warmed and
842
- * resolved before the seek parks.
843
- *
844
- * The fraction is clamped rather than validated, so a scrubber dragged past its own track is a
845
- * camera at an endpoint instead of a failure a UI has to render. A fraction that is no number
846
- * (`NaN`, or a value of another type from a caller the compiler does not check) has no end to
847
- * clamp to: the seek answers `failed` and touches nothing.
848
- *
849
- * A seek waits on the warms like any flight and starts neither twice: one asked for while a
850
- * warm over the same route is in progress joins it, so a scrubber dragged on a cold route sweeps
851
- * the camera once. A {@link pause} or a {@link stop} takes no camera, so a seek in its warm-up
852
- * goes on to park, and the sweep it waits on goes on with it. A seek that parks forgets a
853
- * paused flight: the next {@link play} flies on from the frame it parked on.
854
- *
855
- * A stopped flight lets go of the camera before the seek parks it, whoever stopped it: this
856
- * seek, a seek before it, an {@link abort} or a newer flight. The seek waits for the map's
857
- * `previewPoses` or `recordPoses` to settle on the aborted signal, because a run restores the
858
- * camera it found as it settles, which for a record is once the frame in flight has ended, and
859
- * that restore would land on top of the parked pose.
860
- *
861
- * A seek after {@link dispose}, or one whose warms a dispose overtook, answers `aborted` and
862
- * leaves the camera where it is: a disposed engine does not move the map it let go of. A dispose
863
- * during the terrain warm starts no flight warm, and one during the flight warm ends its sweep
864
- * at the next stop, as an {@link abort} does. A seek a newer preview, record or seek overtook
865
- * during its warms answers `aborted` as well and leaves the camera to the newer one, so a scrub
866
- * that lands late never aborts a flight asked for after it, nor parks the camera over a later
867
- * scrub.
868
- *
869
- * It never rejects. A map or a planner that throws answers `failed` with the error it stopped
870
- * on and leaves the status as it was, or on idle when a seek had stopped a flight whose status
871
- * nothing had replaced: this seek, or one it overtook before that one parked. A seek that
872
- * answers `no-route` settles such a status the same way. A subscriber that throws changes
873
- * none of it ({@link subscribe}).
874
- */
875
- seek(fraction: number): Promise<VideoFlightOutcome>;
876
- /**
877
- * park is {@link seek} from its first warm to the pose it lands on. `overtaken` answers
878
- * whether a dispose, an abort or a newer flight has taken the camera since the seek began. It
879
- * throws what the map or the planner threw, which `seek` answers.
880
- */
881
- private park;
882
- /**
883
- * invalidatePoses drops the memoized flights without touching the terrain warms.
884
- *
885
- * What a PLAN edit needs, and the distinction from {@link reset} is the expensive half: a new
886
- * plan resolves to different poses over the same ground, so the pose cache is stale and the
887
- * warms are not. Clearing both would re-run a visible multi-second camera sweep on every shot
888
- * nudge.
889
- */
890
- invalidatePoses(): void;
891
- /**
892
- * reset returns the engine to the state a fresh session starts in: no run, no caches, no
893
- * warms, no recording, no paused flight, status idle. The plan and the route are left alone:
894
- * a caller that wants those changed says so.
895
- *
896
- * It throws nothing, whatever a subscriber throws as the idle is announced
897
- * ({@link subscribe}).
898
- */
899
- reset(): void;
900
- /**
901
- * pause stops the run in flight and lands on idle, remembering how far a preview in the air
902
- * had flown, which {@link play} flies on from.
903
- *
904
- * A preview stopped in its warm-up had flown nothing, so the flight paused before it stays
905
- * paused. It takes no camera: a {@link seek} in its warm-up goes on to park, and a flight warm
906
- * it waits on goes on sweeping. A sweep only stopped flights wait on ends at its next stop.
907
- * With nothing running it lands a `parked` status on idle. Idempotent.
908
- */
909
- pause(): void;
910
- /**
911
- * stop stops the run in flight, forgets a paused flight and lands on idle, and answers which
912
- * run it stopped: `"preview"` for a preview or a play in the air or in its warm-up,
913
- * `"record"` for a recording, and null when nothing was running.
914
- *
915
- * Like {@link pause} it takes no camera: a {@link seek} in its warm-up goes on to park. The run
916
- * a stop ends answers `aborted`. Idempotent, and safe with nothing running.
917
- */
918
- stop(): "preview" | "record" | null;
919
- /**
920
- * abort stops whatever is running, a seek in its warm-up included, forgets a paused flight and
921
- * lands on idle.
922
- *
923
- * Idempotent, and safe with nothing running, which is what lets a UI wire it to a close button
924
- * and an unmount without either of them checking first.
925
- *
926
- * A seek still in its warm-up holds no run, so the abort overtakes it the way a newer flight
927
- * does: it answers `aborted` when its warm settles and parks no camera. A flight warm in
928
- * progress ends its sweep at the next stop, whichever flight began it.
929
- */
930
- abort(): void;
931
- /**
932
- * dispose aborts the run, drops every listener and forgets the caches.
933
- *
934
- * Idempotent. It does NOT dispose the map: the engine was handed one and does not own it,
935
- * which is the same one-way dependency `VideoRunEngine` keeps. For the same reason it starts
936
- * nothing on the map after it: a warm in progress holds a signal this aborts, which ends its
937
- * sweep at the next stop, and a preview, record or seek still in its warm-up, or asked for
938
- * later, answers `aborted` without warming again, flying, capturing or parking the camera.
939
- *
940
- * A disposed engine keeps the snapshot it showed. Nothing is announced after a dispose, so a
941
- * reader that still holds the engine reads the status it last saw, a flight in progress
942
- * included, and no later command changes it.
943
- */
944
- dispose(): void;
945
- /**
946
- * commit replaces the snapshot and announces it. A no-op after dispose.
947
- *
948
- * It never throws. Every listener is told through {@link notifyListeners}, one that throws
949
- * included, and the first thing a listener threw is surfaced once they all have been, so no
950
- * command has to decide what a listener's exception does to a flight. The snapshot is replaced
951
- * before anyone is told, so what a later reader holds is the change, whatever a listener did
952
- * with it.
953
- */
954
- private commit;
955
- /**
956
- * beginRun opens the one run a flight holds, aborting the one before it, and advances the
957
- * {@link flightSequence} a seek in its warm-up reads.
958
- *
959
- * After {@link dispose} the run is born aborted and is not held, so every entry point answers
960
- * `aborted` before it touches the map: a disposed engine was handed its map and let go of it.
961
- */
962
- private beginRun;
963
- /**
964
- * stopRun is {@link pause} and {@link stop} past what each remembers: it stops the run in
965
- * flight, ends a flight warm only stopped flights wait on, and lands on idle. It advances no
966
- * {@link flightSequence}, so a seek in its warm-up goes on to park.
967
- */
968
- private stopRun;
969
- /**
970
- * endRun lands on idle unless a newer run has already replaced this one, and answers the
971
- * outcome the run settled on, as {@link land} reads it.
972
- */
973
- private endRun;
974
- /** land commits idle and answers the outcome the flight settled on. */
975
- private land;
976
- /**
977
- * routeChanged names a route whose content differs from the one last read: it keeps the new
978
- * content, advances the revision the warms and the pose cache are keyed on, ends a flight warm
979
- * still sweeping the content before it, and forgets a flight paused over it.
980
- */
981
- private routeChanged;
982
- /**
983
- * readRoute reads the held route against the content it held when it was last read, as a
984
- * flight begins: the route is the caller's own object, and one edited in place since is
985
- * another route. One walk that ends at the first difference, small beside a resolve.
986
- */
987
- private readRoute;
988
- /**
989
- * endFlightWarm ends the flight warm in progress at its next stop, and lets go of it so a flight
990
- * asked for afterwards sweeps for itself and does not wait on a sweep that is ending.
991
- */
992
- private endFlightWarm;
993
- /**
994
- * fly awaits a map call that holds the camera, keeping its settling among the
995
- * {@link landings} until it has settled, a stop of its run in between or not.
996
- */
997
- private fly;
998
- /**
999
- * flyableRoute is the route a flight can follow, or null: no route, or a line of fewer than
1000
- * {@link ROUTE_VERTICES_MIN} vertices, which has no direction to fly in and whose bounds frame
1001
- * nothing.
1002
- */
1003
- private flyableRoute;
1004
- /**
1005
- * prewarmRoute settles the DEM over the route's bounds, once per route.
1006
- *
1007
- * Before any resolve, because the clearance pass samples terrain through the live map: without
1008
- * this it reads null and the flight plans a camera straight through a ridge. Once per route
1009
- * because it is a visible camera move that can take seconds on a cold cache, and repeating it on
1010
- * every play would make each transport action drag.
1011
- *
1012
- * A flight asked for while the warm is in progress awaits the one in progress. A warm that
1013
- * rejects is not recorded as done, and rejects for every flight that waited on it.
1014
- */
1015
- private prewarmRoute;
1016
- /**
1017
- * warmRoute warms the route the engine holds as a preview or a seek takes it: the DEM over its
1018
- * bounds ({@link prewarmRoute}), then its flight's viewports ({@link warmFlight}), each once per
1019
- * route.
1020
- *
1021
- * The route is read again after each warm. One set while a warm ran is the route the flight is
1022
- * of, so it is warmed in turn, the DEM before the sweep, and no pose is resolved over terrain a
1023
- * warm of another route settled. It settles once the route it last warmed is the one held, or
1024
- * as soon as `stopped` answers true after a warm.
1025
- *
1026
- * @param stopped Whether the flight has let go of the camera: its run was stopped, or a newer
1027
- * flight overtook it. The flight warm reads it to tell a sweep somebody still waits on from
1028
- * one nobody does.
1029
- */
1030
- private warmRoute;
1031
- /**
1032
- * warmFlight jumps the camera through the flight's own viewports, once per route.
1033
- *
1034
- * The sampler-free resolve is used for the warm pass (its centers and bearings match the final
1035
- * poses, so warming against it loads exactly the tiles the flight crosses), and the DEM epoch is
1036
- * bumped afterwards, which drops any resolve cached against the colder terrain.
1037
- *
1038
- * A flight asked for while the sweep is in progress awaits the one in progress, a record's own
1039
- * sweep included ({@link sweepForRecord}): two sweeps over one route would fight for the
1040
- * camera. The sweep takes a signal of its own, which {@link endFlightWarm} aborts. A warm cut
1041
- * short covered part of the flight, so it is not recorded as done and the next flight warms
1042
- * again.
1043
- *
1044
- * @param stopped Whether the waiting flight has let go of the camera, held among the sweep's
1045
- * waiters while it waits.
1046
- */
1047
- private warmFlight;
1048
- /**
1049
- * sweepForRecord jumps the camera through the sampler-free viewports of the flight a record is
1050
- * about to capture, under the record's own run.
1051
- *
1052
- * It settles the DEM at flight zoom before the full-density resolve samples clearance. The
1053
- * recorder skips its own warm pass only where the clearance pass moved no frame
1054
- * ({@link capturesSweptViewports}): a frame it widened or tilted frames ground this sweep never
1055
- * did.
1056
- *
1057
- * A record sweeps whenever its poses are not cached, whatever was warmed before, so the capture
1058
- * never films a tile that has been let go since. The sweep is the flight's own over that
1059
- * route, so it is held where {@link warmFlight} finds it: a seek asked for meanwhile waits on
1060
- * it and starts no second sweep. One that runs to its end counts as the route's flight warm,
1061
- * with the DEM epoch moved as `warmFlight` moves it. One its run cut short counts for nothing.
1062
- *
1063
- * @param track The sampler-free track of the plan and the route the record began with.
1064
- * @param revision The route's revision as the record began.
1065
- * @param signal The record's run.
1066
- */
1067
- private sweepForRecord;
1068
- /**
1069
- * resolve turns the plan into poses, markers and a duration, memoized.
1070
- *
1071
- * Returns null when there is no route a flight can follow, which is the one input a flight
1072
- * cannot be invented without. The record pass warms the flight-zoom tiles first so the capture
1073
- * never films an unloaded tile and the clearance sampler reads real peak heights; the preview
1074
- * pass skips that internal warm because `preview` already ran it once per route.
1075
- *
1076
- * It also returns null when `signal` aborted before or during that warm, which its caller reads
1077
- * off the signal: a warm never starts on a dead signal, because the sweep moves the camera and a
1078
- * map a host supplies need not honour one; and the full-density resolve after it is the costliest
1079
- * step a record takes before its first frame, so poses sampled against a half-warmed DEM do not
1080
- * belong in the cache.
1081
- *
1082
- * The plan and the route are read once, as the resolve begins, and the flight it answers names
1083
- * both. A plan or a route set while the record pass warms takes on the next flight: the one in
1084
- * progress is resolved, stored and recorded for what it began with.
1085
- */
1086
- private resolve;
1087
- /**
1088
- * recordProfile builds the overlay's recording input for a resolved flight, or nothing.
1089
- *
1090
- * All three inputs or none: the overlay is composited only when a caller enabled it AND both the
1091
- * route and the profile source are present. The samples are resolved through the same planner and
1092
- * the same frame progression as the poses, over the plan and the route the poses were resolved
1093
- * for, so the readout on frame N describes the place frame N is looking at: index alignment is
1094
- * the whole correctness condition here.
1095
- */
1096
- private recordProfile;
592
+ export declare class VideoFlightEngine {
593
+ private flight;
594
+ private readonly listeners;
595
+ private readonly map;
596
+ private readonly planner;
597
+ private readonly poseCacheSize;
598
+ /**
599
+ * The run in flight. One at a time: every preview and record stops the run before it as it
600
+ * starts, because two flights over one map would fight for the camera.
601
+ */
602
+ private run;
603
+ /**
604
+ * How far through the flight a preview that {@link pause} stopped in the air had flown, which
605
+ * {@link play} flies on from. Null when no flight is paused.
606
+ */
607
+ private pausedAt;
608
+ /**
609
+ * The memoized flights, an insertion-ordered LRU. Keyed on the pose-affecting plan fields, the
610
+ * route's revision, whether this is the full-density record resolve or a decimated preview one,
611
+ * and the DEM epoch, so a format-only edit collapses onto the same key and reuses the flight,
612
+ * while a resolve cached against a cold DEM is dropped once the flight warm lands.
613
+ */
614
+ private readonly poseCache;
615
+ /** Bumped when the flight terrain warms, which is what invalidates a cold-DEM resolve. */
616
+ private demEpoch;
617
+ /**
618
+ * Advanced each time the route's content is read and differs from {@link routeContent}: as
619
+ * {@link setRoute} is handed a route, and as a flight begins. The warm guards and the pose
620
+ * cache name a route by it, so telling two routes apart costs one walk per `setRoute` and one
621
+ * per flight, each ending at the first difference.
622
+ */
623
+ private routeRevision;
624
+ /** What the held route held when it was last read, or null while no route is held. */
625
+ private routeContent;
626
+ /** The route revision each warm has already run for, so neither repeats. */
627
+ private terrainWarmedRevision;
628
+ private flightWarmedRevision;
629
+ /** The terrain warm in progress, which a flight asked for meanwhile over the same route joins. */
630
+ private terrainWarm;
631
+ /**
632
+ * The flight warm in progress, shared the same way. One sweep at a time moves the camera, and
633
+ * the engine holds the handle that ends it: {@link abort}, {@link dispose}, another route and
634
+ * a record, which sweeps for itself, each end it.
635
+ */
636
+ private flightWarm;
637
+ /**
638
+ * The sweep a record makes for itself, while it is in progress. It is the flight's sweep over
639
+ * that route, so a flight asked for meanwhile joins it and starts none of its own. It ends on
640
+ * the record's run and on nothing else, which is why it is held apart from
641
+ * {@link flightWarm}: another route set meanwhile ends a shared sweep, and leaves a record on
642
+ * the route it began with.
643
+ */
644
+ private recordWarm;
645
+ /**
646
+ * The settling of every map call that still holds the camera: the run in flight's, and that of
647
+ * each flight stopped since whose `previewPoses` or `recordPoses` has yet to settle. A seek
648
+ * parks the camera once all of them have let go of it.
649
+ */
650
+ private readonly landings;
651
+ /**
652
+ * Whether a seek stopped a flight and no status has replaced the one that flight left. A
653
+ * stopped flight's own exit commits nothing, so its status is settled by the seek that
654
+ * stopped it or, when that seek was overtaken, by the one that parks or fails in its place.
655
+ * {@link commit} clears it on every status it states.
656
+ */
657
+ private seekStoppedFlight;
658
+ /** The last encoded recording, so a save does not re-encode. */
659
+ private lastRecording;
660
+ /** Aborted by {@link dispose}, and the signal a seek resolves under, since it holds no run. */
661
+ private readonly disposal;
662
+ /** Whether {@link dispose} has run, read off the one signal it aborts. */
663
+ private get disposed();
664
+ /**
665
+ * Advanced by every flight asked for, a seek included, and by {@link abort}. A seek holds no
666
+ * run, so it reads this after each of its awaits to learn whether a newer preview, record or
667
+ * seek was asked for since it began, or an abort, and leaves the camera alone when one was.
668
+ */
669
+ private flightSequence;
670
+ /**
671
+ * @throws {MountayaElementsError} When `poseCacheSize` is not a whole number, 0 or more, when
672
+ * the plan is no object, or when it holds a member no flight can be planned with.
673
+ * {@link setPlan} lists them.
674
+ */
675
+ constructor(options: VideoFlightOptions);
676
+ /**
677
+ * getSnapshot returns the current flight, by reference.
678
+ *
679
+ * Stable between changes, deliberately: it is `useSyncExternalStore`'s second argument, and a
680
+ * fresh object per call makes React's own tearing check loop forever. Every command below
681
+ * replaces the object rather than mutating it, so identity IS the change signal.
682
+ */
683
+ getSnapshot(): VideoFlight;
684
+ /**
685
+ * subscribe registers a listener for every change, and returns its own unsubscribe.
686
+ *
687
+ * A listener that throws keeps no other listener from being told and changes no command's
688
+ * answer: a setter, {@link abort} and {@link reset} throw nothing, and a preview, a record or
689
+ * a seek answers for the flight alone. What the listener threw is the subscribing program's
690
+ * own fault, and it reaches the runtime as an uncaught error on a microtask, once per change
691
+ * the listener threw at.
692
+ */
693
+ subscribe(listener: () => void): () => void;
694
+ /** The last encoded recording, or null. Held so a save does not re-encode what was just made. */
695
+ get recording(): {
696
+ blob: Blob;
697
+ extension: string;
698
+ } | null;
699
+ /**
700
+ * setPlan replaces the plan. Does not abort a run: a plan edit mid-preview takes on the next.
701
+ *
702
+ * @throws {MountayaElementsError} Naming `plan`, when it is no object. Naming the member,
703
+ * when `output` is no object, `shots` no array or an entry of `shots` no object, when
704
+ * `version` is not 1, when `targetDurationMs` is
705
+ * not a finite number above 0, when `output.fps` is not 24, 30 or 60, when a stated
706
+ * `output.bitrateMbps` is not a finite number above 0, or when a shot holds a number that is
707
+ * not finite, a `holdMs` below 0 or a `speedScale` at or below 0: what `createCameraPlan`
708
+ * refuses, by the same rule. The plan the engine held stands.
709
+ */
710
+ setPlan(plan: CameraPlan): void;
711
+ /**
712
+ * setRoute anchors the flight to a route, and resets both warm guards when it changes.
713
+ *
714
+ * Reset on CONTENT, so a re-supplied identical route keeps its warms. A different route has
715
+ * different terrain under it and different tiles to settle, so neither warm carries over, and
716
+ * a flight warm still sweeping the route before it ends at its next stop.
717
+ *
718
+ * The route is held as the object it is given, never copied for a reader, and its content is
719
+ * read here and again as each preview, record and seek begins. So a route edited in place (a
720
+ * track that grows by a push) is flown as it stands when the next flight is asked for, with
721
+ * its warms run again, whether or not it is handed over a second time.
722
+ *
723
+ * A line of fewer than two vertices is held as it is given and flown as no route: every run
724
+ * over it answers `no-route`.
725
+ *
726
+ * Another route stops a preview flying the one before it, and lands a `previewing` or a
727
+ * `parked` status on idle: the camera would fly, or rest on, a route the engine has let go
728
+ * of, under a status that says otherwise. It forgets a paused flight as well, so the next
729
+ * {@link play} flies the route that arrived from its first frame. A preview still in its
730
+ * warm-up flies the route that arrived, and a record flies the route it began with.
731
+ */
732
+ setRoute(route: RouteGeometry | null): void;
733
+ /**
734
+ * setProfile merges a partial overlay update over the current one.
735
+ *
736
+ * A merge rather than a replacement, because every caller changes one field (the enable flag, a
737
+ * unit, the design), and a replacement would make each of those restate the others.
738
+ */
739
+ setProfile(profile: Partial<VideoFlightProfile>): void;
740
+ /** setProfileSource sets where the overlay's per-frame readouts are resolved from. */
741
+ setProfileSource(profileSource: ProfileSource | null): void;
742
+ /** setActivityGlyph sets the silhouette the moving focus dot masks, or null for a plain disc. */
743
+ setActivityGlyph(activityGlyphUrl: string | null): void;
744
+ /**
745
+ * preview flies the plan live over the map from its first frame, encoding nothing, and reports
746
+ * progress. It forgets a flight {@link pause} stopped.
747
+ *
748
+ * Paced to the plan's own wall-clock so the rehearsal runs at the speed the recording will and
749
+ * dwells on holds: a preview that ran at frame rate would mislead about both.
750
+ *
751
+ * The run opens before the two warms rather than after them. Both warms move the camera and can
752
+ * take seconds on a cold cache, which is when a caller reaches for {@link pause}: a run opened
753
+ * after them would leave a pause, an abort, a dispose or a newer flight during the warm with
754
+ * nothing to stop, and the fly would start anyway. A stop there answers `aborted`, starts no
755
+ * further warm and flies no frame.
756
+ *
757
+ * The flight is of the plan and the route the engine holds once both warms have settled. A
758
+ * route set during a warm is warmed in turn, the DEM over its bounds and then its viewports,
759
+ * before any pose is resolved over it.
760
+ *
761
+ * It never rejects. A map or a planner that throws answers `failed` with the error it stopped
762
+ * on. A throw that follows a stop answers `aborted`, because the caller asked the run to
763
+ * stop. A subscriber that throws changes neither ({@link subscribe}). Every exit ends the run
764
+ * and lands on idle unless a newer one holds it by then.
765
+ */
766
+ preview(): Promise<VideoFlightOutcome>;
767
+ /**
768
+ * play flies the plan on from where a flight was stopped, as {@link preview} flies it.
769
+ *
770
+ * It resumes a preview {@link pause} stopped in the air, from the frame nearest where it was and
771
+ * over the rest of the plan's wall-clock. Over a `parked` status it flies on from the frame
772
+ * {@link seek} parked the camera on, as a player plays on from where its reader put the head.
773
+ * It flies from the first frame when there is neither, and when nothing is left to fly past the
774
+ * frame it would start on. A play stopped in its warm-up flies nothing, and keeps where it was
775
+ * to fly on from for the next one.
776
+ */
777
+ play(): Promise<VideoFlightOutcome>;
778
+ /**
779
+ * startPreview is {@link preview} and {@link play}: it opens the run, reads where the flight
780
+ * flies on from, and answers what the fly settled on.
781
+ */
782
+ private startPreview;
783
+ /**
784
+ * flyPreview is {@link preview} and {@link play} from their first warm to the end of their
785
+ * fly, under the run they opened. It throws what the map or the planner threw, which they
786
+ * answer.
787
+ */
788
+ private flyPreview;
789
+ /**
790
+ * record captures one frame per pose and encodes them, reporting progress with its phase.
791
+ *
792
+ * Resolved at full density (stride 1), where a preview resolves at the decimated clearance
793
+ * stride, so the artifact is what the plan describes rather than what was cheap to rehearse.
794
+ *
795
+ * The run opens before the terrain warm, for the reason {@link preview} gives, and the flight
796
+ * warm inside the resolve takes its signal: a stop, an abort or a dispose during either warm
797
+ * answers `aborted`, starts no further warm and captures no frame. Over a route a flight can
798
+ * follow, the status reads `recording` in its `preparing` phase from the moment the run opens,
799
+ * so a reader sees the press land while the terrain warms.
800
+ *
801
+ * A run stopped before the recorder answers keeps nothing: it answers `aborted`, whatever the
802
+ * map resolved, since a recorder a host supplies may finish a file after its signal aborted.
803
+ *
804
+ * It never rejects. A recorder that fails, or a map or planner that throws on the way to the
805
+ * first frame, answers `failed` with the error it stopped on, and a throw that follows an abort
806
+ * answers `aborted`, because the caller asked the run to stop. A subscriber that throws
807
+ * changes neither ({@link subscribe}). A recording
808
+ * the map could not start answers `unavailable`, which is no cancel: the result states
809
+ * `reason: "unavailable"` beside its `cancelled`. Every exit ends the run and lands on idle
810
+ * unless a newer run holds it by then, so a caller holding a recording state always has an
811
+ * outcome to settle it on.
812
+ *
813
+ * The record flies the plan and the route it began with. One set while it warms takes on the
814
+ * next flight, so the poses, the encoder's output and the overlay's samples stay those of one
815
+ * plan. Whether its frames carry the Mountaya watermark is the map's organization's to answer,
816
+ * read as the capture begins: no member of the engine takes the mark off.
817
+ */
818
+ record(): Promise<VideoFlightRecording>;
819
+ /**
820
+ * flyRecording is {@link record} from its terrain warm to the recorder's answer, under the run
821
+ * it opened. It throws what the map or the planner threw, which `record` answers.
822
+ */
823
+ private flyRecording;
824
+ /**
825
+ * seek parks the camera on the pose the flight is at, a fraction of the way through.
826
+ *
827
+ * It aborts any live fly first (a seek that did not would be overwritten by the next preview
828
+ * frame), resolves the flight, and jumps to the nearest frame's FULL pose. The status is left
829
+ * reading `parked` at the requested fraction rather than idle, because that is what a
830
+ * scrubber reads to position itself: the camera is parked mid-flight, not stopped.
831
+ *
832
+ * The pose is of the plan and the route the engine holds as the camera lands. One set while
833
+ * the seek waits, on a warm or on a stopped flight that still holds the camera, is warmed and
834
+ * resolved before the seek parks.
835
+ *
836
+ * The fraction is clamped rather than validated, so a scrubber dragged past its own track is a
837
+ * camera at an endpoint instead of a failure a UI has to render. A fraction that is no number
838
+ * (`NaN`, or a value of another type from a caller the compiler does not check) has no end to
839
+ * clamp to: the seek answers `failed` and touches nothing.
840
+ *
841
+ * A seek waits on the warms like any flight and starts neither twice: one asked for while a
842
+ * warm over the same route is in progress joins it, so a scrubber dragged on a cold route sweeps
843
+ * the camera once. A {@link pause} or a {@link stop} takes no camera, so a seek in its warm-up
844
+ * goes on to park, and the sweep it waits on goes on with it. A seek that parks forgets a
845
+ * paused flight: the next {@link play} flies on from the frame it parked on.
846
+ *
847
+ * A stopped flight lets go of the camera before the seek parks it, whoever stopped it: this
848
+ * seek, a seek before it, an {@link abort} or a newer flight. The seek waits for the map's
849
+ * `previewPoses` or `recordPoses` to settle on the aborted signal, because a run restores the
850
+ * camera it found as it settles, which for a record is once the frame in flight has ended, and
851
+ * that restore would land on top of the parked pose.
852
+ *
853
+ * A seek after {@link dispose}, or one whose warms a dispose overtook, answers `aborted` and
854
+ * leaves the camera where it is: a disposed engine does not move the map it let go of. A dispose
855
+ * during the terrain warm starts no flight warm, and one during the flight warm ends its sweep
856
+ * at the next stop, as an {@link abort} does. A seek a newer preview, record or seek overtook
857
+ * during its warms answers `aborted` as well and leaves the camera to the newer one, so a scrub
858
+ * that lands late never aborts a flight asked for after it, nor parks the camera over a later
859
+ * scrub.
860
+ *
861
+ * It never rejects. A map or a planner that throws answers `failed` with the error it stopped
862
+ * on and leaves the status as it was, or on idle when a seek had stopped a flight whose status
863
+ * nothing had replaced: this seek, or one it overtook before that one parked. A seek that
864
+ * answers `no-route` settles such a status the same way. A subscriber that throws changes
865
+ * none of it ({@link subscribe}).
866
+ */
867
+ seek(fraction: number): Promise<VideoFlightOutcome>;
868
+ /**
869
+ * park is {@link seek} from its first warm to the pose it lands on. `overtaken` answers
870
+ * whether a dispose, an abort or a newer flight has taken the camera since the seek began. It
871
+ * throws what the map or the planner threw, which `seek` answers.
872
+ */
873
+ private park;
874
+ /**
875
+ * invalidatePoses drops the memoized flights without touching the terrain warms.
876
+ *
877
+ * What a PLAN edit needs, and the distinction from {@link reset} is the expensive half: a new
878
+ * plan resolves to different poses over the same ground, so the pose cache is stale and the
879
+ * warms are not. Clearing both would re-run a visible multi-second camera sweep on every shot
880
+ * nudge.
881
+ */
882
+ invalidatePoses(): void;
883
+ /**
884
+ * reset returns the engine to the state a fresh session starts in: no run, no caches, no
885
+ * warms, no recording, no paused flight, status idle. The plan and the route are left alone:
886
+ * a caller that wants those changed says so.
887
+ *
888
+ * It throws nothing, whatever a subscriber throws as the idle is announced
889
+ * ({@link subscribe}).
890
+ */
891
+ reset(): void;
892
+ /**
893
+ * pause stops the run in flight and lands on idle, remembering how far a preview in the air
894
+ * had flown, which {@link play} flies on from.
895
+ *
896
+ * A preview stopped in its warm-up had flown nothing, so the flight paused before it stays
897
+ * paused. It takes no camera: a {@link seek} in its warm-up goes on to park, and a flight warm
898
+ * it waits on goes on sweeping. A sweep only stopped flights wait on ends at its next stop.
899
+ * With nothing running it lands a `parked` status on idle. Idempotent.
900
+ */
901
+ pause(): void;
902
+ /**
903
+ * stop stops the run in flight, forgets a paused flight and lands on idle, and answers which
904
+ * run it stopped: `"preview"` for a preview or a play in the air or in its warm-up,
905
+ * `"record"` for a recording, and null when nothing was running.
906
+ *
907
+ * Like {@link pause} it takes no camera: a {@link seek} in its warm-up goes on to park. The run
908
+ * a stop ends answers `aborted`. Idempotent, and safe with nothing running.
909
+ */
910
+ stop(): "preview" | "record" | null;
911
+ /**
912
+ * abort stops whatever is running, a seek in its warm-up included, forgets a paused flight and
913
+ * lands on idle.
914
+ *
915
+ * Idempotent, and safe with nothing running, which is what lets a UI wire it to a close button
916
+ * and an unmount without either of them checking first.
917
+ *
918
+ * A seek still in its warm-up holds no run, so the abort overtakes it the way a newer flight
919
+ * does: it answers `aborted` when its warm settles and parks no camera. A flight warm in
920
+ * progress ends its sweep at the next stop, whichever flight began it.
921
+ */
922
+ abort(): void;
923
+ /**
924
+ * dispose aborts the run, drops every listener and forgets the caches.
925
+ *
926
+ * Idempotent. It does NOT dispose the map: the engine was handed one and does not own it,
927
+ * which is the same one-way dependency `VideoRunEngine` keeps. For the same reason it starts
928
+ * nothing on the map after it: a warm in progress holds a signal this aborts, which ends its
929
+ * sweep at the next stop, and a preview, record or seek still in its warm-up, or asked for
930
+ * later, answers `aborted` without warming again, flying, capturing or parking the camera.
931
+ *
932
+ * A disposed engine keeps the snapshot it showed. Nothing is announced after a dispose, so a
933
+ * reader that still holds the engine reads the status it last saw, a flight in progress
934
+ * included, and no later command changes it.
935
+ */
936
+ dispose(): void;
937
+ /**
938
+ * commit replaces the snapshot and announces it. A no-op after dispose.
939
+ *
940
+ * It never throws. Every listener is told through {@link notifyListeners}, one that throws
941
+ * included, and the first thing a listener threw is surfaced once they all have been, so no
942
+ * command has to decide what a listener's exception does to a flight. The snapshot is replaced
943
+ * before anyone is told, so what a later reader holds is the change, whatever a listener did
944
+ * with it.
945
+ */
946
+ private commit;
947
+ /**
948
+ * beginRun opens the one run a flight holds, aborting the one before it, and advances the
949
+ * {@link flightSequence} a seek in its warm-up reads.
950
+ *
951
+ * After {@link dispose} the run is born aborted and is not held, so every entry point answers
952
+ * `aborted` before it touches the map: a disposed engine was handed its map and let go of it.
953
+ */
954
+ private beginRun;
955
+ /**
956
+ * stopRun is {@link pause} and {@link stop} past what each remembers: it stops the run in
957
+ * flight, ends a flight warm only stopped flights wait on, and lands on idle. It advances no
958
+ * {@link flightSequence}, so a seek in its warm-up goes on to park.
959
+ */
960
+ private stopRun;
961
+ /**
962
+ * endRun lands on idle unless a newer run has already replaced this one, and answers the
963
+ * outcome the run settled on, as {@link land} reads it.
964
+ */
965
+ private endRun;
966
+ /** land commits idle and answers the outcome the flight settled on. */
967
+ private land;
968
+ /**
969
+ * routeChanged names a route whose content differs from the one last read: it keeps the new
970
+ * content, advances the revision the warms and the pose cache are keyed on, ends a flight warm
971
+ * still sweeping the content before it, and forgets a flight paused over it.
972
+ */
973
+ private routeChanged;
974
+ /**
975
+ * readRoute reads the held route against the content it held when it was last read, as a
976
+ * flight begins: the route is the caller's own object, and one edited in place since is
977
+ * another route. One walk that ends at the first difference, small beside a resolve.
978
+ */
979
+ private readRoute;
980
+ /**
981
+ * endFlightWarm ends the flight warm in progress at its next stop, and lets go of it so a flight
982
+ * asked for afterwards sweeps for itself and does not wait on a sweep that is ending.
983
+ */
984
+ private endFlightWarm;
985
+ /**
986
+ * fly awaits a map call that holds the camera, keeping its settling among the
987
+ * {@link landings} until it has settled, a stop of its run in between or not.
988
+ */
989
+ private fly;
990
+ /**
991
+ * flyableRoute is the route a flight can follow, or null: no route, or a line of fewer than
992
+ * {@link ROUTE_VERTICES_MIN} vertices, which has no direction to fly in and whose bounds frame
993
+ * nothing.
994
+ */
995
+ private flyableRoute;
996
+ /**
997
+ * prewarmRoute settles the DEM over the route's bounds, once per route.
998
+ *
999
+ * Before any resolve, because the clearance pass samples terrain through the live map: without
1000
+ * this it reads null and the flight plans a camera straight through a ridge. Once per route
1001
+ * because it is a visible camera move that can take seconds on a cold cache, and repeating it on
1002
+ * every play would make each transport action drag.
1003
+ *
1004
+ * A flight asked for while the warm is in progress awaits the one in progress. A warm that
1005
+ * rejects is not recorded as done, and rejects for every flight that waited on it.
1006
+ */
1007
+ private prewarmRoute;
1008
+ /**
1009
+ * warmRoute warms the route the engine holds as a preview or a seek takes it: the DEM over its
1010
+ * bounds ({@link prewarmRoute}), then its flight's viewports ({@link warmFlight}), each once per
1011
+ * route.
1012
+ *
1013
+ * The route is read again after each warm. One set while a warm ran is the route the flight is
1014
+ * of, so it is warmed in turn, the DEM before the sweep, and no pose is resolved over terrain a
1015
+ * warm of another route settled. It settles once the route it last warmed is the one held, or
1016
+ * as soon as `stopped` answers true after a warm.
1017
+ *
1018
+ * @param stopped Whether the flight has let go of the camera: its run was stopped, or a newer
1019
+ * flight overtook it. The flight warm reads it to tell a sweep somebody still waits on from
1020
+ * one nobody does.
1021
+ */
1022
+ private warmRoute;
1023
+ /**
1024
+ * warmFlight jumps the camera through the flight's own viewports, once per route.
1025
+ *
1026
+ * The sampler-free resolve is used for the warm pass (its centers and bearings match the final
1027
+ * poses, so warming against it loads exactly the tiles the flight crosses), and the DEM epoch is
1028
+ * bumped afterwards, which drops any resolve cached against the colder terrain.
1029
+ *
1030
+ * A flight asked for while the sweep is in progress awaits the one in progress, a record's own
1031
+ * sweep included ({@link sweepForRecord}): two sweeps over one route would fight for the
1032
+ * camera. The sweep takes a signal of its own, which {@link endFlightWarm} aborts. A warm cut
1033
+ * short covered part of the flight, so it is not recorded as done and the next flight warms
1034
+ * again.
1035
+ *
1036
+ * @param stopped Whether the waiting flight has let go of the camera, held among the sweep's
1037
+ * waiters while it waits.
1038
+ */
1039
+ private warmFlight;
1040
+ /**
1041
+ * sweepForRecord jumps the camera through the sampler-free viewports of the flight a record is
1042
+ * about to capture, under the record's own run.
1043
+ *
1044
+ * It settles the DEM at flight zoom before the full-density resolve samples clearance. The
1045
+ * recorder skips its own warm pass only where the clearance pass moved no frame
1046
+ * ({@link capturesSweptViewports}): a frame it widened or tilted frames ground this sweep never
1047
+ * did.
1048
+ *
1049
+ * A record sweeps whenever its poses are not cached, whatever was warmed before, so the capture
1050
+ * never films a tile that has been let go since. The sweep is the flight's own over that
1051
+ * route, so it is held where {@link warmFlight} finds it: a seek asked for meanwhile waits on
1052
+ * it and starts no second sweep. One that runs to its end counts as the route's flight warm,
1053
+ * with the DEM epoch moved as `warmFlight` moves it. One its run cut short counts for nothing.
1054
+ *
1055
+ * @param track The sampler-free track of the plan and the route the record began with.
1056
+ * @param revision The route's revision as the record began.
1057
+ * @param signal The record's run.
1058
+ */
1059
+ private sweepForRecord;
1060
+ /**
1061
+ * resolve turns the plan into poses, markers and a duration, memoized.
1062
+ *
1063
+ * Returns null when there is no route a flight can follow, which is the one input a flight
1064
+ * cannot be invented without. The record pass warms the flight-zoom tiles first so the capture
1065
+ * never films an unloaded tile and the clearance sampler reads real peak heights; the preview
1066
+ * pass skips that internal warm because `preview` already ran it once per route.
1067
+ *
1068
+ * It also returns null when `signal` aborted before or during that warm, which its caller reads
1069
+ * off the signal: a warm never starts on a dead signal, because the sweep moves the camera and a
1070
+ * map a host supplies need not honour one; and the full-density resolve after it is the costliest
1071
+ * step a record takes before its first frame, so poses sampled against a half-warmed DEM do not
1072
+ * belong in the cache.
1073
+ *
1074
+ * The plan and the route are read once, as the resolve begins, and the flight it answers names
1075
+ * both. A plan or a route set while the record pass warms takes on the next flight: the one in
1076
+ * progress is resolved, stored and recorded for what it began with.
1077
+ */
1078
+ private resolve;
1079
+ /**
1080
+ * recordProfile builds the overlay's recording input for a resolved flight, or nothing.
1081
+ *
1082
+ * All three inputs or none: the overlay is composited only when a caller enabled it AND both the
1083
+ * route and the profile source are present. The samples are resolved through the same planner and
1084
+ * the same frame progression as the poses, over the plan and the route the poses were resolved
1085
+ * for, so the readout on frame N describes the place frame N is looking at: index alignment is
1086
+ * the whole correctness condition here.
1087
+ */
1088
+ private recordProfile;
1097
1089
  }
1098
-
1099
- /**
1100
- * The camera that frames a box, computed rather than asked of a renderer.
1101
- *
1102
- * MapLibre GL JS frames a box itself (`fitBounds`), facing north under the zoom ceiling it is
1103
- * handed. A renderer whose own fit takes no ceiling, or keeps the bearing, would frame the same box
1104
- * elsewhere, so the camera a fit lands on is stated here once, on the Web Mercator world of
1105
- * 512-pixel tiles MapLibre measures it on, and a renderer is handed the camera rather than the box.
1106
- */
1107
-
1108
1090
  /** What a fit is framed in: the canvas, the inset kept clear, the ceiling and the zoom window. */
1109
1091
  interface BoundsCameraOptions {
1110
- /** The canvas the camera frames, as `[width, height]` in CSS pixels. */
1111
- readonly canvas: readonly [width: number, height: number];
1112
- /**
1113
- * The inset kept clear between the box and each edge of the canvas, in CSS pixels: one number
1114
- * for every edge, or one per edge, as `FitBoundsPadding` writes it. None where it is left out.
1115
- *
1116
- * Stated by its shape rather than by that name: this entry promises no renderer, and naming
1117
- * the type made the published declarations borrow it from a renderer-bearing entry.
1118
- */
1119
- readonly padding?: number | {
1120
- readonly bottom: number;
1121
- readonly left: number;
1122
- readonly right: number;
1123
- readonly top: number;
1124
- } | undefined;
1125
- /** The highest zoom the fit lands at. The zoom window's ceiling where it is left out. */
1126
- readonly maxZoom?: number | undefined;
1127
- /** The zoom window the camera is held to, its lowest zoom and its highest. */
1128
- readonly window: {
1129
- readonly max: number;
1130
- readonly min: number;
1131
- };
1092
+ /** The canvas the camera frames, as `[width, height]` in CSS pixels. */
1093
+ readonly canvas: readonly [width: number, height: number];
1094
+ /**
1095
+ * The inset kept clear between the box and each edge of the canvas, in CSS pixels: one number
1096
+ * for every edge, or one per edge, as `FitBoundsPadding` writes it. None where it is left out.
1097
+ *
1098
+ * Stated by its shape rather than by that name: this entry promises no renderer, and naming
1099
+ * the type made the published declarations borrow it from a renderer-bearing entry.
1100
+ */
1101
+ readonly padding?: number | {
1102
+ readonly bottom: number;
1103
+ readonly left: number;
1104
+ readonly right: number;
1105
+ readonly top: number;
1106
+ } | undefined;
1107
+ /** The highest zoom the fit lands at. The zoom window's ceiling where it is left out. */
1108
+ readonly maxZoom?: number | undefined;
1109
+ /** The zoom window the camera is held to, its lowest zoom and its highest. */
1110
+ readonly window: {
1111
+ readonly max: number;
1112
+ readonly min: number;
1113
+ };
1132
1114
  }
1133
1115
  /** The camera a fit lands on. It faces north, and keeps the pitch the camera has. */
1134
1116
  interface BoundsCamera {
1135
- /** Always 0: a fit faces north. */
1136
- readonly bearing: number;
1137
- /** The centre, `[longitude, latitude]`. */
1138
- readonly center: LngLat;
1139
- /** The zoom. */
1140
- readonly zoom: number;
1117
+ /** Always 0: a fit faces north. */
1118
+ readonly bearing: number;
1119
+ /** The centre, `[longitude, latitude]`. */
1120
+ readonly center: LngLat;
1121
+ /** The zoom. */
1122
+ readonly zoom: number;
1141
1123
  }
1142
1124
  /**
1143
1125
  * cameraForBounds answers the camera that fits a box in a canvas: facing north, at the highest
@@ -1169,8 +1151,7 @@ interface BoundsCamera {
1169
1151
  * }); // { bearing: 0, center: [6.875, 45.85…], zoom: 11.27… }
1170
1152
  * ```
1171
1153
  */
1172
- declare const cameraForBounds: (bounds: BoundingBox, options: BoundsCameraOptions) => BoundsCamera | null;
1173
-
1154
+ export declare const cameraForBounds: (bounds: BoundingBox, options: BoundsCameraOptions) => BoundsCamera | null;
1174
1155
  /**
1175
1156
  * GeneratorParams are the inputs a preset generator reads beyond the itinerary: the
1176
1157
  * whole flight's `targetDurationMs`. Held as an interface so a later input (a
@@ -1178,7 +1159,7 @@ declare const cameraForBounds: (bounds: BoundingBox, options: BoundsCameraOption
1178
1159
  * argument.
1179
1160
  */
1180
1161
  interface GeneratorParams {
1181
- targetDurationMs: number;
1162
+ targetDurationMs: number;
1182
1163
  }
1183
1164
  /**
1184
1165
  * CameraPlanGenerator builds a deterministic {@link CameraPlan} from an itinerary and the
@@ -1203,7 +1184,7 @@ type CameraPlanGenerator = (itinerary: RouteGeometry, params: GeneratorParams) =
1203
1184
  * the broadcast lateral, `drone` the highest aerial. A consumer framing shots of its
1204
1185
  * own reads a preset's altitude here, the table the generators read.
1205
1186
  */
1206
- declare const modeEyeHeightMeters: Readonly<Record<Exclude<CameraMode, "director">, number>>;
1187
+ export declare const modeEyeHeightMeters: Readonly<Record<Exclude<CameraMode, "director">, number>>;
1207
1188
  /**
1208
1189
  * generateSmartPlan lays an adaptive `smart` flight: its interior pitch is derived
1209
1190
  * per keyframe from the local slope (flatter ground tilts the camera up to read
@@ -1228,7 +1209,7 @@ declare const modeEyeHeightMeters: Readonly<Record<Exclude<CameraMode, "director
1228
1209
  * @throws {MountayaElementsError} When the route holds a vertex whose longitude or latitude is
1229
1210
  * no finite number, as {@link CameraPlanGenerator} states.
1230
1211
  */
1231
- declare const generateSmartPlan: CameraPlanGenerator;
1212
+ export declare const generateSmartPlan: CameraPlanGenerator;
1232
1213
  /**
1233
1214
  * generateCinematicPlan lays a narrative, expressive `cinematic` flight: a tight,
1234
1215
  * grounded fixed pitch that fills the frame with the horizon, a positive zoom bias
@@ -1248,7 +1229,7 @@ declare const generateSmartPlan: CameraPlanGenerator;
1248
1229
  * @throws {MountayaElementsError} When the route holds a vertex whose longitude or latitude is
1249
1230
  * no finite number, as {@link CameraPlanGenerator} states.
1250
1231
  */
1251
- declare const generateCinematicPlan: CameraPlanGenerator;
1232
+ export declare const generateCinematicPlan: CameraPlanGenerator;
1252
1233
  /**
1253
1234
  * generateDronePlan lays an aerial bird's-eye `drone` flight: the steepest fixed
1254
1235
  * pitch, a genuinely high eye (modeEyeHeightMeters.drone, real altitude with real
@@ -1261,7 +1242,7 @@ declare const generateCinematicPlan: CameraPlanGenerator;
1261
1242
  * @throws {MountayaElementsError} When the route holds a vertex whose longitude or latitude is
1262
1243
  * no finite number, as {@link CameraPlanGenerator} states.
1263
1244
  */
1264
- declare const generateDronePlan: CameraPlanGenerator;
1245
+ export declare const generateDronePlan: CameraPlanGenerator;
1265
1246
  /**
1266
1247
  * generateHelicopterPlan lays the broadcast lateral `helicopter` flight: every
1267
1248
  * keyframe's bearing is pinned (`value`) to the itinerary tangent + 90°, so the eye
@@ -1278,7 +1259,7 @@ declare const generateDronePlan: CameraPlanGenerator;
1278
1259
  * @throws {MountayaElementsError} When the route holds a vertex whose longitude or latitude is
1279
1260
  * no finite number, as {@link CameraPlanGenerator} states.
1280
1261
  */
1281
- declare const generateHelicopterPlan: CameraPlanGenerator;
1262
+ export declare const generateHelicopterPlan: CameraPlanGenerator;
1282
1263
  /**
1283
1264
  * generateChasePlan lays the low behind-the-athlete `chase` flight: the highest
1284
1265
  * travelling pitch (nearly horizon-filled), a strong positive zoom bias over the
@@ -1295,7 +1276,7 @@ declare const generateHelicopterPlan: CameraPlanGenerator;
1295
1276
  * @throws {MountayaElementsError} When the route holds a vertex whose longitude or latitude is
1296
1277
  * no finite number, as {@link CameraPlanGenerator} states.
1297
1278
  */
1298
- declare const generateChasePlan: CameraPlanGenerator;
1279
+ export declare const generateChasePlan: CameraPlanGenerator;
1299
1280
  /**
1300
1281
  * generateOverviewPlan lays the cartographic `overview` reveal. The endpoints are
1301
1282
  * explicit near-nadir whole-itinerary frames, each held long enough for the map to
@@ -1319,22 +1300,21 @@ declare const generateChasePlan: CameraPlanGenerator;
1319
1300
  * @throws {MountayaElementsError} When the route holds a vertex whose longitude or latitude is
1320
1301
  * no finite number, as {@link CameraPlanGenerator} states.
1321
1302
  */
1322
- declare const generateOverviewPlan: CameraPlanGenerator;
1303
+ export declare const generateOverviewPlan: CameraPlanGenerator;
1323
1304
  /**
1324
1305
  * neutralDirectorPlan seeds an empty `director` plan: no shots, just the mode and
1325
1306
  * the target duration. An explicit shot sequence (a control or an agent's camera
1326
1307
  * edits) fills it; until then the resolver falls back to a full-itinerary follow shot
1327
1308
  * so a preview is never blank.
1328
1309
  */
1329
- declare const neutralDirectorPlan: (params: GeneratorParams) => CameraPlan;
1310
+ export declare const neutralDirectorPlan: (params: GeneratorParams) => CameraPlan;
1330
1311
  /**
1331
1312
  * cameraPlanGenerators dispatches a non-director mode to its deterministic
1332
1313
  * generator. `director` is excluded because it has no generator (its plan is
1333
1314
  * seeded empty by {@link neutralDirectorPlan} and filled by explicit shots), so a
1334
1315
  * caller picking a generator handles only the modes that produce one.
1335
1316
  */
1336
- declare const cameraPlanGenerators: Readonly<Record<Exclude<CameraMode, "director">, CameraPlanGenerator>>;
1337
-
1317
+ export declare const cameraPlanGenerators: Readonly<Record<Exclude<CameraMode, "director">, CameraPlanGenerator>>;
1338
1318
  /**
1339
1319
  * The encoder vocabulary, read from `./vocabulary` rather than restated: the vocabulary is a
1340
1320
  * leaf both this module and the plan import DOWNWARD, so there is nothing to keep in step by
@@ -1352,11 +1332,11 @@ type VideoFormat = CameraOutputFormat;
1352
1332
  * template is a single spread over the plan's output.
1353
1333
  */
1354
1334
  interface VideoPresetTemplate {
1355
- readonly aspect: CameraAspect;
1356
- readonly bitrateMbps: number;
1357
- readonly format: VideoFormat;
1358
- readonly fps: VideoFps;
1359
- readonly resolution: VideoResolution;
1335
+ readonly aspect: CameraAspect;
1336
+ readonly bitrateMbps: number;
1337
+ readonly format: VideoFormat;
1338
+ readonly fps: VideoFps;
1339
+ readonly resolution: VideoResolution;
1360
1340
  }
1361
1341
  /**
1362
1342
  * videoPresets holds the ready-made templates for the platforms a video is posted to, keyed by
@@ -1368,7 +1348,7 @@ interface VideoPresetTemplate {
1368
1348
  * platform presets appear here. Applying one spreads its template over the plan's output and
1369
1349
  * names the preset.
1370
1350
  */
1371
- declare const videoPresets: Readonly<Record<Exclude<VideoPreset, "custom">, VideoPresetTemplate>>;
1351
+ export declare const videoPresets: Readonly<Record<Exclude<VideoPreset, "custom">, VideoPresetTemplate>>;
1372
1352
  /**
1373
1353
  * BITRATE_MBPS_MIN and BITRATE_MBPS_MAX bound an encoder bitrate override.
1374
1354
  *
@@ -1379,9 +1359,9 @@ declare const videoPresets: Readonly<Record<Exclude<VideoPreset, "custom">, Vide
1379
1359
  * then rejects. A validator of a plan's output reads them, and so does any encoder clamping a
1380
1360
  * caller-supplied override before handing it to the codec.
1381
1361
  */
1382
- declare const BITRATE_MBPS_MIN = 1;
1362
+ export declare const BITRATE_MBPS_MIN = 1;
1383
1363
  /** The highest encoder bitrate an override may state, in Mbps. */
1384
- declare const BITRATE_MBPS_MAX: number;
1364
+ export declare const BITRATE_MBPS_MAX: number;
1385
1365
  /**
1386
1366
  * bitrateForOutput returns the recommended encoder bitrate in Mbps for a
1387
1367
  * resolution + frame rate + quality tier, read straight from bitrateTableMbps.
@@ -1396,7 +1376,7 @@ declare const BITRATE_MBPS_MAX: number;
1396
1376
  * @param quality The quality tier: the column of the row read.
1397
1377
  * @returns The bitrate, in Mbps.
1398
1378
  */
1399
- declare const bitrateForOutput: (resolution: VideoResolution, fps: VideoFps, quality: Quality) => number;
1379
+ export declare const bitrateForOutput: (resolution: VideoResolution, fps: VideoFps, quality: Quality) => number;
1400
1380
  /**
1401
1381
  * estimatedVideoSizeMb estimates the encoded file size in decimal megabytes for a
1402
1382
  * constant-bitrate recording: the megabits the bitrate carries over the flight's length, stated
@@ -1410,7 +1390,7 @@ declare const bitrateForOutput: (resolution: VideoResolution, fps: VideoFps, qua
1410
1390
  * @param durationMs The recording's length, in milliseconds.
1411
1391
  * @returns The size, in decimal megabytes.
1412
1392
  */
1413
- declare const estimatedVideoSizeMb: (bitrateMbps: number, durationMs: number) => number;
1393
+ export declare const estimatedVideoSizeMb: (bitrateMbps: number, durationMs: number) => number;
1414
1394
  /**
1415
1395
  * aspectRatio returns the numeric width/height ratio for a frame aspect (16:9
1416
1396
  * landscape, 9:16 portrait, or 1:1 square), so a preview surface can size its box to
@@ -1418,7 +1398,7 @@ declare const estimatedVideoSizeMb: (bitrateMbps: number, durationMs: number) =>
1418
1398
  * landscape default). A pure mapping with no encoder side, kept beside the presets that
1419
1399
  * set the aspect.
1420
1400
  */
1421
- declare const aspectRatio: (aspect: CameraAspect) => number;
1401
+ export declare const aspectRatio: (aspect: CameraAspect) => number;
1422
1402
  /**
1423
1403
  * suggestVideoLengthMs proposes a flight duration (ms) for an itinerary from its length:
1424
1404
  * roughly one second per kilometer plus a 10 s establishing cushion, rounded to
@@ -1429,8 +1409,7 @@ declare const aspectRatio: (aspect: CameraAspect) => number;
1429
1409
  *
1430
1410
  * @param routeLengthMeters The itinerary's length, in meters.
1431
1411
  */
1432
- declare const suggestVideoLengthMs: (routeLengthMeters: number) => number;
1433
-
1412
+ export declare const suggestVideoLengthMs: (routeLengthMeters: number) => number;
1434
1413
  /**
1435
1414
  * sameRouteContent answers whether two routes hold the same content: every vertex, every
1436
1415
  * elevation and every jump, in order, by the rule {@link holdsRouteContent} states.
@@ -1450,8 +1429,7 @@ declare const suggestVideoLengthMs: (routeLengthMeters: number) => number;
1450
1429
  * }
1451
1430
  * ```
1452
1431
  */
1453
- declare const sameRouteContent: (a: RouteGeometry, b: RouteGeometry) => boolean;
1454
-
1432
+ export declare const sameRouteContent: (a: RouteGeometry, b: RouteGeometry) => boolean;
1455
1433
  /**
1456
1434
  * planDurationMs is the wall-clock length a plan plays for in milliseconds: its
1457
1435
  * base `targetDurationMs` plus the sum of every shot's `holdMs` (each hold pauses
@@ -1459,8 +1437,7 @@ declare const sameRouteContent: (a: RouteGeometry, b: RouteGeometry) => boolean;
1459
1437
  * is the duration the track resolver sizes its per-frame grid from, so the frame
1460
1438
  * count reflects the holds the user added.
1461
1439
  */
1462
- declare const planDurationMs: (plan: CameraPlan) => number;
1463
-
1440
+ export declare const planDurationMs: (plan: CameraPlan) => number;
1464
1441
  /**
1465
1442
  * capturesSweptViewports answers whether a record captures exactly the viewports its sweep jumped
1466
1443
  * through, frame by frame, so the recorder needs no warm pass of its own.
@@ -1477,8 +1454,7 @@ declare const planDurationMs: (plan: CameraPlan) => number;
1477
1454
  * @param captured - The poses the recorder captures.
1478
1455
  * @returns True when both hold the same viewport at every frame.
1479
1456
  */
1480
- declare const capturesSweptViewports: (swept: readonly ShotCamera[], captured: readonly ShotCamera[]) => boolean;
1481
-
1457
+ export declare const capturesSweptViewports: (swept: readonly ShotCamera[], captured: readonly ShotCamera[]) => boolean;
1482
1458
  /**
1483
1459
  * resolveFrameProgressions is the per-frame itinerary-progress fraction sequence both
1484
1460
  * resolveCameraTrack and resolveRouteMarkers walk: for each of the
@@ -1492,7 +1468,7 @@ declare const capturesSweptViewports: (swept: readonly ShotCamera[], captured: r
1492
1468
  * full-itinerary follow shots, so the sequence sweeps 0→1 even on a freshly-seeded
1493
1469
  * director plan.
1494
1470
  */
1495
- declare const resolveFrameProgressions: (plan: CameraPlan) => number[];
1471
+ export declare const resolveFrameProgressions: (plan: CameraPlan) => number[];
1496
1472
  /**
1497
1473
  * resolveCameraTrack turns a camera plan and its itinerary into the render-free
1498
1474
  * per-frame pose array the map flies and records. The frame count is
@@ -1558,7 +1534,7 @@ declare const resolveFrameProgressions: (plan: CameraPlan) => number[];
1558
1534
  * no finite number, naming it as `itinerary.line[index]`: such a vertex would turn every pose
1559
1535
  * of the flight into `NaN`.
1560
1536
  */
1561
- declare const resolveCameraTrack: (plan: CameraPlan, itinerary: RouteGeometry, sampler?: TerrainSampler, clearanceStride?: number) => readonly ShotCamera[];
1537
+ export declare const resolveCameraTrack: (plan: CameraPlan, itinerary: RouteGeometry, sampler?: TerrainSampler, clearanceStride?: number) => readonly ShotCamera[];
1562
1538
  /**
1563
1539
  * resolveRouteMarkers is the public per-frame moving-marker path, a thin wrapper
1564
1540
  * over resolveMarkerSeries. Every returned point lies exactly on the itinerary polyline
@@ -1573,7 +1549,7 @@ declare const resolveCameraTrack: (plan: CameraPlan, itinerary: RouteGeometry, s
1573
1549
  * @throws {MountayaElementsError} When the route holds a vertex whose longitude or latitude is
1574
1550
  * no finite number, naming it as `itinerary.line[index]`, as {@link resolveCameraTrack} does.
1575
1551
  */
1576
- declare const resolveRouteMarkers: (plan: CameraPlan, itinerary: RouteGeometry) => LngLat[];
1552
+ export declare const resolveRouteMarkers: (plan: CameraPlan, itinerary: RouteGeometry) => LngLat[];
1577
1553
  /**
1578
1554
  * clearanceStrideFor is the plan-level convenience the preview resolve uses to pick
1579
1555
  * the clearance sample stride, mirroring resolveFrameProgressions in taking a whole
@@ -1583,7 +1559,7 @@ declare const resolveRouteMarkers: (plan: CameraPlan, itinerary: RouteGeometry)
1583
1559
  * stride that keeps the solve a sub-100 ms task while a record passes 1 for full
1584
1560
  * density and a byte-unchanged artifact.
1585
1561
  */
1586
- declare const clearanceStrideFor: (plan: CameraPlan, itinerary: RouteGeometry) => number;
1562
+ export declare const clearanceStrideFor: (plan: CameraPlan, itinerary: RouteGeometry) => number;
1587
1563
  /**
1588
1564
  * posePlanSignature is a compact, stable string of ONLY the plan fields that change
1589
1565
  * the resolved poses: the `mode`, the whole-flight `targetDurationMs`, and the output
@@ -1596,7 +1572,7 @@ declare const clearanceStrideFor: (plan: CameraPlan, itinerary: RouteGeometry) =
1596
1572
  * the cached flight instead of re-resolving it. Shot order is the plan's own
1597
1573
  * sorted-by-`at` order, so two plans with identical framing hash identically.
1598
1574
  */
1599
- declare const posePlanSignature: (plan: CameraPlan) => string;
1575
+ export declare const posePlanSignature: (plan: CameraPlan) => string;
1600
1576
  /**
1601
1577
  * representativeStillFraction is the flight-fraction (0..1 over the frame grid) a
1602
1578
  * parked preview should sit at so it shows the mode's TRAVELLING framing immediately
@@ -1608,8 +1584,7 @@ declare const posePlanSignature: (plan: CameraPlan) => string;
1608
1584
  * this fraction to the pose at `round(fraction * lastFrame)`, so on a hold-warped grid
1609
1585
  * it still lands past the frozen intro frames.
1610
1586
  */
1611
- declare const representativeStillFraction: (plan: CameraPlan) => number;
1612
-
1587
+ export declare const representativeStillFraction: (plan: CameraPlan) => number;
1613
1588
  /**
1614
1589
  * groundMetersPerPixel returns the Web Mercator ground resolution at a zoom and latitude: how many
1615
1590
  * ground meters one screen pixel spans, `(circumference * cos(lat)) / (tileSize * 2^zoom)`.
@@ -1623,8 +1598,7 @@ declare const representativeStillFraction: (plan: CameraPlan) => number;
1623
1598
  * @returns Ground meters per CSS pixel, or 0 for a zoom that is no finite number (a degenerate
1624
1599
  * span the caller reads as no budget).
1625
1600
  */
1626
- declare const groundMetersPerPixel: (zoom: number, latitude: number) => number;
1627
-
1601
+ export declare const groundMetersPerPixel: (zoom: number, latitude: number) => number;
1628
1602
  /**
1629
1603
  * CINEMATIC_EYE_HEIGHT_METERS is the height, in meters, the `cinematic` preset's eye flies above
1630
1604
  * the route's surface elevation.
@@ -1634,7 +1608,7 @@ declare const groundMetersPerPixel: (zoom: number, latitude: number) => number;
1634
1608
  * keyframe before it derives the zoom, and `modeEyeHeightMeters.cinematic` is this constant, so a
1635
1609
  * consumer reproducing the preset's framing reads the height the preset flies at.
1636
1610
  */
1637
- declare const CINEMATIC_EYE_HEIGHT_METERS = 260;
1611
+ export declare const CINEMATIC_EYE_HEIGHT_METERS = 260;
1638
1612
  /**
1639
1613
  * POINT_ZOOM is the zoom a camera lands at on a point that names no extent, when the caller
1640
1614
  * names no zoom either: close enough to read the place, wide enough to keep its surroundings.
@@ -1652,7 +1626,7 @@ declare const CINEMATIC_EYE_HEIGHT_METERS = 260;
1652
1626
  * map.flyTo({ center: point, zoom: POINT_ZOOM });
1653
1627
  * ```
1654
1628
  */
1655
- declare const POINT_ZOOM = 13;
1629
+ export declare const POINT_ZOOM = 13;
1656
1630
  /**
1657
1631
  * DEFAULT_VIEWPORT_HEIGHT_PX is the canvas height, in CSS pixels, altitudeToZoom and
1658
1632
  * viewportGroundSpanMeters calibrate against when a caller does not pass the live
@@ -1661,7 +1635,7 @@ declare const POINT_ZOOM = 13;
1661
1635
  * running without a map). The track resolver's framing budget reads the same
1662
1636
  * nominal height, and so does a consumer that frames shots of its own with no canvas.
1663
1637
  */
1664
- declare const DEFAULT_VIEWPORT_HEIGHT_PX = 800;
1638
+ export declare const DEFAULT_VIEWPORT_HEIGHT_PX = 800;
1665
1639
  /**
1666
1640
  * altitudeToZoom converts a camera eye altitude in meters to a MapLibre zoom
1667
1641
  * level, from MapLibre's perspective model: the camera's altitude projects to a
@@ -1678,7 +1652,7 @@ declare const DEFAULT_VIEWPORT_HEIGHT_PX = 800;
1678
1652
  * @param viewportHeightPx The canvas height in CSS pixels. Defaults to
1679
1653
  * {@link DEFAULT_VIEWPORT_HEIGHT_PX}.
1680
1654
  */
1681
- declare const altitudeToZoom: (altitudeMeters: number, latitude: number, viewportHeightPx?: number) => number;
1655
+ export declare const altitudeToZoom: (altitudeMeters: number, latitude: number, viewportHeightPx?: number) => number;
1682
1656
  /**
1683
1657
  * zoomToAltitude is the inverse of altitudeToZoom: it converts a MapLibre zoom
1684
1658
  * level back to the camera eye altitude in meters the perspective model places
@@ -1697,7 +1671,7 @@ declare const altitudeToZoom: (altitudeMeters: number, latitude: number, viewpor
1697
1671
  * @param viewportHeightPx The canvas height in CSS pixels. Defaults to
1698
1672
  * {@link DEFAULT_VIEWPORT_HEIGHT_PX}.
1699
1673
  */
1700
- declare const zoomToAltitude: (zoom: number, latitude: number, viewportHeightPx?: number) => number;
1674
+ export declare const zoomToAltitude: (zoom: number, latitude: number, viewportHeightPx?: number) => number;
1701
1675
  /**
1702
1676
  * viewportGroundSpanMeters returns the ground distance in meters the full
1703
1677
  * viewport height covers at a zoom and latitude: the viewport height in pixels
@@ -1710,8 +1684,7 @@ declare const zoomToAltitude: (zoom: number, latitude: number, viewportHeightPx?
1710
1684
  * {@link DEFAULT_VIEWPORT_HEIGHT_PX}, the render-free nominal height, so the value is
1711
1685
  * usable without a live canvas.
1712
1686
  */
1713
- declare const viewportGroundSpanMeters: (zoom: number, latitude: number, viewportHeightPx?: number) => number;
1714
-
1687
+ export declare const viewportGroundSpanMeters: (zoom: number, latitude: number, viewportHeightPx?: number) => number;
1715
1688
  /**
1716
1689
  * ZoomLimitReached is which end of its zoom window a camera stands at: the ceiling, the floor, both
1717
1690
  * (a window of one zoom), or neither.
@@ -1735,9 +1708,9 @@ type ZoomLimitReached = "both" | "ceiling" | "floor" | "none";
1735
1708
  * zoomLimitReached(12, { max: 12, min: 12 }); // "both"
1736
1709
  * ```
1737
1710
  */
1738
- declare const zoomLimitReached: (zoom: number, window: {
1739
- readonly max: number;
1740
- readonly min: number;
1711
+ export declare const zoomLimitReached: (zoom: number, window: {
1712
+ readonly max: number;
1713
+ readonly min: number;
1741
1714
  }) => ZoomLimitReached;
1742
1715
  /**
1743
1716
  * zoomControlsDisabled names the zoom controls disabled at each end a camera stands at: zoom in at
@@ -1745,7 +1718,6 @@ declare const zoomLimitReached: (zoom: number, window: {
1745
1718
  * whoever answers its press, the map or a handler that takes the press over, since either would
1746
1719
  * move the camera nowhere.
1747
1720
  */
1748
- declare const zoomControlsDisabled: Readonly<Record<ZoomLimitReached, readonly ("zoom-in" | "zoom-out")[]>>;
1749
-
1750
- export { BITRATE_MBPS_MAX, BITRATE_MBPS_MIN, BoundingBox, CINEMATIC_EYE_HEIGHT_METERS, CameraAspect, CameraFps, CameraMode, CameraOutputFormat, CameraPlan, CameraResolution, DEFAULT_VIEWPORT_HEIGHT_PX, LngLat, POINT_ZOOM, ProfileDesign, ProfileSample, ProfileSource, Quality, RecordOutput, RecordProfile, RecordingCamera, RouteGeometry, ShotCamera, UnitFormatOptions, VideoFlightEngine, VideoPreset, VideoProgress, VideoRecordingPhase, VideoRecordingResult, altitudeToZoom, aspectRatio, bearingDegBetween, bitrateForOutput, cameraForBounds, cameraPlanGenerators, capturesSweptViewports, clearanceStrideFor, cursorAtFraction, defaultVideoFlightProfile, elevationAtFraction, estimatedVideoSizeMb, generateChasePlan, generateCinematicPlan, generateDronePlan, generateHelicopterPlan, generateOverviewPlan, generateSmartPlan, groundMetersPerPixel, itineraryToRouteGeometry, measuredCameraPlanner, modeEyeHeightMeters, neutralDirectorPlan, planDurationMs, pointAtMeters, posePlanSignature, representativeStillFraction, resolveCameraTrack, resolveClearanceAdjustments, resolveFrameProgressions, resolveRouteMarkers, sameRouteContent, slopeDegAtFraction, suggestVideoLengthMs, synchronousCameraPlanner, tangentBearingAtMeters, videoPresets, viewportGroundSpanMeters, zoomControlsDisabled, zoomLimitReached, zoomToAltitude };
1751
- export type { BoundsCamera, BoundsCameraOptions, CameraPlanGenerator, CameraPlanner, ClearanceAdjustment, ClearanceFrame, ClearanceOptions, GeneratorParams, RouteCursor, TerrainSampler, VideoFlight, VideoFlightMap, VideoFlightOptions, VideoFlightOutcome, VideoFlightProfile, VideoFlightRecording, VideoFlightStatus, VideoPresetTemplate, ZoomLimitReached };
1721
+ export declare const zoomControlsDisabled: Readonly<Record<ZoomLimitReached, readonly ("zoom-in" | "zoom-out")[]>>;
1722
+ export { type BoundingBox, type BoundsCamera, type BoundsCameraOptions, CAMERA_ASPECTS, CAMERA_BEARING_MODES, CAMERA_FPS, CAMERA_MODES, CAMERA_OUTPUT_FORMATS, CAMERA_RESOLUTIONS, type CameraAspect, type CameraBearingMode, type CameraFps, type CameraMode, type CameraOutput, type CameraOutputFormat, type CameraPlan, type CameraPlanGenerator, type CameraPlanInput, type CameraPlanner, type CameraResolution, type CameraShot, type ClearanceAdjustment, type ClearanceFrame, type ClearanceOptions, DEFAULT_TARGET_DURATION_MS, type GeneratorParams, type LngLat, PROFILE_DESIGNS, type ProfileDesign, type ProfileSample, type ProfileSource, QUALITY_TIERS, type Quality, type RecordOutput, type RecordProfile, type RecordingCamera, type RouteCursor, type RouteGeometry, type SegmentSpan, type ShotCamera, type TerrainSampler, type UnitFormatOptions, VIDEO_PRESETS_AVAILABLE, VIDEO_RECORDING_PHASES, type VideoFlight, type VideoFlightMap, type VideoFlightOptions, type VideoFlightOutcome, type VideoFlightProfile, type VideoFlightRecording, type VideoFlightStatus, type VideoPreset, type VideoPresetTemplate, type VideoProgress, type VideoRecordingPhase, type VideoRecordingResult, type ZoomLimitReached, createCameraPlan, cumulativeMeters, defaultCameraOutput, defaultCameraShot, insertShotSorted, resolveProfileSamples, routeLengthMeters };
1723
+ //# sourceMappingURL=index.d.cts.map