@performant-software/geospatial 3.1.22-beta.0 → 3.1.22-beta.10
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/dist/index.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -7
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +7 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +1 -1
- package/dist/index.cjs271.js.map +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs78.js +743 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs80.js +1 -9
- package/dist/index.cjs80.js.map +1 -1
- package/dist/index.cjs81.js +1 -17
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.cjs82.js +9 -1
- package/dist/index.cjs82.js.map +1 -1
- package/dist/index.cjs83.js +17 -1
- package/dist/index.cjs83.js.map +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs84.js.map +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs85.js.map +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs86.js.map +1 -1
- package/dist/index.cjs87.js +1 -743
- package/dist/index.cjs87.js.map +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs88.js.map +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es101.js +1 -1
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es104.js +1 -1
- package/dist/index.es105.js +1 -1
- package/dist/index.es106.js +1 -1
- package/dist/index.es107.js +1 -1
- package/dist/index.es110.js +1 -1
- package/dist/index.es111.js +1 -1
- package/dist/index.es113.js +3 -3
- package/dist/index.es114.js +1 -1
- package/dist/index.es115.js +2 -2
- package/dist/index.es116.js +1 -1
- package/dist/index.es121.js +1 -1
- package/dist/index.es122.js +1 -1
- package/dist/index.es123.js +1 -1
- package/dist/index.es124.js +1 -1
- package/dist/index.es127.js +2 -2
- package/dist/index.es128.js +2 -2
- package/dist/index.es129.js +1 -1
- package/dist/index.es13.js +32 -31
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es133.js +2 -2
- package/dist/index.es136.js +1 -1
- package/dist/index.es14.js +5 -1
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es140.js +1 -1
- package/dist/index.es143.js +1 -1
- package/dist/index.es15.js +1 -1
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es153.js +1 -1
- package/dist/index.es154.js +2 -2
- package/dist/index.es155.js +1 -1
- package/dist/index.es156.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +4 -4
- package/dist/index.es160.js +2 -2
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +2 -2
- package/dist/index.es166.js +2 -2
- package/dist/index.es167.js +1 -1
- package/dist/index.es17.js +3 -3
- package/dist/index.es170.js +2 -2
- package/dist/index.es171.js +2 -2
- package/dist/index.es173.js +2 -2
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +2 -2
- package/dist/index.es176.js +1 -1
- package/dist/index.es177.js +2 -2
- package/dist/index.es178.js +1 -1
- package/dist/index.es179.js +1 -1
- package/dist/index.es18.js +3 -3
- package/dist/index.es180.js +1 -1
- package/dist/index.es186.js +1 -1
- package/dist/index.es187.js +2 -2
- package/dist/index.es188.js +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es193.js +146 -16
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +16 -146
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es196.js +2 -2
- package/dist/index.es197.js +1 -1
- package/dist/index.es198.js +1 -1
- package/dist/index.es199.js +2 -2
- package/dist/index.es20.js +1 -1
- package/dist/index.es201.js +3 -3
- package/dist/index.es202.js +1 -1
- package/dist/index.es203.js +1 -1
- package/dist/index.es204.js +1 -1
- package/dist/index.es206.js +2 -2
- package/dist/index.es207.js +3 -3
- package/dist/index.es209.js +7 -242
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es210.js +4 -42
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +4 -3
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +3 -11
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +3 -11
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +8 -30
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +18 -13
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +20 -4
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +12 -7506
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +15 -2
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +5 -7
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +7 -4
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +7 -4
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +22 -3
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +10 -3
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +9 -9
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +4 -19
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +10 -20
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +7 -12
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +20 -14
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +10 -5
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es230.js +17 -7
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +4 -7
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +16 -20
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +10 -8
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +4 -9
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +4 -3
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +7506 -10
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +2 -8
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +242 -20
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +41 -9
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +3 -18
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +10 -3
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +10 -17
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +30 -11
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +13 -3
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +4 -4
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +3 -21
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +5 -22
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +7 -24
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +23 -15
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es250.js +15 -29
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +29 -20
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +21 -74
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +72 -18
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +19 -39
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +36 -45
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +49 -7
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +7 -20
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +18 -63
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +64 -41
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +41 -62
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +62 -7
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +8 -3
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +3 -12
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +11 -58
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +57 -47
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +50 -3
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +19 -4
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +22 -7
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es270.js +15 -4
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +69 -15
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +4 -69
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es29.js +2 -2
- package/dist/index.es32.js +2 -2
- package/dist/index.es34.js +2 -2
- package/dist/index.es35.js +2 -2
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es40.js +2 -2
- package/dist/index.es42.js +2 -2
- package/dist/index.es43.js +2 -2
- package/dist/index.es44.js +2 -2
- package/dist/index.es46.js +1 -1
- package/dist/index.es47.js +2 -2
- package/dist/index.es48.js +2 -2
- package/dist/index.es50.js +1 -1
- package/dist/index.es51.js +1 -1
- package/dist/index.es52.js +1 -1
- package/dist/index.es56.js +2 -2
- package/dist/index.es57.js +3 -3
- package/dist/index.es58.js +1 -1
- package/dist/index.es60.js +1 -1
- package/dist/index.es61.js +1 -1
- package/dist/index.es63.js +1 -1
- package/dist/index.es69.js +1 -1
- package/dist/index.es71.js +1 -1
- package/dist/index.es72.js +1 -1
- package/dist/index.es73.js +1 -1
- package/dist/index.es75.js +1 -1
- package/dist/index.es76.js +1 -1
- package/dist/index.es78.js +21351 -7
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es80.js +7 -25
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +2 -589
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js +25 -1992
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js +588 -5
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es84.js +1993 -2
- package/dist/index.es84.js.map +1 -1
- package/dist/index.es85.js +5 -105
- package/dist/index.es85.js.map +1 -1
- package/dist/index.es86.js +2 -10
- package/dist/index.es86.js.map +1 -1
- package/dist/index.es87.js +104 -21350
- package/dist/index.es87.js.map +1 -1
- package/dist/index.es88.js +10 -2
- package/dist/index.es88.js.map +1 -1
- package/dist/index.es92.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +4 -1
- package/src/components/CertaintyLayer.js +0 -42
- package/src/components/DrawControl.js +0 -43
- package/src/components/GeoJsonLayer.js +0 -44
- package/src/components/GeocodingControl.css +0 -3
- package/src/components/GeocodingControl.js +0 -34
- package/src/components/LayerMenu.css +0 -38
- package/src/components/LayerMenu.js +0 -162
- package/src/components/LocationMarkers.js +0 -163
- package/src/components/MapControl.js +0 -120
- package/src/components/MapDraw.css +0 -2
- package/src/components/MapDraw.js +0 -268
- package/src/components/RasterLayer.js +0 -38
- package/src/components/WarpedImageLayer.js +0 -72
- package/src/components/WarpedImageLayerPeripleo.js +0 -56
- package/src/index.js +0 -18
- package/src/utils/Map.js +0 -258
- package/src/utils/MapStyles.js +0 -44
- package/types/components/CertaintyLayer.js.flow +0 -42
- package/types/components/DrawControl.js.flow +0 -43
- package/types/components/GeoJsonLayer.js.flow +0 -44
- package/types/components/GeocodingControl.js.flow +0 -34
- package/types/components/LayerMenu.js.flow +0 -162
- package/types/components/LocationMarkers.js.flow +0 -163
- package/types/components/MapCertaintyControl.js.flow +0 -71
- package/types/components/MapControl.js.flow +0 -120
- package/types/components/MapDraw.js.flow +0 -268
- package/types/components/RasterLayer.js.flow +0 -38
- package/types/components/WarpedImageLayer.js.flow +0 -72
- package/types/components/WarpedImageLayerPeripleo.js.flow +0 -56
- package/types/index.js.flow +0 -18
- package/types/utils/Map.js.flow +0 -258
- package/types/utils/MapStyles.js.flow +0 -44
- package/vite.config.js +0 -40
package/dist/index.cjs237.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs237.js.map
|
package/dist/index.cjs237.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs237.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs237.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs238.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const d=require("./index.cjs267.js"),p=require("./index.cjs268.js"),i=require("./index.cjs243.js"),c={version:8,sources:{},layers:[]},u={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},h={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},m={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},f=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],v=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class l{constructor(t,o,a){this._map=null,this._internalUpdate=!1,this._hoveredFeatures=null,this._propsedCameraUpdate=null,this._styleComponents={},this._onEvent=e=>{const s=this.props[m[e.type]];s?s(e):e.type==="error"&&console.error(e.error)},this._onCameraEvent=e=>{if(this._internalUpdate)return;e.viewState=this._propsedCameraUpdate||d.transformToViewState(this._map.transform);const s=this.props[h[e.type]];s&&s(e)},this._onCameraUpdate=e=>this._internalUpdate?e:(this._propsedCameraUpdate=d.transformToViewState(e),d.applyViewStateToTransform(e,this.props)),this._onPointerEvent=e=>{(e.type==="mousemove"||e.type==="mouseout")&&this._updateHover(e);const s=this.props[u[e.type]];s&&(this.props.interactiveLayerIds&&e.type!=="mouseover"&&e.type!=="mouseout"&&(e.features=this._hoveredFeatures||this._queryRenderedFeatures(e.point)),s(e),delete e.features)},this._MapClass=t,this.props=o,this._initialize(a)}get map(){return this._map}setProps(t){const o=this.props;this.props=t;const a=this._updateSettings(t,o),e=this._updateSize(t),s=this._updateViewState(t);this._updateStyle(t,o),this._updateStyleComponents(t),this._updateHandlers(t,o),(a||e||s&&!this._map.isMoving())&&this.redraw()}static reuse(t,o){const a=l.savedMaps.pop();if(!a)return null;const e=a.map,s=e.getContainer();for(o.className=s.className;s.childNodes.length>0;)o.appendChild(s.childNodes[0]);e._container=o;const n=e._resizeObserver;n&&(n.disconnect(),n.observe(o)),a.setProps({...t,styleDiffing:!1}),e.resize();const{initialViewState:r}=t;return r&&(r.bounds?e.fitBounds(r.bounds,{...r.fitBoundsOptions,duration:0}):a._updateViewState(r)),e.isStyleLoaded()?e.fire("load"):e.once("style.load",()=>e.fire("load")),e._update(),a}_initialize(t){const{props:o}=this,{mapStyle:a=c}=o,e={...o,...o.initialViewState,container:t,style:p.normalizeStyle(a)},s=e.initialViewState||e.viewState||e;if(Object.assign(e,{center:[s.longitude||0,s.latitude||0],zoom:s.zoom||0,pitch:s.pitch||0,bearing:s.bearing||0}),o.gl){const r=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=r,o.gl)}const n=new this._MapClass(e);s.padding&&n.setPadding(s.padding),o.cursor&&(n.getCanvas().style.cursor=o.cursor),n.transformCameraUpdate=this._onCameraUpdate,n.on("style.load",()=>{this._styleComponents={light:n.getLight(),sky:n.getSky(),projection:n.getProjection?.(),terrain:n.getTerrain()},this._updateStyleComponents(this.props)}),n.on("sourcedata",()=>{this._updateStyleComponents(this.props)});for(const r in u)n.on(r,this._onPointerEvent);for(const r in h)n.on(r,this._onCameraEvent);for(const r in m)n.on(r,this._onEvent);this._map=n}recycle(){this.map.getContainer().querySelector("[mapboxgl-children]")?.remove(),l.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const t=this._map;t.style&&(t._frame&&(t._frame.cancel(),t._frame=null),t._render())}_updateSize(t){const{viewState:o}=t;if(o){const a=this._map;if(o.width!==a.transform.width||o.height!==a.transform.height)return a.resize(),!0}return!1}_updateViewState(t){const o=this._map,a=o.transform;if(!o.isMoving()){const s=d.applyViewStateToTransform(a,t);if(Object.keys(s).length>0)return this._internalUpdate=!0,o.jumpTo(s),this._internalUpdate=!1,!0}return!1}_updateSettings(t,o){const a=this._map;let e=!1;for(const s of f)s in t&&!i.deepEqual(t[s],o[s])&&(e=!0,a[`set${s[0].toUpperCase()}${s.slice(1)}`]?.call(a,t[s]));return e}_updateStyle(t,o){if(t.cursor!==o.cursor&&(this._map.getCanvas().style.cursor=t.cursor||""),t.mapStyle!==o.mapStyle){const{mapStyle:a=c,styleDiffing:e=!0}=t,s={diff:e};"localIdeographFontFamily"in t&&(s.localIdeographFontFamily=t.localIdeographFontFamily),this._map.setStyle(p.normalizeStyle(a),s)}}_updateStyleComponents({light:t,projection:o,sky:a,terrain:e}){const s=this._map,n=this._styleComponents;s.style._loaded&&(t&&!i.deepEqual(t,n.light)&&(n.light=t,s.setLight(t)),o&&!i.deepEqual(o,n.projection)&&o!==n.projection?.type&&(n.projection=typeof o=="string"?{type:o}:o,s.setProjection?.(n.projection)),a&&!i.deepEqual(a,n.sky)&&(n.sky=a,s.setSky(a)),e!==void 0&&!i.deepEqual(e,n.terrain)&&(!e||s.getSource(e.source))&&(n.terrain=e,s.setTerrain(e)))}_updateHandlers(t,o){const a=this._map;for(const e of v){const s=t[e]??!0,n=o[e]??!0;i.deepEqual(s,n)||(s?a[e].enable(s):a[e].disable())}}_queryRenderedFeatures(t){const o=this._map,{interactiveLayerIds:a=[]}=this.props;try{return o.queryRenderedFeatures(t,{layers:a.filter(o.getLayer.bind(o))})}catch{return[]}}_updateHover(t){const{props:o}=this;if(o.interactiveLayerIds&&(o.onMouseMove||o.onMouseEnter||o.onMouseLeave)){const e=t.type,s=this._hoveredFeatures?.length>0,n=this._queryRenderedFeatures(t.point),r=n.length>0;!r&&s&&(t.type="mouseleave",this._onPointerEvent(t)),this._hoveredFeatures=n,r&&!s&&(t.type="mouseenter",this._onPointerEvent(t)),t.type=e}else this._hoveredFeatures=null}}l.savedMaps=[];module.exports=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs238.js.map
|
package/dist/index.cjs238.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs238.js","sources":["../node_modules/underscore/modules/_flatten.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport isArrayLike from './_isArrayLike.js';\nimport isArray from './isArray.js';\nimport isArguments from './isArguments.js';\n\n// Internal implementation of a recursive `flatten` function.\nexport default function flatten(input, depth, strict, output) {\n output = output || [];\n if (!depth && depth !== 0) {\n depth = Infinity;\n } else if (depth <= 0) {\n return output.concat(input);\n }\n var idx = output.length;\n for (var i = 0, length = getLength(input); i < length; i++) {\n var value = input[i];\n if (isArrayLike(value) && (isArray(value) || isArguments(value))) {\n // Flatten current level of array or arguments object.\n if (depth > 1) {\n flatten(value, depth - 1, strict, output);\n idx = output.length;\n } else {\n var j = 0, len = value.length;\n while (j < len) output[idx++] = value[j++];\n }\n } else if (!strict) {\n output[idx++] = value;\n }\n }\n return output;\n}\n"],"names":["flatten","input","depth","strict","output","idx","i","length","getLength","value","isArrayLike","isArray","isArguments","j","len"],"mappings":"8IAMA,SAAwBA,EAAQC,EAAOC,EAAOC,EAAQC,EAAQ,CAE5D,GADAA,EAASA,GAAU,CAAA,EACf,CAACF,GAASA,IAAU,EACtBA,EAAQ,YACCA,GAAS,EAClB,OAAOE,EAAO,OAAOH,CAAK,EAG5B,QADII,EAAMD,EAAO,OACRE,EAAI,EAAGC,EAASC,EAAUP,CAAK,EAAGK,EAAIC,EAAQD,IAAK,CAC1D,IAAIG,EAAQR,EAAMK,CAAC,EACnB,GAAII,EAAYD,CAAK,IAAME,EAAQF,CAAK,GAAKG,EAAYH,CAAK,GAE5D,GAAIP,EAAQ,EACVF,EAAQS,EAAOP,EAAQ,EAAGC,EAAQC,CAAM,EACxCC,EAAMD,EAAO,WAGb,SADIS,EAAI,EAAGC,EAAML,EAAM,OAChBI,EAAIC,GAAKV,EAAOC,GAAK,EAAII,EAAMI,GAAG,OAEjCV,IACVC,EAAOC,GAAK,EAAII,EAEpB,CACA,OAAOL,CACT","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs238.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/maplibre/maplibre.js"],"sourcesContent":["import { transformToViewState, applyViewStateToTransform } from \"../utils/transform.js\";\nimport { normalizeStyle } from \"../utils/style-utils.js\";\nimport { deepEqual } from \"../utils/deep-equal.js\";\nconst DEFAULT_STYLE = { version: 8, sources: {}, layers: [] };\nconst pointerEvents = {\n mousedown: 'onMouseDown',\n mouseup: 'onMouseUp',\n mouseover: 'onMouseOver',\n mousemove: 'onMouseMove',\n click: 'onClick',\n dblclick: 'onDblClick',\n mouseenter: 'onMouseEnter',\n mouseleave: 'onMouseLeave',\n mouseout: 'onMouseOut',\n contextmenu: 'onContextMenu',\n touchstart: 'onTouchStart',\n touchend: 'onTouchEnd',\n touchmove: 'onTouchMove',\n touchcancel: 'onTouchCancel'\n};\nconst cameraEvents = {\n movestart: 'onMoveStart',\n move: 'onMove',\n moveend: 'onMoveEnd',\n dragstart: 'onDragStart',\n drag: 'onDrag',\n dragend: 'onDragEnd',\n zoomstart: 'onZoomStart',\n zoom: 'onZoom',\n zoomend: 'onZoomEnd',\n rotatestart: 'onRotateStart',\n rotate: 'onRotate',\n rotateend: 'onRotateEnd',\n pitchstart: 'onPitchStart',\n pitch: 'onPitch',\n pitchend: 'onPitchEnd'\n};\nconst otherEvents = {\n wheel: 'onWheel',\n boxzoomstart: 'onBoxZoomStart',\n boxzoomend: 'onBoxZoomEnd',\n boxzoomcancel: 'onBoxZoomCancel',\n resize: 'onResize',\n load: 'onLoad',\n render: 'onRender',\n idle: 'onIdle',\n remove: 'onRemove',\n data: 'onData',\n styledata: 'onStyleData',\n sourcedata: 'onSourceData',\n error: 'onError'\n};\nconst settingNames = [\n 'minZoom',\n 'maxZoom',\n 'minPitch',\n 'maxPitch',\n 'maxBounds',\n 'projection',\n 'renderWorldCopies'\n];\nconst handlerNames = [\n 'scrollZoom',\n 'boxZoom',\n 'dragRotate',\n 'dragPan',\n 'keyboard',\n 'doubleClickZoom',\n 'touchZoomRotate',\n 'touchPitch'\n];\n/**\n * A wrapper for mapbox-gl's Map class\n */\nclass Maplibre {\n constructor(MapClass, props, container) {\n // mapboxgl.Map instance\n this._map = null;\n // Internal states\n this._internalUpdate = false;\n this._hoveredFeatures = null;\n this._propsedCameraUpdate = null;\n this._styleComponents = {};\n this._onEvent = (e) => {\n // @ts-ignore\n const cb = this.props[otherEvents[e.type]];\n if (cb) {\n cb(e);\n }\n else if (e.type === 'error') {\n console.error(e.error); // eslint-disable-line\n }\n };\n this._onCameraEvent = (e) => {\n if (this._internalUpdate) {\n return;\n }\n e.viewState = this._propsedCameraUpdate || transformToViewState(this._map.transform);\n // @ts-ignore\n const cb = this.props[cameraEvents[e.type]];\n if (cb) {\n cb(e);\n }\n };\n this._onCameraUpdate = (tr) => {\n if (this._internalUpdate) {\n return tr;\n }\n this._propsedCameraUpdate = transformToViewState(tr);\n return applyViewStateToTransform(tr, this.props);\n };\n this._onPointerEvent = (e) => {\n if (e.type === 'mousemove' || e.type === 'mouseout') {\n this._updateHover(e);\n }\n // @ts-ignore\n const cb = this.props[pointerEvents[e.type]];\n if (cb) {\n if (this.props.interactiveLayerIds && e.type !== 'mouseover' && e.type !== 'mouseout') {\n e.features = this._hoveredFeatures || this._queryRenderedFeatures(e.point);\n }\n cb(e);\n delete e.features;\n }\n };\n this._MapClass = MapClass;\n this.props = props;\n this._initialize(container);\n }\n get map() {\n return this._map;\n }\n setProps(props) {\n const oldProps = this.props;\n this.props = props;\n const settingsChanged = this._updateSettings(props, oldProps);\n const sizeChanged = this._updateSize(props);\n const viewStateChanged = this._updateViewState(props);\n this._updateStyle(props, oldProps);\n this._updateStyleComponents(props);\n this._updateHandlers(props, oldProps);\n // If 1) view state has changed to match props and\n // 2) the props change is not triggered by map events,\n // it's driven by an external state change. Redraw immediately\n if (settingsChanged || sizeChanged || (viewStateChanged && !this._map.isMoving())) {\n this.redraw();\n }\n }\n static reuse(props, container) {\n const that = Maplibre.savedMaps.pop();\n if (!that) {\n return null;\n }\n const map = that.map;\n // When reusing the saved map, we need to reparent the map(canvas) and other child nodes\n // intoto the new container from the props.\n // Step 1: reparenting child nodes from old container to new container\n const oldContainer = map.getContainer();\n container.className = oldContainer.className;\n while (oldContainer.childNodes.length > 0) {\n container.appendChild(oldContainer.childNodes[0]);\n }\n // Step 2: replace the internal container with new container from the react component\n // @ts-ignore\n map._container = container;\n // With maplibre-gl as mapLib, map uses ResizeObserver to observe when its container resizes.\n // When reusing the saved map, we need to disconnect the observer and observe the new container.\n // Step 3: telling the ResizeObserver to disconnect and observe the new container\n // @ts-ignore\n const resizeObserver = map._resizeObserver;\n if (resizeObserver) {\n resizeObserver.disconnect();\n resizeObserver.observe(container);\n }\n // Step 4: apply new props\n that.setProps({ ...props, styleDiffing: false });\n map.resize();\n const { initialViewState } = props;\n if (initialViewState) {\n if (initialViewState.bounds) {\n map.fitBounds(initialViewState.bounds, { ...initialViewState.fitBoundsOptions, duration: 0 });\n }\n else {\n that._updateViewState(initialViewState);\n }\n }\n // Simulate load event\n if (map.isStyleLoaded()) {\n map.fire('load');\n }\n else {\n map.once('style.load', () => map.fire('load'));\n }\n // Force reload\n // @ts-ignore\n map._update();\n return that;\n }\n /* eslint-disable complexity,max-statements */\n _initialize(container) {\n const { props } = this;\n const { mapStyle = DEFAULT_STYLE } = props;\n const mapOptions = {\n ...props,\n ...props.initialViewState,\n container,\n style: normalizeStyle(mapStyle)\n };\n const viewState = mapOptions.initialViewState || mapOptions.viewState || mapOptions;\n Object.assign(mapOptions, {\n center: [viewState.longitude || 0, viewState.latitude || 0],\n zoom: viewState.zoom || 0,\n pitch: viewState.pitch || 0,\n bearing: viewState.bearing || 0\n });\n if (props.gl) {\n // eslint-disable-next-line\n const getContext = HTMLCanvasElement.prototype.getContext;\n // Hijack canvas.getContext to return our own WebGLContext\n // This will be called inside the mapboxgl.Map constructor\n // @ts-expect-error\n HTMLCanvasElement.prototype.getContext = () => {\n // Unhijack immediately\n HTMLCanvasElement.prototype.getContext = getContext;\n return props.gl;\n };\n }\n const map = new this._MapClass(mapOptions);\n // Props that are not part of constructor options\n if (viewState.padding) {\n map.setPadding(viewState.padding);\n }\n if (props.cursor) {\n map.getCanvas().style.cursor = props.cursor;\n }\n // add listeners\n map.transformCameraUpdate = this._onCameraUpdate;\n map.on('style.load', () => {\n // Map style has changed, this would have wiped out all settings from props\n this._styleComponents = {\n light: map.getLight(),\n sky: map.getSky(),\n // @ts-ignore getProjection() does not exist in v4\n projection: map.getProjection?.(),\n terrain: map.getTerrain()\n };\n this._updateStyleComponents(this.props);\n });\n map.on('sourcedata', () => {\n // Some sources have loaded, we may need them to attach terrain\n this._updateStyleComponents(this.props);\n });\n for (const eventName in pointerEvents) {\n map.on(eventName, this._onPointerEvent);\n }\n for (const eventName in cameraEvents) {\n map.on(eventName, this._onCameraEvent);\n }\n for (const eventName in otherEvents) {\n map.on(eventName, this._onEvent);\n }\n this._map = map;\n }\n /* eslint-enable complexity,max-statements */\n recycle() {\n // Clean up unnecessary elements before storing for reuse.\n const container = this.map.getContainer();\n const children = container.querySelector('[mapboxgl-children]');\n children?.remove();\n Maplibre.savedMaps.push(this);\n }\n destroy() {\n this._map.remove();\n }\n // Force redraw the map now. Typically resize() and jumpTo() is reflected in the next\n // render cycle, which is managed by Mapbox's animation loop.\n // This removes the synchronization issue caused by requestAnimationFrame.\n redraw() {\n const map = this._map;\n // map._render will throw error if style does not exist\n // https://github.com/mapbox/mapbox-gl-js/blob/fb9fc316da14e99ff4368f3e4faa3888fb43c513\n // /src/ui/map.js#L1834\n if (map.style) {\n // cancel the scheduled update\n if (map._frame) {\n map._frame.cancel();\n map._frame = null;\n }\n // the order is important - render() may schedule another update\n map._render();\n }\n }\n /* Trigger map resize if size is controlled\n @param {object} nextProps\n @returns {bool} true if size has changed\n */\n _updateSize(nextProps) {\n // Check if size is controlled\n const { viewState } = nextProps;\n if (viewState) {\n const map = this._map;\n if (viewState.width !== map.transform.width || viewState.height !== map.transform.height) {\n map.resize();\n return true;\n }\n }\n return false;\n }\n // Adapted from map.jumpTo\n /* Update camera to match props\n @param {object} nextProps\n @param {bool} triggerEvents - should fire camera events\n @returns {bool} true if anything is changed\n */\n _updateViewState(nextProps) {\n const map = this._map;\n const tr = map.transform;\n const isMoving = map.isMoving();\n // Avoid manipulating the real transform when interaction/animation is ongoing\n // as it would interfere with Mapbox's handlers\n if (!isMoving) {\n const changes = applyViewStateToTransform(tr, nextProps);\n if (Object.keys(changes).length > 0) {\n this._internalUpdate = true;\n map.jumpTo(changes);\n this._internalUpdate = false;\n return true;\n }\n }\n return false;\n }\n /* Update camera constraints and projection settings to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if anything is changed\n */\n _updateSettings(nextProps, currProps) {\n const map = this._map;\n let changed = false;\n for (const propName of settingNames) {\n if (propName in nextProps && !deepEqual(nextProps[propName], currProps[propName])) {\n changed = true;\n const setter = map[`set${propName[0].toUpperCase()}${propName.slice(1)}`];\n setter?.call(map, nextProps[propName]);\n }\n }\n return changed;\n }\n /* Update map style to match props */\n _updateStyle(nextProps, currProps) {\n if (nextProps.cursor !== currProps.cursor) {\n this._map.getCanvas().style.cursor = nextProps.cursor || '';\n }\n if (nextProps.mapStyle !== currProps.mapStyle) {\n const { mapStyle = DEFAULT_STYLE, styleDiffing = true } = nextProps;\n const options = {\n diff: styleDiffing\n };\n if ('localIdeographFontFamily' in nextProps) {\n // @ts-ignore Mapbox specific prop\n options.localIdeographFontFamily = nextProps.localIdeographFontFamily;\n }\n this._map.setStyle(normalizeStyle(mapStyle), options);\n }\n }\n /* Update fog, light, projection and terrain to match props\n * These props are special because\n * 1. They can not be applied right away. Certain conditions (style loaded, source loaded, etc.) must be met\n * 2. They can be overwritten by mapStyle\n */\n _updateStyleComponents({ light, projection, sky, terrain }) {\n const map = this._map;\n const currProps = this._styleComponents;\n // We can safely manipulate map style once it's loaded\n if (map.style._loaded) {\n if (light && !deepEqual(light, currProps.light)) {\n currProps.light = light;\n map.setLight(light);\n }\n if (projection &&\n !deepEqual(projection, currProps.projection) &&\n projection !== currProps.projection?.type) {\n currProps.projection = typeof projection === 'string' ? { type: projection } : projection;\n // @ts-ignore setProjection does not exist in v4\n map.setProjection?.(currProps.projection);\n }\n if (sky && !deepEqual(sky, currProps.sky)) {\n currProps.sky = sky;\n map.setSky(sky);\n }\n if (terrain !== undefined && !deepEqual(terrain, currProps.terrain)) {\n if (!terrain || map.getSource(terrain.source)) {\n currProps.terrain = terrain;\n map.setTerrain(terrain);\n }\n }\n }\n }\n /* Update interaction handlers to match props */\n _updateHandlers(nextProps, currProps) {\n const map = this._map;\n for (const propName of handlerNames) {\n const newValue = nextProps[propName] ?? true;\n const oldValue = currProps[propName] ?? true;\n if (!deepEqual(newValue, oldValue)) {\n if (newValue) {\n map[propName].enable(newValue);\n }\n else {\n map[propName].disable();\n }\n }\n }\n }\n _queryRenderedFeatures(point) {\n const map = this._map;\n const { interactiveLayerIds = [] } = this.props;\n try {\n return map.queryRenderedFeatures(point, {\n layers: interactiveLayerIds.filter(map.getLayer.bind(map))\n });\n }\n catch {\n // May fail if style is not loaded\n return [];\n }\n }\n _updateHover(e) {\n const { props } = this;\n const shouldTrackHoveredFeatures = props.interactiveLayerIds && (props.onMouseMove || props.onMouseEnter || props.onMouseLeave);\n if (shouldTrackHoveredFeatures) {\n const eventType = e.type;\n const wasHovering = this._hoveredFeatures?.length > 0;\n const features = this._queryRenderedFeatures(e.point);\n const isHovering = features.length > 0;\n if (!isHovering && wasHovering) {\n e.type = 'mouseleave';\n this._onPointerEvent(e);\n }\n this._hoveredFeatures = features;\n if (isHovering && !wasHovering) {\n e.type = 'mouseenter';\n this._onPointerEvent(e);\n }\n e.type = eventType;\n }\n else {\n this._hoveredFeatures = null;\n }\n }\n}\nMaplibre.savedMaps = [];\nexport default Maplibre;\n//# sourceMappingURL=maplibre.js.map"],"names":["DEFAULT_STYLE","pointerEvents","cameraEvents","otherEvents","settingNames","handlerNames","Maplibre","MapClass","props","container","cb","transformToViewState","tr","applyViewStateToTransform","oldProps","settingsChanged","sizeChanged","viewStateChanged","that","map","oldContainer","resizeObserver","initialViewState","mapStyle","mapOptions","normalizeStyle","viewState","getContext","eventName","nextProps","changes","currProps","changed","propName","deepEqual","styleDiffing","options","light","projection","sky","terrain","newValue","oldValue","point","interactiveLayerIds","e","eventType","wasHovering","features","isHovering"],"mappings":"gHAGMA,EAAgB,CAAE,QAAS,EAAG,QAAS,CAAA,EAAI,OAAQ,EAAC,EACpDC,EAAgB,CAClB,UAAW,cACX,QAAS,YACT,UAAW,cACX,UAAW,cACX,MAAO,UACP,SAAU,aACV,WAAY,eACZ,WAAY,eACZ,SAAU,aACV,YAAa,gBACb,WAAY,eACZ,SAAU,aACV,UAAW,cACX,YAAa,eACjB,EACMC,EAAe,CACjB,UAAW,cACX,KAAM,SACN,QAAS,YACT,UAAW,cACX,KAAM,SACN,QAAS,YACT,UAAW,cACX,KAAM,SACN,QAAS,YACT,YAAa,gBACb,OAAQ,WACR,UAAW,cACX,WAA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EAAO,CAC1B,MAAMxB,EAAM,KAAK,KACX,CAAE,oBAAAyB,EAAsB,EAAC,EAAM,KAAK,MAC1C,GAAI,CACA,OAAOzB,EAAI,sBAAsBwB,EAAO,CACpC,OAAQC,EAAoB,OAAOzB,EAAI,SAAS,KAAKA,CAAG,CAAC,CAAA,CAC5D,CACL,MACM,CAEF,MAAO,CAAA,CACX,CACJ,CACA,aAAa0B,EAAG,CACZ,KAAM,CAAE,MAAArC,GAAU,KAElB,GADmCA,EAAM,sBAAwBA,EAAM,aAAeA,EAAM,cAAgBA,EAAM,cAClF,CAC5B,MAAMsC,EAAYD,EAAE,KACdE,EAAc,KAAK,kBAAkB,OAAS,EAC9CC,EAAW,KAAK,uBAAuBH,EAAE,KAAK,EAC9CI,EAAaD,EAAS,OAAS,EACjC,CAACC,GAAcF,IACfF,EAAE,KAAO,aACT,KAAK,gBAAgBA,CAAC,GAE1B,KAAK,iBAAmBG,EACpBC,GAAc,CAACF,IACfF,EAAE,KAAO,aACT,KAAK,gBAAgBA,CAAC,GAE1BA,EAAE,KAAOC,CACb,MAEI,KAAK,iBAAmB,IAEhC,CACJ,CACAxC,EAAS,UAAY,CAAA","x_google_ignoreList":[0]}
|
package/dist/index.cjs239.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const s=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"];function n(r){if(!r)return null;const o=r.map,t={getMap:()=>o};for(const e of i(o))!(e in t)&&!s.includes(e)&&(t[e]=o[e].bind(o));return t}function i(r){const o=new Set;let t=r;for(;t;){for(const e of Object.getOwnPropertyNames(t))e[0]!=="_"&&typeof r[e]=="function"&&e!=="fire"&&e!=="setEventedParent"&&o.add(e);t=Object.getPrototypeOf(t)}return Array.from(o)}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs239.js.map
|
package/dist/index.cjs239.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs239.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs239.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/maplibre/create-ref.js"],"sourcesContent":["/** These methods may break the react binding if called directly */\nconst skipMethods = [\n 'setMaxBounds',\n 'setMinZoom',\n 'setMaxZoom',\n 'setMinPitch',\n 'setMaxPitch',\n 'setRenderWorldCopies',\n 'setProjection',\n 'setStyle',\n 'addSource',\n 'removeSource',\n 'addLayer',\n 'removeLayer',\n 'setLayerZoomRange',\n 'setFilter',\n 'setPaintProperty',\n 'setLayoutProperty',\n 'setLight',\n 'setTerrain',\n 'setFog',\n 'remove'\n];\nexport default function createRef(mapInstance) {\n if (!mapInstance) {\n return null;\n }\n const map = mapInstance.map;\n const result = {\n getMap: () => map\n };\n for (const key of getMethodNames(map)) {\n // @ts-expect-error\n if (!(key in result) && !skipMethods.includes(key)) {\n result[key] = map[key].bind(map);\n }\n }\n return result;\n}\nfunction getMethodNames(obj) {\n const result = new Set();\n let proto = obj;\n while (proto) {\n for (const key of Object.getOwnPropertyNames(proto)) {\n if (key[0] !== '_' &&\n typeof obj[key] === 'function' &&\n key !== 'fire' &&\n key !== 'setEventedParent') {\n result.add(key);\n }\n }\n proto = Object.getPrototypeOf(proto);\n }\n return Array.from(result);\n}\n//# sourceMappingURL=create-ref.js.map"],"names":["skipMethods","createRef","mapInstance","map","result","key","getMethodNames","obj","proto"],"mappings":"aACA,MAAMA,EAAc,CAChB,eACA,aACA,aACA,cACA,cACA,uBACA,gBACA,WACA,YACA,eACA,WACA,cACA,oBACA,YACA,mBACA,oBACA,WACA,aACA,SACA,QACJ,EACA,SAAwBC,EAAUC,EAAa,CAC3C,GAAI,CAACA,EACD,OAAO,KAEX,MAAMC,EAAMD,EAAY,IAClBE,EAAS,CACX,OAAQ,IAAMD,CAAA,EAElB,UAAWE,KAAOC,EAAeH,CAAG,EAE5B,EAAEE,KAAOD,IAAW,CAACJ,EAAY,SAASK,CAAG,IAC7CD,EAAOC,CAAG,EAAIF,EAAIE,CAAG,EAAE,KAAKF,CAAG,GAGvC,OAAOC,CACX,CACA,SAASE,EAAeC,EAAK,CACzB,MAAMH,MAAa,IACnB,IAAII,EAAQD,EACZ,KAAOC,GAAO,CACV,UAAWH,KAAO,OAAO,oBAAoBG,CAAK,EAC1CH,EAAI,CAAC,IAAM,KACX,OAAOE,EAAIF,CAAG,GAAM,YACpBA,IAAQ,QACRA,IAAQ,oBACRD,EAAO,IAAIC,CAAG,EAGtBG,EAAQ,OAAO,eAAeA,CAAK,CACvC,CACA,OAAO,MAAM,KAAKJ,CAAM,CAC5B","x_google_ignoreList":[0]}
|
package/dist/index.cjs24.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("react"),r=require("./index.
|
|
1
|
+
"use strict";const t=require("react"),r=require("./index.cjs242.js"),l=require("./index.cjs30.js");function c(e){const n=l.useControl(({mapLib:o})=>new o.TerrainControl(e),{position:e.position});return t.useEffect(()=>{r.applyReactStyle(n._container,e.style)},[e.style]),null}t.memo(c);
|
|
2
2
|
//# sourceMappingURL=index.cjs24.js.map
|
package/dist/index.cjs240.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("react"),t=typeof document<"u"?e.useLayoutEffect:e.useEffect;module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs240.js.map
|
package/dist/index.cjs240.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs240.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs240.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/use-isomorphic-layout-effect.js"],"sourcesContent":["// From https://github.com/streamich/react-use/blob/master/src/useIsomorphicLayoutEffect.ts\n// useLayoutEffect but does not trigger warning in server-side rendering\nimport { useEffect, useLayoutEffect } from 'react';\nconst useIsomorphicLayoutEffect = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;\n//# sourceMappingURL=use-isomorphic-layout-effect.js.map"],"names":["useIsomorphicLayoutEffect","useLayoutEffect","useEffect"],"mappings":"sCAGMA,EAA4B,OAAO,SAAa,IAAcC,kBAAkBC,EAAAA","x_google_ignoreList":[0]}
|
package/dist/index.cjs241.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function g(e,u){const{RTLTextPlugin:t,maxParallelImageRequests:l,workerCount:s,workerUrl:r}=u;if(t&&e.getRTLTextPluginStatus&&e.getRTLTextPluginStatus()==="unavailable"){const{pluginUrl:n,lazy:i=!0}=typeof t=="string"?{pluginUrl:t}:t;e.setRTLTextPlugin(n,o=>{o&&console.error(o)},i)}l!==void 0&&e.setMaxParallelImageRequests(l),s!==void 0&&e.setWorkerCount(s),r!==void 0&&e.setWorkerUrl(r)}module.exports=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs241.js.map
|
package/dist/index.cjs241.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs241.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs241.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/set-globals.js"],"sourcesContent":["export default function setGlobals(mapLib, props) {\n const { RTLTextPlugin, maxParallelImageRequests, workerCount, workerUrl } = props;\n if (RTLTextPlugin &&\n mapLib.getRTLTextPluginStatus &&\n mapLib.getRTLTextPluginStatus() === 'unavailable') {\n const { pluginUrl, lazy = true } = typeof RTLTextPlugin === 'string' ? { pluginUrl: RTLTextPlugin } : RTLTextPlugin;\n mapLib.setRTLTextPlugin(pluginUrl, (error) => {\n if (error) {\n // eslint-disable-next-line\n console.error(error);\n }\n }, lazy);\n }\n if (maxParallelImageRequests !== undefined) {\n mapLib.setMaxParallelImageRequests(maxParallelImageRequests);\n }\n if (workerCount !== undefined) {\n mapLib.setWorkerCount(workerCount);\n }\n if (workerUrl !== undefined) {\n mapLib.setWorkerUrl(workerUrl);\n }\n}\n//# sourceMappingURL=set-globals.js.map"],"names":["setGlobals","mapLib","props","RTLTextPlugin","maxParallelImageRequests","workerCount","workerUrl","pluginUrl","lazy","error"],"mappings":"aAAA,SAAwBA,EAAWC,EAAQC,EAAO,CAC9C,KAAM,CAAE,cAAAC,EAAe,yBAAAC,EAA0B,YAAAC,EAAa,UAAAC,GAAcJ,EAC5E,GAAIC,GACAF,EAAO,wBACPA,EAAO,uBAAA,IAA6B,cAAe,CACnD,KAAM,CAAE,UAAAM,EAAW,KAAAC,EAAO,IAAS,OAAOL,GAAkB,SAAW,CAAE,UAAWA,CAAA,EAAkBA,EACtGF,EAAO,iBAAiBM,EAAYE,GAAU,CACtCA,GAEA,QAAQ,MAAMA,CAAK,CAE3B,EAAGD,CAAI,CACX,CACIJ,IAA6B,QAC7BH,EAAO,4BAA4BG,CAAwB,EAE3DC,IAAgB,QAChBJ,EAAO,eAAeI,CAAW,EAEjCC,IAAc,QACdL,EAAO,aAAaK,CAAS,CAErC","x_google_ignoreList":[0]}
|
package/dist/index.cjs242.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=/box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;function r(n,t){if(!n||!t)return;const o=n.style;for(const e in t){const i=t[e];Number.isFinite(i)&&!l.test(e)?o[e]=`${i}px`:o[e]=i}}exports.applyReactStyle=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs242.js.map
|
package/dist/index.cjs242.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs242.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs242.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/apply-react-style.js"],"sourcesContent":["// This is a simplified version of\n// https://github.com/facebook/react/blob/4131af3e4bf52f3a003537ec95a1655147c81270/src/renderers/dom/shared/CSSPropertyOperations.js#L62\nconst unitlessNumber = /box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;\nexport function applyReactStyle(element, styles) {\n if (!element || !styles) {\n return;\n }\n const style = element.style;\n for (const key in styles) {\n const value = styles[key];\n if (Number.isFinite(value) && !unitlessNumber.test(key)) {\n style[key] = `${value}px`;\n }\n else {\n style[key] = value;\n }\n }\n}\n//# sourceMappingURL=apply-react-style.js.map"],"names":["unitlessNumber","applyReactStyle","element","styles","style","key","value"],"mappings":"gFAEA,MAAMA,EAAiB,0EAChB,SAASC,EAAgBC,EAASC,EAAQ,CAC7C,GAAI,CAACD,GAAW,CAACC,EACb,OAEJ,MAAMC,EAAQF,EAAQ,MACtB,UAAWG,KAAOF,EAAQ,CACtB,MAAMG,EAAQH,EAAOE,CAAG,EACpB,OAAO,SAASC,CAAK,GAAK,CAACN,EAAe,KAAKK,CAAG,EAClDD,EAAMC,CAAG,EAAI,GAAGC,CAAK,KAGrBF,EAAMC,CAAG,EAAIC,CAErB,CACJ","x_google_ignoreList":[0]}
|
package/dist/index.cjs243.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,r){const t=Array.isArray(e)?e[0]:e?e.x:0,s=Array.isArray(e)?e[1]:e?e.y:0,n=Array.isArray(r)?r[0]:r?r.x:0,f=Array.isArray(r)?r[1]:r?r.y:0;return t===n&&s===f}function y(e,r){if(e===r)return!0;if(!e||!r)return!1;if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;for(let t=0;t<e.length;t++)if(!y(e[t],r[t]))return!1;return!0}else if(Array.isArray(r))return!1;if(typeof e=="object"&&typeof r=="object"){const t=Object.keys(e),s=Object.keys(r);if(t.length!==s.length)return!1;for(const n of t)if(!r.hasOwnProperty(n)||!y(e[n],r[n]))return!1;return!0}return!1}exports.arePointsEqual=i;exports.deepEqual=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs243.js.map
|
package/dist/index.cjs243.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs243.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs243.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/deep-equal.js"],"sourcesContent":["/**\n * Compare two points\n * @param a\n * @param b\n * @returns true if the points are equal\n */\nexport function arePointsEqual(a, b) {\n const ax = Array.isArray(a) ? a[0] : a ? a.x : 0;\n const ay = Array.isArray(a) ? a[1] : a ? a.y : 0;\n const bx = Array.isArray(b) ? b[0] : b ? b.x : 0;\n const by = Array.isArray(b) ? b[1] : b ? b.y : 0;\n return ax === bx && ay === by;\n}\n/* eslint-disable complexity */\n/**\n * Compare any two objects\n * @param a\n * @param b\n * @returns true if the objects are deep equal\n */\nexport function deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (!a || !b) {\n return false;\n }\n if (Array.isArray(a)) {\n if (!Array.isArray(b) || a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n else if (Array.isArray(b)) {\n return false;\n }\n if (typeof a === 'object' && typeof b === 'object') {\n const aKeys = Object.keys(a);\n const bKeys = Object.keys(b);\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n for (const key of aKeys) {\n if (!b.hasOwnProperty(key)) {\n return false;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return false;\n}\n//# sourceMappingURL=deep-equal.js.map"],"names":["arePointsEqual","a","b","ax","ay","bx","by","deepEqual","i","aKeys","bKeys","key"],"mappings":"gFAMO,SAASA,EAAeC,EAAGC,EAAG,CACjC,MAAMC,EAAK,MAAM,QAAQF,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCG,EAAK,MAAM,QAAQH,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCI,EAAK,MAAM,QAAQH,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCI,EAAK,MAAM,QAAQJ,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EAC/C,OAAOC,IAAOE,GAAMD,IAAOE,CAC/B,CAQO,SAASC,EAAUN,EAAGC,EAAG,CAC5B,GAAID,IAAMC,EACN,MAAO,GAEX,GAAI,CAACD,GAAK,CAACC,EACP,MAAO,GAEX,GAAI,MAAM,QAAQD,CAAC,EAAG,CAClB,GAAI,CAAC,MAAM,QAAQC,CAAC,GAAKD,EAAE,SAAWC,EAAE,OACpC,MAAO,GAEX,QAASM,EAAI,EAAGA,EAAIP,EAAE,OAAQO,IAC1B,GAAI,CAACD,EAAUN,EAAEO,CAAC,EAAGN,EAAEM,CAAC,CAAC,EACrB,MAAO,GAGf,MAAO,EACX,SACS,MAAM,QAAQN,CAAC,EACpB,MAAO,GAEX,GAAI,OAAOD,GAAM,UAAY,OAAOC,GAAM,SAAU,CAChD,MAAMO,EAAQ,OAAO,KAAKR,CAAC,EACrBS,EAAQ,OAAO,KAAKR,CAAC,EAC3B,GAAIO,EAAM,SAAWC,EAAM,OACvB,MAAO,GAEX,UAAWC,KAAOF,EAId,GAHI,CAACP,EAAE,eAAeS,CAAG,GAGrB,CAACJ,EAAUN,EAAEU,CAAG,EAAGT,EAAES,CAAG,CAAC,EACzB,MAAO,GAGf,MAAO,EACX,CACA,MAAO,EACX","x_google_ignoreList":[0]}
|
package/dist/index.cjs244.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function t(r,e
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(t,o){if(t===o)return null;const e=i(t),r=i(o),n=[];for(const s of r)e.has(s)||n.push(s);for(const s of e)r.has(s)||n.push(s);return n.length===0?null:n}function i(t){return new Set(t?t.trim().split(/\s+/):[])}exports.compareClassNames=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs244.js.map
|
package/dist/index.cjs244.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs244.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs244.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/compare-class-names.js"],"sourcesContent":["/** Compare two classNames string and return the difference */\nexport function compareClassNames(prevClassName, nextClassName) {\n if (prevClassName === nextClassName) {\n return null;\n }\n const prevClassList = getClassList(prevClassName);\n const nextClassList = getClassList(nextClassName);\n const diff = [];\n for (const c of nextClassList) {\n if (!prevClassList.has(c)) {\n diff.push(c);\n }\n }\n for (const c of prevClassList) {\n if (!nextClassList.has(c)) {\n diff.push(c);\n }\n }\n return diff.length === 0 ? null : diff;\n}\nfunction getClassList(className) {\n return new Set(className ? className.trim().split(/\\s+/) : []);\n}\n//# sourceMappingURL=compare-class-names.js.map"],"names":["compareClassNames","prevClassName","nextClassName","prevClassList","getClassList","nextClassList","diff","c","className"],"mappings":"gFACO,SAASA,EAAkBC,EAAeC,EAAe,CAC5D,GAAID,IAAkBC,EAClB,OAAO,KAEX,MAAMC,EAAgBC,EAAaH,CAAa,EAC1CI,EAAgBD,EAAaF,CAAa,EAC1CI,EAAO,CAAA,EACb,UAAWC,KAAKF,EACPF,EAAc,IAAII,CAAC,GACpBD,EAAK,KAAKC,CAAC,EAGnB,UAAWA,KAAKJ,EACPE,EAAc,IAAIE,CAAC,GACpBD,EAAK,KAAKC,CAAC,EAGnB,OAAOD,EAAK,SAAW,EAAI,KAAOA,CACtC,CACA,SAASF,EAAaI,EAAW,CAC7B,OAAO,IAAI,IAAIA,EAAYA,EAAU,KAAA,EAAO,MAAM,KAAK,EAAI,EAAE,CACjE","x_google_ignoreList":[0]}
|
package/dist/index.cjs245.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function s(r,t){if(!r)throw new Error(t)}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs245.js.map
|
package/dist/index.cjs245.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs245.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs245.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/assert.js"],"sourcesContent":["export default function assert(condition, message) {\n if (!condition) {\n throw new Error(message);\n }\n}\n//# sourceMappingURL=assert.js.map"],"names":["assert","condition","message"],"mappings":"aAAA,SAAwBA,EAAOC,EAAWC,EAAS,CAC/C,GAAI,CAACD,EACD,MAAM,IAAI,MAAMC,CAAO,CAE/B","x_google_ignoreList":[0]}
|
package/dist/index.cjs246.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const t=require("./index.cjs209.js"),e=t("Object");module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs246.js.map
|
package/dist/index.cjs246.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs246.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs246.js","sources":["../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["hasObjectTag","tagTester"],"mappings":"kDAEAA,EAAeC,EAAU,QAAQ","x_google_ignoreList":[0]}
|
package/dist/index.cjs247.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function n(t){return function(r){return r?.[t]}}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs247.js.map
|
package/dist/index.cjs247.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs247.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs247.js","sources":["../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAA8BA,IAAID,CAAG,CACvC,CACF","x_google_ignoreList":[0]}
|
package/dist/index.cjs248.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const n=require("./index.cjs37.js");function u(r){return function(t){var e=r(t);return typeof e=="number"&&e>=0&&e<=n.MAX_ARRAY_INDEX}}module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs248.js.map
|
package/dist/index.cjs248.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs248.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs248.js","sources":["../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":"iDAGA,SAAwBA,EAAwBC,EAAiB,CAC/D,OAAO,SAASC,EAAY,CAC1B,IAAIC,EAAeF,EAAgBC,CAAU,EAC7C,OAAO,OAAOC,GAAgB,UAAYA,GAAgB,GAAKA,GAAgBC,EAAAA,eACjF,CACF","x_google_ignoreList":[0]}
|
package/dist/index.cjs249.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function c(){return new i}function i(){this.reset()}i.prototype={constructor:i,reset:function(){this.s=this.t=0},add:function(t){u(s,t,this.t),u(this,s.s,this.s),this.s?this.t+=s.t:this.s=s.t},valueOf:function(){return this.s}};var s=new i;function u(t,n,e){var r=t.s=n+e,o=r-n,h=r-o;t.t=n-h+(e-o)}module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs249.js.map
|
package/dist/index.cjs249.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs249.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.cjs249.js","sources":["../../../node_modules/d3-geo/src/adder.js"],"sourcesContent":["// Adds floating point numbers with twice the normal precision.\n// Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and\n// Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)\n// 305–363 (1997).\n// Code adapted from GeographicLib by Charles F. F. Karney,\n// http://geographiclib.sourceforge.net/\n\nexport default function() {\n return new Adder;\n}\n\nfunction Adder() {\n this.reset();\n}\n\nAdder.prototype = {\n constructor: Adder,\n reset: function() {\n this.s = // rounded value\n this.t = 0; // exact error\n },\n add: function(y) {\n add(temp, y, this.t);\n add(this, temp.s, this.s);\n if (this.s) this.t += temp.t;\n else this.s = temp.t;\n },\n valueOf: function() {\n return this.s;\n }\n};\n\nvar temp = new Adder;\n\nfunction add(adder, a, b) {\n var x = adder.s = a + b,\n bv = x - a,\n av = x - bv;\n adder.t = (a - av) + (b - bv);\n}\n"],"names":["adder","Adder","y","add","temp","a","b","x","bv","av"],"mappings":"aAOA,SAAAA,GAA0B,CACxB,OAAO,IAAIC,CACb,CAEA,SAASA,GAAQ,CACf,KAAK,MAAA,CACP,CAEAA,EAAM,UAAY,CAChB,YAAaA,EACb,MAAO,UAAW,CAChB,KAAK,EACL,KAAK,EAAI,CACX,EACA,IAAK,SAASC,EAAG,CACfC,EAAIC,EAAMF,EAAG,KAAK,CAAC,EACnBC,EAAI,KAAMC,EAAK,EAAG,KAAK,CAAC,EACpB,KAAK,EAAG,KAAK,GAAKA,EAAK,EACtB,KAAK,EAAIA,EAAK,CACrB,EACA,QAAS,UAAW,CAClB,OAAO,KAAK,CACd,CACF,EAEA,IAAIA,EAAO,IAAIH,EAEf,SAASE,EAAIH,EAAOK,EAAGC,EAAG,CACxB,IAAIC,EAAIP,EAAM,EAAIK,EAAIC,EAClBE,EAAKD,EAAIF,EACTI,EAAKF,EAAIC,EACbR,EAAM,EAAKK,EAAII,GAAOH,EAAIE,EAC5B","x_google_ignoreList":[0]}
|
package/dist/index.cjs25.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("react"),l=require("./index.
|
|
1
|
+
"use strict";const e=require("react"),l=require("./index.cjs242.js"),c=require("./index.cjs30.js");function r(t){const o=c.useControl(({mapLib:n})=>new n.LogoControl(t),{position:t.position});return e.useEffect(()=>{l.applyReactStyle(o._container,t.style)},[t.style]),null}e.memo(r);
|
|
2
2
|
//# sourceMappingURL=index.cjs25.js.map
|
package/dist/index.cjs250.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs251.js"),a=require("./index.cjs252.js");require("./index.cjs199.js");function q(i,e,c,u,r,s){if(c){var n=a.cos(e),o=a.sin(e),v=u*c;r==null?(r=e+u*a.tau,s=e-v/2):(r=S(n,r),s=S(n,s),(u>0?r<s:r>s)&&(r+=u*a.tau));for(var f,l=r;u>0?l>s:l<s;l-=v)f=m.spherical([n,-o*a.cos(l),-o*a.sin(l)]),i.point(f[0],f[1])}}function S(i,e){e=m.cartesian(e),e[0]-=i,m.cartesianNormalizeInPlace(e);var c=a.acos(-e[1]);return((-e[2]<0?-c:c)+a.tau-a.epsilon)%a.tau}exports.circleStream=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs250.js.map
|
package/dist/index.cjs250.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs250.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.cjs250.js","sources":["../../../node_modules/d3-geo/src/circle.js"],"sourcesContent":["import {cartesian, cartesianNormalizeInPlace, spherical} from \"./cartesian\";\nimport constant from \"./constant\";\nimport {acos, cos, degrees, epsilon, radians, sin, tau} from \"./math\";\nimport {rotateRadians} from \"./rotation\";\n\n// Generates a circle centered at [0°, 0°], with a given radius and precision.\nexport function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta) return;\n var cosRadius = cos(radius),\n sinRadius = sin(radius),\n step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n } else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n}\n\n// Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\nfunction circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n}\n\nexport default function() {\n var center = constant([0, 0]),\n radius = constant(90),\n precision = constant(6),\n ring,\n rotate,\n stream = {point: point};\n\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n\n function circle() {\n var c = center.apply(this, arguments),\n r = radius.apply(this, arguments) * radians,\n p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = {type: \"Polygon\", coordinates: [ring]};\n ring = rotate = null;\n return c;\n }\n\n circle.center = function(_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n\n circle.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n\n circle.precision = function(_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n\n return circle;\n}\n"],"names":["circleStream","stream","radius","delta","direction","t0","t1","cosRadius","cos","sinRadius","sin","step","tau","circleRadius","point","t","spherical","cartesian","cartesianNormalizeInPlace","acos","epsilon"],"mappings":"iLAMO,SAASA,EAAaC,EAAQC,EAAQC,EAAOC,EAAWC,EAAIC,EAAI,CACrE,GAAKH,EACL,KAAII,EAAYC,MAAIN,CAAM,EACtBO,EAAYC,EAAAA,IAAIR,CAAM,EACtBS,EAAOP,EAAYD,EACnBE,GAAM,MACRA,EAAKH,EAASE,EAAYQ,EAAAA,IAC1BN,EAAKJ,EAASS,EAAO,IAErBN,EAAKQ,EAAaN,EAAWF,CAAE,EAC/BC,EAAKO,EAAaN,EAAWD,CAAE,GAC3BF,EAAY,EAAIC,EAAKC,EAAKD,EAAKC,QAAUF,EAAYQ,EAAAA,MAE3D,QAASE,EAAOC,EAAIV,EAAID,EAAY,EAAIW,EAAIT,EAAKS,EAAIT,EAAIS,GAAKJ,EAC5DG,EAAQE,EAAAA,UAAU,CAACT,EAAW,CAACE,EAAYD,EAAAA,IAAIO,CAAC,EAAG,CAACN,EAAYC,MAAIK,CAAC,CAAC,CAAC,EACvEd,EAAO,MAAMa,EAAM,CAAC,EAAGA,EAAM,CAAC,CAAC,EAEnC,CAGA,SAASD,EAAaN,EAAWO,EAAO,CACtCA,EAAQG,EAAAA,UAAUH,CAAK,EAAGA,EAAM,CAAC,GAAKP,EACtCW,EAAAA,0BAA0BJ,CAAK,EAC/B,IAAIZ,EAASiB,EAAAA,KAAK,CAACL,EAAM,CAAC,CAAC,EAC3B,QAAS,CAACA,EAAM,CAAC,EAAI,EAAI,CAACZ,EAASA,GAAUU,MAAMQ,EAAAA,SAAWR,EAAAA,GAChE","x_google_ignoreList":[0]}
|
package/dist/index.cjs251.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs252.js");function i(n){return[t.atan2(n[1],n[0]),t.asin(n[2])]}function c(n){var r=n[0],e=n[1],a=t.cos(e);return[a*t.cos(r),a*t.sin(r),t.sin(e)]}function s(n,r){return n[0]*r[0]+n[1]*r[1]+n[2]*r[2]}function o(n,r){return[n[1]*r[2]-n[2]*r[1],n[2]*r[0]-n[0]*r[2],n[0]*r[1]-n[1]*r[0]]}function u(n,r){n[0]+=r[0],n[1]+=r[1],n[2]+=r[2]}function l(n,r){return[n[0]*r,n[1]*r,n[2]*r]}function f(n){var r=t.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=r,n[1]/=r,n[2]/=r}exports.cartesian=c;exports.cartesianAddInPlace=u;exports.cartesianCross=o;exports.cartesianDot=s;exports.cartesianNormalizeInPlace=f;exports.cartesianScale=l;exports.spherical=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs251.js.map
|
package/dist/index.cjs251.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs251.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.cjs251.js","sources":["../../../node_modules/d3-geo/src/cartesian.js"],"sourcesContent":["import {asin, atan2, cos, sin, sqrt} from \"./math\";\n\nexport function spherical(cartesian) {\n return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n}\n\nexport function cartesian(spherical) {\n var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);\n return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];\n}\n\nexport function cartesianDot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n\nexport function cartesianCross(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n}\n\n// TODO return a\nexport function cartesianAddInPlace(a, b) {\n a[0] += b[0], a[1] += b[1], a[2] += b[2];\n}\n\nexport function cartesianScale(vector, k) {\n return [vector[0] * k, vector[1] * k, vector[2] * k];\n}\n\n// TODO return d\nexport function cartesianNormalizeInPlace(d) {\n var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n d[0] /= l, d[1] /= l, d[2] /= l;\n}\n"],"names":["spherical","cartesian","atan2","asin","lambda","phi","cosPhi","cos","sin","cartesianDot","a","b","cartesianCross","cartesianAddInPlace","cartesianScale","vector","k","cartesianNormalizeInPlace","d","l","sqrt"],"mappings":"qHAEO,SAASA,EAAUC,EAAW,CACnC,MAAO,CAACC,EAAAA,MAAMD,EAAU,CAAC,EAAGA,EAAU,CAAC,CAAC,EAAGE,EAAAA,KAAKF,EAAU,CAAC,CAAC,CAAC,CAC/D,CAEO,SAASA,EAAUD,EAAW,CACnC,IAAII,EAASJ,EAAU,CAAC,EAAGK,EAAML,EAAU,CAAC,EAAGM,EAASC,EAAAA,IAAIF,CAAG,EAC/D,MAAO,CAACC,EAASC,MAAIH,CAAM,EAAGE,EAASE,EAAAA,IAAIJ,CAAM,EAAGI,MAAIH,CAAG,CAAC,CAC9D,CAEO,SAASI,EAAaC,EAAGC,EAAG,CACjC,OAAOD,EAAE,CAAC,EAAIC,EAAE,CAAC,EAAID,EAAE,CAAC,EAAIC,EAAE,CAAC,EAAID,EAAE,CAAC,EAAIC,EAAE,CAAC,CAC/C,CAEO,SAASC,EAAeF,EAAGC,EAAG,CACnC,MAAO,CAACD,EAAE,CAAC,EAAIC,EAAE,CAAC,EAAID,EAAE,CAAC,EAAIC,EAAE,CAAC,EAAGD,EAAE,CAAC,EAAIC,EAAE,CAAC,EAAID,EAAE,CAAC,EAAIC,EAAE,CAAC,EAAGD,EAAE,CAAC,EAAIC,EAAE,CAAC,EAAID,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,CACzF,CAGO,SAASE,EAAoBH,EAAGC,EAAG,CACxCD,EAAE,CAAC,GAAKC,EAAE,CAAC,EAAGD,EAAE,CAAC,GAAKC,EAAE,CAAC,EAAGD,EAAE,CAAC,GAAKC,EAAE,CAAC,CACzC,CAEO,SAASG,EAAeC,EAAQC,EAAG,CACxC,MAAO,CAACD,EAAO,CAAC,EAAIC,EAAGD,EAAO,CAAC,EAAIC,EAAGD,EAAO,CAAC,EAAIC,CAAC,CACrD,CAGO,SAASC,EAA0BC,EAAG,CAC3C,IAAIC,EAAIC,EAAAA,KAAKF,EAAE,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAE,CAAC,CAAC,EACpDA,EAAE,CAAC,GAAKC,EAAGD,EAAE,CAAC,GAAKC,EAAGD,EAAE,CAAC,GAAKC,CAChC","x_google_ignoreList":[0]}
|
package/dist/index.cjs252.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var s=1e-6,r=Math.PI,t=r/2,n=r/4,i=r*2,e=180/r,o=r/180,v=Math.abs,h=Math.atan,u=Math.atan2,c=Math.cos,M=Math.sin,l=Math.sqrt;function d(a){return a>1?0:a<-1?r:Math.acos(a)}function P(a){return a>1?t:a<-1?-t:Math.asin(a)}exports.abs=v;exports.acos=d;exports.asin=P;exports.atan=h;exports.atan2=u;exports.cos=c;exports.degrees=e;exports.epsilon=s;exports.halfPi=t;exports.pi=r;exports.quarterPi=n;exports.radians=o;exports.sin=M;exports.sqrt=l;exports.tau=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs252.js.map
|
package/dist/index.cjs252.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs252.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.cjs252.js","sources":["../../../node_modules/d3-geo/src/math.js"],"sourcesContent":["export var epsilon = 1e-6;\nexport var epsilon2 = 1e-12;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var quarterPi = pi / 4;\nexport var tau = pi * 2;\n\nexport var degrees = 180 / pi;\nexport var radians = pi / 180;\n\nexport var abs = Math.abs;\nexport var atan = Math.atan;\nexport var atan2 = Math.atan2;\nexport var cos = Math.cos;\nexport var ceil = Math.ceil;\nexport var exp = Math.exp;\nexport var floor = Math.floor;\nexport var log = Math.log;\nexport var pow = Math.pow;\nexport var sin = Math.sin;\nexport var sign = Math.sign || function(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\nexport var sqrt = Math.sqrt;\nexport var tan = Math.tan;\n\nexport function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n}\n\nexport function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n}\n\nexport function haversin(x) {\n return (x = sin(x / 2)) * x;\n}\n"],"names":["epsilon","pi","halfPi","quarterPi","tau","degrees","radians","abs","atan","atan2","cos","sin","sqrt","acos","x","asin"],"mappings":"gFAAO,IAAIA,EAAU,KAEVC,EAAK,KAAK,GACVC,EAASD,EAAK,EACdE,EAAYF,EAAK,EACjBG,EAAMH,EAAK,EAEXI,EAAU,IAAMJ,EAChBK,EAAUL,EAAK,IAEfM,EAAM,KAAK,IACXC,EAAO,KAAK,KACZC,EAAQ,KAAK,MACbC,EAAM,KAAK,IAMXC,EAAM,KAAK,IAEXC,EAAO,KAAK,KAGhB,SAASC,EAAKC,EAAG,CACtB,OAAOA,EAAI,EAAI,EAAIA,EAAI,GAAKb,EAAK,KAAK,KAAKa,CAAC,CAC9C,CAEO,SAASC,EAAKD,EAAG,CACtB,OAAOA,EAAI,EAAIZ,EAASY,EAAI,GAAK,CAACZ,EAAS,KAAK,KAAKY,CAAC,CACxD","x_google_ignoreList":[0]}
|
package/dist/index.cjs253.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index.cjs252.js"),U=require("./index.cjs254.js"),V=require("./index.cjs255.js"),W=require("./index.cjs256.js");require("./index.cjs200.js");const X=require("./index.cjs257.js");var E=1e9,O=-E;function Y(s,d,m,u){function j(i,n){return s<=i&&i<=m&&d<=n&&n<=u}function k(i,n,l,o){var r=0,p=0;if(i==null||(r=q(i,l))!==(p=q(n,l))||z(i,n)<0^l>0)do o.point(r===0||r===3?s:m,r>1?u:d);while((r=(r+l+4)%4)!==p);else o.point(n[0],n[1])}function q(i,n){return S.abs(i[0]-s)<S.epsilon?n>0?0:3:S.abs(i[0]-m)<S.epsilon?n>0?2:1:S.abs(i[1]-d)<S.epsilon?n>0?1:0:n>0?3:2}function G(i,n){return z(i.x,n.x)}function z(i,n){var l=q(i,1),o=q(n,1);return l!==o?l-o:l===0?n[1]-i[1]:l===1?i[0]-n[0]:l===2?i[1]-n[1]:n[0]-i[0]}return function(i){var n=i,l=U(),o,r,p,A,B,C,I,P,v,T,w,$={point:D,lineStart:L,lineEnd:Q,polygonStart:J,polygonEnd:K};function D(e,t){j(e,t)&&n.point(e,t)}function H(){for(var e=0,t=0,f=r.length;t<f;++t)for(var a=r[t],c=1,R=a.length,M=a[0],_,h,N=M[0],g=M[1];c<R;++c)_=N,h=g,M=a[c],N=M[0],g=M[1],h<=u?g>u&&(N-_)*(u-h)>(g-h)*(s-_)&&++e:g<=u&&(N-_)*(u-h)<(g-h)*(s-_)&&--e;return e}function J(){n=l,o=[],r=[],w=!0}function K(){var e=H(),t=w&&e,f=(o=X(o)).length;(t||f)&&(i.polygonStart(),t&&(i.lineStart(),k(null,null,1,i),i.lineEnd()),f&&W(o,G,e,k,i),i.polygonEnd()),n=i,o=r=p=null}function L(){$.point=F,r&&r.push(p=[]),T=!0,v=!1,I=P=NaN}function Q(){o&&(F(A,B),C&&v&&l.rejoin(),o.push(l.result())),$.point=D,v&&n.lineEnd()}function F(e,t){var f=j(e,t);if(r&&p.push([e,t]),T)A=e,B=t,C=f,T=!1,f&&(n.lineStart(),n.point(e,t));else if(f&&v)n.point(e,t);else{var a=[I=Math.max(O,Math.min(E,I)),P=Math.max(O,Math.min(E,P))],c=[e=Math.max(O,Math.min(E,e)),t=Math.max(O,Math.min(E,t))];V(a,c,s,d,m,u)?(v||(n.lineStart(),n.point(a[0],a[1])),n.point(c[0],c[1]),f||n.lineEnd(),w=!1):f&&(n.lineStart(),n.point(e,t),w=!1)}I=e,P=t,v=f}return $}}exports.clipExtent=Y;
|
|
2
2
|
//# sourceMappingURL=index.cjs253.js.map
|
package/dist/index.cjs253.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs253.js","sources":["../../../node_modules/d3-geo/src/clip/
|
|
1
|
+
{"version":3,"file":"index.cjs253.js","sources":["../../../node_modules/d3-geo/src/clip/extent.js"],"sourcesContent":["import {abs, epsilon} from \"../math\";\nimport clipBuffer from \"./buffer\";\nimport clipLine from \"./line\";\nimport clipPolygon from \"./polygon\";\nimport {merge} from \"d3-array\";\n\nvar clipMax = 1e9, clipMin = -clipMax;\n\n// TODO Use d3-polygon’s polygonContains here for the ring check?\n// TODO Eliminate duplicate buffering in clipBuffer and polygon.push?\n\nexport function clipExtent(x0, y0, x1, y1) {\n\n function visible(x, y) {\n return x0 <= x && x <= x1 && y0 <= y && y <= y1;\n }\n\n function interpolate(from, to, direction, stream) {\n var a = 0, a1 = 0;\n if (from == null\n || (a = corner(from, direction)) !== (a1 = corner(to, direction))\n || comparePoint(from, to) < 0 ^ direction > 0) {\n do stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);\n while ((a = (a + direction + 4) % 4) !== a1);\n } else {\n stream.point(to[0], to[1]);\n }\n }\n\n function corner(p, direction) {\n return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3\n : abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1\n : abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0\n : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon\n }\n\n function compareIntersection(a, b) {\n return comparePoint(a.x, b.x);\n }\n\n function comparePoint(a, b) {\n var ca = corner(a, 1),\n cb = corner(b, 1);\n return ca !== cb ? ca - cb\n : ca === 0 ? b[1] - a[1]\n : ca === 1 ? a[0] - b[0]\n : ca === 2 ? a[1] - b[1]\n : b[0] - a[0];\n }\n\n return function(stream) {\n var activeStream = stream,\n bufferStream = clipBuffer(),\n segments,\n polygon,\n ring,\n x__, y__, v__, // first point\n x_, y_, v_, // previous point\n first,\n clean;\n\n var clipStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: polygonStart,\n polygonEnd: polygonEnd\n };\n\n function point(x, y) {\n if (visible(x, y)) activeStream.point(x, y);\n }\n\n function polygonInside() {\n var winding = 0;\n\n for (var i = 0, n = polygon.length; i < n; ++i) {\n for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {\n a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];\n if (a1 <= y1) { if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0)) ++winding; }\n else { if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0)) --winding; }\n }\n }\n\n return winding;\n }\n\n // Buffer geometry within a polygon and then clip it en masse.\n function polygonStart() {\n activeStream = bufferStream, segments = [], polygon = [], clean = true;\n }\n\n function polygonEnd() {\n var startInside = polygonInside(),\n cleanInside = clean && startInside,\n visible = (segments = merge(segments)).length;\n if (cleanInside || visible) {\n stream.polygonStart();\n if (cleanInside) {\n stream.lineStart();\n interpolate(null, null, 1, stream);\n stream.lineEnd();\n }\n if (visible) {\n clipPolygon(segments, compareIntersection, startInside, interpolate, stream);\n }\n stream.polygonEnd();\n }\n activeStream = stream, segments = polygon = ring = null;\n }\n\n function lineStart() {\n clipStream.point = linePoint;\n if (polygon) polygon.push(ring = []);\n first = true;\n v_ = false;\n x_ = y_ = NaN;\n }\n\n // TODO rather than special-case polygons, simply handle them separately.\n // Ideally, coincident intersection points should be jittered to avoid\n // clipping issues.\n function lineEnd() {\n if (segments) {\n linePoint(x__, y__);\n if (v__ && v_) bufferStream.rejoin();\n segments.push(bufferStream.result());\n }\n clipStream.point = point;\n if (v_) activeStream.lineEnd();\n }\n\n function linePoint(x, y) {\n var v = visible(x, y);\n if (polygon) ring.push([x, y]);\n if (first) {\n x__ = x, y__ = y, v__ = v;\n first = false;\n if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n }\n } else {\n if (v && v_) activeStream.point(x, y);\n else {\n var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))],\n b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];\n if (clipLine(a, b, x0, y0, x1, y1)) {\n if (!v_) {\n activeStream.lineStart();\n activeStream.point(a[0], a[1]);\n }\n activeStream.point(b[0], b[1]);\n if (!v) activeStream.lineEnd();\n clean = false;\n } else if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n clean = false;\n }\n }\n }\n x_ = x, y_ = y, v_ = v;\n }\n\n return clipStream;\n };\n}\n\nexport default function() {\n var x0 = 0,\n y0 = 0,\n x1 = 960,\n y1 = 500,\n cache,\n cacheStream,\n clip;\n\n return clip = {\n stream: function(stream) {\n return cache && cacheStream === stream ? cache : cache = clipExtent(x0, y0, x1, y1)(cacheStream = stream);\n },\n extent: function(_) {\n return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];\n }\n };\n}\n"],"names":["clipMax","clipMin","clipExtent","x0","y0","x1","y1","visible","x","y","interpolate","from","to","direction","stream","a","a1","corner","comparePoint","p","abs","epsilon","compareIntersection","b","ca","cb","activeStream","bufferStream","clipBuffer","segments","polygon","ring","x__","y__","v__","x_","y_","v_","first","clean","clipStream","point","lineStart","lineEnd","polygonStart","polygonEnd","polygonInside","winding","i","n","j","m","a0","b0","b1","startInside","cleanInside","merge","clipPolygon","linePoint","v","clipLine"],"mappings":"oRAMA,IAAIA,EAAU,IAAKC,EAAU,CAACD,EAKvB,SAASE,EAAWC,EAAIC,EAAIC,EAAIC,EAAI,CAEzC,SAASC,EAAQC,EAAGC,EAAG,CACrB,OAAON,GAAMK,GAAKA,GAAKH,GAAMD,GAAMK,GAAKA,GAAKH,CAC/C,CAEA,SAASI,EAAYC,EAAMC,EAAIC,EAAWC,EAAQ,CAChD,IAAIC,EAAI,EAAGC,EAAK,EAChB,GAAIL,GAAQ,OACJI,EAAIE,EAAON,EAAME,CAAS,MAAQG,EAAKC,EAAOL,EAAIC,CAAS,IAC5DK,EAAaP,EAAMC,CAAE,EAAI,EAAIC,EAAY,EAC9C,GAAGC,EAAO,MAAMC,IAAM,GAAKA,IAAM,EAAIZ,EAAKE,EAAIU,EAAI,EAAIT,EAAKF,CAAE,SACrDW,GAAKA,EAAIF,EAAY,GAAK,KAAOG,QAEzCF,EAAO,MAAMF,EAAG,CAAC,EAAGA,EAAG,CAAC,CAAC,CAE7B,CAEA,SAASK,EAAOE,EAAGN,EAAW,CAC5B,OAAOO,EAAAA,IAAID,EAAE,CAAC,EAAIhB,CAAE,EAAIkB,EAAAA,QAAUR,EAAY,EAAI,EAAI,EAChDO,MAAID,EAAE,CAAC,EAAId,CAAE,EAAIgB,EAAA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