@mountaya/elements 0.0.0-stage → 0.1.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 +235 -0
- package/LICENCE.fr.txt +280 -0
- package/LICENSE.txt +262 -0
- package/README.md +1509 -2
- package/THIRD-PARTY-NOTICES.txt +103 -0
- package/dist/accentColor-GNKBD2CW.js +4 -0
- package/dist/accentColor-GNKBD2CW.js.map +1 -0
- package/dist/accentColor-VX2JSMGE.cjs +17 -0
- package/dist/accentColor-VX2JSMGE.cjs.map +1 -0
- package/dist/agent/index.cjs +1964 -0
- package/dist/agent/index.cjs.map +1 -0
- package/dist/agent/index.d.cts +2016 -0
- package/dist/agent/index.d.ts +2016 -0
- package/dist/agent/index.js +1937 -0
- package/dist/agent/index.js.map +1 -0
- package/dist/amenities-B3-qAjxu.d.cts +160 -0
- package/dist/amenities-B3-qAjxu.d.ts +160 -0
- package/dist/bundle-Je5zsRFg.d.cts +222 -0
- package/dist/bundle-xYrrbJTH.d.ts +222 -0
- package/dist/camera/index.cjs +3477 -0
- package/dist/camera/index.cjs.map +1 -0
- package/dist/camera/index.d.cts +1751 -0
- package/dist/camera/index.d.ts +1751 -0
- package/dist/camera/index.js +3328 -0
- package/dist/camera/index.js.map +1 -0
- package/dist/camera-BrFLU1DH.d.cts +549 -0
- package/dist/camera-C48Ykaxv.d.ts +549 -0
- package/dist/chunk-23PFRRB6.js +3 -0
- package/dist/chunk-23PFRRB6.js.map +1 -0
- package/dist/chunk-2GI5SAH2.js +71 -0
- package/dist/chunk-2GI5SAH2.js.map +1 -0
- package/dist/chunk-2MQK6A74.js +39 -0
- package/dist/chunk-2MQK6A74.js.map +1 -0
- package/dist/chunk-2RE7R4LD.js +73 -0
- package/dist/chunk-2RE7R4LD.js.map +1 -0
- package/dist/chunk-3JZQKN4O.js +6 -0
- package/dist/chunk-3JZQKN4O.js.map +1 -0
- package/dist/chunk-3NDXVUUI.js +50 -0
- package/dist/chunk-3NDXVUUI.js.map +1 -0
- package/dist/chunk-3R4GFTUM.cjs +59 -0
- package/dist/chunk-3R4GFTUM.cjs.map +1 -0
- package/dist/chunk-3RVUQ6JN.cjs +22 -0
- package/dist/chunk-3RVUQ6JN.cjs.map +1 -0
- package/dist/chunk-4F6BJMJC.cjs +49 -0
- package/dist/chunk-4F6BJMJC.cjs.map +1 -0
- package/dist/chunk-4NWQD4BX.js +132 -0
- package/dist/chunk-4NWQD4BX.js.map +1 -0
- package/dist/chunk-5K2MH3R6.js +10 -0
- package/dist/chunk-5K2MH3R6.js.map +1 -0
- package/dist/chunk-6ACRNQQQ.cjs +8 -0
- package/dist/chunk-6ACRNQQQ.cjs.map +1 -0
- package/dist/chunk-6D26E3IA.js +66 -0
- package/dist/chunk-6D26E3IA.js.map +1 -0
- package/dist/chunk-6ESAW35P.cjs +80 -0
- package/dist/chunk-6ESAW35P.cjs.map +1 -0
- package/dist/chunk-6LIW2A5M.cjs +1176 -0
- package/dist/chunk-6LIW2A5M.cjs.map +1 -0
- package/dist/chunk-6OTTWVCA.js +57 -0
- package/dist/chunk-6OTTWVCA.js.map +1 -0
- package/dist/chunk-6VROJ4UG.js +862 -0
- package/dist/chunk-6VROJ4UG.js.map +1 -0
- package/dist/chunk-6Y7FTGO4.js +23 -0
- package/dist/chunk-6Y7FTGO4.js.map +1 -0
- package/dist/chunk-75I4CG64.js +104 -0
- package/dist/chunk-75I4CG64.js.map +1 -0
- package/dist/chunk-7CUBXHAH.cjs +14 -0
- package/dist/chunk-7CUBXHAH.cjs.map +1 -0
- package/dist/chunk-7GTCURVY.js +52 -0
- package/dist/chunk-7GTCURVY.js.map +1 -0
- package/dist/chunk-7IWOL6AM.cjs +100 -0
- package/dist/chunk-7IWOL6AM.cjs.map +1 -0
- package/dist/chunk-7QN7M667.cjs +151 -0
- package/dist/chunk-7QN7M667.cjs.map +1 -0
- package/dist/chunk-A6KQDKLM.cjs +1197 -0
- package/dist/chunk-A6KQDKLM.cjs.map +1 -0
- package/dist/chunk-A77EA67G.js +354 -0
- package/dist/chunk-A77EA67G.js.map +1 -0
- package/dist/chunk-AFKOABJ4.cjs +7194 -0
- package/dist/chunk-AFKOABJ4.cjs.map +1 -0
- package/dist/chunk-AG6JV5Z2.cjs +183 -0
- package/dist/chunk-AG6JV5Z2.cjs.map +1 -0
- package/dist/chunk-APBK7NMS.js +30 -0
- package/dist/chunk-APBK7NMS.js.map +1 -0
- package/dist/chunk-AWO5YA7A.cjs +33 -0
- package/dist/chunk-AWO5YA7A.cjs.map +1 -0
- package/dist/chunk-AZATU6QW.js +108 -0
- package/dist/chunk-AZATU6QW.js.map +1 -0
- package/dist/chunk-BD2U3WST.cjs +623 -0
- package/dist/chunk-BD2U3WST.cjs.map +1 -0
- package/dist/chunk-BHBEOU6L.cjs +65 -0
- package/dist/chunk-BHBEOU6L.cjs.map +1 -0
- package/dist/chunk-CNOSNYNE.js +8 -0
- package/dist/chunk-CNOSNYNE.js.map +1 -0
- package/dist/chunk-CW3EFR4O.js +12 -0
- package/dist/chunk-CW3EFR4O.js.map +1 -0
- package/dist/chunk-DASVRNBK.js +7187 -0
- package/dist/chunk-DASVRNBK.js.map +1 -0
- package/dist/chunk-DJ6LCKYP.js +42 -0
- package/dist/chunk-DJ6LCKYP.js.map +1 -0
- package/dist/chunk-E5FHQAIO.cjs +45 -0
- package/dist/chunk-E5FHQAIO.cjs.map +1 -0
- package/dist/chunk-EOML5OTY.cjs +360 -0
- package/dist/chunk-EOML5OTY.cjs.map +1 -0
- package/dist/chunk-EP5CASHL.js +613 -0
- package/dist/chunk-EP5CASHL.js.map +1 -0
- package/dist/chunk-EP5OEEVZ.cjs +14 -0
- package/dist/chunk-EP5OEEVZ.cjs.map +1 -0
- package/dist/chunk-EUXI3FGQ.js +150 -0
- package/dist/chunk-EUXI3FGQ.js.map +1 -0
- package/dist/chunk-EWFSHCOS.js +40 -0
- package/dist/chunk-EWFSHCOS.js.map +1 -0
- package/dist/chunk-EX2C5K2T.cjs +25 -0
- package/dist/chunk-EX2C5K2T.cjs.map +1 -0
- package/dist/chunk-FEXWDQIZ.cjs +8 -0
- package/dist/chunk-FEXWDQIZ.cjs.map +1 -0
- package/dist/chunk-FEYBFY7H.cjs +358 -0
- package/dist/chunk-FEYBFY7H.cjs.map +1 -0
- package/dist/chunk-FRGAV6N6.cjs +34 -0
- package/dist/chunk-FRGAV6N6.cjs.map +1 -0
- package/dist/chunk-G5DHP5VF.js +6 -0
- package/dist/chunk-G5DHP5VF.js.map +1 -0
- package/dist/chunk-G5W2UHV2.js +99 -0
- package/dist/chunk-G5W2UHV2.js.map +1 -0
- package/dist/chunk-G7OP7O2C.cjs +39 -0
- package/dist/chunk-G7OP7O2C.cjs.map +1 -0
- package/dist/chunk-GE6CFCAM.cjs +25 -0
- package/dist/chunk-GE6CFCAM.cjs.map +1 -0
- package/dist/chunk-GIFALLHI.cjs +111 -0
- package/dist/chunk-GIFALLHI.cjs.map +1 -0
- package/dist/chunk-GLFET5GM.js +129 -0
- package/dist/chunk-GLFET5GM.js.map +1 -0
- package/dist/chunk-GQ6UFPFM.js +22 -0
- package/dist/chunk-GQ6UFPFM.js.map +1 -0
- package/dist/chunk-GQJWVMXS.js +129 -0
- package/dist/chunk-GQJWVMXS.js.map +1 -0
- package/dist/chunk-GVVJPUKC.js +80 -0
- package/dist/chunk-GVVJPUKC.js.map +1 -0
- package/dist/chunk-GZ2HOCQ2.cjs +134 -0
- package/dist/chunk-GZ2HOCQ2.cjs.map +1 -0
- package/dist/chunk-HCBOHXWP.js +37 -0
- package/dist/chunk-HCBOHXWP.js.map +1 -0
- package/dist/chunk-IBQJDVHF.cjs +281 -0
- package/dist/chunk-IBQJDVHF.cjs.map +1 -0
- package/dist/chunk-ISLB6Y5Q.cjs +106 -0
- package/dist/chunk-ISLB6Y5Q.cjs.map +1 -0
- package/dist/chunk-J55CRR4F.js +105 -0
- package/dist/chunk-J55CRR4F.js.map +1 -0
- package/dist/chunk-JBG6Z6MQ.cjs +28 -0
- package/dist/chunk-JBG6Z6MQ.cjs.map +1 -0
- package/dist/chunk-K3RQOZRU.js +61 -0
- package/dist/chunk-K3RQOZRU.js.map +1 -0
- package/dist/chunk-KDJYS4GB.cjs +703 -0
- package/dist/chunk-KDJYS4GB.cjs.map +1 -0
- package/dist/chunk-KMCAHUZM.cjs +4 -0
- package/dist/chunk-KMCAHUZM.cjs.map +1 -0
- package/dist/chunk-KUCBNPC6.js +87 -0
- package/dist/chunk-KUCBNPC6.js.map +1 -0
- package/dist/chunk-KV6UE5A4.js +50 -0
- package/dist/chunk-KV6UE5A4.js.map +1 -0
- package/dist/chunk-L6TZ2HQR.cjs +18 -0
- package/dist/chunk-L6TZ2HQR.cjs.map +1 -0
- package/dist/chunk-L7QHHGG2.cjs +141 -0
- package/dist/chunk-L7QHHGG2.cjs.map +1 -0
- package/dist/chunk-LHK3Y2AL.js +271 -0
- package/dist/chunk-LHK3Y2AL.js.map +1 -0
- package/dist/chunk-LO5RYRBH.cjs +6317 -0
- package/dist/chunk-LO5RYRBH.cjs.map +1 -0
- package/dist/chunk-LS5SJMUO.cjs +194 -0
- package/dist/chunk-LS5SJMUO.cjs.map +1 -0
- package/dist/chunk-LUGTMZFN.cjs +42 -0
- package/dist/chunk-LUGTMZFN.cjs.map +1 -0
- package/dist/chunk-LVUQU6D5.js +32 -0
- package/dist/chunk-LVUQU6D5.js.map +1 -0
- package/dist/chunk-M2QRC2GZ.js +166 -0
- package/dist/chunk-M2QRC2GZ.js.map +1 -0
- package/dist/chunk-M6QJYQIM.cjs +53 -0
- package/dist/chunk-M6QJYQIM.cjs.map +1 -0
- package/dist/chunk-MGCPH5EO.js +12 -0
- package/dist/chunk-MGCPH5EO.js.map +1 -0
- package/dist/chunk-MLVUWEZR.cjs +474 -0
- package/dist/chunk-MLVUWEZR.cjs.map +1 -0
- package/dist/chunk-MTAMJMZL.cjs +707 -0
- package/dist/chunk-MTAMJMZL.cjs.map +1 -0
- package/dist/chunk-MXL5AT3N.js +48 -0
- package/dist/chunk-MXL5AT3N.js.map +1 -0
- package/dist/chunk-MYEQSESM.cjs +75 -0
- package/dist/chunk-MYEQSESM.cjs.map +1 -0
- package/dist/chunk-N3VPF6ZD.js +427 -0
- package/dist/chunk-N3VPF6ZD.js.map +1 -0
- package/dist/chunk-N6VUAIGI.js +7 -0
- package/dist/chunk-N6VUAIGI.js.map +1 -0
- package/dist/chunk-N6XRLUN6.js +6286 -0
- package/dist/chunk-N6XRLUN6.js.map +1 -0
- package/dist/chunk-NOGDOZIT.cjs +114 -0
- package/dist/chunk-NOGDOZIT.cjs.map +1 -0
- package/dist/chunk-NUWXEISH.cjs +10 -0
- package/dist/chunk-NUWXEISH.cjs.map +1 -0
- package/dist/chunk-NZCZHXYN.cjs +161 -0
- package/dist/chunk-NZCZHXYN.cjs.map +1 -0
- package/dist/chunk-ODROSWQX.cjs +53 -0
- package/dist/chunk-ODROSWQX.cjs.map +1 -0
- package/dist/chunk-OE36AYKG.cjs +82 -0
- package/dist/chunk-OE36AYKG.cjs.map +1 -0
- package/dist/chunk-OLON7MO6.cjs +437 -0
- package/dist/chunk-OLON7MO6.cjs.map +1 -0
- package/dist/chunk-PBUOR2IT.js +277 -0
- package/dist/chunk-PBUOR2IT.js.map +1 -0
- package/dist/chunk-PC2ELXFF.cjs +225 -0
- package/dist/chunk-PC2ELXFF.cjs.map +1 -0
- package/dist/chunk-PCSGXLOC.js +71 -0
- package/dist/chunk-PCSGXLOC.js.map +1 -0
- package/dist/chunk-PFNMP6FQ.js +56 -0
- package/dist/chunk-PFNMP6FQ.js.map +1 -0
- package/dist/chunk-PIWSZTIP.js +690 -0
- package/dist/chunk-PIWSZTIP.js.map +1 -0
- package/dist/chunk-PKWHJ2GI.js +136 -0
- package/dist/chunk-PKWHJ2GI.js.map +1 -0
- package/dist/chunk-PLMVBX2A.cjs +76 -0
- package/dist/chunk-PLMVBX2A.cjs.map +1 -0
- package/dist/chunk-PM3XCD2G.cjs +113 -0
- package/dist/chunk-PM3XCD2G.cjs.map +1 -0
- package/dist/chunk-QAL4GZO7.cjs +143 -0
- package/dist/chunk-QAL4GZO7.cjs.map +1 -0
- package/dist/chunk-QDB2SEA2.js +74 -0
- package/dist/chunk-QDB2SEA2.js.map +1 -0
- package/dist/chunk-QOV7UNUN.js +25 -0
- package/dist/chunk-QOV7UNUN.js.map +1 -0
- package/dist/chunk-QQUWYLSF.cjs +50 -0
- package/dist/chunk-QQUWYLSF.cjs.map +1 -0
- package/dist/chunk-QUMBH3U4.cjs +9 -0
- package/dist/chunk-QUMBH3U4.cjs.map +1 -0
- package/dist/chunk-R4KA7OFQ.js +12 -0
- package/dist/chunk-R4KA7OFQ.js.map +1 -0
- package/dist/chunk-RBSGAZQQ.js +17 -0
- package/dist/chunk-RBSGAZQQ.js.map +1 -0
- package/dist/chunk-RM5YJWZI.js +46 -0
- package/dist/chunk-RM5YJWZI.js.map +1 -0
- package/dist/chunk-ROKNKXA4.cjs +8 -0
- package/dist/chunk-ROKNKXA4.cjs.map +1 -0
- package/dist/chunk-RQG6D546.cjs +75 -0
- package/dist/chunk-RQG6D546.cjs.map +1 -0
- package/dist/chunk-SG4YDD5L.cjs +74 -0
- package/dist/chunk-SG4YDD5L.cjs.map +1 -0
- package/dist/chunk-SNRCA7EO.js +56 -0
- package/dist/chunk-SNRCA7EO.js.map +1 -0
- package/dist/chunk-SO75R4WW.cjs +22 -0
- package/dist/chunk-SO75R4WW.cjs.map +1 -0
- package/dist/chunk-SP34NHFI.js +45 -0
- package/dist/chunk-SP34NHFI.js.map +1 -0
- package/dist/chunk-SSKSSBWJ.cjs +179 -0
- package/dist/chunk-SSKSSBWJ.cjs.map +1 -0
- package/dist/chunk-TB5663C2.js +1108 -0
- package/dist/chunk-TB5663C2.js.map +1 -0
- package/dist/chunk-TGH4NRES.js +220 -0
- package/dist/chunk-TGH4NRES.js.map +1 -0
- package/dist/chunk-TJ6ZPNID.js +189 -0
- package/dist/chunk-TJ6ZPNID.js.map +1 -0
- package/dist/chunk-U45T35N2.cjs +90 -0
- package/dist/chunk-U45T35N2.cjs.map +1 -0
- package/dist/chunk-UKVOPEZ2.js +442 -0
- package/dist/chunk-UKVOPEZ2.js.map +1 -0
- package/dist/chunk-UTB4NROA.cjs +887 -0
- package/dist/chunk-UTB4NROA.cjs.map +1 -0
- package/dist/chunk-UTW33B5V.js +6 -0
- package/dist/chunk-UTW33B5V.js.map +1 -0
- package/dist/chunk-UYUBSD2V.cjs +33 -0
- package/dist/chunk-UYUBSD2V.cjs.map +1 -0
- package/dist/chunk-V3JEP5AG.cjs +59 -0
- package/dist/chunk-V3JEP5AG.cjs.map +1 -0
- package/dist/chunk-VFAGJXHR.js +18 -0
- package/dist/chunk-VFAGJXHR.js.map +1 -0
- package/dist/chunk-VMEE57E5.cjs +58 -0
- package/dist/chunk-VMEE57E5.cjs.map +1 -0
- package/dist/chunk-VQVBEX3Y.cjs +113 -0
- package/dist/chunk-VQVBEX3Y.cjs.map +1 -0
- package/dist/chunk-VZDXX7TT.cjs +64 -0
- package/dist/chunk-VZDXX7TT.cjs.map +1 -0
- package/dist/chunk-WE5ZTI4D.js +346 -0
- package/dist/chunk-WE5ZTI4D.js.map +1 -0
- package/dist/chunk-WEFUVABP.js +19 -0
- package/dist/chunk-WEFUVABP.js.map +1 -0
- package/dist/chunk-WMU4LRKC.js +28 -0
- package/dist/chunk-WMU4LRKC.js.map +1 -0
- package/dist/chunk-WQ24RRHL.cjs +354 -0
- package/dist/chunk-WQ24RRHL.cjs.map +1 -0
- package/dist/chunk-WW4CGS7G.cjs +26 -0
- package/dist/chunk-WW4CGS7G.cjs.map +1 -0
- package/dist/chunk-WXE5WCTM.js +1144 -0
- package/dist/chunk-WXE5WCTM.js.map +1 -0
- package/dist/chunk-X23BGIYA.cjs +37 -0
- package/dist/chunk-X23BGIYA.cjs.map +1 -0
- package/dist/chunk-XEW4FTR2.js +98 -0
- package/dist/chunk-XEW4FTR2.js.map +1 -0
- package/dist/chunk-XIOI4IYW.js +167 -0
- package/dist/chunk-XIOI4IYW.js.map +1 -0
- package/dist/chunk-XLVPJ37V.cjs +44 -0
- package/dist/chunk-XLVPJ37V.cjs.map +1 -0
- package/dist/chunk-XOHAXXZA.cjs +51 -0
- package/dist/chunk-XOHAXXZA.cjs.map +1 -0
- package/dist/chunk-Y4NRIHK6.cjs +313 -0
- package/dist/chunk-Y4NRIHK6.cjs.map +1 -0
- package/dist/chunk-Y4YMMKL3.js +23 -0
- package/dist/chunk-Y4YMMKL3.js.map +1 -0
- package/dist/chunk-YJNYBVE3.cjs +14 -0
- package/dist/chunk-YJNYBVE3.cjs.map +1 -0
- package/dist/chunk-Z762QNQP.cjs +60 -0
- package/dist/chunk-Z762QNQP.cjs.map +1 -0
- package/dist/chunk-ZG5KMBOF.js +669 -0
- package/dist/chunk-ZG5KMBOF.js.map +1 -0
- package/dist/chunk-ZKONQEFA.js +344 -0
- package/dist/chunk-ZKONQEFA.js.map +1 -0
- package/dist/chunk-ZR5X7QMH.js +39 -0
- package/dist/chunk-ZR5X7QMH.js.map +1 -0
- package/dist/chunk-ZW4BJQ26.js +84 -0
- package/dist/chunk-ZW4BJQ26.js.map +1 -0
- package/dist/climbs-BhlWuu0x.d.ts +70 -0
- package/dist/climbs-DgBFwySV.d.cts +70 -0
- package/dist/collab/index.cjs +1283 -0
- package/dist/collab/index.cjs.map +1 -0
- package/dist/collab/index.d.cts +850 -0
- package/dist/collab/index.d.ts +850 -0
- package/dist/collab/index.js +1274 -0
- package/dist/collab/index.js.map +1 -0
- package/dist/data/index.cjs +132 -0
- package/dist/data/index.cjs.map +1 -0
- package/dist/data/index.d.cts +468 -0
- package/dist/data/index.d.ts +468 -0
- package/dist/data/index.js +15 -0
- package/dist/data/index.js.map +1 -0
- package/dist/editor/index.cjs +4506 -0
- package/dist/editor/index.cjs.map +1 -0
- package/dist/editor/index.d.cts +59 -0
- package/dist/editor/index.d.ts +59 -0
- package/dist/editor/index.js +4486 -0
- package/dist/editor/index.js.map +1 -0
- package/dist/elevationTiles-pmsb9wnU.d.cts +77 -0
- package/dist/elevationTiles-pmsb9wnU.d.ts +77 -0
- package/dist/errors/index.cjs +28 -0
- package/dist/errors/index.cjs.map +1 -0
- package/dist/errors/index.d.cts +125 -0
- package/dist/errors/index.d.ts +125 -0
- package/dist/errors/index.js +3 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/geo/index.cjs +232 -0
- package/dist/geo/index.cjs.map +1 -0
- package/dist/geo/index.d.cts +821 -0
- package/dist/geo/index.d.ts +821 -0
- package/dist/geo/index.js +15 -0
- package/dist/geo/index.js.map +1 -0
- package/dist/geodesy-543qXKtI.d.cts +78 -0
- package/dist/geodesy-543qXKtI.d.ts +78 -0
- package/dist/geolocation-DDkQdWMN.d.cts +106 -0
- package/dist/geolocation-DDkQdWMN.d.ts +106 -0
- package/dist/i18n/fr/index.cjs +338 -0
- package/dist/i18n/fr/index.cjs.map +1 -0
- package/dist/i18n/fr/index.d.cts +25 -0
- package/dist/i18n/fr/index.d.ts +25 -0
- package/dist/i18n/fr/index.js +336 -0
- package/dist/i18n/fr/index.js.map +1 -0
- package/dist/i18n/index.cjs +464 -0
- package/dist/i18n/index.cjs.map +1 -0
- package/dist/i18n/index.d.cts +227 -0
- package/dist/i18n/index.d.ts +227 -0
- package/dist/i18n/index.js +430 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/icons/index.cjs +116 -0
- package/dist/icons/index.cjs.map +1 -0
- package/dist/icons/index.d.cts +457 -0
- package/dist/icons/index.d.ts +457 -0
- package/dist/icons/index.js +11 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.cjs +1869 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +251 -0
- package/dist/index.d.ts +251 -0
- package/dist/index.js +67 -0
- package/dist/index.js.map +1 -0
- package/dist/itinerary-Dp2ZnqgD.d.cts +178 -0
- package/dist/itinerary-Dp2ZnqgD.d.ts +178 -0
- package/dist/language-CEWQ5uYw.d.cts +69 -0
- package/dist/language-CEWQ5uYw.d.ts +69 -0
- package/dist/layers/index.cjs +318 -0
- package/dist/layers/index.cjs.map +1 -0
- package/dist/layers/index.d.cts +1555 -0
- package/dist/layers/index.d.ts +1555 -0
- package/dist/layers/index.js +17 -0
- package/dist/layers/index.js.map +1 -0
- package/dist/map-client/index.cjs +4 -0
- package/dist/map-client/index.cjs.map +1 -0
- package/dist/map-client/index.d.cts +1856 -0
- package/dist/map-client/index.d.ts +1856 -0
- package/dist/map-client/index.js +3 -0
- package/dist/map-client/index.js.map +1 -0
- package/dist/maplibre-worker.mjs +12 -0
- package/dist/markerSprite-DGBQF6PO.cjs +49 -0
- package/dist/markerSprite-DGBQF6PO.cjs.map +1 -0
- package/dist/markerSprite-DZLTR6F6.js +8 -0
- package/dist/markerSprite-DZLTR6F6.js.map +1 -0
- package/dist/mountayaMap-C9mxRFib.d.cts +3277 -0
- package/dist/mountayaMap-DgnlQ2fE.d.ts +3277 -0
- package/dist/navigation/index.cjs +699 -0
- package/dist/navigation/index.cjs.map +1 -0
- package/dist/navigation/index.d.cts +632 -0
- package/dist/navigation/index.d.ts +632 -0
- package/dist/navigation/index.js +689 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/order-BLhsGsH8.d.ts +132 -0
- package/dist/order-BZkUwMou.d.cts +132 -0
- package/dist/paint-BgUcj8l7.d.cts +118 -0
- package/dist/paint-Dx_qGNE_.d.ts +118 -0
- package/dist/profile/index.cjs +675 -0
- package/dist/profile/index.cjs.map +1 -0
- package/dist/profile/index.d.cts +2086 -0
- package/dist/profile/index.d.ts +2086 -0
- package/dist/profile/index.js +18 -0
- package/dist/profile/index.js.map +1 -0
- package/dist/provider-DM71XnLX.d.cts +121 -0
- package/dist/provider-DM71XnLX.d.ts +121 -0
- package/dist/roadAccess-D_rOE4xW.d.cts +86 -0
- package/dist/roadAccess-D_rOE4xW.d.ts +86 -0
- package/dist/routeProfile-BKfSfxx6.d.ts +210 -0
- package/dist/routeProfile-BsSUABXv.d.cts +210 -0
- package/dist/seams/index.cjs +39 -0
- package/dist/seams/index.cjs.map +1 -0
- package/dist/seams/index.d.cts +254 -0
- package/dist/seams/index.d.ts +254 -0
- package/dist/seams/index.js +6 -0
- package/dist/seams/index.js.map +1 -0
- package/dist/search/index.cjs +147 -0
- package/dist/search/index.cjs.map +1 -0
- package/dist/search/index.d.cts +888 -0
- package/dist/search/index.d.ts +888 -0
- package/dist/search/index.js +14 -0
- package/dist/search/index.js.map +1 -0
- package/dist/searchHighlight-DFE7LVIL.cjs +33 -0
- package/dist/searchHighlight-DFE7LVIL.cjs.map +1 -0
- package/dist/searchHighlight-MHAQZVWG.js +12 -0
- package/dist/searchHighlight-MHAQZVWG.js.map +1 -0
- package/dist/searchLimits-j99-NTXR.d.cts +24 -0
- package/dist/searchLimits-j99-NTXR.d.ts +24 -0
- package/dist/sections-CVlc2Inr.d.cts +953 -0
- package/dist/sections-CmtaduLc.d.ts +953 -0
- package/dist/segmentRoute-C5UL_5bp.d.ts +172 -0
- package/dist/segmentRoute-CIo6dR8Y.d.cts +172 -0
- package/dist/strings-30RSdIat.d.cts +552 -0
- package/dist/strings-DPTIbzT5.d.ts +552 -0
- package/dist/stripeImage-CQUXM2YI.js +14 -0
- package/dist/stripeImage-CQUXM2YI.js.map +1 -0
- package/dist/stripeImage-R43OPA6U.cjs +39 -0
- package/dist/stripeImage-R43OPA6U.cjs.map +1 -0
- package/dist/style/index.cjs +116 -0
- package/dist/style/index.cjs.map +1 -0
- package/dist/style/index.d.cts +538 -0
- package/dist/style/index.d.ts +538 -0
- package/dist/style/index.js +11 -0
- package/dist/style/index.js.map +1 -0
- package/dist/styles.css +11 -0
- package/dist/testing/index.cjs +629 -0
- package/dist/testing/index.cjs.map +1 -0
- package/dist/testing/index.d.cts +265 -0
- package/dist/testing/index.d.ts +265 -0
- package/dist/testing/index.js +623 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/timezone/index.cjs +759 -0
- package/dist/timezone/index.cjs.map +1 -0
- package/dist/timezone/index.d.cts +53 -0
- package/dist/timezone/index.d.ts +53 -0
- package/dist/timezone/index.js +757 -0
- package/dist/timezone/index.js.map +1 -0
- package/dist/types-B034JMjl.d.ts +973 -0
- package/dist/types-B2NDLxQA.d.cts +21 -0
- package/dist/types-B2NDLxQA.d.ts +21 -0
- package/dist/types-BEv8V_8V.d.cts +55 -0
- package/dist/types-BEv8V_8V.d.ts +55 -0
- package/dist/types-C8aX5KMU.d.cts +973 -0
- package/dist/types-CTQwbSdA.d.cts +321 -0
- package/dist/types-nO2joeRk.d.ts +321 -0
- package/dist/units/index.cjs +99 -0
- package/dist/units/index.cjs.map +1 -0
- package/dist/units/index.d.cts +75 -0
- package/dist/units/index.d.ts +75 -0
- package/dist/units/index.js +6 -0
- package/dist/units/index.js.map +1 -0
- package/dist/units-D9mBrusY.d.cts +900 -0
- package/dist/units-D9mBrusY.d.ts +900 -0
- package/dist/video/index.cjs +2198 -0
- package/dist/video/index.cjs.map +1 -0
- package/dist/video/index.d.cts +873 -0
- package/dist/video/index.d.ts +873 -0
- package/dist/video/index.js +2173 -0
- package/dist/video/index.js.map +1 -0
- package/dist/videoOverlay-Dh_D5_Zs.d.cts +44 -0
- package/dist/videoOverlay-Dh_D5_Zs.d.ts +44 -0
- package/dist/view/index.cjs +43 -0
- package/dist/view/index.cjs.map +1 -0
- package/dist/view/index.d.cts +836 -0
- package/dist/view/index.d.ts +836 -0
- package/dist/view/index.js +34 -0
- package/dist/view/index.js.map +1 -0
- package/dist/zones-B05QA8fy.d.cts +75 -0
- package/dist/zones-B05QA8fy.d.ts +75 -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 +1023 -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 +104 -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 +56 -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 +5674 -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 +166 -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 +566 -0
- package/src/compose/rules/urlHash.ts +19 -0
- package/src/compose/rules/viewOptions.ts +451 -0
- package/src/compose/rules/workerUrl.ts +96 -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 +286 -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 +4083 -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 +125 -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 +157 -0
- package/src/errors/rules/print.ts +129 -0
- package/src/geo/index.ts +94 -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 +81 -0
- package/src/i18n/rules/bundle.ts +378 -0
- package/src/i18n/rules/config.ts +71 -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 +1012 -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 +1943 -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 +650 -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 +593 -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 +114 -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 +212 -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,250 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The amenity badge glyph vocabulary.
|
|
3
|
+
*
|
|
4
|
+
* One glyph per service a waypoint can declare, drawn small and stacked above a pin on an
|
|
5
|
+
* elevation profile or laid out as a chip in a table. Named `amenity-*` rather than reusing the
|
|
6
|
+
* waypoint icon names beside them, and that prefix is doing real work: `picnic`, `shop`,
|
|
7
|
+
* `parking-sign` and `cable-car` exist in BOTH vocabularies, and they answer different
|
|
8
|
+
* questions. A waypoint icon is the picture its author chose for the pin; an amenity is a fact
|
|
9
|
+
* about the place, and one hut states several at once. Sharing a key would make an installed set
|
|
10
|
+
* unable to draw them differently: a badge wants a flat monochrome shape at 12px, a pin wants a
|
|
11
|
+
* detailed one at 24px.
|
|
12
|
+
*
|
|
13
|
+
* **DOM only.** These never become map sprites. An amenity is read from a badge over a chart or
|
|
14
|
+
* a chip in a row, never from a marker on a tile, and adding them to the sprite sheet would cost
|
|
15
|
+
* every map consumer bytes for something no map draws.
|
|
16
|
+
*
|
|
17
|
+
* They are answered by the MARKER provider all the same, and the accompanying test holds that:
|
|
18
|
+
* the set that knows what a refuge looks like is the one that knows what a shower looks like,
|
|
19
|
+
* where a control set answers `zoom-in` and neither. Family and sprite sheet are two questions,
|
|
20
|
+
* and only the second one these stay out of.
|
|
21
|
+
*
|
|
22
|
+
* The equality with the API's own vocabulary is a type check, exactly as it is for the waypoint
|
|
23
|
+
* glyphs, and it leaves nothing in the module. Each list is held to the schema's union where it
|
|
24
|
+
* is declared, so an amenity removed from the API fails this file's build on the entry that no
|
|
25
|
+
* longer exists. The other direction, an amenity added to the API and missing here, is a probe
|
|
26
|
+
* in `amenities.test.ts`, which the package's type-check compiles: it fails there and never as
|
|
27
|
+
* a blank square at the top of somebody's chart.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
import type { RestSchema } from "@mountaya/client";
|
|
31
|
+
|
|
32
|
+
/** AMENITY_GLYPHS is every amenity badge glyph, one per service a waypoint can declare. */
|
|
33
|
+
export const AMENITY_GLYPHS = [
|
|
34
|
+
"amenity-accommodation",
|
|
35
|
+
"amenity-assistance",
|
|
36
|
+
"amenity-cable-car",
|
|
37
|
+
"amenity-camping",
|
|
38
|
+
"amenity-drinks",
|
|
39
|
+
"amenity-drop-bag",
|
|
40
|
+
"amenity-first-aid",
|
|
41
|
+
"amenity-food",
|
|
42
|
+
"amenity-hot-meal",
|
|
43
|
+
"amenity-luggage-storage",
|
|
44
|
+
"amenity-medical",
|
|
45
|
+
"amenity-mobile-signal",
|
|
46
|
+
"amenity-parking",
|
|
47
|
+
"amenity-pet-friendly",
|
|
48
|
+
"amenity-picnic",
|
|
49
|
+
"amenity-power-charging",
|
|
50
|
+
"amenity-public-transport",
|
|
51
|
+
"amenity-rest-area",
|
|
52
|
+
"amenity-shelter",
|
|
53
|
+
"amenity-shop",
|
|
54
|
+
"amenity-showers",
|
|
55
|
+
"amenity-shuttle",
|
|
56
|
+
"amenity-snacks",
|
|
57
|
+
"amenity-timing-checkpoint",
|
|
58
|
+
"amenity-toilets",
|
|
59
|
+
"amenity-viewpoint",
|
|
60
|
+
"amenity-waste",
|
|
61
|
+
"amenity-water",
|
|
62
|
+
"amenity-wheelchair-access",
|
|
63
|
+
"amenity-wifi",
|
|
64
|
+
] as const satisfies readonly GlyphOf<WireAmenity>[];
|
|
65
|
+
|
|
66
|
+
/** One of the amenity badge glyphs. */
|
|
67
|
+
export type AmenityGlyph = (typeof AMENITY_GLYPHS)[number];
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The amenity a waypoint carries on the wire.
|
|
71
|
+
*
|
|
72
|
+
* Aliased here so the two lists below and above name one type rather than reaching through the
|
|
73
|
+
* schema twice, and so a reader of this file can see what it is being held against.
|
|
74
|
+
*/
|
|
75
|
+
type WireAmenity = RestSchema.ItineraryWaypoint["amenities"][number];
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The glyph name an amenity resolves to, as a type-level mapping.
|
|
79
|
+
*
|
|
80
|
+
* `amenity-${T}` is the whole rule: there is no table to keep in step, because the prefix is
|
|
81
|
+
* the transform. So holding the list against the API is enough, and the template literal holds
|
|
82
|
+
* the naming against itself.
|
|
83
|
+
*/
|
|
84
|
+
type GlyphOf<T extends string> = `amenity-${T}`;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* amenityGlyph names the glyph an amenity is drawn with.
|
|
88
|
+
*
|
|
89
|
+
* The prefix is applied here rather than at each call site so a renderer never spells the
|
|
90
|
+
* convention out itself, and so the one place it could drift is one function rather than every
|
|
91
|
+
* badge that draws one.
|
|
92
|
+
*
|
|
93
|
+
* It takes a `string` rather than the closed union, for the same reason `Waypoint.glyph` is a
|
|
94
|
+
* string: the element layer names glyphs, it does not close them. A caller reads
|
|
95
|
+
* `details.amenities`, which carries what the itinerary stated, and an installed icon set
|
|
96
|
+
* either answers that name or falls back, exactly as it does for a waypoint's own icon. The
|
|
97
|
+
* closed vocabulary is still held, by {@link AMENITY_GLYPHS} and the type it satisfies.
|
|
98
|
+
*/
|
|
99
|
+
export const amenityGlyph = (amenity: string): string => `amenity-${amenity}`;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* waypointAmenities is every amenity the contract lets a waypoint state, each keyed by itself, in
|
|
103
|
+
* the order {@link WAYPOINT_AMENITIES} lists them.
|
|
104
|
+
*
|
|
105
|
+
* The `satisfies` clause ties it to the generated `WaypointAmenity` in both directions: an amenity
|
|
106
|
+
* the contract adds leaves a missing key, and one it does not declare is an excess property of
|
|
107
|
+
* the literal, so `tsc` fails at this declaration either way. Each value is typed by its own key,
|
|
108
|
+
* so none can name another amenity in place of its own.
|
|
109
|
+
*/
|
|
110
|
+
const waypointAmenities = {
|
|
111
|
+
water: "water",
|
|
112
|
+
drinks: "drinks",
|
|
113
|
+
food: "food",
|
|
114
|
+
"hot-meal": "hot-meal",
|
|
115
|
+
snacks: "snacks",
|
|
116
|
+
medical: "medical",
|
|
117
|
+
"first-aid": "first-aid",
|
|
118
|
+
toilets: "toilets",
|
|
119
|
+
showers: "showers",
|
|
120
|
+
"drop-bag": "drop-bag",
|
|
121
|
+
"luggage-storage": "luggage-storage",
|
|
122
|
+
assistance: "assistance",
|
|
123
|
+
"rest-area": "rest-area",
|
|
124
|
+
accommodation: "accommodation",
|
|
125
|
+
shelter: "shelter",
|
|
126
|
+
camping: "camping",
|
|
127
|
+
picnic: "picnic",
|
|
128
|
+
shop: "shop",
|
|
129
|
+
parking: "parking",
|
|
130
|
+
shuttle: "shuttle",
|
|
131
|
+
"public-transport": "public-transport",
|
|
132
|
+
"cable-car": "cable-car",
|
|
133
|
+
"power-charging": "power-charging",
|
|
134
|
+
wifi: "wifi",
|
|
135
|
+
"mobile-signal": "mobile-signal",
|
|
136
|
+
waste: "waste",
|
|
137
|
+
"pet-friendly": "pet-friendly",
|
|
138
|
+
"wheelchair-access": "wheelchair-access",
|
|
139
|
+
viewpoint: "viewpoint",
|
|
140
|
+
"timing-checkpoint": "timing-checkpoint",
|
|
141
|
+
} as const satisfies { [K in RestSchema.WaypointAmenity]: K };
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* WAYPOINT_AMENITIES is the amenity vocabulary a picker grid or a course legend walks.
|
|
145
|
+
*
|
|
146
|
+
* Declared here rather than read out of a zod enum's `.options`, which is the reason `./icons`
|
|
147
|
+
* ships no schema library. `@mountaya/studio` builds `waypointAmenitySchema` from this list for
|
|
148
|
+
* the one place an amenity is untrusted.
|
|
149
|
+
*
|
|
150
|
+
* It sits beside {@link AMENITY_GLYPHS} because the two are one vocabulary seen twice:
|
|
151
|
+
* `amenityGlyph` is a template literal over these names rather than a table, so a consumer
|
|
152
|
+
* drawing a badge needs the list and nothing else.
|
|
153
|
+
*
|
|
154
|
+
* **An amenity is not an icon.** The two overlap in places (both have a notion of parking, of a
|
|
155
|
+
* cable car, of a picnic spot), and they are still different questions. An icon is the picture
|
|
156
|
+
* the author chose for the pin; an amenity is a fact about the place, and a hut drawn with `hut`
|
|
157
|
+
* may serve `water`, `hot-meal` and `accommodation` at once.
|
|
158
|
+
*
|
|
159
|
+
* Read off the keys of a record the contract's own type keys, in the order that record is
|
|
160
|
+
* written in, so an amenity the contract adds or drops fails to compile at the record.
|
|
161
|
+
*/
|
|
162
|
+
export const WAYPOINT_AMENITIES: readonly WaypointAmenity[] = Object.keys(
|
|
163
|
+
waypointAmenities,
|
|
164
|
+
) as WaypointAmenity[];
|
|
165
|
+
|
|
166
|
+
/** WaypointAmenity is one amenity a waypoint may state. */
|
|
167
|
+
export type WaypointAmenity = keyof typeof waypointAmenities;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* WaypointAmenityGroupId names one section of the amenity picker. The ids are the
|
|
171
|
+
* question the user is answering when they scan that section: can I eat and
|
|
172
|
+
* drink here, can I get help, can I sleep, what is the logistics story, how do I
|
|
173
|
+
* reach it, what else is true of the place.
|
|
174
|
+
*/
|
|
175
|
+
export type WaypointAmenityGroupId =
|
|
176
|
+
| "access"
|
|
177
|
+
| "comfort"
|
|
178
|
+
| "logistics"
|
|
179
|
+
| "safety"
|
|
180
|
+
| "stay"
|
|
181
|
+
| "sustenance";
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* WAYPOINT_AMENITY_GROUPS partitions the vocabulary into the sections a picker
|
|
185
|
+
* renders, for the same reason WAYPOINT_ICON_GROUPS does: past roughly twenty
|
|
186
|
+
* entries a flat grid makes the user scan the whole set every time.
|
|
187
|
+
*
|
|
188
|
+
* The partition is exhaustive and disjoint over WAYPOINT_AMENITIES, held by the test
|
|
189
|
+
* beside this module and not by the type system (TypeScript cannot express "these arrays
|
|
190
|
+
* union to exactly this set"), so an amenity that lands in no group, or in two,
|
|
191
|
+
* fails the suite instead of quietly disappearing from the picker.
|
|
192
|
+
*/
|
|
193
|
+
export const WAYPOINT_AMENITY_GROUPS: ReadonlyArray<{
|
|
194
|
+
readonly amenities: readonly WaypointAmenity[];
|
|
195
|
+
readonly id: WaypointAmenityGroupId;
|
|
196
|
+
}> = [
|
|
197
|
+
{ amenities: ["water", "drinks", "food", "hot-meal", "snacks"], id: "sustenance" },
|
|
198
|
+
{ amenities: ["medical", "first-aid", "assistance", "shelter"], id: "safety" },
|
|
199
|
+
{ amenities: ["accommodation", "camping", "rest-area"], id: "stay" },
|
|
200
|
+
{ amenities: ["toilets", "showers", "picnic", "waste", "wifi", "mobile-signal"], id: "comfort" },
|
|
201
|
+
{
|
|
202
|
+
amenities: ["drop-bag", "luggage-storage", "shop", "timing-checkpoint"],
|
|
203
|
+
id: "logistics",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
amenities: [
|
|
207
|
+
"parking",
|
|
208
|
+
"shuttle",
|
|
209
|
+
"public-transport",
|
|
210
|
+
"cable-car",
|
|
211
|
+
"power-charging",
|
|
212
|
+
"pet-friendly",
|
|
213
|
+
"wheelchair-access",
|
|
214
|
+
"viewpoint",
|
|
215
|
+
],
|
|
216
|
+
id: "access",
|
|
217
|
+
},
|
|
218
|
+
];
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* waypointPropertyFormats is every format the contract gives a customer-defined field, each keyed
|
|
222
|
+
* by itself, in the order {@link WAYPOINT_PROPERTY_FORMATS} lists them. It is tied to the
|
|
223
|
+
* generated `WaypointPropertyFormat` as {@link waypointAmenities} is to `WaypointAmenity`.
|
|
224
|
+
*/
|
|
225
|
+
const waypointPropertyFormats = {
|
|
226
|
+
text: "text",
|
|
227
|
+
number: "number",
|
|
228
|
+
duration: "duration",
|
|
229
|
+
distance: "distance",
|
|
230
|
+
url: "url",
|
|
231
|
+
date: "date",
|
|
232
|
+
} as const satisfies { [K in RestSchema.WaypointPropertyFormat]: K };
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* WAYPOINT_PROPERTY_FORMATS is how a customer-defined field says what its value IS, and the
|
|
236
|
+
* ordered list a format picker walks.
|
|
237
|
+
*
|
|
238
|
+
* A closed set rather than a free string, because it exists to stop a renderer guessing from the
|
|
239
|
+
* digits: `3600` is a duration, a distance or a plain number depending on what the author meant,
|
|
240
|
+
* and only they know which. `text` leads because it is the default a field takes when it declares
|
|
241
|
+
* no format at all.
|
|
242
|
+
*
|
|
243
|
+
* Read off the keys of a record the contract's own type keys, as {@link WAYPOINT_AMENITIES} is.
|
|
244
|
+
*/
|
|
245
|
+
export const WAYPOINT_PROPERTY_FORMATS: readonly WaypointPropertyFormat[] = Object.keys(
|
|
246
|
+
waypointPropertyFormats,
|
|
247
|
+
) as WaypointPropertyFormat[];
|
|
248
|
+
|
|
249
|
+
/** WaypointPropertyFormat is how a customer-defined field says what its value is. */
|
|
250
|
+
export type WaypointPropertyFormat = keyof typeof waypointPropertyFormats;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// GENERATED FILE. DO NOT EDIT.
|
|
2
|
+
//
|
|
3
|
+
// The drawings of the glyph table of mountaya/schemas (sdk/elements/glyphs.json) the elements
|
|
4
|
+
// draw, generated by scripts/generate-glyphs.mjs. Regenerate with: npm run generate:glyphs
|
|
5
|
+
|
|
6
|
+
import type { Artwork } from "./artwork.js";
|
|
7
|
+
|
|
8
|
+
/** The Mountaya watermark, which a map draws over its canvas unless its organization holds white label. */
|
|
9
|
+
export const watermarkArtwork: Artwork = {
|
|
10
|
+
"opacity": 0.9,
|
|
11
|
+
"shadow": {
|
|
12
|
+
"blur": 12.1452,
|
|
13
|
+
"dx": 0,
|
|
14
|
+
"dy": 0,
|
|
15
|
+
"hex": "#000000",
|
|
16
|
+
"opacity": 0.55
|
|
17
|
+
},
|
|
18
|
+
"shapes": [
|
|
19
|
+
{
|
|
20
|
+
"markup": "<path d=\"M22.6748 16.2338C26.3612 16.2338 29.3494 19.2222 29.3496 22.9086C29.3496 24.3563 28.9225 25.509 28.168 26.6127L22.6973 21.0385L17.2021 26.6361C16.4372 25.5235 16 24.3614 16 22.9086C16.0002 19.2223 18.9885 16.2339 22.6748 16.2338Z\" />",
|
|
21
|
+
"fill": {
|
|
22
|
+
"linear": {
|
|
23
|
+
"from": [
|
|
24
|
+
23.7246,
|
|
25
|
+
40.8919
|
|
26
|
+
],
|
|
27
|
+
"to": [
|
|
28
|
+
22.8662,
|
|
29
|
+
18.575
|
|
30
|
+
],
|
|
31
|
+
"stops": [
|
|
32
|
+
{
|
|
33
|
+
"offset": 0,
|
|
34
|
+
"hex": "#090b0e"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"offset": 1,
|
|
38
|
+
"hex": "#ffffff"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"markup": "<path d=\"M22.7593 21.1075L28.1636 26.6134C26.9967 28.3197 25.0463 29.9084 22.6714 32.2833C22.5466 32.1585 22.4219 32.0368 22.2993 31.9161C21.9246 31.4137 21.522 30.5283 21.522 29.1368C21.5224 27.0753 23.9446 26.2887 23.9448 24.0782C23.9448 22.3917 23.1936 21.5524 22.7593 21.1075Z\" />",
|
|
46
|
+
"fill": {
|
|
47
|
+
"linear": {
|
|
48
|
+
"from": [
|
|
49
|
+
25.8586,
|
|
50
|
+
24.4393
|
|
51
|
+
],
|
|
52
|
+
"to": [
|
|
53
|
+
22.8826,
|
|
54
|
+
33.6651
|
|
55
|
+
],
|
|
56
|
+
"stops": [
|
|
57
|
+
{
|
|
58
|
+
"offset": 0,
|
|
59
|
+
"hex": "#ffffff"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"offset": 1,
|
|
63
|
+
"hex": "#dddbdc",
|
|
64
|
+
"opacity": 0.6
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"markup": "<path d=\"M49.5544 30H47.2489L46.2159 23.1734L43.0871 29.985H42.5331L39.4043 23.1734L38.3713 30H36.0658L37.7126 19.5205H39.9732L42.8176 25.9579L45.662 19.5205H47.9376L49.5544 30ZM54.8955 30.2395C52.3954 30.2395 50.5241 28.3981 50.5241 25.9579C50.5241 23.5177 52.3954 21.6913 54.8955 21.6913C57.3957 21.6913 59.267 23.5177 59.267 25.9579C59.267 28.3981 57.3957 30.2395 54.8955 30.2395ZM54.8955 28.1736C56.1531 28.1736 57.0513 27.2753 57.0513 25.9579C57.0513 24.6555 56.1531 23.7422 54.8955 23.7422C53.638 23.7422 52.7398 24.6555 52.7398 25.9579C52.7398 27.2753 53.638 28.1736 54.8955 28.1736ZM64.5265 30.2395C62.251 30.2395 60.7239 28.7724 60.7239 26.5867V21.9158H62.9097V26.3471C62.9097 27.4999 63.5235 28.1736 64.5265 28.1736C65.5445 28.1736 66.1433 27.4849 66.1433 26.3471V21.9158H68.3291V26.5867C68.3291 28.7724 66.817 30.2395 64.5265 30.2395ZM74.9134 21.7362C76.7547 21.7362 77.9075 23.0536 77.9075 25.1046V30H75.7218V25.4639C75.7218 24.2363 75.2577 23.6524 74.3145 23.6524C73.1917 23.6524 72.5031 24.4608 72.5031 25.7633V30H70.3174V21.9158H71.8144L72.2336 22.9189C72.8474 22.2003 73.8205 21.7362 74.9134 21.7362ZM83.8017 28.0538H84.7898V30H83.2329C81.4513 30 80.3585 28.9071 80.3585 27.1256V23.6824H78.9063V23.2033L82.0951 19.8199H82.5143V21.9158H84.7449V23.6824H82.5442V26.8262C82.5442 27.6047 82.9933 28.0538 83.8017 28.0538ZM92.7962 21.9158H94.428V30H92.7213L92.5267 29.2664C91.8381 29.8802 90.9398 30.2395 89.9069 30.2395C87.4816 30.2395 85.6702 28.3981 85.6702 25.9579C85.6702 23.5177 87.4816 21.6913 89.9069 21.6913C90.9548 21.6913 91.868 22.0655 92.5716 22.6793L92.7962 21.9158ZM90.0865 28.1736C91.359 28.1736 92.2872 27.2304 92.2872 25.9579C92.2872 24.6854 91.359 23.7422 90.0865 23.7422C88.814 23.7422 87.8858 24.6854 87.8858 25.9579C87.8858 27.2155 88.814 28.1736 90.0865 28.1736ZM102.129 21.9158H104.45L100.932 29.8952C99.9586 32.0959 99.1053 32.9193 97.2938 32.9193H96.3956V30.9581H97.1441C98.2071 30.9581 98.4765 30.6737 98.9706 29.4461L99.0005 29.3862L95.5722 21.9158H97.9526L100.108 26.9011L102.129 21.9158ZM111.802 21.9158H113.434V30H111.727L111.532 29.2664C110.844 29.8802 109.946 30.2395 108.913 30.2395C106.487 30.2395 104.676 28.3981 104.676 25.9579C104.676 23.5177 106.487 21.6913 108.913 21.6913C109.961 21.6913 110.874 22.0655 111.577 22.6793L111.802 21.9158ZM109.092 28.1736C110.365 28.1736 111.293 27.2304 111.293 25.9579C111.293 24.6854 110.365 23.7422 109.092 23.7422C107.82 23.7422 106.892 24.6854 106.892 25.9579C106.892 27.2155 107.82 28.1736 109.092 28.1736Z\" />",
|
|
72
|
+
"fill": {
|
|
73
|
+
"hex": "#ffffff"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"viewBox": [
|
|
78
|
+
0,
|
|
79
|
+
0,
|
|
80
|
+
138,
|
|
81
|
+
58
|
|
82
|
+
]
|
|
83
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A drawing of the contract's glyph table, as a map draws its watermark: shapes with solid or
|
|
3
|
+
* linear-gradient fills, under one opacity and one drop shadow, in a view box.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/** A colour stop of a linear gradient, at its offset from 0 to 1 along the gradient. */
|
|
7
|
+
interface ArtworkStop {
|
|
8
|
+
readonly offset: number;
|
|
9
|
+
readonly hex: string;
|
|
10
|
+
/** The stop's opacity, 1 where the table states none. */
|
|
11
|
+
readonly opacity?: number | undefined;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/** How a shape is filled: one colour, or a linear gradient between two points of the view box. */
|
|
15
|
+
type ArtworkFill =
|
|
16
|
+
| { readonly hex: string; readonly linear?: undefined }
|
|
17
|
+
| {
|
|
18
|
+
readonly hex?: undefined;
|
|
19
|
+
readonly linear: {
|
|
20
|
+
readonly from: readonly [number, number];
|
|
21
|
+
readonly to: readonly [number, number];
|
|
22
|
+
readonly stops: readonly ArtworkStop[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** One shape of a drawing: its markup, which `parseGlyph` reads, and its fill. */
|
|
27
|
+
interface ArtworkShape {
|
|
28
|
+
readonly markup: string;
|
|
29
|
+
readonly fill: ArtworkFill;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/** A drawing of the contract's glyph table. */
|
|
33
|
+
export interface Artwork {
|
|
34
|
+
/** `[x, y, width, height]`, as an SVG `viewBox` states it. */
|
|
35
|
+
readonly viewBox: readonly [number, number, number, number];
|
|
36
|
+
/** The opacity the whole drawing is drawn at. */
|
|
37
|
+
readonly opacity: number;
|
|
38
|
+
/** The drop shadow under the whole drawing. */
|
|
39
|
+
readonly shadow: {
|
|
40
|
+
readonly blur: number;
|
|
41
|
+
readonly dx: number;
|
|
42
|
+
readonly dy: number;
|
|
43
|
+
readonly hex: string;
|
|
44
|
+
readonly opacity: number;
|
|
45
|
+
};
|
|
46
|
+
readonly shapes: readonly ArtworkShape[];
|
|
47
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The glyph a place is marked with where the installed set cannot draw its own.
|
|
3
|
+
*
|
|
4
|
+
* A host chooses the set, and a set may hold less than the vocabulary: a licensed set built before
|
|
5
|
+
* a waypoint icon was added, a partial set chained over nothing. A place still needs a mark on it,
|
|
6
|
+
* so it is drawn with the fallback pin rather than with nothing. An amenity's badge falls back to
|
|
7
|
+
* words instead (`badgeFallback` in `@mountaya/elements/profile`), and a control's glyph to nothing.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import type { IconProvider } from "./provider.js";
|
|
11
|
+
import { WAYPOINT_FALLBACK_GLYPH } from "./waypoints.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* placeGlyph answers the glyph a place is marked with: its own where the set draws it, and the
|
|
15
|
+
* fallback pin, `map-pin`, where the set cannot draw it or the place names none.
|
|
16
|
+
*
|
|
17
|
+
* @param icons The set the mark is drawn from.
|
|
18
|
+
* @param glyph The place's own glyph, or `undefined` where it names none.
|
|
19
|
+
*/
|
|
20
|
+
export const placeGlyph = (icons: Pick<IconProvider, "has">, glyph: string | undefined): string =>
|
|
21
|
+
glyph !== undefined && icons.has(glyph) ? glyph : WAYPOINT_FALLBACK_GLYPH;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// GENERATED FILE. DO NOT EDIT.
|
|
2
|
+
//
|
|
3
|
+
// Marker glyphs from the glyph table of mountaya/schemas (sdk/elements/glyphs.json), drawn by
|
|
4
|
+
// lucide-static@1.75.0 (ISC, and MIT for the icons Lucide derives from Feather), generated
|
|
5
|
+
// by scripts/generate-glyphs.mjs. Regenerate with: npm run generate:glyphs
|
|
6
|
+
//
|
|
7
|
+
// Lucide is stroke-based: every path here is an open outline with no fill, which is
|
|
8
|
+
// why the provider below declares paint: "stroke". Filling these renders nothing.
|
|
9
|
+
|
|
10
|
+
import { createIconProvider, type IconProvider } from "./provider.js";
|
|
11
|
+
|
|
12
|
+
/** The Lucide marker glyph table, keyed by Mountaya's semantic glyph names. */
|
|
13
|
+
const lucideMarkup: Readonly<Record<string, string>> = {
|
|
14
|
+
airport: "<path d=\"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z\" />",
|
|
15
|
+
"amenity-accommodation": "<path d=\"M2 4v16\" /><path d=\"M2 8h18a2 2 0 0 1 2 2v10\" /><path d=\"M2 17h20\" /><path d=\"M6 8v9\" />",
|
|
16
|
+
"amenity-assistance": "<path d=\"m11 17 2 2a1 1 0 1 0 3-3\" /><path d=\"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4\" /><path d=\"m21 3 1 11h-2\" /><path d=\"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3\" /><path d=\"M3 4h8\" />",
|
|
17
|
+
"amenity-cable-car": "<path d=\"M10 3h.01\" /><path d=\"M14 2h.01\" /><path d=\"m2 9 20-5\" /><path d=\"M12 12V6.5\" /><rect width=\"16\" height=\"10\" x=\"4\" y=\"12\" rx=\"3\" /><path d=\"M9 12v5\" /><path d=\"M15 12v5\" /><path d=\"M4 17h16\" />",
|
|
18
|
+
"amenity-camping": "<path d=\"M3.5 21 14 3\" /><path d=\"M20.5 21 10 3\" /><path d=\"M15.5 21 12 15l-3.5 6\" /><path d=\"M2 21h20\" />",
|
|
19
|
+
"amenity-drinks": "<path d=\"M10 2v2\" /><path d=\"M14 2v2\" /><path d=\"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1\" /><path d=\"M6 2v2\" />",
|
|
20
|
+
"amenity-drop-bag": "<path d=\"M4 10a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z\" /><path d=\"M8 10h8\" /><path d=\"M8 18h8\" /><path d=\"M8 22v-6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v6\" /><path d=\"M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2\" />",
|
|
21
|
+
"amenity-first-aid": "<path d=\"M12 11v4\" /><path d=\"M14 13h-4\" /><path d=\"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2\" /><path d=\"M18 6v14\" /><path d=\"M6 6v14\" /><rect width=\"20\" height=\"14\" x=\"2\" y=\"6\" rx=\"2\" />",
|
|
22
|
+
"amenity-food": "<path d=\"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2\" /><path d=\"M7 2v20\" /><path d=\"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7\" />",
|
|
23
|
+
"amenity-hot-meal": "<path d=\"M11.248 3c.273.1.808.53.747 1.36-.05.83-.938 1.2-.989 2.02-.06.78.333 1.24.727 1.62\" /><path d=\"M16.252 3c.268.1.794.53.745 1.36-.06.83-.923 1.2-.993 2.02-.05.78.338 1.24.725 1.62\" /><path d=\"M19.5 12 22 6\" /><path d=\"M4 12a1 1 0 00-.99 1.133A9 9 0 0012 21a9 9 0 008.99-7.867A1 1 0 0020 12z\" /><path d=\"M6.252 3c.268.1.794.53.745 1.36-.06.83-.923 1.2-.993 2.02-.05.78.338 1.24.735 1.62\" /><path d=\"M7 21h10\" />",
|
|
24
|
+
"amenity-luggage-storage": "<path d=\"M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2\" /><path d=\"M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14\" /><path d=\"M10 20h4\" /><circle cx=\"16\" cy=\"20\" r=\"2\" /><circle cx=\"8\" cy=\"20\" r=\"2\" />",
|
|
25
|
+
"amenity-medical": "<path d=\"M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z\" />",
|
|
26
|
+
"amenity-mobile-signal": "<path d=\"M2 20h.01\" /><path d=\"M7 20v-4\" /><path d=\"M12 20v-8\" /><path d=\"M17 20V8\" /><path d=\"M22 4v16\" />",
|
|
27
|
+
"amenity-parking": "<path d=\"M9 12h4a2 2 0 0 0 0-4H9.5a.5.5 0 0 0-.5.5V16\" /><circle cx=\"12\" cy=\"12\" r=\"10\" />",
|
|
28
|
+
"amenity-pet-friendly": "<path d=\"M11.25 16.25h1.5L12 17z\" /><path d=\"M16 14v.5\" /><path d=\"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309\" /><path d=\"M8 14v.5\" /><path d=\"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5\" />",
|
|
29
|
+
"amenity-picnic": "<path d=\"M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z\" /><path d=\"M7 16v6\" /><path d=\"M13 19v3\" /><path d=\"M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5\" />",
|
|
30
|
+
"amenity-power-charging": "<path d=\"m11 7-3 5h4l-3 5\" /><path d=\"M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935\" /><path d=\"M22 14v-4\" /><path d=\"M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936\" />",
|
|
31
|
+
"amenity-public-transport": "<path d=\"M8 3.1V7a4 4 0 0 0 8 0V3.1\" /><path d=\"m9 15-1-1\" /><path d=\"m15 15 1-1\" /><path d=\"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z\" /><path d=\"m8 19-2 3\" /><path d=\"m16 19 2 3\" />",
|
|
32
|
+
"amenity-rest-area": "<path d=\"M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3\" /><path d=\"M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z\" /><path d=\"M5 18v2\" /><path d=\"M19 18v2\" />",
|
|
33
|
+
"amenity-shelter": "<path d=\"M12 13v7a2 2 0 0 0 4 0\" /><path d=\"M12 2v2\" /><path d=\"M20.992 13a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-19.923 0A1 1 0 0 0 3 13z\" />",
|
|
34
|
+
"amenity-shop": "<path d=\"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5\" /><path d=\"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244\" /><path d=\"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05\" />",
|
|
35
|
+
"amenity-showers": "<path d=\"m4 4 2.5 2.5\" /><path d=\"M13.5 6.5a4.95 4.95 0 0 0-7 7\" /><path d=\"M15 5 5 15\" /><path d=\"M14 17v.01\" /><path d=\"M10 16v.01\" /><path d=\"M13 13v.01\" /><path d=\"M16 10v.01\" /><path d=\"M11 20v.01\" /><path d=\"M17 14v.01\" /><path d=\"M20 11v.01\" />",
|
|
36
|
+
"amenity-shuttle": "<path d=\"M8 6v6\" /><path d=\"M15 6v6\" /><path d=\"M2 12h19.6\" /><path d=\"M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3\" /><circle cx=\"7\" cy=\"18\" r=\"2\" /><path d=\"M9 18h5\" /><circle cx=\"16\" cy=\"18\" r=\"2\" />",
|
|
37
|
+
"amenity-snacks": "<path d=\"M11 17h.01\" /><path d=\"M11.496 2c.324-.016.558.292.529.615a4 4 0 004.235 4.368.713.713 0 01.758.757 4 4 0 004.366 4.237c.323-.03.63.204.614.527a10 10 0 01-2.915 6.566A1 1 0 114.93 4.918 10 10 0 0111.496 2\" /><path d=\"M12 12h.01\" /><path d=\"M16 16h.01\" /><path d=\"M16 3h.01\" /><path d=\"M21 4h.01\" /><path d=\"M21 8h.01\" /><path d=\"M7 14h.01\" /><path d=\"M9 8h.01\" />",
|
|
38
|
+
"amenity-timing-checkpoint": "<line x1=\"10\" x2=\"14\" y1=\"2\" y2=\"2\" /><line x1=\"12\" x2=\"15\" y1=\"14\" y2=\"11\" /><circle cx=\"12\" cy=\"14\" r=\"8\" />",
|
|
39
|
+
"amenity-toilets": "<path d=\"M7 12h13a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-.598a.5.5 0 0 0-.424.765l1.544 2.47a.5.5 0 0 1-.424.765H5.402a.5.5 0 0 1-.424-.765L7 18\" /><path d=\"M8 18a5 5 0 0 1-5-5V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8\" />",
|
|
40
|
+
"amenity-viewpoint": "<path d=\"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0\" /><circle cx=\"12\" cy=\"12\" r=\"3\" />",
|
|
41
|
+
"amenity-waste": "<path d=\"M10 11v6\" /><path d=\"M14 11v6\" /><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" /><path d=\"M3 6h18\" /><path d=\"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" />",
|
|
42
|
+
"amenity-water": "<path d=\"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z\" />",
|
|
43
|
+
"amenity-wheelchair-access": "<circle cx=\"16\" cy=\"4\" r=\"1\" /><path d=\"m18 19 1-7-6 1\" /><path d=\"m5 8 3-3 5.5 3-2.36 3.5\" /><path d=\"M4.24 14.5a5 5 0 0 0 6.88 6\" /><path d=\"M13.76 17.5a5 5 0 0 0-6.88-6\" />",
|
|
44
|
+
"amenity-wifi": "<path d=\"M12 20h.01\" /><path d=\"M2 8.82a15 15 0 0 1 20 0\" /><path d=\"M5 12.859a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.429a5 5 0 0 1 7 0\" />",
|
|
45
|
+
"apartment-building": "<path d=\"M10 12h4\" /><path d=\"M10 8h4\" /><path d=\"M14 21v-3a2 2 0 0 0-4 0v3\" /><path d=\"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2\" /><path d=\"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16\" />",
|
|
46
|
+
ascent: "<path d=\"M16 7h6v6\" /><path d=\"m22 7-8.5 8.5-5-5L2 17\" />",
|
|
47
|
+
bed: "<path d=\"M2 4v16\" /><path d=\"M2 8h18a2 2 0 0 1 2 2v10\" /><path d=\"M2 17h20\" /><path d=\"M6 8v9\" />",
|
|
48
|
+
bus: "<path d=\"M8 6v6\" /><path d=\"M15 6v6\" /><path d=\"M2 12h19.6\" /><path d=\"M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3\" /><circle cx=\"7\" cy=\"18\" r=\"2\" /><path d=\"M9 18h5\" /><circle cx=\"16\" cy=\"18\" r=\"2\" />",
|
|
49
|
+
"cable-car": "<path d=\"M10 3h.01\" /><path d=\"M14 2h.01\" /><path d=\"m2 9 20-5\" /><path d=\"M12 12V6.5\" /><rect width=\"16\" height=\"10\" x=\"4\" y=\"12\" rx=\"3\" /><path d=\"M9 12v5\" /><path d=\"M15 12v5\" /><path d=\"M4 17h16\" />",
|
|
50
|
+
"camper-van": "<path d=\"M18 19V9a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v8a2 2 0 0 0 2 2h2\" /><path d=\"M2 9h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2\" /><path d=\"M22 17v1a1 1 0 0 1-1 1H10v-9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9\" /><circle cx=\"8\" cy=\"19\" r=\"2\" />",
|
|
51
|
+
campground: "<circle cx=\"4\" cy=\"4\" r=\"2\" /><path d=\"m14 5 3-3 3 3\" /><path d=\"m14 10 3-3 3 3\" /><path d=\"M17 14V2\" /><path d=\"M17 14H7l-5 8h20Z\" /><path d=\"M8 14v8\" /><path d=\"m9 14 5 8\" />",
|
|
52
|
+
camping: "<path d=\"M3.5 21 14 3\" /><path d=\"M20.5 21 10 3\" /><path d=\"M15.5 21 12 15l-3.5 6\" /><path d=\"M2 21h20\" />",
|
|
53
|
+
cart: "<path d=\"m2.05 2.05 1.099-.028a1 1 0 0 1 1.008.815l2.69 14.347A1 1 0 0 0 7.83 18H18\" /><path d=\"M4.563 5h16.435a1 1 0 0 1 .981 1.204l-1.026 6.226A2 2 0 0 1 18.962 14H6.25\" /><circle cx=\"18\" cy=\"20\" r=\"2\" /><circle cx=\"8\" cy=\"20\" r=\"2\" />",
|
|
54
|
+
"charging-station": "<path d=\"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5\" /><path d=\"M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16\" /><path d=\"M2 21h13\" /><path d=\"M3 7h11\" /><path d=\"m9 11-2 3h3l-2 3\" />",
|
|
55
|
+
"circle-check": "<circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"m16 9-5.5 5.5L8 12\" />",
|
|
56
|
+
"circle-info": "<circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"M12 16v-4\" /><path d=\"M12 8h.01\" />",
|
|
57
|
+
"circle-warning": "<circle cx=\"12\" cy=\"12\" r=\"10\" /><line x1=\"12\" x2=\"12\" y1=\"8\" y2=\"12\" /><line x1=\"12\" x2=\"12.01\" y1=\"16\" y2=\"16\" />",
|
|
58
|
+
climbing: "<path d=\"m8 3 4 8 5-5 5 15H2L8 3z\" /><path d=\"M4.14 15.08c2.62-1.57 5.24-1.43 7.86.42 2.74 1.94 5.49 2 8.23.19\" />",
|
|
59
|
+
clock: "<circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"M12 6v6l4 2\" />",
|
|
60
|
+
cutlery: "<path d=\"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2\" /><path d=\"M7 2v20\" /><path d=\"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7\" />",
|
|
61
|
+
descent: "<path d=\"M16 17h6v-6\" /><path d=\"m22 17-8.5-8.5-5 5L2 7\" />",
|
|
62
|
+
distance: "<path d=\"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z\" /><path d=\"m14.5 12.5 2-2\" /><path d=\"m11.5 9.5 2-2\" /><path d=\"m8.5 6.5 2-2\" /><path d=\"m17.5 15.5 2-2\" />",
|
|
63
|
+
droplet: "<path d=\"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z\" />",
|
|
64
|
+
duration: "<line x1=\"10\" x2=\"14\" y1=\"2\" y2=\"2\" /><line x1=\"12\" x2=\"15\" y1=\"14\" y2=\"11\" /><circle cx=\"12\" cy=\"14\" r=\"8\" />",
|
|
65
|
+
eye: "<path d=\"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0\" /><circle cx=\"12\" cy=\"12\" r=\"3\" />",
|
|
66
|
+
flag: "<path d=\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\" />",
|
|
67
|
+
"flag-end": "<path d=\"M6 22V2.8a.8.8 0 0 1 1.17-.71l11.38 5.69a.8.8 0 0 1 0 1.44L6 15.5\" />",
|
|
68
|
+
"flag-start": "<path d=\"M18 22V2.8a.8.8 0 0 0-1.17-.71L5.45 7.78a.8.8 0 0 0 0 1.44L18 15.5\" />",
|
|
69
|
+
gate: "<path d=\"M4 3 2 5v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z\" /><path d=\"M6 8h4\" /><path d=\"M6 18h4\" /><path d=\"m12 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z\" /><path d=\"M14 8h4\" /><path d=\"M14 18h4\" /><path d=\"m20 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z\" />",
|
|
70
|
+
helicopter: "<path d=\"M2 22h20\" /><path d=\"M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z\" />",
|
|
71
|
+
hut: "<path d=\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\" /><path d=\"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />",
|
|
72
|
+
ladder: "<path d=\"m17 11-5-5-5 5\" /><path d=\"m17 18-5-5-5 5\" />",
|
|
73
|
+
"map-pin": "<path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\" /><circle cx=\"12\" cy=\"10\" r=\"3\" />",
|
|
74
|
+
"medical-cross": "<path d=\"M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z\" />",
|
|
75
|
+
megaphone: "<path d=\"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z\" /><path d=\"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14\" /><path d=\"M8 6v8\" />",
|
|
76
|
+
mountain: "<path d=\"m8 3 4 8 5-5 5 15H2L8 3z\" />",
|
|
77
|
+
"parking-sign": "<path d=\"M9 12h4a2 2 0 0 0 0-4H9.5a.5.5 0 0 0-.5.5V16\" /><circle cx=\"12\" cy=\"12\" r=\"10\" />",
|
|
78
|
+
pass: "<path d=\"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z\" />",
|
|
79
|
+
picnic: "<path d=\"M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z\" /><path d=\"M7 16v6\" /><path d=\"M13 19v3\" /><path d=\"M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5\" />",
|
|
80
|
+
point: "<circle cx=\"12\" cy=\"12\" r=\"1\" /><circle cx=\"12\" cy=\"12\" r=\"10\" />",
|
|
81
|
+
"road-access-forbidden": "<circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"M4.929 4.929 19.07 19.071\" />",
|
|
82
|
+
"road-access-local-access": "<path d=\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\" /><path d=\"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />",
|
|
83
|
+
"road-access-permit": "<path d=\"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z\" /><path d=\"M13 5v2\" /><path d=\"M13 17v2\" /><path d=\"M13 11v2\" />",
|
|
84
|
+
"road-access-private": "<rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\" /><path d=\"M7 11V7a5 5 0 0 1 10 0v4\" />",
|
|
85
|
+
"road-access-restricted": "<path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\" /><path d=\"M12 9v4\" /><path d=\"M12 17h.01\" />",
|
|
86
|
+
"road-access-service": "<path d=\"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z\" />",
|
|
87
|
+
shop: "<path d=\"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5\" /><path d=\"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244\" /><path d=\"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05\" />",
|
|
88
|
+
shower: "<path d=\"m4 4 2.5 2.5\" /><path d=\"M13.5 6.5a4.95 4.95 0 0 0-7 7\" /><path d=\"M15 5 5 15\" /><path d=\"M14 17v.01\" /><path d=\"M10 16v.01\" /><path d=\"M13 13v.01\" /><path d=\"M16 10v.01\" /><path d=\"M11 20v.01\" /><path d=\"M17 14v.01\" /><path d=\"M20 11v.01\" />",
|
|
89
|
+
signal: "<path d=\"M4.9 16.1C1 12.2 1 5.8 4.9 1.9\" /><path d=\"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5\" /><circle cx=\"12\" cy=\"9\" r=\"2\" /><path d=\"M16.2 4.8c2 2 2.26 5.11.8 7.47\" /><path d=\"M19.1 1.9a9.96 9.96 0 0 1 0 14.1\" /><path d=\"M9.5 18h5\" /><path d=\"m8 22 4-11 4 11\" />",
|
|
90
|
+
split: "<path d=\"M16 3h5v5\" /><path d=\"M8 3H3v5\" /><path d=\"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3\" /><path d=\"m15 9 6-6\" />",
|
|
91
|
+
toilet: "<path d=\"M7 12h13a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-.598a.5.5 0 0 0-.424.765l1.544 2.47a.5.5 0 0 1-.424.765H5.402a.5.5 0 0 1-.424-.765L7 18\" /><path d=\"M8 18a5 5 0 0 1-5-5V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8\" />",
|
|
92
|
+
train: "<path d=\"M8 3.1V7a4 4 0 0 0 8 0V3.1\" /><path d=\"m9 15-1-1\" /><path d=\"m15 15 1-1\" /><path d=\"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z\" /><path d=\"m8 19-2 3\" /><path d=\"m16 19 2 3\" />",
|
|
93
|
+
tram: "<rect width=\"16\" height=\"16\" x=\"4\" y=\"3\" rx=\"2\" /><path d=\"M4 11h16\" /><path d=\"M12 3v8\" /><path d=\"m8 19-2 3\" /><path d=\"m18 22-2-3\" /><path d=\"M8 15h.01\" /><path d=\"M16 15h.01\" />",
|
|
94
|
+
trash: "<path d=\"M10 11v6\" /><path d=\"M14 11v6\" /><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" /><path d=\"M3 6h18\" /><path d=\"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" />",
|
|
95
|
+
trophy: "<path d=\"M10 14.66V17a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2\" /><path d=\"M14 14.66V17a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2\" /><path d=\"M17.916 10H19.5A2.5 2.5 0 0 0 22 7.5V5a1 1 0 0 0-1-1h-3\" /><path d=\"M4 22h16\" /><path d=\"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z\" /><path d=\"M6.084 10H4.5A2.5 2.5 0 0 1 2 7.5V5a1 1 0 0 1 1-1h3\" />",
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* lucideIconProvider is the default marker glyph set: ISC-licensed, redistributable,
|
|
100
|
+
* and bundled, so a map renders markers with no licence to arrange and nothing to fetch.
|
|
101
|
+
*
|
|
102
|
+
* Annotated pure so a bundler may drop it, and the path data behind it, from any entry that
|
|
103
|
+
* never names it. The call allocates and returns; it reads nothing outside its argument and
|
|
104
|
+
* writes nothing, so the annotation is a statement of fact rather than a hint.
|
|
105
|
+
*/
|
|
106
|
+
export const lucideIconProvider: IconProvider = /*#__PURE__*/ createIconProvider({
|
|
107
|
+
name: "lucide",
|
|
108
|
+
markup: lucideMarkup,
|
|
109
|
+
paint: "stroke",
|
|
110
|
+
strokeWidth: 2,
|
|
111
|
+
viewBox: 24,
|
|
112
|
+
});
|