@performant-software/geospatial 3.1.22-beta.4 → 3.1.22-beta.6
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.cjs.js +2 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.cjs10.js +2 -0
- package/dist/index.cjs10.js.map +1 -0
- package/dist/index.cjs100.js +2 -0
- package/dist/index.cjs100.js.map +1 -0
- package/dist/index.cjs101.js +2 -0
- package/dist/index.cjs101.js.map +1 -0
- package/dist/index.cjs102.js +2 -0
- package/dist/index.cjs102.js.map +1 -0
- package/dist/index.cjs103.js +2 -0
- package/dist/index.cjs103.js.map +1 -0
- package/dist/index.cjs104.js +2 -0
- package/dist/index.cjs104.js.map +1 -0
- package/dist/index.cjs105.js +2 -0
- package/dist/index.cjs105.js.map +1 -0
- package/dist/index.cjs106.js +2 -0
- package/dist/index.cjs106.js.map +1 -0
- package/dist/index.cjs107.js +2 -0
- package/dist/index.cjs107.js.map +1 -0
- package/dist/index.cjs108.js +2 -0
- package/dist/index.cjs108.js.map +1 -0
- package/dist/index.cjs109.js +2 -0
- package/dist/index.cjs109.js.map +1 -0
- package/dist/index.cjs11.js +2 -0
- package/dist/index.cjs11.js.map +1 -0
- package/dist/index.cjs110.js +2 -0
- package/dist/index.cjs110.js.map +1 -0
- package/dist/index.cjs111.js +2 -0
- package/dist/index.cjs111.js.map +1 -0
- package/dist/index.cjs112.js +2 -0
- package/dist/index.cjs112.js.map +1 -0
- package/dist/index.cjs113.js +2 -0
- package/dist/index.cjs113.js.map +1 -0
- package/dist/index.cjs114.js +2 -0
- package/dist/index.cjs114.js.map +1 -0
- package/dist/index.cjs115.js +2 -0
- package/dist/index.cjs115.js.map +1 -0
- package/dist/index.cjs116.js +2 -0
- package/dist/index.cjs116.js.map +1 -0
- package/dist/index.cjs117.js +2 -0
- package/dist/index.cjs117.js.map +1 -0
- package/dist/index.cjs118.js +2 -0
- package/dist/index.cjs118.js.map +1 -0
- package/dist/index.cjs119.js +2 -0
- package/dist/index.cjs119.js.map +1 -0
- package/dist/index.cjs12.js +2 -0
- package/dist/index.cjs12.js.map +1 -0
- package/dist/index.cjs120.js +2 -0
- package/dist/index.cjs120.js.map +1 -0
- package/dist/index.cjs121.js +2 -0
- package/dist/index.cjs121.js.map +1 -0
- package/dist/index.cjs122.js +2 -0
- package/dist/index.cjs122.js.map +1 -0
- package/dist/index.cjs123.js +2 -0
- package/dist/index.cjs123.js.map +1 -0
- package/dist/index.cjs124.js +2 -0
- package/dist/index.cjs124.js.map +1 -0
- package/dist/index.cjs125.js +2 -0
- package/dist/index.cjs125.js.map +1 -0
- package/dist/index.cjs126.js +2 -0
- package/dist/index.cjs126.js.map +1 -0
- package/dist/index.cjs127.js +2 -0
- package/dist/index.cjs127.js.map +1 -0
- package/dist/index.cjs128.js +2 -0
- package/dist/index.cjs128.js.map +1 -0
- package/dist/index.cjs129.js +2 -0
- package/dist/index.cjs129.js.map +1 -0
- package/dist/index.cjs13.js +2 -0
- package/dist/index.cjs13.js.map +1 -0
- package/dist/index.cjs130.js +2 -0
- package/dist/index.cjs130.js.map +1 -0
- package/dist/index.cjs131.js +2 -0
- package/dist/index.cjs131.js.map +1 -0
- package/dist/index.cjs132.js +2 -0
- package/dist/index.cjs132.js.map +1 -0
- package/dist/index.cjs133.js +2 -0
- package/dist/index.cjs133.js.map +1 -0
- package/dist/index.cjs134.js +2 -0
- package/dist/index.cjs134.js.map +1 -0
- package/dist/index.cjs135.js +2 -0
- package/dist/index.cjs135.js.map +1 -0
- package/dist/index.cjs136.js +2 -0
- package/dist/index.cjs136.js.map +1 -0
- package/dist/index.cjs137.js +2 -0
- package/dist/index.cjs137.js.map +1 -0
- package/dist/index.cjs138.js +2 -0
- package/dist/index.cjs138.js.map +1 -0
- package/dist/index.cjs139.js +14 -0
- package/dist/index.cjs139.js.map +1 -0
- package/dist/index.cjs14.js +2 -0
- package/dist/index.cjs14.js.map +1 -0
- package/dist/index.cjs140.js +2 -0
- package/dist/index.cjs140.js.map +1 -0
- package/dist/index.cjs141.js +2 -0
- package/dist/index.cjs141.js.map +1 -0
- package/dist/index.cjs142.js +2 -0
- package/dist/index.cjs142.js.map +1 -0
- package/dist/index.cjs143.js +2 -0
- package/dist/index.cjs143.js.map +1 -0
- package/dist/index.cjs144.js +2 -0
- package/dist/index.cjs144.js.map +1 -0
- package/dist/index.cjs145.js +2 -0
- package/dist/index.cjs145.js.map +1 -0
- package/dist/index.cjs146.js +2 -0
- package/dist/index.cjs146.js.map +1 -0
- package/dist/index.cjs147.js +2 -0
- package/dist/index.cjs147.js.map +1 -0
- package/dist/index.cjs148.js +2 -0
- package/dist/index.cjs148.js.map +1 -0
- package/dist/index.cjs149.js +2 -0
- package/dist/index.cjs149.js.map +1 -0
- package/dist/index.cjs15.js +2 -0
- package/dist/index.cjs15.js.map +1 -0
- package/dist/index.cjs150.js +2 -0
- package/dist/index.cjs150.js.map +1 -0
- package/dist/index.cjs151.js +2 -0
- package/dist/index.cjs151.js.map +1 -0
- package/dist/index.cjs152.js +2 -0
- package/dist/index.cjs152.js.map +1 -0
- package/dist/index.cjs153.js +2 -0
- package/dist/index.cjs153.js.map +1 -0
- package/dist/index.cjs154.js +2 -0
- package/dist/index.cjs154.js.map +1 -0
- package/dist/index.cjs155.js +2 -0
- package/dist/index.cjs155.js.map +1 -0
- package/dist/index.cjs156.js +2 -0
- package/dist/index.cjs156.js.map +1 -0
- package/dist/index.cjs157.js +2 -0
- package/dist/index.cjs157.js.map +1 -0
- package/dist/index.cjs158.js +2 -0
- package/dist/index.cjs158.js.map +1 -0
- package/dist/index.cjs159.js +2 -0
- package/dist/index.cjs159.js.map +1 -0
- package/dist/index.cjs16.js +2 -0
- package/dist/index.cjs16.js.map +1 -0
- package/dist/index.cjs160.js +2 -0
- package/dist/index.cjs160.js.map +1 -0
- package/dist/index.cjs161.js +2 -0
- package/dist/index.cjs161.js.map +1 -0
- package/dist/index.cjs162.js +2 -0
- package/dist/index.cjs162.js.map +1 -0
- package/dist/index.cjs163.js +2 -0
- package/dist/index.cjs163.js.map +1 -0
- package/dist/index.cjs164.js +2 -0
- package/dist/index.cjs164.js.map +1 -0
- package/dist/index.cjs165.js +2 -0
- package/dist/index.cjs165.js.map +1 -0
- package/dist/index.cjs166.js +2 -0
- package/dist/index.cjs166.js.map +1 -0
- package/dist/index.cjs167.js +2 -0
- package/dist/index.cjs167.js.map +1 -0
- package/dist/index.cjs168.js +2 -0
- package/dist/index.cjs168.js.map +1 -0
- package/dist/index.cjs169.js +2 -0
- package/dist/index.cjs169.js.map +1 -0
- package/dist/index.cjs17.js +2 -0
- package/dist/index.cjs17.js.map +1 -0
- package/dist/index.cjs170.js +2 -0
- package/dist/index.cjs170.js.map +1 -0
- package/dist/index.cjs171.js +2 -0
- package/dist/index.cjs171.js.map +1 -0
- package/dist/index.cjs172.js +2 -0
- package/dist/index.cjs172.js.map +1 -0
- package/dist/index.cjs173.js +2 -0
- package/dist/index.cjs173.js.map +1 -0
- package/dist/index.cjs174.js +2 -0
- package/dist/index.cjs174.js.map +1 -0
- package/dist/index.cjs175.js +2 -0
- package/dist/index.cjs175.js.map +1 -0
- package/dist/index.cjs176.js +2 -0
- package/dist/index.cjs176.js.map +1 -0
- package/dist/index.cjs177.js +2 -0
- package/dist/index.cjs177.js.map +1 -0
- package/dist/index.cjs178.js +2 -0
- package/dist/index.cjs178.js.map +1 -0
- package/dist/index.cjs179.js +2 -0
- package/dist/index.cjs179.js.map +1 -0
- package/dist/index.cjs18.js +2 -0
- package/dist/index.cjs18.js.map +1 -0
- package/dist/index.cjs180.js +2 -0
- package/dist/index.cjs180.js.map +1 -0
- package/dist/index.cjs181.js +2 -0
- package/dist/index.cjs181.js.map +1 -0
- package/dist/index.cjs182.js +2 -0
- package/dist/index.cjs182.js.map +1 -0
- package/dist/index.cjs183.js +2 -0
- package/dist/index.cjs183.js.map +1 -0
- package/dist/index.cjs184.js +2 -0
- package/dist/index.cjs184.js.map +1 -0
- package/dist/index.cjs185.js +2 -0
- package/dist/index.cjs185.js.map +1 -0
- package/dist/index.cjs186.js +2 -0
- package/dist/index.cjs186.js.map +1 -0
- package/dist/index.cjs187.js +2 -0
- package/dist/index.cjs187.js.map +1 -0
- package/dist/index.cjs188.js +2 -0
- package/dist/index.cjs188.js.map +1 -0
- package/dist/index.cjs189.js +2 -0
- package/dist/index.cjs189.js.map +1 -0
- package/dist/index.cjs19.js +2 -0
- package/dist/index.cjs19.js.map +1 -0
- package/dist/index.cjs190.js +2 -0
- package/dist/index.cjs190.js.map +1 -0
- package/dist/index.cjs191.js +2 -0
- package/dist/index.cjs191.js.map +1 -0
- package/dist/index.cjs192.js +2 -0
- package/dist/index.cjs192.js.map +1 -0
- package/dist/index.cjs193.js +2 -0
- package/dist/index.cjs193.js.map +1 -0
- package/dist/index.cjs194.js +2 -0
- package/dist/index.cjs194.js.map +1 -0
- package/dist/index.cjs195.js +2 -0
- package/dist/index.cjs195.js.map +1 -0
- package/dist/index.cjs196.js +2 -0
- package/dist/index.cjs196.js.map +1 -0
- package/dist/index.cjs197.js +2 -0
- package/dist/index.cjs197.js.map +1 -0
- package/dist/index.cjs198.js +2 -0
- package/dist/index.cjs198.js.map +1 -0
- package/dist/index.cjs199.js +2 -0
- package/dist/index.cjs199.js.map +1 -0
- package/dist/index.cjs2.js +2 -0
- package/dist/index.cjs2.js.map +1 -0
- package/dist/index.cjs20.js +2 -0
- package/dist/index.cjs20.js.map +1 -0
- package/dist/index.cjs200.js +2 -0
- package/dist/index.cjs200.js.map +1 -0
- package/dist/index.cjs201.js +2 -0
- package/dist/index.cjs201.js.map +1 -0
- package/dist/index.cjs202.js +2 -0
- package/dist/index.cjs202.js.map +1 -0
- package/dist/index.cjs203.js +2 -0
- package/dist/index.cjs203.js.map +1 -0
- package/dist/index.cjs204.js +2 -0
- package/dist/index.cjs204.js.map +1 -0
- package/dist/index.cjs205.js +2 -0
- package/dist/index.cjs205.js.map +1 -0
- package/dist/index.cjs206.js +2 -0
- package/dist/index.cjs206.js.map +1 -0
- package/dist/index.cjs207.js +2 -0
- package/dist/index.cjs207.js.map +1 -0
- package/dist/index.cjs208.js +2 -0
- package/dist/index.cjs208.js.map +1 -0
- package/dist/index.cjs209.js +2 -0
- package/dist/index.cjs209.js.map +1 -0
- package/dist/index.cjs21.js +2 -0
- package/dist/index.cjs21.js.map +1 -0
- package/dist/index.cjs210.js +2 -0
- package/dist/index.cjs210.js.map +1 -0
- package/dist/index.cjs211.js +2 -0
- package/dist/index.cjs211.js.map +1 -0
- package/dist/index.cjs212.js +2 -0
- package/dist/index.cjs212.js.map +1 -0
- package/dist/index.cjs213.js +2 -0
- package/dist/index.cjs213.js.map +1 -0
- package/dist/index.cjs214.js +2 -0
- package/dist/index.cjs214.js.map +1 -0
- package/dist/index.cjs215.js +2 -0
- package/dist/index.cjs215.js.map +1 -0
- package/dist/index.cjs216.js +2 -0
- package/dist/index.cjs216.js.map +1 -0
- package/dist/index.cjs217.js +8 -0
- package/dist/index.cjs217.js.map +1 -0
- package/dist/index.cjs218.js +2 -0
- package/dist/index.cjs218.js.map +1 -0
- package/dist/index.cjs219.js +2 -0
- package/dist/index.cjs219.js.map +1 -0
- package/dist/index.cjs22.js +2 -0
- package/dist/index.cjs22.js.map +1 -0
- package/dist/index.cjs220.js +2 -0
- package/dist/index.cjs220.js.map +1 -0
- package/dist/index.cjs221.js +2 -0
- package/dist/index.cjs221.js.map +1 -0
- package/dist/index.cjs222.js +2 -0
- package/dist/index.cjs222.js.map +1 -0
- package/dist/index.cjs223.js +2 -0
- package/dist/index.cjs223.js.map +1 -0
- package/dist/index.cjs224.js +2 -0
- package/dist/index.cjs224.js.map +1 -0
- package/dist/index.cjs225.js +2 -0
- package/dist/index.cjs225.js.map +1 -0
- package/dist/index.cjs226.js +2 -0
- package/dist/index.cjs226.js.map +1 -0
- package/dist/index.cjs227.js +2 -0
- package/dist/index.cjs227.js.map +1 -0
- package/dist/index.cjs228.js +2 -0
- package/dist/index.cjs228.js.map +1 -0
- package/dist/index.cjs229.js +2 -0
- package/dist/index.cjs229.js.map +1 -0
- package/dist/index.cjs23.js +2 -0
- package/dist/index.cjs23.js.map +1 -0
- package/dist/index.cjs230.js +2 -0
- package/dist/index.cjs230.js.map +1 -0
- package/dist/index.cjs231.js +2 -0
- package/dist/index.cjs231.js.map +1 -0
- package/dist/index.cjs232.js +2 -0
- package/dist/index.cjs232.js.map +1 -0
- package/dist/index.cjs233.js +2 -0
- package/dist/index.cjs233.js.map +1 -0
- package/dist/index.cjs234.js +2 -0
- package/dist/index.cjs234.js.map +1 -0
- package/dist/index.cjs235.js +2 -0
- package/dist/index.cjs235.js.map +1 -0
- package/dist/index.cjs236.js +2 -0
- package/dist/index.cjs236.js.map +1 -0
- package/dist/index.cjs237.js +2 -0
- package/dist/index.cjs237.js.map +1 -0
- package/dist/index.cjs238.js +2 -0
- package/dist/index.cjs238.js.map +1 -0
- package/dist/index.cjs239.js +2 -0
- package/dist/index.cjs239.js.map +1 -0
- package/dist/index.cjs24.js +2 -0
- package/dist/index.cjs24.js.map +1 -0
- package/dist/index.cjs240.js +2 -0
- package/dist/index.cjs240.js.map +1 -0
- package/dist/index.cjs241.js +2 -0
- package/dist/index.cjs241.js.map +1 -0
- package/dist/index.cjs242.js +2 -0
- package/dist/index.cjs242.js.map +1 -0
- package/dist/index.cjs243.js +2 -0
- package/dist/index.cjs243.js.map +1 -0
- package/dist/index.cjs244.js +2 -0
- package/dist/index.cjs244.js.map +1 -0
- package/dist/index.cjs245.js +2 -0
- package/dist/index.cjs245.js.map +1 -0
- package/dist/index.cjs246.js +2 -0
- package/dist/index.cjs246.js.map +1 -0
- package/dist/index.cjs247.js +2 -0
- package/dist/index.cjs247.js.map +1 -0
- package/dist/index.cjs248.js +2 -0
- package/dist/index.cjs248.js.map +1 -0
- package/dist/index.cjs249.js +2 -0
- package/dist/index.cjs249.js.map +1 -0
- package/dist/index.cjs25.js +2 -0
- package/dist/index.cjs25.js.map +1 -0
- package/dist/index.cjs250.js +2 -0
- package/dist/index.cjs250.js.map +1 -0
- package/dist/index.cjs251.js +2 -0
- package/dist/index.cjs251.js.map +1 -0
- package/dist/index.cjs252.js +2 -0
- package/dist/index.cjs252.js.map +1 -0
- package/dist/index.cjs253.js +2 -0
- package/dist/index.cjs253.js.map +1 -0
- package/dist/index.cjs254.js +2 -0
- package/dist/index.cjs254.js.map +1 -0
- package/dist/index.cjs255.js +2 -0
- package/dist/index.cjs255.js.map +1 -0
- package/dist/index.cjs256.js +2 -0
- package/dist/index.cjs256.js.map +1 -0
- package/dist/index.cjs257.js +2 -0
- package/dist/index.cjs257.js.map +1 -0
- package/dist/index.cjs258.js +2 -0
- package/dist/index.cjs258.js.map +1 -0
- package/dist/index.cjs259.js +2 -0
- package/dist/index.cjs259.js.map +1 -0
- package/dist/index.cjs26.js +2 -0
- package/dist/index.cjs26.js.map +1 -0
- package/dist/index.cjs260.js +2 -0
- package/dist/index.cjs260.js.map +1 -0
- package/dist/index.cjs261.js +2 -0
- package/dist/index.cjs261.js.map +1 -0
- package/dist/index.cjs262.js +2 -0
- package/dist/index.cjs262.js.map +1 -0
- package/dist/index.cjs263.js +2 -0
- package/dist/index.cjs263.js.map +1 -0
- package/dist/index.cjs264.js +2 -0
- package/dist/index.cjs264.js.map +1 -0
- package/dist/index.cjs265.js +2 -0
- package/dist/index.cjs265.js.map +1 -0
- package/dist/index.cjs266.js +2 -0
- package/dist/index.cjs266.js.map +1 -0
- package/dist/index.cjs267.js +2 -0
- package/dist/index.cjs267.js.map +1 -0
- package/dist/index.cjs268.js +2 -0
- package/dist/index.cjs268.js.map +1 -0
- package/dist/index.cjs269.js +2 -0
- package/dist/index.cjs269.js.map +1 -0
- package/dist/index.cjs27.js +2 -0
- package/dist/index.cjs27.js.map +1 -0
- package/dist/index.cjs270.js +2 -0
- package/dist/index.cjs270.js.map +1 -0
- package/dist/index.cjs271.js +2 -0
- package/dist/index.cjs271.js.map +1 -0
- package/dist/index.cjs272.js +2 -0
- package/dist/index.cjs272.js.map +1 -0
- package/dist/index.cjs273.js +2 -0
- package/dist/index.cjs273.js.map +1 -0
- package/dist/index.cjs274.js +2 -0
- package/dist/index.cjs274.js.map +1 -0
- package/dist/index.cjs28.js +2 -0
- package/dist/index.cjs28.js.map +1 -0
- package/dist/index.cjs29.js +2 -0
- package/dist/index.cjs29.js.map +1 -0
- package/dist/index.cjs3.js +2 -0
- package/dist/index.cjs3.js.map +1 -0
- package/dist/index.cjs30.js +2 -0
- package/dist/index.cjs30.js.map +1 -0
- package/dist/index.cjs31.js +14 -0
- package/dist/index.cjs31.js.map +1 -0
- package/dist/index.cjs32.js +2 -0
- package/dist/index.cjs32.js.map +1 -0
- package/dist/index.cjs34.js +2 -0
- package/dist/index.cjs34.js.map +1 -0
- package/dist/index.cjs35.js +2 -0
- package/dist/index.cjs35.js.map +1 -0
- package/dist/index.cjs36.js +2 -0
- package/dist/index.cjs36.js.map +1 -0
- package/dist/index.cjs37.js +2 -0
- package/dist/index.cjs37.js.map +1 -0
- package/dist/index.cjs38.js +2 -0
- package/dist/index.cjs38.js.map +1 -0
- package/dist/index.cjs39.js +2 -0
- package/dist/index.cjs39.js.map +1 -0
- package/dist/index.cjs4.js +2 -0
- package/dist/index.cjs4.js.map +1 -0
- package/dist/index.cjs40.js +2 -0
- package/dist/index.cjs40.js.map +1 -0
- package/dist/index.cjs41.js +2 -0
- package/dist/index.cjs41.js.map +1 -0
- package/dist/index.cjs42.js +2 -0
- package/dist/index.cjs42.js.map +1 -0
- package/dist/index.cjs43.js +2 -0
- package/dist/index.cjs43.js.map +1 -0
- package/dist/index.cjs44.js +2 -0
- package/dist/index.cjs44.js.map +1 -0
- package/dist/index.cjs45.js +2 -0
- package/dist/index.cjs45.js.map +1 -0
- package/dist/index.cjs46.js +2 -0
- package/dist/index.cjs46.js.map +1 -0
- package/dist/index.cjs47.js +2 -0
- package/dist/index.cjs47.js.map +1 -0
- package/dist/index.cjs48.js +2 -0
- package/dist/index.cjs48.js.map +1 -0
- package/dist/index.cjs49.js +2 -0
- package/dist/index.cjs49.js.map +1 -0
- package/dist/index.cjs5.js +2 -0
- package/dist/index.cjs5.js.map +1 -0
- package/dist/index.cjs50.js +2 -0
- package/dist/index.cjs50.js.map +1 -0
- package/dist/index.cjs51.js +2 -0
- package/dist/index.cjs51.js.map +1 -0
- package/dist/index.cjs52.js +2 -0
- package/dist/index.cjs52.js.map +1 -0
- package/dist/index.cjs53.js +2 -0
- package/dist/index.cjs53.js.map +1 -0
- package/dist/index.cjs54.js +2 -0
- package/dist/index.cjs54.js.map +1 -0
- package/dist/index.cjs55.js +2 -0
- package/dist/index.cjs55.js.map +1 -0
- package/dist/index.cjs56.js +2 -0
- package/dist/index.cjs56.js.map +1 -0
- package/dist/index.cjs57.js +2 -0
- package/dist/index.cjs57.js.map +1 -0
- package/dist/index.cjs58.js +2 -0
- package/dist/index.cjs58.js.map +1 -0
- package/dist/index.cjs59.js +2 -0
- package/dist/index.cjs59.js.map +1 -0
- package/dist/index.cjs6.js +2 -0
- package/dist/index.cjs6.js.map +1 -0
- package/dist/index.cjs60.js +2 -0
- package/dist/index.cjs60.js.map +1 -0
- package/dist/index.cjs61.js +2 -0
- package/dist/index.cjs61.js.map +1 -0
- package/dist/index.cjs62.js +2 -0
- package/dist/index.cjs62.js.map +1 -0
- package/dist/index.cjs63.js +2 -0
- package/dist/index.cjs63.js.map +1 -0
- package/dist/index.cjs67.js +2 -0
- package/dist/index.cjs67.js.map +1 -0
- package/dist/index.cjs68.js +441 -0
- package/dist/index.cjs68.js.map +1 -0
- package/dist/index.cjs69.js +2 -0
- package/dist/index.cjs69.js.map +1 -0
- package/dist/index.cjs7.js +2 -0
- package/dist/index.cjs7.js.map +1 -0
- package/dist/index.cjs70.js +2 -0
- package/dist/index.cjs70.js.map +1 -0
- package/dist/index.cjs71.js +2 -0
- package/dist/index.cjs71.js.map +1 -0
- package/dist/index.cjs72.js +2 -0
- package/dist/index.cjs72.js.map +1 -0
- package/dist/index.cjs73.js +2 -0
- package/dist/index.cjs73.js.map +1 -0
- package/dist/index.cjs74.js +2 -0
- package/dist/index.cjs74.js.map +1 -0
- package/dist/index.cjs75.js +2 -0
- package/dist/index.cjs75.js.map +1 -0
- package/dist/index.cjs76.js +2 -0
- package/dist/index.cjs76.js.map +1 -0
- package/dist/index.cjs77.js +2 -0
- package/dist/index.cjs77.js.map +1 -0
- package/dist/index.cjs78.js +744 -0
- package/dist/index.cjs78.js.map +1 -0
- package/dist/index.cjs79.js +2 -0
- package/dist/index.cjs79.js.map +1 -0
- package/dist/index.cjs8.js +2 -0
- package/dist/index.cjs8.js.map +1 -0
- package/dist/index.cjs80.js +2 -0
- package/dist/index.cjs80.js.map +1 -0
- package/dist/index.cjs81.js +2 -0
- package/dist/index.cjs81.js.map +1 -0
- package/dist/index.cjs82.js +10 -0
- package/dist/index.cjs82.js.map +1 -0
- package/dist/index.cjs83.js +18 -0
- package/dist/index.cjs83.js.map +1 -0
- package/dist/index.cjs84.js +2 -0
- package/dist/index.cjs84.js.map +1 -0
- package/dist/index.cjs85.js +2 -0
- package/dist/index.cjs85.js.map +1 -0
- package/dist/index.cjs86.js +2 -0
- package/dist/index.cjs86.js.map +1 -0
- package/dist/index.cjs87.js +2 -0
- package/dist/index.cjs87.js.map +1 -0
- package/dist/index.cjs88.js +2 -0
- package/dist/index.cjs88.js.map +1 -0
- package/dist/index.cjs89.js +2 -0
- package/dist/index.cjs89.js.map +1 -0
- package/dist/index.cjs9.js +2 -0
- package/dist/index.cjs9.js.map +1 -0
- package/dist/index.cjs90.js +2 -0
- package/dist/index.cjs90.js.map +1 -0
- package/dist/index.cjs91.js +2 -0
- package/dist/index.cjs91.js.map +1 -0
- package/dist/index.cjs92.js +2 -0
- package/dist/index.cjs92.js.map +1 -0
- package/dist/index.cjs93.js +2 -0
- package/dist/index.cjs93.js.map +1 -0
- package/dist/index.cjs94.js +2 -0
- package/dist/index.cjs94.js.map +1 -0
- package/dist/index.cjs95.js +2 -0
- package/dist/index.cjs95.js.map +1 -0
- package/dist/index.cjs96.js +2 -0
- package/dist/index.cjs96.js.map +1 -0
- package/dist/index.cjs97.js +2 -0
- package/dist/index.cjs97.js.map +1 -0
- package/dist/index.cjs98.js +2 -0
- package/dist/index.cjs98.js.map +1 -0
- package/dist/index.cjs99.js +2 -0
- package/dist/index.cjs99.js.map +1 -0
- package/dist/index.es.js +29 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.es10.js +44 -0
- package/dist/index.es10.js.map +1 -0
- package/dist/index.es100.js +6 -0
- package/dist/index.es100.js.map +1 -0
- package/dist/index.es101.js +6 -0
- package/dist/index.es101.js.map +1 -0
- package/dist/index.es102.js +6 -0
- package/dist/index.es102.js.map +1 -0
- package/dist/index.es103.js +6 -0
- package/dist/index.es103.js.map +1 -0
- package/dist/index.es104.js +6 -0
- package/dist/index.es104.js.map +1 -0
- package/dist/index.es105.js +6 -0
- package/dist/index.es105.js.map +1 -0
- package/dist/index.es106.js +13 -0
- package/dist/index.es106.js.map +1 -0
- package/dist/index.es107.js +7 -0
- package/dist/index.es107.js.map +1 -0
- package/dist/index.es108.js +9 -0
- package/dist/index.es108.js.map +1 -0
- package/dist/index.es109.js +9 -0
- package/dist/index.es109.js.map +1 -0
- package/dist/index.es11.js +36 -0
- package/dist/index.es11.js.map +1 -0
- package/dist/index.es110.js +13 -0
- package/dist/index.es110.js.map +1 -0
- package/dist/index.es111.js +14 -0
- package/dist/index.es111.js.map +1 -0
- package/dist/index.es112.js +14 -0
- package/dist/index.es112.js.map +1 -0
- package/dist/index.es113.js +78 -0
- package/dist/index.es113.js.map +1 -0
- package/dist/index.es114.js +6 -0
- package/dist/index.es114.js.map +1 -0
- package/dist/index.es115.js +15 -0
- package/dist/index.es115.js.map +1 -0
- package/dist/index.es116.js +13 -0
- package/dist/index.es116.js.map +1 -0
- package/dist/index.es117.js +10 -0
- package/dist/index.es117.js.map +1 -0
- package/dist/index.es118.js +10 -0
- package/dist/index.es118.js.map +1 -0
- package/dist/index.es119.js +10 -0
- package/dist/index.es119.js.map +1 -0
- package/dist/index.es12.js +21 -0
- package/dist/index.es12.js.map +1 -0
- package/dist/index.es120.js +11 -0
- package/dist/index.es120.js.map +1 -0
- package/dist/index.es121.js +7 -0
- package/dist/index.es121.js.map +1 -0
- package/dist/index.es122.js +7 -0
- package/dist/index.es122.js.map +1 -0
- package/dist/index.es123.js +7 -0
- package/dist/index.es123.js.map +1 -0
- package/dist/index.es124.js +10 -0
- package/dist/index.es124.js.map +1 -0
- package/dist/index.es125.js +10 -0
- package/dist/index.es125.js.map +1 -0
- package/dist/index.es126.js +7 -0
- package/dist/index.es126.js.map +1 -0
- package/dist/index.es127.js +11 -0
- package/dist/index.es127.js.map +1 -0
- package/dist/index.es128.js +15 -0
- package/dist/index.es128.js.map +1 -0
- package/dist/index.es129.js +14 -0
- package/dist/index.es129.js.map +1 -0
- package/dist/index.es13.js +122 -0
- package/dist/index.es13.js.map +1 -0
- package/dist/index.es130.js +7 -0
- package/dist/index.es130.js.map +1 -0
- package/dist/index.es131.js +9 -0
- package/dist/index.es131.js.map +1 -0
- package/dist/index.es132.js +6 -0
- package/dist/index.es132.js.map +1 -0
- package/dist/index.es133.js +11 -0
- package/dist/index.es133.js.map +1 -0
- package/dist/index.es134.js +11 -0
- package/dist/index.es134.js.map +1 -0
- package/dist/index.es135.js +11 -0
- package/dist/index.es135.js.map +1 -0
- package/dist/index.es136.js +11 -0
- package/dist/index.es136.js.map +1 -0
- package/dist/index.es137.js +7 -0
- package/dist/index.es137.js.map +1 -0
- package/dist/index.es138.js +7 -0
- package/dist/index.es138.js.map +1 -0
- package/dist/index.es139.js +60 -0
- package/dist/index.es139.js.map +1 -0
- package/dist/index.es14.js +45 -0
- package/dist/index.es14.js.map +1 -0
- package/dist/index.es140.js +17 -0
- package/dist/index.es140.js.map +1 -0
- package/dist/index.es141.js +9 -0
- package/dist/index.es141.js.map +1 -0
- package/dist/index.es142.js +9 -0
- package/dist/index.es142.js.map +1 -0
- package/dist/index.es143.js +12 -0
- package/dist/index.es143.js.map +1 -0
- package/dist/index.es144.js +20 -0
- package/dist/index.es144.js.map +1 -0
- package/dist/index.es145.js +17 -0
- package/dist/index.es145.js.map +1 -0
- package/dist/index.es146.js +8 -0
- package/dist/index.es146.js.map +1 -0
- package/dist/index.es147.js +9 -0
- package/dist/index.es147.js.map +1 -0
- package/dist/index.es148.js +11 -0
- package/dist/index.es148.js.map +1 -0
- package/dist/index.es149.js +10 -0
- package/dist/index.es149.js.map +1 -0
- package/dist/index.es15.js +6 -0
- package/dist/index.es15.js.map +1 -0
- package/dist/index.es150.js +10 -0
- package/dist/index.es150.js.map +1 -0
- package/dist/index.es151.js +11 -0
- package/dist/index.es151.js.map +1 -0
- package/dist/index.es152.js +6 -0
- package/dist/index.es152.js.map +1 -0
- package/dist/index.es153.js +6 -0
- package/dist/index.es153.js.map +1 -0
- package/dist/index.es154.js +14 -0
- package/dist/index.es154.js.map +1 -0
- package/dist/index.es155.js +8 -0
- package/dist/index.es155.js.map +1 -0
- package/dist/index.es156.js +7 -0
- package/dist/index.es156.js.map +1 -0
- package/dist/index.es157.js +11 -0
- package/dist/index.es157.js.map +1 -0
- package/dist/index.es158.js +9 -0
- package/dist/index.es158.js.map +1 -0
- package/dist/index.es159.js +20 -0
- package/dist/index.es159.js.map +1 -0
- package/dist/index.es16.js +56 -0
- package/dist/index.es16.js.map +1 -0
- package/dist/index.es160.js +15 -0
- package/dist/index.es160.js.map +1 -0
- package/dist/index.es161.js +6 -0
- package/dist/index.es161.js.map +1 -0
- package/dist/index.es162.js +6 -0
- package/dist/index.es162.js.map +1 -0
- package/dist/index.es163.js +12 -0
- package/dist/index.es163.js.map +1 -0
- package/dist/index.es164.js +10 -0
- package/dist/index.es164.js.map +1 -0
- package/dist/index.es165.js +15 -0
- package/dist/index.es165.js.map +1 -0
- package/dist/index.es166.js +15 -0
- package/dist/index.es166.js.map +1 -0
- package/dist/index.es167.js +10 -0
- package/dist/index.es167.js.map +1 -0
- package/dist/index.es168.js +9 -0
- package/dist/index.es168.js.map +1 -0
- package/dist/index.es169.js +9 -0
- package/dist/index.es169.js.map +1 -0
- package/dist/index.es17.js +50 -0
- package/dist/index.es17.js.map +1 -0
- package/dist/index.es170.js +20 -0
- package/dist/index.es170.js.map +1 -0
- package/dist/index.es171.js +20 -0
- package/dist/index.es171.js.map +1 -0
- package/dist/index.es172.js +8 -0
- package/dist/index.es172.js.map +1 -0
- package/dist/index.es173.js +20 -0
- package/dist/index.es173.js.map +1 -0
- package/dist/index.es174.js +24 -0
- package/dist/index.es174.js.map +1 -0
- package/dist/index.es175.js +9 -0
- package/dist/index.es175.js.map +1 -0
- package/dist/index.es176.js +8 -0
- package/dist/index.es176.js.map +1 -0
- package/dist/index.es177.js +9 -0
- package/dist/index.es177.js.map +1 -0
- package/dist/index.es178.js +8 -0
- package/dist/index.es178.js.map +1 -0
- package/dist/index.es179.js +15 -0
- package/dist/index.es179.js.map +1 -0
- package/dist/index.es18.js +34 -0
- package/dist/index.es18.js.map +1 -0
- package/dist/index.es180.js +9 -0
- package/dist/index.es180.js.map +1 -0
- package/dist/index.es181.js +8 -0
- package/dist/index.es181.js.map +1 -0
- package/dist/index.es182.js +8 -0
- package/dist/index.es182.js.map +1 -0
- package/dist/index.es183.js +8 -0
- package/dist/index.es183.js.map +1 -0
- package/dist/index.es184.js +8 -0
- package/dist/index.es184.js.map +1 -0
- package/dist/index.es185.js +8 -0
- package/dist/index.es185.js.map +1 -0
- package/dist/index.es186.js +8 -0
- package/dist/index.es186.js.map +1 -0
- package/dist/index.es187.js +16 -0
- package/dist/index.es187.js.map +1 -0
- package/dist/index.es188.js +18 -0
- package/dist/index.es188.js.map +1 -0
- package/dist/index.es189.js +12 -0
- package/dist/index.es189.js.map +1 -0
- package/dist/index.es19.js +13 -0
- package/dist/index.es19.js.map +1 -0
- package/dist/index.es190.js +10 -0
- package/dist/index.es190.js.map +1 -0
- package/dist/index.es191.js +10 -0
- package/dist/index.es191.js.map +1 -0
- package/dist/index.es192.js +11 -0
- package/dist/index.es192.js.map +1 -0
- package/dist/index.es193.js +21 -0
- package/dist/index.es193.js.map +1 -0
- package/dist/index.es194.js +151 -0
- package/dist/index.es194.js.map +1 -0
- package/dist/index.es195.js +10 -0
- package/dist/index.es195.js.map +1 -0
- package/dist/index.es196.js +8 -0
- package/dist/index.es196.js.map +1 -0
- package/dist/index.es197.js +4 -0
- package/dist/index.es197.js.map +1 -0
- package/dist/index.es198.js +4 -0
- package/dist/index.es198.js.map +1 -0
- package/dist/index.es199.js +39 -0
- package/dist/index.es199.js.map +1 -0
- package/dist/index.es2.js +41 -0
- package/dist/index.es2.js.map +1 -0
- package/dist/index.es20.js +16 -0
- package/dist/index.es20.js.map +1 -0
- package/dist/index.es200.js +4 -0
- package/dist/index.es200.js.map +1 -0
- package/dist/index.es201.js +26 -0
- package/dist/index.es201.js.map +1 -0
- package/dist/index.es202.js +3 -0
- package/dist/index.es202.js.map +1 -0
- package/dist/index.es203.js +4 -0
- package/dist/index.es203.js.map +1 -0
- package/dist/index.es204.js +3 -0
- package/dist/index.es204.js.map +1 -0
- package/dist/index.es205.js +34 -0
- package/dist/index.es205.js.map +1 -0
- package/dist/index.es206.js +16 -0
- package/dist/index.es206.js.map +1 -0
- package/dist/index.es207.js +17 -0
- package/dist/index.es207.js.map +1 -0
- package/dist/index.es208.js +12 -0
- package/dist/index.es208.js.map +1 -0
- package/dist/index.es209.js +246 -0
- package/dist/index.es209.js.map +1 -0
- package/dist/index.es21.js +26 -0
- package/dist/index.es21.js.map +1 -0
- package/dist/index.es210.js +46 -0
- package/dist/index.es210.js.map +1 -0
- package/dist/index.es211.js +6 -0
- package/dist/index.es211.js.map +1 -0
- package/dist/index.es212.js +14 -0
- package/dist/index.es212.js.map +1 -0
- package/dist/index.es213.js +14 -0
- package/dist/index.es213.js.map +1 -0
- package/dist/index.es214.js +34 -0
- package/dist/index.es214.js.map +1 -0
- package/dist/index.es215.js +17 -0
- package/dist/index.es215.js.map +1 -0
- package/dist/index.es216.js +8 -0
- package/dist/index.es216.js.map +1 -0
- package/dist/index.es217.js +7510 -0
- package/dist/index.es217.js.map +1 -0
- package/dist/index.es218.js +5 -0
- package/dist/index.es218.js.map +1 -0
- package/dist/index.es219.js +11 -0
- package/dist/index.es219.js.map +1 -0
- package/dist/index.es22.js +16 -0
- package/dist/index.es22.js.map +1 -0
- package/dist/index.es220.js +8 -0
- package/dist/index.es220.js.map +1 -0
- package/dist/index.es221.js +7 -0
- package/dist/index.es221.js.map +1 -0
- package/dist/index.es222.js +6 -0
- package/dist/index.es222.js.map +1 -0
- package/dist/index.es223.js +6 -0
- package/dist/index.es223.js.map +1 -0
- package/dist/index.es224.js +12 -0
- package/dist/index.es224.js.map +1 -0
- package/dist/index.es225.js +22 -0
- package/dist/index.es225.js.map +1 -0
- package/dist/index.es226.js +24 -0
- package/dist/index.es226.js.map +1 -0
- package/dist/index.es227.js +16 -0
- package/dist/index.es227.js.map +1 -0
- package/dist/index.es228.js +18 -0
- package/dist/index.es228.js.map +1 -0
- package/dist/index.es229.js +9 -0
- package/dist/index.es229.js.map +1 -0
- package/dist/index.es23.js +15 -0
- package/dist/index.es23.js.map +1 -0
- package/dist/index.es230.js +11 -0
- package/dist/index.es230.js.map +1 -0
- package/dist/index.es231.js +10 -0
- package/dist/index.es231.js.map +1 -0
- package/dist/index.es232.js +25 -0
- package/dist/index.es232.js.map +1 -0
- package/dist/index.es233.js +13 -0
- package/dist/index.es233.js.map +1 -0
- package/dist/index.es234.js +12 -0
- package/dist/index.es234.js.map +1 -0
- package/dist/index.es235.js +7 -0
- package/dist/index.es235.js.map +1 -0
- package/dist/index.es236.js +14 -0
- package/dist/index.es236.js.map +1 -0
- package/dist/index.es237.js +11 -0
- package/dist/index.es237.js.map +1 -0
- package/dist/index.es238.js +24 -0
- package/dist/index.es238.js.map +1 -0
- package/dist/index.es239.js +14 -0
- package/dist/index.es239.js.map +1 -0
- package/dist/index.es24.js +13 -0
- package/dist/index.es24.js.map +1 -0
- package/dist/index.es240.js +21 -0
- package/dist/index.es240.js.map +1 -0
- package/dist/index.es241.js +7 -0
- package/dist/index.es241.js.map +1 -0
- package/dist/index.es242.js +21 -0
- package/dist/index.es242.js.map +1 -0
- package/dist/index.es243.js +15 -0
- package/dist/index.es243.js.map +1 -0
- package/dist/index.es244.js +7 -0
- package/dist/index.es244.js.map +1 -0
- package/dist/index.es245.js +8 -0
- package/dist/index.es245.js.map +1 -0
- package/dist/index.es246.js +24 -0
- package/dist/index.es246.js.map +1 -0
- package/dist/index.es247.js +26 -0
- package/dist/index.es247.js.map +1 -0
- package/dist/index.es248.js +28 -0
- package/dist/index.es248.js.map +1 -0
- package/dist/index.es249.js +20 -0
- package/dist/index.es249.js.map +1 -0
- package/dist/index.es25.js +11 -0
- package/dist/index.es25.js.map +1 -0
- package/dist/index.es250.js +34 -0
- package/dist/index.es250.js.map +1 -0
- package/dist/index.es251.js +25 -0
- package/dist/index.es251.js.map +1 -0
- package/dist/index.es252.js +78 -0
- package/dist/index.es252.js.map +1 -0
- package/dist/index.es253.js +24 -0
- package/dist/index.es253.js.map +1 -0
- package/dist/index.es254.js +44 -0
- package/dist/index.es254.js.map +1 -0
- package/dist/index.es255.js +53 -0
- package/dist/index.es255.js.map +1 -0
- package/dist/index.es256.js +11 -0
- package/dist/index.es256.js.map +1 -0
- package/dist/index.es257.js +24 -0
- package/dist/index.es257.js.map +1 -0
- package/dist/index.es258.js +69 -0
- package/dist/index.es258.js.map +1 -0
- package/dist/index.es259.js +46 -0
- package/dist/index.es259.js.map +1 -0
- package/dist/index.es26.js +68 -0
- package/dist/index.es26.js.map +1 -0
- package/dist/index.es260.js +67 -0
- package/dist/index.es260.js.map +1 -0
- package/dist/index.es261.js +12 -0
- package/dist/index.es261.js.map +1 -0
- package/dist/index.es262.js +7 -0
- package/dist/index.es262.js.map +1 -0
- package/dist/index.es263.js +16 -0
- package/dist/index.es263.js.map +1 -0
- package/dist/index.es264.js +63 -0
- package/dist/index.es264.js.map +1 -0
- package/dist/index.es265.js +53 -0
- package/dist/index.es265.js.map +1 -0
- package/dist/index.es266.js +6 -0
- package/dist/index.es266.js.map +1 -0
- package/dist/index.es267.js +11 -0
- package/dist/index.es267.js.map +1 -0
- package/dist/index.es268.js +9 -0
- package/dist/index.es268.js.map +1 -0
- package/dist/index.es269.js +6 -0
- package/dist/index.es269.js.map +1 -0
- package/dist/index.es27.js +54 -0
- package/dist/index.es27.js.map +1 -0
- package/dist/index.es270.js +8 -0
- package/dist/index.es270.js.map +1 -0
- package/dist/index.es271.js +19 -0
- package/dist/index.es271.js.map +1 -0
- package/dist/index.es272.js +73 -0
- package/dist/index.es272.js.map +1 -0
- package/dist/index.es273.js +7 -0
- package/dist/index.es273.js.map +1 -0
- package/dist/index.es274.js +28 -0
- package/dist/index.es274.js.map +1 -0
- package/dist/index.es28.js +13 -0
- package/dist/index.es28.js.map +1 -0
- package/dist/index.es29.js +8 -0
- package/dist/index.es29.js.map +1 -0
- package/dist/index.es3.js +33 -0
- package/dist/index.es3.js.map +1 -0
- package/dist/index.es30.js +15 -0
- package/dist/index.es30.js.map +1 -0
- package/dist/index.es31.js +5034 -0
- package/dist/index.es31.js.map +1 -0
- package/dist/index.es32.js +29 -0
- package/dist/index.es32.js.map +1 -0
- package/dist/index.es34.js +9 -0
- package/dist/index.es34.js.map +1 -0
- package/dist/index.es35.js +9 -0
- package/dist/index.es35.js.map +1 -0
- package/dist/index.es36.js +8 -0
- package/dist/index.es36.js.map +1 -0
- package/dist/index.es37.js +31 -0
- package/dist/index.es37.js.map +1 -0
- package/dist/index.es38.js +11 -0
- package/dist/index.es38.js.map +1 -0
- package/dist/index.es39.js +8 -0
- package/dist/index.es39.js.map +1 -0
- package/dist/index.es4.js +58 -0
- package/dist/index.es4.js.map +1 -0
- package/dist/index.es40.js +13 -0
- package/dist/index.es40.js.map +1 -0
- package/dist/index.es41.js +18 -0
- package/dist/index.es41.js.map +1 -0
- package/dist/index.es42.js +8 -0
- package/dist/index.es42.js.map +1 -0
- package/dist/index.es43.js +8 -0
- package/dist/index.es43.js.map +1 -0
- package/dist/index.es44.js +8 -0
- package/dist/index.es44.js.map +1 -0
- package/dist/index.es45.js +10 -0
- package/dist/index.es45.js.map +1 -0
- package/dist/index.es46.js +10 -0
- package/dist/index.es46.js.map +1 -0
- package/dist/index.es47.js +7 -0
- package/dist/index.es47.js.map +1 -0
- package/dist/index.es48.js +7 -0
- package/dist/index.es48.js.map +1 -0
- package/dist/index.es49.js +10 -0
- package/dist/index.es49.js.map +1 -0
- package/dist/index.es5.js +27 -0
- package/dist/index.es5.js.map +1 -0
- package/dist/index.es50.js +17 -0
- package/dist/index.es50.js.map +1 -0
- package/dist/index.es51.js +14 -0
- package/dist/index.es51.js.map +1 -0
- package/dist/index.es52.js +17 -0
- package/dist/index.es52.js.map +1 -0
- package/dist/index.es53.js +10 -0
- package/dist/index.es53.js.map +1 -0
- package/dist/index.es54.js +8 -0
- package/dist/index.es54.js.map +1 -0
- package/dist/index.es55.js +7 -0
- package/dist/index.es55.js.map +1 -0
- package/dist/index.es56.js +20 -0
- package/dist/index.es56.js.map +1 -0
- package/dist/index.es57.js +20 -0
- package/dist/index.es57.js.map +1 -0
- package/dist/index.es58.js +17 -0
- package/dist/index.es58.js.map +1 -0
- package/dist/index.es59.js +9 -0
- package/dist/index.es59.js.map +1 -0
- package/dist/index.es6.js +124 -0
- package/dist/index.es6.js.map +1 -0
- package/dist/index.es60.js +10 -0
- package/dist/index.es60.js.map +1 -0
- package/dist/index.es61.js +13 -0
- package/dist/index.es61.js.map +1 -0
- package/dist/index.es62.js +7 -0
- package/dist/index.es62.js.map +1 -0
- package/dist/index.es63.js +22 -0
- package/dist/index.es63.js.map +1 -0
- package/dist/index.es67.js +100 -0
- package/dist/index.es67.js.map +1 -0
- package/dist/index.es68.js +13752 -0
- package/dist/index.es68.js.map +1 -0
- package/dist/index.es69.js +13 -0
- package/dist/index.es69.js.map +1 -0
- package/dist/index.es7.js +78 -0
- package/dist/index.es7.js.map +1 -0
- package/dist/index.es70.js +18 -0
- package/dist/index.es70.js.map +1 -0
- package/dist/index.es71.js +16 -0
- package/dist/index.es71.js.map +1 -0
- package/dist/index.es72.js +120 -0
- package/dist/index.es72.js.map +1 -0
- package/dist/index.es73.js +84 -0
- package/dist/index.es73.js.map +1 -0
- package/dist/index.es74.js +16 -0
- package/dist/index.es74.js.map +1 -0
- package/dist/index.es75.js +15 -0
- package/dist/index.es75.js.map +1 -0
- package/dist/index.es76.js +13 -0
- package/dist/index.es76.js.map +1 -0
- package/dist/index.es77.js +11 -0
- package/dist/index.es77.js.map +1 -0
- package/dist/index.es78.js +21355 -0
- package/dist/index.es78.js.map +1 -0
- package/dist/index.es79.js +5 -0
- package/dist/index.es79.js.map +1 -0
- package/dist/index.es8.js +98 -0
- package/dist/index.es8.js.map +1 -0
- package/dist/index.es80.js +11 -0
- package/dist/index.es80.js.map +1 -0
- package/dist/index.es81.js +5 -0
- package/dist/index.es81.js.map +1 -0
- package/dist/index.es82.js +29 -0
- package/dist/index.es82.js.map +1 -0
- package/dist/index.es83.js +592 -0
- package/dist/index.es83.js.map +1 -0
- package/dist/index.es84.js +109 -0
- package/dist/index.es84.js.map +1 -0
- package/dist/index.es85.js +13 -0
- package/dist/index.es85.js.map +1 -0
- package/dist/index.es86.js +1996 -0
- package/dist/index.es86.js.map +1 -0
- package/dist/index.es87.js +9 -0
- package/dist/index.es87.js.map +1 -0
- package/dist/index.es88.js +5 -0
- package/dist/index.es88.js.map +1 -0
- package/dist/index.es89.js +5 -0
- package/dist/index.es89.js.map +1 -0
- package/dist/index.es9.js +131 -0
- package/dist/index.es9.js.map +1 -0
- package/dist/index.es90.js +5 -0
- package/dist/index.es90.js.map +1 -0
- package/dist/index.es91.js +276 -0
- package/dist/index.es91.js.map +1 -0
- package/dist/index.es92.js +18 -0
- package/dist/index.es92.js.map +1 -0
- package/dist/index.es93.js +22 -0
- package/dist/index.es93.js.map +1 -0
- package/dist/index.es94.js +8 -0
- package/dist/index.es94.js.map +1 -0
- package/dist/index.es95.js +7 -0
- package/dist/index.es95.js.map +1 -0
- package/dist/index.es96.js +7 -0
- package/dist/index.es96.js.map +1 -0
- package/dist/index.es97.js +8 -0
- package/dist/index.es97.js.map +1 -0
- package/dist/index.es98.js +7 -0
- package/dist/index.es98.js.map +1 -0
- package/dist/index.es99.js +6 -0
- package/dist/index.es99.js.map +1 -0
- package/dist/style.css +1 -0
- 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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const wn=require("./index.cjs32.js");var Ur=Object.defineProperty,Xn=n=>{throw TypeError(n)},Dr=(n,e,t)=>e in n?Ur(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,_=(n,e,t)=>Dr(n,typeof e!="symbol"?e+"":e,t),Jn=(n,e,t)=>e.has(n)||Xn("Cannot "+t),se=(n,e,t)=>(Jn(n,e,"read from private field"),e.get(n)),Yt=(n,e,t)=>e.has(n)?Xn("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,t),Nt=(n,e,t,r)=>(Jn(n,e,"write to private field"),e.set(n,t),t);function ne(){}function Fr(n,e){for(const t in e)n[t]=e[t];return n}function er(n){return n()}function xn(){return Object.create(null)}function qe(n){n.forEach(er)}function tr(n){return typeof n=="function"}function Qe(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let Ct;function pe(n,e){return n===e?!0:(Ct||(Ct=document.createElement("a")),Ct.href=e,n===Ct.href)}function qr(n){return Object.keys(n).length===0}function jr(n,e,t,r){if(n){const i=nr(n,e,t,r);return n[0](i)}}function nr(n,e,t,r){return n[1]&&r?Fr(t.ctx.slice(),n[1](r(e))):t.ctx}function Hr(n,e,t,r){return n[2],e.dirty}function Zr(n,e,t,r,i,a){if(i){const c=nr(e,t,r,a);n.p(c,i)}}function Vr(n){if(n.ctx.length>32){const e=[],t=n.ctx.length/32;for(let r=0;r<t;r++)e[r]=-1;return e}return-1}function Wt(n){return n??""}function H(n,e){n.appendChild(e)}function te(n,e,t){n.insertBefore(e,t||null)}function J(n){n.parentNode&&n.parentNode.removeChild(n)}function X(n){return document.createElement(n)}function Ce(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function Ve(n){return document.createTextNode(n)}function xe(){return Ve(" ")}function Kr(){return Ve("")}function de(n,e,t,r){return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}function Qr(n){return function(e){return e.preventDefault(),n.call(this,e)}}function L(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function Yr(n){return Array.from(n.childNodes)}function Et(n,e){e=""+e,n.data!==e&&(n.data=e)}function En(n,e){n.value=e??""}function Ae(n,e,t){n.classList.toggle(e,!!t)}function Xr(n,e,{bubbles:t=!1,cancelable:r=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:r})}let St;function xt(n){St=n}function rr(){if(!St)throw new Error("Function called outside component initialization");return St}function Jr(n){rr().$$.on_destroy.push(n)}function ir(){const n=rr();return(e,t,{cancelable:r=!1}={})=>{const i=n.$$.callbacks[e];if(i){const a=Xr(e,t,{cancelable:r});return i.slice().forEach(c=>{c.call(n,a)}),!a.defaultPrevented}return!0}}function ei(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(r=>r.call(this,e))}const lt=[],tn=[];let at=[];const Sn=[],ti=Promise.resolve();let nn=!1;function ni(){nn||(nn=!0,ti.then(or))}function rn(n){at.push(n)}const Xt=new Set;let st=0;function or(){if(st!==0)return;const n=St;do{try{for(;st<lt.length;){const e=lt[st];st++,xt(e),ri(e.$$)}}catch(e){throw lt.length=0,st=0,e}for(xt(null),lt.length=0,st=0;tn.length;)tn.pop()();for(let e=0;e<at.length;e+=1){const t=at[e];Xt.has(t)||(Xt.add(t),t())}at.length=0}while(lt.length);for(;Sn.length;)Sn.pop()();nn=!1,Xt.clear(),xt(n)}function ri(n){if(n.fragment!==null){n.update(),qe(n.before_update);const e=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(rn)}}function ii(n){const e=[],t=[];at.forEach(r=>n.indexOf(r)===-1?e.push(r):t.push(r)),t.forEach(r=>r()),at=e}const Ot=new Set;let nt;function yt(){nt={r:0,c:[],p:nt}}function vt(){nt.r||qe(nt.c),nt=nt.p}function ie(n,e){n&&n.i&&(Ot.delete(n),n.i(e))}function le(n,e,t,r){if(n&&n.o){if(Ot.has(n))return;Ot.add(n),nt.c.push(()=>{Ot.delete(n),r&&(t&&n.d(1),r())}),n.o(e)}else r&&r()}function $n(n){return n?.length!==void 0?n:Array.from(n)}function oi(n,e){le(n,1,1,()=>{e.delete(n.key)})}function si(n,e,t,r,i,a,c,s,f,d,$,E){let N=n.length,R=a.length,M=N;const P={};for(;M--;)P[n[M].key]=M;const C=[],T=new Map,v=new Map,O=[];for(M=R;M--;){const A=E(i,a,M),o=t(A);let l=c.get(o);l?O.push(()=>l.p(A,e)):(l=d(o,A),l.c()),T.set(o,C[M]=l),o in P&&v.set(o,Math.abs(M-P[o]))}const U=new Set,I=new Set;function G(A){ie(A,1),A.m(s,$),c.set(A.key,A),$=A.first,R--}for(;N&&R;){const A=C[R-1],o=n[N-1],l=A.key,u=o.key;A===o?($=A.first,N--,R--):T.has(u)?!c.has(l)||U.has(l)?G(A):I.has(u)?N--:v.get(l)>v.get(u)?(I.add(l),G(A)):(U.add(u),N--):(f(o,c),N--)}for(;N--;){const A=n[N];T.has(A.key)||f(A,c)}for(;R;)G(C[R-1]);return qe(O),C}function Ke(n){n&&n.c()}function Ue(n,e,t){const{fragment:r,after_update:i}=n.$$;r&&r.m(e,t),rn(()=>{const a=n.$$.on_mount.map(er).filter(tr);n.$$.on_destroy?n.$$.on_destroy.push(...a):qe(a),n.$$.on_mount=[]}),i.forEach(rn)}function De(n,e){const t=n.$$;t.fragment!==null&&(ii(t.after_update),qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function li(n,e){n.$$.dirty[0]===-1&&(lt.push(n),ni(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<<e%31}function Ye(n,e,t,r,i,a,c=null,s=[-1]){const f=St;xt(n);const d=n.$$={fragment:null,ctx:[],props:a,update:ne,not_equal:i,bound:xn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(f?f.$$.context:[])),callbacks:xn(),dirty:s,skip_bound:!1,root:e.target||f.$$.root};c&&c(d.root);let $=!1;if(d.ctx=t?t(n,e.props||{},(E,N,...R)=>{const M=R.length?R[0]:N;return d.ctx&&i(d.ctx[E],d.ctx[E]=M)&&(!d.skip_bound&&d.bound[E]&&d.bound[E](M),$&&li(n,E)),N}):[],d.update(),$=!0,qe(d.before_update),d.fragment=r?r(d.ctx):!1,e.target){if(e.hydrate){const E=Yr(e.target);d.fragment&&d.fragment.l(E),E.forEach(J)}else d.fragment&&d.fragment.c();e.intro&&ie(n.$$.fragment),Ue(n,e.target,e.anchor),or()}xt(f)}class Xe{constructor(){_(this,"$$"),_(this,"$$set")}$destroy(){De(this,1),this.$destroy=ne}$on(e,t){if(!tr(t))return ne;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{const i=r.indexOf(t);i!==-1&&r.splice(i,1)}}$set(e){this.$$set&&!qr(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ai="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ai);function ui(n){let e,t;return{c(){e=Ce("svg"),t=Ce("path"),L(t,"d","M13.12.706a.982.982 0 0 0-1.391 0L6.907 5.517 2.087.696a.982.982 0 1 0-1.391 1.39l4.821 4.821L.696 11.73a.982.982 0 1 0 1.39 1.39l4.821-4.821 4.822 4.821a.982.982 0 1 0 1.39-1.39L8.298 6.908l4.821-4.822a.988.988 0 0 0 0-1.38Z"),L(e,"viewBox","0 0 14 14"),L(e,"width","13"),L(e,"height","13"),L(e,"class","svelte-en2qvf")},m(r,i){te(r,e,i),H(e,t)},p:ne,i:ne,o:ne,d(r){r&&J(e)}}}class sr extends Xe{constructor(e){super(),Ye(this,e,null,ui,Qe,{})}}function ci(n){let e,t;return{c(){e=Ce("svg"),t=Ce("path"),L(t,"d","M15 0C6.705 0 0 6.705 0 15C0 23.295 6.705 30 15 30C23.295 30 30 23.295 30 15C30 6.705 23.295 0 15 0ZM22.5 20.385L20.385 22.5L15 17.115L9.615 22.5L7.5 20.385L12.885 15L7.5 9.615L9.615 7.5L15 12.885L20.385 7.5L22.5 9.615L17.115 15L22.5 20.385Z"),L(e,"viewBox","0 0 30 30"),L(e,"fill","none"),L(e,"xmlns","http://www.w3.org/2000/svg"),L(e,"class","svelte-d2loi5")},m(r,i){te(r,e,i),H(e,t)},p:ne,i:ne,o:ne,d(r){r&&J(e)}}}class lr extends Xe{constructor(e){super(),Ye(this,e,null,ci,Qe,{})}}function di(n){let e,t;return{c(){e=X("img"),pe(e.src,t=n[3]+"area.svg")||L(e,"src",t),L(e,"alt",n[7]),L(e,"title",n[7]),L(e,"class","svelte-w9y5n9")},m(r,i){te(r,e,i)},p(r,i){i&8&&!pe(e.src,t=r[3]+"area.svg")&&L(e,"src",t),i&128&&L(e,"alt",r[7]),i&128&&L(e,"title",r[7])},d(r){r&&J(e)}}}function hi(n){let e,t;return{c(){e=X("img"),pe(e.src,t=n[3]+"reverse.svg")||L(e,"src",t),L(e,"alt",n[7]),L(e,"title",n[7]),L(e,"class","svelte-w9y5n9")},m(r,i){te(r,e,i)},p(r,i){i&8&&!pe(e.src,t=r[3]+"reverse.svg")&&L(e,"src",t),i&128&&L(e,"alt",r[7]),i&128&&L(e,"title",r[7])},d(r){r&&J(e)}}}function fi(n){let e,t;return{c(){e=X("img"),pe(e.src,t=n[3]+"poi.svg")||L(e,"src",t),L(e,"alt",n[7]),L(e,"title",n[7]),L(e,"class","svelte-w9y5n9")},m(r,i){te(r,e,i)},p(r,i){i&8&&!pe(e.src,t=r[3]+"poi.svg")&&L(e,"src",t),i&128&&L(e,"alt",r[7]),i&128&&L(e,"title",r[7])},d(r){r&&J(e)}}}function gi(n){let e,t;return{c(){e=X("img"),pe(e.src,t=n[3]+"postal_code.svg")||L(e,"src",t),L(e,"alt",n[7]),L(e,"title",n[7]),L(e,"class","svelte-w9y5n9")},m(r,i){te(r,e,i)},p(r,i){i&8&&!pe(e.src,t=r[3]+"postal_code.svg")&&L(e,"src",t),i&128&&L(e,"alt",r[7]),i&128&&L(e,"title",r[7])},d(r){r&&J(e)}}}function pi(n){let e,t;return{c(){e=X("img"),pe(e.src,t=n[3]+"street.svg")||L(e,"src",t),L(e,"alt",n[7]),L(e,"title",n[7]),L(e,"class","svelte-w9y5n9")},m(r,i){te(r,e,i)},p(r,i){i&8&&!pe(e.src,t=r[3]+"street.svg")&&L(e,"src",t),i&128&&L(e,"alt",r[7]),i&128&&L(e,"title",r[7])},d(r){r&&J(e)}}}function mi(n){let e,t;return{c(){e=X("img"),pe(e.src,t=n[3]+"road.svg")||L(e,"src",t),L(e,"alt",n[7]),L(e,"title",n[7]),L(e,"class","svelte-w9y5n9")},m(r,i){te(r,e,i)},p(r,i){i&8&&!pe(e.src,t=r[3]+"road.svg")&&L(e,"src",t),i&128&&L(e,"alt",r[7]),i&128&&L(e,"title",r[7])},d(r){r&&J(e)}}}function yi(n){let e,t;return{c(){e=X("img"),pe(e.src,t=n[3]+"housenumber.svg")||L(e,"src",t),L(e,"alt",n[7]),L(e,"title",n[7]),L(e,"class","svelte-w9y5n9")},m(r,i){te(r,e,i)},p(r,i){i&8&&!pe(e.src,t=r[3]+"housenumber.svg")&&L(e,"src",t),i&128&&L(e,"alt",r[7]),i&128&&L(e,"title",r[7])},d(r){r&&J(e)}}}function vi(n){let e,t,r,i;return{c(){e=X("img"),pe(e.src,t=n[5])||L(e,"src",t),L(e,"alt",n[4]),L(e,"title",n[7]),L(e,"class","svelte-w9y5n9")},m(a,c){te(a,e,c),r||(i=de(e,"error",n[14]),r=!0)},p(a,c){c&32&&!pe(e.src,t=a[5])&&L(e,"src",t),c&16&&L(e,"alt",a[4]),c&128&&L(e,"title",a[7])},d(a){a&&J(e),r=!1,i()}}}function bi(n){let e,t;return{c(){e=X("div"),L(e,"class","sprite-icon svelte-w9y5n9"),L(e,"style",t=`
|
|
2
|
+
width: ${n[6].width/Se}px;
|
|
3
|
+
height: ${n[6].height/Se}px;
|
|
4
|
+
background-image: url(${n[3]}sprite${on}.png);
|
|
5
|
+
background-position: -${n[6].x/Se}px -${n[6].y/Se}px;
|
|
6
|
+
background-size: ${Ie.width/Se}px ${Ie.height/Se}px;
|
|
7
|
+
`),L(e,"title",n[7])},m(r,i){te(r,e,i)},p(r,i){i&72&&t!==(t=`
|
|
8
|
+
width: ${r[6].width/Se}px;
|
|
9
|
+
height: ${r[6].height/Se}px;
|
|
10
|
+
background-image: url(${r[3]}sprite${on}.png);
|
|
11
|
+
background-position: -${r[6].x/Se}px -${r[6].y/Se}px;
|
|
12
|
+
background-size: ${Ie.width/Se}px ${Ie.height/Se}px;
|
|
13
|
+
`)&&L(e,"style",t),i&128&&L(e,"title",r[7])},d(r){r&&J(e)}}}function Ln(n){let e,t;return{c(){e=X("span"),t=Ve(n[7]),L(e,"class","secondary svelte-w9y5n9")},m(r,i){te(r,e,i),H(e,t)},p(r,i){i&128&&Et(t,r[7])},d(r){r&&J(e)}}}function wi(n){let e,t,r,i,a,c,s,f,d,$=(n[8]?n[0].place_name:n[0].place_name.replace(/,.*/,""))+"",E,N,R=n[2]==="always"||n[2]!=="never"&&!n[0].address&&!n[0].id.startsWith("road.")&&!n[0].id.startsWith("address.")&&!n[0].id.startsWith("postal_code.")&&(!n[0].id.startsWith("poi.")||!n[5])&&!n[8],M,P,C=(n[8]?"":n[0].place_name.replace(/[^,]*,?\s*/,""))+"",T,v,O,U,I,G;function A(p,h){return h&1&&(t=null),h&1&&(r=null),h&1&&(i=null),h&1&&(a=null),Ie&&p[6]?bi:p[5]?vi:p[0].address?yi:(t==null&&(t=!!p[0].id.startsWith("road.")),t?mi:(r==null&&(r=!!p[0].id.startsWith("address.")),r?pi:(i==null&&(i=!!p[0].id.startsWith("postal_code.")),i?gi:(a==null&&(a=!!p[0].id.startsWith("poi.")),a?fi:p[8]?hi:di))))}let o=A(n,-1),l=o(n),u=R&&Ln(n);return{c(){e=X("li"),l.c(),c=xe(),s=X("span"),f=X("span"),d=X("span"),E=Ve($),N=xe(),u&&u.c(),M=xe(),P=X("span"),T=Ve(C),L(d,"class","primary svelte-w9y5n9"),L(f,"class","svelte-w9y5n9"),L(P,"class","line2 svelte-w9y5n9"),L(s,"class","texts svelte-w9y5n9"),L(e,"tabindex","-1"),L(e,"role","option"),L(e,"aria-selected",v=n[1]==="selected"),L(e,"aria-checked",O=n[1]==="picked"),L(e,"class",U=Wt(n[1])+" svelte-w9y5n9")},m(p,h){te(p,e,h),l.m(e,null),H(e,c),H(e,s),H(s,f),H(f,d),H(d,E),H(f,N),u&&u.m(f,null),H(s,M),H(s,P),H(P,T),I||(G=[de(e,"mouseenter",n[13]),de(e,"focus",n[15]),de(e,"click",n[16])],I=!0)},p(p,[h]){o===(o=A(p,h))&&l?l.p(p,h):(l.d(1),l=o(p),l&&(l.c(),l.m(e,c))),h&257&&$!==($=(p[8]?p[0].place_name:p[0].place_name.replace(/,.*/,""))+"")&&Et(E,$),h&293&&(R=p[2]==="always"||p[2]!=="never"&&!p[0].address&&!p[0].id.startsWith("road.")&&!p[0].id.startsWith("address.")&&!p[0].id.startsWith("postal_code.")&&(!p[0].id.startsWith("poi.")||!p[5])&&!p[8]),R?u?u.p(p,h):(u=Ln(p),u.c(),u.m(f,null)):u&&(u.d(1),u=null),h&257&&C!==(C=(p[8]?"":p[0].place_name.replace(/[^,]*,?\s*/,""))+"")&&Et(T,C),h&2&&v!==(v=p[1]==="selected")&&L(e,"aria-selected",v),h&2&&O!==(O=p[1]==="picked")&&L(e,"aria-checked",O),h&2&&U!==(U=Wt(p[1])+" svelte-w9y5n9")&&L(e,"class",U)},i:ne,o:ne,d(p){p&&J(e),l.d(),u&&u.d(),I=!1,qe(G)}}}const ar=typeof devicePixelRatio>"u"?1:devicePixelRatio>1.25,on=ar?"@2x":"",Se=ar?2:1;let Ie,Mt;function xi(n,e,t){let r,i,a,{feature:c}=e,{style:s="default"}=e,{showPlaceType:f}=e,{missingIconsCache:d}=e,{iconsBaseUrl:$}=e;const E=ir();let N,R,M,P;function C(){Mt??(Mt=fetch(`${$}sprite${on}.json`).then(o=>o.json()).then(o=>{Ie=o}).catch(()=>{Ie=null}))}function T(){R&&d.add(R),v()}function v(){Ie!==void 0?O():(C(),Mt?.then(O))}function O(){do{if(P--,t(4,N=r?.[P]),t(6,M=N?Ie?.icons[N]:void 0),M)break;t(5,R=N?$+N.replace(/ /g,"_")+".svg":void 0)}while(P>-1&&(!R||d.has(R)))}function U(o){ei.call(this,n,o)}const I=()=>T(),G=()=>E("select",void 0),A=o=>{document.activeElement!==o.target&&E("select",void 0)};return n.$$set=o=>{"feature"in o&&t(0,c=o.feature),"style"in o&&t(1,s=o.style),"showPlaceType"in o&&t(2,f=o.showPlaceType),"missingIconsCache"in o&&t(11,d=o.missingIconsCache),"iconsBaseUrl"in o&&t(3,$=o.iconsBaseUrl)},n.$$.update=()=>{var o,l,u,p,h;n.$$.dirty&1&&t(12,r=(o=c.properties)==null?void 0:o.categories),n.$$.dirty&1&&t(8,i=c.place_type[0]==="reverse"),n.$$.dirty&1&&t(7,a=((u=(l=c.properties)==null?void 0:l.categories)==null?void 0:u.join(", "))??((h=(p=c.properties)==null?void 0:p.place_type_name)==null?void 0:h[0])??c.place_type[0]),n.$$.dirty&4096&&(P=r?.length??0,v())},[c,s,f,$,N,R,M,a,i,E,T,d,r,U,I,G,A]}class Ei extends Xe{constructor(e){super(),Ye(this,e,xi,wi,Qe,{feature:0,style:1,showPlaceType:2,missingIconsCache:11,iconsBaseUrl:3})}}function Si(n){let e;return{c(){e=X("div"),e.innerHTML='<svg viewBox="0 0 18 18" width="24" height="24" class="loading-icon svelte-1ocfouu"><path fill="#333" d="M4.4 4.4l.8.8c2.1-2.1 5.5-2.1 7.6 0l.8-.8c-2.5-2.5-6.7-2.5-9.2 0z"></path><path opacity=".1" d="M12.8 12.9c-2.1 2.1-5.5 2.1-7.6 0-2.1-2.1-2.1-5.5 0-7.7l-.8-.8c-2.5 2.5-2.5 6.7 0 9.2s6.6 2.5 9.2 0 2.5-6.6 0-9.2l-.8.8c2.2 2.1 2.2 5.6 0 7.7z"></path></svg>',L(e,"class","svelte-1ocfouu")},m(t,r){te(t,e,r)},p:ne,i:ne,o:ne,d(t){t&&J(e)}}}class $i extends Xe{constructor(e){super(),Ye(this,e,null,Si,Qe,{})}}function Li(n){let e,t,r;return{c(){e=Ce("svg"),t=Ce("path"),L(t,"stroke-width","4"),L(t,"d","M 5,33.103579 C 5,17.607779 18.457,5 35,5 C 51.543,5 65,17.607779 65,33.103579 C 65,56.388679 40.4668,76.048179 36.6112,79.137779 C 36.3714,79.329879 36.2116,79.457979 36.1427,79.518879 C 35.8203,79.800879 35.4102,79.942779 35,79.942779 C 34.5899,79.942779 34.1797,79.800879 33.8575,79.518879 C 33.7886,79.457979 33.6289,79.330079 33.3893,79.138079 C 29.5346,76.049279 5,56.389379 5,33.103579 Z M 35.0001,49.386379 C 43.1917,49.386379 49.8323,42.646079 49.8323,34.331379 C 49.8323,26.016779 43.1917,19.276479 35.0001,19.276479 C 26.8085,19.276479 20.1679,26.016779 20.1679,34.331379 C 20.1679,42.646079 26.8085,49.386379 35.0001,49.386379 Z"),L(t,"class","svelte-gzo3ar"),L(e,"width",r=n[0]==="list"?20:void 0),L(e,"viewBox","0 0 70 85"),L(e,"fill","none"),L(e,"class","svelte-gzo3ar"),Ae(e,"in-map",n[0]!=="list"),Ae(e,"list-icon",n[0]==="list")},m(i,a){te(i,e,a),H(e,t)},p(i,[a]){a&1&&r!==(r=i[0]==="list"?20:void 0)&&L(e,"width",r),a&1&&Ae(e,"in-map",i[0]!=="list"),a&1&&Ae(e,"list-icon",i[0]==="list")},i:ne,o:ne,d(i){i&&J(e)}}}function Ti(n,e,t){let{displayIn:r}=e;return n.$$set=i=>{"displayIn"in i&&t(0,r=i.displayIn)},[r]}class ki extends Xe{constructor(e){super(),Ye(this,e,Ti,Li,Qe,{displayIn:0})}}function Ni(n){let e,t;return{c(){e=Ce("svg"),t=Ce("path"),L(t,"d","M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"),L(e,"viewBox","0 0 60.006 21.412"),L(e,"width","14"),L(e,"height","20"),L(e,"class","svelte-en2qvf")},m(r,i){te(r,e,i),H(e,t)},p:ne,i:ne,o:ne,d(r){r&&J(e)}}}class Ci extends Xe{constructor(e){super(),Ye(this,e,null,Ni,Qe,{})}}function Mi(n){let e,t,r;return{c(){e=Ce("svg"),t=Ce("circle"),r=Ce("path"),L(t,"cx","4.789"),L(t,"cy","4.787"),L(t,"r","3.85"),L(t,"class","svelte-1aq105l"),L(r,"d","M12.063 12.063 7.635 7.635"),L(r,"class","svelte-1aq105l"),L(e,"xmlns","http://www.w3.org/2000/svg"),L(e,"width","13"),L(e,"height","13"),L(e,"viewBox","0 0 13 13"),L(e,"class","svelte-1aq105l")},m(i,a){te(i,e,a),H(e,t),H(e,r)},p:ne,i:ne,o:ne,d(i){i&&J(e)}}}class Ri extends Xe{constructor(e){super(),Ye(this,e,null,Mi,Qe,{})}}function _i(n,e,t){const r=e[1],i=e[0],a=r-i;return n===r&&t?n:((n-i)%a+a)%a+i}function Bt(n){const e=[...n];return e[2]<e[0]&&(Math.abs((e[0]+e[2]+360)/2)>Math.abs((e[0]-360+e[2])/2)?e[0]-=360:e[2]+=360),e}let ft;async function Pi(n,e,t){const r=n?.getCenterAndZoom();for(const i of e??[])if(!(r&&(i.minZoom!=null&&i.minZoom>r[0]||i.maxZoom!=null&&i.maxZoom<r[0]))){if(i.type==="fixed")return i.coordinates.join(",");e:if(i.type==="client-geolocation"){if(ft&&i.cachedLocationExpiry&&ft.time+i.cachedLocationExpiry>Date.now()){if(!ft.coords)break e;return ft.coords}let a;try{return a=await new Promise((c,s)=>{t.signal.addEventListener("abort",()=>{s(Error("aborted"))}),navigator.geolocation.getCurrentPosition(f=>{c([f.coords.longitude,f.coords.latitude].map(d=>d.toFixed(6)).join(","))},f=>{s(f)},i)}),a}catch{}finally{i.cachedLocationExpiry&&(ft={time:Date.now(),coords:a})}if(t.signal.aborted)return}if(i.type==="server-geolocation")return"ip";if(r&&i.type==="map-center")return r[1].toFixed(6)+","+r[2].toFixed(6)}}const Oi=/^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([6-9][0-9])\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([6-9][0-9])\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*(EAST|WEST|[EW])?$/i,Tn=/^([+-]?[0-8]?[0-9])\s+([0-5]?[0-9]\.\d{3,})[\s,]{1,}([+-]?[0-1]?[0-9]?[0-9])\s+([0-5]?[0-9]\.\d{3,})$/,kn=/^(NORTH|SOUTH|[NS])?[\s]*([+-]?[0-8]?[0-9](?:[\.,]\d{3,}))[\s]*([•º°]?)[\s]*(NORTH|SOUTH|[NS])?[\s]*[,/;]?[\s]*(EAST|WEST|[EW])?[\s]*([+-]?[0-1]?[0-9]?[0-9](?:[\.,]\d{3,}))[\s]*([•º°]?)[\s]*(EAST|WEST|[EW])?$/i,Nn=/^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*(\.)\s*([0-5]?[0-9])\s*(\.)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*(\.)\s*([0-5]?[0-9])\s*(\.)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(EAST|WEST|[EW])?$/i,Cn=/^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*(D(?:EG)?(?:REES)?)\s*([0-5]?[0-9])\s*(M(?:IN)?(?:UTES)?)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(S(?:EC)?(?:ONDS)?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*(D(?:EG)?(?:REES)?)\s*([0-5]?[0-9])\s*(M(?:IN)?(?:UTES)?)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(S(?:EC)?(?:ONDS)?)\s*(EAST|WEST|[EW])?$/i,Mn=/^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([0-5]?[0-9](?:[\.,]\d{1,})?)?\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*,?((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(''|′′|’’|´´|["″”\.])?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([0-5]?[0-9](?:[\.,]\d{1,})?)?\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*,?((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(''|′′|´´|’’|["″”\.])?\s*(EAST|WEST|[EW])?$/i;function Ii(n){if(!["DMS","DM","DD"].includes(n))throw new Error("invalid format specified");if(this.decimalCoordinates&&this.decimalCoordinates.trim()){const e=this.decimalCoordinates.split(",").map(R=>Number(R.trim())),t=Number(e[0]),r=Number(e[1]),i=Math.abs(t),a=Math.abs(r),c=t>0?"N":"S",s=r>0?"E":"W";let f;n=="DD"&&(f=`${i}° ${c}, ${a}° ${s}`);const d=Math.floor(i),$=Math.floor(a),E=(i-d)*60,N=(a-$)*60;if(n=="DM"){let R=Rn(E,3).toFixed(3).padStart(6,"0"),M=Rn(N,3).toFixed(3).padStart(6,"0");R.endsWith(".000")&&M.endsWith(".000")&&(R=R.replace(/\.000$/,""),M=M.replace(/\.000$/,"")),f=`${d}° ${R}' ${c}, ${$}° ${M}' ${s}`}if(n=="DMS"){const R=Math.floor(E),M=Math.floor(N);let P=((E-R)*60).toFixed(1).padStart(4,"0"),C=((N-M)*60).toFixed(1).padStart(4,"0");const T=R.toString().padStart(2,"0"),v=M.toString().padStart(2,"0");P.endsWith(".0")&&C.endsWith(".0")&&(P=P.replace(/\.0$/,""),C=C.replace(/\.0$/,"")),f=`${d}° ${T}' ${P}" ${c}, ${$}° ${v}' ${C}" ${s}`}return f}else throw new Error("no decimal coordinates to convert")}function Rn(n,e){const t=Math.pow(10,e);return Math.round((n+Number.EPSILON)*t)/t}function cn(n,e){e||(e=5),n=n.replace(/\s+/g," ").trim();let t=null,r=null,i="",a="",c=null,s=[],f=!1;if(Oi.test(n))throw new Error("invalid coordinate value");if(Tn.test(n))if(s=Tn.exec(n),f=gt(s),f)t=Math.abs(s[1])+s[2]/60,Number(s[1])<0&&(t*=-1),r=Math.abs(s[3])+s[4]/60,Number(s[3])<0&&(r*=-1),c="DM";else throw new Error("invalid coordinate format");else if(kn.test(n))if(s=kn.exec(n),f=gt(s),f){if(t=s[2],r=s[6],t.includes(",")&&(t=t.replace(",",".")),r.includes(",")&&(r=r.replace(",",".")),c="DD",Number(Math.round(t))==Number(t))throw new Error("integer only coordinate provided");if(Number(Math.round(r))==Number(r))throw new Error("integer only coordinate provided");s[1]?(i=s[1],a=s[5]):s[4]&&(i=s[4],a=s[8])}else throw new Error("invalid decimal coordinate format");else if(Nn.test(n))if(s=Nn.exec(n),f=gt(s),f)t=Math.abs(parseInt(s[2])),s[4]&&(t+=s[4]/60,c="DM"),s[6]&&(t+=s[6].replace(",",".")/3600,c="DMS"),parseInt(s[2])<0&&(t=-1*t),r=Math.abs(parseInt(s[9])),s[11]&&(r+=s[11]/60),s[13]&&(r+=s[13].replace(",",".")/3600),parseInt(s[9])<0&&(r=-1*r),s[1]?(i=s[1],a=s[8]):s[7]&&(i=s[7],a=s[14]);else throw new Error("invalid DMS coordinates format");else if(Cn.test(n))if(s=Cn.exec(n),f=gt(s),f)t=Math.abs(parseInt(s[2])),s[4]&&(t+=s[4]/60,c="DM"),s[6]&&(t+=s[6]/3600,c="DMS"),parseInt(s[2])<0&&(t=-1*t),r=Math.abs(parseInt(s[10])),s[12]&&(r+=s[12]/60),s[14]&&(r+=s[14]/3600),parseInt(s[10])<0&&(r=-1*r),s[1]?(i=s[1],a=s[9]):s[8]&&(i=s[8],a=s[16]);else throw new Error("invalid DMS coordinates format");else if(Mn.test(n)){if(s=Mn.exec(n),f=gt(s),s.filter(d=>d).length<=5)throw new Error("invalid coordinates format");if(f)t=Math.abs(parseInt(s[2])),s[4]&&(t+=s[4].replace(",",".")/60,c="DM"),s[6]&&(t+=s[6].replace(",",".")/3600,c="DMS"),parseInt(s[2])<0&&(t=-1*t),r=Math.abs(parseInt(s[10])),s[12]&&(r+=s[12].replace(",",".")/60),s[14]&&(r+=s[14].replace(",",".")/3600),parseInt(s[10])<0&&(r=-1*r),s[1]?(i=s[1],a=s[9]):s[8]&&(i=s[8],a=s[16]);else throw new Error("invalid coordinates format")}if(f){if(Math.abs(r)>=180)throw new Error("invalid longitude value");if(Math.abs(t)>=90)throw new Error("invalid latitude value");if(i&&!a||!i&&a)throw new Error("invalid coordinates value");if(i&&i==a)throw new Error("invalid coordinates format");t.toString().includes(",")&&(t=t.replace(",",".")),r.toString().includes(",")&&(r=r.replace(",","."));let d=/S|SOUTH/i;d.test(i)&&t>0&&(t=-1*t),d=/W|WEST/i,d.test(a)&&r>0&&(r=-1*r);const $=s[0].trim();let E,N;const R=/[,/;\u0020]/g,M=$.match(R);if(M==null){const T=Math.floor(n.length/2);E=$.substring(0,T).trim(),N=$.substring(T).trim()}else{let T;M.length%2==1?T=Math.floor(M.length/2):T=M.length/2-1;let v=0;if(T==0)v=$.indexOf(M[0]),E=$.substring(0,v).trim(),N=$.substring(v+1).trim();else{let O=0,U=0;for(;O<=T;)v=$.indexOf(M[O],U),U=v+1,O++;E=$.substring(0,v).trim(),N=$.substring(v+1).trim()}}const P=E.split(".");if(P.length==2&&P[1]==0&&P[1].length!=2)throw new Error("invalid coordinates format");const C=N.split(".");if(C.length==2&&C[1]==0&&C[1].length!=2)throw new Error("invalid coordinates format");if(/^\d+$/.test(E)||/^\d+$/.test(N))throw new Error("degree only coordinate/s provided");return t=Number(Number(t).toFixed(e)),r=Number(Number(r).toFixed(e)),Object.freeze({verbatimCoordinates:$,verbatimLatitude:E,verbatimLongitude:N,decimalLatitude:t,decimalLongitude:r,decimalCoordinates:`${t},${r}`,originalFormat:c,closeEnough:Ai,toCoordinateFormat:Ii})}else throw new Error("coordinates pattern match failed")}function gt(n){if(!isNaN(n[0]))return!1;const e=[...n];if(e.shift(),e.length%2>0)return!1;const t=/^[-+]?\d+([\.,]\d+)?$/,r=/[eastsouthnorthwest]+/i,i=e.length/2;for(let a=0;a<i;a++){const c=e[a],s=e[a+i],f=t.test(c)&&t.test(s),d=r.test(c)&&r.test(s),$=c==s;if(!(c==null&&s==null)){if(c==null||s==null)return!1;if(f||d||$)continue;return!1}}return!0}function _n(n,e){const t=Math.abs(n-e);return Number(t.toFixed(6))<=1e-5}function Ai(n){if(!n)throw new Error("coords must be provided");if(n.includes(",")){const e=n.split(",");if(Number(e[0])==NaN||Number(e[1])==NaN)throw new Error("coords are not valid decimals");return _n(this.decimalLatitude,Number(e[0]))&&_n(this.decimalLongitude,e[1])}else throw new Error("coords being tested must be separated by a comma")}const Wi=Object.freeze({DMS:"DMS",DM:"DM",DD:"DD"});cn.to=Wi;const Bi=[{verbatimCoordinates:"40.123, -74.123",verbatimLatitude:"40.123",verbatimLongitude:"-74.123"},{verbatimCoordinates:"40.123° N 74.123° W",verbatimLatitude:"40.123° N",verbatimLongitude:"74.123° W"},{verbatimCoordinates:"40.123° N 74.123° W",verbatimLatitude:"40.123° N",verbatimLongitude:"74.123° W"},{verbatimCoordinates:'40° 7´ 22.8" N 74° 7´ 22.8" W',verbatimLatitude:'40° 7´ 22.8" N',verbatimLongitude:'74° 7´ 22.8" W'},{verbatimCoordinates:"40° 7.38’ , -74° 7.38’",verbatimLatitude:"40° 7.38’",verbatimLongitude:"-74° 7.38’"},{verbatimCoordinates:"N40°7’22.8’’, W74°7’22.8’’",verbatimLatitude:"N40°7’22.8’’",verbatimLongitude:"W74°7’22.8’’"},{verbatimCoordinates:'40°7’22.8"N, 74°7’22.8"W',verbatimLatitude:'40°7’22.8"N',verbatimLongitude:'74°7’22.8"W'},{verbatimCoordinates:`40°7'22.8"N, 74°7'22.8"W`,verbatimLatitude:`40°7'22.8"N`,verbatimLongitude:`74°7'22.8"W`},{verbatimCoordinates:"40 7 22.8, -74 7 22.8",verbatimLatitude:"40 7 22.8",verbatimLongitude:"-74 7 22.8"},{verbatimCoordinates:"40.123 -74.123",verbatimLatitude:"40.123",verbatimLongitude:"-74.123"},{verbatimCoordinates:"40.123°,-74.123°",verbatimLatitude:"40.123°",verbatimLongitude:"-74.123°"},{verbatimCoordinates:"40.123N74.123W",verbatimLatitude:"40.123N",verbatimLongitude:"74.123W"},{verbatimCoordinates:"4007.38N7407.38W",verbatimLatitude:"4007.38N",verbatimLongitude:"7407.38W"},{verbatimCoordinates:'40°7’22.8"N, 74°7’22.8"W',verbatimLatitude:'40°7’22.8"N',verbatimLongitude:'74°7’22.8"W'},{verbatimCoordinates:"400722.8N740722.8W",verbatimLatitude:"400722.8N",verbatimLongitude:"740722.8W"},{verbatimCoordinates:"N 40 7.38 W 74 7.38",verbatimLatitude:"N 40 7.38",verbatimLongitude:"W 74 7.38"},{verbatimCoordinates:"40:7:22.8N 74:7:22.8W",verbatimLatitude:"40:7:22.8N",verbatimLongitude:"74:7:22.8W"},{verbatimCoordinates:"40:7:23N,74:7:23W",verbatimLatitude:"40:7:23N",verbatimLongitude:"74:7:23W",decimalLatitude:40.1230555555,decimalLongitude:-74.1230555555},{verbatimCoordinates:'40°7’23"N 74°7’23"W',verbatimLatitude:'40°7’23"N',verbatimLongitude:'74°7’23"W',decimalLatitude:40.1230555555,decimalLongitude:-74.12305555555555},{verbatimCoordinates:'40°7’23"S 74°7’23"E',verbatimLatitude:'40°7’23"S',verbatimLongitude:'74°7’23"E',decimalLatitude:-40.1230555555,decimalLongitude:74.12305555555555},{verbatimCoordinates:'40°7’23" -74°7’23"',verbatimLatitude:'40°7’23"',verbatimLongitude:'-74°7’23"',decimalLatitude:40.1230555555,decimalLongitude:-74.123055555},{verbatimCoordinates:'40d 7’ 23" N 74d 7’ 23" W',verbatimLatitude:'40d 7’ 23" N',verbatimLongitude:'74d 7’ 23" W',decimalLatitude:40.1230555555,decimalLongitude:-74.123055555},{verbatimCoordinates:"40.123N 74.123W",verbatimLatitude:"40.123N",verbatimLongitude:"74.123W"},{verbatimCoordinates:"40° 7.38, -74° 7.38",verbatimLatitude:"40° 7.38",verbatimLongitude:"-74° 7.38"},{verbatimCoordinates:"40° 7.38, -74° 7.38",verbatimLatitude:"40° 7.38",verbatimLongitude:"-74° 7.38"},{verbatimCoordinates:"40 7 22.8; -74 7 22.8",verbatimLatitude:"40 7 22.8",verbatimLongitude:"-74 7 22.8"}],Gi={decimalLatitude:40.123,decimalLongitude:-74.123},zi=[{verbatimCoordinates:`50°4'17.698"south, 14°24'2.826"east`,verbatimLatitude:`50°4'17.698"south`,verbatimLongitude:`14°24'2.826"east`,decimalLatitude:-50.07158277777778,decimalLongitude:14.400785},{verbatimCoordinates:"50d4m17.698S 14d24m2.826E",verbatimLatitude:"50d4m17.698S",verbatimLongitude:"14d24m2.826E",decimalLatitude:-50.07158277777778,decimalLongitude:14.400785},{verbatimCoordinates:"40:26:46N,79:56:55W",verbatimLatitude:"40:26:46N",verbatimLongitude:"79:56:55W",decimalLatitude:40.44611111111111,decimalLongitude:-79.9486111111111},{verbatimCoordinates:"40:26:46.302N 79:56:55.903W",verbatimLatitude:"40:26:46.302N",verbatimLongitude:"79:56:55.903W",decimalLatitude:40.446195,decimalLongitude:-79.94886194444445},{verbatimCoordinates:"40°26′47″N 79°58′36″W",verbatimLatitude:"40°26′47″N",verbatimLongitude:"79°58′36″W",decimalLatitude:40.44638888888889,decimalLongitude:-79.97666666666667},{verbatimCoordinates:"40d 26′ 47″ N 79d 58′ 36″ W",verbatimLatitude:"40d 26′ 47″ N",verbatimLongitude:"79d 58′ 36″ W",decimalLatitude:40.44638888888889,decimalLongitude:-79.97666666666667},{verbatimCoordinates:"40.446195N 79.948862W",verbatimLatitude:"40.446195N",verbatimLongitude:"79.948862W",decimalLatitude:40.446195,decimalLongitude:-79.948862},{verbatimCoordinates:"40,446195° 79,948862°",verbatimLatitude:"40,446195°",verbatimLongitude:"79,948862°",decimalLatitude:40.446195,decimalLongitude:79.948862},{verbatimCoordinates:"40° 26.7717, -79° 56.93172",verbatimLatitude:"40° 26.7717",verbatimLongitude:"-79° 56.93172",decimalLatitude:40.446195,decimalLongitude:-79.948862},{verbatimCoordinates:"40.446195, -79.948862",verbatimLatitude:"40.446195",verbatimLongitude:"-79.948862",decimalLatitude:40.446195,decimalLongitude:-79.948862},{verbatimCoordinates:"40.123256; -74.123256",verbatimLatitude:"40.123256",verbatimLongitude:"-74.123256",decimalLatitude:40.123256,decimalLongitude:-74.123256},{verbatimCoordinates:"18°24S 22°45E",verbatimLatitude:"18°24S",verbatimLongitude:"22°45E",decimalLatitude:-18.4,decimalLongitude:22.75}],Ui=[{verbatimCoordinates:"10.432342S 10.6345345E",verbatimLatitude:"10.432342S",verbatimLongitude:"10.6345345E",decimalLatitude:-10.432342,decimalLongitude:10.6345345},{verbatimCoordinates:"10.00S 10.00E",verbatimLatitude:"10.00S",verbatimLongitude:"10.00E",decimalLatitude:-10,decimalLongitude:10},{verbatimCoordinates:"00.00S 01.00E",verbatimLatitude:"00.00S",verbatimLongitude:"01.00E",decimalLatitude:0,decimalLongitude:1},{verbatimCoordinates:"18.24S 22.45E",verbatimLatitude:"18.24S",verbatimLongitude:"22.45E",decimalLatitude:-18.4,decimalLongitude:22.75},{verbatimCoordinates:"27deg 15min 45.2sec S 18deg 32min 53.7sec E",verbatimLatitude:"27deg 15min 45.2sec S",verbatimLongitude:"18deg 32min 53.7sec E",decimalLatitude:-27.262555555555554,decimalLongitude:18.54825},{verbatimCoordinates:"-23.3245° S / 28.2344° E",verbatimLatitude:"-23.3245° S",verbatimLongitude:"28.2344° E",decimalLatitude:-23.3245,decimalLongitude:28.2344},{verbatimCoordinates:"40° 26.7717 -79° 56.93172",verbatimLatitude:"40° 26.7717",verbatimLongitude:"-79° 56.93172",decimalLatitude:40.446195,decimalLongitude:-79.948862},{verbatimCoordinates:"27.15.45S 18.32.53E",verbatimLatitude:"27.15.45S",verbatimLongitude:"18.32.53E",decimalLatitude:-27.2625,decimalLongitude:18.548055},{verbatimCoordinates:"-27.15.45 18.32.53",verbatimLatitude:"-27.15.45",verbatimLongitude:"18.32.53",decimalLatitude:-27.2625,decimalLongitude:18.548055},{verbatimCoordinates:"27.15.45.2S 18.32.53.4E",verbatimLatitude:"27.15.45.2S",verbatimLongitude:"18.32.53.4E",decimalLatitude:-27.262556,decimalLongitude:18.548167},{verbatimCoordinates:"27.15.45,2S 18.32.53,4E",verbatimLatitude:"27.15.45,2S",verbatimLongitude:"18.32.53,4E",decimalLatitude:-27.262556,decimalLongitude:18.548167},{verbatimCoordinates:"S23.43563 ° E22.45634 °",verbatimLatitude:"S23.43563 °",verbatimLongitude:"E22.45634 °",decimalLatitude:-23.43563,decimalLongitude:22.45634},{verbatimCoordinates:"27,71372° S 23,07771° E",verbatimLatitude:"27,71372° S",verbatimLongitude:"23,07771° E",decimalLatitude:-27.71372,decimalLongitude:23.07771},{verbatimCoordinates:"27.45.34 S 23.23.23 E",verbatimLatitude:"27.45.34 S",verbatimLongitude:"23.23.23 E",decimalLatitude:-27.759444,decimalLongitude:23.38972222},{verbatimCoordinates:"S 27.45.34 E 23.23.23",verbatimLatitude:"S 27.45.34",verbatimLongitude:"E 23.23.23",decimalLatitude:-27.759444,decimalLongitude:23.38972222},{verbatimCoordinates:"53 16.3863,4 52.8171",verbatimLatitude:"53 16.3863",verbatimLongitude:"4 52.8171",decimalLatitude:53.273105,decimalLongitude:4.88029},{verbatimCoordinates:"50 8.2914,-5 2.4447",verbatimLatitude:"50 8.2914",verbatimLongitude:"-5 2.4447",decimalLatitude:50.13819,decimalLongitude:-5.040745},{verbatimCoordinates:"N 48° 30,6410', E 18° 57,4583'",verbatimLatitude:"N 48° 30,6410'",verbatimLongitude:"E 18° 57,4583'",decimalLatitude:48.51068,decimalLongitude:18.95764},{verbatimCoordinates:"1.23456, 18.33453",verbatimLatitude:"1.23456",verbatimLongitude:"18.33453",decimalLatitude:1.23456,decimalLongitude:18.33453}];function Di(){const n=[];return Bi.forEach(e=>{e.decimalLatitude?n.push(e):n.push({...e,...Gi})}),[...n,...zi,...Ui]}const Fi=Di();cn.formats=Fi.map(n=>n.verbatimCoordinates);const qi=cn;function Pn(n,e,t){const r=n.slice();return r[97]=e[t],r[99]=t,r}function On(n){let e,t,r,i,a;return t=new sr({}),{c(){e=X("button"),Ke(t.$$.fragment),L(e,"type","button"),L(e,"title",n[3]),L(e,"class","svelte-bz0zu3")},m(c,s){te(c,e,s),Ue(t,e,null),r=!0,i||(a=de(e,"click",n[78]),i=!0)},p(c,s){(!r||s[0]&8)&&L(e,"title",c[3])},i(c){r||(ie(t.$$.fragment,c),r=!0)},o(c){le(t.$$.fragment,c),r=!1},d(c){c&&J(e),De(t),i=!1,a()}}}function In(n){let e,t;return e=new $i({}),{c(){Ke(e.$$.fragment)},m(r,i){Ue(e,r,i),t=!0},i(r){t||(ie(e.$$.fragment,r),t=!0)},o(r){le(e.$$.fragment,r),t=!1},d(r){De(e,r)}}}function An(n){let e,t,r,i,a;return t=new Ci({}),{c(){e=X("button"),Ke(t.$$.fragment),L(e,"type","button"),L(e,"title",n[10]),L(e,"class","svelte-bz0zu3"),Ae(e,"active",n[0])},m(c,s){te(c,e,s),Ue(t,e,null),r=!0,i||(a=de(e,"click",n[79]),i=!0)},p(c,s){(!r||s[0]&1024)&&L(e,"title",c[10]),(!r||s[0]&1)&&Ae(e,"active",c[0])},i(c){r||(ie(t.$$.fragment,c),r=!0)},o(c){le(t.$$.fragment,c),r=!1},d(c){c&&J(e),De(t),i=!1,a()}}}function ji(n){let e,t=[],r=new Map,i,a,c,s=$n(n[13]);const f=d=>d[97].id+(d[97].address?","+d[97].address:"");for(let d=0;d<s.length;d+=1){let $=Pn(n,s,d),E=f($);r.set(E,t[d]=Wn(E,$))}return{c(){e=X("ul");for(let d=0;d<t.length;d+=1)t[d].c();L(e,"class","options svelte-bz0zu3"),L(e,"role","listbox")},m(d,$){te(d,e,$);for(let E=0;E<t.length;E+=1)t[E]&&t[E].m(e,null);i=!0,a||(c=[de(e,"mouseleave",n[27]),de(e,"blur",n[83]),de(e,"keydown",n[23])],a=!0)},p(d,$){$[0]&102823936&&(s=$n(d[13]),yt(),t=si(t,$,f,1,d,s,r,e,oi,Wn,null,Pn),vt())},i(d){if(!i){for(let $=0;$<s.length;$+=1)ie(t[$]);i=!0}},o(d){for(let $=0;$<t.length;$+=1)le(t[$]);i=!1},d(d){d&&J(e);for(let $=0;$<t.length;$+=1)t[$].d();a=!1,qe(c)}}}function Hi(n){let e,t,r,i,a,c;return t=new lr({}),{c(){e=X("div"),Ke(t.$$.fragment),r=xe(),i=X("div"),a=Ve(n[8]),L(i,"class","svelte-bz0zu3"),L(e,"class","no-results svelte-bz0zu3")},m(s,f){te(s,e,f),Ue(t,e,null),H(e,r),H(e,i),H(i,a),c=!0},p(s,f){(!c||f[0]&256)&&Et(a,s[8])},i(s){c||(ie(t.$$.fragment,s),c=!0)},o(s){le(t.$$.fragment,s),c=!1},d(s){s&&J(e),De(t)}}}function Zi(n){let e="",t;return{c(){t=Ve(e)},m(r,i){te(r,t,i)},p:ne,i:ne,o:ne,d(r){r&&J(t)}}}function Vi(n){let e,t,r,i,a,c,s,f,d,$,E;return t=new lr({}),f=new sr({}),{c(){e=X("div"),Ke(t.$$.fragment),r=xe(),i=X("div"),a=Ve(n[7]),c=xe(),s=X("button"),Ke(f.$$.fragment),L(i,"class","svelte-bz0zu3"),L(s,"class","svelte-bz0zu3"),L(e,"class","error svelte-bz0zu3")},m(N,R){te(N,e,R),Ue(t,e,null),H(e,r),H(e,i),H(i,a),H(e,c),H(e,s),Ue(f,s,null),d=!0,$||(E=de(s,"click",n[80]),$=!0)},p(N,R){(!d||R[0]&128)&&Et(a,N[7])},i(N){d||(ie(t.$$.fragment,N),ie(f.$$.fragment,N),d=!0)},o(N){le(t.$$.fragment,N),le(f.$$.fragment,N),d=!1},d(N){N&&J(e),De(t),De(f),$=!1,E()}}}function Wn(n,e){var t;let r,i,a;function c(){return e[81](e[99])}function s(){return e[82](e[97])}return i=new Ei({props:{feature:e[97],showPlaceType:e[11],style:e[15]===e[99]?"selected":((t=e[14])==null?void 0:t.id)===e[97].id?"picked":"default",missingIconsCache:e[21],iconsBaseUrl:e[12]}}),i.$on("mouseenter",c),i.$on("select",s),{key:n,first:null,c(){r=Kr(),Ke(i.$$.fragment),this.first=r},m(f,d){te(f,r,d),Ue(i,f,d),a=!0},p(f,d){var $;e=f;const E={};d[0]&8192&&(E.feature=e[97]),d[0]&2048&&(E.showPlaceType=e[11]),d[0]&57344&&(E.style=e[15]===e[99]?"selected":(($=e[14])==null?void 0:$.id)===e[97].id?"picked":"default"),d[0]&4096&&(E.iconsBaseUrl=e[12]),i.$set(E)},i(f){a||(ie(i.$$.fragment,f),a=!0)},o(f){le(i.$$.fragment,f),a=!1},d(f){f&&J(r),De(i,f)}}}function Ki(n){let e,t,r,i,a,c,s,f,d,$,E,N,R,M,P,C,T,v,O,U=!1;a=new Ri({});let I=!n[20]&&On(n),G=n[20]&&In(),A=n[6]==="button"&&An(n);const o=n[70].default,l=jr(o,n,n[69],null),u=[Vi,Zi,Hi,ji],p=[];function h(g,b){var m,y;return g[19]?0:!g[16]&&!g[4]?1:((m=g[13])==null?void 0:m.length)===0?2:(y=g[13])!=null&&y.length&&(g[16]||g[4])?3:-1}return~(M=h(n))&&(P=p[M]=u[M](n)),{c(){e=xe(),t=X("form"),r=X("div"),i=X("button"),Ke(a.$$.fragment),c=xe(),s=X("input"),f=xe(),d=X("div"),I&&I.c(),$=xe(),G&&G.c(),E=xe(),A&&A.c(),N=xe(),l&&l.c(),R=xe(),P&&P.c(),L(i,"class","search-button svelte-bz0zu3"),L(i,"type","button"),L(s,"placeholder",n[9]),L(s,"aria-label",n[9]),L(s,"class","svelte-bz0zu3"),L(d,"class","clear-button-container svelte-bz0zu3"),Ae(d,"displayable",n[1]!==""),L(r,"class","input-group svelte-bz0zu3"),L(t,"class",C=Wt(n[2])+" svelte-bz0zu3"),Ae(t,"can-collapse",n[5]&&n[1]==="")},m(g,b){te(g,e,b),te(g,t,b),H(t,r),H(r,i),Ue(a,i,null),H(r,c),H(r,s),n[72](s),En(s,n[1]),H(r,f),H(r,d),I&&I.m(d,null),H(d,$),G&&G.m(d,null),H(r,E),A&&A.m(r,null),H(r,N),l&&l.m(r,null),H(t,R),~M&&p[M].m(t,null),T=!0,v||(O=[de(i,"click",n[71]),de(s,"input",n[73]),de(s,"focus",n[74]),de(s,"blur",n[75]),de(s,"click",n[76]),de(s,"keydown",n[23]),de(s,"input",n[24]),de(s,"change",n[77]),de(t,"submit",Qr(n[22]))],v=!0)},p(g,b){(!T||b[0]&512)&&L(s,"placeholder",g[9]),(!T||b[0]&512)&&L(s,"aria-label",g[9]),b[0]&2&&s.value!==g[1]&&En(s,g[1]),g[20]?I&&(yt(),le(I,1,1,()=>{I=null}),vt()):I?(I.p(g,b),b[0]&1048576&&ie(I,1)):(I=On(g),I.c(),ie(I,1),I.m(d,$)),g[20]?G?b[0]&1048576&&ie(G,1):(G=In(),G.c(),ie(G,1),G.m(d,null)):G&&(yt(),le(G,1,1,()=>{G=null}),vt()),(!T||b[0]&2)&&Ae(d,"displayable",g[1]!==""),g[6]==="button"?A?(A.p(g,b),b[0]&64&&ie(A,1)):(A=An(g),A.c(),ie(A,1),A.m(r,N)):A&&(yt(),le(A,1,1,()=>{A=null}),vt()),l&&l.p&&(!T||b[2]&128)&&Zr(l,o,g,g[69],T?Hr(o,g[69]):Vr(g[69]),null);let m=M;M=h(g),M===m?~M&&p[M].p(g,b):(P&&(yt(),le(p[m],1,1,()=>{p[m]=null}),vt()),~M?(P=p[M],P?P.p(g,b):(P=p[M]=u[M](g),P.c()),ie(P,1),P.m(t,null)):P=null),(!T||b[0]&4&&C!==(C=Wt(g[2])+" svelte-bz0zu3"))&&L(t,"class",C),(!T||b[0]&38)&&Ae(t,"can-collapse",g[5]&&g[1]==="")},i(g){T||(ie(U),ie(a.$$.fragment,g),ie(I),ie(G),ie(A),ie(l,g),ie(P),T=!0)},o(g){le(U),le(a.$$.fragment,g),le(I),le(G),le(A),le(l,g),le(P),T=!1},d(g){g&&(J(e),J(t)),De(a),n[72](null),I&&I.d(),G&&G.d(),A&&A.d(),l&&l.d(g),~M&&p[M].d(),v=!1,qe(O)}}}function Qi(n,e,t){let r,i,a,{$$slots:c={},$$scope:s}=e;const f={continental_marine:4,country:4,major_landform:8,region:5,subregion:6,county:7,joint_municipality:8,joint_submunicipality:9,municipality:10,municipal_district:11,locality:12,neighbourhood:13,place:14,postal_code:14,road:16,poi:17,address:18,"poi.peak":15,"poi.shop":18,"poi.cafe":18,"poi.restaurant":18,"poi.aerodrome":13};let{class:d=void 0}=e,{apiKey:$=void 0}=e,{bbox:E=void 0}=e,{clearButtonTitle:N="clear"}=e,{clearOnBlur:R=!1}=e,{clearListOnPick:M=!1}=e,{keepListOpen:P=!1}=e,{collapsed:C=!1}=e,{country:T=void 0}=e,{debounceSearch:v=200}=e,{enableReverse:O="never"}=e,{errorMessage:U="Something went wrong…"}=e,{filter:I=()=>!0}=e,{flyTo:G=!0}=e,{fuzzyMatch:A=!0}=e,{language:o=void 0}=e,{limit:l=void 0}=e;const u=41415112612;let{reverseGeocodingLimit:p=u}=e,{mapController:h=void 0}=e,{minLength:g=2}=e,{noResultsMessage:b="Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!"}=e,{placeholder:m="Search"}=e,{proximity:y=[{type:"server-geolocation"}]}=e,{reverseActive:w=O==="always"}=e,{reverseButtonTitle:x="toggle reverse geocoding"}=e,{searchValue:k=""}=e,{pickedResultStyle:W="full-geometry"}=e,{showPlaceType:B="if-needed"}=e,{showResultsWhileTyping:q=!0}=e,{selectFirst:V=!0}=e,{flyToSelected:re=!1}=e,{markerOnSelected:F=!0}=e,{types:Z=void 0}=e;const ae=[];let{reverseGeocodingTypes:Be=ae}=e,{exhaustiveReverseGeocoding:Je=!1}=e,{excludeTypes:et=!1}=e;const ve=void 0;let{reverseGeocodingExcludeTypes:Me=ve}=e,{zoom:he=f}=e,{apiUrl:ue="https://api.maptiler.com/geocoding"}=e,{fetchParameters:ee={}}=e,{iconsBaseUrl:fn="https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.7/icons/"}=e,{adjustUrlQuery:Ft=()=>{}}=e,{adjustUrl:qt=()=>{}}=e;function vr(S){ke.focus(S)}function br(){ke.blur()}function gn(S,Q=!0,fe=!1){t(1,k=S),Q?(t(15,K=-1),mn()):(yn(void 0,!fe,fe),setTimeout(()=>{ke.focus(),ke.select()}))}function wr(){t(13,j=void 0),t(14,z=void 0),t(15,K=-1)}function xr(){t(64,ce=[]),t(14,z=void 0)}let j,ce,z,pn="",ke,K=-1,Re,Tt=[],rt,it,ot,jt,Ge=!1;const Er=new Set,je=ir();Jr(()=>{h&&(h.setEventHandler(void 0),h.indicateReverse(!1),h.setSelectedMarker(-1),h.setFeatures(void 0,void 0,!1))});function mn(S){if(t(17,Ge=!1),it&&(clearTimeout(it),it=void 0),K>-1&&j)t(14,z=j[K]),t(1,k=z.place_type[0]==="reverse"?z.place_name:z.place_name.replace(/,.*/,"")),t(19,Re=void 0),t(64,ce=void 0),t(15,K=-1);else if(k){const Q=S||!Ht(k);Zt(k,{exact:!0}).then(()=>{t(64,ce=j),t(14,z=void 0),Q&&Sr()}).catch(fe=>t(19,Re=fe))}}function Ht(S){try{return qi(S,6)}catch{return!1}}async function Zt(S,{byId:Q=!1,exact:fe=!1}={}){var me,be,_e;t(19,Re=void 0),rt?.abort();const Pe=new AbortController;t(20,rt=Pe);try{const Y=Ht(S),ct=new URL(ue+"/"+encodeURIComponent(Y?Y.decimalLongitude+","+Y.decimalLatitude:S)+".json"),Ee=ct.searchParams;o!==void 0&&Ee.set("language",Array.isArray(o)?o.join(","):o??"");const[Qt]=h?.getCenterAndZoom()??[];let He=(me=!Y||Be===ae?Z:Be)==null?void 0:me.map(ge=>typeof ge=="string"?ge:Qt===void 0||(ge[0]??0)<=Qt&&Qt<(ge[1]??1/0)?ge[2]:void 0).filter(ge=>ge!==void 0);He&&(He=[...new Set(He)],Ee.set("types",He.join(",")));const bn=!Y||Me===ve?et:Me;if(bn&&Ee.set("excludeTypes",String(bn)),E&&Ee.set("bbox",E.map(ge=>ge.toFixed(6)).join(",")),T&&Ee.set("country",Array.isArray(T)?T.join(","):T),!Q&&!Y){const ge=await Pi(h,y,Pe);ge&&Ee.set("proximity",ge),(fe||!q)&&Ee.set("autocomplete","false"),Ee.set("fuzzyMatch",String(A))}const dt=p===u?l:p;dt!==void 0&&dt>1&&He?.length!==1&&console.warn("For reverse geocoding when limit > 1 then types must contain single value."),Y?(dt===1||dt!==void 0&&(Je||He?.length===1))&&Ee.set("limit",String(dt)):l!==void 0&&Ee.set("limit",String(l)),$&&Ee.set("key",$),Ft(Ee),qt(ct);const zr=ct.searchParams.get("types")===""&&ct.searchParams.get("excludeTypes")!=="true",kt=ct.toString();if(kt===pn){Q?(M&&t(13,j=void 0),t(14,z=Tt[0])):(t(13,j=Tt),((be=j[K])==null?void 0:be.id)!==i?.id&&t(15,K=-1));return}pn=kt;let ht;if(zr)ht={type:"FeatureCollection",features:[]};else{const ge=await fetch(kt,{signal:Pe.signal,...ee});if(!ge.ok)throw new Error(await ge.text());ht=await ge.json()}je("response",{url:kt,featureCollection:ht}),Q?(M&&t(13,j=void 0),t(14,z=ht.features[0]),Tt=[z]):(t(13,j=ht.features.filter(I)),Y&&j.unshift({type:"Feature",properties:{},id:"reverse_"+Y.decimalLongitude+"_"+Y.decimalLatitude,text:Y.decimalLatitude+", "+Y.decimalLongitude,place_name:Y.decimalLatitude+", "+Y.decimalLongitude,place_type:["reverse"],center:[Y.decimalLongitude,Y.decimalLatitude],bbox:[Y.decimalLongitude,Y.decimalLatitude,Y.decimalLongitude,Y.decimalLatitude],geometry:{type:"Point",coordinates:[Y.decimalLongitude,Y.decimalLatitude]}}),Tt=j,((_e=j[K])==null?void 0:_e.id)!==i?.id&&t(15,K=-1),Y&&ke.focus())}catch(Y){if(Y&&typeof Y=="object"&&"name"in Y&&Y.name==="AbortError")return;throw Y}finally{Pe===rt&&t(20,rt=void 0)}}function Sr(){var S;if(!(ce!=null&&ce.length)||!G)return;const Q=[180,90,-180,-90],fe=!ce.some(be=>!be.matching_text);let me;for(const be of ce){const _e=ut(be);if(me=me===void 0?_e:_e===void 0?me:Math.max(me,_e),fe||!be.matching_text)for(const Pe of[0,1,2,3])Q[Pe]=Math[Pe<2?"min":"max"](Q[Pe],((S=be.bbox)==null?void 0:S[Pe])??be.center[Pe%2])}h&&ce.length>0&&(z&&Q[0]===Q[2]&&Q[1]===Q[3]?h.flyTo(z.center,ut(z)):h.fitBounds(Bt(Q),50,me))}function Vt(){!z||!h||(!z.bbox||z.bbox[0]===z.bbox[2]&&z.bbox[1]===z.bbox[3]?h.flyTo(z.center,ut(z)):h.fitBounds(Bt(z.bbox),50,ut(z)))}function ut(S){var Q;if(!S.bbox||S.bbox[0]!==S.bbox[2]&&S.bbox[1]!==S.bbox[3])return;const fe=S.id.replace(/\..*/,"");return(Array.isArray((Q=S.properties)==null?void 0:Q.categories)?S.properties.categories.reduce((me,be)=>{const _e=he[fe+"."+be];return me===void 0?_e:_e===void 0?me:Math.max(me,_e)},void 0):void 0)??he[fe]}function $r(S){t(0,w=O==="always"),t(13,j=void 0),t(14,z=void 0),t(15,K=-1),gn(S[1].toFixed(6)+", "+_i(S[0],[-180,180],!0).toFixed(6),!1,!0)}function Lr(S){if(!j)return;let Q=S.key==="ArrowDown"?1:S.key==="ArrowUp"?-1:0;Q&&(ke.focus(),t(17,Ge=!0),S.preventDefault(),z&&K===-1&&t(15,K=j.findIndex(fe=>fe.id===z?.id)),K===(z||V?0:-1)&&Q===-1&&t(15,K=j.length),t(15,K+=Q),K>=j.length&&t(15,K=-1),K<0&&(z||V)&&t(15,K=0))}function yn(S,Q=!0,fe=!1){if(t(19,Re=void 0),t(14,z=void 0),t(17,Ge=!0),q||fe){if(it&&clearTimeout(it),k.length<g)return;const me=k;it=window.setTimeout(()=>{Zt(me).catch(be=>t(19,Re=be))},Q?v:0)}else t(13,j=void 0),t(19,Re=void 0)}function Kt(S){z&&z?.id===S?.id?Vt():(t(14,z=S),t(1,k=S.place_name))}function vn(S){t(15,K=S)}function Tr(){(!V||z)&&t(15,K=-1),re&&Vt()}const kr=()=>ke.focus();function Nr(S){tn[S?"unshift":"push"](()=>{ke=S,t(18,ke)})}function Cr(){k=this.value,t(1,k),t(17,Ge),t(31,R),t(16,ot)}const Mr=()=>t(17,Ge=!0),Rr=()=>t(17,Ge=!1),_r=()=>t(17,Ge=!0),Pr=()=>t(14,z=void 0),Or=()=>{t(1,k=""),t(14,z=void 0),ke.focus()},Ir=()=>t(0,w=!w),Ar=()=>t(19,Re=void 0),Wr=S=>vn(S),Br=S=>Kt(S),Gr=()=>{};return n.$$set=S=>{"class"in S&&t(2,d=S.class),"apiKey"in S&&t(29,$=S.apiKey),"bbox"in S&&t(30,E=S.bbox),"clearButtonTitle"in S&&t(3,N=S.clearButtonTitle),"clearOnBlur"in S&&t(31,R=S.clearOnBlur),"clearListOnPick"in S&&t(32,M=S.clearListOnPick),"keepListOpen"in S&&t(4,P=S.keepListOpen),"collapsed"in S&&t(5,C=S.collapsed),"country"in S&&t(33,T=S.country),"debounceSearch"in S&&t(34,v=S.debounceSearch),"enableReverse"in S&&t(6,O=S.enableReverse),"errorMessage"in S&&t(7,U=S.errorMessage),"filter"in S&&t(35,I=S.filter),"flyTo"in S&&t(36,G=S.flyTo),"fuzzyMatch"in S&&t(37,A=S.fuzzyMatch),"language"in S&&t(38,o=S.language),"limit"in S&&t(39,l=S.limit),"reverseGeocodingLimit"in S&&t(40,p=S.reverseGeocodingLimit),"mapController"in S&&t(41,h=S.mapController),"minLength"in S&&t(42,g=S.minLength),"noResultsMessage"in S&&t(8,b=S.noResultsMessage),"placeholder"in S&&t(9,m=S.placeholder),"proximity"in S&&t(43,y=S.proximity),"reverseActive"in S&&t(0,w=S.reverseActive),"reverseButtonTitle"in S&&t(10,x=S.reverseButtonTitle),"searchValue"in S&&t(1,k=S.searchValue),"pickedResultStyle"in S&&t(44,W=S.pickedResultStyle),"showPlaceType"in S&&t(11,B=S.showPlaceType),"showResultsWhileTyping"in S&&t(45,q=S.showResultsWhileTyping),"selectFirst"in S&&t(46,V=S.selectFirst),"flyToSelected"in S&&t(47,re=S.flyToSelected),"markerOnSelected"in S&&t(48,F=S.markerOnSelected),"types"in S&&t(49,Z=S.types),"reverseGeocodingTypes"in S&&t(50,Be=S.reverseGeocodingTypes),"exhaustiveReverseGeocoding"in S&&t(51,Je=S.exhaustiveReverseGeocoding),"excludeTypes"in S&&t(52,et=S.excludeTypes),"reverseGeocodingExcludeTypes"in S&&t(53,Me=S.reverseGeocodingExcludeTypes),"zoom"in S&&t(54,he=S.zoom),"apiUrl"in S&&t(55,ue=S.apiUrl),"fetchParameters"in S&&t(56,ee=S.fetchParameters),"iconsBaseUrl"in S&&t(12,fn=S.iconsBaseUrl),"adjustUrlQuery"in S&&t(57,Ft=S.adjustUrlQuery),"adjustUrl"in S&&t(58,qt=S.adjustUrl),"$$scope"in S&&t(69,s=S.$$scope)},n.$$.update=()=>{if(n.$$.dirty[0]&64&&t(0,w=O==="always"),n.$$.dirty[0]&16384|n.$$.dirty[1]&8192&&W!=="marker-only"&&z&&!z.address&&z.geometry.type==="Point"&&z.place_type[0]!=="reverse"&&Zt(z.id,{byId:!0}).catch(S=>t(19,Re=S)),n.$$.dirty[0]&16384|n.$$.dirty[1]&1058|n.$$.dirty[2]&8&&(h&&z&&z.id!==jt&&G&&(Vt(),M&&t(13,j=void 0),t(64,ce=void 0),t(15,K=-1)),t(65,jt=z?.id)),n.$$.dirty[0]&196608|n.$$.dirty[1]&1&&setTimeout(()=>{t(16,ot=Ge),R&&!ot&&t(1,k="")}),n.$$.dirty[0]&8194|n.$$.dirty[1]&2048&&k.length<g&&(t(13,j=void 0),t(19,Re=void 0),t(64,ce=j)),n.$$.dirty[0]&57344|n.$$.dirty[1]&32768&&V&&j!=null&&j.length&&K==-1&&!z&&t(15,K=0),n.$$.dirty[0]&8192|n.$$.dirty[2]&4&&ce!==j&&t(64,ce=void 0),n.$$.dirty[0]&73729|n.$$.dirty[1]&1024|n.$$.dirty[2]&4&&h&&h.setEventHandler(S=>{switch(S.type){case"mapClick":w&&$r(S.coordinates);break;case"markerClick":{const Q=j?.find(fe=>fe.id===S.id);Q&&Kt(Q)}break;case"markerMouseEnter":ce&&t(15,K=ot?j?.findIndex(Q=>Q.id===S.id)??-1:-1);break;case"markerMouseLeave":ce&&t(15,K=-1);break}}),n.$$.dirty[0]&40960&&t(66,i=j?.[K]),n.$$.dirty[1]&66592|n.$$.dirty[2]&16&&h&&i&&G&&re&&h.flyTo(i.center,ut(i)),n.$$.dirty[1]&8192&&t(68,r=W==="full-geometry-including-polygon-center-marker"),n.$$.dirty[1]&132096|n.$$.dirty[2]&64&&(F||h==null||h.setFeatures(void 0,void 0,r)),n.$$.dirty[0]&16384|n.$$.dirty[1]&132096|n.$$.dirty[2]&84&&h&&F&&!ce&&(h.setFeatures(i?[i]:void 0,z,r),h.setSelectedMarker(i?0:-1)),n.$$.dirty[0]&16384|n.$$.dirty[1]&1024|n.$$.dirty[2]&68&&h&&h.setFeatures(ce,z,r),n.$$.dirty[0]&32768|n.$$.dirty[1]&1024|n.$$.dirty[2]&4&&ce&&h&&h.setSelectedMarker(K),n.$$.dirty[0]&2|n.$$.dirty[1]&1024&&h){const S=Ht(k);h.setReverseMarker(S?[S.decimalLongitude,S.decimalLatitude]:void 0)}n.$$.dirty[2]&16&&je("select",{feature:i}),n.$$.dirty[0]&16384&&je("pick",{feature:z}),n.$$.dirty[0]&73744&&t(67,a=!!(j!=null&&j.length)&&(ot||P)),n.$$.dirty[2]&32&&je("optionsvisibilitychange",{optionsVisible:a}),n.$$.dirty[0]&8192&&je("featureslisted",{features:j}),n.$$.dirty[2]&4&&je("featuresmarked",{features:ce}),n.$$.dirty[0]&1&&je("reversetoggle",{reverse:w}),n.$$.dirty[0]&2&&je("querychange",{query:k}),n.$$.dirty[0]&1|n.$$.dirty[1]&1024&&h&&h.indicateReverse(w)},[w,k,d,N,P,C,O,U,b,m,x,B,fn,j,z,K,ot,Ge,ke,Re,rt,Er,mn,Lr,yn,Kt,vn,Tr,f,$,E,R,M,T,v,I,G,A,o,l,p,h,g,y,W,q,V,re,F,Z,Be,Je,et,Me,he,ue,ee,Ft,qt,vr,br,gn,wr,xr,ce,jt,i,a,r,s,c,kr,Nr,Cr,Mr,Rr,_r,Pr,Or,Ir,Ar,Wr,Br,Gr]}let Yi=class extends Xe{constructor(n){super(),Ye(this,n,Qi,Ki,Qe,{ZOOM_DEFAULTS:28,class:2,apiKey:29,bbox:30,clearButtonTitle:3,clearOnBlur:31,clearListOnPick:32,keepListOpen:4,collapsed:5,country:33,debounceSearch:34,enableReverse:6,errorMessage:7,filter:35,flyTo:36,fuzzyMatch:37,language:38,limit:39,reverseGeocodingLimit:40,mapController:41,minLength:42,noResultsMessage:8,placeholder:9,proximity:43,reverseActive:0,reverseButtonTitle:10,searchValue:1,pickedResultStyle:44,showPlaceType:11,showResultsWhileTyping:45,selectFirst:46,flyToSelected:47,markerOnSelected:48,types:49,reverseGeocodingTypes:50,exhaustiveReverseGeocoding:51,excludeTypes:52,reverseGeocodingExcludeTypes:53,zoom:54,apiUrl:55,fetchParameters:56,iconsBaseUrl:12,adjustUrlQuery:57,adjustUrl:58,focus:59,blur:60,setQuery:61,clearList:62,clearMap:63},null,[-1,-1,-1,-1])}get ZOOM_DEFAULTS(){return this.$$.ctx[28]}get focus(){return this.$$.ctx[59]}get blur(){return this.$$.ctx[60]}get setQuery(){return this.$$.ctx[61]}get clearList(){return this.$$.ctx[62]}get clearMap(){return this.$$.ctx[63]}};function $t(n,e,t={}){const r={type:"Feature"};return(t.id===0||t.id)&&(r.id=t.id),t.bbox&&(r.bbox=t.bbox),r.properties=e||{},r.geometry=n,r}function dn(n,e,t={}){for(const r of n){if(r.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");if(r[r.length-1].length!==r[0].length)throw new Error("First and last Position are not equivalent.");for(let i=0;i<r[r.length-1].length;i++)if(r[r.length-1][i]!==r[0][i])throw new Error("First and last Position are not equivalent.")}return $t({type:"Polygon",coordinates:n},e,t)}function Lt(n,e={}){const t={type:"FeatureCollection"};return e.id&&(t.id=e.id),e.bbox&&(t.bbox=e.bbox),t.features=n,t}function ur(n,e,t={}){return $t({type:"MultiPolygon",coordinates:n},e,t)}var Xi=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Jt=Math.ceil,Le=Math.floor,ye="[BigNumber Error] ",Bn=ye+"Number primitive has more than 15 significant digits: ",Ne=1e14,D=14,Gn=9007199254740991,en=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],Ze=1e7,we=1e9;function cr(n){var e,t,r,i=v.prototype={constructor:v,toString:null,valueOf:null},a=new v(1),c=20,s=4,f=-7,d=21,$=-1e7,E=1e7,N=!1,R=1,M=0,P={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},C="0123456789abcdefghijklmnopqrstuvwxyz",T=!0;function v(o,l){var u,p,h,g,b,m,y,w,x=this;if(!(x instanceof v))return new v(o,l);if(l==null){if(o&&o._isBigNumber===!0){x.s=o.s,!o.c||o.e>E?x.c=x.e=null:o.e<$?x.c=[x.e=0]:(x.e=o.e,x.c=o.c.slice());return}if((m=typeof o=="number")&&o*0==0){if(x.s=1/o<0?(o=-o,-1):1,o===~~o){for(g=0,b=o;b>=10;b/=10,g++);g>E?x.c=x.e=null:(x.e=g,x.c=[o]);return}w=String(o)}else{if(!Xi.test(w=String(o)))return r(x,w,m);x.s=w.charCodeAt(0)==45?(w=w.slice(1),-1):1}(g=w.indexOf("."))>-1&&(w=w.replace(".","")),(b=w.search(/e/i))>0?(g<0&&(g=b),g+=+w.slice(b+1),w=w.substring(0,b)):g<0&&(g=w.length)}else{if(oe(l,2,C.length,"Base"),l==10&&T)return x=new v(o),G(x,c+x.e+1,s);if(w=String(o),m=typeof o=="number"){if(o*0!=0)return r(x,w,m,l);if(x.s=1/o<0?(w=w.slice(1),-1):1,v.DEBUG&&w.replace(/^0\.0*|\./,"").length>15)throw Error(Bn+o)}else x.s=w.charCodeAt(0)===45?(w=w.slice(1),-1):1;for(u=C.slice(0,l),g=b=0,y=w.length;b<y;b++)if(u.indexOf(p=w.charAt(b))<0){if(p=="."){if(b>g){g=y;continue}}else if(!h&&(w==w.toUpperCase()&&(w=w.toLowerCase())||w==w.toLowerCase()&&(w=w.toUpperCase()))){h=!0,b=-1,g=0;continue}return r(x,String(o),m,l)}m=!1,w=t(w,l,10,x.s),(g=w.indexOf("."))>-1?w=w.replace(".",""):g=w.length}for(b=0;w.charCodeAt(b)===48;b++);for(y=w.length;w.charCodeAt(--y)===48;);if(w=w.slice(b,++y)){if(y-=b,m&&v.DEBUG&&y>15&&(o>Gn||o!==Le(o)))throw Error(Bn+x.s*o);if((g=g-b-1)>E)x.c=x.e=null;else if(g<$)x.c=[x.e=0];else{if(x.e=g,x.c=[],b=(g+1)%D,g<0&&(b+=D),b<y){for(b&&x.c.push(+w.slice(0,b)),y-=D;b<y;)x.c.push(+w.slice(b,b+=D));b=D-(w=w.slice(b)).length}else b-=y;for(;b--;w+="0");x.c.push(+w)}}else x.c=[x.e=0]}v.clone=cr,v.ROUND_UP=0,v.ROUND_DOWN=1,v.ROUND_CEIL=2,v.ROUND_FLOOR=3,v.ROUND_HALF_UP=4,v.ROUND_HALF_DOWN=5,v.ROUND_HALF_EVEN=6,v.ROUND_HALF_CEIL=7,v.ROUND_HALF_FLOOR=8,v.EUCLID=9,v.config=v.set=function(o){var l,u;if(o!=null)if(typeof o=="object"){if(o.hasOwnProperty(l="DECIMAL_PLACES")&&(u=o[l],oe(u,0,we,l),c=u),o.hasOwnProperty(l="ROUNDING_MODE")&&(u=o[l],oe(u,0,8,l),s=u),o.hasOwnProperty(l="EXPONENTIAL_AT")&&(u=o[l],u&&u.pop?(oe(u[0],-1e9,0,l),oe(u[1],0,we,l),f=u[0],d=u[1]):(oe(u,-1e9,we,l),f=-(d=u<0?-u:u))),o.hasOwnProperty(l="RANGE"))if(u=o[l],u&&u.pop)oe(u[0],-1e9,-1,l),oe(u[1],1,we,l),$=u[0],E=u[1];else if(oe(u,-1e9,we,l),u)$=-(E=u<0?-u:u);else throw Error(ye+l+" cannot be zero: "+u);if(o.hasOwnProperty(l="CRYPTO"))if(u=o[l],u===!!u)if(u)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))N=u;else throw N=!u,Error(ye+"crypto unavailable");else N=u;else throw Error(ye+l+" not true or false: "+u);if(o.hasOwnProperty(l="MODULO_MODE")&&(u=o[l],oe(u,0,9,l),R=u),o.hasOwnProperty(l="POW_PRECISION")&&(u=o[l],oe(u,0,we,l),M=u),o.hasOwnProperty(l="FORMAT"))if(u=o[l],typeof u=="object")P=u;else throw Error(ye+l+" not an object: "+u);if(o.hasOwnProperty(l="ALPHABET"))if(u=o[l],typeof u=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(u))T=u.slice(0,10)=="0123456789",C=u;else throw Error(ye+l+" invalid: "+u)}else throw Error(ye+"Object expected: "+o);return{DECIMAL_PLACES:c,ROUNDING_MODE:s,EXPONENTIAL_AT:[f,d],RANGE:[$,E],CRYPTO:N,MODULO_MODE:R,POW_PRECISION:M,FORMAT:P,ALPHABET:C}},v.isBigNumber=function(o){if(!o||o._isBigNumber!==!0)return!1;if(!v.DEBUG)return!0;var l,u,p=o.c,h=o.e,g=o.s;e:if({}.toString.call(p)=="[object Array]"){if((g===1||g===-1)&&h>=-1e9&&h<=we&&h===Le(h)){if(p[0]===0){if(h===0&&p.length===1)return!0;break e}if(l=(h+1)%D,l<1&&(l+=D),String(p[0]).length==l){for(l=0;l<p.length;l++)if(u=p[l],u<0||u>=Ne||u!==Le(u))break e;if(u!==0)return!0}}}else if(p===null&&h===null&&(g===null||g===1||g===-1))return!0;throw Error(ye+"Invalid BigNumber: "+o)},v.maximum=v.max=function(){return U(arguments,-1)},v.minimum=v.min=function(){return U(arguments,1)},v.random=function(){var o=9007199254740992,l=Math.random()*o&2097151?function(){return Le(Math.random()*o)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(u){var p,h,g,b,m,y=0,w=[],x=new v(a);if(u==null?u=c:oe(u,0,we),b=Jt(u/D),N)if(crypto.getRandomValues){for(p=crypto.getRandomValues(new Uint32Array(b*=2));y<b;)m=p[y]*131072+(p[y+1]>>>11),m>=9e15?(h=crypto.getRandomValues(new Uint32Array(2)),p[y]=h[0],p[y+1]=h[1]):(w.push(m%1e14),y+=2);y=b/2}else if(crypto.randomBytes){for(p=crypto.randomBytes(b*=7);y<b;)m=(p[y]&31)*281474976710656+p[y+1]*1099511627776+p[y+2]*4294967296+p[y+3]*16777216+(p[y+4]<<16)+(p[y+5]<<8)+p[y+6],m>=9e15?crypto.randomBytes(7).copy(p,y):(w.push(m%1e14),y+=7);y=b/7}else throw N=!1,Error(ye+"crypto unavailable");if(!N)for(;y<b;)m=l(),m<9e15&&(w[y++]=m%1e14);for(b=w[--y],u%=D,b&&u&&(m=en[D-u],w[y]=Le(b/m)*m);w[y]===0;w.pop(),y--);if(y<0)w=[g=0];else{for(g=-1;w[0]===0;w.splice(0,1),g-=D);for(y=1,m=w[0];m>=10;m/=10,y++);y<D&&(g-=D-y)}return x.e=g,x.c=w,x}}(),v.sum=function(){for(var o=1,l=arguments,u=new v(l[0]);o<l.length;)u=u.plus(l[o++]);return u},t=function(){var o="0123456789";function l(u,p,h,g){for(var b,m=[0],y,w=0,x=u.length;w<x;){for(y=m.length;y--;m[y]*=p);for(m[0]+=g.indexOf(u.charAt(w++)),b=0;b<m.length;b++)m[b]>h-1&&(m[b+1]==null&&(m[b+1]=0),m[b+1]+=m[b]/h|0,m[b]%=h)}return m.reverse()}return function(u,p,h,g,b){var m,y,w,x,k,W,B,q,V=u.indexOf("."),re=c,F=s;for(V>=0&&(x=M,M=0,u=u.replace(".",""),q=new v(p),W=q.pow(u.length-V),M=x,q.c=l(ze($e(W.c),W.e,"0"),10,h,o),q.e=q.c.length),B=l(u,p,h,b?(m=C,o):(m=o,C)),w=x=B.length;B[--x]==0;B.pop());if(!B[0])return m.charAt(0);if(V<0?--w:(W.c=B,W.e=w,W.s=g,W=e(W,q,re,F,h),B=W.c,k=W.r,w=W.e),y=w+re+1,V=B[y],x=h/2,k=k||y<0||B[y+1]!=null,k=F<4?(V!=null||k)&&(F==0||F==(W.s<0?3:2)):V>x||V==x&&(F==4||k||F==6&&B[y-1]&1||F==(W.s<0?8:7)),y<1||!B[0])u=k?ze(m.charAt(1),-re,m.charAt(0)):m.charAt(0);else{if(B.length=y,k)for(--h;++B[--y]>h;)B[y]=0,y||(++w,B=[1].concat(B));for(x=B.length;!B[--x];);for(V=0,u="";V<=x;u+=m.charAt(B[V++]));u=ze(u,w,m.charAt(0))}return u}}(),e=function(){function o(p,h,g){var b,m,y,w,x=0,k=p.length,W=h%Ze,B=h/Ze|0;for(p=p.slice();k--;)y=p[k]%Ze,w=p[k]/Ze|0,b=B*y+w*W,m=W*y+b%Ze*Ze+x,x=(m/g|0)+(b/Ze|0)+B*w,p[k]=m%g;return x&&(p=[x].concat(p)),p}function l(p,h,g,b){var m,y;if(g!=b)y=g>b?1:-1;else for(m=y=0;m<g;m++)if(p[m]!=h[m]){y=p[m]>h[m]?1:-1;break}return y}function u(p,h,g,b){for(var m=0;g--;)p[g]-=m,m=p[g]<h[g]?1:0,p[g]=m*b+p[g]-h[g];for(;!p[0]&&p.length>1;p.splice(0,1));}return function(p,h,g,b,m){var y,w,x,k,W,B,q,V,re,F,Z,ae,Be,Je,et,ve,Me,he=p.s==h.s?1:-1,ue=p.c,ee=h.c;if(!ue||!ue[0]||!ee||!ee[0])return new v(!p.s||!h.s||(ue?ee&&ue[0]==ee[0]:!ee)?NaN:ue&&ue[0]==0||!ee?he*0:he/0);for(V=new v(he),re=V.c=[],w=p.e-h.e,he=g+w+1,m||(m=Ne,w=Te(p.e/D)-Te(h.e/D),he=he/D|0),x=0;ee[x]==(ue[x]||0);x++);if(ee[x]>(ue[x]||0)&&w--,he<0)re.push(1),k=!0;else{for(Je=ue.length,ve=ee.length,x=0,he+=2,W=Le(m/(ee[0]+1)),W>1&&(ee=o(ee,W,m),ue=o(ue,W,m),ve=ee.length,Je=ue.length),Be=ve,F=ue.slice(0,ve),Z=F.length;Z<ve;F[Z++]=0);Me=ee.slice(),Me=[0].concat(Me),et=ee[0],ee[1]>=m/2&&et++;do{if(W=0,y=l(ee,F,ve,Z),y<0){if(ae=F[0],ve!=Z&&(ae=ae*m+(F[1]||0)),W=Le(ae/et),W>1)for(W>=m&&(W=m-1),B=o(ee,W,m),q=B.length,Z=F.length;l(B,F,q,Z)==1;)W--,u(B,ve<q?Me:ee,q,m),q=B.length,y=1;else W==0&&(y=W=1),B=ee.slice(),q=B.length;if(q<Z&&(B=[0].concat(B)),u(F,B,Z,m),Z=F.length,y==-1)for(;l(ee,F,ve,Z)<1;)W++,u(F,ve<Z?Me:ee,Z,m),Z=F.length}else y===0&&(W++,F=[0]);re[x++]=W,F[0]?F[Z++]=ue[Be]||0:(F=[ue[Be]],Z=1)}while((Be++<Je||F[0]!=null)&&he--);k=F[0]!=null,re[0]||re.splice(0,1)}if(m==Ne){for(x=1,he=re[0];he>=10;he/=10,x++);G(V,g+(V.e=x+w*D-1)+1,b,k)}else V.e=w,V.r=+k;return V}}();function O(o,l,u,p){var h,g,b,m,y;if(u==null?u=s:oe(u,0,8),!o.c)return o.toString();if(h=o.c[0],b=o.e,l==null)y=$e(o.c),y=p==1||p==2&&(b<=f||b>=d)?_t(y,b):ze(y,b,"0");else if(o=G(new v(o),l,u),g=o.e,y=$e(o.c),m=y.length,p==1||p==2&&(l<=g||g<=f)){for(;m<l;y+="0",m++);y=_t(y,g)}else if(l-=b,y=ze(y,g,"0"),g+1>m){if(--l>0)for(y+=".";l--;y+="0");}else if(l+=g-m,l>0)for(g+1==m&&(y+=".");l--;y+="0");return o.s<0&&h?"-"+y:y}function U(o,l){for(var u,p,h=1,g=new v(o[0]);h<o.length;h++)p=new v(o[h]),(!p.s||(u=tt(g,p))===l||u===0&&g.s===l)&&(g=p);return g}function I(o,l,u){for(var p=1,h=l.length;!l[--h];l.pop());for(h=l[0];h>=10;h/=10,p++);return(u=p+u*D-1)>E?o.c=o.e=null:u<$?o.c=[o.e=0]:(o.e=u,o.c=l),o}r=function(){var o=/^(-?)0([xbo])(?=\w[\w.]*$)/i,l=/^([^.]+)\.$/,u=/^\.([^.]+)$/,p=/^-?(Infinity|NaN)$/,h=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(g,b,m,y){var w,x=m?b:b.replace(h,"");if(p.test(x))g.s=isNaN(x)?null:x<0?-1:1;else{if(!m&&(x=x.replace(o,function(k,W,B){return w=(B=B.toLowerCase())=="x"?16:B=="b"?2:8,!y||y==w?W:k}),y&&(w=y,x=x.replace(l,"$1").replace(u,"0.$1")),b!=x))return new v(x,w);if(v.DEBUG)throw Error(ye+"Not a"+(y?" base "+y:"")+" number: "+b);g.s=null}g.c=g.e=null}}();function G(o,l,u,p){var h,g,b,m,y,w,x,k=o.c,W=en;if(k){e:{for(h=1,m=k[0];m>=10;m/=10,h++);if(g=l-h,g<0)g+=D,b=l,y=k[w=0],x=Le(y/W[h-b-1]%10);else if(w=Jt((g+1)/D),w>=k.length)if(p){for(;k.length<=w;k.push(0));y=x=0,h=1,g%=D,b=g-D+1}else break e;else{for(y=m=k[w],h=1;m>=10;m/=10,h++);g%=D,b=g-D+h,x=b<0?0:Le(y/W[h-b-1]%10)}if(p=p||l<0||k[w+1]!=null||(b<0?y:y%W[h-b-1]),p=u<4?(x||p)&&(u==0||u==(o.s<0?3:2)):x>5||x==5&&(u==4||p||u==6&&(g>0?b>0?y/W[h-b]:0:k[w-1])%10&1||u==(o.s<0?8:7)),l<1||!k[0])return k.length=0,p?(l-=o.e+1,k[0]=W[(D-l%D)%D],o.e=-l||0):k[0]=o.e=0,o;if(g==0?(k.length=w,m=1,w--):(k.length=w+1,m=W[D-g],k[w]=b>0?Le(y/W[h-b]%W[b])*m:0),p)for(;;)if(w==0){for(g=1,b=k[0];b>=10;b/=10,g++);for(b=k[0]+=m,m=1;b>=10;b/=10,m++);g!=m&&(o.e++,k[0]==Ne&&(k[0]=1));break}else{if(k[w]+=m,k[w]!=Ne)break;k[w--]=0,m=1}for(g=k.length;k[--g]===0;k.pop());}o.e>E?o.c=o.e=null:o.e<$&&(o.c=[o.e=0])}return o}function A(o){var l,u=o.e;return u===null?o.toString():(l=$e(o.c),l=u<=f||u>=d?_t(l,u):ze(l,u,"0"),o.s<0?"-"+l:l)}return i.absoluteValue=i.abs=function(){var o=new v(this);return o.s<0&&(o.s=1),o},i.comparedTo=function(o,l){return tt(this,new v(o,l))},i.decimalPlaces=i.dp=function(o,l){var u,p,h,g=this;if(o!=null)return oe(o,0,we),l==null?l=s:oe(l,0,8),G(new v(g),o+g.e+1,l);if(!(u=g.c))return null;if(p=((h=u.length-1)-Te(this.e/D))*D,h=u[h])for(;h%10==0;h/=10,p--);return p<0&&(p=0),p},i.dividedBy=i.div=function(o,l){return e(this,new v(o,l),c,s)},i.dividedToIntegerBy=i.idiv=function(o,l){return e(this,new v(o,l),0,1)},i.exponentiatedBy=i.pow=function(o,l){var u,p,h,g,b,m,y,w,x,k=this;if(o=new v(o),o.c&&!o.isInteger())throw Error(ye+"Exponent not an integer: "+A(o));if(l!=null&&(l=new v(l)),m=o.e>14,!k.c||!k.c[0]||k.c[0]==1&&!k.e&&k.c.length==1||!o.c||!o.c[0])return x=new v(Math.pow(+A(k),m?o.s*(2-Rt(o)):+A(o))),l?x.mod(l):x;if(y=o.s<0,l){if(l.c?!l.c[0]:!l.s)return new v(NaN);p=!y&&k.isInteger()&&l.isInteger(),p&&(k=k.mod(l))}else{if(o.e>9&&(k.e>0||k.e<-1||(k.e==0?k.c[0]>1||m&&k.c[1]>=24e7:k.c[0]<8e13||m&&k.c[0]<=9999975e7)))return g=k.s<0&&Rt(o)?-0:0,k.e>-1&&(g=1/g),new v(y?1/g:g);M&&(g=Jt(M/D+2))}for(m?(u=new v(.5),y&&(o.s=1),w=Rt(o)):(h=Math.abs(+A(o)),w=h%2),x=new v(a);;){if(w){if(x=x.times(k),!x.c)break;g?x.c.length>g&&(x.c.length=g):p&&(x=x.mod(l))}if(h){if(h=Le(h/2),h===0)break;w=h%2}else if(o=o.times(u),G(o,o.e+1,1),o.e>14)w=Rt(o);else{if(h=+A(o),h===0)break;w=h%2}k=k.times(k),g?k.c&&k.c.length>g&&(k.c.length=g):p&&(k=k.mod(l))}return p?x:(y&&(x=a.div(x)),l?x.mod(l):g?G(x,M,s,b):x)},i.integerValue=function(o){var l=new v(this);return o==null?o=s:oe(o,0,8),G(l,l.e+1,o)},i.isEqualTo=i.eq=function(o,l){return tt(this,new v(o,l))===0},i.isFinite=function(){return!!this.c},i.isGreaterThan=i.gt=function(o,l){return tt(this,new v(o,l))>0},i.isGreaterThanOrEqualTo=i.gte=function(o,l){return(l=tt(this,new v(o,l)))===1||l===0},i.isInteger=function(){return!!this.c&&Te(this.e/D)>this.c.length-2},i.isLessThan=i.lt=function(o,l){return tt(this,new v(o,l))<0},i.isLessThanOrEqualTo=i.lte=function(o,l){return(l=tt(this,new v(o,l)))===-1||l===0},i.isNaN=function(){return!this.s},i.isNegative=function(){return this.s<0},i.isPositive=function(){return this.s>0},i.isZero=function(){return!!this.c&&this.c[0]==0},i.minus=function(o,l){var u,p,h,g,b=this,m=b.s;if(o=new v(o,l),l=o.s,!m||!l)return new v(NaN);if(m!=l)return o.s=-l,b.plus(o);var y=b.e/D,w=o.e/D,x=b.c,k=o.c;if(!y||!w){if(!x||!k)return x?(o.s=-l,o):new v(k?b:NaN);if(!x[0]||!k[0])return k[0]?(o.s=-l,o):new v(x[0]?b:s==3?-0:0)}if(y=Te(y),w=Te(w),x=x.slice(),m=y-w){for((g=m<0)?(m=-m,h=x):(w=y,h=k),h.reverse(),l=m;l--;h.push(0));h.reverse()}else for(p=(g=(m=x.length)<(l=k.length))?m:l,m=l=0;l<p;l++)if(x[l]!=k[l]){g=x[l]<k[l];break}if(g&&(h=x,x=k,k=h,o.s=-o.s),l=(p=k.length)-(u=x.length),l>0)for(;l--;x[u++]=0);for(l=Ne-1;p>m;){if(x[--p]<k[p]){for(u=p;u&&!x[--u];x[u]=l);--x[u],x[p]+=Ne}x[p]-=k[p]}for(;x[0]==0;x.splice(0,1),--w);return x[0]?I(o,x,w):(o.s=s==3?-1:1,o.c=[o.e=0],o)},i.modulo=i.mod=function(o,l){var u,p,h=this;return o=new v(o,l),!h.c||!o.s||o.c&&!o.c[0]?new v(NaN):!o.c||h.c&&!h.c[0]?new v(h):(R==9?(p=o.s,o.s=1,u=e(h,o,0,3),o.s=p,u.s*=p):u=e(h,o,0,R),o=h.minus(u.times(o)),!o.c[0]&&R==1&&(o.s=h.s),o)},i.multipliedBy=i.times=function(o,l){var u,p,h,g,b,m,y,w,x,k,W,B,q,V,re,F=this,Z=F.c,ae=(o=new v(o,l)).c;if(!Z||!ae||!Z[0]||!ae[0])return!F.s||!o.s||Z&&!Z[0]&&!ae||ae&&!ae[0]&&!Z?o.c=o.e=o.s=null:(o.s*=F.s,!Z||!ae?o.c=o.e=null:(o.c=[0],o.e=0)),o;for(p=Te(F.e/D)+Te(o.e/D),o.s*=F.s,y=Z.length,k=ae.length,y<k&&(q=Z,Z=ae,ae=q,h=y,y=k,k=h),h=y+k,q=[];h--;q.push(0));for(V=Ne,re=Ze,h=k;--h>=0;){for(u=0,W=ae[h]%re,B=ae[h]/re|0,b=y,g=h+b;g>h;)w=Z[--b]%re,x=Z[b]/re|0,m=B*w+x*W,w=W*w+m%re*re+q[g]+u,u=(w/V|0)+(m/re|0)+B*x,q[g--]=w%V;q[g]=u}return u?++p:q.splice(0,1),I(o,q,p)},i.negated=function(){var o=new v(this);return o.s=-o.s||null,o},i.plus=function(o,l){var u,p=this,h=p.s;if(o=new v(o,l),l=o.s,!h||!l)return new v(NaN);if(h!=l)return o.s=-l,p.minus(o);var g=p.e/D,b=o.e/D,m=p.c,y=o.c;if(!g||!b){if(!m||!y)return new v(h/0);if(!m[0]||!y[0])return y[0]?o:new v(m[0]?p:h*0)}if(g=Te(g),b=Te(b),m=m.slice(),h=g-b){for(h>0?(b=g,u=y):(h=-h,u=m),u.reverse();h--;u.push(0));u.reverse()}for(h=m.length,l=y.length,h-l<0&&(u=y,y=m,m=u,l=h),h=0;l;)h=(m[--l]=m[l]+y[l]+h)/Ne|0,m[l]=Ne===m[l]?0:m[l]%Ne;return h&&(m=[h].concat(m),++b),I(o,m,b)},i.precision=i.sd=function(o,l){var u,p,h,g=this;if(o!=null&&o!==!!o)return oe(o,1,we),l==null?l=s:oe(l,0,8),G(new v(g),o,l);if(!(u=g.c))return null;if(h=u.length-1,p=h*D+1,h=u[h]){for(;h%10==0;h/=10,p--);for(h=u[0];h>=10;h/=10,p++);}return o&&g.e+1>p&&(p=g.e+1),p},i.shiftedBy=function(o){return oe(o,-9007199254740991,Gn),this.times("1e"+o)},i.squareRoot=i.sqrt=function(){var o,l,u,p,h,g=this,b=g.c,m=g.s,y=g.e,w=c+4,x=new v("0.5");if(m!==1||!b||!b[0])return new v(!m||m<0&&(!b||b[0])?NaN:b?g:1/0);if(m=Math.sqrt(+A(g)),m==0||m==1/0?(l=$e(b),(l.length+y)%2==0&&(l+="0"),m=Math.sqrt(+l),y=Te((y+1)/2)-(y<0||y%2),m==1/0?l="5e"+y:(l=m.toExponential(),l=l.slice(0,l.indexOf("e")+1)+y),u=new v(l)):u=new v(m+""),u.c[0]){for(y=u.e,m=y+w,m<3&&(m=0);;)if(h=u,u=x.times(h.plus(e(g,h,w,1))),$e(h.c).slice(0,m)===(l=$e(u.c)).slice(0,m))if(u.e<y&&--m,l=l.slice(m-3,m+1),l=="9999"||!p&&l=="4999"){if(!p&&(G(h,h.e+c+2,0),h.times(h).eq(g))){u=h;break}w+=4,m+=4,p=1}else{(!+l||!+l.slice(1)&&l.charAt(0)=="5")&&(G(u,u.e+c+2,1),o=!u.times(u).eq(g));break}}return G(u,u.e+c+1,s,o)},i.toExponential=function(o,l){return o!=null&&(oe(o,0,we),o++),O(this,o,l,1)},i.toFixed=function(o,l){return o!=null&&(oe(o,0,we),o=o+this.e+1),O(this,o,l)},i.toFormat=function(o,l,u){var p,h=this;if(u==null)o!=null&&l&&typeof l=="object"?(u=l,l=null):o&&typeof o=="object"?(u=o,o=l=null):u=P;else if(typeof u!="object")throw Error(ye+"Argument not an object: "+u);if(p=h.toFixed(o,l),h.c){var g,b=p.split("."),m=+u.groupSize,y=+u.secondaryGroupSize,w=u.groupSeparator||"",x=b[0],k=b[1],W=h.s<0,B=W?x.slice(1):x,q=B.length;if(y&&(g=m,m=y,y=g,q-=g),m>0&&q>0){for(g=q%m||m,x=B.substr(0,g);g<q;g+=m)x+=w+B.substr(g,m);y>0&&(x+=w+B.slice(g)),W&&(x="-"+x)}p=k?x+(u.decimalSeparator||"")+((y=+u.fractionGroupSize)?k.replace(new RegExp("\\d{"+y+"}\\B","g"),"$&"+(u.fractionGroupSeparator||"")):k):x}return(u.prefix||"")+p+(u.suffix||"")},i.toFraction=function(o){var l,u,p,h,g,b,m,y,w,x,k,W,B=this,q=B.c;if(o!=null&&(m=new v(o),!m.isInteger()&&(m.c||m.s!==1)||m.lt(a)))throw Error(ye+"Argument "+(m.isInteger()?"out of range: ":"not an integer: ")+A(m));if(!q)return new v(B);for(l=new v(a),w=u=new v(a),p=y=new v(a),W=$e(q),g=l.e=W.length-B.e-1,l.c[0]=en[(b=g%D)<0?D+b:b],o=!o||m.comparedTo(l)>0?g>0?l:w:m,b=E,E=1/0,m=new v(W),y.c[0]=0;x=e(m,l,0,1),h=u.plus(x.times(p)),h.comparedTo(o)!=1;)u=p,p=h,w=y.plus(x.times(h=w)),y=h,l=m.minus(x.times(h=l)),m=h;return h=e(o.minus(u),p,0,1),y=y.plus(h.times(w)),u=u.plus(h.times(p)),y.s=w.s=B.s,g=g*2,k=e(w,p,g,s).minus(B).abs().comparedTo(e(y,u,g,s).minus(B).abs())<1?[w,p]:[y,u],E=b,k},i.toNumber=function(){return+A(this)},i.toPrecision=function(o,l){return o!=null&&oe(o,1,we),O(this,o,l,2)},i.toString=function(o){var l,u=this,p=u.s,h=u.e;return h===null?p?(l="Infinity",p<0&&(l="-"+l)):l="NaN":(o==null?l=h<=f||h>=d?_t($e(u.c),h):ze($e(u.c),h,"0"):o===10&&T?(u=G(new v(u),c+h+1,s),l=ze($e(u.c),u.e,"0")):(oe(o,2,C.length,"Base"),l=t(ze($e(u.c),h,"0"),10,o,p,!0)),p<0&&u.c[0]&&(l="-"+l)),l},i.valueOf=i.toJSON=function(){return A(this)},i._isBigNumber=!0,i[Symbol.toStringTag]="BigNumber",i[Symbol.for("nodejs.util.inspect.custom")]=i.valueOf,n!=null&&v.set(n),v}function Te(n){var e=n|0;return n>0||n===e?e:e-1}function $e(n){for(var e,t,r=1,i=n.length,a=n[0]+"";r<i;){for(e=n[r++]+"",t=D-e.length;t--;e="0"+e);a+=e}for(i=a.length;a.charCodeAt(--i)===48;);return a.slice(0,i+1||1)}function tt(n,e){var t,r,i=n.c,a=e.c,c=n.s,s=e.s,f=n.e,d=e.e;if(!c||!s)return null;if(t=i&&!i[0],r=a&&!a[0],t||r)return t?r?0:-s:c;if(c!=s)return c;if(t=c<0,r=f==d,!i||!a)return r?0:!i^t?1:-1;if(!r)return f>d^t?1:-1;for(s=(f=i.length)<(d=a.length)?f:d,c=0;c<s;c++)if(i[c]!=a[c])return i[c]>a[c]^t?1:-1;return f==d?0:f>d^t?1:-1}function oe(n,e,t,r){if(n<e||n>t||n!==Le(n))throw Error(ye+(r||"Argument")+(typeof n=="number"?n<e||n>t?" out of range: ":" not an integer: ":" not a primitive number: ")+String(n))}function Rt(n){var e=n.c.length-1;return Te(n.e/D)==e&&n.c[e]%2!=0}function _t(n,e){return(n.length>1?n.charAt(0)+"."+n.slice(1):n)+(e<0?"e":"e+")+e}function ze(n,e,t){var r,i;if(e<0){for(i=t+".";++e;i+=t);n=i+n}else if(r=n.length,++e>r){for(i=t,e-=r;--e;i+=t);n+=i}else e<r&&(n=n.slice(0,e)+"."+n.slice(e));return n}var We=cr(),Ji=class{constructor(n){_(this,"key"),_(this,"left",null),_(this,"right",null),this.key=n}},pt=class extends Ji{constructor(n){super(n)}},eo=class{constructor(){_(this,"size",0),_(this,"modificationCount",0),_(this,"splayCount",0)}splay(n){const e=this.root;if(e==null)return this.compare(n,n),-1;let t=null,r=null,i=null,a=null,c=e;const s=this.compare;let f;for(;;)if(f=s(c.key,n),f>0){let d=c.left;if(d==null||(f=s(d.key,n),f>0&&(c.left=d.right,d.right=c,c=d,d=c.left,d==null)))break;t==null?r=c:t.left=c,t=c,c=d}else if(f<0){let d=c.right;if(d==null||(f=s(d.key,n),f<0&&(c.right=d.left,d.left=c,c=d,d=c.right,d==null)))break;i==null?a=c:i.right=c,i=c,c=d}else break;return i!=null&&(i.right=c.left,c.left=a),t!=null&&(t.left=c.right,c.right=r),this.root!==c&&(this.root=c,this.splayCount++),f}splayMin(n){let e=n,t=e.left;for(;t!=null;){const r=t;e.left=r.right,r.right=e,e=r,t=e.left}return e}splayMax(n){let e=n,t=e.right;for(;t!=null;){const r=t;e.right=r.left,r.left=e,e=r,t=e.right}return e}_delete(n){if(this.root==null||this.splay(n)!=0)return null;let e=this.root;const t=e,r=e.left;if(this.size--,r==null)this.root=e.right;else{const i=e.right;e=this.splayMax(r),e.right=i,this.root=e}return this.modificationCount++,t}addNewRoot(n,e){this.size++,this.modificationCount++;const t=this.root;if(t==null){this.root=n;return}e<0?(n.left=t,n.right=t.right,t.right=null):(n.right=t,n.left=t.left,t.left=null),this.root=n}_first(){const n=this.root;return n==null?null:(this.root=this.splayMin(n),this.root)}_last(){const n=this.root;return n==null?null:(this.root=this.splayMax(n),this.root)}clear(){this.root=null,this.size=0,this.modificationCount++}has(n){return this.validKey(n)&&this.splay(n)==0}defaultCompare(){return(n,e)=>n<e?-1:n>e?1:0}wrap(){return{getRoot:()=>this.root,setRoot:n=>{this.root=n},getSize:()=>this.size,getModificationCount:()=>this.modificationCount,getSplayCount:()=>this.splayCount,setSplayCount:n=>{this.splayCount=n},splay:n=>this.splay(n),has:n=>this.has(n)}}},zn,Un,Gt=class bt extends eo{constructor(e,t){super(),_(this,"root",null),_(this,"compare"),_(this,"validKey"),_(this,zn,"[object Set]"),this.compare=e??this.defaultCompare(),this.validKey=t??(r=>r!=null&&r!=null)}delete(e){return this.validKey(e)?this._delete(e)!=null:!1}deleteAll(e){for(const t of e)this.delete(t)}forEach(e){const t=this[Symbol.iterator]();let r;for(;r=t.next(),!r.done;)e(r.value,r.value,this)}add(e){const t=this.splay(e);return t!=0&&this.addNewRoot(new pt(e),t),this}addAndReturn(e){const t=this.splay(e);return t!=0&&this.addNewRoot(new pt(e),t),this.root.key}addAll(e){for(const t of e)this.add(t)}isEmpty(){return this.root==null}isNotEmpty(){return this.root!=null}single(){if(this.size==0)throw"Bad state: No element";if(this.size>1)throw"Bad state: Too many element";return this.root.key}first(){if(this.size==0)throw"Bad state: No element";return this._first().key}last(){if(this.size==0)throw"Bad state: No element";return this._last().key}lastBefore(e){if(e==null)throw"Invalid arguments(s)";if(this.root==null)return null;if(this.splay(e)<0)return this.root.key;let t=this.root.left;if(t==null)return null;let r=t.right;for(;r!=null;)t=r,r=t.right;return t.key}firstAfter(e){if(e==null)throw"Invalid arguments(s)";if(this.root==null)return null;if(this.splay(e)>0)return this.root.key;let t=this.root.right;if(t==null)return null;let r=t.left;for(;r!=null;)t=r,r=t.left;return t.key}retainAll(e){const t=new bt(this.compare,this.validKey),r=this.modificationCount;for(const i of e){if(r!=this.modificationCount)throw"Concurrent modification during iteration.";this.validKey(i)&&this.splay(i)==0&&t.add(this.root.key)}t.size!=this.size&&(this.root=t.root,this.size=t.size,this.modificationCount++)}lookup(e){return!this.validKey(e)||this.splay(e)!=0?null:this.root.key}intersection(e){const t=new bt(this.compare,this.validKey);for(const r of this)e.has(r)&&t.add(r);return t}difference(e){const t=new bt(this.compare,this.validKey);for(const r of this)e.has(r)||t.add(r);return t}union(e){const t=this.clone();return t.addAll(e),t}clone(){const e=new bt(this.compare,this.validKey);return e.size=this.size,e.root=this.copyNode(this.root),e}copyNode(e){if(e==null)return null;function t(i,a){let c,s;do{if(c=i.left,s=i.right,c!=null){const f=new pt(c.key);a.left=f,t(c,f)}if(s!=null){const f=new pt(s.key);a.right=f,i=s,a=f}}while(s!=null)}const r=new pt(e.key);return t(e,r),r}toSet(){return this.clone()}entries(){return new no(this.wrap())}keys(){return this[Symbol.iterator]()}values(){return this[Symbol.iterator]()}[(Un=Symbol.iterator,zn=Symbol.toStringTag,Un)](){return new to(this.wrap())}},dr=class{constructor(n){_(this,"tree"),_(this,"path",new Array),_(this,"modificationCount",null),_(this,"splayCount"),this.tree=n,this.splayCount=n.getSplayCount()}[Symbol.iterator](){return this}next(){return this.moveNext()?{done:!1,value:this.current()}:{done:!0,value:null}}current(){if(!this.path.length)return null;const n=this.path[this.path.length-1];return this.getValue(n)}rebuildPath(n){this.path.splice(0,this.path.length),this.tree.splay(n),this.path.push(this.tree.getRoot()),this.splayCount=this.tree.getSplayCount()}findLeftMostDescendent(n){for(;n!=null;)this.path.push(n),n=n.left}moveNext(){if(this.modificationCount!=this.tree.getModificationCount()){if(this.modificationCount==null){this.modificationCount=this.tree.getModificationCount();let t=this.tree.getRoot();for(;t!=null;)this.path.push(t),t=t.left;return this.path.length>0}throw"Concurrent modification during iteration."}if(!this.path.length)return!1;this.splayCount!=this.tree.getSplayCount()&&this.rebuildPath(this.path[this.path.length-1].key);let n=this.path[this.path.length-1],e=n.right;if(e!=null){for(;e!=null;)this.path.push(e),e=e.left;return!0}for(this.path.pop();this.path.length&&this.path[this.path.length-1].right===n;)n=this.path.pop();return this.path.length>0}},to=class extends dr{getValue(n){return n.key}},no=class extends dr{getValue(n){return[n.key,n.key]}},hr=n=>()=>n,sn=n=>{const e=n?(t,r)=>r.minus(t).abs().isLessThanOrEqualTo(n):hr(!1);return(t,r)=>e(t,r)?0:t.comparedTo(r)};function ro(n){const e=n?(t,r,i,a,c)=>t.exponentiatedBy(2).isLessThanOrEqualTo(a.minus(r).exponentiatedBy(2).plus(c.minus(i).exponentiatedBy(2)).times(n)):hr(!1);return(t,r,i)=>{const a=t.x,c=t.y,s=i.x,f=i.y,d=c.minus(f).times(r.x.minus(s)).minus(a.minus(s).times(r.y.minus(f)));return e(d,a,c,s,f)?0:d.comparedTo(0)}}var io=n=>n,oo=n=>{if(n){const e=new Gt(sn(n)),t=new Gt(sn(n)),r=(a,c)=>c.addAndReturn(a),i=a=>({x:r(a.x,e),y:r(a.y,t)});return i({x:new We(0),y:new We(0)}),i}return io},ln=n=>({set:e=>{Fe=ln(e)},reset:()=>ln(n),compare:sn(n),snap:oo(n),orient:ro(n)}),Fe=ln(),mt=(n,e)=>n.ll.x.isLessThanOrEqualTo(e.x)&&e.x.isLessThanOrEqualTo(n.ur.x)&&n.ll.y.isLessThanOrEqualTo(e.y)&&e.y.isLessThanOrEqualTo(n.ur.y),an=(n,e)=>{if(e.ur.x.isLessThan(n.ll.x)||n.ur.x.isLessThan(e.ll.x)||e.ur.y.isLessThan(n.ll.y)||n.ur.y.isLessThan(e.ll.y))return null;const t=n.ll.x.isLessThan(e.ll.x)?e.ll.x:n.ll.x,r=n.ur.x.isLessThan(e.ur.x)?n.ur.x:e.ur.x,i=n.ll.y.isLessThan(e.ll.y)?e.ll.y:n.ll.y,a=n.ur.y.isLessThan(e.ur.y)?n.ur.y:e.ur.y;return{ll:{x:t,y:i},ur:{x:r,y:a}}},It=(n,e)=>n.x.times(e.y).minus(n.y.times(e.x)),fr=(n,e)=>n.x.times(e.x).plus(n.y.times(e.y)),zt=n=>fr(n,n).sqrt(),so=(n,e,t)=>{const r={x:e.x.minus(n.x),y:e.y.minus(n.y)},i={x:t.x.minus(n.x),y:t.y.minus(n.y)};return It(i,r).div(zt(i)).div(zt(r))},lo=(n,e,t)=>{const r={x:e.x.minus(n.x),y:e.y.minus(n.y)},i={x:t.x.minus(n.x),y:t.y.minus(n.y)};return fr(i,r).div(zt(i)).div(zt(r))},Dn=(n,e,t)=>e.y.isZero()?null:{x:n.x.plus(e.x.div(e.y).times(t.minus(n.y))),y:t},Fn=(n,e,t)=>e.x.isZero()?null:{x:t,y:n.y.plus(e.y.div(e.x).times(t.minus(n.x)))},ao=(n,e,t,r)=>{if(e.x.isZero())return Fn(t,r,n.x);if(r.x.isZero())return Fn(n,e,t.x);if(e.y.isZero())return Dn(t,r,n.y);if(r.y.isZero())return Dn(n,e,t.y);const i=It(e,r);if(i.isZero())return null;const a={x:t.x.minus(n.x),y:t.y.minus(n.y)},c=It(a,e).div(i),s=It(a,r).div(i),f=n.x.plus(s.times(e.x)),d=t.x.plus(c.times(r.x)),$=n.y.plus(s.times(e.y)),E=t.y.plus(c.times(r.y)),N=f.plus(d).div(2),R=$.plus(E).div(2);return{x:N,y:R}},Oe=class gr{constructor(e,t){_(this,"point"),_(this,"isLeft"),_(this,"segment"),_(this,"otherSE"),_(this,"consumedBy"),e.events===void 0?e.events=[this]:e.events.push(this),this.point=e,this.isLeft=t}static compare(e,t){const r=gr.comparePoints(e.point,t.point);return r!==0?r:(e.point!==t.point&&e.link(t),e.isLeft!==t.isLeft?e.isLeft?1:-1:Dt.compare(e.segment,t.segment))}static comparePoints(e,t){return e.x.isLessThan(t.x)?-1:e.x.isGreaterThan(t.x)?1:e.y.isLessThan(t.y)?-1:e.y.isGreaterThan(t.y)?1:0}link(e){if(e.point===this.point)throw new Error("Tried to link already linked events");const t=e.point.events;for(let r=0,i=t.length;r<i;r++){const a=t[r];this.point.events.push(a),a.point=this.point}this.checkForConsuming()}checkForConsuming(){const e=this.point.events.length;for(let t=0;t<e;t++){const r=this.point.events[t];if(r.segment.consumedBy===void 0)for(let i=t+1;i<e;i++){const a=this.point.events[i];a.consumedBy===void 0&&r.otherSE.point.events===a.otherSE.point.events&&r.segment.consume(a.segment)}}}getAvailableLinkedEvents(){const e=[];for(let t=0,r=this.point.events.length;t<r;t++){const i=this.point.events[t];i!==this&&!i.segment.ringOut&&i.segment.isInResult()&&e.push(i)}return e}getLeftmostComparator(e){const t=new Map,r=i=>{const a=i.otherSE;t.set(i,{sine:so(this.point,e.point,a.point),cosine:lo(this.point,e.point,a.point)})};return(i,a)=>{t.has(i)||r(i),t.has(a)||r(a);const{sine:c,cosine:s}=t.get(i),{sine:f,cosine:d}=t.get(a);return c.isGreaterThanOrEqualTo(0)&&f.isGreaterThanOrEqualTo(0)?s.isLessThan(d)?1:s.isGreaterThan(d)?-1:0:c.isLessThan(0)&&f.isLessThan(0)?s.isLessThan(d)?-1:s.isGreaterThan(d)?1:0:f.isLessThan(c)?-1:f.isGreaterThan(c)?1:0}}},uo=class un{constructor(e){_(this,"events"),_(this,"poly"),_(this,"_isExteriorRing"),_(this,"_enclosingRing"),this.events=e;for(let t=0,r=e.length;t<r;t++)e[t].segment.ringOut=this;this.poly=null}static factory(e){const t=[];for(let r=0,i=e.length;r<i;r++){const a=e[r];if(!a.isInResult()||a.ringOut)continue;let c=null,s=a.leftSE,f=a.rightSE;const d=[s],$=s.point,E=[];for(;c=s,s=f,d.push(s),s.point!==$;)for(;;){const N=s.getAvailableLinkedEvents();if(N.length===0){const P=d[0].point,C=d[d.length-1].point;throw new Error(`Unable to complete output ring starting at [${P.x}, ${P.y}]. Last matching segment found ends at [${C.x}, ${C.y}].`)}if(N.length===1){f=N[0].otherSE;break}let R=null;for(let P=0,C=E.length;P<C;P++)if(E[P].point===s.point){R=P;break}if(R!==null){const P=E.splice(R)[0],C=d.splice(P.index);C.unshift(C[0].otherSE),t.push(new un(C.reverse()));continue}E.push({index:d.length,point:s.point});const M=s.getLeftmostComparator(c);f=N.sort(M)[0].otherSE;break}t.push(new un(d))}return t}getGeom(){let e=this.events[0].point;const t=[e];for(let d=1,$=this.events.length-1;d<$;d++){const E=this.events[d].point,N=this.events[d+1].point;Fe.orient(E,e,N)!==0&&(t.push(E),e=E)}if(t.length===1)return null;const r=t[0],i=t[1];Fe.orient(r,e,i)===0&&t.shift(),t.push(t[0]);const a=this.isExteriorRing()?1:-1,c=this.isExteriorRing()?0:t.length-1,s=this.isExteriorRing()?t.length:-1,f=[];for(let d=c;d!=s;d+=a)f.push([t[d].x.toNumber(),t[d].y.toNumber()]);return f}isExteriorRing(){if(this._isExteriorRing===void 0){const e=this.enclosingRing();this._isExteriorRing=e?!e.isExteriorRing():!0}return this._isExteriorRing}enclosingRing(){return this._enclosingRing===void 0&&(this._enclosingRing=this._calcEnclosingRing()),this._enclosingRing}_calcEnclosingRing(){var e,t;let r=this.events[0];for(let c=1,s=this.events.length;c<s;c++){const f=this.events[c];Oe.compare(r,f)>0&&(r=f)}let i=r.segment.prevInResult(),a=i?i.prevInResult():null;for(;;){if(!i)return null;if(!a)return i.ringOut;if(a.ringOut!==i.ringOut)return((e=a.ringOut)==null?void 0:e.enclosingRing())!==i.ringOut?i.ringOut:(t=i.ringOut)==null?void 0:t.enclosingRing();i=a.prevInResult(),a=i?i.prevInResult():null}}},qn=class{constructor(n){_(this,"exteriorRing"),_(this,"interiorRings"),this.exteriorRing=n,n.poly=this,this.interiorRings=[]}addInterior(n){this.interiorRings.push(n),n.poly=this}getGeom(){const n=this.exteriorRing.getGeom();if(n===null)return null;const e=[n];for(let t=0,r=this.interiorRings.length;t<r;t++){const i=this.interiorRings[t].getGeom();i!==null&&e.push(i)}return e}},co=class{constructor(n){_(this,"rings"),_(this,"polys"),this.rings=n,this.polys=this._composePolys(n)}getGeom(){const n=[];for(let e=0,t=this.polys.length;e<t;e++){const r=this.polys[e].getGeom();r!==null&&n.push(r)}return n}_composePolys(n){var e;const t=[];for(let r=0,i=n.length;r<i;r++){const a=n[r];if(!a.poly)if(a.isExteriorRing())t.push(new qn(a));else{const c=a.enclosingRing();c!=null&&c.poly||t.push(new qn(c)),(e=c?.poly)==null||e.addInterior(a)}}return t}},ho=class{constructor(n,e=Dt.compare){_(this,"queue"),_(this,"tree"),_(this,"segments"),this.queue=n,this.tree=new Gt(e),this.segments=[]}process(n){const e=n.segment,t=[];if(n.consumedBy)return n.isLeft?this.queue.delete(n.otherSE):this.tree.delete(e),t;n.isLeft&&this.tree.add(e);let r=e,i=e;do r=this.tree.lastBefore(r);while(r!=null&&r.consumedBy!=null);do i=this.tree.firstAfter(i);while(i!=null&&i.consumedBy!=null);if(n.isLeft){let a=null;if(r){const s=r.getIntersection(e);if(s!==null&&(e.isAnEndpoint(s)||(a=s),!r.isAnEndpoint(s))){const f=this._splitSafely(r,s);for(let d=0,$=f.length;d<$;d++)t.push(f[d])}}let c=null;if(i){const s=i.getIntersection(e);if(s!==null&&(e.isAnEndpoint(s)||(c=s),!i.isAnEndpoint(s))){const f=this._splitSafely(i,s);for(let d=0,$=f.length;d<$;d++)t.push(f[d])}}if(a!==null||c!==null){let s=null;a===null?s=c:c===null?s=a:s=Oe.comparePoints(a,c)<=0?a:c,this.queue.delete(e.rightSE),t.push(e.rightSE);const f=e.split(s);for(let d=0,$=f.length;d<$;d++)t.push(f[d])}t.length>0?(this.tree.delete(e),t.push(n)):(this.segments.push(e),e.prev=r)}else{if(r&&i){const a=r.getIntersection(i);if(a!==null){if(!r.isAnEndpoint(a)){const c=this._splitSafely(r,a);for(let s=0,f=c.length;s<f;s++)t.push(c[s])}if(!i.isAnEndpoint(a)){const c=this._splitSafely(i,a);for(let s=0,f=c.length;s<f;s++)t.push(c[s])}}}this.tree.delete(e)}return t}_splitSafely(n,e){this.tree.delete(n);const t=n.rightSE;this.queue.delete(t);const r=n.split(e);return r.push(t),n.consumedBy===void 0&&this.tree.add(n),r}},fo=class{constructor(){_(this,"type"),_(this,"numMultiPolys")}run(n,e,t){wt.type=n;const r=[new Hn(e,!0)];for(let f=0,d=t.length;f<d;f++)r.push(new Hn(t[f],!1));if(wt.numMultiPolys=r.length,wt.type==="difference"){const f=r[0];let d=1;for(;d<r.length;)an(r[d].bbox,f.bbox)!==null?d++:r.splice(d,1)}if(wt.type==="intersection")for(let f=0,d=r.length;f<d;f++){const $=r[f];for(let E=f+1,N=r.length;E<N;E++)if(an($.bbox,r[E].bbox)===null)return[]}const i=new Gt(Oe.compare);for(let f=0,d=r.length;f<d;f++){const $=r[f].getSweepEvents();for(let E=0,N=$.length;E<N;E++)i.add($[E])}const a=new ho(i);let c=null;for(i.size!=0&&(c=i.first(),i.delete(c));c;){const f=a.process(c);for(let d=0,$=f.length;d<$;d++){const E=f[d];E.consumedBy===void 0&&i.add(E)}i.size!=0?(c=i.first(),i.delete(c)):c=null}Fe.reset();const s=uo.factory(a.segments);return new co(s).getGeom()}},wt=new fo,Ut=wt,go=0,Dt=class At{constructor(e,t,r,i){_(this,"id"),_(this,"leftSE"),_(this,"rightSE"),_(this,"rings"),_(this,"windings"),_(this,"ringOut"),_(this,"consumedBy"),_(this,"prev"),_(this,"_prevInResult"),_(this,"_beforeState"),_(this,"_afterState"),_(this,"_isInResult"),this.id=++go,this.leftSE=e,e.segment=this,e.otherSE=t,this.rightSE=t,t.segment=this,t.otherSE=e,this.rings=r,this.windings=i}static compare(e,t){const r=e.leftSE.point.x,i=t.leftSE.point.x,a=e.rightSE.point.x,c=t.rightSE.point.x;if(c.isLessThan(r))return 1;if(a.isLessThan(i))return-1;const s=e.leftSE.point.y,f=t.leftSE.point.y,d=e.rightSE.point.y,$=t.rightSE.point.y;if(r.isLessThan(i)){if(f.isLessThan(s)&&f.isLessThan(d))return 1;if(f.isGreaterThan(s)&&f.isGreaterThan(d))return-1;const E=e.comparePoint(t.leftSE.point);if(E<0)return 1;if(E>0)return-1;const N=t.comparePoint(e.rightSE.point);return N!==0?N:-1}if(r.isGreaterThan(i)){if(s.isLessThan(f)&&s.isLessThan($))return-1;if(s.isGreaterThan(f)&&s.isGreaterThan($))return 1;const E=t.comparePoint(e.leftSE.point);if(E!==0)return E;const N=e.comparePoint(t.rightSE.point);return N<0?1:N>0?-1:1}if(s.isLessThan(f))return-1;if(s.isGreaterThan(f))return 1;if(a.isLessThan(c)){const E=t.comparePoint(e.rightSE.point);if(E!==0)return E}if(a.isGreaterThan(c)){const E=e.comparePoint(t.rightSE.point);if(E<0)return 1;if(E>0)return-1}if(!a.eq(c)){const E=d.minus(s),N=a.minus(r),R=$.minus(f),M=c.minus(i);if(E.isGreaterThan(N)&&R.isLessThan(M))return 1;if(E.isLessThan(N)&&R.isGreaterThan(M))return-1}return a.isGreaterThan(c)?1:a.isLessThan(c)||d.isLessThan($)?-1:d.isGreaterThan($)?1:e.id<t.id?-1:e.id>t.id?1:0}static fromRing(e,t,r){let i,a,c;const s=Oe.comparePoints(e,t);if(s<0)i=e,a=t,c=1;else if(s>0)i=t,a=e,c=-1;else throw new Error(`Tried to create degenerate segment at [${e.x}, ${e.y}]`);const f=new Oe(i,!0),d=new Oe(a,!1);return new At(f,d,[r],[c])}replaceRightSE(e){this.rightSE=e,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}bbox(){const e=this.leftSE.point.y,t=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:e.isLessThan(t)?e:t},ur:{x:this.rightSE.point.x,y:e.isGreaterThan(t)?e:t}}}vector(){return{x:this.rightSE.point.x.minus(this.leftSE.point.x),y:this.rightSE.point.y.minus(this.leftSE.point.y)}}isAnEndpoint(e){return e.x.eq(this.leftSE.point.x)&&e.y.eq(this.leftSE.point.y)||e.x.eq(this.rightSE.point.x)&&e.y.eq(this.rightSE.point.y)}comparePoint(e){return Fe.orient(this.leftSE.point,e,this.rightSE.point)}getIntersection(e){const t=this.bbox(),r=e.bbox(),i=an(t,r);if(i===null)return null;const a=this.leftSE.point,c=this.rightSE.point,s=e.leftSE.point,f=e.rightSE.point,d=mt(t,s)&&this.comparePoint(s)===0,$=mt(r,a)&&e.comparePoint(a)===0,E=mt(t,f)&&this.comparePoint(f)===0,N=mt(r,c)&&e.comparePoint(c)===0;if($&&d)return N&&!E?c:!N&&E?f:null;if($)return E&&a.x.eq(f.x)&&a.y.eq(f.y)?null:a;if(d)return N&&c.x.eq(s.x)&&c.y.eq(s.y)?null:s;if(N&&E)return null;if(N)return c;if(E)return f;const R=ao(a,this.vector(),s,e.vector());return R===null||!mt(i,R)?null:Fe.snap(R)}split(e){const t=[],r=e.events!==void 0,i=new Oe(e,!0),a=new Oe(e,!1),c=this.rightSE;this.replaceRightSE(a),t.push(a),t.push(i);const s=new At(i,c,this.rings.slice(),this.windings.slice());return Oe.comparePoints(s.leftSE.point,s.rightSE.point)>0&&s.swapEvents(),Oe.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),r&&(i.checkForConsuming(),a.checkForConsuming()),t}swapEvents(){const e=this.rightSE;this.rightSE=this.leftSE,this.leftSE=e,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(let t=0,r=this.windings.length;t<r;t++)this.windings[t]*=-1}consume(e){let t=this,r=e;for(;t.consumedBy;)t=t.consumedBy;for(;r.consumedBy;)r=r.consumedBy;const i=At.compare(t,r);if(i!==0){if(i>0){const a=t;t=r,r=a}if(t.prev===r){const a=t;t=r,r=a}for(let a=0,c=r.rings.length;a<c;a++){const s=r.rings[a],f=r.windings[a],d=t.rings.indexOf(s);d===-1?(t.rings.push(s),t.windings.push(f)):t.windings[d]+=f}r.rings=null,r.windings=null,r.consumedBy=t,r.leftSE.consumedBy=t.leftSE,r.rightSE.consumedBy=t.rightSE}}prevInResult(){return this._prevInResult!==void 0?this._prevInResult:(this.prev?this.prev.isInResult()?this._prevInResult=this.prev:this._prevInResult=this.prev.prevInResult():this._prevInResult=null,this._prevInResult)}beforeState(){if(this._beforeState!==void 0)return this._beforeState;if(!this.prev)this._beforeState={rings:[],windings:[],multiPolys:[]};else{const e=this.prev.consumedBy||this.prev;this._beforeState=e.afterState()}return this._beforeState}afterState(){if(this._afterState!==void 0)return this._afterState;const e=this.beforeState();this._afterState={rings:e.rings.slice(0),windings:e.windings.slice(0),multiPolys:[]};const t=this._afterState.rings,r=this._afterState.windings,i=this._afterState.multiPolys;for(let s=0,f=this.rings.length;s<f;s++){const d=this.rings[s],$=this.windings[s],E=t.indexOf(d);E===-1?(t.push(d),r.push($)):r[E]+=$}const a=[],c=[];for(let s=0,f=t.length;s<f;s++){if(r[s]===0)continue;const d=t[s],$=d.poly;if(c.indexOf($)===-1)if(d.isExterior)a.push($);else{c.indexOf($)===-1&&c.push($);const E=a.indexOf(d.poly);E!==-1&&a.splice(E,1)}}for(let s=0,f=a.length;s<f;s++){const d=a[s].multiPoly;i.indexOf(d)===-1&&i.push(d)}return this._afterState}isInResult(){if(this.consumedBy)return!1;if(this._isInResult!==void 0)return this._isInResult;const e=this.beforeState().multiPolys,t=this.afterState().multiPolys;switch(Ut.type){case"union":{const r=e.length===0,i=t.length===0;this._isInResult=r!==i;break}case"intersection":{let r,i;e.length<t.length?(r=e.length,i=t.length):(r=t.length,i=e.length),this._isInResult=i===Ut.numMultiPolys&&r<i;break}case"xor":{const r=Math.abs(e.length-t.length);this._isInResult=r%2===1;break}case"difference":{const r=i=>i.length===1&&i[0].isSubject;this._isInResult=r(e)!==r(t);break}}return this._isInResult}},jn=class{constructor(n,e,t){if(_(this,"poly"),_(this,"isExterior"),_(this,"segments"),_(this,"bbox"),!Array.isArray(n)||n.length===0)throw new Error("Input geometry is not a valid Polygon or MultiPolygon");if(this.poly=e,this.isExterior=t,this.segments=[],typeof n[0][0]!="number"||typeof n[0][1]!="number")throw new Error("Input geometry is not a valid Polygon or MultiPolygon");const r=Fe.snap({x:new We(n[0][0]),y:new We(n[0][1])});this.bbox={ll:{x:r.x,y:r.y},ur:{x:r.x,y:r.y}};let i=r;for(let a=1,c=n.length;a<c;a++){if(typeof n[a][0]!="number"||typeof n[a][1]!="number")throw new Error("Input geometry is not a valid Polygon or MultiPolygon");const s=Fe.snap({x:new We(n[a][0]),y:new We(n[a][1])});s.x.eq(i.x)&&s.y.eq(i.y)||(this.segments.push(Dt.fromRing(i,s,this)),s.x.isLessThan(this.bbox.ll.x)&&(this.bbox.ll.x=s.x),s.y.isLessThan(this.bbox.ll.y)&&(this.bbox.ll.y=s.y),s.x.isGreaterThan(this.bbox.ur.x)&&(this.bbox.ur.x=s.x),s.y.isGreaterThan(this.bbox.ur.y)&&(this.bbox.ur.y=s.y),i=s)}(!r.x.eq(i.x)||!r.y.eq(i.y))&&this.segments.push(Dt.fromRing(i,r,this))}getSweepEvents(){const n=[];for(let e=0,t=this.segments.length;e<t;e++){const r=this.segments[e];n.push(r.leftSE),n.push(r.rightSE)}return n}},po=class{constructor(n,e){if(_(this,"multiPoly"),_(this,"exteriorRing"),_(this,"interiorRings"),_(this,"bbox"),!Array.isArray(n))throw new Error("Input geometry is not a valid Polygon or MultiPolygon");this.exteriorRing=new jn(n[0],this,!0),this.bbox={ll:{x:this.exteriorRing.bbox.ll.x,y:this.exteriorRing.bbox.ll.y},ur:{x:this.exteriorRing.bbox.ur.x,y:this.exteriorRing.bbox.ur.y}},this.interiorRings=[];for(let t=1,r=n.length;t<r;t++){const i=new jn(n[t],this,!1);i.bbox.ll.x.isLessThan(this.bbox.ll.x)&&(this.bbox.ll.x=i.bbox.ll.x),i.bbox.ll.y.isLessThan(this.bbox.ll.y)&&(this.bbox.ll.y=i.bbox.ll.y),i.bbox.ur.x.isGreaterThan(this.bbox.ur.x)&&(this.bbox.ur.x=i.bbox.ur.x),i.bbox.ur.y.isGreaterThan(this.bbox.ur.y)&&(this.bbox.ur.y=i.bbox.ur.y),this.interiorRings.push(i)}this.multiPoly=e}getSweepEvents(){const n=this.exteriorRing.getSweepEvents();for(let e=0,t=this.interiorRings.length;e<t;e++){const r=this.interiorRings[e].getSweepEvents();for(let i=0,a=r.length;i<a;i++)n.push(r[i])}return n}},Hn=class{constructor(n,e){if(_(this,"isSubject"),_(this,"polys"),_(this,"bbox"),!Array.isArray(n))throw new Error("Input geometry is not a valid Polygon or MultiPolygon");try{typeof n[0][0][0]=="number"&&(n=[n])}catch{}this.polys=[],this.bbox={ll:{x:new We(Number.POSITIVE_INFINITY),y:new We(Number.POSITIVE_INFINITY)},ur:{x:new We(Number.NEGATIVE_INFINITY),y:new We(Number.NEGATIVE_INFINITY)}};for(let t=0,r=n.length;t<r;t++){const i=new po(n[t],this);i.bbox.ll.x.isLessThan(this.bbox.ll.x)&&(this.bbox.ll.x=i.bbox.ll.x),i.bbox.ll.y.isLessThan(this.bbox.ll.y)&&(this.bbox.ll.y=i.bbox.ll.y),i.bbox.ur.x.isGreaterThan(this.bbox.ur.x)&&(this.bbox.ur.x=i.bbox.ur.x),i.bbox.ur.y.isGreaterThan(this.bbox.ur.y)&&(this.bbox.ur.y=i.bbox.ur.y),this.polys.push(i)}this.isSubject=e}getSweepEvents(){const n=[];for(let e=0,t=this.polys.length;e<t;e++){const r=this.polys[e].getSweepEvents();for(let i=0,a=r.length;i<a;i++)n.push(r[i])}return n}},mo=(n,...e)=>Ut.run("union",n,e),yo=(n,...e)=>Ut.run("difference",n,e);Fe.set;function pr(n,e,t){if(n!==null)for(var r,i,a,c,s,f,d,$=0,E=0,N,R=n.type,M=R==="FeatureCollection",P=R==="Feature",C=M?n.features.length:1,T=0;T<C;T++){d=M?n.features[T].geometry:P?n.geometry:n,N=d?d.type==="GeometryCollection":!1,s=N?d.geometries.length:1;for(var v=0;v<s;v++){var O=0,U=0;if(c=N?d.geometries[v]:d,c!==null){f=c.coordinates;var I=c.type;switch($=0,I){case null:break;case"Point":if(e(f,E,T,O,U)===!1)return!1;E++,O++;break;case"LineString":case"MultiPoint":for(r=0;r<f.length;r++){if(e(f[r],E,T,O,U)===!1)return!1;E++,I==="MultiPoint"&&O++}I==="LineString"&&O++;break;case"Polygon":case"MultiLineString":for(r=0;r<f.length;r++){for(i=0;i<f[r].length-$;i++){if(e(f[r][i],E,T,O,U)===!1)return!1;E++}I==="MultiLineString"&&O++,I==="Polygon"&&U++}I==="Polygon"&&O++;break;case"MultiPolygon":for(r=0;r<f.length;r++){for(U=0,i=0;i<f[r].length;i++){for(a=0;a<f[r][i].length-$;a++){if(e(f[r][i][a],E,T,O,U)===!1)return!1;E++}U++}O++}break;case"GeometryCollection":for(r=0;r<c.geometries.length;r++)if(pr(c.geometries[r],e)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function hn(n,e){var t,r,i,a,c,s,f,d,$,E,N=0,R=n.type==="FeatureCollection",M=n.type==="Feature",P=R?n.features.length:1;for(t=0;t<P;t++){for(s=R?n.features[t].geometry:M?n.geometry:n,d=R?n.features[t].properties:M?n.properties:{},$=R?n.features[t].bbox:M?n.bbox:void 0,E=R?n.features[t].id:M?n.id:void 0,f=s?s.type==="GeometryCollection":!1,c=f?s.geometries.length:1,i=0;i<c;i++){if(a=f?s.geometries[i]:s,a===null){if(e(null,N,d,$,E)===!1)return!1;continue}switch(a.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(a,N,d,$,E)===!1)return!1;break}case"GeometryCollection":{for(r=0;r<a.geometries.length;r++)if(e(a.geometries[r],N,d,$,E)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}N++}}function vo(n,e){hn(n,function(t,r,i,a,c){var s=t===null?null:t.type;switch(s){case null:case"Point":case"LineString":case"Polygon":return e($t(t,i,{bbox:a,id:c}),r,0)===!1?!1:void 0}var f;switch(s){case"MultiPoint":f="Point";break;case"MultiLineString":f="LineString";break;case"MultiPolygon":f="Polygon";break}for(var d=0;d<t.coordinates.length;d++){var $=t.coordinates[d],E={type:f,coordinates:$};if(e($t(E,i),r,d)===!1)return!1}})}function bo(n,e={}){const t=[];if(hn(n,i=>{t.push(i.coordinates)}),t.length<2)throw new Error("Must have at least 2 geometries");const r=mo(t[0],...t.slice(1));return r.length===0?null:r.length===1?dn(r[0],e.properties):ur(r,e.properties)}var mr=bo;function wo(n,e={}){if(n.bbox!=null&&e.recompute!==!0)return n.bbox;const t=[1/0,1/0,-1/0,-1/0];return pr(n,r=>{t[0]>r[0]&&(t[0]=r[0]),t[1]>r[1]&&(t[1]=r[1]),t[2]<r[0]&&(t[2]=r[0]),t[3]<r[1]&&(t[3]=r[1])}),t}var Zn=wo;function xo(n){const e=[];if(hn(n,i=>{e.push(i.coordinates)}),e.length<2)throw new Error("Must have at least two features");const t=n.features[0].properties||{},r=yo(e[0],...e.slice(1));return r.length===0?null:r.length===1?dn(r[0],t):ur(r,t)}var Eo=xo;function So(n){if(!n)throw new Error("geojson is required");var e=[];return vo(n,function(t){e.push(t)}),Lt(e)}var $o=So;function Vn(n,e){const t=Eo(Lt([dn([[[180,90],[-180,90],[-180,-90],[180,-90],[180,90]]]),n]));if(!t)return;t.properties={isMask:!0};const r=Bt(Zn(n)),i=(r[2]-r[0])/360/1e3,a=r[0]<-180,c=r[2]>180,s=$o(n);if(s.features.length>1&&(a||c))for(const f of s.features){const d=Bt(Zn(f));if(c&&d[0]<-180+i)for(const $ of f.geometry.coordinates)for(const E of $)E[0]+=360-i;if(a&&d[2]>180-i)for(const $ of f.geometry.coordinates)for(const E of $)E[0]-=360-i}e(Lt([s.features.length<2?n:mr(s)??n,t]))}const Kn={fill:{paint:{"fill-color":"#000","fill-opacity":.1},filter:["all",["==",["geometry-type"],"Polygon"],["has","isMask"]]},line:{layout:{"line-cap":"square"},paint:{"line-width":["case",["==",["geometry-type"],"Polygon"],2,3],"line-dasharray":[1,1],"line-color":"#3170fe"},filter:["!",["has","isMask"]]}},Pt="mtlr-gc-full-geom",Qn="mtlr-gc-full-geom-fill",Yn="mtlr-gc-full-geom-line";function yr(n,e,t=!0,r=!0,i={},a={},c=Kn){let s;const f=[];let d,$,E;function N(){if(!n.loaded){n.once("load",N);return}const C=c?c===!0?Kn:c:void 0;if(!(C!=null&&C.fill)&&!(C!=null&&C.line))return;const T=n.getSource(Pt);if(T)T.setData(E??Lt([]));else if(E)n.addSource(Pt,{type:"geojson",data:E});else return;!n.getLayer(Qn)&&C!=null&&C.fill&&n.addLayer({...C?.fill,id:Qn,type:"fill",source:Pt}),!n.getLayer(Yn)&&C!=null&&C.line&&n.addLayer({...C?.line,id:Yn,type:"line",source:Pt})}function R(C){E=C,N()}n.on("styledata",()=>{setTimeout(()=>{E&&N()})});const M=C=>{s?.({type:"mapClick",coordinates:[C.lngLat.lng,C.lngLat.lat]})};function P(C=!1){if(!e)throw new Error;const T=document.createElement("div");return C&&T.classList.add("marker-interactive"),new ki({props:{displayIn:"maplibre"},target:T}),new e.Marker({element:T,offset:[1,-13]})}return{setEventHandler(C){C?(s=C,n.on("click",M)):(s=void 0,n.off("click",M))},flyTo(C,T){n.flyTo({center:C,...T?{zoom:T}:{},...i})},fitBounds(C,T,v){n.fitBounds([[C[0],C[1]],[C[2],C[3]]],{padding:T,...v?{maxZoom:v}:{},...a})},indicateReverse(C){n.getCanvasContainer().style.cursor=C?"crosshair":""},setReverseMarker(C){!e||!t||($?C?$.setLngLat(C):($.remove(),$=void 0):C&&(t instanceof Function?$=t(n)??void 0:($=(typeof t=="object"?new e.Marker(t):P()).setLngLat(C).addTo(n),$.getElement().classList.add("marker-reverse"))))},setFeatures(C,T,v){for(const O of f)O.remove();if(f.length=0,R(void 0),!!e){e:if(T){let O=!1;if(T.geometry.type==="GeometryCollection"){const U=T.geometry.geometries.filter(I=>I.type==="Polygon"||I.type==="MultiPolygon");t:if(U.length>0){const I=mr(Lt(U.map(G=>$t(G))));if(!I)break t;Vn({...T,geometry:I.geometry},R),O=!0}else{const I=T.geometry.geometries.filter(G=>G.type==="LineString"||G.type==="MultiLineString");I.length>0&&(R({...T,geometry:{type:"GeometryCollection",geometries:I}}),O=!0)}}if(!O){if(T.geometry.type==="Polygon"||T.geometry.type==="MultiPolygon")Vn(T,R);else if(T.geometry.type==="LineString"||T.geometry.type==="MultiLineString"){R(T);break e}}if(!v&&!T.geometry.type.endsWith("Point"))break e;if(t instanceof Function){const U=t(n,T);U&&f.push(U)}else t&&f.push(typeof t=="object"?new e.Marker(t):P().setLngLat(T.center).addTo(n))}if(r)for(const O of C??[]){if(O===T)continue;let U;if(r instanceof Function){if(U=r(n,O),!U)continue}else U=(typeof r=="object"?new e.Marker(r):P(!0)).setLngLat(O.center).setPopup(new e.Popup({offset:[1,-27],closeButton:!1,closeOnMove:!0,className:"maptiler-gc-popup"}).setText(O.place_type[0]==="reverse"?O.place_name:O.place_name.replace(/,.*/,""))).addTo(n);const I=U.getElement();I.addEventListener("click",G=>{G.stopPropagation(),s?.({type:"markerClick",id:O.id})}),I.addEventListener("mouseenter",()=>{s?.({type:"markerMouseEnter",id:O.id}),U.togglePopup()}),I.addEventListener("mouseleave",()=>{s?.({type:"markerMouseLeave",id:O.id}),U.togglePopup()}),f.push(U)}}},setSelectedMarker(C){d&&d.getElement().classList.toggle("marker-selected",!1),d=C>-1?f[C]:void 0,d?.getElement().classList.toggle("marker-selected",!0)},getCenterAndZoom(){const C=n.getCenter();return[n.getZoom(),C.lng,C.lat]}}}function Lo(n,e,t){var r,i,a;class c{constructor(T,v){_(this,"type"),_(this,"target"),this.type=v,this.target=T}}class s extends c{constructor(T,v){super(T,"select"),_(this,"feature"),Object.assign(this,v)}}class f extends c{constructor(T,v){super(T,"featureslisted"),_(this,"features"),this.features=v}}class d extends c{constructor(T,v){super(T,"featuresmarked"),_(this,"features"),this.features=v}}class $ extends c{constructor(T,v){super(T,"optionsvisibilitychange"),_(this,"optionsVisible"),this.optionsVisible=v}}class E extends c{constructor(T,v){super(T,"pick"),_(this,"feature"),this.feature=v}}class N extends c{constructor(T,v){super(T,"querychange"),_(this,"query"),this.query=v}}class R extends c{constructor(T,v,O){super(T,"response"),_(this,"url"),_(this,"featureCollection"),this.url=v,this.featureCollection=O}}class M extends c{constructor(T,v){super(T,"reversetoggle"),_(this,"reverse"),this.reverse=v}}class P extends n{constructor(T={}){super(),Yt(this,r),Yt(this,i),Yt(this,a),Nt(this,i,T)}onAddInt(T){const v=document.createElement("div");v.className="mapboxgl-ctrl-geocoder mapboxgl-ctrl maplibregl-ctrl-geocoder maplibregl-ctrl mapboxgl-ctrl-group";const{marker:O,showResultMarkers:U,flyTo:I,fullGeometryStyle:G,...A}=se(this,i),o=typeof I=="boolean"?{}:I,l={mapController:yr(T,e,O,U,o,o,G),flyTo:I===void 0?!0:!!I,apiKey:"",...A};return l.apiKey||console.warn("No MapTiler Cloud API key was provided, some or all geocoding requests may fail"),Nt(this,r,new Yi({target:v,props:l})),se(this,r).$on("select",u=>{this.fire(new s(this,u.detail))}),se(this,r).$on("pick",u=>{this.fire(new E(this,u.detail.feature))}),se(this,r).$on("featureslisted",u=>{this.fire(new f(this,u.detail.features))}),se(this,r).$on("featuresmarked",u=>{this.fire(new d(this,u.detail.features))}),se(this,r).$on("response",u=>{this.fire(new R(this,u.detail.url,u.detail.featureCollection))}),se(this,r).$on("optionsvisibilitychange",u=>{this.fire(new $(this,u.detail.optionsVisible))}),se(this,r).$on("reversetoggle",u=>{this.fire(new M(this,u.detail.reverse))}),se(this,r).$on("querychange",u=>{this.fire(new N(this,u.detail.query))}),Nt(this,a,v),v}on(T,v){return super.on(T,v)}once(T,v){return super.once(T,v)}off(T,v){return super.off(T,v)}listens(T){return super.listens(T)}setOptions(T){var v;Object.assign(se(this,i),T);const{marker:O,showResultMarkers:U,flyTo:I,fullGeometryStyle:G,...A}=se(this,i);(v=se(this,r))==null||v.$set(A)}setQuery(T,v=!0){var O;(O=se(this,r))==null||O.setQuery(T,v)}clearMap(){var T;(T=se(this,r))==null||T.clearMap()}clearList(){var T;(T=se(this,r))==null||T.clearList()}setReverseMode(T){var v;(v=se(this,r))==null||v.$set({reverseActive:T})}focus(T){var v;(v=se(this,r))==null||v.focus(T)}blur(){var T;(T=se(this,r))==null||T.blur()}onRemove(){var T,v,O;(T=se(this,r))==null||T.$destroy(),Nt(this,r,void 0),(O=(v=se(this,a))==null?void 0:v.parentNode)==null||O.removeChild(se(this,a))}}return r=new WeakMap,i=new WeakMap,a=new WeakMap,{MapLibreBasedGeocodingControl:P,events:{SelectEvent:s,FeaturesListedEvent:f,FeaturesMarkedEvent:d,OptionsVisibilityChangeEvent:$,PickEvent:E,QueryChangeEvent:N,ResponseEvent:R,ReverseToggleEvent:M}}}const{MapLibreBasedGeocodingControl:To}=Lo(wn.maplibreGlExports.Evented,wn);class ko extends To{onAdd(e){return super.onAddInt(e)}}exports.GeocodingControl=ko;exports.createMapLibreGlMapController=yr;
|
|
14
|
+
//# sourceMappingURL=index.cjs31.js.map
|