@performant-software/geospatial 3.1.25-beta.0 → 3.1.25-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs12.js.map +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs196.js.map +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs203.js.map +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs250.js +1 -7
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs269.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +1 -1
- package/dist/index.cjs271.js.map +1 -1
- package/dist/index.cjs272.js +7 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs273.js +1 -1
- package/dist/index.cjs273.js.map +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs274.js.map +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs276.js +2 -0
- package/dist/index.cjs276.js.map +1 -0
- package/dist/index.cjs277.js +2 -0
- package/dist/index.cjs277.js.map +1 -0
- package/dist/index.cjs278.js +2 -0
- package/dist/index.cjs278.js.map +1 -0
- package/dist/index.cjs279.js +2 -0
- package/dist/index.cjs279.js.map +1 -0
- package/dist/index.cjs280.js +2 -0
- package/dist/index.cjs280.js.map +1 -0
- package/dist/index.cjs281.js +2 -0
- package/dist/index.cjs281.js.map +1 -0
- package/dist/index.cjs282.js +2 -0
- package/dist/index.cjs282.js.map +1 -0
- package/dist/index.cjs283.js +2 -0
- package/dist/index.cjs283.js.map +1 -0
- package/dist/index.cjs284.js +2 -0
- package/dist/index.cjs284.js.map +1 -0
- package/dist/index.cjs285.js +2 -0
- package/dist/index.cjs285.js.map +1 -0
- package/dist/index.cjs286.js +2 -0
- package/dist/index.cjs286.js.map +1 -0
- package/dist/index.cjs287.js +2 -0
- package/dist/index.cjs287.js.map +1 -0
- package/dist/index.cjs288.js +2 -0
- package/dist/index.cjs288.js.map +1 -0
- package/dist/index.cjs289.js +2 -0
- package/dist/index.cjs289.js.map +1 -0
- package/dist/index.cjs290.js +2 -0
- package/dist/index.cjs290.js.map +1 -0
- package/dist/index.cjs291.js +2 -0
- package/dist/index.cjs291.js.map +1 -0
- package/dist/index.cjs292.js +2 -0
- package/dist/index.cjs292.js.map +1 -0
- package/dist/index.cjs293.js +2 -0
- package/dist/index.cjs293.js.map +1 -0
- package/dist/index.cjs294.js +2 -0
- package/dist/index.cjs294.js.map +1 -0
- package/dist/index.cjs295.js +2 -0
- package/dist/index.cjs295.js.map +1 -0
- package/dist/index.cjs296.js +2 -0
- package/dist/index.cjs296.js.map +1 -0
- package/dist/index.cjs297.js +2 -0
- package/dist/index.cjs297.js.map +1 -0
- package/dist/index.cjs298.js +2 -0
- package/dist/index.cjs298.js.map +1 -0
- package/dist/index.cjs299.js +2 -0
- package/dist/index.cjs299.js.map +1 -0
- package/dist/index.cjs300.js +2 -0
- package/dist/index.cjs300.js.map +1 -0
- package/dist/index.cjs301.js +2 -0
- package/dist/index.cjs301.js.map +1 -0
- package/dist/index.cjs302.js +2 -0
- package/dist/index.cjs302.js.map +1 -0
- package/dist/index.cjs303.js +2 -0
- package/dist/index.cjs303.js.map +1 -0
- package/dist/index.cjs304.js +2 -0
- package/dist/index.cjs304.js.map +1 -0
- package/dist/index.cjs305.js +2 -0
- package/dist/index.cjs305.js.map +1 -0
- package/dist/index.cjs306.js +2 -0
- package/dist/index.cjs306.js.map +1 -0
- package/dist/index.cjs307.js +2 -0
- package/dist/index.cjs307.js.map +1 -0
- package/dist/index.cjs308.js +47 -0
- package/dist/index.cjs308.js.map +1 -0
- package/dist/index.cjs309.js +212 -0
- package/dist/index.cjs309.js.map +1 -0
- package/dist/index.cjs310.js +62 -0
- package/dist/index.cjs310.js.map +1 -0
- package/dist/index.cjs311.js +60 -0
- package/dist/index.cjs311.js.map +1 -0
- package/dist/index.cjs312.js +46 -0
- package/dist/index.cjs312.js.map +1 -0
- package/dist/index.cjs313.js +52 -0
- package/dist/index.cjs313.js.map +1 -0
- package/dist/index.cjs314.js +308 -0
- package/dist/index.cjs314.js.map +1 -0
- package/dist/index.cjs315.js +293 -0
- package/dist/index.cjs315.js.map +1 -0
- package/dist/index.cjs316.js +6 -0
- package/dist/index.cjs316.js.map +1 -0
- package/dist/index.cjs317.js +2 -0
- package/dist/index.cjs317.js.map +1 -0
- package/dist/index.cjs318.js +2 -0
- package/dist/index.cjs318.js.map +1 -0
- package/dist/index.cjs319.js +2 -0
- package/dist/index.cjs319.js.map +1 -0
- package/dist/index.cjs320.js +2 -0
- package/dist/index.cjs320.js.map +1 -0
- package/dist/index.cjs321.js +2 -0
- package/dist/index.cjs321.js.map +1 -0
- package/dist/index.cjs322.js +2 -0
- package/dist/index.cjs322.js.map +1 -0
- package/dist/index.cjs323.js +2 -0
- package/dist/index.cjs323.js.map +1 -0
- package/dist/index.cjs324.js +2 -0
- package/dist/index.cjs324.js.map +1 -0
- package/dist/index.cjs325.js +2 -0
- package/dist/index.cjs325.js.map +1 -0
- package/dist/index.cjs326.js +2 -0
- package/dist/index.cjs326.js.map +1 -0
- package/dist/index.cjs327.js +2 -0
- package/dist/index.cjs327.js.map +1 -0
- package/dist/index.cjs328.js +2 -0
- package/dist/index.cjs328.js.map +1 -0
- package/dist/index.cjs329.js +2 -0
- package/dist/index.cjs329.js.map +1 -0
- package/dist/index.cjs330.js +2 -0
- package/dist/index.cjs330.js.map +1 -0
- package/dist/index.cjs331.js +2 -0
- package/dist/index.cjs331.js.map +1 -0
- package/dist/index.cjs332.js +2 -0
- package/dist/index.cjs332.js.map +1 -0
- package/dist/index.cjs333.js +2 -0
- package/dist/index.cjs333.js.map +1 -0
- package/dist/index.cjs334.js +5 -0
- package/dist/index.cjs334.js.map +1 -0
- package/dist/index.cjs335.js +6 -0
- package/dist/index.cjs335.js.map +1 -0
- package/dist/index.cjs336.js +2 -0
- package/dist/index.cjs336.js.map +1 -0
- package/dist/index.cjs337.js +2 -0
- package/dist/index.cjs337.js.map +1 -0
- package/dist/index.cjs338.js +2 -0
- package/dist/index.cjs338.js.map +1 -0
- package/dist/index.cjs339.js +2 -0
- package/dist/index.cjs339.js.map +1 -0
- package/dist/index.cjs340.js +2 -0
- package/dist/index.cjs340.js.map +1 -0
- package/dist/index.cjs341.js +2 -0
- package/dist/index.cjs341.js.map +1 -0
- package/dist/index.cjs342.js +2 -0
- package/dist/index.cjs342.js.map +1 -0
- package/dist/index.cjs343.js +2 -0
- package/dist/index.cjs343.js.map +1 -0
- package/dist/index.cjs344.js +2 -0
- package/dist/index.cjs344.js.map +1 -0
- package/dist/index.cjs345.js +2 -0
- package/dist/index.cjs345.js.map +1 -0
- package/dist/index.cjs346.js +2 -0
- package/dist/index.cjs346.js.map +1 -0
- package/dist/index.cjs347.js +2 -0
- package/dist/index.cjs347.js.map +1 -0
- package/dist/index.cjs348.js +5 -0
- package/dist/index.cjs348.js.map +1 -0
- package/dist/index.cjs349.js +2 -0
- package/dist/index.cjs349.js.map +1 -0
- package/dist/index.cjs350.js +2 -0
- package/dist/index.cjs350.js.map +1 -0
- package/dist/index.cjs351.js +2 -0
- package/dist/index.cjs351.js.map +1 -0
- package/dist/index.cjs352.js +2 -0
- package/dist/index.cjs352.js.map +1 -0
- package/dist/index.cjs353.js +2 -0
- package/dist/index.cjs353.js.map +1 -0
- package/dist/index.cjs354.js +2 -0
- package/dist/index.cjs354.js.map +1 -0
- package/dist/index.cjs355.js +2 -0
- package/dist/index.cjs355.js.map +1 -0
- package/dist/index.cjs356.js +2 -0
- package/dist/index.cjs356.js.map +1 -0
- package/dist/index.cjs357.js +2 -0
- package/dist/index.cjs357.js.map +1 -0
- package/dist/index.cjs358.js +2 -0
- package/dist/index.cjs358.js.map +1 -0
- package/dist/index.cjs359.js +2 -0
- package/dist/index.cjs359.js.map +1 -0
- package/dist/index.cjs360.js +2 -0
- package/dist/index.cjs360.js.map +1 -0
- package/dist/index.cjs361.js +2 -0
- package/dist/index.cjs361.js.map +1 -0
- package/dist/index.cjs362.js +2 -0
- package/dist/index.cjs362.js.map +1 -0
- package/dist/index.cjs363.js +2 -0
- package/dist/index.cjs363.js.map +1 -0
- package/dist/index.cjs364.js +2 -0
- package/dist/index.cjs364.js.map +1 -0
- package/dist/index.cjs365.js +2 -0
- package/dist/index.cjs365.js.map +1 -0
- package/dist/index.cjs366.js +2 -0
- package/dist/index.cjs366.js.map +1 -0
- package/dist/index.cjs367.js +2 -0
- package/dist/index.cjs367.js.map +1 -0
- package/dist/index.cjs368.js +2 -0
- package/dist/index.cjs368.js.map +1 -0
- package/dist/index.cjs369.js +2 -0
- package/dist/index.cjs369.js.map +1 -0
- package/dist/index.cjs370.js +2 -0
- package/dist/index.cjs370.js.map +1 -0
- package/dist/index.cjs371.js +2 -0
- package/dist/index.cjs371.js.map +1 -0
- package/dist/index.cjs372.js +2 -0
- package/dist/index.cjs372.js.map +1 -0
- package/dist/index.cjs373.js +2 -0
- package/dist/index.cjs373.js.map +1 -0
- package/dist/index.cjs374.js +2 -0
- package/dist/index.cjs374.js.map +1 -0
- package/dist/index.cjs375.js +2 -0
- package/dist/index.cjs375.js.map +1 -0
- package/dist/index.cjs376.js +2 -0
- package/dist/index.cjs376.js.map +1 -0
- package/dist/index.cjs377.js +2 -0
- package/dist/index.cjs377.js.map +1 -0
- package/dist/index.cjs378.js +2 -0
- package/dist/index.cjs378.js.map +1 -0
- package/dist/index.cjs379.js +2 -0
- package/dist/index.cjs379.js.map +1 -0
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs380.js +2 -0
- package/dist/index.cjs380.js.map +1 -0
- package/dist/index.cjs381.js +2 -0
- package/dist/index.cjs381.js.map +1 -0
- package/dist/index.cjs382.js +2 -0
- package/dist/index.cjs382.js.map +1 -0
- package/dist/index.cjs383.js +2 -0
- package/dist/index.cjs383.js.map +1 -0
- package/dist/index.cjs384.js +2 -0
- package/dist/index.cjs384.js.map +1 -0
- package/dist/index.cjs385.js +2 -0
- package/dist/index.cjs385.js.map +1 -0
- package/dist/index.cjs386.js +2 -0
- package/dist/index.cjs386.js.map +1 -0
- package/dist/index.cjs387.js +2 -0
- package/dist/index.cjs387.js.map +1 -0
- package/dist/index.cjs388.js +2 -0
- package/dist/index.cjs388.js.map +1 -0
- package/dist/index.cjs389.js +2 -0
- package/dist/index.cjs389.js.map +1 -0
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs390.js +2 -0
- package/dist/index.cjs390.js.map +1 -0
- package/dist/index.cjs391.js +2 -0
- package/dist/index.cjs391.js.map +1 -0
- package/dist/index.cjs392.js +2 -0
- package/dist/index.cjs392.js.map +1 -0
- package/dist/index.cjs393.js +2 -0
- package/dist/index.cjs393.js.map +1 -0
- package/dist/index.cjs394.js +2 -0
- package/dist/index.cjs394.js.map +1 -0
- package/dist/index.cjs395.js +2 -0
- package/dist/index.cjs395.js.map +1 -0
- package/dist/index.cjs396.js +2 -0
- package/dist/index.cjs396.js.map +1 -0
- package/dist/index.cjs397.js +2 -0
- package/dist/index.cjs397.js.map +1 -0
- package/dist/index.cjs398.js +2 -0
- package/dist/index.cjs398.js.map +1 -0
- package/dist/index.cjs399.js +2 -0
- package/dist/index.cjs399.js.map +1 -0
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs400.js +2 -0
- package/dist/index.cjs400.js.map +1 -0
- package/dist/index.cjs401.js +2 -0
- package/dist/index.cjs401.js.map +1 -0
- package/dist/index.cjs402.js +2 -0
- package/dist/index.cjs402.js.map +1 -0
- package/dist/index.cjs403.js +2 -0
- package/dist/index.cjs403.js.map +1 -0
- package/dist/index.cjs404.js +2 -0
- package/dist/index.cjs404.js.map +1 -0
- package/dist/index.cjs405.js +2 -0
- package/dist/index.cjs405.js.map +1 -0
- package/dist/index.cjs406.js +2 -0
- package/dist/index.cjs406.js.map +1 -0
- package/dist/index.cjs407.js +2 -0
- package/dist/index.cjs407.js.map +1 -0
- package/dist/index.cjs408.js +2 -0
- package/dist/index.cjs408.js.map +1 -0
- package/dist/index.cjs409.js +2 -0
- package/dist/index.cjs409.js.map +1 -0
- package/dist/index.cjs410.js +2 -0
- package/dist/index.cjs410.js.map +1 -0
- package/dist/index.cjs411.js +2 -0
- package/dist/index.cjs411.js.map +1 -0
- package/dist/index.cjs412.js +2 -0
- package/dist/index.cjs412.js.map +1 -0
- package/dist/index.cjs413.js +2 -0
- package/dist/index.cjs413.js.map +1 -0
- package/dist/index.cjs414.js +2 -0
- package/dist/index.cjs414.js.map +1 -0
- package/dist/index.cjs415.js +2 -0
- package/dist/index.cjs415.js.map +1 -0
- package/dist/index.cjs416.js +2 -0
- package/dist/index.cjs416.js.map +1 -0
- package/dist/index.cjs417.js +2 -0
- package/dist/index.cjs417.js.map +1 -0
- package/dist/index.cjs418.js +2 -0
- package/dist/index.cjs418.js.map +1 -0
- package/dist/index.cjs419.js +2 -0
- package/dist/index.cjs419.js.map +1 -0
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs420.js +2 -0
- package/dist/index.cjs420.js.map +1 -0
- package/dist/index.cjs421.js +2 -0
- package/dist/index.cjs421.js.map +1 -0
- package/dist/index.cjs422.js +2 -0
- package/dist/index.cjs422.js.map +1 -0
- package/dist/index.cjs423.js +2 -0
- package/dist/index.cjs423.js.map +1 -0
- package/dist/index.cjs424.js +2 -0
- package/dist/index.cjs424.js.map +1 -0
- package/dist/index.cjs425.js +2 -0
- package/dist/index.cjs425.js.map +1 -0
- package/dist/index.cjs426.js +2 -0
- package/dist/index.cjs426.js.map +1 -0
- package/dist/index.cjs427.js +2 -0
- package/dist/index.cjs427.js.map +1 -0
- package/dist/index.cjs428.js +2 -0
- package/dist/index.cjs428.js.map +1 -0
- package/dist/index.cjs429.js +2 -0
- package/dist/index.cjs429.js.map +1 -0
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs430.js +2 -0
- package/dist/index.cjs430.js.map +1 -0
- package/dist/index.cjs431.js +2 -0
- package/dist/index.cjs431.js.map +1 -0
- package/dist/index.cjs432.js +2 -0
- package/dist/index.cjs432.js.map +1 -0
- package/dist/index.cjs433.js +2 -0
- package/dist/index.cjs433.js.map +1 -0
- package/dist/index.cjs434.js +2 -0
- package/dist/index.cjs434.js.map +1 -0
- package/dist/index.cjs435.js +2 -0
- package/dist/index.cjs435.js.map +1 -0
- package/dist/index.cjs436.js +2 -0
- package/dist/index.cjs436.js.map +1 -0
- package/dist/index.cjs437.js +2 -0
- package/dist/index.cjs437.js.map +1 -0
- package/dist/index.cjs438.js +2 -0
- package/dist/index.cjs438.js.map +1 -0
- package/dist/index.cjs439.js +2 -0
- package/dist/index.cjs439.js.map +1 -0
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs440.js +2 -0
- package/dist/index.cjs440.js.map +1 -0
- package/dist/index.cjs441.js +2 -0
- package/dist/index.cjs441.js.map +1 -0
- package/dist/index.cjs442.js +2 -0
- package/dist/index.cjs442.js.map +1 -0
- package/dist/index.cjs443.js +2 -0
- package/dist/index.cjs443.js.map +1 -0
- package/dist/index.cjs444.js +2 -0
- package/dist/index.cjs444.js.map +1 -0
- package/dist/index.cjs445.js +2 -0
- package/dist/index.cjs445.js.map +1 -0
- package/dist/index.cjs446.js +2 -0
- package/dist/index.cjs446.js.map +1 -0
- package/dist/index.cjs447.js +2 -0
- package/dist/index.cjs447.js.map +1 -0
- package/dist/index.cjs448.js +2 -0
- package/dist/index.cjs448.js.map +1 -0
- package/dist/index.cjs449.js +2 -0
- package/dist/index.cjs449.js.map +1 -0
- package/dist/index.cjs450.js +2 -0
- package/dist/index.cjs450.js.map +1 -0
- package/dist/index.cjs451.js +2 -0
- package/dist/index.cjs451.js.map +1 -0
- package/dist/index.cjs452.js +2 -0
- package/dist/index.cjs452.js.map +1 -0
- package/dist/index.cjs453.js +2 -0
- package/dist/index.cjs453.js.map +1 -0
- package/dist/index.cjs454.js +2 -0
- package/dist/index.cjs454.js.map +1 -0
- package/dist/index.cjs455.js +2 -0
- package/dist/index.cjs455.js.map +1 -0
- package/dist/index.cjs456.js +2 -0
- package/dist/index.cjs456.js.map +1 -0
- package/dist/index.cjs457.js +2 -0
- package/dist/index.cjs457.js.map +1 -0
- package/dist/index.cjs458.js +2 -0
- package/dist/index.cjs458.js.map +1 -0
- package/dist/index.cjs459.js +2 -0
- package/dist/index.cjs459.js.map +1 -0
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs460.js +2 -0
- package/dist/index.cjs460.js.map +1 -0
- package/dist/index.cjs461.js +2 -0
- package/dist/index.cjs461.js.map +1 -0
- package/dist/index.cjs462.js +2 -0
- package/dist/index.cjs462.js.map +1 -0
- package/dist/index.cjs463.js +2 -0
- package/dist/index.cjs463.js.map +1 -0
- package/dist/index.cjs464.js +2 -0
- package/dist/index.cjs464.js.map +1 -0
- package/dist/index.cjs465.js +2 -0
- package/dist/index.cjs465.js.map +1 -0
- package/dist/index.cjs466.js +2 -0
- package/dist/index.cjs466.js.map +1 -0
- package/dist/index.cjs467.js +2 -0
- package/dist/index.cjs467.js.map +1 -0
- package/dist/index.cjs468.js +2 -0
- package/dist/index.cjs468.js.map +1 -0
- package/dist/index.cjs469.js +2 -0
- package/dist/index.cjs469.js.map +1 -0
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs470.js +2 -0
- package/dist/index.cjs470.js.map +1 -0
- package/dist/index.cjs471.js +2 -0
- package/dist/index.cjs471.js.map +1 -0
- package/dist/index.cjs472.js +2 -0
- package/dist/index.cjs472.js.map +1 -0
- package/dist/index.cjs473.js +2 -0
- package/dist/index.cjs473.js.map +1 -0
- package/dist/index.cjs474.js +2 -0
- package/dist/index.cjs474.js.map +1 -0
- package/dist/index.cjs475.js +2 -0
- package/dist/index.cjs475.js.map +1 -0
- package/dist/index.cjs476.js +2 -0
- package/dist/index.cjs476.js.map +1 -0
- package/dist/index.cjs477.js +2 -0
- package/dist/index.cjs477.js.map +1 -0
- package/dist/index.cjs478.js +2 -0
- package/dist/index.cjs478.js.map +1 -0
- package/dist/index.cjs479.js +2 -0
- package/dist/index.cjs479.js.map +1 -0
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs480.js +2 -0
- package/dist/index.cjs480.js.map +1 -0
- package/dist/index.cjs481.js +2 -0
- package/dist/index.cjs481.js.map +1 -0
- package/dist/index.cjs482.js +2 -0
- package/dist/index.cjs482.js.map +1 -0
- package/dist/index.cjs483.js +2 -0
- package/dist/index.cjs483.js.map +1 -0
- package/dist/index.cjs484.js +2 -0
- package/dist/index.cjs484.js.map +1 -0
- package/dist/index.cjs485.js +2 -0
- package/dist/index.cjs485.js.map +1 -0
- package/dist/index.cjs486.js +2 -0
- package/dist/index.cjs486.js.map +1 -0
- package/dist/index.cjs487.js +2 -0
- package/dist/index.cjs487.js.map +1 -0
- package/dist/index.cjs488.js +2 -0
- package/dist/index.cjs488.js.map +1 -0
- package/dist/index.cjs489.js +2 -0
- package/dist/index.cjs489.js.map +1 -0
- package/dist/index.cjs490.js +2 -0
- package/dist/index.cjs490.js.map +1 -0
- package/dist/index.cjs491.js +2 -0
- package/dist/index.cjs491.js.map +1 -0
- package/dist/index.cjs492.js +2 -0
- package/dist/index.cjs492.js.map +1 -0
- package/dist/index.cjs493.js +2 -0
- package/dist/index.cjs493.js.map +1 -0
- package/dist/index.cjs494.js +2 -0
- package/dist/index.cjs494.js.map +1 -0
- package/dist/index.cjs495.js +2 -0
- package/dist/index.cjs495.js.map +1 -0
- package/dist/index.cjs496.js +2 -0
- package/dist/index.cjs496.js.map +1 -0
- package/dist/index.cjs497.js +2 -0
- package/dist/index.cjs497.js.map +1 -0
- package/dist/index.cjs498.js +2 -0
- package/dist/index.cjs498.js.map +1 -0
- package/dist/index.cjs499.js +2 -0
- package/dist/index.cjs499.js.map +1 -0
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs500.js +2 -0
- package/dist/index.cjs500.js.map +1 -0
- package/dist/index.cjs501.js +2 -0
- package/dist/index.cjs501.js.map +1 -0
- package/dist/index.cjs502.js +2 -0
- package/dist/index.cjs502.js.map +1 -0
- package/dist/index.cjs503.js +2 -0
- package/dist/index.cjs503.js.map +1 -0
- package/dist/index.cjs504.js +2 -0
- package/dist/index.cjs504.js.map +1 -0
- package/dist/index.cjs505.js +2 -0
- package/dist/index.cjs505.js.map +1 -0
- package/dist/index.cjs506.js +2 -0
- package/dist/index.cjs506.js.map +1 -0
- package/dist/index.cjs507.js +2 -0
- package/dist/index.cjs507.js.map +1 -0
- package/dist/index.cjs508.js +2 -0
- package/dist/index.cjs508.js.map +1 -0
- package/dist/index.cjs509.js +2 -0
- package/dist/index.cjs509.js.map +1 -0
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs510.js +2 -0
- package/dist/index.cjs510.js.map +1 -0
- package/dist/index.cjs511.js +2 -0
- package/dist/index.cjs511.js.map +1 -0
- package/dist/index.cjs512.js +2 -0
- package/dist/index.cjs512.js.map +1 -0
- package/dist/index.cjs513.js +2 -0
- package/dist/index.cjs513.js.map +1 -0
- package/dist/index.cjs514.js +2 -0
- package/dist/index.cjs514.js.map +1 -0
- package/dist/index.cjs515.js +2 -0
- package/dist/index.cjs515.js.map +1 -0
- package/dist/index.cjs516.js +2 -0
- package/dist/index.cjs516.js.map +1 -0
- package/dist/index.cjs517.js +2 -0
- package/dist/index.cjs517.js.map +1 -0
- package/dist/index.cjs518.js +2 -0
- package/dist/index.cjs518.js.map +1 -0
- package/dist/index.cjs519.js +2 -0
- package/dist/index.cjs519.js.map +1 -0
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs520.js +2 -0
- package/dist/index.cjs520.js.map +1 -0
- package/dist/index.cjs521.js +2 -0
- package/dist/index.cjs521.js.map +1 -0
- package/dist/index.cjs522.js +2 -0
- package/dist/index.cjs522.js.map +1 -0
- package/dist/index.cjs523.js +2 -0
- package/dist/index.cjs523.js.map +1 -0
- package/dist/index.cjs524.js +2 -0
- package/dist/index.cjs524.js.map +1 -0
- package/dist/index.cjs525.js +2 -0
- package/dist/index.cjs525.js.map +1 -0
- package/dist/index.cjs526.js +2 -0
- package/dist/index.cjs526.js.map +1 -0
- package/dist/index.cjs527.js +2 -0
- package/dist/index.cjs527.js.map +1 -0
- package/dist/index.cjs528.js +2 -0
- package/dist/index.cjs528.js.map +1 -0
- package/dist/index.cjs529.js +2 -0
- package/dist/index.cjs529.js.map +1 -0
- package/dist/index.cjs530.js +2 -0
- package/dist/index.cjs530.js.map +1 -0
- package/dist/index.cjs531.js +2 -0
- package/dist/index.cjs531.js.map +1 -0
- package/dist/index.cjs532.js +2 -0
- package/dist/index.cjs532.js.map +1 -0
- package/dist/index.cjs533.js +2 -0
- package/dist/index.cjs533.js.map +1 -0
- package/dist/index.cjs534.js +2 -0
- package/dist/index.cjs534.js.map +1 -0
- package/dist/index.cjs535.js +2 -0
- package/dist/index.cjs535.js.map +1 -0
- package/dist/index.cjs536.js +2 -0
- package/dist/index.cjs536.js.map +1 -0
- package/dist/index.cjs537.js +2 -0
- package/dist/index.cjs537.js.map +1 -0
- package/dist/index.cjs538.js +2 -0
- package/dist/index.cjs538.js.map +1 -0
- package/dist/index.cjs539.js +2 -0
- package/dist/index.cjs539.js.map +1 -0
- package/dist/index.cjs540.js +2 -0
- package/dist/index.cjs540.js.map +1 -0
- package/dist/index.cjs541.js +2 -0
- package/dist/index.cjs541.js.map +1 -0
- package/dist/index.cjs542.js +2 -0
- package/dist/index.cjs542.js.map +1 -0
- package/dist/index.cjs543.js +2 -0
- package/dist/index.cjs543.js.map +1 -0
- package/dist/index.cjs544.js +2 -0
- package/dist/index.cjs544.js.map +1 -0
- package/dist/index.cjs545.js +2 -0
- package/dist/index.cjs545.js.map +1 -0
- package/dist/index.cjs546.js +2 -0
- package/dist/index.cjs546.js.map +1 -0
- package/dist/index.cjs547.js +2 -0
- package/dist/index.cjs547.js.map +1 -0
- package/dist/index.cjs548.js +2 -0
- package/dist/index.cjs548.js.map +1 -0
- package/dist/index.cjs549.js +2 -0
- package/dist/index.cjs549.js.map +1 -0
- package/dist/index.cjs550.js +2 -0
- package/dist/index.cjs550.js.map +1 -0
- package/dist/index.cjs551.js +2 -0
- package/dist/index.cjs551.js.map +1 -0
- package/dist/index.cjs552.js +2 -0
- package/dist/index.cjs552.js.map +1 -0
- package/dist/index.cjs553.js +2 -0
- package/dist/index.cjs553.js.map +1 -0
- package/dist/index.cjs554.js +2 -0
- package/dist/index.cjs554.js.map +1 -0
- package/dist/index.cjs555.js +2 -0
- package/dist/index.cjs555.js.map +1 -0
- package/dist/index.cjs556.js +2 -0
- package/dist/index.cjs556.js.map +1 -0
- package/dist/index.cjs557.js +2 -0
- package/dist/index.cjs557.js.map +1 -0
- package/dist/index.cjs558.js +2 -0
- package/dist/index.cjs558.js.map +1 -0
- package/dist/index.cjs559.js +2 -0
- package/dist/index.cjs559.js.map +1 -0
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs560.js +2 -0
- package/dist/index.cjs560.js.map +1 -0
- package/dist/index.cjs561.js +2 -0
- package/dist/index.cjs561.js.map +1 -0
- package/dist/index.cjs562.js +2 -0
- package/dist/index.cjs562.js.map +1 -0
- package/dist/index.cjs563.js +2 -0
- package/dist/index.cjs563.js.map +1 -0
- package/dist/index.cjs564.js +9 -0
- package/dist/index.cjs564.js.map +1 -0
- package/dist/index.cjs565.js +2 -0
- package/dist/index.cjs565.js.map +1 -0
- package/dist/index.cjs566.js +2 -0
- package/dist/index.cjs566.js.map +1 -0
- package/dist/index.cjs567.js +2 -0
- package/dist/index.cjs567.js.map +1 -0
- package/dist/index.cjs568.js +2 -0
- package/dist/index.cjs568.js.map +1 -0
- package/dist/index.cjs569.js +2 -0
- package/dist/index.cjs569.js.map +1 -0
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs570.js +2 -0
- package/dist/index.cjs570.js.map +1 -0
- package/dist/index.cjs571.js +2 -0
- package/dist/index.cjs571.js.map +1 -0
- package/dist/index.cjs572.js +2 -0
- package/dist/index.cjs572.js.map +1 -0
- package/dist/index.cjs573.js +2 -0
- package/dist/index.cjs573.js.map +1 -0
- package/dist/index.cjs574.js +2 -0
- package/dist/index.cjs574.js.map +1 -0
- package/dist/index.cjs575.js +2 -0
- package/dist/index.cjs575.js.map +1 -0
- package/dist/index.cjs576.js +2 -0
- package/dist/index.cjs576.js.map +1 -0
- package/dist/index.cjs577.js +2 -0
- package/dist/index.cjs577.js.map +1 -0
- package/dist/index.cjs578.js +2 -0
- package/dist/index.cjs578.js.map +1 -0
- package/dist/index.cjs579.js +2 -0
- package/dist/index.cjs579.js.map +1 -0
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs580.js +2 -0
- package/dist/index.cjs580.js.map +1 -0
- package/dist/index.cjs581.js +2 -0
- package/dist/index.cjs581.js.map +1 -0
- package/dist/index.cjs582.js +2 -0
- package/dist/index.cjs582.js.map +1 -0
- package/dist/index.cjs583.js +2 -0
- package/dist/index.cjs583.js.map +1 -0
- package/dist/index.cjs584.js +2 -0
- package/dist/index.cjs584.js.map +1 -0
- package/dist/index.cjs585.js +2 -0
- package/dist/index.cjs585.js.map +1 -0
- package/dist/index.cjs586.js +2 -0
- package/dist/index.cjs586.js.map +1 -0
- package/dist/index.cjs587.js +2 -0
- package/dist/index.cjs587.js.map +1 -0
- package/dist/index.cjs588.js +2 -0
- package/dist/index.cjs588.js.map +1 -0
- package/dist/index.cjs589.js +2 -0
- package/dist/index.cjs589.js.map +1 -0
- package/dist/index.cjs590.js +2 -0
- package/dist/index.cjs590.js.map +1 -0
- package/dist/index.cjs591.js +2 -0
- package/dist/index.cjs591.js.map +1 -0
- package/dist/index.cjs592.js +2 -0
- package/dist/index.cjs592.js.map +1 -0
- package/dist/index.cjs593.js +2 -0
- package/dist/index.cjs593.js.map +1 -0
- package/dist/index.cjs594.js +2 -0
- package/dist/index.cjs594.js.map +1 -0
- package/dist/index.cjs595.js +2 -0
- package/dist/index.cjs595.js.map +1 -0
- package/dist/index.cjs596.js +2 -0
- package/dist/index.cjs596.js.map +1 -0
- package/dist/index.cjs597.js +2 -0
- package/dist/index.cjs597.js.map +1 -0
- package/dist/index.cjs598.js +2 -0
- package/dist/index.cjs598.js.map +1 -0
- package/dist/index.cjs599.js +2 -0
- package/dist/index.cjs599.js.map +1 -0
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs600.js +2 -0
- package/dist/index.cjs600.js.map +1 -0
- package/dist/index.cjs601.js +2 -0
- package/dist/index.cjs601.js.map +1 -0
- package/dist/index.cjs602.js +2 -0
- package/dist/index.cjs602.js.map +1 -0
- package/dist/index.cjs603.js +2 -0
- package/dist/index.cjs603.js.map +1 -0
- package/dist/index.cjs604.js +2 -0
- package/dist/index.cjs604.js.map +1 -0
- package/dist/index.cjs605.js +2 -0
- package/dist/index.cjs605.js.map +1 -0
- package/dist/index.cjs606.js +2 -0
- package/dist/index.cjs606.js.map +1 -0
- package/dist/index.cjs607.js +2 -0
- package/dist/index.cjs607.js.map +1 -0
- package/dist/index.cjs608.js +2 -0
- package/dist/index.cjs608.js.map +1 -0
- package/dist/index.cjs609.js +2 -0
- package/dist/index.cjs609.js.map +1 -0
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs610.js +2 -0
- package/dist/index.cjs610.js.map +1 -0
- package/dist/index.cjs611.js +2 -0
- package/dist/index.cjs611.js.map +1 -0
- package/dist/index.cjs612.js +2 -0
- package/dist/index.cjs612.js.map +1 -0
- package/dist/index.cjs613.js +2 -0
- package/dist/index.cjs613.js.map +1 -0
- package/dist/index.cjs614.js +2 -0
- package/dist/index.cjs614.js.map +1 -0
- package/dist/index.cjs615.js +2 -0
- package/dist/index.cjs615.js.map +1 -0
- package/dist/index.cjs616.js +4 -0
- package/dist/index.cjs616.js.map +1 -0
- package/dist/index.cjs617.js +2 -0
- package/dist/index.cjs617.js.map +1 -0
- package/dist/index.cjs618.js +2 -0
- package/dist/index.cjs618.js.map +1 -0
- package/dist/index.cjs619.js +2 -0
- package/dist/index.cjs619.js.map +1 -0
- package/dist/index.cjs620.js +2 -0
- package/dist/index.cjs620.js.map +1 -0
- package/dist/index.cjs621.js +2 -0
- package/dist/index.cjs621.js.map +1 -0
- package/dist/index.cjs622.js +61 -0
- package/dist/index.cjs622.js.map +1 -0
- package/dist/index.cjs623.js +2 -0
- package/dist/index.cjs623.js.map +1 -0
- package/dist/index.cjs624.js +2 -0
- package/dist/index.cjs624.js.map +1 -0
- package/dist/index.cjs625.js +2 -0
- package/dist/index.cjs625.js.map +1 -0
- package/dist/index.cjs626.js +2 -0
- package/dist/index.cjs626.js.map +1 -0
- package/dist/index.cjs627.js +2 -0
- package/dist/index.cjs627.js.map +1 -0
- package/dist/index.cjs628.js +2 -0
- package/dist/index.cjs628.js.map +1 -0
- package/dist/index.cjs629.js +2 -0
- package/dist/index.cjs629.js.map +1 -0
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs630.js +4 -0
- package/dist/index.cjs630.js.map +1 -0
- package/dist/index.cjs631.js +2 -0
- package/dist/index.cjs631.js.map +1 -0
- package/dist/index.cjs632.js +2 -0
- package/dist/index.cjs632.js.map +1 -0
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs68.js +1 -440
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es101.js +1 -1
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es104.js +1 -1
- package/dist/index.es105.js +1 -1
- package/dist/index.es106.js +1 -1
- package/dist/index.es107.js +1 -1
- package/dist/index.es108.js +1 -1
- package/dist/index.es111.js +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es114.js +3 -3
- package/dist/index.es115.js +1 -1
- package/dist/index.es116.js +2 -2
- package/dist/index.es117.js +1 -1
- package/dist/index.es12.js +6 -7
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es122.js +1 -1
- package/dist/index.es123.js +1 -1
- package/dist/index.es124.js +1 -1
- package/dist/index.es125.js +1 -1
- package/dist/index.es128.js +2 -2
- package/dist/index.es129.js +2 -2
- package/dist/index.es13.js +8 -8
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es130.js +1 -1
- package/dist/index.es134.js +2 -2
- package/dist/index.es137.js +1 -1
- package/dist/index.es141.js +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es153.js +1 -1
- package/dist/index.es154.js +1 -1
- package/dist/index.es155.js +2 -2
- package/dist/index.es156.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +1 -1
- package/dist/index.es16.js +4 -4
- package/dist/index.es160.js +2 -2
- package/dist/index.es161.js +2 -2
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es166.js +2 -2
- package/dist/index.es167.js +2 -2
- package/dist/index.es168.js +1 -1
- package/dist/index.es17.js +3 -3
- package/dist/index.es171.js +2 -2
- package/dist/index.es172.js +2 -2
- package/dist/index.es174.js +2 -2
- package/dist/index.es175.js +1 -1
- package/dist/index.es176.js +2 -2
- package/dist/index.es177.js +1 -1
- package/dist/index.es178.js +2 -2
- package/dist/index.es179.js +1 -1
- package/dist/index.es18.js +3 -3
- package/dist/index.es180.js +1 -1
- package/dist/index.es181.js +1 -1
- package/dist/index.es187.js +1 -1
- package/dist/index.es188.js +2 -2
- package/dist/index.es189.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +1 -1
- package/dist/index.es194.js +14 -1
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +199 -239
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +8 -42
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +7 -3
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +5 -11
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +3 -13
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +3 -33
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +34 -12
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +3 -7
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +22 -7
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +2 -7
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +3 -6
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +2 -5
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +31 -3
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +13 -9
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +13 -18
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es210.js +8 -20
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +61 -12
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +61 -13
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +37 -6
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +476 -7
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +164 -6
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +70 -20
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +48 -8
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +380 -9
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +19 -6
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +124 -11
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +355 -8
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +218 -21
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +23 -11
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +58 -17
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +106 -4
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +29 -18
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +29 -12
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +96 -3
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +35 -5
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es230.js +18 -148
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +52 -6
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +7 -5
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +529 -3
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +28 -3
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +6 -34
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +7 -3
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +4 -23
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +5 -2
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +5 -3
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +11 -2
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +17 -29
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +21 -13
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +12 -13
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +14 -8
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +5 -20
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +7 -22
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +6 -7
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +21 -2
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +8 -4
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es250.js +9 -7507
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +4 -2
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +10 -24
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +7 -16
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +20 -30
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +10 -21
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +16 -73
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +4 -21
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +16 -39
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +11 -49
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +3 -7
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +4 -20
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +242 -65
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +40 -40
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +3 -64
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +9 -7
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +10 -3
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +29 -11
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +12 -58
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +4 -49
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es270.js +22 -2
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +20 -15
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +7506 -4
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +2 -70
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +3 -4
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +268 -21
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +11 -0
- package/dist/index.es276.js.map +1 -0
- package/dist/index.es277.js +9 -0
- package/dist/index.es277.js.map +1 -0
- package/dist/index.es278.js +24 -0
- package/dist/index.es278.js.map +1 -0
- package/dist/index.es279.js +26 -0
- package/dist/index.es279.js.map +1 -0
- package/dist/index.es280.js +28 -0
- package/dist/index.es280.js.map +1 -0
- package/dist/index.es281.js +20 -0
- package/dist/index.es281.js.map +1 -0
- package/dist/index.es282.js +34 -0
- package/dist/index.es282.js.map +1 -0
- package/dist/index.es283.js +25 -0
- package/dist/index.es283.js.map +1 -0
- package/dist/index.es284.js +78 -0
- package/dist/index.es284.js.map +1 -0
- package/dist/index.es285.js +24 -0
- package/dist/index.es285.js.map +1 -0
- package/dist/index.es286.js +44 -0
- package/dist/index.es286.js.map +1 -0
- package/dist/index.es287.js +53 -0
- package/dist/index.es287.js.map +1 -0
- package/dist/index.es288.js +11 -0
- package/dist/index.es288.js.map +1 -0
- package/dist/index.es289.js +24 -0
- package/dist/index.es289.js.map +1 -0
- package/dist/index.es290.js +69 -0
- package/dist/index.es290.js.map +1 -0
- package/dist/index.es291.js +46 -0
- package/dist/index.es291.js.map +1 -0
- package/dist/index.es292.js +67 -0
- package/dist/index.es292.js.map +1 -0
- package/dist/index.es293.js +12 -0
- package/dist/index.es293.js.map +1 -0
- package/dist/index.es294.js +7 -0
- package/dist/index.es294.js.map +1 -0
- package/dist/index.es295.js +16 -0
- package/dist/index.es295.js.map +1 -0
- package/dist/index.es296.js +63 -0
- package/dist/index.es296.js.map +1 -0
- package/dist/index.es297.js +53 -0
- package/dist/index.es297.js.map +1 -0
- package/dist/index.es298.js +418 -0
- package/dist/index.es298.js.map +1 -0
- package/dist/index.es299.js +80 -0
- package/dist/index.es299.js.map +1 -0
- package/dist/index.es300.js +246 -0
- package/dist/index.es300.js.map +1 -0
- package/dist/index.es301.js +33 -0
- package/dist/index.es301.js.map +1 -0
- package/dist/index.es302.js +157 -0
- package/dist/index.es302.js.map +1 -0
- package/dist/index.es303.js +21 -0
- package/dist/index.es303.js.map +1 -0
- package/dist/index.es304.js +17 -0
- package/dist/index.es304.js.map +1 -0
- package/dist/index.es305.js +565 -0
- package/dist/index.es305.js.map +1 -0
- package/dist/index.es306.js +354 -0
- package/dist/index.es306.js.map +1 -0
- package/dist/index.es307.js +67 -0
- package/dist/index.es307.js.map +1 -0
- package/dist/index.es308.js +50 -0
- package/dist/index.es308.js.map +1 -0
- package/dist/index.es309.js +215 -0
- package/dist/index.es309.js.map +1 -0
- package/dist/index.es310.js +65 -0
- package/dist/index.es310.js.map +1 -0
- package/dist/index.es311.js +63 -0
- package/dist/index.es311.js.map +1 -0
- package/dist/index.es312.js +49 -0
- package/dist/index.es312.js.map +1 -0
- package/dist/index.es313.js +55 -0
- package/dist/index.es313.js.map +1 -0
- package/dist/index.es314.js +329 -0
- package/dist/index.es314.js.map +1 -0
- package/dist/index.es315.js +314 -0
- package/dist/index.es315.js.map +1 -0
- package/dist/index.es316.js +259 -0
- package/dist/index.es316.js.map +1 -0
- package/dist/index.es317.js +60 -0
- package/dist/index.es317.js.map +1 -0
- package/dist/index.es318.js +218 -0
- package/dist/index.es318.js.map +1 -0
- package/dist/index.es319.js +204 -0
- package/dist/index.es319.js.map +1 -0
- package/dist/index.es320.js +20 -0
- package/dist/index.es320.js.map +1 -0
- package/dist/index.es321.js +30 -0
- package/dist/index.es321.js.map +1 -0
- package/dist/index.es322.js +204 -0
- package/dist/index.es322.js.map +1 -0
- package/dist/index.es323.js +9 -0
- package/dist/index.es323.js.map +1 -0
- package/dist/index.es324.js +89 -0
- package/dist/index.es324.js.map +1 -0
- package/dist/index.es325.js +62 -0
- package/dist/index.es325.js.map +1 -0
- package/dist/index.es326.js +17 -0
- package/dist/index.es326.js.map +1 -0
- package/dist/index.es327.js +107 -0
- package/dist/index.es327.js.map +1 -0
- package/dist/index.es328.js +19 -0
- package/dist/index.es328.js.map +1 -0
- package/dist/index.es329.js +30 -0
- package/dist/index.es329.js.map +1 -0
- package/dist/index.es330.js +132 -0
- package/dist/index.es330.js.map +1 -0
- package/dist/index.es331.js +20 -0
- package/dist/index.es331.js.map +1 -0
- package/dist/index.es332.js +8 -0
- package/dist/index.es332.js.map +1 -0
- package/dist/index.es333.js +69 -0
- package/dist/index.es333.js.map +1 -0
- package/dist/index.es334.js +164 -0
- package/dist/index.es334.js.map +1 -0
- package/dist/index.es335.js +142 -0
- package/dist/index.es335.js.map +1 -0
- package/dist/index.es336.js +31 -0
- package/dist/index.es336.js.map +1 -0
- package/dist/index.es337.js +6 -0
- package/dist/index.es337.js.map +1 -0
- package/dist/index.es338.js +8 -0
- package/dist/index.es338.js.map +1 -0
- package/dist/index.es339.js +73 -0
- package/dist/index.es339.js.map +1 -0
- package/dist/index.es340.js +19 -0
- package/dist/index.es340.js.map +1 -0
- package/dist/index.es341.js +65 -0
- package/dist/index.es341.js.map +1 -0
- package/dist/index.es342.js +47 -0
- package/dist/index.es342.js.map +1 -0
- package/dist/index.es343.js +25 -0
- package/dist/index.es343.js.map +1 -0
- package/dist/index.es344.js +11 -0
- package/dist/index.es344.js.map +1 -0
- package/dist/index.es345.js +40 -0
- package/dist/index.es345.js.map +1 -0
- package/dist/index.es346.js +132 -0
- package/dist/index.es346.js.map +1 -0
- package/dist/index.es347.js +48 -0
- package/dist/index.es347.js.map +1 -0
- package/dist/index.es348.js +223 -0
- package/dist/index.es348.js.map +1 -0
- package/dist/index.es349.js +40 -0
- package/dist/index.es349.js.map +1 -0
- package/dist/index.es350.js +286 -0
- package/dist/index.es350.js.map +1 -0
- package/dist/index.es351.js +63 -0
- package/dist/index.es351.js.map +1 -0
- package/dist/index.es352.js +54 -0
- package/dist/index.es352.js.map +1 -0
- package/dist/index.es353.js +251 -0
- package/dist/index.es353.js.map +1 -0
- package/dist/index.es354.js +30 -0
- package/dist/index.es354.js.map +1 -0
- package/dist/index.es355.js +7 -0
- package/dist/index.es355.js.map +1 -0
- package/dist/index.es356.js +7 -0
- package/dist/index.es356.js.map +1 -0
- package/dist/index.es357.js +28 -0
- package/dist/index.es357.js.map +1 -0
- package/dist/index.es358.js +261 -0
- package/dist/index.es358.js.map +1 -0
- package/dist/index.es359.js +108 -0
- package/dist/index.es359.js.map +1 -0
- package/dist/index.es360.js +206 -0
- package/dist/index.es360.js.map +1 -0
- package/dist/index.es361.js +45 -0
- package/dist/index.es361.js.map +1 -0
- package/dist/index.es362.js +18 -0
- package/dist/index.es362.js.map +1 -0
- package/dist/index.es363.js +11 -0
- package/dist/index.es363.js.map +1 -0
- package/dist/index.es364.js +64 -0
- package/dist/index.es364.js.map +1 -0
- package/dist/index.es365.js +50 -0
- package/dist/index.es365.js.map +1 -0
- package/dist/index.es366.js +45 -0
- package/dist/index.es366.js.map +1 -0
- package/dist/index.es367.js +92 -0
- package/dist/index.es367.js.map +1 -0
- package/dist/index.es368.js +89 -0
- package/dist/index.es368.js.map +1 -0
- package/dist/index.es369.js +57 -0
- package/dist/index.es369.js.map +1 -0
- package/dist/index.es370.js +61 -0
- package/dist/index.es370.js.map +1 -0
- package/dist/index.es371.js +58 -0
- package/dist/index.es371.js.map +1 -0
- package/dist/index.es372.js +147 -0
- package/dist/index.es372.js.map +1 -0
- package/dist/index.es373.js +58 -0
- package/dist/index.es373.js.map +1 -0
- package/dist/index.es374.js +85 -0
- package/dist/index.es374.js.map +1 -0
- package/dist/index.es375.js +9 -0
- package/dist/index.es375.js.map +1 -0
- package/dist/index.es376.js +48 -0
- package/dist/index.es376.js.map +1 -0
- package/dist/index.es377.js +13 -0
- package/dist/index.es377.js.map +1 -0
- package/dist/index.es378.js +35 -0
- package/dist/index.es378.js.map +1 -0
- package/dist/index.es379.js +31 -0
- package/dist/index.es379.js.map +1 -0
- package/dist/index.es38.js +1 -1
- package/dist/index.es380.js +1360 -0
- package/dist/index.es380.js.map +1 -0
- package/dist/index.es381.js +9 -0
- package/dist/index.es381.js.map +1 -0
- package/dist/index.es382.js +12 -0
- package/dist/index.es382.js.map +1 -0
- package/dist/index.es383.js +10 -0
- package/dist/index.es383.js.map +1 -0
- package/dist/index.es384.js +120 -0
- package/dist/index.es384.js.map +1 -0
- package/dist/index.es385.js +105 -0
- package/dist/index.es385.js.map +1 -0
- package/dist/index.es386.js +23 -0
- package/dist/index.es386.js.map +1 -0
- package/dist/index.es387.js +95 -0
- package/dist/index.es387.js.map +1 -0
- package/dist/index.es388.js +68 -0
- package/dist/index.es388.js.map +1 -0
- package/dist/index.es389.js +16 -0
- package/dist/index.es389.js.map +1 -0
- package/dist/index.es39.js +1 -1
- package/dist/index.es390.js +61 -0
- package/dist/index.es390.js.map +1 -0
- package/dist/index.es391.js +55 -0
- package/dist/index.es391.js.map +1 -0
- package/dist/index.es392.js +23 -0
- package/dist/index.es392.js.map +1 -0
- package/dist/index.es393.js +34 -0
- package/dist/index.es393.js.map +1 -0
- package/dist/index.es394.js +47 -0
- package/dist/index.es394.js.map +1 -0
- package/dist/index.es395.js +35 -0
- package/dist/index.es395.js.map +1 -0
- package/dist/index.es396.js +59 -0
- package/dist/index.es396.js.map +1 -0
- package/dist/index.es397.js +62 -0
- package/dist/index.es397.js.map +1 -0
- package/dist/index.es398.js +32 -0
- package/dist/index.es398.js.map +1 -0
- package/dist/index.es399.js +53 -0
- package/dist/index.es399.js.map +1 -0
- package/dist/index.es40.js +2 -2
- package/dist/index.es400.js +128 -0
- package/dist/index.es400.js.map +1 -0
- package/dist/index.es401.js +44 -0
- package/dist/index.es401.js.map +1 -0
- package/dist/index.es402.js +29 -0
- package/dist/index.es402.js.map +1 -0
- package/dist/index.es403.js +37 -0
- package/dist/index.es403.js.map +1 -0
- package/dist/index.es404.js +28 -0
- package/dist/index.es404.js.map +1 -0
- package/dist/index.es405.js +69 -0
- package/dist/index.es405.js.map +1 -0
- package/dist/index.es406.js +49 -0
- package/dist/index.es406.js.map +1 -0
- package/dist/index.es407.js +27 -0
- package/dist/index.es407.js.map +1 -0
- package/dist/index.es408.js +48 -0
- package/dist/index.es408.js.map +1 -0
- package/dist/index.es409.js +19 -0
- package/dist/index.es409.js.map +1 -0
- package/dist/index.es410.js +38 -0
- package/dist/index.es410.js.map +1 -0
- package/dist/index.es411.js +49 -0
- package/dist/index.es411.js.map +1 -0
- package/dist/index.es412.js +35 -0
- package/dist/index.es412.js.map +1 -0
- package/dist/index.es413.js +37 -0
- package/dist/index.es413.js.map +1 -0
- package/dist/index.es414.js +29 -0
- package/dist/index.es414.js.map +1 -0
- package/dist/index.es415.js +68 -0
- package/dist/index.es415.js.map +1 -0
- package/dist/index.es416.js +105 -0
- package/dist/index.es416.js.map +1 -0
- package/dist/index.es417.js +27 -0
- package/dist/index.es417.js.map +1 -0
- package/dist/index.es418.js +111 -0
- package/dist/index.es418.js.map +1 -0
- package/dist/index.es419.js +50 -0
- package/dist/index.es419.js.map +1 -0
- package/dist/index.es42.js +2 -2
- package/dist/index.es420.js +36 -0
- package/dist/index.es420.js.map +1 -0
- package/dist/index.es421.js +56 -0
- package/dist/index.es421.js.map +1 -0
- package/dist/index.es422.js +174 -0
- package/dist/index.es422.js.map +1 -0
- package/dist/index.es423.js +61 -0
- package/dist/index.es423.js.map +1 -0
- package/dist/index.es424.js +62 -0
- package/dist/index.es424.js.map +1 -0
- package/dist/index.es425.js +87 -0
- package/dist/index.es425.js.map +1 -0
- package/dist/index.es426.js +26 -0
- package/dist/index.es426.js.map +1 -0
- package/dist/index.es427.js +56 -0
- package/dist/index.es427.js.map +1 -0
- package/dist/index.es428.js +55 -0
- package/dist/index.es428.js.map +1 -0
- package/dist/index.es429.js +8 -0
- package/dist/index.es429.js.map +1 -0
- package/dist/index.es43.js +2 -2
- package/dist/index.es430.js +8 -0
- package/dist/index.es430.js.map +1 -0
- package/dist/index.es431.js +23 -0
- package/dist/index.es431.js.map +1 -0
- package/dist/index.es432.js +7 -0
- package/dist/index.es432.js.map +1 -0
- package/dist/index.es433.js +11 -0
- package/dist/index.es433.js.map +1 -0
- package/dist/index.es434.js +10 -0
- package/dist/index.es434.js.map +1 -0
- package/dist/index.es435.js +7 -0
- package/dist/index.es435.js.map +1 -0
- package/dist/index.es436.js +5 -0
- package/dist/index.es436.js.map +1 -0
- package/dist/index.es437.js +9 -0
- package/dist/index.es437.js.map +1 -0
- package/dist/index.es438.js +13 -0
- package/dist/index.es438.js.map +1 -0
- package/dist/index.es439.js +8 -0
- package/dist/index.es439.js.map +1 -0
- package/dist/index.es44.js +2 -2
- package/dist/index.es440.js +7 -0
- package/dist/index.es440.js.map +1 -0
- package/dist/index.es441.js +6 -0
- package/dist/index.es441.js.map +1 -0
- package/dist/index.es442.js +7 -0
- package/dist/index.es442.js.map +1 -0
- package/dist/index.es443.js +9 -0
- package/dist/index.es443.js.map +1 -0
- package/dist/index.es444.js +11 -0
- package/dist/index.es444.js.map +1 -0
- package/dist/index.es445.js +8 -0
- package/dist/index.es445.js.map +1 -0
- package/dist/index.es446.js +10 -0
- package/dist/index.es446.js.map +1 -0
- package/dist/index.es447.js +9 -0
- package/dist/index.es447.js.map +1 -0
- package/dist/index.es448.js +12 -0
- package/dist/index.es448.js.map +1 -0
- package/dist/index.es449.js +8 -0
- package/dist/index.es449.js.map +1 -0
- package/dist/index.es450.js +10 -0
- package/dist/index.es450.js.map +1 -0
- package/dist/index.es451.js +10 -0
- package/dist/index.es451.js.map +1 -0
- package/dist/index.es452.js +8 -0
- package/dist/index.es452.js.map +1 -0
- package/dist/index.es453.js +13 -0
- package/dist/index.es453.js.map +1 -0
- package/dist/index.es454.js +10 -0
- package/dist/index.es454.js.map +1 -0
- package/dist/index.es455.js +21 -0
- package/dist/index.es455.js.map +1 -0
- package/dist/index.es456.js +15 -0
- package/dist/index.es456.js.map +1 -0
- package/dist/index.es457.js +7 -0
- package/dist/index.es457.js.map +1 -0
- package/dist/index.es458.js +9 -0
- package/dist/index.es458.js.map +1 -0
- package/dist/index.es459.js +19 -0
- package/dist/index.es459.js.map +1 -0
- package/dist/index.es46.js +1 -1
- package/dist/index.es460.js +11 -0
- package/dist/index.es460.js.map +1 -0
- package/dist/index.es461.js +44 -0
- package/dist/index.es461.js.map +1 -0
- package/dist/index.es462.js +80 -0
- package/dist/index.es462.js.map +1 -0
- package/dist/index.es463.js +108 -0
- package/dist/index.es463.js.map +1 -0
- package/dist/index.es464.js +34 -0
- package/dist/index.es464.js.map +1 -0
- package/dist/index.es465.js +25 -0
- package/dist/index.es465.js.map +1 -0
- package/dist/index.es466.js +14 -0
- package/dist/index.es466.js.map +1 -0
- package/dist/index.es467.js +721 -0
- package/dist/index.es467.js.map +1 -0
- package/dist/index.es468.js +26 -0
- package/dist/index.es468.js.map +1 -0
- package/dist/index.es469.js +24 -0
- package/dist/index.es469.js.map +1 -0
- package/dist/index.es47.js +2 -2
- package/dist/index.es470.js +178 -0
- package/dist/index.es470.js.map +1 -0
- package/dist/index.es471.js +24 -0
- package/dist/index.es471.js.map +1 -0
- package/dist/index.es472.js +241 -0
- package/dist/index.es472.js.map +1 -0
- package/dist/index.es473.js +11 -0
- package/dist/index.es473.js.map +1 -0
- package/dist/index.es474.js +13 -0
- package/dist/index.es474.js.map +1 -0
- package/dist/index.es475.js +9 -0
- package/dist/index.es475.js.map +1 -0
- package/dist/index.es476.js +18 -0
- package/dist/index.es476.js.map +1 -0
- package/dist/index.es477.js +26 -0
- package/dist/index.es477.js.map +1 -0
- package/dist/index.es478.js +12 -0
- package/dist/index.es478.js.map +1 -0
- package/dist/index.es479.js +8 -0
- package/dist/index.es479.js.map +1 -0
- package/dist/index.es48.js +2 -2
- package/dist/index.es480.js +118 -0
- package/dist/index.es480.js.map +1 -0
- package/dist/index.es481.js +90 -0
- package/dist/index.es481.js.map +1 -0
- package/dist/index.es482.js +78 -0
- package/dist/index.es482.js.map +1 -0
- package/dist/index.es483.js +13 -0
- package/dist/index.es483.js.map +1 -0
- package/dist/index.es484.js +158 -0
- package/dist/index.es484.js.map +1 -0
- package/dist/index.es485.js +160 -0
- package/dist/index.es485.js.map +1 -0
- package/dist/index.es486.js +18 -0
- package/dist/index.es486.js.map +1 -0
- package/dist/index.es487.js +19 -0
- package/dist/index.es487.js.map +1 -0
- package/dist/index.es488.js +9 -0
- package/dist/index.es488.js.map +1 -0
- package/dist/index.es489.js +10 -0
- package/dist/index.es489.js.map +1 -0
- package/dist/index.es490.js +10 -0
- package/dist/index.es490.js.map +1 -0
- package/dist/index.es491.js +29 -0
- package/dist/index.es491.js.map +1 -0
- package/dist/index.es492.js +9 -0
- package/dist/index.es492.js.map +1 -0
- package/dist/index.es493.js +43 -0
- package/dist/index.es493.js.map +1 -0
- package/dist/index.es494.js +10 -0
- package/dist/index.es494.js.map +1 -0
- package/dist/index.es495.js +11 -0
- package/dist/index.es495.js.map +1 -0
- package/dist/index.es496.js +9 -0
- package/dist/index.es496.js.map +1 -0
- package/dist/index.es497.js +9 -0
- package/dist/index.es497.js.map +1 -0
- package/dist/index.es498.js +6 -0
- package/dist/index.es498.js.map +1 -0
- package/dist/index.es499.js +42 -0
- package/dist/index.es499.js.map +1 -0
- package/dist/index.es50.js +1 -1
- package/dist/index.es500.js +6 -0
- package/dist/index.es500.js.map +1 -0
- package/dist/index.es501.js +16 -0
- package/dist/index.es501.js.map +1 -0
- package/dist/index.es502.js +8 -0
- package/dist/index.es502.js.map +1 -0
- package/dist/index.es503.js +12 -0
- package/dist/index.es503.js.map +1 -0
- package/dist/index.es504.js +5 -0
- package/dist/index.es504.js.map +1 -0
- package/dist/index.es505.js +33 -0
- package/dist/index.es505.js.map +1 -0
- package/dist/index.es506.js +19 -0
- package/dist/index.es506.js.map +1 -0
- package/dist/index.es507.js +8 -0
- package/dist/index.es507.js.map +1 -0
- package/dist/index.es508.js +6 -0
- package/dist/index.es508.js.map +1 -0
- package/dist/index.es509.js +9 -0
- package/dist/index.es509.js.map +1 -0
- package/dist/index.es51.js +1 -1
- package/dist/index.es510.js +9 -0
- package/dist/index.es510.js.map +1 -0
- package/dist/index.es511.js +9 -0
- package/dist/index.es511.js.map +1 -0
- package/dist/index.es512.js +7 -0
- package/dist/index.es512.js.map +1 -0
- package/dist/index.es513.js +7 -0
- package/dist/index.es513.js.map +1 -0
- package/dist/index.es514.js +7 -0
- package/dist/index.es514.js.map +1 -0
- package/dist/index.es515.js +7 -0
- package/dist/index.es515.js.map +1 -0
- package/dist/index.es516.js +7 -0
- package/dist/index.es516.js.map +1 -0
- package/dist/index.es517.js +18 -0
- package/dist/index.es517.js.map +1 -0
- package/dist/index.es518.js +11 -0
- package/dist/index.es518.js.map +1 -0
- package/dist/index.es519.js +7 -0
- package/dist/index.es519.js.map +1 -0
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +15 -0
- package/dist/index.es520.js.map +1 -0
- package/dist/index.es521.js +9 -0
- package/dist/index.es521.js.map +1 -0
- package/dist/index.es522.js +7 -0
- package/dist/index.es522.js.map +1 -0
- package/dist/index.es523.js +8 -0
- package/dist/index.es523.js.map +1 -0
- package/dist/index.es524.js +9 -0
- package/dist/index.es524.js.map +1 -0
- package/dist/index.es525.js +10 -0
- package/dist/index.es525.js.map +1 -0
- package/dist/index.es526.js +9 -0
- package/dist/index.es526.js.map +1 -0
- package/dist/index.es527.js +9 -0
- package/dist/index.es527.js.map +1 -0
- package/dist/index.es528.js +11 -0
- package/dist/index.es528.js.map +1 -0
- package/dist/index.es529.js +14 -0
- package/dist/index.es529.js.map +1 -0
- package/dist/index.es530.js +28 -0
- package/dist/index.es530.js.map +1 -0
- package/dist/index.es531.js +8 -0
- package/dist/index.es531.js.map +1 -0
- package/dist/index.es532.js +9 -0
- package/dist/index.es532.js.map +1 -0
- package/dist/index.es533.js +11 -0
- package/dist/index.es533.js.map +1 -0
- package/dist/index.es534.js +7 -0
- package/dist/index.es534.js.map +1 -0
- package/dist/index.es535.js +7 -0
- package/dist/index.es535.js.map +1 -0
- package/dist/index.es536.js +7 -0
- package/dist/index.es536.js.map +1 -0
- package/dist/index.es537.js +7 -0
- package/dist/index.es537.js.map +1 -0
- package/dist/index.es538.js +7 -0
- package/dist/index.es538.js.map +1 -0
- package/dist/index.es539.js +8 -0
- package/dist/index.es539.js.map +1 -0
- package/dist/index.es540.js +9 -0
- package/dist/index.es540.js.map +1 -0
- package/dist/index.es541.js +12 -0
- package/dist/index.es541.js.map +1 -0
- package/dist/index.es542.js +8 -0
- package/dist/index.es542.js.map +1 -0
- package/dist/index.es543.js +9 -0
- package/dist/index.es543.js.map +1 -0
- package/dist/index.es544.js +8 -0
- package/dist/index.es544.js.map +1 -0
- package/dist/index.es545.js +7 -0
- package/dist/index.es545.js.map +1 -0
- package/dist/index.es546.js +14 -0
- package/dist/index.es546.js.map +1 -0
- package/dist/index.es547.js +34 -0
- package/dist/index.es547.js.map +1 -0
- package/dist/index.es548.js +83 -0
- package/dist/index.es548.js.map +1 -0
- package/dist/index.es549.js +20 -0
- package/dist/index.es549.js.map +1 -0
- package/dist/index.es550.js +50 -0
- package/dist/index.es550.js.map +1 -0
- package/dist/index.es551.js +227 -0
- package/dist/index.es551.js.map +1 -0
- package/dist/index.es552.js +21 -0
- package/dist/index.es552.js.map +1 -0
- package/dist/index.es553.js +14 -0
- package/dist/index.es553.js.map +1 -0
- package/dist/index.es554.js +9 -0
- package/dist/index.es554.js.map +1 -0
- package/dist/index.es555.js +8 -0
- package/dist/index.es555.js.map +1 -0
- package/dist/index.es556.js +8 -0
- package/dist/index.es556.js.map +1 -0
- package/dist/index.es557.js +9 -0
- package/dist/index.es557.js.map +1 -0
- package/dist/index.es558.js +10 -0
- package/dist/index.es558.js.map +1 -0
- package/dist/index.es559.js +10 -0
- package/dist/index.es559.js.map +1 -0
- package/dist/index.es56.js +2 -2
- package/dist/index.es560.js +10 -0
- package/dist/index.es560.js.map +1 -0
- package/dist/index.es561.js +10 -0
- package/dist/index.es561.js.map +1 -0
- package/dist/index.es562.js +17 -0
- package/dist/index.es562.js.map +1 -0
- package/dist/index.es563.js +12 -0
- package/dist/index.es563.js.map +1 -0
- package/dist/index.es564.js +3029 -0
- package/dist/index.es564.js.map +1 -0
- package/dist/index.es565.js +5 -0
- package/dist/index.es565.js.map +1 -0
- package/dist/index.es566.js +11 -0
- package/dist/index.es566.js.map +1 -0
- package/dist/index.es567.js +10 -0
- package/dist/index.es567.js.map +1 -0
- package/dist/index.es568.js +21 -0
- package/dist/index.es568.js.map +1 -0
- package/dist/index.es569.js +14 -0
- package/dist/index.es569.js.map +1 -0
- package/dist/index.es57.js +3 -3
- package/dist/index.es570.js +8 -0
- package/dist/index.es570.js.map +1 -0
- package/dist/index.es571.js +7 -0
- package/dist/index.es571.js.map +1 -0
- package/dist/index.es572.js +7 -0
- package/dist/index.es572.js.map +1 -0
- package/dist/index.es573.js +21 -0
- package/dist/index.es573.js.map +1 -0
- package/dist/index.es574.js +8 -0
- package/dist/index.es574.js.map +1 -0
- package/dist/index.es575.js +8 -0
- package/dist/index.es575.js.map +1 -0
- package/dist/index.es576.js +7 -0
- package/dist/index.es576.js.map +1 -0
- package/dist/index.es577.js +7 -0
- package/dist/index.es577.js.map +1 -0
- package/dist/index.es578.js +18 -0
- package/dist/index.es578.js.map +1 -0
- package/dist/index.es579.js +10 -0
- package/dist/index.es579.js.map +1 -0
- package/dist/index.es58.js +1 -1
- package/dist/index.es580.js +11 -0
- package/dist/index.es580.js.map +1 -0
- package/dist/index.es581.js +9 -0
- package/dist/index.es581.js.map +1 -0
- package/dist/index.es582.js +9 -0
- package/dist/index.es582.js.map +1 -0
- package/dist/index.es583.js +9 -0
- package/dist/index.es583.js.map +1 -0
- package/dist/index.es584.js +9 -0
- package/dist/index.es584.js.map +1 -0
- package/dist/index.es585.js +9 -0
- package/dist/index.es585.js.map +1 -0
- package/dist/index.es586.js +9 -0
- package/dist/index.es586.js.map +1 -0
- package/dist/index.es587.js +10 -0
- package/dist/index.es587.js.map +1 -0
- package/dist/index.es588.js +41 -0
- package/dist/index.es588.js.map +1 -0
- package/dist/index.es589.js +46 -0
- package/dist/index.es589.js.map +1 -0
- package/dist/index.es590.js +37 -0
- package/dist/index.es590.js.map +1 -0
- package/dist/index.es591.js +8 -0
- package/dist/index.es591.js.map +1 -0
- package/dist/index.es592.js +8 -0
- package/dist/index.es592.js.map +1 -0
- package/dist/index.es593.js +7 -0
- package/dist/index.es593.js.map +1 -0
- package/dist/index.es594.js +21 -0
- package/dist/index.es594.js.map +1 -0
- package/dist/index.es595.js +9 -0
- package/dist/index.es595.js.map +1 -0
- package/dist/index.es596.js +47 -0
- package/dist/index.es596.js.map +1 -0
- package/dist/index.es597.js +6 -0
- package/dist/index.es597.js.map +1 -0
- package/dist/index.es598.js +25 -0
- package/dist/index.es598.js.map +1 -0
- package/dist/index.es599.js +37 -0
- package/dist/index.es599.js.map +1 -0
- package/dist/index.es60.js +1 -1
- package/dist/index.es600.js +174 -0
- package/dist/index.es600.js.map +1 -0
- package/dist/index.es601.js +31 -0
- package/dist/index.es601.js.map +1 -0
- package/dist/index.es602.js +7 -0
- package/dist/index.es602.js.map +1 -0
- package/dist/index.es603.js +13 -0
- package/dist/index.es603.js.map +1 -0
- package/dist/index.es604.js +9 -0
- package/dist/index.es604.js.map +1 -0
- package/dist/index.es605.js +8 -0
- package/dist/index.es605.js.map +1 -0
- package/dist/index.es606.js +9 -0
- package/dist/index.es606.js.map +1 -0
- package/dist/index.es607.js +6 -0
- package/dist/index.es607.js.map +1 -0
- package/dist/index.es608.js +7 -0
- package/dist/index.es608.js.map +1 -0
- package/dist/index.es609.js +8 -0
- package/dist/index.es609.js.map +1 -0
- package/dist/index.es61.js +1 -1
- package/dist/index.es610.js +8 -0
- package/dist/index.es610.js.map +1 -0
- package/dist/index.es611.js +14 -0
- package/dist/index.es611.js.map +1 -0
- package/dist/index.es612.js +10 -0
- package/dist/index.es612.js.map +1 -0
- package/dist/index.es613.js +10 -0
- package/dist/index.es613.js.map +1 -0
- package/dist/index.es614.js +8 -0
- package/dist/index.es614.js.map +1 -0
- package/dist/index.es615.js +215 -0
- package/dist/index.es615.js.map +1 -0
- package/dist/index.es616.js +246 -0
- package/dist/index.es616.js.map +1 -0
- package/dist/index.es617.js +39 -0
- package/dist/index.es617.js.map +1 -0
- package/dist/index.es618.js +18 -0
- package/dist/index.es618.js.map +1 -0
- package/dist/index.es619.js +567 -0
- package/dist/index.es619.js.map +1 -0
- package/dist/index.es620.js +59 -0
- package/dist/index.es620.js.map +1 -0
- package/dist/index.es621.js +338 -0
- package/dist/index.es621.js.map +1 -0
- package/dist/index.es622.js +1103 -0
- package/dist/index.es622.js.map +1 -0
- package/dist/index.es623.js +41 -0
- package/dist/index.es623.js.map +1 -0
- package/dist/index.es624.js +39 -0
- package/dist/index.es624.js.map +1 -0
- package/dist/index.es625.js +51 -0
- package/dist/index.es625.js.map +1 -0
- package/dist/index.es626.js +65 -0
- package/dist/index.es626.js.map +1 -0
- package/dist/index.es627.js +11 -0
- package/dist/index.es627.js.map +1 -0
- package/dist/index.es628.js +6 -0
- package/dist/index.es628.js.map +1 -0
- package/dist/index.es629.js +298 -0
- package/dist/index.es629.js.map +1 -0
- package/dist/index.es63.js +1 -1
- package/dist/index.es630.js +27 -0
- package/dist/index.es630.js.map +1 -0
- package/dist/index.es631.js +53 -0
- package/dist/index.es631.js.map +1 -0
- package/dist/index.es632.js +9 -0
- package/dist/index.es632.js.map +1 -0
- package/dist/index.es67.js +10 -6
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +163 -13731
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +1 -1
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +15 -15
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +1 -1
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +4 -4
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +10 -10
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es93.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs221.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs221.js","sources":["../node_modules/underscore/modules/_executeBound.js"],"sourcesContent":["import baseCreate from './_baseCreate.js';\nimport isObject from './isObject.js';\n\n// Internal function to execute `sourceFunc` bound to `context` with optional\n// `args`. Determines whether to execute a function as a constructor or as a\n// normal function.\nexport default function executeBound(sourceFunc, boundFunc, context, callingContext, args) {\n if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args);\n var self = baseCreate(sourceFunc.prototype);\n var result = sourceFunc.apply(self, args);\n if (isObject(result)) return result;\n return self;\n}\n"],"names":["executeBound","sourceFunc","boundFunc","context","callingContext","args","self","baseCreate","result","isObject"],"mappings":"gFAMA,SAAwBA,EAAaC,EAAYC,EAAWC,EAASC,EAAgBC,EAAM,CACzF,GAAI,EAAED,aAA0BF,UAAmBD,EAAW,MAAME,EAASE,CAAI,EACjF,IAAIC,EAAOC,EAAWN,EAAW,SAAS,EACtCO,EAASP,EAAW,MAAMK,EAAMD,CAAI,EACxC,OAAII,EAASD,CAAM,EAAUA,EACtBF,CACT","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs221.js","sources":["../../../node_modules/@allmaps/render/dist/renderers/WebGL2Renderer.js"],"sourcesContent":["import { homogeneousTransformToMatrix4, invertHomogeneousTransform, multiplyHomogeneousTransform } from \"../shared/homogeneous-transform.js\";\nimport { Viewport } from \"../viewport/Viewport.js\";\nimport { WarpedMapEvent, WarpedMapEventType } from \"../shared/events.js\";\nimport { createProgram, createShader } from \"../shared/webgl2.js\";\nimport { createWebGL2WarpedMapFactory } from \"../maps/WebGL2WarpedMap.js\";\nimport { DEFAULT_ANIMATION_OPTIONS } from \"../maps/WarpedMapList.js\";\nimport { BaseRenderer } from \"./BaseRenderer.js\";\nimport { CacheableWorkerImageDataTile } from \"../tilecache/CacheableWorkerImageDataTile.js\";\nimport vertex_shader_default from \"../shaders/map/vertex-shader.js\";\nimport fragment_shader_default from \"../shaders/map/fragment-shader.js\";\nimport vertex_shader_default$1 from \"../shaders/lines/vertex-shader.js\";\nimport fragment_shader_default$1 from \"../shaders/lines/fragment-shader.js\";\nimport vertex_shader_default$2 from \"../shaders/points/vertex-shader.js\";\nimport fragment_shader_default$2 from \"../shaders/points/fragment-shader.js\";\nimport WorkerWrapper from \"../workers/fetch-and-get-image-data.js\";\nimport WorkerWrapper$1 from \"../workers/apply-sprites-image-data.js\";\nimport { hexToFractionalOpaqueRgba, hexToFractionalRgb, mergeOptions, squaredDistance } from \"@allmaps/stdlib\";\nimport { throttle } from \"lodash-es\";\nimport { wrap } from \"comlink\";\nimport { supportedDistortionMeasures } from \"@allmaps/transform\";\n//#region src/renderers/WebGL2Renderer.ts\nvar THROTTLE_PREPARE_RENDER_WAIT_MS = 200;\nvar THROTTLE_PREPARE_RENDER_OPTIONS = {\n\tleading: true,\n\ttrailing: true\n};\nvar THROTTLE_CHANGED_WAIT_MS = 50;\nvar THROTTLE_CHANGED_OPTIONS = {\n\tleading: true,\n\ttrailing: true\n};\nvar SIGNIFICANT_VIEWPORT_EPSILON = 100 * Number.EPSILON;\nvar SIGNIFICANT_VIEWPORT_DISTANCE = 5;\n/**\n* Class that renders WarpedMaps to a WebGL 2 context\n*/\nvar WebGL2Renderer = class extends BaseRenderer {\n\t#worker;\n\t#spritesWorker;\n\tDEFAULT_SPECIFIC_WEBGL2_RENDER_OPTIONS;\n\tgl;\n\tmapProgram;\n\tlinesProgram;\n\tpointsProgram;\n\t#uniformCache;\n\tpreviousSignificantViewport;\n\tlastAnimationFrameRequestId;\n\tanimating = false;\n\tanimationStart;\n\tanimationProgress = 0;\n\tdisableRender = false;\n\t#throttledPrepareRenderInternal;\n\t#throttledChanged;\n\t#boundThrottledChangedByMapId;\n\t/**\n\t* Creates an instance of WebGL2Renderer.\n\t*\n\t* @constructor\n\t* @param gl - WebGL 2 rendering context\n\t* @param options - options\n\t*/\n\tconstructor(gl, options) {\n\t\tconst mapVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default);\n\t\tconst mapFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default);\n\t\tconst linesVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default$1);\n\t\tconst linesFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default$1);\n\t\tconst pointsVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default$2);\n\t\tconst pointsFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default$2);\n\t\tconst mapProgram = createProgram(gl, mapVertexShader, mapFragmentShader);\n\t\tconst linesProgram = createProgram(gl, linesVertexShader, linesFragmentShader);\n\t\tconst pointsProgram = createProgram(gl, pointsVertexShader, pointsFragmentShader);\n\t\tconst worker = new WorkerWrapper();\n\t\tconst spritesWorker = new WorkerWrapper$1();\n\t\tconst wrappedWorker = wrap(worker);\n\t\tconst wrappedSpritesWorker = wrap(spritesWorker);\n\t\tconst defaultSpecificWebGL2RenderOptions = {\n\t\t\twarpedMapFactory: createWebGL2WarpedMapFactory(gl, mapProgram, linesProgram, pointsProgram),\n\t\t\tanticipateInteraction: true\n\t\t};\n\t\tsuper(CacheableWorkerImageDataTile.createFactory(wrappedWorker, wrappedSpritesWorker), mergeOptions(defaultSpecificWebGL2RenderOptions, options));\n\t\tthis.#worker = worker;\n\t\tthis.#spritesWorker = spritesWorker;\n\t\tthis.gl = gl;\n\t\tthis.#boundThrottledChangedByMapId = /* @__PURE__ */ new Map();\n\t\tthis.DEFAULT_SPECIFIC_WEBGL2_RENDER_OPTIONS = defaultSpecificWebGL2RenderOptions;\n\t\tthis.mapProgram = mapProgram;\n\t\tthis.linesProgram = linesProgram;\n\t\tthis.pointsProgram = pointsProgram;\n\t\tthis.#uniformCache = /* @__PURE__ */ new Map();\n\t\tgl.deleteShader(mapVertexShader);\n\t\tgl.deleteShader(mapFragmentShader);\n\t\tgl.deleteShader(mapVertexShader);\n\t\tgl.deleteShader(mapFragmentShader);\n\t\tgl.deleteShader(mapVertexShader);\n\t\tgl.deleteShader(mapFragmentShader);\n\t\tgl.disable(gl.DEPTH_TEST);\n\t\tthis.addEventListeners();\n\t\tthis.#throttledPrepareRenderInternal = throttle(this.#prepareRenderInternal.bind(this), THROTTLE_PREPARE_RENDER_WAIT_MS, THROTTLE_PREPARE_RENDER_OPTIONS);\n\t\tthis.#throttledChanged = throttle(this.#changed.bind(this), THROTTLE_CHANGED_WAIT_MS, THROTTLE_CHANGED_OPTIONS);\n\t\tthis.warpedMapList.updateWarpedMapsUsingFactory();\n\t}\n\tinitializeWebGL(gl) {\n\t\tconst mapVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default);\n\t\tconst mapFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default);\n\t\tconst linesVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default$1);\n\t\tconst linesFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default$1);\n\t\tconst pointsVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default$2);\n\t\tconst pointsFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default$2);\n\t\tconst mapProgram = createProgram(gl, mapVertexShader, mapFragmentShader);\n\t\tconst linesProgram = createProgram(gl, linesVertexShader, linesFragmentShader);\n\t\tconst pointsProgram = createProgram(gl, pointsVertexShader, pointsFragmentShader);\n\t\tthis.gl = gl;\n\t\tthis.mapProgram = mapProgram;\n\t\tthis.linesProgram = linesProgram;\n\t\tthis.pointsProgram = pointsProgram;\n\t\tthis.#uniformCache = /* @__PURE__ */ new Map();\n\t\tgl.disable(gl.DEPTH_TEST);\n\t\tfor (const webgl2WarpedMap of this.warpedMapList.getWarpedMaps()) webgl2WarpedMap.initializeWebGL(mapProgram, linesProgram, pointsProgram);\n\t}\n\t/**\n\t* Get the default options of the renderer and list\n\t*/\n\tgetDefaultOptions() {\n\t\treturn mergeOptions(super.getDefaultOptions(), this.DEFAULT_SPECIFIC_WEBGL2_RENDER_OPTIONS);\n\t}\n\t/**\n\t* Render the map for a given viewport.\n\t*\n\t* If no viewport is specified the current viewport is rerendered.\n\t* If no current viewport is known, a viewport is deduced based on the WarpedMapList and canvas width and hight.\n\t*\n\t* @param viewport - the current viewport\n\t*/\n\trender(viewport) {\n\t\tif (this.disableRender) return;\n\t\tthis.viewport = viewport || this.viewport || Viewport.fromSizeAndMaps([this.gl.canvas.width, this.gl.canvas.width], this.warpedMapList);\n\t\tthis.loadMissingImagesInViewport();\n\t\tif (this.someImagesInViewport()) this.#throttledPrepareRenderInternal();\n\t\tthis.#renderInternal();\n\t}\n\tclear() {\n\t\tthis.warpedMapList.clear();\n\t\tthis.mapsInViewport = /* @__PURE__ */ new Set();\n\t\tthis.mapsWithFetchableTilesForViewport = /* @__PURE__ */ new Set();\n\t\tthis.gl.clear(this.gl.DEPTH_BUFFER_BIT | this.gl.COLOR_BUFFER_BIT);\n\t\tthis.tileCache.clear();\n\t}\n\tcancelThrottledFunctions() {\n\t\tthis.#throttledPrepareRenderInternal.cancel();\n\t\tthis.#throttledChanged.cancel();\n\t}\n\tdestroy() {\n\t\tthis.cancelThrottledFunctions();\n\t\tfor (const webgl2WarpedMap of this.warpedMapList.getWarpedMaps()) this.#removeEventListenersFromWebGL2WarpedMap(webgl2WarpedMap);\n\t\tthis.removeEventListeners();\n\t\tsuper.destroy();\n\t\tthis.gl.deleteProgram(this.mapProgram);\n\t\tthis.gl.deleteProgram(this.linesProgram);\n\t\tthis.gl.deleteProgram(this.pointsProgram);\n\t\tthis.#worker.terminate();\n\t\tthis.#spritesWorker.terminate();\n\t}\n\t#getUniformLocation(gl, program, name) {\n\t\tlet programCache = this.#uniformCache.get(program);\n\t\tif (!programCache) {\n\t\t\tprogramCache = /* @__PURE__ */ new Map();\n\t\t\tthis.#uniformCache.set(program, programCache);\n\t\t}\n\t\tif (!programCache.has(name)) {\n\t\t\tconst location = gl.getUniformLocation(program, name);\n\t\t\tprogramCache.set(name, location);\n\t\t}\n\t\treturn programCache.get(name);\n\t}\n\tupdateMapsForViewport(allFechableTilesForViewport) {\n\t\tconst { mapsWithFetchableTilesForViewportEntering, mapsWithFetchableTilesForViewportLeaving, mapsInViewportEntering, mapsInViewportLeaving } = super.updateMapsForViewport(allFechableTilesForViewport);\n\t\tthis.updateVertexBuffers(mapsWithFetchableTilesForViewportEntering);\n\t\treturn {\n\t\t\tmapsWithFetchableTilesForViewportEntering,\n\t\t\tmapsWithFetchableTilesForViewportLeaving,\n\t\t\tmapsInViewportEntering,\n\t\t\tmapsInViewportLeaving\n\t\t};\n\t}\n\tresetPrevious() {\n\t\tconst webgl2WarpedMaps = this.warpedMapList.getWarpedMaps();\n\t\tfor (const webgl2WarpedMap of webgl2WarpedMaps) webgl2WarpedMap.resetPrevious();\n\t}\n\tupdateVertexBuffers(mapIds) {\n\t\tif (!this.viewport) return;\n\t\tconst webgl2WarpedMaps = this.warpedMapList.getWarpedMaps({ mapIds });\n\t\tfor (const webgl2WarpedMap of webgl2WarpedMaps) webgl2WarpedMap.updateVertexBuffers(this.viewport.projectedGeoToClipHomogeneousTransform);\n\t}\n\t#prepareRenderInternal() {\n\t\tthis.assureProjection();\n\t\tthis.requestFetchableTiles();\n\t}\n\tshouldRequestFetchableTiles() {\n\t\tif (!this.viewport) return false;\n\t\tif (this.animating) return false;\n\t\tif (!this.previousSignificantViewport) {\n\t\t\tthis.previousSignificantViewport = this.viewport;\n\t\t\treturn true;\n\t\t} else {\n\t\t\tconst rectangleSquaredDistances = [];\n\t\t\tfor (let i = 0; i < 4; i++) rectangleSquaredDistances.push(squaredDistance(this.previousSignificantViewport.projectedGeoRectangle[i], this.viewport.projectedGeoRectangle[i]) / Math.pow(this.viewport.projectedGeoPerViewportScale, 2));\n\t\t\tconst maxSquaredDistance = Math.max(...rectangleSquaredDistances);\n\t\t\tif (maxSquaredDistance < SIGNIFICANT_VIEWPORT_EPSILON) return true;\n\t\t\tif (maxSquaredDistance > Math.pow(SIGNIFICANT_VIEWPORT_DISTANCE, 2)) {\n\t\t\t\tthis.previousSignificantViewport = this.viewport;\n\t\t\t\treturn true;\n\t\t\t} else return false;\n\t\t}\n\t}\n\t#renderInternal() {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tgl.viewport(0, 0, gl.canvas.width, gl.canvas.height);\n\t\tgl.enable(gl.BLEND);\n\t\tgl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA);\n\t\tthis.#renderMapsInternal();\n\t\tthis.#renderLinesInternal();\n\t\tthis.#renderPointsInternal();\n\t}\n\t#renderMapsInternal() {\n\t\tif (!this.viewport) return;\n\t\tthis.#setMapProgramUniforms();\n\t\tfor (const mapId of this.mapsWithFetchableTilesForViewport) {\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap || !webgl2WarpedMap.shouldRenderMap()) continue;\n\t\t\tthis.#setMapProgramMapUniforms(webgl2WarpedMap);\n\t\t\tconst count = webgl2WarpedMap.resourceTrianglePoints.length;\n\t\t\tconst primitiveType = this.gl.TRIANGLES;\n\t\t\tconst offset = 0;\n\t\t\tthis.gl.bindVertexArray(webgl2WarpedMap.mapVao);\n\t\t\tthis.gl.drawArrays(primitiveType, offset, count);\n\t\t}\n\t}\n\t#renderLinesInternal() {\n\t\tthis.#setLinesProgramUniforms();\n\t\tfor (const mapId of this.mapsWithFetchableTilesForViewport) {\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap || !webgl2WarpedMap.shouldRenderLines()) continue;\n\t\t\tthis.#setLinesProgramMapUniforms(webgl2WarpedMap);\n\t\t\tconst count = webgl2WarpedMap.lineGroups.reduce((accumulator, lineGroup) => accumulator + lineGroup.projectedGeoLines.length, 0) * 6;\n\t\t\tconst primitiveType = this.gl.TRIANGLES;\n\t\t\tconst offset = 0;\n\t\t\tthis.gl.bindVertexArray(webgl2WarpedMap.linesVao);\n\t\t\tthis.gl.drawArrays(primitiveType, offset, count);\n\t\t}\n\t}\n\t#renderPointsInternal() {\n\t\tthis.#setPointsProgramUniforms();\n\t\tfor (const mapId of this.mapsWithFetchableTilesForViewport) {\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap || !webgl2WarpedMap.shouldRenderPoints()) continue;\n\t\t\tthis.#setPointsProgramMapUniforms(webgl2WarpedMap);\n\t\t\tconst count = webgl2WarpedMap.pointGroups.reduce((accumulator, pointGroup) => accumulator + pointGroup.projectedGeoPoints.length, 0);\n\t\t\tconst primitiveType = this.gl.POINTS;\n\t\t\tconst offset = 0;\n\t\t\tthis.gl.bindVertexArray(webgl2WarpedMap.pointsVao);\n\t\t\tthis.gl.drawArrays(primitiveType, offset, count);\n\t\t}\n\t}\n\t#setMapProgramUniforms() {\n\t\tconst program = this.mapProgram;\n\t\tconst gl = this.gl;\n\t\tgl.useProgram(program);\n\t\tconst animationProgressLocation = this.#getUniformLocation(gl, program, \"u_animationProgress\");\n\t\tgl.uniform1f(animationProgressLocation, this.animationProgress);\n\t}\n\t#setMapProgramMapUniforms(webgl2WarpedMap) {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.mapProgram;\n\t\tgl.useProgram(program);\n\t\tconst renderHomogeneousTransform = multiplyHomogeneousTransform(this.viewport.projectedGeoToClipHomogeneousTransform, webgl2WarpedMap.invertedRenderHomogeneousTransform);\n\t\tconst renderHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_renderHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(renderHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(renderHomogeneousTransform));\n\t\tconst visibilityOpacityLocation = this.#getUniformLocation(gl, program, \"u_visibilityOpacity\");\n\t\tgl.uniform1f(visibilityOpacityLocation, webgl2WarpedMap.visibilityOpacity);\n\t\tconst previousVisibilityOpacityLocation = this.#getUniformLocation(gl, program, \"u_previousVisibilityOpacity\");\n\t\tgl.uniform1f(previousVisibilityOpacityLocation, webgl2WarpedMap.previousVisibilityOpacity);\n\t\tconst applymaskOpacityLocation = this.#getUniformLocation(gl, program, \"u_applyMaskOpacity\");\n\t\tgl.uniform1f(applymaskOpacityLocation, webgl2WarpedMap.applyMaskOpacity);\n\t\tconst previousApplyMaskOpacityLocation = this.#getUniformLocation(gl, program, \"u_previousApplyMaskOpacity\");\n\t\tgl.uniform1f(previousApplyMaskOpacityLocation, webgl2WarpedMap.previousApplyMaskOpacity);\n\t\tconst opacityLocation = this.#getUniformLocation(gl, program, \"u_opacity\");\n\t\tgl.uniform1f(opacityLocation, webgl2WarpedMap.options.opacity);\n\t\tconst saturationLocation = this.#getUniformLocation(gl, program, \"u_saturation\");\n\t\tgl.uniform1f(saturationLocation, webgl2WarpedMap.options.saturation);\n\t\tconst removeColorLocation = this.#getUniformLocation(gl, program, \"u_removeColor\");\n\t\tgl.uniform1f(removeColorLocation, webgl2WarpedMap.options.removeColor ? 1 : 0);\n\t\tconst removeColorColorLocation = this.#getUniformLocation(gl, program, \"u_removeColorColor\");\n\t\tgl.uniform3fv(removeColorColorLocation, hexToFractionalRgb(webgl2WarpedMap.options.removeColorColor));\n\t\tconst removeColorThresholdLocation = this.#getUniformLocation(gl, program, \"u_removeColorThreshold\");\n\t\tgl.uniform1f(removeColorThresholdLocation, webgl2WarpedMap.options.removeColorThreshold);\n\t\tconst removeColorHardnessLocation = this.#getUniformLocation(gl, program, \"u_removeColorHardness\");\n\t\tgl.uniform1f(removeColorHardnessLocation, webgl2WarpedMap.options.removeColorHardness);\n\t\tconst colorizeLocation = this.#getUniformLocation(gl, program, \"u_colorize\");\n\t\tgl.uniform1f(colorizeLocation, webgl2WarpedMap.options.colorize ? 1 : 0);\n\t\tconst colorizeColorLocation = this.#getUniformLocation(gl, program, \"u_colorizeColor\");\n\t\tgl.uniform3fv(colorizeColorLocation, hexToFractionalRgb(webgl2WarpedMap.options.colorizeColor));\n\t\tconst gridLocation = this.#getUniformLocation(gl, program, \"u_renderGrid\");\n\t\tgl.uniform1f(gridLocation, webgl2WarpedMap.options.renderGrid ? 1 : 0);\n\t\tconst colorGrid = this.#getUniformLocation(gl, program, \"u_renderGridColor\");\n\t\tgl.uniform4fv(colorGrid, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.renderGridColor));\n\t\tconst distortionLocation = this.#getUniformLocation(gl, program, \"u_distortion\");\n\t\tgl.uniform1f(distortionLocation, webgl2WarpedMap.distortionMeasure ? 1 : 0);\n\t\tconst distortionMeasureLocation = this.#getUniformLocation(gl, program, \"u_distortionMeasure\");\n\t\tgl.uniform1i(distortionMeasureLocation, webgl2WarpedMap.distortionMeasure ? supportedDistortionMeasures.indexOf(webgl2WarpedMap.distortionMeasure) : 0);\n\t\tconst distortionColor00Location = this.#getUniformLocation(gl, program, \"u_distortionColor00\");\n\t\tgl.uniform4fv(distortionColor00Location, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor00));\n\t\tconst distortionColor01Location = this.#getUniformLocation(gl, program, \"u_distortionColor01\");\n\t\tgl.uniform4fv(distortionColor01Location, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor01));\n\t\tconst distortionColor1Location = this.#getUniformLocation(gl, program, \"u_distortionColor1\");\n\t\tgl.uniform4fv(distortionColor1Location, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor1));\n\t\tconst distortionColor2Location = this.#getUniformLocation(gl, program, \"u_distortionColor2\");\n\t\tgl.uniform4fv(distortionColor2Location, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor2));\n\t\tconst distortionColorLocation3 = this.#getUniformLocation(gl, program, \"u_distortionColor3\");\n\t\tgl.uniform4fv(distortionColorLocation3, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor3));\n\t\tconst debugTrianglesLocation = this.#getUniformLocation(gl, program, \"u_debugTriangles\");\n\t\tgl.uniform1f(debugTrianglesLocation, webgl2WarpedMap.options.debugTriangles ? 1 : 0);\n\t\tconst debugTilesLocation = this.#getUniformLocation(gl, program, \"u_debugTiles\");\n\t\tgl.uniform1f(debugTilesLocation, webgl2WarpedMap.options.debugTiles ? 1 : 0);\n\t\tconst scaleFactorForViewportLocation = this.#getUniformLocation(gl, program, \"u_scaleFactorForViewport\");\n\t\tconst scaleFactorForViewport = webgl2WarpedMap.tileZoomLevelForViewport ? webgl2WarpedMap.tileZoomLevelForViewport.scaleFactor : 1;\n\t\tgl.uniform1i(scaleFactorForViewportLocation, scaleFactorForViewport);\n\t\tconst cachedTilesTextureArrayLocation = this.#getUniformLocation(gl, program, \"u_cachedTilesTextureArray\");\n\t\tgl.uniform1i(cachedTilesTextureArrayLocation, 0);\n\t\tgl.activeTexture(gl.TEXTURE0);\n\t\tgl.bindTexture(gl.TEXTURE_2D_ARRAY, webgl2WarpedMap.cachedTilesTextureArray);\n\t\tconst cachedTilesResourceOriginPointsAndSizesLocation = this.#getUniformLocation(gl, program, \"u_cachedTilesResourceOriginPointsAndSizesTexture\");\n\t\tgl.uniform1i(cachedTilesResourceOriginPointsAndSizesLocation, 1);\n\t\tgl.activeTexture(gl.TEXTURE1);\n\t\tgl.bindTexture(gl.TEXTURE_2D, webgl2WarpedMap.cachedTilesResourceOriginPointsAndSizesTexture);\n\t\tconst cachedTileScaleFactorsTextureLocation = this.#getUniformLocation(gl, program, \"u_cachedTilesScaleFactorsTexture\");\n\t\tgl.uniform1i(cachedTileScaleFactorsTextureLocation, 2);\n\t\tgl.activeTexture(gl.TEXTURE2);\n\t\tgl.bindTexture(gl.TEXTURE_2D, webgl2WarpedMap.cachedTilesScaleFactorsTexture);\n\t}\n\t#setLinesProgramUniforms() {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.linesProgram;\n\t\tgl.useProgram(program);\n\t\tconst viewportToClipHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_viewportToClipHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(viewportToClipHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(this.viewport.viewportToClipHomogeneousTransform));\n\t\tconst clipToViewportHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_clipToViewportHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(clipToViewportHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(invertHomogeneousTransform(this.viewport.viewportToClipHomogeneousTransform)));\n\t\tconst animationProgressLocation = this.#getUniformLocation(gl, program, \"u_animationProgress\");\n\t\tgl.uniform1f(animationProgressLocation, this.animationProgress);\n\t}\n\t#setLinesProgramMapUniforms(webgl2WarpedMap) {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.linesProgram;\n\t\tgl.useProgram(program);\n\t\tconst renderHomogeneousTransform = multiplyHomogeneousTransform(this.viewport.projectedGeoToClipHomogeneousTransform, webgl2WarpedMap.invertedRenderHomogeneousTransform);\n\t\tconst renderHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_renderHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(renderHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(renderHomogeneousTransform));\n\t}\n\t#setPointsProgramUniforms() {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.pointsProgram;\n\t\tgl.useProgram(program);\n\t\tconst animationProgressLocation = this.#getUniformLocation(gl, program, \"u_animationProgress\");\n\t\tgl.uniform1f(animationProgressLocation, this.animationProgress);\n\t\tconst devicePixelRatioLocation = this.#getUniformLocation(gl, program, \"u_devicePixelRatio\");\n\t\tgl.uniform1f(devicePixelRatioLocation, this.viewport.devicePixelRatio);\n\t}\n\t#setPointsProgramMapUniforms(webgl2WarpedMap) {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.pointsProgram;\n\t\tgl.useProgram(program);\n\t\tconst renderHomogeneousTransform = multiplyHomogeneousTransform(this.viewport.projectedGeoToClipHomogeneousTransform, webgl2WarpedMap.invertedRenderHomogeneousTransform);\n\t\tconst renderHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_renderHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(renderHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(renderHomogeneousTransform));\n\t}\n\t#startAnimation(mapIds, partialAnimationOptions) {\n\t\tconst options = mergeOptions(DEFAULT_ANIMATION_OPTIONS, partialAnimationOptions);\n\t\tthis.#changed();\n\t\tthis.requestFetchableTiles();\n\t\tthis.updateVertexBuffers(mapIds);\n\t\tif (this.lastAnimationFrameRequestId !== void 0) cancelAnimationFrame(this.lastAnimationFrameRequestId);\n\t\tthis.animating = true;\n\t\tthis.animationProgress = 0;\n\t\tthis.animationStart = void 0;\n\t\tthis.lastAnimationFrameRequestId = requestAnimationFrame(((now) => this.#animationFrame(now, mapIds, options.duration)).bind(this));\n\t}\n\t#animationFrame(now, mapIds, duration) {\n\t\tif (!this.animationStart) this.animationStart = now;\n\t\tif (now - this.animationStart < duration) {\n\t\t\tthis.animationProgress = (now - this.animationStart) / duration;\n\t\t\tthis.#changed();\n\t\t\tthis.lastAnimationFrameRequestId = requestAnimationFrame(((now) => this.#animationFrame(now, mapIds, duration)).bind(this));\n\t\t} else this.#finishAnimation(mapIds);\n\t}\n\t#finishAnimation(mapIds) {\n\t\tthis.resetPrevious();\n\t\tthis.updateVertexBuffers(mapIds);\n\t\tthis.animating = false;\n\t\tthis.animationProgress = 0;\n\t\tthis.animationStart = void 0;\n\t\tthis.previousSignificantViewport = this.viewport;\n\t\tthis.#prepareRenderInternal();\n\t\tthis.#changed();\n\t}\n\t#changed() {\n\t\tthis.dispatchEvent(new WarpedMapEvent(WarpedMapEventType.CHANGED));\n\t}\n\timageLoaded(event) {\n\t\tif (event instanceof WarpedMapEvent) this.dispatchEvent(new WarpedMapEvent(WarpedMapEventType.IMAGELOADED, event.data));\n\t}\n\tclearMap(mapId) {\n\t\tconst webGL2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\tif (webGL2WarpedMap) webGL2WarpedMap.clearTextures();\n\t}\n\tmapTileLoaded(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds || !event.data?.tileUrl) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds, tileUrl } = event.data;\n\t\t\tconst mapId = mapIds[0];\n\t\t\tconst tile = this.tileCache.getCacheableTile(tileUrl);\n\t\t\tif (!tile) return;\n\t\t\tif (!tile.isCachedTile()) return;\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap) return;\n\t\t\twebgl2WarpedMap.addCachedTileAndUpdateTextures(tile);\n\t\t}\n\t}\n\tmapTileDeleted(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds || !event.data.tileUrl) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds, tileUrl } = event.data;\n\t\t\tconst mapId = mapIds[0];\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap) return;\n\t\t\twebgl2WarpedMap.removeCachedTileAndUpdateTextures(tileUrl);\n\t\t}\n\t}\n\twarpedMapAdded(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds } = event.data;\n\t\t\tconst mapId = mapIds[0];\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (webgl2WarpedMap) this.#addEventListenersToWebGL2WarpedMap(webgl2WarpedMap);\n\t\t}\n\t}\n\tprepareChange(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds } = event.data;\n\t\t\tif (this.animating) for (const webgl2WarpedMap of this.warpedMapList.getWarpedMaps({ mapIds })) webgl2WarpedMap.mixPreviousAndNew(1 - this.animationProgress);\n\t\t}\n\t}\n\tanimatedChange(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds, animationOptions } = event.data;\n\t\t\tthis.#startAnimation(mapIds, animationOptions);\n\t\t}\n\t}\n\timmediateChange(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds } = event.data;\n\t\t\tthis.#finishAnimation(mapIds);\n\t\t}\n\t}\n\t#addEventListenersToWebGL2WarpedMap(webgl2WarpedMap) {\n\t\tconst bound = this.#throttledChanged.bind(this);\n\t\tthis.#boundThrottledChangedByMapId.set(webgl2WarpedMap.mapId, bound);\n\t\twebgl2WarpedMap.addEventListener(WarpedMapEventType.TEXTURESUPDATED, bound);\n\t}\n\t#removeEventListenersFromWebGL2WarpedMap(webgl2WarpedMap) {\n\t\tconst bound = this.#boundThrottledChangedByMapId.get(webgl2WarpedMap.mapId);\n\t\tif (bound) {\n\t\t\twebgl2WarpedMap.removeEventListener(WarpedMapEventType.TEXTURESUPDATED, bound);\n\t\t\tthis.#boundThrottledChangedByMapId.delete(webgl2WarpedMap.mapId);\n\t\t}\n\t}\n\tcontextLost() {\n\t\tthis.disableRender = true;\n\t\tthis.cancelThrottledFunctions();\n\t\tfor (const webgl2WarpedMap of this.warpedMapList.getWarpedMaps()) webgl2WarpedMap.cancelThrottledFunctions();\n\t\tthis.tileCache.clear();\n\t}\n\tcontextRestored() {\n\t\tthis.initializeWebGL(this.gl);\n\t\tthis.disableRender = false;\n\t}\n};\n//#endregion\nexport { WebGL2Renderer };\n\n//# sourceMappingURL=WebGL2Renderer.js.map"],"names":["THROTTLE_PREPARE_RENDER_WAIT_MS","THROTTLE_PREPARE_RENDER_OPTIONS","THROTTLE_CHANGED_WAIT_MS","THROTTLE_CHANGED_OPTIONS","SIGNIFICANT_VIEWPORT_EPSILON","SIGNIFICANT_VIEWPORT_DISTANCE","WebGL2Renderer","BaseRenderer","#worker","#spritesWorker","#uniformCache","#throttledPrepareRenderInternal","#throttledChanged","#boundThrottledChangedByMapId","gl","options","mapVertexShader","createShader","vertex_shader_default","mapFragmentShader","fragment_shader_default","linesVertexShader","vertex_shader_default$1","linesFragmentShader","fragment_shader_default$1","pointsVertexShader","vertex_shader_default$2","pointsFragmentShader","fragment_shader_default$2","mapProgram","createProgram","linesProgram","pointsProgram","worker","WorkerWrapper","spritesWorker","WorkerWrapper$1","wrappedWorker","wrap","wrappedSpritesWorker","defaultSpecificWebGL2RenderOptions","createWebGL2WarpedMapFactory","CacheableWorkerImageDataTile","mergeOptions","throttle","#prepareRenderInternal","#changed","webgl2WarpedMap","viewport","Viewport","#renderInternal","#removeEventListenersFromWebGL2WarpedMap","#getUniformLocation","program","name","programCache","location","allFechableTilesForViewport","mapsWithFetchableTilesForViewportEntering","mapsWithFetchableTilesForViewportLeaving","mapsInViewportEntering","mapsInViewportLeaving","webgl2WarpedMaps","mapIds","rectangleSquaredDistances","i","squaredDistance","maxSquaredDistance","#renderMapsInternal","#renderLinesInternal","#renderPointsInternal","#setMapProgramUniforms","mapId","#setMapProgramMapUniforms","count","primitiveType","offset","#setLinesProgramUniforms","#setLinesProgramMapUniforms","accumulator","lineGroup","#setPointsProgramUniforms","#setPointsProgramMapUniforms","pointGroup","animationProgressLocation","renderHomogeneousTransform","multiplyHomogeneousTransform","renderHomogeneousTransformLocation","homogeneousTransformToMatrix4","visibilityOpacityLocation","previousVisibilityOpacityLocation","applymaskOpacityLocation","previousApplyMaskOpacityLocation","opacityLocation","saturationLocation","removeColorLocation","removeColorColorLocation","hexToFractionalRgb","removeColorThresholdLocation","removeColorHardnessLocation","colorizeLocation","colorizeColorLocation","gridLocation","colorGrid","hexToFractionalOpaqueRgba","distortionLocation","distortionMeasureLocation","supportedDistortionMeasures","distortionColor00Location","distortionColor01Location","distortionColor1Location","distortionColor2Location","distortionColorLocation3","debugTrianglesLocation","debugTilesLocation","scaleFactorForViewportLocation","scaleFactorForViewport","cachedTilesTextureArrayLocation","cachedTilesResourceOriginPointsAndSizesLocation","cachedTileScaleFactorsTextureLocation","viewportToClipHomogeneousTransformLocation","clipToViewportHomogeneousTransformLocation","invertHomogeneousTransform","devicePixelRatioLocation","#startAnimation","partialAnimationOptions","DEFAULT_ANIMATION_OPTIONS","now","#animationFrame","duration","#finishAnimation","WarpedMapEvent","WarpedMapEventType","event","webGL2WarpedMap","tileUrl","tile","#addEventListenersToWebGL2WarpedMap","animationOptions","bound"],"mappings":"oyBAqBA,IAAIA,GAAkC,IAClCC,GAAkC,CACrC,QAAS,GACT,SAAU,EACX,EACIC,GAA2B,GAC3BC,GAA2B,CAC9B,QAAS,GACT,SAAU,E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AgB7D,EAAQ2E,CAAgB,CAC9C,CACD,CACA,gBAAgBL,EAAO,CACtB,GAAIA,aAAiBF,EAAAA,eAAgB,CACpC,GAAI,CAACE,EAAM,MAAM,OAAQ,MAAM,IAAI,MAAM,oBAAoB,EAC7D,KAAM,CAAE,OAAAtE,GAAWsE,EAAM,KACzB,KAAKH,GAAiBnE,CAAM,CAC7B,CACD,CACA0E,GAAoC1F,EAAiB,CACpD,MAAM4F,EAAQ,KAAK/H,GAAkB,KAAK,IAAI,EAC9C,KAAKC,GAA8B,IAAIkC,EAAgB,MAAO4F,CAAK,EACnE5F,EAAgB,iBAAiBqF,qBAAmB,gBAAiBO,CAAK,CAC3E,CACAxF,GAAyCJ,EAAiB,CACzD,MAAM4F,EAAQ,KAAK9H,GAA8B,IAAIkC,EAAgB,KAAK,EACtE4F,IACH5F,EAAgB,oBAAoBqF,qBAAmB,gBAAiBO,CAAK,EAC7E,KAAK9H,GAA8B,OAAOkC,EAAgB,KAAK,EAEjE,CACA,aAAc,CACb,KAAK,cAAgB,GACrB,KAAK,yBAAA,EACL,UAAWA,KAAmB,KAAK,cAAc,cAAA,IAAiC,yBAAA,EAClF,KAAK,UAAU,MAAA,CAChB,CACA,iBAAkB,CACjB,KAAK,gBAAgB,KAAK,EAAE,EAC5B,KAAK,cAAgB,EACtB,CACD","x_google_ignoreList":[0]}
|
package/dist/index.cjs222.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.cjs299.js"),g=require("./index.cjs223.js"),e=require("./index.cjs215.js"),c=require("./index.cjs275.js"),a=require("./index.cjs217.js");require("./index.cjs224.js");const d=require("./index.cjs225.js");var h={rotation:0,devicePixelRatio:1,projection:d.webMercatorProjection},m={zoom:1},u={fit:"contain"},P=class j{geoCenter;geoRectangle;geoSize;geoResolution;geoRectangleBbox;projection;projectedGeoCenter;projectedGeoRectangle;projectedGeoSize;projectedGeoResolution;projectedGeoRectangleBbox;rotation;projectedGeoPerViewportScale;viewportCenter;viewportRectangle;viewportSize;viewportResolution;viewportBbox;devicePixelRatio;canvasCenter;canvasRectangle;canvasSize;canvasResolution;canvasBbox;projectedGeoPerCanvasScale;projectedGeoToViewportHomogeneousTransform=[1,0,0,1,0,0];projectedGeoToCanvasHomogeneousTransform=[1,0,0,1,0,0];projectedGeoToClipHomogeneousTransform=[1,0,0,1,0,0];viewportToClipHomogeneousTransform=[1,0,0,1,0,0];constructor(t,r,i,o){const n=a.mergeOptions(h,o);this.projectedGeoCenter=r,this.projectedGeoPerViewportScale=i,this.rotation=n.rotation,this.viewportSize=[Math.round(t[0]),Math.round(t[1])],this.devicePixelRatio=n.devicePixelRatio,this.projection=n.projection,this.projectedGeoRectangle=this.#r(this.viewportSize,this.projectedGeoPerViewportScale,this.rotation,this.projectedGeoCenter),this.projectedGeoRectangleBbox=e.computeBbox(this.projectedGeoRectangle),this.projectedGeoSize=e.scaleSize(this.viewportSize,i),this.projectedGeoResolution=e.sizeToResolution(this.projectedGeoSize),this.geoRectangle=this.projectedGeoRectangle.map(s=>g(this.projection.definition,d.lonLatProjection.definition,s)),this.geoRectangleBbox=e.computeBbox(this.geoRectangle),this.geoCenter=e.bboxToCenter(this.geoRectangleBbox),this.geoSize=e.bboxToSize(this.geoRectangleBbox),this.geoResolution=e.sizeToResolution(this.geoSize),this.viewportResolution=e.sizeToResolution(this.viewportSize),this.viewportCenter=e.sizeToCenter(this.viewportSize),this.viewportBbox=e.sizeToBbox(this.viewportSize),this.viewportRectangle=e.bboxToRectangle(this.viewportBbox),this.canvasCenter=c.scalePoint(this.viewportCenter,this.devicePixelRatio),this.canvasSize=e.scaleSize(this.viewportSize,this.devicePixelRatio),this.canvasResolution=e.sizeToResolution(this.canvasSize),this.canvasBbox=e.sizeToBbox(this.canvasSize),this.canvasRectangle=e.bboxToRectangle(this.canvasBbox),this.projectedGeoPerCanvasScale=this.projectedGeoPerViewportScale/this.devicePixelRatio,this.projectedGeoToViewportHomogeneousTransform=this.#e(),this.projectedGeoToCanvasHomogeneousTransform=this.#o(),this.projectedGeoToClipHomogeneousTransform=this.#t(),this.viewportToClipHomogeneousTransform=this.#i()}static fromSizeAndMaps(t,r,i){const o=r.getMapsConvexHull(a.mergePartialOptions(i,{projection:d.webMercatorProjection}));if(!o)throw new Error("Maps have no projected convex hull. Possibly because WarpedMapList or Array is empty.");return this.fromSizeAndProjectedGeoPolygon(t,[o],i)}static fromSizeAndGeoPolygon(t,r,i){const o=a.mergeOptions({...h,...m,...u},i),n=r.map(s=>s.map(l=>g(o.projection.definition,l)));return this.fromSizeAndProjectedGeoPolygon(t,n,i)}static fromSizeAndProjectedGeoPolygon(t,r,i){const o=a.mergeOptions({...h,...m,...u},i),n=r[0],s=e.computeBbox(c.rotatePoints(n,-o.rotation)),l=e.bboxToSize(s),v=e.bboxToCenter(s),G=e.sizesToScale(l,t,o.fit);return new j(t,c.rotatePoint(v,o.rotation),G*o.zoom,o)}static fromScaleAndMaps(t,r,i){const o=r.getMapsConvexHull(a.mergePartialOptions(i,{projection:d.webMercatorProjection}));if(!o)throw new Error("Maps have no projected convex hull. Possibly because WarpedMapList or Array is empty.");return this.fromScaleAndProjectedGeoPolygon(t,[o],i)}static fromScaleAndGeoPolygon(t,r,i){const o=a.mergeOptions({...h,...m,...u},i),n=r.map(s=>s.map(l=>g(o.projection.definition,l)));return this.fromScaleAndProjectedGeoPolygon(t,n,i)}static fromScaleAndProjectedGeoPolygon(t,r,i){const o=a.mergeOptions({...h,...m},i),n=r[0],s=e.computeBbox(c.scalePoints(c.rotatePoints(n,-o.rotation),1/t));return new j(e.bboxToSize(s),c.rotatePoint(c.scalePoint(e.bboxToCenter(s),t),o.rotation),t*o.zoom,o)}getProjectedGeoBufferedRectangle(t){return e.bboxToRectangle(e.bufferBboxByRatio(this.viewportBbox,t)).map(r=>p.applyHomogeneousTransform(p.invertHomogeneousTransform(this.projectedGeoToViewportHomogeneousTransform),r))}getGeoBufferedRectangle(t){return this.getProjectedGeoBufferedRectangle(t).map(r=>g(this.projection.definition,d.lonLatProjection.definition,r))}#e(){return p.composeHomogeneousTransform(this.viewportCenter[0],this.viewportCenter[1],1/this.projectedGeoPerViewportScale,-1/this.projectedGeoPerViewportScale,-this.rotation,-this.projectedGeoCenter[0],-this.projectedGeoCenter[1])}#o(){return p.composeHomogeneousTransform(this.canvasCenter[0],this.canvasCenter[1],1/this.projectedGeoPerCanvasScale,-1/this.projectedGeoPerCanvasScale,-this.rotation,-this.projectedGeoCenter[0],-this.projectedGeoCenter[1])}#t(){return p.composeHomogeneousTransform(0,0,2/(this.projectedGeoPerViewportScale*this.viewportSize[0]),2/(this.projectedGeoPerViewportScale*this.viewportSize[1]),-this.rotation,-this.projectedGeoCenter[0],-this.projectedGeoCenter[1])}#i(){return p.composeHomogeneousTransform(0,0,2/this.viewportSize[0],-2/this.viewportSize[1],0,-this.viewportCenter[0],-this.viewportCenter[1])}#r(t,r,i,o){const n=e.sizeToRectangle(e.scaleSize(t,r));return c.translatePoints(c.rotatePoints(c.translatePoints(n,c.midPoint(...n),"substract"),i),o)}};exports.Viewport=P;
|
|
2
2
|
//# sourceMappingURL=index.cjs222.js.map
|
package/dist/index.cjs222.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs222.js","sources":["../node_modules/underscore/modules/_flatten.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport isArrayLike from './_isArrayLike.js';\nimport isArray from './isArray.js';\nimport isArguments from './isArguments.js';\n\n// Internal implementation of a recursive `flatten` function.\nexport default function flatten(input, depth, strict, output) {\n output = output || [];\n if (!depth && depth !== 0) {\n depth = Infinity;\n } else if (depth <= 0) {\n return output.concat(input);\n }\n var idx = output.length;\n for (var i = 0, length = getLength(input); i < length; i++) {\n var value = input[i];\n if (isArrayLike(value) && (isArray(value) || isArguments(value))) {\n // Flatten current level of array or arguments object.\n if (depth > 1) {\n flatten(value, depth - 1, strict, output);\n idx = output.length;\n } else {\n var j = 0, len = value.length;\n while (j < len) output[idx++] = value[j++];\n }\n } else if (!strict) {\n output[idx++] = value;\n }\n }\n return output;\n}\n"],"names":["flatten","input","depth","strict","output","idx","i","length","getLength","value","isArrayLike","isArray","isArguments","j","len"],"mappings":"8IAMA,SAAwBA,EAAQC,EAAOC,EAAOC,EAAQC,EAAQ,CAE5D,GADAA,EAASA,GAAU,CAAA,EACf,CAACF,GAASA,IAAU,EACtBA,EAAQ,YACCA,GAAS,EAClB,OAAOE,EAAO,OAAOH,CAAK,EAG5B,QADII,EAAMD,EAAO,OACRE,EAAI,EAAGC,EAASC,EAAUP,CAAK,EAAGK,EAAIC,EAAQD,IAAK,CAC1D,IAAIG,EAAQR,EAAMK,CAAC,EACnB,GAAII,EAAYD,CAAK,IAAME,EAAQF,CAAK,GAAKG,EAAYH,CAAK,GAE5D,GAAIP,EAAQ,EACVF,EAAQS,EAAOP,EAAQ,EAAGC,EAAQC,CAAM,EACxCC,EAAMD,EAAO,WAGb,SADIS,EAAI,EAAGC,EAAML,EAAM,OAChBI,EAAIC,GAAKV,EAAOC,GAAK,EAAII,EAAMI,GAAG,OAEjCV,IACVC,EAAOC,GAAK,EAAII,EAEpB,CACA,OAAOL,CACT","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs222.js","sources":["../../../node_modules/@allmaps/render/dist/viewport/Viewport.js"],"sourcesContent":["import { applyHomogeneousTransform, composeHomogeneousTransform, invertHomogeneousTransform } from \"../shared/homogeneous-transform.js\";\nimport proj4 from \"proj4\";\nimport { bboxToCenter, bboxToRectangle, bboxToSize, bufferBboxByRatio, computeBbox, mergeOptions, mergePartialOptions, midPoint, rotatePoint, rotatePoints, scalePoint, scalePoints, scaleSize, sizeToBbox, sizeToCenter, sizeToRectangle, sizeToResolution, sizesToScale, translatePoints } from \"@allmaps/stdlib\";\nimport { lonLatProjection, webMercatorProjection } from \"@allmaps/project\";\n//#region src/viewport/Viewport.ts\nvar defaultViewportOptions = {\n\trotation: 0,\n\tdevicePixelRatio: 1,\n\tprojection: webMercatorProjection\n};\nvar defaultZoomOptions = { zoom: 1 };\nvar defaultFitOptions = { fit: \"contain\" };\n/**\n* The viewport describes the view on the rendered map.\n* @property geoCenter - Center point of the viewport, in longitude/latitude coordinates.\n* @property geoRectangle - Rotated rectangle (possibly quadrilateral) of the viewport point, in longitude/latitude coordinates.\n* @property geoSize - Size of the viewport in longitude/latitude coordinates, as [width, height]. (This is the size of the bounding box of the rectangle, since longitude/latitude only makes sense in that case).\n* @property geoResolution - Resolution of the viewport in longitude/latitude coordinates, as width * height. (This is the size of the bounding box of the rectangle, since longitude/latitude only makes sense in that case).\n* @property geoRectangleBbox - Bounding box of the rotated rectangle of the viewport, in longitude/latitude coordinates.\n* @property projectedGeoCenter - Center point of the viewport, in projected geospatial coordinates.\n* @property projectedGeoRectangle - Rotated rectangle of the viewport point, in projected geospatial coordinates.\n* @property projectedGeoSize - Size of the viewport in projected geospatial coordinates, as [width, height]. (This is not the size of the bounding box of the rotated rectangle, but the width and hight of the rectangle).\n* @property projectedGeoResolution - Resolution of the viewport in projected geospatial coordinates, as width * height. (This is not the size of the bounding box of the rotated rectangle, but the width and hight of the rectangle).\n* @property projectedGeoRectangleBbox - Bounding box of the rotated rectangle of the viewport, in projected geospatial coordinates.\n* @property rotation - Rotation of the viewport with respect to the projected coordinate system.\n* @property projectedGeoPerViewportScale - Scale of the viewport, in projected geospatial coordinates per viewport pixel.\n* @property viewportCenter - Center point of the viewport, in viewport pixels.\n* @property viewportRectangle - Rectangle of the viewport point, in viewport pixels.\n* @property viewportSize - Size of the viewport in viewport pixels, as [width, height].\n* @property viewportResolution - Resolution of the viewport in viewport pixels, as width * height.\n* @property viewportBbox - Bounding box of the viewport, in viewport pixels.\n* @property devicePixelRatio - The devicePixelRatio of the viewport.\n* @property canvasCenter - Center point of the canvas, in canvas pixels.\n* @property canvasRectangle - Rectangle of the canvas, in canvas pixels.\n* @property canvasSize - Size of the canvas in canvas pixels (viewportSize*devicePixelRatio), as [width, height].\n* @property canvasResolution - Resolution of the canvas in canvas pixels (viewportSize*devicePixelRatio), as width * height.\n* @property canvasBbox - Bounding box of the canvas, in canvas pixels.\n* @property projectedGeoPerCanvasScale - Scale of the viewport, in projected geospatial coordinates per canvas pixel (projectedGeoPerViewportScale/devicePixelRatio).\n* @property projectedGeoToViewportHomogeneousTransform - Homogeneous Transform from projected geo coordinates to viewport pixels. Equivalent to OpenLayers coordinateToPixelTransform.\n* @property projectedGeoToCanvasHomogeneousTransform - Homogeneous Transform from projected geo coordinates to canvas pixels.\n* @property projectedGeoToClipHomogeneousTransform - Homogeneous Transform from projected geo coordinates to WebGL coordinates in the [-1, 1] range. Equivalent to OpenLayers projectionTransform.\n* @property viewportToClipHomogeneousTransform - Homogeneous Transform from viewport coordinates to WebGL coordinates in the [-1, 1] range.\n*/\nvar Viewport = class Viewport {\n\tgeoCenter;\n\tgeoRectangle;\n\tgeoSize;\n\tgeoResolution;\n\tgeoRectangleBbox;\n\tprojection;\n\tprojectedGeoCenter;\n\tprojectedGeoRectangle;\n\tprojectedGeoSize;\n\tprojectedGeoResolution;\n\tprojectedGeoRectangleBbox;\n\trotation;\n\tprojectedGeoPerViewportScale;\n\tviewportCenter;\n\tviewportRectangle;\n\tviewportSize;\n\tviewportResolution;\n\tviewportBbox;\n\tdevicePixelRatio;\n\tcanvasCenter;\n\tcanvasRectangle;\n\tcanvasSize;\n\tcanvasResolution;\n\tcanvasBbox;\n\tprojectedGeoPerCanvasScale;\n\tprojectedGeoToViewportHomogeneousTransform = [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0\n\t];\n\tprojectedGeoToCanvasHomogeneousTransform = [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0\n\t];\n\tprojectedGeoToClipHomogeneousTransform = [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0\n\t];\n\tviewportToClipHomogeneousTransform = [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0\n\t];\n\t/**\n\t* Creates a new Viewport\n\t*\n\t* @constructor\n\t* @param viewportSize - Size of the viewport in viewport pixels, as [width, height].\n\t* @param projectedGeoCenter - Center point of the viewport, in projected geospatial coordinates.\n\t* @param projectedGeoPerViewportScale - Scale of the viewport, in projection coordinates per viewport pixel.\n\t* @param rotation - Rotation of the viewport with respect to the projected geo coordinate system. Positive values rotate the viewport positively (i.e. counter-clockwise) w.r.t. the map in projected geospatial coordinates. This is equivalent to rotating the map negatively (i.e. clockwise) within the viewport.\n\t* @param devicePixelRatio - The devicePixelRatio of the viewport.\n\t* @param projection - The projection the projected coordinates are in .\n\t*/\n\tconstructor(viewportSize, projectedGeoCenter, projectedGeoPerViewportScale, partialViewportOptions) {\n\t\tconst viewportOptions = mergeOptions(defaultViewportOptions, partialViewportOptions);\n\t\tthis.projectedGeoCenter = projectedGeoCenter;\n\t\tthis.projectedGeoPerViewportScale = projectedGeoPerViewportScale;\n\t\tthis.rotation = viewportOptions.rotation;\n\t\tthis.viewportSize = [Math.round(viewportSize[0]), Math.round(viewportSize[1])];\n\t\tthis.devicePixelRatio = viewportOptions.devicePixelRatio;\n\t\tthis.projection = viewportOptions.projection;\n\t\tthis.projectedGeoRectangle = this.#computeProjectedGeoRectangle(this.viewportSize, this.projectedGeoPerViewportScale, this.rotation, this.projectedGeoCenter);\n\t\tthis.projectedGeoRectangleBbox = computeBbox(this.projectedGeoRectangle);\n\t\tthis.projectedGeoSize = scaleSize(this.viewportSize, projectedGeoPerViewportScale);\n\t\tthis.projectedGeoResolution = sizeToResolution(this.projectedGeoSize);\n\t\tthis.geoRectangle = this.projectedGeoRectangle.map((point) => {\n\t\t\treturn proj4(this.projection.definition, lonLatProjection.definition, point);\n\t\t});\n\t\tthis.geoRectangleBbox = computeBbox(this.geoRectangle);\n\t\tthis.geoCenter = bboxToCenter(this.geoRectangleBbox);\n\t\tthis.geoSize = bboxToSize(this.geoRectangleBbox);\n\t\tthis.geoResolution = sizeToResolution(this.geoSize);\n\t\tthis.viewportResolution = sizeToResolution(this.viewportSize);\n\t\tthis.viewportCenter = sizeToCenter(this.viewportSize);\n\t\tthis.viewportBbox = sizeToBbox(this.viewportSize);\n\t\tthis.viewportRectangle = bboxToRectangle(this.viewportBbox);\n\t\tthis.canvasCenter = scalePoint(this.viewportCenter, this.devicePixelRatio);\n\t\tthis.canvasSize = scaleSize(this.viewportSize, this.devicePixelRatio);\n\t\tthis.canvasResolution = sizeToResolution(this.canvasSize);\n\t\tthis.canvasBbox = sizeToBbox(this.canvasSize);\n\t\tthis.canvasRectangle = bboxToRectangle(this.canvasBbox);\n\t\tthis.projectedGeoPerCanvasScale = this.projectedGeoPerViewportScale / this.devicePixelRatio;\n\t\tthis.projectedGeoToViewportHomogeneousTransform = this.#composeProjectedGeoToViewportHomogeneousTransform();\n\t\tthis.projectedGeoToCanvasHomogeneousTransform = this.#composeProjectedGeoToCanvasHomogeneousTransform();\n\t\tthis.projectedGeoToClipHomogeneousTransform = this.#composeProjectedGeoToClipHomogeneousTransform();\n\t\tthis.viewportToClipHomogeneousTransform = this.#composeViewportToClipHomogeneousTransform();\n\t}\n\t/**\n\t* Static method that creates a Viewport from a size and maps.\n\t*\n\t* Optionally specify a projection, to be used both when obtaining the extent of selected warped maps in projected geospatial coordinates, as well as when create a viewport\n\t*\n\t* @param viewportSize - Size of the viewport in viewport pixels, as [width, height].\n\t* @param warpedMapList - A WarpedMapList.\n\t* @param partialExtendedViewportOptions - Optional viewport options\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromSizeAndMaps(viewportSize, warpedMapList, partialExtendedViewportOptions) {\n\t\tconst projectedGeoConvexHull = warpedMapList.getMapsConvexHull(mergePartialOptions(partialExtendedViewportOptions, { projection: webMercatorProjection }));\n\t\tif (!projectedGeoConvexHull) throw new Error(\"Maps have no projected convex hull. Possibly because WarpedMapList or Array is empty.\");\n\t\treturn this.fromSizeAndProjectedGeoPolygon(viewportSize, [projectedGeoConvexHull], partialExtendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a size and a polygon in geospatial coordinates, i.e. lon-lat `EPSG:4326`.\n\t*\n\t* @static\n\t* @param viewportSize - Size of the viewport in viewport pixels, as [width, height].\n\t* @param geoPolygon - A polygon in geospatial coordinates.\n\t* @param partialExtendedViewportOptions - Optional viewport options\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromSizeAndGeoPolygon(viewportSize, geoPolygon, partialExtendedViewportOptions) {\n\t\tconst extendedViewportOptions = mergeOptions({\n\t\t\t...defaultViewportOptions,\n\t\t\t...defaultZoomOptions,\n\t\t\t...defaultFitOptions\n\t\t}, partialExtendedViewportOptions);\n\t\tconst projectedGeoPolygon = geoPolygon.map((ring) => ring.map((point) => proj4(extendedViewportOptions.projection.definition, point)));\n\t\treturn this.fromSizeAndProjectedGeoPolygon(viewportSize, projectedGeoPolygon, partialExtendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a size and a polygon in projected geospatial coordinates.\n\t*\n\t* @static\n\t* @param viewportSize - Size of the viewport in viewport pixels, as [width, height].\n\t* @param projectedGeoPolygon - A polygon in projected geospatial coordinates.\n\t* @param partialExtendedViewportOptions - Optional viewport options\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromSizeAndProjectedGeoPolygon(viewportSize, projectedGeoPolygon, partialExtendedViewportOptions) {\n\t\tconst extendedViewportOptions = mergeOptions({\n\t\t\t...defaultViewportOptions,\n\t\t\t...defaultZoomOptions,\n\t\t\t...defaultFitOptions\n\t\t}, partialExtendedViewportOptions);\n\t\tconst projectedGeoRing = projectedGeoPolygon[0];\n\t\tconst projectedGeoRotatedBbox = computeBbox(rotatePoints(projectedGeoRing, -extendedViewportOptions.rotation));\n\t\tconst projectedGeoRotatedSize = bboxToSize(projectedGeoRotatedBbox);\n\t\tconst projectedGeoRotatedCenter = bboxToCenter(projectedGeoRotatedBbox);\n\t\tconst projectedGeoPerViewportScale = sizesToScale(projectedGeoRotatedSize, viewportSize, extendedViewportOptions.fit);\n\t\treturn new Viewport(viewportSize, rotatePoint(projectedGeoRotatedCenter, extendedViewportOptions.rotation), projectedGeoPerViewportScale * extendedViewportOptions.zoom, extendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a scale and maps.\n\t*\n\t* Optionally specify a projection, to be used both when obtaining the extent of selected warped maps in projected geospatial coordinates, as well as when create a viewport\n\t*\n\t* @param projectedGeoPerViewportScale - Scale of the viewport, in projected geospatial coordinates per viewport pixel.\n\t* @param warpedMapList - A WarpedMapList.\n\t* @param partialExtendedViewportOptions - Optional viewport options.\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromScaleAndMaps(projectedGeoPerViewportScale, warpedMapList, partialExtendedViewportOptions) {\n\t\tconst projectedGeoConvexHull = warpedMapList.getMapsConvexHull(mergePartialOptions(partialExtendedViewportOptions, { projection: webMercatorProjection }));\n\t\tif (!projectedGeoConvexHull) throw new Error(\"Maps have no projected convex hull. Possibly because WarpedMapList or Array is empty.\");\n\t\treturn this.fromScaleAndProjectedGeoPolygon(projectedGeoPerViewportScale, [projectedGeoConvexHull], partialExtendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a scale and a polygon in geospatial coordinates, i.e. lon-lat `EPSG:4326`.\n\t*\n\t* Note: the scale is still in *projected* geospatial per viewport pixel!\n\t*\n\t* @param projectedGeoPerViewportScale - Scale of the viewport, in projected geospatial coordinates per viewport pixel.\n\t* @param geoPolygon - A polygon in geospatial coordinates.\n\t* @param partialViewportOptions - Optional viewport options.\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromScaleAndGeoPolygon(projectedGeoPerViewportScale, geoPolygon, partialExtendedViewportOptions) {\n\t\tconst extendedViewportOptions = mergeOptions({\n\t\t\t...defaultViewportOptions,\n\t\t\t...defaultZoomOptions,\n\t\t\t...defaultFitOptions\n\t\t}, partialExtendedViewportOptions);\n\t\tconst projectedGeoPolygon = geoPolygon.map((ring) => ring.map((point) => proj4(extendedViewportOptions.projection.definition, point)));\n\t\treturn this.fromScaleAndProjectedGeoPolygon(projectedGeoPerViewportScale, projectedGeoPolygon, partialExtendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a scale and a polygon in projected geospatial coordinates.\n\t*\n\t* @param projectedGeoPerViewportScale - Scale of the viewport, in projected geospatial coordinates per viewport pixel.\n\t* @param projectedGeoPolygon - A polygon in projected geospatial coordinates.\n\t* @param partialViewportOptions - Optional viewport options.\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromScaleAndProjectedGeoPolygon(projectedGeoPerViewportScale, projectedGeoPolygon, partialExtendedViewportOptions) {\n\t\tconst extendedViewportOptions = mergeOptions({\n\t\t\t...defaultViewportOptions,\n\t\t\t...defaultZoomOptions\n\t\t}, partialExtendedViewportOptions);\n\t\tconst projectedGeoRing = projectedGeoPolygon[0];\n\t\tconst viewportBbox = computeBbox(scalePoints(rotatePoints(projectedGeoRing, -extendedViewportOptions.rotation), 1 / projectedGeoPerViewportScale));\n\t\treturn new Viewport(bboxToSize(viewportBbox), rotatePoint(scalePoint(bboxToCenter(viewportBbox), projectedGeoPerViewportScale), extendedViewportOptions.rotation), projectedGeoPerViewportScale * extendedViewportOptions.zoom, extendedViewportOptions);\n\t}\n\tgetProjectedGeoBufferedRectangle(bufferFraction) {\n\t\treturn bboxToRectangle(bufferBboxByRatio(this.viewportBbox, bufferFraction)).map((point) => applyHomogeneousTransform(invertHomogeneousTransform(this.projectedGeoToViewportHomogeneousTransform), point));\n\t}\n\tgetGeoBufferedRectangle(bufferFraction) {\n\t\treturn this.getProjectedGeoBufferedRectangle(bufferFraction).map((point) => proj4(this.projection.definition, lonLatProjection.definition, point));\n\t}\n\t#composeProjectedGeoToViewportHomogeneousTransform() {\n\t\treturn composeHomogeneousTransform(this.viewportCenter[0], this.viewportCenter[1], 1 / this.projectedGeoPerViewportScale, -1 / this.projectedGeoPerViewportScale, -this.rotation, -this.projectedGeoCenter[0], -this.projectedGeoCenter[1]);\n\t}\n\t#composeProjectedGeoToCanvasHomogeneousTransform() {\n\t\treturn composeHomogeneousTransform(this.canvasCenter[0], this.canvasCenter[1], 1 / this.projectedGeoPerCanvasScale, -1 / this.projectedGeoPerCanvasScale, -this.rotation, -this.projectedGeoCenter[0], -this.projectedGeoCenter[1]);\n\t}\n\t#composeProjectedGeoToClipHomogeneousTransform() {\n\t\treturn composeHomogeneousTransform(0, 0, 2 / (this.projectedGeoPerViewportScale * this.viewportSize[0]), 2 / (this.projectedGeoPerViewportScale * this.viewportSize[1]), -this.rotation, -this.projectedGeoCenter[0], -this.projectedGeoCenter[1]);\n\t}\n\t#composeViewportToClipHomogeneousTransform() {\n\t\treturn composeHomogeneousTransform(0, 0, 2 / this.viewportSize[0], -2 / this.viewportSize[1], 0, -this.viewportCenter[0], -this.viewportCenter[1]);\n\t}\n\t/**\n\t* Returns a rectangle in projected geospatial coordinates\n\t*\n\t* The rectangle is the result of a horizontal rectangle in Viewport space of size 'viewportSize',\n\t* scaled using projectedGeoPerViewportScale, centered,\n\t* rotated using 'rotation' and translated to 'projectedGeoCenter'.\n\t*\n\t* @private\n\t* @param viewportSize\n\t* @param projectedGeoPerViewportScale\n\t* @param rotation\n\t* @param projectedGeoCenter\n\t*/\n\t#computeProjectedGeoRectangle(viewportSize, projectedGeoPerViewportScale, rotation, projectedGeoCenter) {\n\t\tconst rectangle = sizeToRectangle(scaleSize(viewportSize, projectedGeoPerViewportScale));\n\t\treturn translatePoints(rotatePoints(translatePoints(rectangle, midPoint(...rectangle), \"substract\"), rotation), projectedGeoCenter);\n\t}\n};\n//#endregion\nexport { Viewport };\n\n//# sourceMappingURL=Viewport.js.map"],"names":["defaultViewportOptions","webMercatorProjection","defaultZoomOptions","defaultFitOptions","Viewport","viewportSize","projectedGeoCenter","projectedGeoPerViewportScale","partialViewportOptions","viewportOptions","mergeOptions","#computeProjectedGeoRectangle","computeBbox","scaleSize","sizeToResolution","point","proj4","lonLatProjection","bboxToCenter","bboxToSize","sizeToCenter","sizeToBbox","bboxToRectangle","scalePoint","#composeProjectedGeoToViewportHomogeneousTransform","#composeProjectedGeoToCanvasHomogeneousTransform","#composeProjectedGeoToClipHomogeneousTransform","#composeViewportToClipHomogeneousTransform","warpedMapList","partialExtendedViewportOptions","projectedGeoConvexHull","mergePartialOptions","geoPolygon","extendedViewportOptions","projectedGeoPolygon","ring","projectedGeoRing","projectedGeoRotatedBbox","rotatePoints","projectedGeoRotatedSize","projectedGeoRotatedCenter","sizesToScale","rotatePoint","viewportBbox","scalePoints","bufferFraction","bufferBboxByRatio","applyHomogeneousTransform","invertHomogeneousTransform","composeHomogeneousTransform","rotation","rectangle","sizeToRectangle","translatePoints","midPoint"],"mappings":"mTAKA,IAAIA,EAAyB,CAC5B,SAAU,EACV,iBAAkB,EAClB,WAAYC,EAAAA,qBACb,EACIC,EAAqB,CAAE,KAAM,CAAA,EAC7BC,EAAoB,CAAE,IAAK,SAAA,EAgC3BC,EAAW,MAAMA,CAAS,CAC7B,UACA,aACA,QACA,cACA,iBACA,WACA,mBACA,sBACA,iBACA,uBACA,0BACA,SACA,6BACA,eACA,kBACA,aACA,mBACA,aACA,iBACA,aACA,gBACA,WACA,iBACA,WACA,2BACA,2CAA6C,CAC5C,EACA,EACA,EACA,EACA,EACA,CAAA,EAED,yCAA2C,CAC1C,EACA,EACA,EACA,EACA,EACA,CAAA,EAED,uCAAyC,CACxC,EACA,EACA,EACA,EACA,EACA,CAAA,EAED,mCAAqC,CACpC,EACA,EACA,EACA,EACA,EACA,CAAA,EAaD,YAAYC,EAAcC,EAAoBC,EAA8BC,EAAwB,CACnG,MAAMC,EAAkBC,EAAAA,aAAaV,EAAwBQ,CAAsB,EACnF,KAAK,mBAAqBF,EAC1B,KAAK,6BAA+BC,EACpC,KAAK,SAAWE,EAAgB,SAChC,KAAK,aAAe,CAAC,KAAK,MAAMJ,EAAa,CAAC,CAAC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Ae,CAAC,EAAG,KAAK,eAAe,CAAC,EAAG,EAAI,KAAK,6BAA8B,GAAK,KAAK,6BAA8B,CAAC,KAAK,SAAU,CAAC,KAAK,mBAAmB,CAAC,EAAG,CAAC,KAAK,mBAAmB,CAAC,CAAC,CAC3O,CACAxB,IAAmD,CAClD,OAAOwB,8BAA4B,KAAK,aAAa,CAAC,EAAG,KAAK,aAAa,CAAC,EAAG,EAAI,KAAK,2BAA4B,GAAK,KAAK,2BAA4B,CAAC,KAAK,SAAU,CAAC,KAAK,mBAAmB,CAAC,EAAG,CAAC,KAAK,mBAAmB,CAAC,CAAC,CACnO,CACAvB,IAAiD,CAChD,OAAOuB,EAAAA,4BAA4B,EAAG,EAAG,GAAK,KAAK,6BAA+B,KAAK,aAAa,CAAC,GAAI,GAAK,KAAK,6BAA+B,KAAK,aAAa,CAAC,GAAI,CAAC,KAAK,SAAU,CAAC,KAAK,mBAAmB,CAAC,EAAG,CAAC,KAAK,mBAAmB,CAAC,CAAC,CAClP,CACAtB,IAA6C,CAC5C,OAAOsB,EAAAA,4BAA4B,EAAG,EAAG,EAAI,KAAK,aAAa,CAAC,EAAG,GAAK,KAAK,aAAa,CAAC,EAAG,EAAG,CAAC,KAAK,eAAe,CAAC,EAAG,CAAC,KAAK,eAAe,CAAC,CAAC,CAClJ,CAcAtC,GAA8BN,EAAcE,EAA8B2C,EAAU5C,EAAoB,CACvG,MAAM6C,EAAYC,EAAAA,gBAAgBvC,EAAAA,UAAUR,EAAcE,CAA4B,CAAC,EACvF,OAAO8C,kBAAgBf,EAAAA,aAAae,EAAAA,gBAAgBF,EAAWG,EAAAA,SAAS,GAAGH,CAAS,EAAG,WAAW,EAAGD,CAAQ,EAAG5C,CAAkB,CACnI,CACD","x_google_ignoreList":[0]}
|
package/dist/index.cjs223.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("./index.cjs341.js"),r=require("./index.cjs342.js"),o=require("./index.cjs343.js"),s=require("./index.cjs344.js"),n=require("./index.cjs345.js"),i=require("./index.cjs346.js"),u=require("./index.cjs347.js"),c=require("./index.cjs348.js"),a=require("./index.cjs349.js"),e=Object.assign(t,{defaultDatum:"WGS84",Proj:r,WGS84:new r("WGS84"),Point:o,toPoint:s,defs:n,nadgrid:i.default,transform:u.default,mgrs:c.default,version:"__VERSION__"});a(e);module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs223.js.map
|
package/dist/index.cjs223.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs223.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs223.js","sources":["../../../node_modules/proj4/lib/index.js"],"sourcesContent":["import core from './core';\nimport Proj from './Proj';\nimport Point from './Point';\nimport common from './common/toPoint';\nimport defs from './defs';\nimport nadgrid from './nadgrid';\nimport transform from './transform';\nimport mgrs from 'mgrs';\nimport includedProjections from '../projs';\n\n/**\n * @typedef {Object} Mgrs\n * @property {(lonlat: [number, number]) => string} forward\n * @property {(mgrsString: string) => [number, number, number, number]} inverse\n * @property {(mgrsString: string) => [number, number]} toPoint\n */\n\n/**\n * @typedef {import('./defs').ProjectionDefinition} ProjectionDefinition\n * @typedef {import('./core').TemplateCoordinates} TemplateCoordinates\n * @typedef {import('./core').InterfaceCoordinates} InterfaceCoordinates\n * @typedef {import('./core').Converter} Converter\n * @typedef {import('./Proj').DatumDefinition} DatumDefinition\n */\n\n/**\n * @template {import('./core').TemplateCoordinates} T\n * @type {core<T> & {defaultDatum: string, Proj: typeof Proj, WGS84: Proj, Point: typeof Point, toPoint: typeof common, defs: typeof defs, nadgrid: typeof nadgrid, transform: typeof transform, mgrs: Mgrs, version: string}}\n */\nconst proj4 = Object.assign(core, {\n defaultDatum: 'WGS84',\n Proj,\n WGS84: new Proj('WGS84'),\n Point,\n toPoint: common,\n defs,\n nadgrid,\n transform,\n mgrs,\n version: '__VERSION__'\n});\nincludedProjections(proj4);\nexport default proj4;\n"],"names":["proj4","core","Proj","Point","common","defs","nadgrid","transform","mgrs","includedProjections"],"mappings":"0SA6BMA,EAAQ,OAAO,OAAOC,EAAM,CAChC,aAAc,QACd,KAAAC,EACA,MAAO,IAAIA,EAAK,OAAO,EACvB,MAAAC,EACA,QAASC,EACT,KAAAC,EAAA,QACAC,EAAAA,QAAA,UACAC,EAAAA,QAAA,KACAC,EAAAA,QACA,QAAS,aACX,CAAC,EACDC,EAAoBT,CAAK","x_google_ignoreList":[0]}
|
package/dist/index.cjs224.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const o=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs217.js"),t=require("./index.cjs374.js"),p=["helmert","polynomial","polynomial1"],r={maxDepth:0,minSourceDistance:0,minDestinationDistance:0,minOffsetRatio:0,minOffsetDistance:1/0,isMultiGeometry:!1,distortionMeasures:[],referenceScale:1,preForward:n=>n,postForward:n=>n,preBackward:n=>n,postBackward:n=>n},s={differentHandedness:!1,...r};function i(n){if(n===void 0||Object.keys(n).length===0)return{};const e=n;return n.postToGeo&&(e.postForward=n.postToGeo),n.preToResource&&(e.preBackward=n.preToResource),e}function c(n){return n===void 0?{}:i(n)}function f(n){if(n===void 0)return{};const e=n;return n.postForward&&(e.postToGeo=n.postForward),n.preBackward&&(e.preToResource=n.preBackward),e}function a(n){return n??{}}f(r);const m=a(s);function T(n){return o.mergeOptions(t.defaultRefinementOptions,n)}function u(n){return o.mergeOptions(t.defaultRefinementOptions,n)}exports.defaultGcpTransformerOptions=m;exports.defaultGeneralGcpTransformOptions=r;exports.defaultGeneralGcpTransformerOptions=s;exports.gcpTransformOptionsToGeneralGcpTransformOptions=i;exports.gcpTransformerOptionsToGeneralGcpTransformerOptions=c;exports.generalGcpTransformOptionsToGcpTransformOptions=f;exports.generalGcpTransformerOptionsToGcpTransformerOptions=a;exports.nonWarpingTransformationTypes=p;exports.refinementOptionsFromBackwardTransformOptions=u;exports.refinementOptionsFromForwardTransformOptions=T;
|
|
2
2
|
//# sourceMappingURL=index.cjs224.js.map
|
package/dist/index.cjs224.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs224.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs224.js","sources":["../../../node_modules/@allmaps/transform/dist/shared/transform-functions.js"],"sourcesContent":["import { mergeOptions } from '@allmaps/stdlib';\nimport { defaultRefinementOptions } from './refinement-functions.js';\n// Options\nexport const nonWarpingTransformationTypes = [\n 'helmert',\n 'polynomial',\n 'polynomial1'\n];\nexport const defaultGeneralGcpTransformOptions = {\n maxDepth: 0,\n minSourceDistance: 0,\n minDestinationDistance: 0,\n minOffsetRatio: 0,\n minOffsetDistance: Infinity,\n isMultiGeometry: false,\n distortionMeasures: [],\n referenceScale: 1,\n preForward: (point) => point,\n postForward: (point) => point,\n preBackward: (point) => point,\n postBackward: (point) => point\n};\nexport const defaultGeneralGcpTransformerOptions = {\n differentHandedness: false,\n ...defaultGeneralGcpTransformOptions\n};\nexport function gcpTransformOptionsToGeneralGcpTransformOptions(partialGcpTransformOptions) {\n if (partialGcpTransformOptions === undefined ||\n Object.keys(partialGcpTransformOptions).length === 0) {\n return {};\n }\n const partialGeneralGcpTransformOptions = partialGcpTransformOptions;\n if (partialGcpTransformOptions.postToGeo) {\n partialGeneralGcpTransformOptions.postForward =\n partialGcpTransformOptions.postToGeo;\n }\n if (partialGcpTransformOptions.preToResource) {\n partialGeneralGcpTransformOptions.preBackward =\n partialGcpTransformOptions.preToResource;\n }\n return partialGeneralGcpTransformOptions;\n}\nexport function gcpTransformerOptionsToGeneralGcpTransformerOptions(partialGcpTransformerOptions) {\n if (partialGcpTransformerOptions === undefined) {\n return {};\n }\n // Note: None of the transformer options need to be adapted\n // only the transform options that could be included in them\n const partialGeneralGcpTransformerOptions = gcpTransformOptionsToGeneralGcpTransformOptions(partialGcpTransformerOptions);\n return partialGeneralGcpTransformerOptions;\n}\nexport function generalGcpTransformOptionsToGcpTransformOptions(partialGeneralGcpTransformOptions) {\n if (partialGeneralGcpTransformOptions === undefined) {\n return {};\n }\n const partialGcpTransformOptions = partialGeneralGcpTransformOptions;\n if (partialGeneralGcpTransformOptions.postForward) {\n partialGcpTransformOptions.postToGeo =\n partialGeneralGcpTransformOptions.postForward;\n }\n if (partialGeneralGcpTransformOptions.preBackward) {\n partialGcpTransformOptions.preToResource =\n partialGeneralGcpTransformOptions.preBackward;\n }\n return partialGcpTransformOptions;\n}\nexport function generalGcpTransformerOptionsToGcpTransformerOptions(partialGeneralGcpTransformerOptions) {\n if (partialGeneralGcpTransformerOptions == undefined) {\n return {};\n }\n const partialGcpTransformerOptions = partialGeneralGcpTransformerOptions;\n return partialGcpTransformerOptions;\n}\nexport const defaultGcpTransformOptions = generalGcpTransformOptionsToGcpTransformOptions(defaultGeneralGcpTransformOptions);\nexport const defaultGcpTransformerOptions = generalGcpTransformerOptionsToGcpTransformerOptions(defaultGeneralGcpTransformerOptions);\nexport function refinementOptionsFromForwardTransformOptions(generalGcpTransformOptions) {\n const refinementOptions = mergeOptions(defaultRefinementOptions, generalGcpTransformOptions);\n return refinementOptions;\n}\nexport function refinementOptionsFromBackwardTransformOptions(generalGcpTransformOptions) {\n const refinementOptions = mergeOptions(defaultRefinementOptions, generalGcpTransformOptions);\n return refinementOptions;\n}\n"],"names":["nonWarpingTransformationTypes","defaultGeneralGcpTransformOptions","point","defaultGeneralGcpTransformerOptions","gcpTransformOptionsToGeneralGcpTransformOptions","partialGcpTransformOptions","partialGeneralGcpTransformOptions","gcpTransformerOptionsToGeneralGcpTransformerOptions","partialGcpTransformerOptions","generalGcpTransformOptionsToGcpTransformOptions","generalGcpTransformerOptionsToGcpTransformerOptions","partialGeneralGcpTransformerOptions","defaultGcpTransformerOptions","refinementOptionsFromForwardTransformOptions","generalGcpTransformOptions","mergeOptions","defaultRefinementOptions","refinementOptionsFromBackwardTransformOptions"],"mappings":"o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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs223.js"),c=require("./index.cjs217.js"),S=require("./index.cjs224.js"),d={type:"proj4String",over:!0},l="EPSG:4326",i="+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees",T='GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]',M='GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],MEMBER["World Geodetic System 1984 (G2296)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]]',P=[i+" +over",i,l,T,M,"+proj=longlat +datum=WGS84 +no_defs +type=crs","WGS84"];function f(t){const e=c.mergeOptions(d,t);if(e.type=="proj4String"){if(e.over)return i+" +over"}else{if(e.type=="epsg")return l;if(e.type=="wkt")return T;if(e.type=="wkt2")return M}throw new Error("Projection definition not found")}const R="EPSG:3857",E="+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs",L="+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs",u='PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Mercator_1SP"],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs"],AUTHORITY["EPSG","3857"]]',I='PROJCRS["WGS 84 / Pseudo-Mercator",BASEGEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],MEMBER["World Geodetic System 1984 (G2296)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],ID["EPSG",4326]],CONVERSION["Popular Visualisation Pseudo-Mercator",METHOD["Popular Visualisation Pseudo Mercator",ID["EPSG",1024]],PARAMETER["Latitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["easting (X)",east,ORDER[1],LENGTHUNIT["metre",1]],AXIS["northing (Y)",north,ORDER[2],LENGTHUNIT["metre",1]],USAGE[SCOPE["Web mapping and visualisation."],AREA["World between 85.06°S and 85.06°N."],BBOX[-85.06,-180,85.06,180]],ID["EPSG",3857]]',O=[E+" +over",E,L,R,u,I,"EPSG:3785","GOOGLE","EPSG:900913","EPSG:102113"];function p(t){const e=c.mergeOptions(d,t);if(e.type=="proj4String"){if(e.over)return E+" +over"}else{if(e.type=="epsg")return R;if(e.type=="wkt")return u;if(e.type=="wkt2")return I}throw new Error("Projection definition not found")}const A={id:"EPSG:4326",name:"EPSG:4326 - WGS 84",definition:P[0]},r={id:"EPSG:3857",name:"EPSG:3857 - WGS 84 / Pseudo-Mercator",definition:O[0]},N={internalProjection:r,projection:r,...S.defaultGcpTransformerOptions};({...S.defaultGcpTransformerOptions});const m=a(A.definition,r.definition),D=m.forward,y=m.inverse;function s(t,e){t=t.replace(" +over","");const o=P.indexOf(t),n=O.indexOf(t);return o!=-1?f(e):n!=-1?p(e):t}function U(t,e){return s(String(t?.definition))==s(String(e?.definition))}function j(t,e){if(e===void 0||Object.keys(e).length===0)return{};let o=e;const n=e?.projection;if(n){const G=a(t.definition,n.definition),W=G.forward,g=G.inverse;o=c.mergePartialOptions(o,{postToGeo:W,preToResource:g})}return o}exports.defaultProjectedGcpTransformerOptions=N;exports.getLonLatDefinition=f;exports.getWebMercatorDefinition=p;exports.isEqualProjection=U;exports.lonLatProjection=A;exports.lonLatToWebMercator=D;exports.projectedGcpTransformOptionsToGcpTransformOptions=j;exports.projectionDefinitionToAntialiasedDefinition=s;exports.webMercatorProjection=r;exports.webMercatorToLonLat=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs225.js.map
|
package/dist/index.cjs225.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs225.js","sources":["../node_modules/underscore/modules/_isArrayLike.js"],"sourcesContent":["import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getLength from './_getLength.js';\n\n// Internal helper for collection methods to determine whether a collection\n// should be iterated as an array or as an object.\n// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength\n// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094\nexport default createSizePropertyCheck(getLength);\n"],"names":["isArrayLike","createSizePropertyCheck","getLength"],"mappings":"iFAOAA,EAAeC,EAAwBC,CAAS","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs225.js","sources":["../../../node_modules/@allmaps/project/dist/shared/project-functions.js"],"sourcesContent":["import proj4 from 'proj4';\nimport { defaultGcpTransformerOptions } from '@allmaps/transform';\nimport { mergeOptions, mergePartialOptions } from '@allmaps/stdlib';\nconst DEFAULT_PROJECTION_DEFINITION_OPTIONS = {\n type: 'proj4String',\n over: true\n};\n// Note: putting projection with `+over` first in list below to always wrap around dateline\n// If we want other systems (like QGIS, in tileserver) to interpret the definition as a standardised CRS\n// and not just a set of parameters, we should put EPSG defintion (or WKT definition) first\n// or overwrite projections with EPSG in tileserverr\nconst lonLatEpsgDefinition = 'EPSG:4326';\nconst lonLatProj4StringDefinition = '+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees';\nconst lonLatWktDefinition = 'GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]';\nconst lonLatWkt2Definition = 'GEOGCRS[\"WGS 84\",ENSEMBLE[\"World Geodetic System 1984 ensemble\",MEMBER[\"World Geodetic System 1984 (Transit)\"],MEMBER[\"World Geodetic System 1984 (G730)\"],MEMBER[\"World Geodetic System 1984 (G873)\"],MEMBER[\"World Geodetic System 1984 (G1150)\"],MEMBER[\"World Geodetic System 1984 (G1674)\"],MEMBER[\"World Geodetic System 1984 (G1762)\"],MEMBER[\"World Geodetic System 1984 (G2139)\"],MEMBER[\"World Geodetic System 1984 (G2296)\"],ELLIPSOID[\"WGS 84\",6378137,298.257223563,LENGTHUNIT[\"metre\",1]],ENSEMBLEACCURACY[2.0]],PRIMEM[\"Greenwich\",0,ANGLEUNIT[\"degree\",0.0174532925199433]],CS[ellipsoidal,2],AXIS[\"geodetic latitude (Lat)\",north,ORDER[1],ANGLEUNIT[\"degree\",0.0174532925199433]],AXIS[\"geodetic longitude (Lon)\",east,ORDER[2],ANGLEUNIT[\"degree\",0.0174532925199433]],USAGE[SCOPE[\"Horizontal component of 3D system.\"],AREA[\"World.\"],BBOX[-90,-180,90,180]],ID[\"EPSG\",4326]]';\nconst lonLatEquivalentDefinitions = [\n lonLatProj4StringDefinition + ' +over',\n lonLatProj4StringDefinition,\n lonLatEpsgDefinition,\n lonLatWktDefinition,\n lonLatWkt2Definition,\n '+proj=longlat +datum=WGS84 +no_defs +type=crs',\n 'WGS84'\n];\nexport function getLonLatDefinition(partialProjectionDefinitionOptions) {\n const projectionDefinitionOptions = mergeOptions(DEFAULT_PROJECTION_DEFINITION_OPTIONS, partialProjectionDefinitionOptions);\n if (projectionDefinitionOptions.type == 'proj4String') {\n if (projectionDefinitionOptions.over) {\n return lonLatProj4StringDefinition + ' +over';\n }\n else {\n lonLatProj4StringDefinition;\n }\n }\n else if (projectionDefinitionOptions.type == 'epsg') {\n return lonLatEpsgDefinition;\n }\n else if (projectionDefinitionOptions.type == 'wkt') {\n return lonLatWktDefinition;\n }\n else if (projectionDefinitionOptions.type == 'wkt2') {\n return lonLatWkt2Definition;\n }\n throw new Error('Projection definition not found');\n}\nconst webMercatorEpsgDefinition = 'EPSG:3857';\nconst webMercatorProj4StringDefinition = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs';\nconst webMercatorOpenLayersProj4StringDefinition = '+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs';\nconst webMercatorWktDefinition = 'PROJCS[\"WGS 84 / Pseudo-Mercator\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Mercator_1SP\"],PARAMETER[\"central_meridian\",0],PARAMETER[\"scale_factor\",1],PARAMETER[\"false_easting\",0],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Easting\",EAST],AXIS[\"Northing\",NORTH],EXTENSION[\"PROJ4\",\"+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs\"],AUTHORITY[\"EPSG\",\"3857\"]]';\nconst webMercatorWkt2Definition = 'PROJCRS[\"WGS 84 / Pseudo-Mercator\",BASEGEOGCRS[\"WGS 84\",ENSEMBLE[\"World Geodetic System 1984 ensemble\",MEMBER[\"World Geodetic System 1984 (Transit)\"],MEMBER[\"World Geodetic System 1984 (G730)\"],MEMBER[\"World Geodetic System 1984 (G873)\"],MEMBER[\"World Geodetic System 1984 (G1150)\"],MEMBER[\"World Geodetic System 1984 (G1674)\"],MEMBER[\"World Geodetic System 1984 (G1762)\"],MEMBER[\"World Geodetic System 1984 (G2139)\"],MEMBER[\"World Geodetic System 1984 (G2296)\"],ELLIPSOID[\"WGS 84\",6378137,298.257223563,LENGTHUNIT[\"metre\",1]],ENSEMBLEACCURACY[2.0]],PRIMEM[\"Greenwich\",0,ANGLEUNIT[\"degree\",0.0174532925199433]],ID[\"EPSG\",4326]],CONVERSION[\"Popular Visualisation Pseudo-Mercator\",METHOD[\"Popular Visualisation Pseudo Mercator\",ID[\"EPSG\",1024]],PARAMETER[\"Latitude of natural origin\",0,ANGLEUNIT[\"degree\",0.0174532925199433],ID[\"EPSG\",8801]],PARAMETER[\"Longitude of natural origin\",0,ANGLEUNIT[\"degree\",0.0174532925199433],ID[\"EPSG\",8802]],PARAMETER[\"False easting\",0,LENGTHUNIT[\"metre\",1],ID[\"EPSG\",8806]],PARAMETER[\"False northing\",0,LENGTHUNIT[\"metre\",1],ID[\"EPSG\",8807]]],CS[Cartesian,2],AXIS[\"easting (X)\",east,ORDER[1],LENGTHUNIT[\"metre\",1]],AXIS[\"northing (Y)\",north,ORDER[2],LENGTHUNIT[\"metre\",1]],USAGE[SCOPE[\"Web mapping and visualisation.\"],AREA[\"World between 85.06°S and 85.06°N.\"],BBOX[-85.06,-180,85.06,180]],ID[\"EPSG\",3857]]';\nconst webMercatorEquivalentDefinitions = [\n webMercatorProj4StringDefinition + ' +over',\n webMercatorProj4StringDefinition,\n webMercatorOpenLayersProj4StringDefinition,\n webMercatorEpsgDefinition,\n webMercatorWktDefinition,\n webMercatorWkt2Definition,\n 'EPSG:3785',\n 'GOOGLE',\n 'EPSG:900913',\n 'EPSG:102113'\n];\nexport function getWebMercatorDefinition(partialProjectionDefinitionOptions) {\n const projectionDefinitionOptions = mergeOptions(DEFAULT_PROJECTION_DEFINITION_OPTIONS, partialProjectionDefinitionOptions);\n if (projectionDefinitionOptions.type == 'proj4String') {\n if (projectionDefinitionOptions.over) {\n return webMercatorProj4StringDefinition + ' +over';\n }\n else {\n webMercatorProj4StringDefinition;\n }\n }\n else if (projectionDefinitionOptions.type == 'epsg') {\n return webMercatorEpsgDefinition;\n }\n else if (projectionDefinitionOptions.type == 'wkt') {\n return webMercatorWktDefinition;\n }\n else if (projectionDefinitionOptions.type == 'wkt2') {\n return webMercatorWkt2Definition;\n }\n throw new Error('Projection definition not found');\n}\n/**\n * lonLatProjection\n *\n * `EPSG:4326` projection with definition: `\"+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees +over\"`\n *\n * Note that `+over` was added to support wrapping around the antimeridian\n */\nexport const lonLatProjection = {\n id: 'EPSG:4326',\n name: 'EPSG:4326 - WGS 84',\n definition: lonLatEquivalentDefinitions[0]\n};\n/**\n * webMercatorProjection\n *\n * `EPSG:3857` projection with definition: `\"+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs +over\"`\n *\n * Note that `+over` was added to support wrapping around the antimeridian\n */\nexport const webMercatorProjection = {\n id: 'EPSG:3857',\n name: 'EPSG:3857 - WGS 84 / Pseudo-Mercator',\n definition: webMercatorEquivalentDefinitions[0]\n};\nexport const defaultProjectedGcpTransformerOptions = {\n internalProjection: webMercatorProjection,\n projection: webMercatorProjection,\n ...defaultGcpTransformerOptions\n};\nexport const defaultProjectedGcpTransformOptions = {\n projection: webMercatorProjection,\n ...defaultGcpTransformerOptions\n};\nconst lonLatProjectionToWebMecatorProjectionConverter = proj4(lonLatProjection.definition, webMercatorProjection.definition);\nexport const lonLatToWebMercator = lonLatProjectionToWebMecatorProjectionConverter.forward;\nexport const webMercatorToLonLat = lonLatProjectionToWebMecatorProjectionConverter.inverse;\nexport function projectionDefinitionToAntialiasedDefinition(stringProjectionDefinition, partialProjectionDefinitionOptions) {\n stringProjectionDefinition = stringProjectionDefinition.replace(' +over', '');\n const lonLatIndex = lonLatEquivalentDefinitions.indexOf(stringProjectionDefinition);\n const webMercatorIndex = webMercatorEquivalentDefinitions.indexOf(stringProjectionDefinition);\n if (lonLatIndex != -1) {\n return getLonLatDefinition(partialProjectionDefinitionOptions);\n }\n else if (webMercatorIndex != -1) {\n return getWebMercatorDefinition(partialProjectionDefinitionOptions);\n }\n else {\n return stringProjectionDefinition;\n }\n}\nexport function projectionToAntialiasedProjection(projection, partialProjectionDefinitionOptions) {\n return {\n definition: projectionDefinitionToAntialiasedDefinition(String(projection?.definition), partialProjectionDefinitionOptions)\n };\n}\nexport function isEqualProjection(projection0, projection1) {\n return (projectionDefinitionToAntialiasedDefinition(String(projection0?.definition)) ==\n projectionDefinitionToAntialiasedDefinition(String(projection1?.definition)));\n}\nexport function projectedGcpTransformOptionsToGcpTransformOptions(internalProjection, partialProjectedGcpTransformOptions) {\n if (partialProjectedGcpTransformOptions === undefined ||\n Object.keys(partialProjectedGcpTransformOptions).length === 0) {\n return {};\n }\n let partialGcpTransformOptions = partialProjectedGcpTransformOptions;\n const projection = partialProjectedGcpTransformOptions?.projection;\n if (projection) {\n const internalProjectionToProjectionConverter = proj4(internalProjection.definition, projection.definition);\n const postToGeo = internalProjectionToProjectionConverter.forward;\n const preToResource = internalProjectionToProjectionConverter.inverse;\n partialGcpTransformOptions = mergePartialOptions(partialGcpTransformOptions, {\n postToGeo,\n preToResource\n });\n }\n return partialGcpTransformOptions;\n}\n"],"names":["DEFAULT_PROJECTION_DEFINITION_OPTIONS","lonLatEpsgDefinition","lonLatProj4StringDefinition","lonLatWktDefinition","lonLatWkt2Definition","lonLatEquivalentDefinitions","getLonLatDefinition","partialProjectionDefinitionOptions","projectionDefinitionOptions","mergeOptions","webMercatorEpsgDefinition","webMercatorProj4StringDefinition","webMercatorOpenLayersProj4StringDefinition","webMercatorWktDefinition","webMercatorWkt2Definition","webMercatorEquivalentDefinitions","getWebMercatorDefinition","lonLatProjection","webMercatorProjection","defaultProjectedGcpTransformerOptions","defaultGcpTransformerOptions","lonLatProjectionToWebMecatorProjectionConverter","proj4","lonLatToWebMercator","webMercatorToLonLat","projectionDefinitionToAntialiasedDefinition","stringProjectionDefinition","lonLatIndex","webMercatorIndex","isEqualProjection","projection0","projection1","projectedGcpTransformOptionsToGcpTransformOptions","internalProjection","partialProjectedGcpTransformOptions","partialGcpTransformOptions","projection","internalProjectionToProjectionConverter","postToGeo","preToResource","mergePartialOptions"],"mappings":"mLAGMA,EAAwC,CAC1C,KAAM,cACN,KAAM,EACV,EAKMC,EAAuB,YACvBC,EAA8B,kFAC9BC,EAAsB,mQACtBC,EAAuB,q2BACvBC,EAA8B,CAChCH,EAA8B,SAC9BA,EACAD,EACAE,EACAC,EACA,gDACA,OACJ,EACO,SAASE,EAAoBC,EAAoC,CACpE,MAAMC,EAA8BC,EAAAA,aAAaT,EAAuCO,CAAkC,EAC1H,GAAIC,EAA4B,MAAQ,eACpC,GAAIA,EAA4B,KAC5B,OAAON,EAA8B,aAK7C,IACSM,EAA4B,MAAQ,OACzC,OAAOP,EACX,GACSO,EAA4B,MAAQ,MACzC,OAAOL,EACX,GACSK,EAA4B,MAAQ,OACzC,OAAOJ,EAEX,MAAM,IAAI,MAAM,iCAAiC,CACrD,CACA,MAAMM,EAA4B,YAC5BC,EAAmC,6HACnCC,EAA6C,mJAC7CC,EAA2B,4qBAC3BC,EAA4B,6zCAC5BC,EAAmC,CACrCJ,EAAmC,SACnCA,EACAC,EACAF,EACAG,EACAC,EACA,YACA,SACA,cACA,aACJ,EACO,SAASE,EAAyBT,EAAoC,CACzE,MAAMC,EAA8BC,EAAAA,aAAaT,EAAuCO,CAAkC,EAC1H,GAAIC,EAA4B,MAAQ,eACpC,GAAIA,EAA4B,KAC5B,OAAOG,EAAmC,aAKlD,IACSH,EAA4B,MAAQ,OACzC,OAAOE,EACX,G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X","x_google_ignoreList":[0]}
|
package/dist/index.cjs226.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs461.js"),a=require("./index.cjs462.js"),n=require("./index.cjs228.js"),t=require("./index.cjs467.js");t.union([e.AnnotationSchema,a.AnnotationSchema]);t.union([e.AnnotationPageSchema,a.AnnotationPageSchema]);t.union([e.FeaturePropertiesSchema,a.FeaturePropertiesSchema]);exports.Annotation0FeaturePropertiesSchema=e.FeaturePropertiesSchema;exports.Annotation0Schema=e.AnnotationSchema;exports.AnnotationPage0Schema=e.AnnotationPageSchema;exports.SvgSelector0Schema=e.SvgSelectorSchema;exports.Annotation1FeaturePropertiesSchema=a.FeaturePropertiesSchema;exports.Annotation1Schema=a.AnnotationSchema;exports.AnnotationPage1Schema=a.AnnotationPageSchema;exports.ImageServiceSchema=n.ImageServiceSchema;exports.PartOfSchema=n.PartOfSchema;exports.PointGeometrySchema=n.PointGeometrySchema;exports.ResourceTypeSchema=n.ResourceTypeSchema;exports.TransformationSchema=n.TransformationSchema;
|
|
2
2
|
//# sourceMappingURL=index.cjs226.js.map
|
package/dist/index.cjs226.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs226.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs226.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/annotation.js"],"sourcesContent":["import { z } from 'zod';\nimport { AnnotationSchema as Annotation0Schema, AnnotationPageSchema as AnnotationPage0Schema, FeaturePropertiesSchema as Annotation0FeaturePropertiesSchema, SvgSelectorSchema as SvgSelector0Schema } from './annotation/annotation.0.js';\nimport { AnnotationSchema as Annotation1Schema, AnnotationPageSchema as AnnotationPage1Schema, FeaturePropertiesSchema as Annotation1FeaturePropertiesSchema, SvgSelectorSchema as SvgSelector1Schema, TargetSchema as Target1Schema, SourceSchema as Source1Schema } from './annotation/annotation.1.js';\nimport { ResourceTypeSchema, PointGeometrySchema, ImageServiceSchema, TransformationSchema, PartOfSchema } from './shared.js';\nconst DefaultAnnotationSchema = Annotation1Schema;\nconst DefaultAnnotationPageSchema = AnnotationPage1Schema;\nconst DefaultFeaturePropertiesSchema = Annotation1FeaturePropertiesSchema;\nconst DefaultTargetSchema = Target1Schema;\nconst DefaultSourceSchema = Source1Schema;\nconst DefaultSvgSelectorSchema = SvgSelector1Schema;\nconst AnnotationAllVersionsSchema = z.union([\n Annotation0Schema,\n Annotation1Schema\n]);\nconst AnnotationPageAllVersionsSchema = z.union([\n AnnotationPage0Schema,\n AnnotationPage1Schema\n]);\nconst FeaturePropertiesAllVersionsSchema = z.union([\n Annotation0FeaturePropertiesSchema,\n Annotation1FeaturePropertiesSchema\n]);\nexport { Annotation0Schema, AnnotationPage0Schema, Annotation0FeaturePropertiesSchema, Annotation1Schema, AnnotationPage1Schema, Annotation1FeaturePropertiesSchema, SvgSelector0Schema, \n// Default schemas\nDefaultAnnotationSchema as AnnotationSchema, DefaultAnnotationPageSchema as AnnotationPageSchema, DefaultFeaturePropertiesSchema as FeaturePropertiesSchema, DefaultSvgSelectorSchema as SvgSelectorSchema, DefaultTargetSchema as TargetSchema, DefaultSourceSchema as SourceSchema, \n// All versions\nAnnotationAllVersionsSchema, AnnotationPageAllVersionsSchema, FeaturePropertiesAllVersionsSchema, \n// Shared schemas\nPointGeometrySchema, ImageServiceSchema, TransformationSchema, PartOfSchema, ResourceTypeSchema };\n"],"names":["z.union","Annotation0Schema","Annotation1Schema","AnnotationPage0Schema","AnnotationPage1Schema","Annotation0FeaturePropertiesSchema","Annotation1FeaturePropertiesSchema"],"mappings":"kNAUoCA,EAAAA,MAAQ,CACxCC,EAAAA,iBACAC,EAAAA,gBACJ,CAAC,EACuCF,EAAAA,MAAQ,CAC5CG,EAAAA,qBACAC,EAAAA,oBACJ,CAAC,EAC0CJ,EAAAA,MAAQ,CAC/CK,EAAAA,wBACAC,EAAAA,uBACJ,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs227.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs465.js"),a=require("./index.cjs464.js"),r=require("./index.cjs228.js"),c=require("./index.cjs467.js");c.discriminatedUnion("version",[e.GeoreferencedMapSchema,a.GeoreferencedMapSchema]);c.union([e.GeoreferencedMapsSchema,a.GeoreferencedMapsSchema]);c.union([e.GCPSchema,a.GCPSchema]);exports.GeoreferencedMap1GCPSchema=e.GCPSchema;exports.GeoreferencedMap1ImageSchema=e.ImageSchema;exports.GeoreferencedMap1Schema=e.GeoreferencedMapSchema;exports.GeoreferencedMaps1Schema=e.GeoreferencedMapsSchema;exports.GeoreferencedMap2GCPSchema=a.GCPSchema;exports.GeoreferencedMap2ResourceSchema=a.ResourceSchema;exports.GeoreferencedMap2Schema=a.GeoreferencedMapSchema;exports.GeoreferencedMaps2Schema=a.GeoreferencedMapsSchema;exports.PartOfSchema=r.PartOfSchema;exports.ResourceMaskSchema=r.ResourceMaskSchema;exports.TransformationSchema=r.TransformationSchema;
|
|
2
2
|
//# sourceMappingURL=index.cjs227.js.map
|
package/dist/index.cjs227.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs227.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs227.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/georeferenced-map.js"],"sourcesContent":["import { z } from 'zod';\nimport { GeoreferencedMapSchema as GeoreferencedMap1Schema, GeoreferencedMapsSchema as GeoreferencedMaps1Schema, GCPSchema as GeoreferencedMap1GCPSchema, ImageSchema as GeoreferencedMap1ImageSchema } from './georeferenced-map/georeferenced-map.1.js';\nimport { GeoreferencedMapSchema as GeoreferencedMap2Schema, GeoreferencedMapsSchema as GeoreferencedMaps2Schema, GCPSchema as GeoreferencedMap2GCPSchema, ResourceSchema as GeoreferencedMap2ResourceSchema } from './georeferenced-map/georeferenced-map.2.js';\nimport { PartOfSchema, ResourceMaskSchema, TransformationSchema } from './shared.js';\nconst DefaultGeoreferencedMapSchema = GeoreferencedMap2Schema;\nconst DefaultGeoreferencedMapsSchema = GeoreferencedMaps2Schema;\nconst DefaultGCPSchema = GeoreferencedMap2GCPSchema;\nconst DefaultResourceSchema = GeoreferencedMap2ResourceSchema;\nconst GeoreferencedMapAllVersionsSchema = z.discriminatedUnion('version', [\n GeoreferencedMap1Schema,\n GeoreferencedMap2Schema\n]);\nconst GeoreferencedMapsAllVersionsSchema = z.union([\n GeoreferencedMaps1Schema,\n GeoreferencedMaps2Schema\n]);\nconst GCPAllVersionsSchema = z.union([\n GeoreferencedMap1GCPSchema,\n GeoreferencedMap2GCPSchema\n]);\nexport { GeoreferencedMap1Schema, GeoreferencedMaps1Schema, GeoreferencedMap1GCPSchema, GeoreferencedMap1ImageSchema, GeoreferencedMap2Schema, GeoreferencedMaps2Schema, GeoreferencedMap2GCPSchema, GeoreferencedMap2ResourceSchema, \n// Default schemas\nDefaultGeoreferencedMapSchema as GeoreferencedMapSchema, DefaultGeoreferencedMapsSchema as GeoreferencedMapsSchema, DefaultGCPSchema as GCPSchema, DefaultResourceSchema as ResourceSchema, \n// All versions\nGeoreferencedMapAllVersionsSchema, GeoreferencedMapsAllVersionsSchema, GCPAllVersionsSchema, \n// Shared schemas\nPartOfSchema, ResourceMaskSchema, TransformationSchema };\n"],"names":["z.discriminatedUnion","GeoreferencedMap1Schema","GeoreferencedMap2Schema","z.union","GeoreferencedMaps1Schema","GeoreferencedMaps2Schema","GeoreferencedMap1GCPSchema","GeoreferencedMap2GCPSchema"],"mappings":"kNAQ0CA,EAAAA,mBAAqB,UAAW,CACtEC,EAAAA,uBACAC,EAAAA,sBACJ,CAAC,EAC0CC,EAAAA,MAAQ,CAC/CC,EAAAA,wBACAC,EAAAA,uBACJ,CAAC,EAC4BF,EAAAA,MAAQ,CACjCG,EAAAA,UACAC,EAAAA,SACJ,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs228.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function t(r,e,n){return e in n}
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs467.js");function t(n){return e.union([e.array(n),n]).transform(o=>Array.isArray(o)?o:[o])}function m(n){return e.unknown().transform(o=>{const c=n.safeParse(o);if(c.success)return c.data})}const g=e.union([e.string(),e.number(),e.boolean()]),r=e.record(e.string(),g.array()),a=e.tuple([e.number(),e.number()]),h=e.object({type:e.literal("Point"),coordinates:a}),y=a.array().min(3),l=["ImageService1","ImageService2","ImageService3"],f=[...l,"Canvas"],d=e.enum(l),P=e.enum(f),i=e.object({id:e.string().url(),type:e.string(),label:r.optional(),get partOf(){return e.array(i).optional()}}),b=t(i),p=e.object({id:e.string().url(),type:e.string().optional(),label:r.optional(),format:e.string().optional(),language:e.union([e.string(),e.array(e.string())]).optional()}),I=e.union([p,e.unknown().transform(()=>{})]),u=t(I).transform(n=>n.filter(o=>o!==void 0)),S=e.object({id:e.string().url().optional(),label:r.optional(),homepage:u.transform(n=>n.length>0?n:void 0).optional()}),j=t(S),O=e.object({type:e.enum(["helmert","polynomial","thinPlateSpline","projective","straight","linear"]),options:e.looseObject({}).optional()});function s(n){const o=n.toLowerCase();if(o==="thinplatespline"||o==="thin-plate-spline")return{type:"thinPlateSpline"};if(o==="polynomial1")return{type:"polynomial",options:{order:1}};if(o==="polynomial2")return{type:"polynomial",options:{order:2}}}const v=m(O).or(e.unknown().transform(n=>{if(typeof n=="string")return s(n);if(n&&typeof n=="object"&&"type"in n&&typeof n.type=="string")return s(n.type)})),T=e.object({id:e.string().url().optional(),name:e.string().optional(),definition:e.union([e.string(),e.unknown()])}),k=e.union([e.string().url().array(),e.string().url()]);exports.ContextSchema=k;exports.HomepageItemSchema=p;exports.HomepageSchema=u;exports.ImageServiceSchema=d;exports.LanguageValueSchema=r;exports.PartOfItemSchema=i;exports.PartOfSchema=b;exports.PointGeometrySchema=h;exports.PointSchema=a;exports.ProjectionSchema=T;exports.ProviderItemSchema=S;exports.ProviderSchema=j;exports.ResourceMaskSchema=y;exports.ResourceTypeSchema=P;exports.TransformationSchema=v;exports.oneOrMany=t;exports.parseIfValid=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs228.js.map
|
package/dist/index.cjs228.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs228.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/shared.js"],"sourcesContent":["import { z } from 'zod';\nexport function oneOrMany(schema) {\n return z\n .union([z.array(schema), schema])\n .transform((value) => (Array.isArray(value) ? value : [value]));\n}\nexport function parseIfValid(schema) {\n return z.unknown().transform((value) => {\n const result = schema.safeParse(value);\n if (result.success) {\n return result.data;\n }\n });\n}\n// Copied from presentation.3.ts in @allmaps/iiif-parser\nconst SingleValueSchema = z.union([z.string(), z.number(), z.boolean()]);\nexport const LanguageValueSchema = z.record(z.string(), SingleValueSchema.array());\nexport const PointSchema = z.tuple([z.number(), z.number()]);\nexport const PointGeometrySchema = z.object({\n type: z.literal('Point'),\n coordinates: PointSchema\n});\nexport const ResourceMaskSchema = PointSchema.array().min(3);\nconst ImageServices = [\n 'ImageService1',\n 'ImageService2',\n 'ImageService3'\n];\nconst ResourceTypes = [...ImageServices, ...['Canvas']];\nexport const ImageServiceSchema = z.enum(ImageServices);\nexport const ResourceTypeSchema = z.enum(ResourceTypes);\nexport const PartOfItemSchema = z.object({\n id: z.string().url(),\n type: z.string(),\n label: LanguageValueSchema.optional(),\n get partOf() {\n return z.array(PartOfItemSchema).optional();\n }\n});\nexport const PartOfSchema = oneOrMany(PartOfItemSchema);\nexport const HomepageItemSchema = z.object({\n id: z.string().url(),\n type: z.string().optional(),\n label: LanguageValueSchema.optional(),\n format: z.string().optional(),\n language: z.union([z.string(), z.array(z.string())]).optional()\n});\nconst OptionalHomepageItemSchema = z.union([\n HomepageItemSchema,\n z.unknown().transform(() => undefined)\n]);\nexport const HomepageSchema = oneOrMany(OptionalHomepageItemSchema).transform((values) => values.filter((value) => value !== undefined));\nexport const ProviderItemSchema = z.object({\n id: z.string().url().optional(),\n label: LanguageValueSchema.optional(),\n homepage: HomepageSchema.transform((values) => values.length > 0 ? values : undefined).optional()\n});\nexport const ProviderSchema = oneOrMany(ProviderItemSchema);\nconst ValidTransformationSchema = z.object({\n type: z.enum([\n 'helmert',\n 'polynomial',\n 'thinPlateSpline',\n 'projective',\n 'straight',\n 'linear'\n ]),\n options: z.looseObject({}).optional()\n});\nfunction parseInvalidTransformation(val) {\n // Also allow values like:\n // - thin-plate-spline\n // - thinplatespline\n // - polynomial1\n const valLowerCase = val.toLowerCase();\n if (valLowerCase === 'thinplatespline' ||\n valLowerCase === 'thin-plate-spline') {\n return {\n type: 'thinPlateSpline'\n };\n }\n else if (valLowerCase === 'polynomial1') {\n return {\n type: 'polynomial',\n options: { order: 1 }\n };\n }\n else if (valLowerCase === 'polynomial2') {\n return {\n type: 'polynomial',\n options: { order: 2 }\n };\n }\n}\nexport const TransformationSchema = parseIfValid(ValidTransformationSchema).or(z.unknown().transform((val) => {\n if (typeof val === 'string') {\n return parseInvalidTransformation(val);\n }\n if (val &&\n typeof val === 'object' &&\n 'type' in val &&\n typeof val.type === 'string') {\n return parseInvalidTransformation(val.type);\n }\n}));\nexport const ProjectionSchema = z.object({\n id: z.string().url().optional(),\n name: z.string().optional(),\n definition: z.union([z.string(), z.unknown()])\n});\nexport const ContextSchema = z.union([\n z.string().url().array(),\n z.string().url()\n]);\n"],"names":["oneOrMany","schema","z.union","z.array","value","parseIfValid","z.unknown","result","SingleValueSchema","z.string","z.number","z.boolean","LanguageValueSchema","z.record","PointSchema","z.tuple","PointGeometrySchema","z.object","z.literal","ResourceMaskSchema","ImageServices","ResourceTypes","ImageServiceSchema","z.enum","ResourceTypeSchema","PartOfItemSchema","PartOfSchema","HomepageItemSchema","OptionalHomepageItemSchema","HomepageSchema","values","ProviderItemSchema","ProviderSchema","ValidTransformationSchema","z.looseObject","parseInvalidTransformation","val","valLowerCase","TransformationSchema","ProjectionSchema","ContextSchema"],"mappings":"qHACO,SAASA,EAAUC,EAAQ,CAC9B,OAAOC,EAAAA,MACI,CAACC,EAAAA,MAAQF,CAAM,EAAGA,CAAM,CAAC,EAC/B,UAAWG,GAAW,MAAM,QAAQA,CAAK,EAAIA,EAAQ,CAACA,CAAK,CAAE,CACtE,CACO,SAASC,EAAaJ,EAAQ,CACjC,OAAOK,UAAE,EAAU,UAAWF,GAAU,CACpC,MAAMG,EAASN,EAAO,UAAUG,CAAK,EACrC,GAAIG,EAAO,QACP,OAAOA,EAAO,IAEtB,CAAC,CACL,CAEA,MAAMC,EAAoBN,EAAAA,MAAQ,CAACO,EAAAA,OAAE,EAAUC,EAAAA,OAAE,EAAUC,EAAAA,QAAE,CAAS,CAAC,EAC1DC,EAAsBC,EAAAA,OAASJ,EAAAA,SAAYD,EAAkB,OAAO,EACpEM,EAAcC,EAAAA,MAAQ,CAACL,WAAYA,EAAAA,OAAE,CAAQ,CAAC,EAC9CM,EAAsBC,EAAAA,OAAS,CACxC,KAAMC,EAAAA,QAAU,OAAO,EACvB,YAAaJ,CACjB,CAAC,EACYK,EAAqBL,EAAY,MAAA,EAAQ,IAAI,CAAC,EACrDM,EAAgB,CAClB,gBACA,gBACA,eACJ,EACMC,EAAgB,CAAC,GAAGD,EAAmB,QAAS,EACzCE,EAAqBC,EAAAA,KAAOH,CAAa,EACzCI,EAAqBD,EAAAA,KAAOF,CAAa,EACzCI,EAAmBR,EAAAA,OAAS,CACrC,GAAIR,EAAAA,OAAE,EAAS,IAAA,EACf,KAAMA,EAAAA,OAAE,EACR,MAAOG,EAAoB,SAAA,EAC3B,IAAI,QAAS,CACT,OAAOT,EAAAA,MAAQsB,CAAgB,EA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EAAE,GAAG3B,EAAAA,UAAY,UAAW8B,GAAQ,CAC1G,GAAI,OAAOA,GAAQ,SACf,OAAOD,EAA2BC,CAAG,EAEzC,GAAIA,GACA,OAAOA,GAAQ,UACf,SAAUA,GACV,OAAOA,EAAI,MAAS,SACpB,OAAOD,EAA2BC,EAAI,IAAI,CAElD,CAAC,CAAC,EACWG,EAAmBtB,EAAAA,OAAS,CACrC,GAAIR,EAAAA,OAAE,EAAS,IAAA,EAAM,SAAA,EACrB,KAAMA,EAAAA,OAAE,EAAS,SAAA,EACjB,WAAYP,EAAAA,MAAQ,CAACO,WAAYH,EAAAA,QAAE,CAAS,CAAC,CACjD,CAAC,EACYkC,EAAgBtC,EAAAA,MAAQ,CACjCO,SAAE,EAAS,IAAA,EAAM,MAAA,EACjBA,EAAAA,OAAE,EAAS,IAAA,CACf,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs229.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs230.js"),n=require("./index.cjs231.js"),S=require("./index.cjs426.js"),e=require("./index.cjs484.js"),a=require("./index.cjs485.js"),c=require("./index.cjs467.js"),o=c.union([m.Image1Schema,n.Image2Schema,S.Image3Schema]);c.union([e.Canvas2Schema,a.Canvas3Schema]);c.union([e.Manifest2Schema,a.Manifest3Schema]);c.union([e.Collection2Schema,a.Collection3Schema]);const h=m.Image1Schema,i=c.discriminatedUnion("@type",[e.Collection2Schema,e.Manifest2Schema,e.Canvas2Schema,n.Image2Schema]),t=c.discriminatedUnion("type",[a.Collection3Schema,a.Manifest3Schema,a.Canvas3Schema,S.Image3Schema]);c.union([h,i,t]);exports.Image1Schema=m.Image1Schema;exports.Image2Schema=n.Image2Schema;exports.Image3Schema=S.Image3Schema;exports.Canvas2Schema=e.Canvas2Schema;exports.Collection2Schema=e.Collection2Schema;exports.Manifest2Schema=e.Manifest2Schema;exports.Canvas3Schema=a.Canvas3Schema;exports.Collection3Schema=a.Collection3Schema;exports.Manifest3Schema=a.Manifest3Schema;exports.IIIF1Schema=h;exports.IIIF2Schema=i;exports.IIIF3Schema=t;exports.ImageSchema=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs229.js.map
|
package/dist/index.cjs229.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs229.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/@allmaps/iiif-parser/dist/schemas/iiif.js"],"sourcesContent":["import { z } from 'zod';\nimport { Image1Schema } from './image.1.js';\nimport { Image2Schema } from './image.2.js';\nimport { Image3Schema } from './image.3.js';\nimport { Canvas2Schema, Manifest2Schema, Collection2Schema } from './presentation.2.js';\nimport { Canvas3Schema, Manifest3Schema, Collection3Schema } from './presentation.3.js';\nexport { Image1Schema, Image2Schema, Image3Schema };\nexport { Canvas2Schema, Canvas3Schema };\nexport { Manifest2Schema, Manifest3Schema };\nexport { Collection2Schema, Collection3Schema };\nexport const ImageSchema = z.union([Image1Schema, Image2Schema, Image3Schema]);\nexport const CanvasSchema = z.union([Canvas2Schema, Canvas3Schema]);\nexport const ManifestSchema = z.union([Manifest2Schema, Manifest3Schema]);\nexport const CollectionSchema = z.union([Collection2Schema, Collection3Schema]);\nexport const IIIF1Schema = Image1Schema;\nexport const IIIF2Schema = z.discriminatedUnion('@type', [\n Collection2Schema,\n Manifest2Schema,\n Canvas2Schema,\n Image2Schema\n]);\nexport const IIIF3Schema = z.discriminatedUnion('type', [\n Collection3Schema,\n Manifest3Schema,\n Canvas3Schema,\n Image3Schema\n]);\nexport const IIIFSchema = z.union([IIIF1Schema, IIIF2Schema, IIIF3Schema]);\n"],"names":["ImageSchema","z.union","Image1Schema","Image2Schema","Image3Schema","Canvas2Schema","Canvas3Schema","Manifest2Schema","Manifest3Schema","Collection2Schema","Collection3Schema","IIIF1Schema","IIIF2Schema","z.discriminatedUnion","IIIF3Schema"],"mappings":"gRAUaA,EAAcC,EAAAA,MAAQ,CAACC,eAAcC,EAAAA,aAAcC,EAAAA,YAAY,CAAC,EACjDH,EAAAA,MAAQ,CAACI,EAAAA,cAAeC,eAAa,CAAC,EACpCL,EAAAA,MAAQ,CAACM,EAAAA,gBAAiBC,iBAAe,CAAC,EACxCP,EAAAA,MAAQ,CAACQ,EAAAA,kBAAmBC,mBAAiB,CAAC,EACvE,MAAMC,EAAcT,EAAAA,aACdU,EAAcC,EAAAA,mBAAqB,QAAS,CACrDJ,EAAAA,kBACAF,EAAAA,gBACAF,EAAAA,cACAF,EAAAA,YACJ,CAAC,EACYW,EAAcD,EAAAA,mBAAqB,OAAQ,CACpDH,EAAAA,kBACAF,EAAAA,gBACAF,EAAAA,cACAF,EAAAA,YACJ,CAAC,EACyBH,EAAAA,MAAQ,CAACU,EAAaC,EAAaE,CAAW,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs23.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("react"),l=require("./index.
|
|
1
|
+
"use strict";const n=require("react"),l=require("./index.cjs266.js"),a=require("./index.cjs30.js");function r(t){const e=a.useControl(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{l.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
|
|
2
2
|
//# sourceMappingURL=index.cjs23.js.map
|
package/dist/index.cjs230.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs467.js"),i=/^https?:\/\/library.stanford.edu\/iiif\/image-api\/1.1\/compliance.html#level(?<level>[012])$/,t=e.string().regex(i),n=t,o="http://library.stanford.edu/iiif/image-api/1.1/context.json",a="http://iiif.io/api/image/1/context.json",r=e.literal(o),g=e.object({"@context":r,"@id":e.string().url(),profile:t.optional(),width:e.number().int(),height:e.number().int(),scale_factors:e.number().array().optional(),tile_width:e.number().optional(),tile_height:e.number().optional()});exports.Image1Context=r;exports.Image1ContextString=o;exports.Image1ContextStringIncorrect=a;exports.Image1ProfileSchema=n;exports.Image1ProfileUri=t;exports.Image1Schema=g;exports.image1ProfileUriRegex=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs230.js.map
|
package/dist/index.cjs230.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs230.js","sources":["../../../node_modules/@turf/meta/dist/esm/index.js"],"sourcesContent":["// index.js\nimport { feature, point, lineString, isObject } from \"@turf/helpers\";\nfunction coordEach(geojson, callback, excludeWrapCoord) {\n if (geojson === null) return;\n var j, k, l, geometry, stopG, coords, geometryMaybeCollection, wrapShrink = 0, coordIndex = 0, isGeometryCollection, type = geojson.type, isFeatureCollection = type === \"FeatureCollection\", isFeature = type === \"Feature\", stop = isFeatureCollection ? geojson.features.length : 1;\n for (var featureIndex = 0; featureIndex < stop; featureIndex++) {\n geometryMaybeCollection = isFeatureCollection ? geojson.features[featureIndex].geometry : isFeature ? geojson.geometry : geojson;\n isGeometryCollection = geometryMaybeCollection ? geometryMaybeCollection.type === \"GeometryCollection\" : false;\n stopG = isGeometryCollection ? geometryMaybeCollection.geometries.length : 1;\n for (var geomIndex = 0; geomIndex < stopG; geomIndex++) {\n var multiFeatureIndex = 0;\n var geometryIndex = 0;\n geometry = isGeometryCollection ? geometryMaybeCollection.geometries[geomIndex] : geometryMaybeCollection;\n if (geometry === null) continue;\n coords = geometry.coordinates;\n var geomType = geometry.type;\n wrapShrink = excludeWrapCoord && (geomType === \"Polygon\" || geomType === \"MultiPolygon\") ? 1 : 0;\n switch (geomType) {\n case null:\n break;\n case \"Point\":\n if (callback(\n coords,\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n multiFeatureIndex++;\n break;\n case \"LineString\":\n case \"MultiPoint\":\n for (j = 0; j < coords.length; j++) {\n if (callback(\n coords[j],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n if (geomType === \"MultiPoint\") multiFeatureIndex++;\n }\n if (geomType === \"LineString\") multiFeatureIndex++;\n break;\n case \"Polygon\":\n case \"MultiLineString\":\n for (j = 0; j < coords.length; j++) {\n for (k = 0; k < coords[j].length - wrapShrink; k++) {\n if (callback(\n coords[j][k],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n }\n if (geomType === \"MultiLineString\") multiFeatureIndex++;\n if (geomType === \"Polygon\") geometryIndex++;\n }\n if (geomType === \"Polygon\") multiFeatureIndex++;\n break;\n case \"MultiPolygon\":\n for (j = 0; j < coords.length; j++) {\n geometryIndex = 0;\n for (k = 0; k < coords[j].length; k++) {\n for (l = 0; l < coords[j][k].length - wrapShrink; l++) {\n if (callback(\n coords[j][k][l],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n }\n geometryIndex++;\n }\n multiFeatureIndex++;\n }\n break;\n case \"GeometryCollection\":\n for (j = 0; j < geometry.geometries.length; j++)\n if (coordEach(geometry.geometries[j], callback, excludeWrapCoord) === false)\n return false;\n break;\n default:\n throw new Error(\"Unknown Geometry Type\");\n }\n }\n }\n}\nfunction coordReduce(geojson, callback, initialValue, excludeWrapCoord) {\n var previousValue = initialValue;\n coordEach(\n geojson,\n function(currentCoord, coordIndex, featureIndex, multiFeatureIndex, geometryIndex) {\n if (coordIndex === 0 && initialValue === void 0)\n previousValue = currentCoord;\n else\n previousValue = callback(\n previousValue,\n currentCoord,\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n );\n },\n excludeWrapCoord\n );\n return previousValue;\n}\nfunction propEach(geojson, callback) {\n var i;\n switch (geojson.type) {\n case \"FeatureCollection\":\n for (i = 0; i < geojson.features.length; i++) {\n if (callback(geojson.features[i].properties, i) === false) break;\n }\n break;\n case \"Feature\":\n callback(geojson.properties, 0);\n break;\n }\n}\nfunction propReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n propEach(geojson, function(currentProperties, featureIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentProperties;\n else\n previousValue = callback(previousValue, currentProperties, featureIndex);\n });\n return previousValue;\n}\nfunction featureEach(geojson, callback) {\n if (geojson.type === \"Feature\") {\n callback(geojson, 0);\n } else if (geojson.type === \"FeatureCollection\") {\n for (var i = 0; i < geojson.features.length; i++) {\n if (callback(geojson.features[i], i) === false) break;\n }\n }\n}\nfunction featureReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n featureEach(geojson, function(currentFeature, featureIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentFeature;\n else previousValue = callback(previousValue, currentFeature, featureIndex);\n });\n return previousValue;\n}\nfunction coordAll(geojson) {\n var coords = [];\n coordEach(geojson, function(coord) {\n coords.push(coord);\n });\n return coords;\n}\nfunction geomEach(geojson, callback) {\n var i, j, g, geometry, stopG, geometryMaybeCollection, isGeometryCollection, featureProperties, featureBBox, featureId, featureIndex = 0, isFeatureCollection = geojson.type === \"FeatureCollection\", isFeature = geojson.type === \"Feature\", stop = isFeatureCollection ? geojson.features.length : 1;\n for (i = 0; i < stop; i++) {\n geometryMaybeCollection = isFeatureCollection ? geojson.features[i].geometry : isFeature ? geojson.geometry : geojson;\n featureProperties = isFeatureCollection ? geojson.features[i].properties : isFeature ? geojson.properties : {};\n featureBBox = isFeatureCollection ? geojson.features[i].bbox : isFeature ? geojson.bbox : void 0;\n featureId = isFeatureCollection ? geojson.features[i].id : isFeature ? geojson.id : void 0;\n isGeometryCollection = geometryMaybeCollection ? geometryMaybeCollection.type === \"GeometryCollection\" : false;\n stopG = isGeometryCollection ? geometryMaybeCollection.geometries.length : 1;\n for (g = 0; g < stopG; g++) {\n geometry = isGeometryCollection ? geometryMaybeCollection.geometries[g] : geometryMaybeCollection;\n if (geometry === null) {\n if (callback(\n null,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n continue;\n }\n switch (geometry.type) {\n case \"Point\":\n case \"LineString\":\n case \"MultiPoint\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\": {\n if (callback(\n geometry,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n break;\n }\n case \"GeometryCollection\": {\n for (j = 0; j < geometry.geometries.length; j++) {\n if (callback(\n geometry.geometries[j],\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n }\n break;\n }\n default:\n throw new Error(\"Unknown Geometry Type\");\n }\n }\n featureIndex++;\n }\n}\nfunction geomReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n geomEach(\n geojson,\n function(currentGeometry, featureIndex, featureProperties, featureBBox, featureId) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentGeometry;\n else\n previousValue = callback(\n previousValue,\n currentGeometry,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n );\n }\n );\n return previousValue;\n}\nfunction flattenEach(geojson, callback) {\n geomEach(geojson, function(geometry, featureIndex, properties, bbox, id) {\n var type = geometry === null ? null : geometry.type;\n switch (type) {\n case null:\n case \"Point\":\n case \"LineString\":\n case \"Polygon\":\n if (callback(\n feature(geometry, properties, { bbox, id }),\n featureIndex,\n 0\n ) === false)\n return false;\n return;\n }\n var geomType;\n switch (type) {\n case \"MultiPoint\":\n geomType = \"Point\";\n break;\n case \"MultiLineString\":\n geomType = \"LineString\";\n break;\n case \"MultiPolygon\":\n geomType = \"Polygon\";\n break;\n }\n for (var multiFeatureIndex = 0; multiFeatureIndex < geometry.coordinates.length; multiFeatureIndex++) {\n var coordinate = geometry.coordinates[multiFeatureIndex];\n var geom = {\n type: geomType,\n coordinates: coordinate\n };\n if (callback(feature(geom, properties), featureIndex, multiFeatureIndex) === false)\n return false;\n }\n });\n}\nfunction flattenReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n flattenEach(\n geojson,\n function(currentFeature, featureIndex, multiFeatureIndex) {\n if (featureIndex === 0 && multiFeatureIndex === 0 && initialValue === void 0)\n previousValue = currentFeature;\n else\n previousValue = callback(\n previousValue,\n currentFeature,\n featureIndex,\n multiFeatureIndex\n );\n }\n );\n return previousValue;\n}\nfunction segmentEach(geojson, callback) {\n flattenEach(geojson, function(feature2, featureIndex, multiFeatureIndex) {\n var segmentIndex = 0;\n if (!feature2.geometry) return;\n var type = feature2.geometry.type;\n if (type === \"Point\" || type === \"MultiPoint\") return;\n var previousCoords;\n var previousFeatureIndex = 0;\n var previousMultiIndex = 0;\n var prevGeomIndex = 0;\n if (coordEach(\n feature2,\n function(currentCoord, coordIndex, featureIndexCoord, multiPartIndexCoord, geometryIndex) {\n if (previousCoords === void 0 || featureIndex > previousFeatureIndex || multiPartIndexCoord > previousMultiIndex || geometryIndex > prevGeomIndex) {\n previousCoords = currentCoord;\n previousFeatureIndex = featureIndex;\n previousMultiIndex = multiPartIndexCoord;\n prevGeomIndex = geometryIndex;\n segmentIndex = 0;\n return;\n }\n var currentSegment = lineString(\n [previousCoords, currentCoord],\n feature2.properties\n );\n if (callback(\n currentSegment,\n featureIndex,\n multiFeatureIndex,\n geometryIndex,\n segmentIndex\n ) === false)\n return false;\n segmentIndex++;\n previousCoords = currentCoord;\n }\n ) === false)\n return false;\n });\n}\nfunction segmentReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n var started = false;\n segmentEach(\n geojson,\n function(currentSegment, featureIndex, multiFeatureIndex, geometryIndex, segmentIndex) {\n if (started === false && initialValue === void 0)\n previousValue = currentSegment;\n else\n previousValue = callback(\n previousValue,\n currentSegment,\n featureIndex,\n multiFeatureIndex,\n geometryIndex,\n segmentIndex\n );\n started = true;\n }\n );\n return previousValue;\n}\nfunction lineEach(geojson, callback) {\n if (!geojson) throw new Error(\"geojson is required\");\n flattenEach(geojson, function(feature2, featureIndex, multiFeatureIndex) {\n if (feature2.geometry === null) return;\n var type = feature2.geometry.type;\n var coords = feature2.geometry.coordinates;\n switch (type) {\n case \"LineString\":\n if (callback(feature2, featureIndex, multiFeatureIndex, 0, 0) === false)\n return false;\n break;\n case \"Polygon\":\n for (var geometryIndex = 0; geometryIndex < coords.length; geometryIndex++) {\n if (callback(\n lineString(coords[geometryIndex], feature2.properties),\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n }\n break;\n }\n });\n}\nfunction lineReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n lineEach(\n geojson,\n function(currentLine, featureIndex, multiFeatureIndex, geometryIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentLine;\n else\n previousValue = callback(\n previousValue,\n currentLine,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n );\n }\n );\n return previousValue;\n}\nfunction findSegment(geojson, options) {\n options = options || {};\n if (!isObject(options)) throw new Error(\"options is invalid\");\n var featureIndex = options.featureIndex || 0;\n var multiFeatureIndex = options.multiFeatureIndex || 0;\n var geometryIndex = options.geometryIndex || 0;\n var segmentIndex = options.segmentIndex || 0;\n var properties = options.properties;\n var geometry;\n switch (geojson.type) {\n case \"FeatureCollection\":\n if (featureIndex < 0)\n featureIndex = geojson.features.length + featureIndex;\n properties = properties || geojson.features[featureIndex].properties;\n geometry = geojson.features[featureIndex].geometry;\n break;\n case \"Feature\":\n properties = properties || geojson.properties;\n geometry = geojson.geometry;\n break;\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\":\n geometry = geojson;\n break;\n default:\n throw new Error(\"geojson is invalid\");\n }\n if (geometry === null) return null;\n var coords = geometry.coordinates;\n switch (geometry.type) {\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n if (segmentIndex < 0) segmentIndex = coords.length + segmentIndex - 1;\n return lineString(\n [coords[segmentIndex], coords[segmentIndex + 1]],\n properties,\n options\n );\n case \"Polygon\":\n if (geometryIndex < 0) geometryIndex = coords.length + geometryIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[geometryIndex].length + segmentIndex - 1;\n return lineString(\n [\n coords[geometryIndex][segmentIndex],\n coords[geometryIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n case \"MultiLineString\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[multiFeatureIndex].length + segmentIndex - 1;\n return lineString(\n [\n coords[multiFeatureIndex][segmentIndex],\n coords[multiFeatureIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n case \"MultiPolygon\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (geometryIndex < 0)\n geometryIndex = coords[multiFeatureIndex].length + geometryIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[multiFeatureIndex][geometryIndex].length - segmentIndex - 1;\n return lineString(\n [\n coords[multiFeatureIndex][geometryIndex][segmentIndex],\n coords[multiFeatureIndex][geometryIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n }\n throw new Error(\"geojson is invalid\");\n}\nfunction findPoint(geojson, options) {\n options = options || {};\n if (!isObject(options)) throw new Error(\"options is invalid\");\n var featureIndex = options.featureIndex || 0;\n var multiFeatureIndex = options.multiFeatureIndex || 0;\n var geometryIndex = options.geometryIndex || 0;\n var coordIndex = options.coordIndex || 0;\n var properties = options.properties;\n var geometry;\n switch (geojson.type) {\n case \"FeatureCollection\":\n if (featureIndex < 0)\n featureIndex = geojson.features.length + featureIndex;\n properties = properties || geojson.features[featureIndex].properties;\n geometry = geojson.features[featureIndex].geometry;\n break;\n case \"Feature\":\n properties = properties || geojson.properties;\n geometry = geojson.geometry;\n break;\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\":\n geometry = geojson;\n break;\n default:\n throw new Error(\"geojson is invalid\");\n }\n if (geometry === null) return null;\n var coords = geometry.coordinates;\n switch (geometry.type) {\n case \"Point\":\n return point(coords, properties, options);\n case \"MultiPoint\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n return point(coords[multiFeatureIndex], properties, options);\n case \"LineString\":\n if (coordIndex < 0) coordIndex = coords.length + coordIndex;\n return point(coords[coordIndex], properties, options);\n case \"Polygon\":\n if (geometryIndex < 0) geometryIndex = coords.length + geometryIndex;\n if (coordIndex < 0)\n coordIndex = coords[geometryIndex].length + coordIndex;\n return point(coords[geometryIndex][coordIndex], properties, options);\n case \"MultiLineString\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (coordIndex < 0)\n coordIndex = coords[multiFeatureIndex].length + coordIndex;\n return point(coords[multiFeatureIndex][coordIndex], properties, options);\n case \"MultiPolygon\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (geometryIndex < 0)\n geometryIndex = coords[multiFeatureIndex].length + geometryIndex;\n if (coordIndex < 0)\n coordIndex = coords[multiFeatureIndex][geometryIndex].length - coordIndex;\n return point(\n coords[multiFeatureIndex][geometryIndex][coordIndex],\n properties,\n options\n );\n }\n throw new Error(\"geojson is invalid\");\n}\nexport {\n coordAll,\n coordEach,\n coordReduce,\n featureEach,\n featureReduce,\n findPoint,\n findSegment,\n flattenEach,\n flattenReduce,\n geomEach,\n geomReduce,\n lineEach,\n lineReduce,\n propEach,\n propReduce,\n segmentEach,\n segmentReduce\n};\n//# sourceMappingURL=index.js.map"],"names":["coordEach","geojson","callback","excludeWrapCoord","j","k","l","geometry","stopG","coords","geometryMaybeCollection","wrapShrink","coordIndex","isGeometryCollection","type","isFeatureCollection","isFeature","stop","featureIndex","geomIndex","multiFeatureIndex","geometryIndex","geomType","featureEach","i","geomEach","g","featureProperties","featureBBox","featureId"],"mappings":"gFAEA,SAASA,EAAUC,EAASC,EAAUC,EAAkB,CACtD,GAAIF,IAAY,KAEhB,QADIG,EAAGC,EAAGC,EAAGC,EAAUC,EAAOC,EAAQC,EAAyBC,EAAa,EAAGC,EAAa,EAAGC,EAAsBC,EAAOb,EAAQ,KAAMc,EAAsBD,IAAS,oBAAqBE,EAAYF,IAAS,UAAWG,EAAOF,EAAsBd,EAAQ,SAAS,OAAS,EAC5QiB,EAAe,EAAGA,EAAeD,EAAMC,IAAgB,CAC9DR,EAA0BK,EAAsBd,EAAQ,SAASiB,CAAY,EAAE,SAAWF,EAAYf,EAAQ,SAAWA,EACzHY,EAAuBH,EAA0BA,EAAwB,OAAS,qBAAuB,GACzGF,EAAQK,EAAuBH,EAAwB,WAAW,OAAS,EAC3E,QAASS,EAAY,EAAGA,EAAYX,EAAOW,IAAa,CACtD,IAAIC,EAAoB,EACpBC,EAAgB,EAEpB,GADAd,EAAWM,EAAuBH,EAAwB,WAAWS,CAAS,EAAIT,EAC9EH,IAAa,KACjB,CAAAE,EAASF,EAAS,YAClB,IAAIe,EAAWf,EAAS,KAExB,OADAI,EAAaR,IAAqBmB,IAAa,WAAaA,IAAa,gBAAkB,EAAI,EACvFA,EAAA,CACN,KAAK,KACH,MACF,IAAK,QACH,GAAIpB,EACFO,EACAG,EACAM,EACAE,EACAC,CAAA,IACI,GACJ,MAAO,GACTT,IACAQ,IACA,MACF,IAAK,aACL,IAAK,aACH,IAAKhB,EAAI,EAAGA,EAAIK,EAAO,OAAQL,IAAK,CAClC,GAAIF,EACFO,EAAOL,CAAC,EACRQ,EACAM,EACAE,EACAC,CAAA,IACI,GACJ,MAAO,GACTT,IACIU,IAAa,cAAcF,GACjC,CACIE,IAAa,cAAcF,IAC/B,MACF,IAAK,UACL,IAAK,kBAC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"file":"index.cjs230.js","sources":["../../../node_modules/@allmaps/iiif-parser/dist/schemas/image.1.js"],"sourcesContent":["// Image API 1.1\n// https://iiif.io/api/image/1.1/#image-information\nimport { z } from 'zod';\nexport const image1ProfileUriRegex = /^https?:\\/\\/library.stanford.edu\\/iiif\\/image-api\\/1.1\\/compliance.html#level(?<level>[012])$/;\nexport const Image1ProfileUri = z.string().regex(image1ProfileUriRegex);\nexport const Image1ProfileSchema = Image1ProfileUri;\nexport const Image1ContextString = 'http://library.stanford.edu/iiif/image-api/1.1/context.json';\n// Used by https://gallica.bnf.fr/iiif/ark:/12148/btv1b53192683w/manifest.json (among others)\nexport const Image1ContextStringIncorrect = 'http://iiif.io/api/image/1/context.json';\nexport const Image1Context = z.literal(Image1ContextString);\nexport const Image1Schema = z.object({\n '@context': Image1Context,\n '@id': z.string().url(),\n profile: Image1ProfileUri.optional(),\n width: z.number().int(),\n height: z.number().int(),\n scale_factors: z.number().array().optional(),\n tile_width: z.number().optional(),\n tile_height: z.number().optional()\n});\n"],"names":["image1ProfileUriRegex","Image1ProfileUri","z.string","Image1ProfileSchema","Image1ContextString","Image1ContextStringIncorrect","Image1Context","z.literal","Image1Schema","z.object","z.number"],"mappings":"qHAGaA,EAAwB,gGACxBC,EAAmBC,EAAAA,SAAW,MAAMF,CAAqB,EACzDG,EAAsBF,EACtBG,EAAsB,8DAEtBC,EAA+B,0CAC/BC,EAAgBC,EAAAA,QAAUH,CAAmB,EAC7CI,EAAeC,EAAAA,OAAS,CACjC,WAAYH,EACZ,MAAOJ,EAAAA,OAAE,EAAS,IAAA,EAClB,QAASD,EAAiB,SAAA,EAC1B,MAAOS,EAAAA,OAAE,EAAS,IAAA,EAClB,OAAQA,EAAAA,OAAE,EAAS,IAAA,EACnB,cAAeA,EAAAA,OAAE,EAAS,MAAA,EAAQ,SAAA,EAClC,WAAYA,EAAAA,OAAE,EAAS,SAAA,EACvB,YAAaA,EAAAA,OAAE,EAAS,SAAA,CAC5B,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs231.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs499.js"),e=require("./index.cjs467.js"),a=/^https?:\/\/iiif.io\/api\/image\/2.*level(?<level>[012])(.json)?$/,r=e.string().regex(a),n=e.object({formats:e.string().array().optional(),maxArea:e.number().int().optional(),maxHeight:e.number().int().optional(),maxWidth:e.number().int().optional(),qualities:e.string().array().optional(),supports:e.string().array().optional()}),g=e.union([r,n]);function c(i){return i!==void 0}const m=e.union([r,t.filterValidItems(g)]).transform(i=>{if(i&&Array.isArray(i)){const o=i[0];if(typeof o!="string")throw new Error("First profile must be a string");return[o,...i.slice(1).filter(c)]}return i}),s="http://iiif.io/api/image/2/context.json",l=e.union([e.literal(s),e.literal("https://iiif.io/api/image/2/context.json"),e.string().url()]),f=e.object({"@id":e.string().url(),"@type":e.enum(["iiif:Image","ImageService2"]).optional(),"@context":l,protocol:e.literal("http://iiif.io/api/image"),width:e.number().int(),height:e.number().int(),profile:m,sizes:t.SizeSchema.array().optional(),tiles:t.TilesetSchema.array().optional()});exports.Image2Context=l;exports.Image2ContextString=s;exports.Image2ProfileDescriptionSchema=n;exports.Image2ProfileSchema=m;exports.Image2ProfileUri=r;exports.Image2Schema=f;exports.image2ProfileUriRegex=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs231.js.map
|
package/dist/index.cjs231.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs231.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs231.js","sources":["../../../node_modules/@allmaps/iiif-parser/dist/schemas/image.2.js"],"sourcesContent":["// Image API 2.1.1\n// https://iiif.io/api/image/2.1/#image-information\nimport { z } from 'zod';\nimport { TilesetSchema, SizeSchema } from './shared.js';\nimport { filterValidItems } from './shared.js';\n// The following compliance levels URIs are valid in the IIIF Image API 2.1:\n// - \"http://iiif.io/api/image/2/level0.json\"\n// - \"http://iiif.io/api/image/2/level1.json\"\n// - \"http://iiif.io/api/image/2/level2.json\"\n//\n// However, many IIIF servers use incorrect profile URIs, like these:\n// - \"http://iiif.io/api/image/2/level0\"\n// - \"https://iiif.io/api/image/2/level0\"\n// - \"http://iiif.io/api/image/2/profiles/level0.json\"\n//\n// This happens very often - @allmaps/iiif-parser should parse them regardless.\n// To do this, we use this regular expression:\nexport const image2ProfileUriRegex = /^https?:\\/\\/iiif.io\\/api\\/image\\/2.*level(?<level>[012])(.json)?$/;\nexport const Image2ProfileUri = z.string().regex(image2ProfileUriRegex);\nexport const Image2ProfileDescriptionSchema = z.object({\n formats: z.string().array().optional(),\n maxArea: z.number().int().optional(),\n maxHeight: z.number().int().optional(),\n maxWidth: z.number().int().optional(),\n qualities: z.string().array().optional(),\n supports: z.string().array().optional()\n});\nconst ValidImage2ProfileArrayItemSchema = z.union([\n Image2ProfileUri,\n Image2ProfileDescriptionSchema\n]);\nfunction isValidImage2ProfileArrayItem(item) {\n return item !== undefined;\n}\nexport const Image2ProfileSchema = z\n .union([\n Image2ProfileUri,\n filterValidItems(ValidImage2ProfileArrayItemSchema)\n])\n .transform((val) => {\n if (val && Array.isArray(val)) {\n const firstProfile = val[0];\n if (typeof firstProfile !== 'string') {\n throw new Error('First profile must be a string');\n }\n return [\n firstProfile,\n ...val.slice(1).filter(isValidImage2ProfileArrayItem)\n ];\n }\n return val;\n});\nexport const Image2ContextString = 'http://iiif.io/api/image/2/context.json';\nexport const Image2Context = z.union([\n z.literal(Image2ContextString),\n // Invalid, but used by https://iiif.archivelab.org\n z.literal('https://iiif.io/api/image/2/context.json'),\n z.string().url()\n]);\nexport const Image2Schema = z.object({\n '@id': z.string().url(),\n '@type': z.enum(['iiif:Image', 'ImageService2']).optional(),\n '@context': Image2Context,\n protocol: z.literal('http://iiif.io/api/image'),\n width: z.number().int(),\n height: z.number().int(),\n profile: Image2ProfileSchema,\n sizes: SizeSchema.array().optional(),\n tiles: TilesetSchema.array().optional()\n});\n"],"names":["image2ProfileUriRegex","Image2ProfileUri","z.string","Image2ProfileDescriptionSchema","z.object","z.number","ValidImage2ProfileArrayItemSchema","z.union","isValidImage2ProfileArrayItem","item","Image2ProfileSchema","filterValidItems","val","firstProfile","Image2ContextString","Image2Context","z.literal","Image2Schema","z.enum","SizeSchema","TilesetSchema"],"mappings":"oJAiBaA,EAAwB,oEACxBC,EAAmBC,EAAAA,SAAW,MAAMF,CAAqB,EACzDG,EAAiCC,EAAAA,OAAS,CACnD,QAASF,EAAAA,OAAE,EAAS,MAAA,EAAQ,SAAA,EAC5B,QAASG,EAAAA,OAAE,EAAS,IAAA,EAAM,SAAA,EAC1B,UAAWA,EAAAA,OAAE,EAAS,IAAA,EAAM,SAAA,EAC5B,SAAUA,EAAAA,OAAE,EAAS,IAAA,EAAM,SAAA,EAC3B,UAAWH,EAAAA,OAAE,EAAS,MAAA,EAAQ,SAAA,EAC9B,SAAUA,EAAAA,OAAE,EAAS,MAAA,EAAQ,SAAA,CACjC,CAAC,EACKI,EAAoCC,EAAAA,MAAQ,CAC9CN,EACAE,CACJ,CAAC,EACD,SAASK,EAA8BC,EAAM,CACzC,OAAOA,IAAS,MACpB,CACO,MAAMC,EAAsBH,EAAAA,MACxB,CACPN,EACAU,EAAAA,iBAAiBL,CAAiC,CACtD,CAAC,EACI,UAAWM,GAAQ,CACpB,GAAIA,GAAO,MAAM,QAAQA,CAAG,EAAG,CAC3B,MAAMC,EAAeD,EAAI,CAAC,EAC1B,GAAI,OAAOC,GAAiB,SACxB,MAAM,IAAI,MAAM,gCAAgC,EAEpD,MAAO,CACHA,EACA,GAAGD,EAAI,MAAM,CAAC,EAAE,OAAOJ,CAA6B,CAAA,CAE5D,CACA,OAAOI,CACX,CAAC,EACYE,EAAsB,0CACtBC,EAAgBR,EAAAA,MAAQ,CACjCS,EAAAA,QAAUF,CAAmB,E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