@mountaya/elements 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +273 -0
- package/LICENCE.fr.txt +280 -0
- package/LICENSE.txt +262 -0
- package/README.md +1510 -2
- package/THIRD-PARTY-NOTICES.txt +103 -0
- package/dist/agent/index.cjs +1211 -0
- package/dist/agent/index.cjs.map +1 -0
- package/dist/agent/index.d.cts +1966 -0
- package/dist/agent/index.d.ts +1966 -0
- package/dist/agent/index.js +1181 -0
- package/dist/agent/index.js.map +1 -0
- package/dist/camera/index.cjs +2512 -0
- package/dist/camera/index.cjs.map +1 -0
- package/dist/camera/index.d.cts +1723 -0
- package/dist/camera/index.d.ts +1723 -0
- package/dist/camera/index.js +2443 -0
- package/dist/camera/index.js.map +1 -0
- package/dist/chunk-5pTPpv4v.d.cts +897 -0
- package/dist/chunk-5pTPpv4v.d.ts +897 -0
- package/dist/chunk-6JzFMFHh.d.ts +119 -0
- package/dist/chunk-6qyuJVvt.d.ts +513 -0
- package/dist/chunk-9fp0lDic.cjs +583 -0
- package/dist/chunk-9fp0lDic.cjs.map +1 -0
- package/dist/chunk-A48H1rDg.d.cts +73 -0
- package/dist/chunk-A48H1rDg.d.ts +73 -0
- package/dist/chunk-B-m1AchR.cjs +57 -0
- package/dist/chunk-B-m1AchR.cjs.map +1 -0
- package/dist/chunk-B-qFTf04.d.ts +216 -0
- package/dist/chunk-B0YROiZh.d.cts +1475 -0
- package/dist/chunk-B14wgOvH.d.cts +68 -0
- package/dist/chunk-B19l3j9r.cjs +150 -0
- package/dist/chunk-B19l3j9r.cjs.map +1 -0
- package/dist/chunk-B2PtjVKg.cjs +86 -0
- package/dist/chunk-B2PtjVKg.cjs.map +1 -0
- package/dist/chunk-B56Oyb7W.cjs +70 -0
- package/dist/chunk-B56Oyb7W.cjs.map +1 -0
- package/dist/chunk-B5WGMQwK.cjs +113 -0
- package/dist/chunk-B5WGMQwK.cjs.map +1 -0
- package/dist/chunk-B98mKrdu.d.cts +302 -0
- package/dist/chunk-BB0PmqIM.d.cts +44 -0
- package/dist/chunk-BBikve0Z.cjs +269 -0
- package/dist/chunk-BBikve0Z.cjs.map +1 -0
- package/dist/chunk-BHeXmM0X.js +37 -0
- package/dist/chunk-BHeXmM0X.js.map +1 -0
- package/dist/chunk-BI8WZLpU.cjs +281 -0
- package/dist/chunk-BI8WZLpU.cjs.map +1 -0
- package/dist/chunk-BIEc_SkR.cjs +29 -0
- package/dist/chunk-BIEc_SkR.cjs.map +1 -0
- package/dist/chunk-BJ6L6_W9.cjs +553 -0
- package/dist/chunk-BJ6L6_W9.cjs.map +1 -0
- package/dist/chunk-BJ91UCbB.js +11 -0
- package/dist/chunk-BJ91UCbB.js.map +1 -0
- package/dist/chunk-BJEZWTKj.cjs +166 -0
- package/dist/chunk-BJEZWTKj.cjs.map +1 -0
- package/dist/chunk-BJz54mfg.cjs +10 -0
- package/dist/chunk-BJz54mfg.cjs.map +1 -0
- package/dist/chunk-BNX5LAfN.d.cts +912 -0
- package/dist/chunk-BP6KgA86.js +35 -0
- package/dist/chunk-BP6KgA86.js.map +1 -0
- package/dist/chunk-BRnjQq6K.d.cts +157 -0
- package/dist/chunk-BSiMEwPS.js +46 -0
- package/dist/chunk-BSiMEwPS.js.map +1 -0
- package/dist/chunk-BTPjDw_y.cjs +16 -0
- package/dist/chunk-BTPjDw_y.cjs.map +1 -0
- package/dist/chunk-BTUUABGI.js +17 -0
- package/dist/chunk-BTUUABGI.js.map +1 -0
- package/dist/chunk-BUeL9y7s.cjs +45 -0
- package/dist/chunk-BUeL9y7s.cjs.map +1 -0
- package/dist/chunk-BWMuCNc9.cjs +172 -0
- package/dist/chunk-BWMuCNc9.cjs.map +1 -0
- package/dist/chunk-BWjRfhpF.js +126 -0
- package/dist/chunk-BWjRfhpF.js.map +1 -0
- package/dist/chunk-BZ5KyZXI.d.ts +302 -0
- package/dist/chunk-B_4SVmvh.js +94 -0
- package/dist/chunk-B_4SVmvh.js.map +1 -0
- package/dist/chunk-BcTUuZQ3.js +95 -0
- package/dist/chunk-BcTUuZQ3.js.map +1 -0
- package/dist/chunk-BdkqSsJe.cjs +140 -0
- package/dist/chunk-BdkqSsJe.cjs.map +1 -0
- package/dist/chunk-BfktMVmI.js +70 -0
- package/dist/chunk-BfktMVmI.js.map +1 -0
- package/dist/chunk-BfzQb0EK.cjs +6 -0
- package/dist/chunk-BhWfT-22.d.cts +808 -0
- package/dist/chunk-BjJcqX5J.cjs +60 -0
- package/dist/chunk-BjJcqX5J.cjs.map +1 -0
- package/dist/chunk-Bk0L8g5J.d.cts +77 -0
- package/dist/chunk-Bk0L8g5J.d.ts +77 -0
- package/dist/chunk-Bl4_uVa6.cjs +11 -0
- package/dist/chunk-Bl4_uVa6.cjs.map +1 -0
- package/dist/chunk-BlKF4lrp.js +43 -0
- package/dist/chunk-BlKF4lrp.js.map +1 -0
- package/dist/chunk-Bm1FieGR.js +4 -0
- package/dist/chunk-Bm1FieGR.js.map +1 -0
- package/dist/chunk-Bn6ZbxkS.cjs +27 -0
- package/dist/chunk-BpN3hr6a.cjs +541 -0
- package/dist/chunk-BpN3hr6a.cjs.map +1 -0
- package/dist/chunk-Bq_WHTfd.d.cts +119 -0
- package/dist/chunk-Bqt4LBBz.cjs +648 -0
- package/dist/chunk-Bqt4LBBz.cjs.map +1 -0
- package/dist/chunk-Bqt97zwf.d.cts +54 -0
- package/dist/chunk-Bqt97zwf.d.ts +54 -0
- package/dist/chunk-BsBiN4w6.d.cts +245 -0
- package/dist/chunk-BvTpOUoC.cjs +207 -0
- package/dist/chunk-BvTpOUoC.cjs.map +1 -0
- package/dist/chunk-BwK6Hl3q.cjs +446 -0
- package/dist/chunk-BwK6Hl3q.cjs.map +1 -0
- package/dist/chunk-BxDQZDXR.d.cts +76 -0
- package/dist/chunk-BxDQZDXR.d.ts +76 -0
- package/dist/chunk-BxUio8kX.js +20 -0
- package/dist/chunk-BxUio8kX.js.map +1 -0
- package/dist/chunk-BxaocpFi.d.cts +1 -0
- package/dist/chunk-Bywi0K1N.js +36 -0
- package/dist/chunk-Bywi0K1N.js.map +1 -0
- package/dist/chunk-C-IlmkDl.js +59 -0
- package/dist/chunk-C-IlmkDl.js.map +1 -0
- package/dist/chunk-C5PtVewq.d.ts +389 -0
- package/dist/chunk-C5dpC7mQ.js +19 -0
- package/dist/chunk-C5dpC7mQ.js.map +1 -0
- package/dist/chunk-C5q1sgSa.js +46 -0
- package/dist/chunk-C5q1sgSa.js.map +1 -0
- package/dist/chunk-C6fU9G5I.cjs +221 -0
- package/dist/chunk-C6fU9G5I.cjs.map +1 -0
- package/dist/chunk-C71dpWUK.js +5 -0
- package/dist/chunk-C71dpWUK.js.map +1 -0
- package/dist/chunk-C82N1gQX.d.ts +1831 -0
- package/dist/chunk-C8HdaHpu.js +118 -0
- package/dist/chunk-C8HdaHpu.js.map +1 -0
- package/dist/chunk-C8ZGryck.js +236 -0
- package/dist/chunk-C8ZGryck.js.map +1 -0
- package/dist/chunk-C95NG0oD.cjs +43 -0
- package/dist/chunk-C95NG0oD.cjs.map +1 -0
- package/dist/chunk-C9aR8DXb.js +9 -0
- package/dist/chunk-C9aR8DXb.js.map +1 -0
- package/dist/chunk-CAUZnoCs.d.ts +525 -0
- package/dist/chunk-CBXWWuM9.cjs +82 -0
- package/dist/chunk-CBXWWuM9.cjs.map +1 -0
- package/dist/chunk-CC_Kquu7.d.cts +125 -0
- package/dist/chunk-CC_Kquu7.d.ts +125 -0
- package/dist/chunk-CCp85vXg.cjs +60 -0
- package/dist/chunk-CCp85vXg.cjs.map +1 -0
- package/dist/chunk-CEcB1_uK.js +39 -0
- package/dist/chunk-CEcB1_uK.js.map +1 -0
- package/dist/chunk-CFIo021l.d.cts +216 -0
- package/dist/chunk-CH_IZoJE.js +33 -0
- package/dist/chunk-CH_IZoJE.js.map +1 -0
- package/dist/chunk-CHrasH_g.cjs +25 -0
- package/dist/chunk-CHrasH_g.cjs.map +1 -0
- package/dist/chunk-CJVoSaAE.cjs +3 -0
- package/dist/chunk-CJp8nGcb.js +96 -0
- package/dist/chunk-CJp8nGcb.js.map +1 -0
- package/dist/chunk-CJwUtkOt.js +112 -0
- package/dist/chunk-CJwUtkOt.js.map +1 -0
- package/dist/chunk-CKhCOVIf.d.cts +751 -0
- package/dist/chunk-CKiVSRYg.js +50 -0
- package/dist/chunk-CKiVSRYg.js.map +1 -0
- package/dist/chunk-CKtd19eD.cjs +59 -0
- package/dist/chunk-CKtd19eD.cjs.map +1 -0
- package/dist/chunk-CL92KE3j.d.ts +3188 -0
- package/dist/chunk-CLqUlkAe.js +54 -0
- package/dist/chunk-CLqUlkAe.js.map +1 -0
- package/dist/chunk-CMG5OV0q.cjs +4741 -0
- package/dist/chunk-CMG5OV0q.cjs.map +1 -0
- package/dist/chunk-CN_TKSgm.js +10 -0
- package/dist/chunk-CN_TKSgm.js.map +1 -0
- package/dist/chunk-CNe6MtqV.cjs +29 -0
- package/dist/chunk-CNe6MtqV.cjs.map +1 -0
- package/dist/chunk-COQkDTC5.js +83 -0
- package/dist/chunk-COQkDTC5.js.map +1 -0
- package/dist/chunk-CPBl6K4M.cjs +168 -0
- package/dist/chunk-CPBl6K4M.cjs.map +1 -0
- package/dist/chunk-CPx0ZYFB.d.ts +3 -0
- package/dist/chunk-CQQhcP_C.d.ts +197 -0
- package/dist/chunk-CTNoajFh.d.cts +389 -0
- package/dist/chunk-CTd-qgJc.cjs +384 -0
- package/dist/chunk-CTd-qgJc.cjs.map +1 -0
- package/dist/chunk-CW80YYtU.cjs +1056 -0
- package/dist/chunk-CW80YYtU.cjs.map +1 -0
- package/dist/chunk-CWpqBgkF.d.cts +24 -0
- package/dist/chunk-CWpqBgkF.d.ts +24 -0
- package/dist/chunk-CXjRArgy.d.ts +3 -0
- package/dist/chunk-CXonfH3-.cjs +14 -0
- package/dist/chunk-CXonfH3-.cjs.map +1 -0
- package/dist/chunk-CYcouGXN.d.ts +825 -0
- package/dist/chunk-CZDAzEBw.cjs +1621 -0
- package/dist/chunk-CZDAzEBw.cjs.map +1 -0
- package/dist/chunk-C_fQFr70.d.cts +159 -0
- package/dist/chunk-C_fQFr70.d.ts +159 -0
- package/dist/chunk-CbOtHnnB.cjs +359 -0
- package/dist/chunk-CbOtHnnB.cjs.map +1 -0
- package/dist/chunk-CdA6ZMGk.d.cts +825 -0
- package/dist/chunk-Ce1_thm7.js +146 -0
- package/dist/chunk-Ce1_thm7.js.map +1 -0
- package/dist/chunk-CeD8Hw0j.d.cts +3188 -0
- package/dist/chunk-CeiTuMyt.d.cts +525 -0
- package/dist/chunk-Ch1OLzLi.js +1 -0
- package/dist/chunk-Cizu_j1N.cjs +87 -0
- package/dist/chunk-Cizu_j1N.cjs.map +1 -0
- package/dist/chunk-CjDe9z6A.d.cts +427 -0
- package/dist/chunk-Cl1etdlu.js +63 -0
- package/dist/chunk-Cl1etdlu.js.map +1 -0
- package/dist/chunk-CmoVJDoz.js +4 -0
- package/dist/chunk-CmoVJDoz.js.map +1 -0
- package/dist/chunk-CnLucxjG.cjs +197 -0
- package/dist/chunk-CnLucxjG.cjs.map +1 -0
- package/dist/chunk-CsWjBmdi.cjs +56 -0
- package/dist/chunk-CsWjBmdi.cjs.map +1 -0
- package/dist/chunk-CuseO5MZ.d.cts +3 -0
- package/dist/chunk-CvMHibbA.d.ts +427 -0
- package/dist/chunk-CwDeiN5U.js +870 -0
- package/dist/chunk-CwDeiN5U.js.map +1 -0
- package/dist/chunk-Cwdmx4tG.js +1 -0
- package/dist/chunk-D-4MxHTt.d.cts +105 -0
- package/dist/chunk-D-4MxHTt.d.ts +105 -0
- package/dist/chunk-D0LF-99V.js +1093 -0
- package/dist/chunk-D0LF-99V.js.map +1 -0
- package/dist/chunk-D1fe-0c_.js +367 -0
- package/dist/chunk-D1fe-0c_.js.map +1 -0
- package/dist/chunk-D21fEI6A.d.ts +1926 -0
- package/dist/chunk-D39gAxya.cjs +89 -0
- package/dist/chunk-D39gAxya.cjs.map +1 -0
- package/dist/chunk-D6KdIW5e.cjs +228 -0
- package/dist/chunk-D6KdIW5e.cjs.map +1 -0
- package/dist/chunk-D6qHYbgW.d.cts +36 -0
- package/dist/chunk-D89E-w70.d.ts +44 -0
- package/dist/chunk-D8bdTysL.js +552 -0
- package/dist/chunk-D8bdTysL.js.map +1 -0
- package/dist/chunk-D96QJT24.cjs +109 -0
- package/dist/chunk-D96QJT24.cjs.map +1 -0
- package/dist/chunk-DAmkQl-i.js +119 -0
- package/dist/chunk-DAmkQl-i.js.map +1 -0
- package/dist/chunk-DEfsb2lc.cjs +10 -0
- package/dist/chunk-DEfsb2lc.cjs.map +1 -0
- package/dist/chunk-DIFjT5-V.d.cts +66 -0
- package/dist/chunk-DJpUw8TN.d.ts +912 -0
- package/dist/chunk-DK6lm2IZ.cjs +11 -0
- package/dist/chunk-DK6lm2IZ.cjs.map +1 -0
- package/dist/chunk-DKqgr31j.cjs +61 -0
- package/dist/chunk-DKqgr31j.cjs.map +1 -0
- package/dist/chunk-DLZ0QYm9.js +37 -0
- package/dist/chunk-DLZ0QYm9.js.map +1 -0
- package/dist/chunk-DLjS0uaC.js +4 -0
- package/dist/chunk-DLjS0uaC.js.map +1 -0
- package/dist/chunk-DMokwmOV.cjs +49 -0
- package/dist/chunk-DMokwmOV.cjs.map +1 -0
- package/dist/chunk-DMvWgBZL.d.cts +1831 -0
- package/dist/chunk-DNfGfIF3.js +31 -0
- package/dist/chunk-DNfGfIF3.js.map +1 -0
- package/dist/chunk-DQbSRe8D.d.ts +245 -0
- package/dist/chunk-DSGkP8_y.js +45 -0
- package/dist/chunk-DSGkP8_y.js.map +1 -0
- package/dist/chunk-DTctvfSd.d.cts +197 -0
- package/dist/chunk-DWe7igyw.cjs +206 -0
- package/dist/chunk-DWe7igyw.cjs.map +1 -0
- package/dist/chunk-DWsMP5JR.d.ts +68 -0
- package/dist/chunk-DWsm3HIW.d.cts +120 -0
- package/dist/chunk-DWsm3HIW.d.ts +120 -0
- package/dist/chunk-DXABHjLa.cjs +3 -0
- package/dist/chunk-D_BeqSbc.cjs +42 -0
- package/dist/chunk-D_BeqSbc.cjs.map +1 -0
- package/dist/chunk-D_svQNdW.d.ts +66 -0
- package/dist/chunk-Dav4xWrp.js +330 -0
- package/dist/chunk-Dav4xWrp.js.map +1 -0
- package/dist/chunk-DbCPhepL.js +293 -0
- package/dist/chunk-DbCPhepL.js.map +1 -0
- package/dist/chunk-DcrTy-y2.cjs +43 -0
- package/dist/chunk-DcrTy-y2.cjs.map +1 -0
- package/dist/chunk-Ddv484ld.js +487 -0
- package/dist/chunk-Ddv484ld.js.map +1 -0
- package/dist/chunk-De0bjnhY.cjs +88 -0
- package/dist/chunk-De0bjnhY.cjs.map +1 -0
- package/dist/chunk-De2FmNPu.cjs +32 -0
- package/dist/chunk-De2FmNPu.cjs.map +1 -0
- package/dist/chunk-DeSjQXiI.d.ts +157 -0
- package/dist/chunk-Den0Ta6C.js +132 -0
- package/dist/chunk-Den0Ta6C.js.map +1 -0
- package/dist/chunk-DiDKEeEa.js +8 -0
- package/dist/chunk-DiDKEeEa.js.map +1 -0
- package/dist/chunk-Dj60k5PU.js +197 -0
- package/dist/chunk-Dj60k5PU.js.map +1 -0
- package/dist/chunk-DjnYQBCN.js +4705 -0
- package/dist/chunk-DjnYQBCN.js.map +1 -0
- package/dist/chunk-Dk9VKvyq.d.ts +1 -0
- package/dist/chunk-Dor1ERI9.cjs +85 -0
- package/dist/chunk-Dor1ERI9.cjs.map +1 -0
- package/dist/chunk-DpMouOoH.js +451 -0
- package/dist/chunk-DpMouOoH.js.map +1 -0
- package/dist/chunk-DposgdNL.cjs +52 -0
- package/dist/chunk-DposgdNL.cjs.map +1 -0
- package/dist/chunk-DqLTG_5Q.d.cts +3 -0
- package/dist/chunk-Dr5MCIpS.d.cts +63 -0
- package/dist/chunk-Dr5MCIpS.d.ts +63 -0
- package/dist/chunk-DrudttCC.cjs +4 -0
- package/dist/chunk-DsDYVJQC.js +173 -0
- package/dist/chunk-DsDYVJQC.js.map +1 -0
- package/dist/chunk-Dw8ur6FJ.js +27 -0
- package/dist/chunk-Dw8ur6FJ.js.map +1 -0
- package/dist/chunk-DwG6M_0v.js +64 -0
- package/dist/chunk-DwG6M_0v.js.map +1 -0
- package/dist/chunk-Dy9a5ibO.js +284 -0
- package/dist/chunk-Dy9a5ibO.js.map +1 -0
- package/dist/chunk-DyayZlQJ.js +157 -0
- package/dist/chunk-DyayZlQJ.js.map +1 -0
- package/dist/chunk-DyhJZC2i.js +126 -0
- package/dist/chunk-DyhJZC2i.js.map +1 -0
- package/dist/chunk-F9zBzmmG.cjs +45 -0
- package/dist/chunk-F9zBzmmG.cjs.map +1 -0
- package/dist/chunk-FyCYofv2.js +116 -0
- package/dist/chunk-FyCYofv2.js.map +1 -0
- package/dist/chunk-GHJRjAk2.js +1 -0
- package/dist/chunk-H14isiSf.d.ts +751 -0
- package/dist/chunk-HIJzXoN4.js +7 -0
- package/dist/chunk-HIJzXoN4.js.map +1 -0
- package/dist/chunk-Id_8kRtu.d.ts +36 -0
- package/dist/chunk-KN60yxBQ.js +5 -0
- package/dist/chunk-KN60yxBQ.js.map +1 -0
- package/dist/chunk-NM5yg6bh.cjs +82 -0
- package/dist/chunk-NM5yg6bh.cjs.map +1 -0
- package/dist/chunk-OXr3zJfM.cjs +119 -0
- package/dist/chunk-OXr3zJfM.cjs.map +1 -0
- package/dist/chunk-QGqgNC4z.d.ts +928 -0
- package/dist/chunk-QJBtJrZ0.js +36 -0
- package/dist/chunk-QJBtJrZ0.js.map +1 -0
- package/dist/chunk-QKWhxfPv.d.cts +361 -0
- package/dist/chunk-QKWhxfPv.d.ts +361 -0
- package/dist/chunk-QXW7b4Ev.d.cts +410 -0
- package/dist/chunk-RHZrxUrM.cjs +39 -0
- package/dist/chunk-RHZrxUrM.cjs.map +1 -0
- package/dist/chunk-RTxe2i66.js +91 -0
- package/dist/chunk-RTxe2i66.js.map +1 -0
- package/dist/chunk-RrKkJb6P.js +16 -0
- package/dist/chunk-RrKkJb6P.js.map +1 -0
- package/dist/chunk-VOJqpcnM.cjs +181 -0
- package/dist/chunk-VOJqpcnM.cjs.map +1 -0
- package/dist/chunk-VljGTrid.js +1 -0
- package/dist/chunk-X3UVwUEK.d.cts +513 -0
- package/dist/chunk-X9K2WChn.cjs +28 -0
- package/dist/chunk-X9K2WChn.cjs.map +1 -0
- package/dist/chunk-YrtOx6oy.js +251 -0
- package/dist/chunk-YrtOx6oy.js.map +1 -0
- package/dist/chunk-bY7ySujI.d.cts +928 -0
- package/dist/chunk-bYf1sBz5.d.cts +11 -0
- package/dist/chunk-bYf1sBz5.d.ts +11 -0
- package/dist/chunk-blfknWoM.d.cts +1926 -0
- package/dist/chunk-blqsohAb.js +113 -0
- package/dist/chunk-blqsohAb.js.map +1 -0
- package/dist/chunk-cDMCjodI.cjs +58 -0
- package/dist/chunk-cDMCjodI.cjs.map +1 -0
- package/dist/chunk-cWjE3qd6.cjs +10 -0
- package/dist/chunk-cWjE3qd6.cjs.map +1 -0
- package/dist/chunk-dfOgV3fu.js +26 -0
- package/dist/chunk-dfOgV3fu.js.map +1 -0
- package/dist/chunk-f9cTwUX1.cjs +125 -0
- package/dist/chunk-f9cTwUX1.cjs.map +1 -0
- package/dist/chunk-fHVYEZs4.cjs +28 -0
- package/dist/chunk-fHVYEZs4.cjs.map +1 -0
- package/dist/chunk-fWRUMgRI.js +22 -0
- package/dist/chunk-fWRUMgRI.js.map +1 -0
- package/dist/chunk-fozLXfHY.d.cts +55 -0
- package/dist/chunk-fozLXfHY.d.ts +55 -0
- package/dist/chunk-gWmB1l3A.cjs +3122 -0
- package/dist/chunk-gWmB1l3A.cjs.map +1 -0
- package/dist/chunk-gbj2R-_w.js +58 -0
- package/dist/chunk-gbj2R-_w.js.map +1 -0
- package/dist/chunk-iIWxsAXd.js +59 -0
- package/dist/chunk-iIWxsAXd.js.map +1 -0
- package/dist/chunk-lItIuOIS.cjs +137 -0
- package/dist/chunk-lItIuOIS.cjs.map +1 -0
- package/dist/chunk-m6Rh4PCe.cjs +798 -0
- package/dist/chunk-m6Rh4PCe.cjs.map +1 -0
- package/dist/chunk-o3IRANDf.cjs +99 -0
- package/dist/chunk-o3IRANDf.cjs.map +1 -0
- package/dist/chunk-obUcg3Sk.d.ts +808 -0
- package/dist/chunk-ohsf-6Rn.js +600 -0
- package/dist/chunk-ohsf-6Rn.js.map +1 -0
- package/dist/chunk-pBleU6Nv.js +3061 -0
- package/dist/chunk-pBleU6Nv.js.map +1 -0
- package/dist/chunk-px4e99cy.js +71 -0
- package/dist/chunk-px4e99cy.js.map +1 -0
- package/dist/chunk-qwYDLeXc.cjs +99 -0
- package/dist/chunk-qwYDLeXc.cjs.map +1 -0
- package/dist/chunk-rF_859Qk.cjs +101 -0
- package/dist/chunk-rF_859Qk.cjs.map +1 -0
- package/dist/chunk-rLJkqJ5j.d.ts +1475 -0
- package/dist/chunk-twQItIRg.cjs +338 -0
- package/dist/chunk-twQItIRg.cjs.map +1 -0
- package/dist/chunk-vnPrMVjY.js +10 -0
- package/dist/chunk-vnPrMVjY.js.map +1 -0
- package/dist/chunk-ws3bVwaS.d.ts +410 -0
- package/dist/chunk-xh3UkuVs.cjs +246 -0
- package/dist/chunk-xh3UkuVs.cjs.map +1 -0
- package/dist/chunk-yMzRr26E.js +153 -0
- package/dist/chunk-yMzRr26E.js.map +1 -0
- package/dist/collab/index.cjs +831 -0
- package/dist/collab/index.cjs.map +1 -0
- package/dist/collab/index.d.cts +824 -0
- package/dist/collab/index.d.ts +824 -0
- package/dist/collab/index.js +819 -0
- package/dist/collab/index.js.map +1 -0
- package/dist/data/index.cjs +39 -0
- package/dist/data/index.d.cts +6 -0
- package/dist/data/index.d.ts +6 -0
- package/dist/data/index.js +7 -0
- package/dist/editor/index.cjs +2713 -0
- package/dist/editor/index.cjs.map +1 -0
- package/dist/editor/index.d.cts +10 -0
- package/dist/editor/index.d.ts +10 -0
- package/dist/editor/index.js +2702 -0
- package/dist/editor/index.js.map +1 -0
- package/dist/errors/index.cjs +11 -0
- package/dist/errors/index.d.cts +2 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +1 -0
- package/dist/geo/index.cjs +68 -0
- package/dist/geo/index.d.cts +6 -0
- package/dist/geo/index.d.ts +6 -0
- package/dist/geo/index.js +11 -0
- package/dist/i18n/fr/index.cjs +333 -0
- package/dist/i18n/fr/index.cjs.map +1 -0
- package/dist/i18n/fr/index.d.cts +18 -0
- package/dist/i18n/fr/index.d.ts +18 -0
- package/dist/i18n/fr/index.js +328 -0
- package/dist/i18n/fr/index.js.map +1 -0
- package/dist/i18n/index.cjs +451 -0
- package/dist/i18n/index.cjs.map +1 -0
- package/dist/i18n/index.d.cts +268 -0
- package/dist/i18n/index.d.ts +268 -0
- package/dist/i18n/index.js +430 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/icons/index.cjs +37 -0
- package/dist/icons/index.d.cts +4 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.js +8 -0
- package/dist/index.cjs +517 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +174 -0
- package/dist/index.d.ts +174 -0
- package/dist/index.js +54 -0
- package/dist/index.js.map +1 -0
- package/dist/layers/index.cjs +83 -0
- package/dist/layers/index.d.cts +3 -0
- package/dist/layers/index.d.ts +3 -0
- package/dist/layers/index.js +5 -0
- package/dist/map-client/index.cjs +5 -0
- package/dist/map-client/index.d.cts +6 -0
- package/dist/map-client/index.d.ts +6 -0
- package/dist/map-client/index.js +0 -0
- package/dist/maplibre-worker.mjs +12 -0
- package/dist/navigation/index.cjs +612 -0
- package/dist/navigation/index.cjs.map +1 -0
- package/dist/navigation/index.d.cts +551 -0
- package/dist/navigation/index.d.ts +551 -0
- package/dist/navigation/index.js +599 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/profile/index.cjs +177 -0
- package/dist/profile/index.d.cts +8 -0
- package/dist/profile/index.d.ts +8 -0
- package/dist/profile/index.js +10 -0
- package/dist/seams/index.cjs +15 -0
- package/dist/seams/index.d.cts +4 -0
- package/dist/seams/index.d.ts +4 -0
- package/dist/seams/index.js +4 -0
- package/dist/search/index.cjs +39 -0
- package/dist/search/index.d.cts +6 -0
- package/dist/search/index.d.ts +6 -0
- package/dist/search/index.js +3 -0
- package/dist/style/index.cjs +34 -0
- package/dist/style/index.d.cts +5 -0
- package/dist/style/index.d.ts +5 -0
- package/dist/style/index.js +5 -0
- package/dist/styles.css +11 -0
- package/dist/testing/index.cjs +444 -0
- package/dist/testing/index.cjs.map +1 -0
- package/dist/testing/index.d.cts +217 -0
- package/dist/testing/index.d.ts +217 -0
- package/dist/testing/index.js +435 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/timezone/index.cjs +1953 -0
- package/dist/timezone/index.cjs.map +1 -0
- package/dist/timezone/index.d.cts +28 -0
- package/dist/timezone/index.d.ts +28 -0
- package/dist/timezone/index.js +1948 -0
- package/dist/timezone/index.js.map +1 -0
- package/dist/units/index.cjs +29 -0
- package/dist/units/index.d.cts +3 -0
- package/dist/units/index.d.ts +3 -0
- package/dist/units/index.js +3 -0
- package/dist/video/index.cjs +1713 -0
- package/dist/video/index.cjs.map +1 -0
- package/dist/video/index.d.cts +846 -0
- package/dist/video/index.d.ts +846 -0
- package/dist/video/index.js +1689 -0
- package/dist/video/index.js.map +1 -0
- package/dist/view/index.cjs +7 -0
- package/dist/view/index.d.cts +3 -0
- package/dist/view/index.d.ts +3 -0
- package/dist/view/index.js +1 -0
- package/package.json +433 -4
- package/src/agent/engines/session.ts +2255 -0
- package/src/agent/index.ts +109 -0
- package/src/agent/rules/agentError.ts +128 -0
- package/src/agent/rules/boundedInputJson.ts +53 -0
- package/src/agent/rules/conversation.ts +629 -0
- package/src/agent/rules/conversationFaults.ts +349 -0
- package/src/agent/rules/conversationHost.ts +390 -0
- package/src/agent/rules/dispatcher.ts +102 -0
- package/src/agent/rules/errorCodes.ts +78 -0
- package/src/agent/rules/errorStatus.ts +65 -0
- package/src/agent/rules/scriptedTransport.ts +390 -0
- package/src/agent/rules/stickToBottom.ts +38 -0
- package/src/agent/rules/toolResultPayload.ts +197 -0
- package/src/auth/rules/clientHeader.ts +22 -0
- package/src/auth/rules/sentCredential.ts +76 -0
- package/src/auth/rules/transformRequest.ts +803 -0
- package/src/camera/engines/videoFlight.ts +1758 -0
- package/src/camera/index.ts +157 -0
- package/src/camera/rules/clearance.ts +1099 -0
- package/src/camera/rules/fit.ts +132 -0
- package/src/camera/rules/modes.ts +1019 -0
- package/src/camera/rules/plan.ts +478 -0
- package/src/camera/rules/planner.ts +129 -0
- package/src/camera/rules/poseRanges.ts +38 -0
- package/src/camera/rules/presets.ts +185 -0
- package/src/camera/rules/profileSamples.ts +243 -0
- package/src/camera/rules/route.ts +596 -0
- package/src/camera/rules/routeContent.ts +105 -0
- package/src/camera/rules/spline.ts +765 -0
- package/src/camera/rules/sweptViewports.ts +39 -0
- package/src/camera/rules/track.ts +1412 -0
- package/src/camera/rules/vocabulary.ts +130 -0
- package/src/camera/rules/zoom.ts +216 -0
- package/src/collab/engines/session.ts +1902 -0
- package/src/collab/engines/trailingThrottle.ts +151 -0
- package/src/collab/index.ts +52 -0
- package/src/collab/rules/dispatch.ts +143 -0
- package/src/collab/rules/peerNames.ts +51 -0
- package/src/collab/rules/scriptedTransport.ts +244 -0
- package/src/compose/engines/baseMapSwitch.ts +1136 -0
- package/src/compose/engines/events.ts +962 -0
- package/src/compose/engines/mountayaMap.ts +5648 -0
- package/src/compose/engines/sentCredentials.ts +146 -0
- package/src/compose/engines/slotRequests.ts +413 -0
- package/src/compose/rules/accessRefusal.ts +109 -0
- package/src/compose/rules/accessStanding.ts +75 -0
- package/src/compose/rules/analysisKinds.ts +331 -0
- package/src/compose/rules/analysisLayers.ts +176 -0
- package/src/compose/rules/cameraMoves.ts +38 -0
- package/src/compose/rules/carriedLayers.ts +87 -0
- package/src/compose/rules/developmentWarnings.ts +167 -0
- package/src/compose/rules/fitBox.ts +67 -0
- package/src/compose/rules/fitCamera.ts +54 -0
- package/src/compose/rules/geoJsonSlot.ts +61 -0
- package/src/compose/rules/geometrySlots.ts +155 -0
- package/src/compose/rules/glyphNode.ts +62 -0
- package/src/compose/rules/layerKeys.ts +92 -0
- package/src/compose/rules/layerOrder.ts +85 -0
- package/src/compose/rules/layersManifest.ts +26 -0
- package/src/compose/rules/mapOptions.ts +300 -0
- package/src/compose/rules/maplibreWorkerVersion.gen.ts +8 -0
- package/src/compose/rules/markerPin.ts +122 -0
- package/src/compose/rules/markerRegistry.ts +85 -0
- package/src/compose/rules/markerSprite.ts +382 -0
- package/src/compose/rules/maxBounds.ts +120 -0
- package/src/compose/rules/overlayLookup.ts +49 -0
- package/src/compose/rules/paintDiff.ts +38 -0
- package/src/compose/rules/panLock.ts +77 -0
- package/src/compose/rules/patch.ts +124 -0
- package/src/compose/rules/queriedFeature.ts +55 -0
- package/src/compose/rules/queryLayers.ts +46 -0
- package/src/compose/rules/searchHighlight.ts +313 -0
- package/src/compose/rules/slotNames.ts +19 -0
- package/src/compose/rules/stripeImage.ts +253 -0
- package/src/compose/rules/swapMarker.ts +66 -0
- package/src/compose/rules/terrainVariant.ts +88 -0
- package/src/compose/rules/types.ts +559 -0
- package/src/compose/rules/urlHash.ts +19 -0
- package/src/compose/rules/viewOptions.ts +451 -0
- package/src/compose/rules/workerUrl.ts +131 -0
- package/src/data/engines/itineraryResource.ts +643 -0
- package/src/data/index.ts +78 -0
- package/src/data/rules/adapt.ts +473 -0
- package/src/data/rules/editModes.ts +51 -0
- package/src/data/rules/itinerary.ts +168 -0
- package/src/data/rules/nullable.ts +63 -0
- package/src/data/rules/roadAccess.ts +169 -0
- package/src/data/rules/segmentGroups.ts +309 -0
- package/src/data/rules/selectors.ts +95 -0
- package/src/data/rules/zones.ts +79 -0
- package/src/draw/engines/boundaryEngine.ts +1003 -0
- package/src/draw/engines/framedAdapter.ts +198 -0
- package/src/draw/engines/pointerCursor.ts +205 -0
- package/src/draw/engines/segmentEngine.ts +1405 -0
- package/src/draw/engines/snapIndex.ts +254 -0
- package/src/draw/engines/waypointEngine.ts +574 -0
- package/src/draw/engines/zoneEngine.ts +1137 -0
- package/src/draw/rules/drawFrame.ts +123 -0
- package/src/draw/rules/insertVertex.ts +226 -0
- package/src/draw/rules/screenSpace.ts +62 -0
- package/src/draw/rules/seeds.ts +185 -0
- package/src/draw/rules/snap.ts +115 -0
- package/src/draw/rules/snapCameraKey.ts +50 -0
- package/src/draw/rules/terraDrawShared.ts +214 -0
- package/src/draw/rules/zoneOutline.ts +213 -0
- package/src/editing/engines/cursor.ts +505 -0
- package/src/editing/engines/draftMarker.ts +149 -0
- package/src/editing/rules/accent.ts +11 -0
- package/src/editing/rules/engine.ts +288 -0
- package/src/editing/rules/placement.ts +22 -0
- package/src/editing/rules/positions.ts +89 -0
- package/src/editing/rules/sources.ts +9 -0
- package/src/editing/rules/types.ts +457 -0
- package/src/editing/rules/vocabulary.ts +10 -0
- package/src/editing/rules/waypointCursor.ts +228 -0
- package/src/editor/engines/directionArrows.ts +459 -0
- package/src/editor/engines/directions.ts +1383 -0
- package/src/editor/engines/editorClient.ts +134 -0
- package/src/editor/engines/eventScope.ts +59 -0
- package/src/editor/engines/frameLoop.ts +159 -0
- package/src/editor/engines/itineraryPreview.ts +272 -0
- package/src/editor/engines/mapLockGuard.ts +66 -0
- package/src/editor/engines/overlayRenderer.ts +2696 -0
- package/src/editor/engines/peerDraft.ts +760 -0
- package/src/editor/engines/poiPick.ts +305 -0
- package/src/editor/engines/pointPick.ts +84 -0
- package/src/editor/engines/roadAccessLine.ts +140 -0
- package/src/editor/engines/searchHighlight.ts +183 -0
- package/src/editor/engines/viewClient.ts +4091 -0
- package/src/editor/engines/zoneBadges.ts +503 -0
- package/src/editor/index.ts +97 -0
- package/src/editor/rules/accentColor.ts +116 -0
- package/src/editor/rules/camera.ts +121 -0
- package/src/editor/rules/contract.ts +120 -0
- package/src/editor/rules/icons.ts +825 -0
- package/src/editor/rules/markerElements.ts +244 -0
- package/src/editor/rules/style.ts +51 -0
- package/src/editor/rules/terrain.ts +98 -0
- package/src/editor/rules/tileWarm.ts +191 -0
- package/src/editor/rules/tilesReload.ts +158 -0
- package/src/editor/rules/zoneBadgePlacement.ts +1832 -0
- package/src/editor/rules/zoneTimeStyling.ts +119 -0
- package/src/errors/index.ts +25 -0
- package/src/errors/rules/errors.ts +158 -0
- package/src/errors/rules/print.ts +129 -0
- package/src/geo/index.ts +89 -0
- package/src/geo/rules/boundaries.ts +105 -0
- package/src/geo/rules/camera.ts +496 -0
- package/src/geo/rules/corridor.ts +242 -0
- package/src/geo/rules/elevationTiles.ts +269 -0
- package/src/geo/rules/formatLngLat.ts +63 -0
- package/src/geo/rules/geodesy.ts +125 -0
- package/src/geo/rules/geometry.ts +362 -0
- package/src/geo/rules/lineWalk.ts +77 -0
- package/src/geo/rules/longitude.ts +99 -0
- package/src/geo/rules/searchLimits.ts +22 -0
- package/src/geo/rules/segmentGeometry.ts +80 -0
- package/src/geo/rules/terrain.ts +107 -0
- package/src/geo/rules/tuples.ts +124 -0
- package/src/geo/rules/types.ts +54 -0
- package/src/geo/rules/webMercator.ts +57 -0
- package/src/i18n/fr/index.ts +17 -0
- package/src/i18n/fr/rules/fr.ts +85 -0
- package/src/i18n/fr/rules/words.gen.ts +277 -0
- package/src/i18n/index.ts +82 -0
- package/src/i18n/rules/bundle.ts +378 -0
- package/src/i18n/rules/config.ts +71 -0
- package/src/i18n/rules/dates.ts +165 -0
- package/src/i18n/rules/endonyms.gen.ts +19 -0
- package/src/i18n/rules/language.ts +92 -0
- package/src/i18n/rules/localizedName.ts +33 -0
- package/src/i18n/rules/merge.ts +106 -0
- package/src/i18n/rules/scope.ts +127 -0
- package/src/i18n/rules/strings.ts +632 -0
- package/src/i18n/rules/videoOverlay.ts +121 -0
- package/src/i18n/rules/wordForms.ts +95 -0
- package/src/i18n/rules/words.gen.ts +277 -0
- package/src/icons/index.ts +54 -0
- package/src/icons/rules/activities.ts +40 -0
- package/src/icons/rules/amenities.ts +250 -0
- package/src/icons/rules/artwork.gen.ts +83 -0
- package/src/icons/rules/artwork.ts +47 -0
- package/src/icons/rules/fallback.ts +21 -0
- package/src/icons/rules/lucideMarkers.gen.ts +112 -0
- package/src/icons/rules/lucideUi.gen.ts +197 -0
- package/src/icons/rules/paint.ts +107 -0
- package/src/icons/rules/parse.ts +475 -0
- package/src/icons/rules/provider.ts +373 -0
- package/src/icons/rules/sprites.ts +54 -0
- package/src/icons/rules/ui.ts +348 -0
- package/src/icons/rules/waypoints.ts +215 -0
- package/src/index.ts +993 -0
- package/src/layers/engines/layersSelection.ts +515 -0
- package/src/layers/engines/readoutEngine.ts +131 -0
- package/src/layers/index.ts +151 -0
- package/src/layers/rules/analysis.ts +135 -0
- package/src/layers/rules/enrichment.ts +30 -0
- package/src/layers/rules/geoJson.ts +270 -0
- package/src/layers/rules/hover.ts +67 -0
- package/src/layers/rules/itineraries.ts +182 -0
- package/src/layers/rules/layersPanel.ts +237 -0
- package/src/layers/rules/order.ts +194 -0
- package/src/layers/rules/overlayInstant.ts +49 -0
- package/src/layers/rules/overlays.ts +52 -0
- package/src/layers/rules/poiPanel.ts +119 -0
- package/src/layers/rules/pois.ts +114 -0
- package/src/layers/rules/readout.ts +340 -0
- package/src/layers/rules/streetView.ts +16 -0
- package/src/layers/rules/tileTimestamp.ts +146 -0
- package/src/layers/rules/timeSlider.ts +192 -0
- package/src/layers/rules/timeWindow.ts +123 -0
- package/src/layers/rules/zones.ts +43 -0
- package/src/layers/rules/zoom.ts +77 -0
- package/src/map-client/index.ts +71 -0
- package/src/map-client/rules/mapClient.ts +1945 -0
- package/src/navigation/engines/navigation.ts +493 -0
- package/src/navigation/index.ts +51 -0
- package/src/navigation/rules/followedRoute.ts +78 -0
- package/src/navigation/rules/instructions.ts +89 -0
- package/src/navigation/rules/itineraryRoute.ts +232 -0
- package/src/navigation/rules/offRoute.ts +41 -0
- package/src/navigation/rules/progress.ts +230 -0
- package/src/navigation/rules/prompts.ts +217 -0
- package/src/navigation/rules/routeRequest.ts +98 -0
- package/src/navigation/rules/status.ts +142 -0
- package/src/navigation/rules/steps.ts +234 -0
- package/src/navigation/rules/types.ts +83 -0
- package/src/profile/index.ts +307 -0
- package/src/profile/rules/amenityBadge.ts +35 -0
- package/src/profile/rules/amenityFilter.ts +74 -0
- package/src/profile/rules/amenityStacks.ts +66 -0
- package/src/profile/rules/axis.ts +89 -0
- package/src/profile/rules/axisCulling.ts +83 -0
- package/src/profile/rules/axisLookup.ts +180 -0
- package/src/profile/rules/climbs.ts +292 -0
- package/src/profile/rules/cursorMarker.ts +122 -0
- package/src/profile/rules/cursorReadout.ts +104 -0
- package/src/profile/rules/curvePlacement.ts +216 -0
- package/src/profile/rules/dock.ts +293 -0
- package/src/profile/rules/elevation.ts +1263 -0
- package/src/profile/rules/instant.ts +89 -0
- package/src/profile/rules/intl.ts +237 -0
- package/src/profile/rules/legEmphasis.ts +53 -0
- package/src/profile/rules/profileColors.ts +66 -0
- package/src/profile/rules/profileLayout.ts +59 -0
- package/src/profile/rules/profileSlices.ts +55 -0
- package/src/profile/rules/routeProfile.ts +475 -0
- package/src/profile/rules/rowMatch.ts +50 -0
- package/src/profile/rules/scale.ts +646 -0
- package/src/profile/rules/scaleFrame.ts +171 -0
- package/src/profile/rules/sectionChips.ts +83 -0
- package/src/profile/rules/sections.ts +923 -0
- package/src/profile/rules/slopeRamp.ts +160 -0
- package/src/profile/rules/statStrip.ts +103 -0
- package/src/profile/rules/steepness.ts +51 -0
- package/src/profile/rules/tableCells.ts +269 -0
- package/src/profile/rules/tableCursor.ts +87 -0
- package/src/profile/rules/unitPatterns.ts +335 -0
- package/src/profile/rules/units.ts +1025 -0
- package/src/profile/rules/waypointCard.ts +590 -0
- package/src/profile/rules/webAddress.ts +130 -0
- package/src/profile/rules/windowSpans.ts +65 -0
- package/src/rules/asciiFold.ts +17 -0
- package/src/rules/inDevelopment.ts +54 -0
- package/src/rules/listeners.ts +62 -0
- package/src/rules/timers.ts +9 -0
- package/src/rules/types.ts +22 -0
- package/src/rules/uuid.ts +87 -0
- package/src/seams/engines/geolocateControl.ts +286 -0
- package/src/seams/index.ts +50 -0
- package/src/seams/rules/clock.ts +169 -0
- package/src/seams/rules/geolocation.ts +165 -0
- package/src/seams/rules/segmentRoute.ts +187 -0
- package/src/search/engines/search.ts +1093 -0
- package/src/search/index.ts +99 -0
- package/src/search/rules/describe.ts +383 -0
- package/src/search/rules/filters.ts +195 -0
- package/src/search/rules/highlight.ts +270 -0
- package/src/search/rules/pick.ts +90 -0
- package/src/search/rules/rows.ts +258 -0
- package/src/search/rules/searchFocus.ts +27 -0
- package/src/search/rules/searchViewport.ts +44 -0
- package/src/search/rules/shown.ts +77 -0
- package/src/search/rules/types.ts +340 -0
- package/src/stream/rules/reconnectSchedule.ts +83 -0
- package/src/style/engines/organizationRead.ts +80 -0
- package/src/style/index.ts +63 -0
- package/src/style/rules/apply.ts +268 -0
- package/src/style/rules/attribution.ts +119 -0
- package/src/style/rules/itineraryLine.ts +142 -0
- package/src/style/rules/language.ts +668 -0
- package/src/style/rules/layout.gen.ts +27 -0
- package/src/style/rules/organization.ts +96 -0
- package/src/style/rules/paint.ts +143 -0
- package/src/style/rules/panelLayout.ts +51 -0
- package/src/style/rules/roadAccessColors.ts +29 -0
- package/src/style/rules/roadAccessLine.ts +267 -0
- package/src/style/rules/segmentColors.ts +207 -0
- package/src/testing/catalogs.ts +103 -0
- package/src/testing/index.ts +30 -0
- package/src/testing/mapClient.ts +241 -0
- package/src/testing/mountayaMap.ts +741 -0
- package/src/timezone/index.ts +14 -0
- package/src/timezone/rules/viewport.ts +875 -0
- package/src/units/index.ts +55 -0
- package/src/units/rules/conversions.ts +620 -0
- package/src/units/rules/preferenceChoices.ts +124 -0
- package/src/units/rules/preferences.ts +77 -0
- package/src/units/rules/rounding.ts +69 -0
- package/src/video/engines/videoRun.ts +654 -0
- package/src/video/engines/viewClient.ts +6 -0
- package/src/video/index.ts +83 -0
- package/src/video/profileOverlay/rules/contract.ts +210 -0
- package/src/video/profileOverlay/rules/curve.ts +216 -0
- package/src/video/profileOverlay/rules/draw.ts +410 -0
- package/src/video/profileOverlay/rules/fonts.ts +54 -0
- package/src/video/profileOverlay/rules/graphDesign.ts +690 -0
- package/src/video/profileOverlay/rules/minimalDesign.ts +144 -0
- package/src/video/profileOverlay/rules/registry.ts +23 -0
- package/src/video/profileOverlay/rules/staticLayer.ts +582 -0
- package/src/video/profileOverlay/rules/stripDesign.ts +327 -0
- package/src/video/profileOverlay/rules/types.ts +78 -0
- package/src/video/rules/videoConstants.ts +250 -0
- package/src/video/rules/videoEncoder.ts +277 -0
- package/src/video/rules/videoFrames.ts +99 -0
- package/src/video/rules/videoPreview.ts +185 -0
- package/src/video/rules/videoRecorder.ts +746 -0
- package/src/video/rules/videoWatermark.ts +155 -0
- package/src/video/rules/watermarkMark.ts +40 -0
- package/src/view/engines/viewClient.ts +6 -0
- package/src/view/index.ts +20 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
const CAMERA_BEARING_MODES = [
|
|
2
|
+
"follow",
|
|
3
|
+
"locked",
|
|
4
|
+
"value"
|
|
5
|
+
];
|
|
6
|
+
const CAMERA_MODES = [
|
|
7
|
+
"smart",
|
|
8
|
+
"cinematic",
|
|
9
|
+
"drone",
|
|
10
|
+
"helicopter",
|
|
11
|
+
"chase",
|
|
12
|
+
"overview",
|
|
13
|
+
"director"
|
|
14
|
+
];
|
|
15
|
+
const CAMERA_OUTPUT_FORMATS = [
|
|
16
|
+
"mp4",
|
|
17
|
+
"webm-vp9",
|
|
18
|
+
"webm-vp8"
|
|
19
|
+
];
|
|
20
|
+
const CAMERA_RESOLUTIONS = [
|
|
21
|
+
"720p",
|
|
22
|
+
"1080p",
|
|
23
|
+
"1440p",
|
|
24
|
+
"2160p"
|
|
25
|
+
];
|
|
26
|
+
const CAMERA_FPS = [
|
|
27
|
+
24,
|
|
28
|
+
30,
|
|
29
|
+
60
|
|
30
|
+
];
|
|
31
|
+
const CAMERA_ASPECTS = [
|
|
32
|
+
"16:9",
|
|
33
|
+
"9:16",
|
|
34
|
+
"1:1"
|
|
35
|
+
];
|
|
36
|
+
const VIDEO_PRESETS_AVAILABLE = [
|
|
37
|
+
"vertical",
|
|
38
|
+
"widescreen",
|
|
39
|
+
"square",
|
|
40
|
+
"custom"
|
|
41
|
+
];
|
|
42
|
+
const QUALITY_TIERS = [
|
|
43
|
+
"low",
|
|
44
|
+
"medium",
|
|
45
|
+
"high"
|
|
46
|
+
];
|
|
47
|
+
const PROFILE_DESIGNS = [
|
|
48
|
+
"graph",
|
|
49
|
+
"strip",
|
|
50
|
+
"minimal"
|
|
51
|
+
];
|
|
52
|
+
const VIDEO_RECORDING_PHASES = [
|
|
53
|
+
"preparing",
|
|
54
|
+
"recording",
|
|
55
|
+
"encoding"
|
|
56
|
+
];
|
|
57
|
+
export { CAMERA_OUTPUT_FORMATS as a, QUALITY_TIERS as c, CAMERA_MODES as i, VIDEO_PRESETS_AVAILABLE as l, CAMERA_BEARING_MODES as n, CAMERA_RESOLUTIONS as o, CAMERA_FPS as r, PROFILE_DESIGNS as s, CAMERA_ASPECTS as t, VIDEO_RECORDING_PHASES as u };
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=chunk-C-IlmkDl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk-C-IlmkDl.js","names":[],"sources":["../src/camera/rules/vocabulary.ts"],"mappings":"AAuBA,MAAa,uBAAuB;CAAC;CAAU;CAAU;AAAO;AAahE,MAAa,eAAe;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAUA,MAAa,wBAAwB;CAAC;CAAO;CAAY;AAAU;AAMnE,MAAa,qBAAqB;CAAC;CAAQ;CAAS;CAAS;AAAO;AAYpE,MAAa,aAAa;CAAC;CAAI;CAAI;AAAE;AAWrC,MAAa,iBAAiB;CAAC;CAAQ;CAAQ;AAAK;AAYpD,MAAa,0BAA0B;CAAC;CAAY;CAAc;CAAU;AAAQ;AASpF,MAAa,gBAAgB;CAAC;CAAO;CAAU;AAAM;AAMrD,MAAa,kBAAkB;CAAC;CAAS;CAAS;AAAS;AAgB3D,MAAa,yBAAyB;CAAC;CAAa;CAAa;AAAU"}
|
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import { n as RoadAccessKind } from "./chunk-Dr5MCIpS.js";
|
|
2
|
+
import { i as TileSpecification } from "./chunk-bYf1sBz5.js";
|
|
3
|
+
import { t as MapPaint } from "./chunk-CQQhcP_C.js";
|
|
4
|
+
import { AddLayerObject, ExpressionSpecification, LineLayerSpecification, Map, SourceSpecification, StyleSpecification } from "maplibre-gl";
|
|
5
|
+
import { Mountaya, Organization } from "@mountaya/client";
|
|
6
|
+
/**
|
|
7
|
+
* OrganizationReadEngine reads the organization a publishable key belongs to, once per key and Map
|
|
8
|
+
* Studio API origin for as long as the process lives, and shares the read with every map whose
|
|
9
|
+
* client holds that key and sends to that origin: a staging client never shares an answer with a
|
|
10
|
+
* production one under the same key.
|
|
11
|
+
*
|
|
12
|
+
* A read in flight is waited on rather than sent again, and an answer is kept. A read that fails
|
|
13
|
+
* is kept by nobody, so every load waiting on it fails and the next one asks again; a read that
|
|
14
|
+
* reaches the transport's own time budget fails as any read does. The read is
|
|
15
|
+
* `postOrganizationLookup`, the core's operation, the key in its body and no credential sent.
|
|
16
|
+
*/
|
|
17
|
+
declare class OrganizationReadEngine {
|
|
18
|
+
/** The one engine of the process, which every map reads through. */
|
|
19
|
+
static readonly shared: OrganizationReadEngine;
|
|
20
|
+
/** The organization each key belongs to at each origin, once its read answered. */
|
|
21
|
+
private readonly answers;
|
|
22
|
+
/** The read in flight for each key at each origin. */
|
|
23
|
+
private readonly reads;
|
|
24
|
+
/**
|
|
25
|
+
* read answers the organization a key belongs to: the one held, the read in flight, or a read
|
|
26
|
+
* sent now.
|
|
27
|
+
*
|
|
28
|
+
* @param client The client the read is sent through.
|
|
29
|
+
* @param publishableKey The key whose organization is read.
|
|
30
|
+
* @returns The organization, or a rejection carrying the read's failure.
|
|
31
|
+
*/
|
|
32
|
+
read(client: Pick<Mountaya, "studio" | "transport">, publishableKey: string): Promise<Organization>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The subset of the MapLibre map this module touches.
|
|
36
|
+
*
|
|
37
|
+
* Picked from MapLibre's own `Map` rather than declared structurally. A hand-written
|
|
38
|
+
* structural interface would look more decoupled and is not: MapLibre's specification types
|
|
39
|
+
* are interfaces, so they carry no implicit index signature and a `Record<string, unknown>`
|
|
40
|
+
* is assignable to them in neither direction, so the "decoupled" version does not accept a
|
|
41
|
+
* real map. This package is named for MapLibre; typing against it is honest.
|
|
42
|
+
*/
|
|
43
|
+
type StyleTarget = Pick<Map, "addSource" | "removeSource" | "getSource" | "addLayer" | "removeLayer" | "getLayer">;
|
|
44
|
+
/**
|
|
45
|
+
* tileSourceSpec builds the object for `map.addSource()` from one specification entry.
|
|
46
|
+
*
|
|
47
|
+
* Exported for a caller adding sources to a map on its own schedule: a synchronous
|
|
48
|
+
* add-and-assert path, or one that must interleave its own work between the source and the
|
|
49
|
+
* layers. `applySpecification` is the same translation with the loop and the idempotence.
|
|
50
|
+
*
|
|
51
|
+
* A source of every kind states its tiles, its zoom range and, where the wire holds one, its
|
|
52
|
+
* attribution. A `raster` and a `raster-dem` source also state the wire's `size` as MapLibre's
|
|
53
|
+
* `tileSize`, and a `vector` source states none.
|
|
54
|
+
*
|
|
55
|
+
* @throws {MountayaElementsError} For a kind the contract does not declare, which a newer
|
|
56
|
+
* version of the Tile API may add: read as one this package knows, its tiles would be fetched
|
|
57
|
+
* and decoded as what they are not, with nothing reported.
|
|
58
|
+
*/
|
|
59
|
+
declare const tileSourceSpec: (source: TileSpecification["sources"][number]) => SourceSpecification;
|
|
60
|
+
/**
|
|
61
|
+
* tileLayerSpec builds the object for `map.addLayer()` from one render-layer.
|
|
62
|
+
*
|
|
63
|
+
* Exported alongside {@link tileSourceSpec}, and `hidden` is optional here because a caller
|
|
64
|
+
* placing layers itself usually has no visibility state to express.
|
|
65
|
+
*/
|
|
66
|
+
declare const tileLayerSpec: (layer: TileSpecification["sources"][number]["layers"][number], sourceId: string, hidden?: boolean) => AddLayerObject;
|
|
67
|
+
/** One render-layer of a specification, as the wire declares it. */
|
|
68
|
+
type SpecificationLayer = TileSpecification["sources"][number]["layers"][number];
|
|
69
|
+
/** Where {@link applySpecification} inserts each layer, and which layers it adds hidden. */
|
|
70
|
+
interface ApplySpecificationOptions {
|
|
71
|
+
/** A fixed insertion anchor for every layer. */
|
|
72
|
+
readonly before?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Resolves the insertion anchor per layer, overriding `before`.
|
|
75
|
+
*
|
|
76
|
+
* This is what `MountayaMap` passes to place each layer at its `LayerRank` instead of at
|
|
77
|
+
* the end of the style. It runs immediately BEFORE the layer is added, so a caller
|
|
78
|
+
* maintaining a registry of what it has placed can record this layer from inside the
|
|
79
|
+
* callback: the layer is not in the live style yet, so it cannot anchor against itself.
|
|
80
|
+
*/
|
|
81
|
+
readonly anchorFor?: ((layer: SpecificationLayer) => string | undefined) | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Layer ids to add with `visibility: "none"` baked into their layout.
|
|
84
|
+
*
|
|
85
|
+
* For a caller holding visibility as intent rather than reading it back off the style,
|
|
86
|
+
* which is the only way to hold it, since a style swap wipes the layers the answer lives
|
|
87
|
+
* on. Passing the set here rather than correcting the layers afterwards is what makes a
|
|
88
|
+
* layer that mounts into an already-decided state never paint a frame of the other one.
|
|
89
|
+
*/
|
|
90
|
+
readonly hidden?: ReadonlySet<string> | undefined;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* applySpecification registers every source and layer of a specification on a map.
|
|
94
|
+
*
|
|
95
|
+
* Idempotent: an id already present is left alone rather than re-added, so calling this
|
|
96
|
+
* twice, which happens whenever a style reload races a specification fetch, is safe.
|
|
97
|
+
*
|
|
98
|
+
* @param map The map, or any object holding the methods {@link StyleTarget} picks.
|
|
99
|
+
* @param specification The specification the Tile API answered.
|
|
100
|
+
* @param options Where each layer is inserted, and which layers are added hidden.
|
|
101
|
+
* @returns Every source and layer id of the specification, those already on the map included,
|
|
102
|
+
* which is what {@link removeSpecification} removes.
|
|
103
|
+
* @throws {MountayaElementsError} For a source of a kind the contract does not declare, as
|
|
104
|
+
* {@link tileSourceSpec} throws, before anything of the specification is added.
|
|
105
|
+
*/
|
|
106
|
+
declare const applySpecification: (map: StyleTarget, specification: TileSpecification, options?: ApplySpecificationOptions) => {
|
|
107
|
+
readonly sourceIds: string[];
|
|
108
|
+
readonly layerIds: string[];
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* removeSpecification unregisters what applySpecification registered.
|
|
112
|
+
*
|
|
113
|
+
* Layers first, then sources. MapLibre refuses to remove a source that still has layers
|
|
114
|
+
* attached, and the error names the source rather than the layer holding it, which sends
|
|
115
|
+
* people looking in the wrong place.
|
|
116
|
+
*/
|
|
117
|
+
declare const removeSpecification: (map: StyleTarget, registered: {
|
|
118
|
+
readonly sourceIds: readonly string[];
|
|
119
|
+
readonly layerIds: readonly string[];
|
|
120
|
+
}) => void;
|
|
121
|
+
/**
|
|
122
|
+
* BASEMAP_ATTRIBUTION is the credit shown when nothing else carries one.
|
|
123
|
+
*
|
|
124
|
+
* Terrain variant tiles have no `attribution` field, so a map showing only a base map would
|
|
125
|
+
* otherwise credit nobody, and an empty attribution control is the one state the licences
|
|
126
|
+
* do not allow. HTML, so the renderer turns it into a real link.
|
|
127
|
+
*
|
|
128
|
+
* The `©` entity is load-bearing and must not be "simplified" to a literal ©. Every
|
|
129
|
+
* Mountaya-owned tile source carries this exact string from the tile API, and the renderer's
|
|
130
|
+
* attribution control removes duplicates by comparing the strings it was handed, before any
|
|
131
|
+
* of them is parsed as HTML. Two spellings of one credit are two different strings there, and
|
|
132
|
+
* both survive: the control reads "© Mountaya | © Mountaya". Pinned byte-for-byte to the
|
|
133
|
+
* credit the tile API writes on every Mountaya source.
|
|
134
|
+
*/
|
|
135
|
+
declare const BASEMAP_ATTRIBUTION = "<a href=\"https://mountaya.com/\" target=\"_blank\">© Mountaya</a>";
|
|
136
|
+
/**
|
|
137
|
+
* What every itinerary line layer needs to know, whichever treatment it takes.
|
|
138
|
+
*
|
|
139
|
+
* `color` accepts an expression as well as a literal because two of the four callers paint
|
|
140
|
+
* from a feature property: a source carrying several itineraries needs one layer, not one layer
|
|
141
|
+
* per colour.
|
|
142
|
+
*/
|
|
143
|
+
interface ItineraryLineOptions {
|
|
144
|
+
readonly id: string;
|
|
145
|
+
readonly source: string;
|
|
146
|
+
readonly color: string | ExpressionSpecification;
|
|
147
|
+
/** Narrows the layer to part of the source, for a source holding more than one treatment. */
|
|
148
|
+
readonly filter?: ExpressionSpecification | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* The resolved palette the widths, the dash and the casing are read from.
|
|
151
|
+
*
|
|
152
|
+
* Defaults to {@link defaultMapPaint}, so a caller assembling one layer by hand gets exactly
|
|
153
|
+
* what the Tile API's tiles draw. A `MountayaMap` resolves its consumer's patch ONCE at
|
|
154
|
+
* construction and hands the result down, which is why this takes a resolved `MapPaint` and not
|
|
155
|
+
* a partial: folding the same patch at each of the four call sites would be four chances for
|
|
156
|
+
* one of them to be handed a different one.
|
|
157
|
+
*/
|
|
158
|
+
readonly paint?: MapPaint | undefined;
|
|
159
|
+
/** The vector source-layer, for a line drawn from tiles rather than from GeoJSON. */
|
|
160
|
+
readonly sourceLayer?: string | undefined;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* zoomInterpolatedWidth turns a flat `[zoom, width, …]` table into the MapLibre expression a
|
|
164
|
+
* `line-width` takes.
|
|
165
|
+
*
|
|
166
|
+
* A fresh mutable array every call, deliberately: the stop tables are `as const`, and
|
|
167
|
+
* MapLibre's expression types are not readonly.
|
|
168
|
+
*/
|
|
169
|
+
declare const zoomInterpolatedWidth: (stops: readonly number[]) => ExpressionSpecification;
|
|
170
|
+
/**
|
|
171
|
+
* itineraryLineSpec is the solid stroke: the shared zoom-interpolated width, round caps and
|
|
172
|
+
* joins, and the colour the caller names.
|
|
173
|
+
*/
|
|
174
|
+
declare const itineraryLineSpec: (options: ItineraryLineOptions) => LineLayerSpecification;
|
|
175
|
+
/**
|
|
176
|
+
* itineraryDashedLineSpec is the provisional stroke: a suggested alternative, an unchosen
|
|
177
|
+
* candidate, a draft not yet confirmed. Same width and caps as the solid one, muted and
|
|
178
|
+
* dashed so it reads as secondary without reading as a different kind of thing.
|
|
179
|
+
*
|
|
180
|
+
* It is a separate layer rather than a data-driven dash, so every line keeps the dash its tiles
|
|
181
|
+
* were parsed with (the reason `OverlayRenderer.drawEditGhost` gives in full).
|
|
182
|
+
*/
|
|
183
|
+
declare const itineraryDashedLineSpec: (options: ItineraryLineOptions) => LineLayerSpecification;
|
|
184
|
+
/**
|
|
185
|
+
* itineraryCasingSpec is the white halo that goes UNDER the stroke, which is what keeps an
|
|
186
|
+
* itinerary legible over a dark hillshade or a busy overlay.
|
|
187
|
+
*
|
|
188
|
+
* Add it before the line: same-rank layers stack in add order.
|
|
189
|
+
*/
|
|
190
|
+
declare const itineraryCasingSpec: (options: Omit<ItineraryLineOptions, "color">) => LineLayerSpecification;
|
|
191
|
+
/**
|
|
192
|
+
* Where a map's read of its organization stands: answered, waiting, failed, past the transport's
|
|
193
|
+
* own time budget, or never made, for a client holding no publishable key.
|
|
194
|
+
*/
|
|
195
|
+
type OrganizationReadState = "answered" | "failed" | "no-key" | "timed-out" | "waiting";
|
|
196
|
+
/** The browser document a map is drawn in: its serialized origin, and whether no frame holds it. */
|
|
197
|
+
interface WatermarkPage {
|
|
198
|
+
readonly origin: string;
|
|
199
|
+
readonly topLevel: boolean;
|
|
200
|
+
}
|
|
201
|
+
/** The watermark a map draws: its drawing, its frame from the map's top-left corner, its link. */
|
|
202
|
+
interface WatermarkPlacement {
|
|
203
|
+
readonly drawing: "watermark";
|
|
204
|
+
readonly frame: {
|
|
205
|
+
readonly height: number;
|
|
206
|
+
readonly width: number;
|
|
207
|
+
readonly x: number;
|
|
208
|
+
readonly y: number;
|
|
209
|
+
};
|
|
210
|
+
readonly href: string;
|
|
211
|
+
/** The word of the elements' copy the mark is labelled by for assistive technology. */
|
|
212
|
+
readonly label: "watermark.label";
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* organizationWatermark answers whether a map draws the Mountaya watermark, and where.
|
|
216
|
+
*
|
|
217
|
+
* While the read of the map's organization is waiting, no mark; once it answers, the mark unless
|
|
218
|
+
* `white_label` is true. A read that failed or reached the transport's time budget draws it, and
|
|
219
|
+
* so does a client holding no publishable key, which reads nothing. One other case omits it: a
|
|
220
|
+
* top-level browser page on one of Mountaya's own origins. Nothing else does, and no element
|
|
221
|
+
* offers a way to.
|
|
222
|
+
*
|
|
223
|
+
* @param read Where the read of the organization stands.
|
|
224
|
+
* @param whiteLabel The organization's `white_label`, read where the read answered.
|
|
225
|
+
* @param language The language the elements' words are in.
|
|
226
|
+
* @param page The browser document the map is drawn in, or `null` outside a browser.
|
|
227
|
+
* @returns The mark's placement, or `null` where none is drawn.
|
|
228
|
+
*/
|
|
229
|
+
declare const organizationWatermark: (read: OrganizationReadState, whiteLabel: boolean | undefined, language: string, page: WatermarkPage | null) => WatermarkPlacement | null;
|
|
230
|
+
/** Where a panel stands over its map, in logical pixels. */
|
|
231
|
+
interface PanelFrame {
|
|
232
|
+
/** The map's width. */
|
|
233
|
+
readonly mapWidth: number;
|
|
234
|
+
/** The map's height. */
|
|
235
|
+
readonly mapHeight: number;
|
|
236
|
+
/** The distance from the map's top edge to the panel's, which follows the controls it opens beside. */
|
|
237
|
+
readonly topInset: number;
|
|
238
|
+
}
|
|
239
|
+
/** A panel's layout. */
|
|
240
|
+
interface PanelLayout {
|
|
241
|
+
/** The panel's width, or `null` where it fills the width its corner leaves. */
|
|
242
|
+
readonly width: number | null;
|
|
243
|
+
/** Whether the panel fills the width its corner leaves, as it does on a narrow map. */
|
|
244
|
+
readonly fill: boolean;
|
|
245
|
+
/** The greatest height the panel grows to before its body scrolls under its title. */
|
|
246
|
+
readonly maxHeight: number;
|
|
247
|
+
/** The height of a layer card's picture. */
|
|
248
|
+
readonly pictureHeight: number;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* panelLayout answers how a panel the controls open is laid out: 340 wide, or filling the width
|
|
252
|
+
* its corner leaves on a map no wider than 576; its height capped at the map's less its top inset,
|
|
253
|
+
* and on that narrow map less 16 more, the room the embed keeps under it there, never below 0; and
|
|
254
|
+
* a layer card's picture 52 tall, 40 on the narrow map. Every measure is `layout` of the contract's
|
|
255
|
+
* tokens table.
|
|
256
|
+
*
|
|
257
|
+
* @param frame The map's size and the panel's top inset.
|
|
258
|
+
* @returns The panel's layout.
|
|
259
|
+
*/
|
|
260
|
+
declare const panelLayout: ({ mapHeight, mapWidth, topInset }: PanelFrame) => PanelLayout;
|
|
261
|
+
/**
|
|
262
|
+
* roadAccessColors is the colour each kind of restricted stretch is drawn in: its stripes and
|
|
263
|
+
* the disc of its icon.
|
|
264
|
+
*
|
|
265
|
+
* Typed against the kind vocabulary, so a kind the vocabulary gains is a missing key here rather
|
|
266
|
+
* than a stretch drawn in no colour.
|
|
267
|
+
*/
|
|
268
|
+
declare const roadAccessColors: Readonly<Record<RoadAccessKind, string>>;
|
|
269
|
+
/**
|
|
270
|
+
* roadAccessGlyph names the glyph a kind's warning icon carries: `road-access-` followed by the
|
|
271
|
+
* kind, the marker vocabulary's name for it, so no renderer spells the kind twice.
|
|
272
|
+
*/
|
|
273
|
+
declare const roadAccessGlyph: (kind: RoadAccessKind) => string;
|
|
274
|
+
/**
|
|
275
|
+
* The colors a segment is drawn in, and the rules that choose them.
|
|
276
|
+
*
|
|
277
|
+
* They live in the rendering family because they are a function of their inputs and nothing
|
|
278
|
+
* else: a palette, a position, a set of colors already taken. A consumer drawing their own
|
|
279
|
+
* GeoJSON (no store, no bus, no tool context) and picking colors for a chain they assembled
|
|
280
|
+
* themselves gets the same hues Mountaya's own studio picks, which is the whole point of the
|
|
281
|
+
* rendering family having rules of its own.
|
|
282
|
+
*
|
|
283
|
+
* Each of the three assigners takes an optional PALETTE, defaulting to `LIVELY_PALETTE`. That
|
|
284
|
+
* parameter is what `MapPaint.segments.palette` is for: a brand with twelve hues of its own
|
|
285
|
+
* replaces the wheel and still gets these rules, rather than reimplementing "distinct from the
|
|
286
|
+
* previous one", "stable per position" and "maximally spread" against their own colours. The
|
|
287
|
+
* default keeps a call that states no palette a one-argument call.
|
|
288
|
+
*
|
|
289
|
+
* The zod validator over them, `hexColorSchema`, is `@mountaya/studio`'s. That is the rule
|
|
290
|
+
* rather than an accident of this file: vocabulary crosses down as values and types, and zod
|
|
291
|
+
* never does. A renderer-free entry that pulled in a schema library would hand every consumer
|
|
292
|
+
* of `./style` a validation runtime to draw a line with.
|
|
293
|
+
*/
|
|
294
|
+
/**
|
|
295
|
+
* LIVELY_PALETTE is the set of vivid segment colors a new segment is auto-assigned
|
|
296
|
+
* from: twelve mid-saturation hues stepping once around the wheel (red, pink, grape,
|
|
297
|
+
* violet, indigo, blue, cyan, teal, green, lime, yellow, orange), so consecutive picks
|
|
298
|
+
* are easy to tell apart against a base map.
|
|
299
|
+
*
|
|
300
|
+
* They stay raw hex literals rather than CSS custom properties, and that is a
|
|
301
|
+
* constraint rather than a preference: a chosen color is persisted and painted by
|
|
302
|
+
* MapLibre, and paint expressions do not resolve CSS variables. A palette spelled in
|
|
303
|
+
* `var(--…)` would render as nothing on the map while looking correct in the swatch.
|
|
304
|
+
*/
|
|
305
|
+
declare const LIVELY_PALETTE: readonly ["#fa5252", "#e64980", "#be4bdb", "#7950f2", "#4c6ef5", "#228be6", "#15aabf", "#12b886", "#40c057", "#82c91e", "#fab005", "#fd7e14"];
|
|
306
|
+
/**
|
|
307
|
+
* DEFAULT_SEGMENT_COLOR is the neutral color a segment is drawn in when it carries
|
|
308
|
+
* none of its own (color null = the activity's default, which a list does not
|
|
309
|
+
* resolve). It sits beside the palette rather than at either call site because both
|
|
310
|
+
* begin-edit assemblers (the persisted chain's and the import draft's) must open an
|
|
311
|
+
* edit in the color the row is already showing, and two literals is one drift away
|
|
312
|
+
* from an edit that changes color the moment it opens.
|
|
313
|
+
*
|
|
314
|
+
* It stays a raw hex literal for the same reason the palette does: it feeds the map
|
|
315
|
+
* edit render, where MapLibre paint expressions do not resolve CSS custom properties.
|
|
316
|
+
*/
|
|
317
|
+
declare const DEFAULT_SEGMENT_COLOR = "#868e96";
|
|
318
|
+
/**
|
|
319
|
+
* pickLivelyColor returns a random vivid color for a new segment, never equal to
|
|
320
|
+
* the previous segment's color so an appended segment is visually distinct from
|
|
321
|
+
* the one it continues. The comparison is case-insensitive so a stored color set
|
|
322
|
+
* by a picker (which may upper- or lower-case the hex) still excludes its own
|
|
323
|
+
* swatch. With a palette far larger than two, a uniform pick over the remaining
|
|
324
|
+
* colors stays well-distributed.
|
|
325
|
+
*
|
|
326
|
+
* `random` is the SEAM, and it is the third parameter rather than a reach for `Math.random`
|
|
327
|
+
* because this is a rule rather than an effect. Every other function in this module is a
|
|
328
|
+
* function of its arguments, and a hidden draw would make this one read as deterministic while
|
|
329
|
+
* it is not, so a suite could only assert the shape of what it returned and a second language
|
|
330
|
+
* could only reproduce the distribution rather than the answer. Defaulted, so a human appending
|
|
331
|
+
* a segment one at a time still gets a draw.
|
|
332
|
+
*
|
|
333
|
+
* The answer is always a color of the palette given, whatever the draw: one at or past 1 reads
|
|
334
|
+
* the pool's last color, and one under 0 or that is no number its first. A palette that lists
|
|
335
|
+
* no color is read as {@link LIVELY_PALETTE}.
|
|
336
|
+
*
|
|
337
|
+
* @param previousColor The color of the segment the new one continues, or nothing.
|
|
338
|
+
* @param palette The wheel to pick from.
|
|
339
|
+
* @param random Draws a number in `[0, 1)`.
|
|
340
|
+
* @default palette {@link LIVELY_PALETTE}
|
|
341
|
+
* @default random `Math.random`
|
|
342
|
+
*/
|
|
343
|
+
declare const pickLivelyColor: (previousColor?: string | null, palette?: readonly string[], random?: () => number) => string;
|
|
344
|
+
/**
|
|
345
|
+
* segmentColorAt returns the palette color for a segment at a given 0-based
|
|
346
|
+
* position, wrapping the palette once the position exceeds its length. It is the
|
|
347
|
+
* deterministic counterpart to pickLivelyColor: where a human appending a segment
|
|
348
|
+
* one at a time wants a color distinct from its predecessor (a random draw), a
|
|
349
|
+
* batch projection that materialises a whole ordered list at once (an imported
|
|
350
|
+
* draft) wants each position to map to a stable swatch, so the same source
|
|
351
|
+
* always colors the same way and the positional `Segment #N` labels read against
|
|
352
|
+
* an even spread of hues. The palette spans the wheel, so adjacent positions stay
|
|
353
|
+
* easy to tell apart.
|
|
354
|
+
*
|
|
355
|
+
* The answer is always a color of the palette given: a position before the first wraps back
|
|
356
|
+
* from the last, a fraction reads the position it is past, and a number that is none reads the
|
|
357
|
+
* first. A palette that lists no color is read as {@link LIVELY_PALETTE}.
|
|
358
|
+
*
|
|
359
|
+
* @param index The segment's 0-based position.
|
|
360
|
+
* @param palette The wheel to read.
|
|
361
|
+
* @default palette {@link LIVELY_PALETTE}
|
|
362
|
+
*/
|
|
363
|
+
declare const segmentColorAt: (index: number, palette?: readonly string[]) => string;
|
|
364
|
+
/**
|
|
365
|
+
* assignDistinctColors returns `count` colors of the palette given for a batch of items
|
|
366
|
+
* shown side by side (the fresh suggestion candidates), each distinct from the
|
|
367
|
+
* others and from every `reserved` color, spread as widely across the hue wheel as
|
|
368
|
+
* the remaining palette allows. It is deterministic (no random draw), so a
|
|
369
|
+
* regenerate that keeps some candidates and refills the rest assigns the fresh
|
|
370
|
+
* colors stably (the same reserved set always yields the same fresh colors), which
|
|
371
|
+
* keeps the result testable and the rows from reshuffling color on every batch.
|
|
372
|
+
*
|
|
373
|
+
* The palette is already ordered around the wheel, so "maximally spread" reduces to
|
|
374
|
+
* picking evenly-strided entries from the colors still available (the palette minus
|
|
375
|
+
* the reserved ones, in palette order): an even stride over a wheel-ordered list
|
|
376
|
+
* maximizes the angular gap between consecutive picks. When more colors are asked
|
|
377
|
+
* for than remain available, the available colors are reused in order (the wheel
|
|
378
|
+
* wraps), so the function is total (it always returns exactly `count` entries)
|
|
379
|
+
* rather than running short. A non-positive `count` returns an empty list. Every color is one
|
|
380
|
+
* of the palette given, and a palette that lists none is read as {@link LIVELY_PALETTE}.
|
|
381
|
+
*
|
|
382
|
+
* @param count How many colors to answer.
|
|
383
|
+
* @param reserved The colors already shown, which the answer avoids while the palette allows.
|
|
384
|
+
* @param palette The wheel to pick from.
|
|
385
|
+
* @default palette {@link LIVELY_PALETTE}
|
|
386
|
+
*/
|
|
387
|
+
declare const assignDistinctColors: (count: number, reserved: readonly string[], palette?: readonly string[]) => string[];
|
|
388
|
+
export { applySpecification as C, OrganizationReadEngine as D, tileSourceSpec as E, StyleTarget as S, tileLayerSpec as T, itineraryDashedLineSpec as _, segmentColorAt as a, BASEMAP_ATTRIBUTION as b, PanelFrame as c, OrganizationReadState as d, WatermarkPage as f, itineraryCasingSpec as g, ItineraryLineOptions as h, pickLivelyColor as i, PanelLayout as l, organizationWatermark as m, LIVELY_PALETTE as n, roadAccessColors as o, WatermarkPlacement as p, assignDistinctColors as r, roadAccessGlyph as s, DEFAULT_SEGMENT_COLOR as t, panelLayout as u, itineraryLineSpec as v, removeSpecification as w, ApplySpecificationOptions as x, zoomInterpolatedWidth as y };
|
|
389
|
+
//# sourceMappingURL=chunk-C5PtVewq.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as MAX_TIMER_MS } from "./chunk-DLjS0uaC.js";
|
|
2
|
+
const RETRY_AFTER_DRAW_MS = 1e3;
|
|
3
|
+
const reconnectDelayMs = (failures, schedule, random = Math.random) => Math.round(random() * Math.min(schedule.baseMs * 2 ** (failures - 1), schedule.maxMs));
|
|
4
|
+
const retryAfterDelayMs = (namedMs, random = Math.random) => Math.min(namedMs + Math.round(random() * RETRY_AFTER_DRAW_MS), MAX_TIMER_MS);
|
|
5
|
+
const statusOf = (error) => {
|
|
6
|
+
if (typeof error !== "object" || error === null || !("status" in error)) return;
|
|
7
|
+
const status = error.status;
|
|
8
|
+
return typeof status === "number" ? status : void 0;
|
|
9
|
+
};
|
|
10
|
+
const WAIT_NAMING_STATUSES = [429, 503];
|
|
11
|
+
const retryAfterMsOf = (error) => {
|
|
12
|
+
const status = statusOf(error);
|
|
13
|
+
if (status === void 0 || !WAIT_NAMING_STATUSES.includes(status) || typeof error !== "object" || error === null) return;
|
|
14
|
+
const seconds = "retryAfter" in error ? error.retryAfter : void 0;
|
|
15
|
+
return typeof seconds === "number" && Number.isFinite(seconds) && seconds >= 0 ? seconds * 1e3 : void 0;
|
|
16
|
+
};
|
|
17
|
+
export { retryAfterDelayMs as i, statusOf as n, reconnectDelayMs as r, retryAfterMsOf as t };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=chunk-C5dpC7mQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk-C5dpC7mQ.js","names":[],"sources":["../src/stream/rules/reconnectSchedule.ts","../src/agent/rules/errorStatus.ts"],"mappings":";AAoBA,MAAM,sBAAsB;AAiC5B,MAAa,oBACX,UACA,UACA,SAAuB,KAAK,WACjB,KAAK,MAAM,OAAO,IAAI,KAAK,IAAI,SAAS,SAAS,MAAM,WAAW,IAAI,SAAS,KAAK,CAAC;AAwBlG,MAAa,qBAAqB,SAAiB,SAAuB,KAAK,WAC7E,KAAK,IAAI,UAAU,KAAK,MAAM,OAAO,IAAI,mBAAmB,GAAG,YAAY;ACjE7E,MAAa,YAAY,UAAuC;CAC9D,IAAI,OAAO,UAAU,YAAY,UAAU,QAAQ,EAAE,YAAY,QAC/D;CAGF,MAAM,SAAkB,MAAM;CAE9B,OAAO,OAAO,WAAW,WAAW,SAAS,KAAA;AAC/C;AAOA,MAAM,uBAA0C,CAAC,KAAK,GAAG;AAgBzD,MAAa,kBAAkB,UAAuC;CACpE,MAAM,SAAS,SAAS,KAAK;CAC7B,IACE,WAAW,KAAA,KACX,CAAC,qBAAqB,SAAS,MAAM,KACrC,OAAO,UAAU,YACjB,UAAU,MAEV;CAGF,MAAM,UAAmB,gBAAgB,QAAQ,MAAM,aAAa,KAAA;CAEpE,OAAO,OAAO,YAAY,YAAY,OAAO,SAAS,OAAO,KAAK,WAAW,IACzE,UAAU,MACV,KAAA;AACN"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const CACHE_LIMIT = 64;
|
|
2
|
+
const cache = /* @__PURE__ */ new Map();
|
|
3
|
+
const resolve = (key, build) => {
|
|
4
|
+
const cached = cache.get(key);
|
|
5
|
+
if (cached !== void 0) return cached;
|
|
6
|
+
if (cache.size >= CACHE_LIMIT) cache.clear();
|
|
7
|
+
const created = build();
|
|
8
|
+
cache.set(key, created);
|
|
9
|
+
return created;
|
|
10
|
+
};
|
|
11
|
+
const FALLBACK_LOCALE = "en";
|
|
12
|
+
const isLanguageTag = (tag) => {
|
|
13
|
+
try {
|
|
14
|
+
Intl.getCanonicalLocales(tag);
|
|
15
|
+
return true;
|
|
16
|
+
} catch {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const localeFor = (locale) => {
|
|
21
|
+
if (isLanguageTag(locale)) return locale;
|
|
22
|
+
const hyphenated = locale.replaceAll("_", "-");
|
|
23
|
+
return isLanguageTag(hyphenated) ? hyphenated : FALLBACK_LOCALE;
|
|
24
|
+
};
|
|
25
|
+
const upperCase = (text, language) => text.toLocaleUpperCase(resolve(`tag|${language}`, () => localeFor(language)));
|
|
26
|
+
const graphemeSegmenter = () => resolve("segmenter|grapheme", () => new Intl.Segmenter(FALLBACK_LOCALE, { granularity: "grapheme" }));
|
|
27
|
+
const numberFormat = (locale, options = {}) => resolve(`number|${locale}|${JSON.stringify(options)}`, () => new Intl.NumberFormat(localeFor(locale), options));
|
|
28
|
+
const holdsTimeZone = (timeZone) => resolve(`timeZone|${timeZone}`, () => {
|
|
29
|
+
try {
|
|
30
|
+
return new Intl.DateTimeFormat(FALLBACK_LOCALE, { timeZone }).resolvedOptions().timeZone !== "";
|
|
31
|
+
} catch {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
const dateTimeFormat = (locale, options = {}) => options.timeZone === void 0 || holdsTimeZone(options.timeZone) ? resolve(`dateTime|${locale}|${JSON.stringify(options)}`, () => new Intl.DateTimeFormat(localeFor(locale), {
|
|
36
|
+
...options,
|
|
37
|
+
calendar: "gregory"
|
|
38
|
+
})) : null;
|
|
39
|
+
const relativeTimeFormat = (locale, options = {}) => resolve(`relativeTime|${locale}|${JSON.stringify(options)}`, () => new Intl.RelativeTimeFormat(localeFor(locale), options));
|
|
40
|
+
const displayNames = (locale, options) => resolve(`displayNames|${locale}|${JSON.stringify(options)}`, () => new Intl.DisplayNames([localeFor(locale)], options));
|
|
41
|
+
const clearIntlCache = () => {
|
|
42
|
+
cache.clear();
|
|
43
|
+
};
|
|
44
|
+
export { numberFormat as a, graphemeSegmenter as i, dateTimeFormat as n, relativeTimeFormat as o, displayNames as r, upperCase as s, clearIntlCache as t };
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=chunk-C5q1sgSa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk-C5q1sgSa.js","names":[],"sources":["../src/profile/rules/intl.ts"],"mappings":"AA+BA,MAAM,cAAc;AAEpB,MAAM,wBAAQ,IAAI,IAAqB;AAYvC,MAAM,WAAc,KAAa,UAAsB;CACrD,MAAM,SAAS,MAAM,IAAI,GAAG;CAC5B,IAAI,WAAW,KAAA,GACb,OAAO;CAKT,IAAI,MAAM,QAAQ,aAChB,MAAM,MAAM;CAGd,MAAM,UAAU,MAAM;CACtB,MAAM,IAAI,KAAK,OAAO;CAEtB,OAAO;AACT;AAMA,MAAM,kBAAkB;AAGxB,MAAM,iBAAiB,QAAyB;CAC9C,IAAI;EACF,KAAK,oBAAoB,GAAG;EAE5B,OAAO;CACT,QAAQ;EAEN,OAAO;CACT;AACF;AAcA,MAAM,aAAa,WAA2B;CAC5C,IAAI,cAAc,MAAM,GACtB,OAAO;CAGT,MAAM,aAAa,OAAO,WAAW,KAAK,GAAG;CAE7C,OAAO,cAAc,UAAU,IAAI,aAAa;AAClD;AAaA,MAAa,aAAa,MAAc,aACtC,KAAK,kBAAkB,QAAQ,OAAO,kBAAkB,UAAU,QAAQ,CAAC,CAAC;AAQ9E,MAAa,0BACX,QACE,4BACM,IAAI,KAAK,UAAU,iBAAiB,EAAE,aAAa,WAAW,CAAC,CACvE;AAQF,MAAa,gBACX,QACA,UAAoC,CAAC,MAErC,QACE,UAAU,OAAO,GAAG,KAAK,UAAU,OAAO,WACpC,IAAI,KAAK,aAAa,UAAU,MAAM,GAAG,OAAO,CACxD;AAOF,MAAM,iBAAiB,aACrB,QAAQ,YAAY,kBAAkB;CACpC,IAAI;EACF,OACE,IAAI,KAAK,eAAe,iBAAiB,EAAE,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,aAAa;CAE1F,QAAQ;EACN,OAAO;CACT;AACF,CAAC;AA6BH,MAAa,kBACX,QACA,UAAsC,CAAC,MAEvC,QAAQ,aAAa,KAAA,KAAa,cAAc,QAAQ,QAAQ,IAC5D,QACE,YAAY,OAAO,GAAG,KAAK,UAAU,OAAO,WACtC,IAAI,KAAK,eAAe,UAAU,MAAM,GAAG;CAAE,GAAG;CAAS,UAAU;AAAU,CAAC,CACtF,IACA;AAON,MAAa,sBACX,QACA,UAA0C,CAAC,MAE3C,QACE,gBAAgB,OAAO,GAAG,KAAK,UAAU,OAAO,WAC1C,IAAI,KAAK,mBAAmB,UAAU,MAAM,GAAG,OAAO,CAC9D;AAQF,MAAa,gBACX,QACA,YAEA,QACE,gBAAgB,OAAO,GAAG,KAAK,UAAU,OAAO,WAC1C,IAAI,KAAK,aAAa,CAAC,UAAU,MAAM,CAAC,GAAG,OAAO,CAC1D;AASF,MAAa,uBAA6B;CACxC,MAAM,MAAM;AACd"}
|