@performant-software/geospatial 3.1.25-beta.1 → 3.1.25
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.cjs15.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 -7
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.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 +1 -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 +8 -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.cjs29.js +1 -1
- 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 +47 -0
- package/dist/index.cjs300.js.map +1 -0
- package/dist/index.cjs301.js +212 -0
- package/dist/index.cjs301.js.map +1 -0
- package/dist/index.cjs302.js +62 -0
- package/dist/index.cjs302.js.map +1 -0
- package/dist/index.cjs303.js +60 -0
- package/dist/index.cjs303.js.map +1 -0
- package/dist/index.cjs304.js +46 -0
- package/dist/index.cjs304.js.map +1 -0
- package/dist/index.cjs305.js +52 -0
- package/dist/index.cjs305.js.map +1 -0
- package/dist/index.cjs306.js +308 -0
- package/dist/index.cjs306.js.map +1 -0
- package/dist/index.cjs307.js +293 -0
- package/dist/index.cjs307.js.map +1 -0
- package/dist/index.cjs308.js +6 -0
- package/dist/index.cjs308.js.map +1 -0
- package/dist/index.cjs309.js +2 -0
- package/dist/index.cjs309.js.map +1 -0
- package/dist/index.cjs310.js +2 -0
- package/dist/index.cjs310.js.map +1 -0
- package/dist/index.cjs311.js +2 -0
- package/dist/index.cjs311.js.map +1 -0
- package/dist/index.cjs312.js +2 -0
- package/dist/index.cjs312.js.map +1 -0
- package/dist/index.cjs313.js +2 -0
- package/dist/index.cjs313.js.map +1 -0
- package/dist/index.cjs314.js +2 -0
- package/dist/index.cjs314.js.map +1 -0
- package/dist/index.cjs315.js +2 -0
- package/dist/index.cjs315.js.map +1 -0
- package/dist/index.cjs316.js +5 -0
- package/dist/index.cjs316.js.map +1 -0
- package/dist/index.cjs317.js +6 -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.cjs32.js +1 -1
- 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 +2 -0
- package/dist/index.cjs334.js.map +1 -0
- package/dist/index.cjs335.js +2 -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.cjs34.js +1 -1
- 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 +5 -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 +2 -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.cjs35.js +1 -1
- 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 +9 -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 +2 -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 +4 -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 +2 -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 +61 -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 +2 -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 +4 -0
- package/dist/index.cjs629.js.map +1 -0
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs630.js +2 -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 +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +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 +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js +743 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs82.js.map +1 -1
- package/dist/index.cjs83.js +9 -1
- package/dist/index.cjs83.js.map +1 -1
- package/dist/index.cjs84.js +11 -3
- package/dist/index.cjs84.js.map +1 -1
- package/dist/index.cjs85.js +1 -17
- package/dist/index.cjs85.js.map +1 -1
- package/dist/index.cjs86.js +1 -743
- package/dist/index.cjs86.js.map +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs87.js.map +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs88.js.map +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs89.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.es15.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 +36 -147
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +476 -17
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +164 -6
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +72 -5
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +52 -3
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +382 -3
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +18 -37
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +126 -3
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +354 -22
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +220 -2
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +25 -3
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +61 -2
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +103 -28
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +29 -13
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +29 -14
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +96 -8
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es210.js +35 -243
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +18 -43
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +53 -3
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +7 -11
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +525 -9
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +24 -29
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +29 -12
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +242 -4
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +41 -6
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +3 -5
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +11 -4
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +11 -3
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +31 -3
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +13 -8
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +4 -18
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +6 -19
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +4 -12
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +3 -14
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +3 -6
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +3 -8
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es230.js +8 -6
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +17 -20
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +19 -8
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +13 -9
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +15 -4
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +5 -10
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +7 -7
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +6 -20
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +20 -9
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +8 -16
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +9 -4
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +3 -17
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +10 -11
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +6 -2
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +20 -4
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +10 -7506
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +18 -2
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +4 -21
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +16 -21
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +10 -6
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es250.js +3 -5
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +5 -3
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +199 -21
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +8 -16
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +6 -30
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +5 -22
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +3 -77
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +3 -23
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +34 -39
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +3 -52
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +22 -7
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +2 -23
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +3 -68
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +2 -45
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +30 -63
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +13 -9
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +12 -2
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +8 -12
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +57 -55
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +58 -45
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es270.js +3 -16
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +7 -2
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +5 -4
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +18 -67
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +22 -3
- 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 +7510 -0
- package/dist/index.es276.js.map +1 -0
- package/dist/index.es277.js +5 -0
- package/dist/index.es277.js.map +1 -0
- package/dist/index.es278.js +26 -0
- package/dist/index.es278.js.map +1 -0
- package/dist/index.es279.js +24 -0
- package/dist/index.es279.js.map +1 -0
- package/dist/index.es280.js +80 -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 +30 -0
- package/dist/index.es282.js.map +1 -0
- package/dist/index.es283.js +218 -0
- package/dist/index.es283.js.map +1 -0
- package/dist/index.es284.js +204 -0
- package/dist/index.es284.js.map +1 -0
- package/dist/index.es285.js +9 -0
- package/dist/index.es285.js.map +1 -0
- package/dist/index.es286.js +246 -0
- package/dist/index.es286.js.map +1 -0
- package/dist/index.es287.js +89 -0
- package/dist/index.es287.js.map +1 -0
- package/dist/index.es288.js +565 -0
- package/dist/index.es288.js.map +1 -0
- package/dist/index.es289.js +62 -0
- package/dist/index.es289.js.map +1 -0
- package/dist/index.es29.js +2 -2
- package/dist/index.es290.js +418 -0
- package/dist/index.es290.js.map +1 -0
- package/dist/index.es291.js +17 -0
- package/dist/index.es291.js.map +1 -0
- package/dist/index.es292.js +107 -0
- package/dist/index.es292.js.map +1 -0
- package/dist/index.es293.js +19 -0
- package/dist/index.es293.js.map +1 -0
- package/dist/index.es294.js +33 -0
- package/dist/index.es294.js.map +1 -0
- package/dist/index.es295.js +157 -0
- package/dist/index.es295.js.map +1 -0
- package/dist/index.es296.js +21 -0
- package/dist/index.es296.js.map +1 -0
- package/dist/index.es297.js +17 -0
- package/dist/index.es297.js.map +1 -0
- package/dist/index.es298.js +354 -0
- package/dist/index.es298.js.map +1 -0
- package/dist/index.es299.js +67 -0
- package/dist/index.es299.js.map +1 -0
- package/dist/index.es300.js +50 -0
- package/dist/index.es300.js.map +1 -0
- package/dist/index.es301.js +215 -0
- package/dist/index.es301.js.map +1 -0
- package/dist/index.es302.js +65 -0
- package/dist/index.es302.js.map +1 -0
- package/dist/index.es303.js +63 -0
- package/dist/index.es303.js.map +1 -0
- package/dist/index.es304.js +49 -0
- package/dist/index.es304.js.map +1 -0
- package/dist/index.es305.js +55 -0
- package/dist/index.es305.js.map +1 -0
- package/dist/index.es306.js +329 -0
- package/dist/index.es306.js.map +1 -0
- package/dist/index.es307.js +314 -0
- package/dist/index.es307.js.map +1 -0
- package/dist/index.es308.js +259 -0
- package/dist/index.es308.js.map +1 -0
- package/dist/index.es309.js +60 -0
- package/dist/index.es309.js.map +1 -0
- package/dist/index.es310.js +204 -0
- package/dist/index.es310.js.map +1 -0
- package/dist/index.es311.js +30 -0
- package/dist/index.es311.js.map +1 -0
- package/dist/index.es312.js +132 -0
- package/dist/index.es312.js.map +1 -0
- package/dist/index.es313.js +20 -0
- package/dist/index.es313.js.map +1 -0
- package/dist/index.es314.js +8 -0
- package/dist/index.es314.js.map +1 -0
- package/dist/index.es315.js +69 -0
- package/dist/index.es315.js.map +1 -0
- package/dist/index.es316.js +164 -0
- package/dist/index.es316.js.map +1 -0
- package/dist/index.es317.js +142 -0
- package/dist/index.es317.js.map +1 -0
- package/dist/index.es318.js +28 -0
- package/dist/index.es318.js.map +1 -0
- package/dist/index.es319.js +20 -0
- package/dist/index.es319.js.map +1 -0
- package/dist/index.es32.js +2 -2
- package/dist/index.es320.js +34 -0
- package/dist/index.es320.js.map +1 -0
- package/dist/index.es321.js +25 -0
- package/dist/index.es321.js.map +1 -0
- package/dist/index.es322.js +78 -0
- package/dist/index.es322.js.map +1 -0
- package/dist/index.es323.js +24 -0
- package/dist/index.es323.js.map +1 -0
- package/dist/index.es324.js +44 -0
- package/dist/index.es324.js.map +1 -0
- package/dist/index.es325.js +53 -0
- package/dist/index.es325.js.map +1 -0
- package/dist/index.es326.js +11 -0
- package/dist/index.es326.js.map +1 -0
- package/dist/index.es327.js +24 -0
- package/dist/index.es327.js.map +1 -0
- package/dist/index.es328.js +69 -0
- package/dist/index.es328.js.map +1 -0
- package/dist/index.es329.js +46 -0
- package/dist/index.es329.js.map +1 -0
- package/dist/index.es330.js +67 -0
- package/dist/index.es330.js.map +1 -0
- package/dist/index.es331.js +12 -0
- package/dist/index.es331.js.map +1 -0
- package/dist/index.es332.js +7 -0
- package/dist/index.es332.js.map +1 -0
- package/dist/index.es333.js +16 -0
- package/dist/index.es333.js.map +1 -0
- package/dist/index.es334.js +63 -0
- package/dist/index.es334.js.map +1 -0
- package/dist/index.es335.js +53 -0
- package/dist/index.es335.js.map +1 -0
- package/dist/index.es336.js +251 -0
- package/dist/index.es336.js.map +1 -0
- package/dist/index.es337.js +65 -0
- package/dist/index.es337.js.map +1 -0
- package/dist/index.es338.js +47 -0
- package/dist/index.es338.js.map +1 -0
- package/dist/index.es339.js +25 -0
- package/dist/index.es339.js.map +1 -0
- package/dist/index.es34.js +2 -2
- package/dist/index.es340.js +11 -0
- package/dist/index.es340.js.map +1 -0
- package/dist/index.es341.js +40 -0
- package/dist/index.es341.js.map +1 -0
- package/dist/index.es342.js +132 -0
- package/dist/index.es342.js.map +1 -0
- package/dist/index.es343.js +48 -0
- package/dist/index.es343.js.map +1 -0
- package/dist/index.es344.js +223 -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 +30 -0
- package/dist/index.es346.js.map +1 -0
- package/dist/index.es347.js +7 -0
- package/dist/index.es347.js.map +1 -0
- package/dist/index.es348.js +286 -0
- package/dist/index.es348.js.map +1 -0
- package/dist/index.es349.js +63 -0
- package/dist/index.es349.js.map +1 -0
- package/dist/index.es35.js +2 -2
- package/dist/index.es350.js +54 -0
- package/dist/index.es350.js.map +1 -0
- package/dist/index.es351.js +6 -0
- package/dist/index.es351.js.map +1 -0
- package/dist/index.es352.js +73 -0
- package/dist/index.es352.js.map +1 -0
- package/dist/index.es353.js +8 -0
- package/dist/index.es353.js.map +1 -0
- package/dist/index.es354.js +19 -0
- package/dist/index.es354.js.map +1 -0
- package/dist/index.es355.js +31 -0
- package/dist/index.es355.js.map +1 -0
- package/dist/index.es356.js +61 -0
- package/dist/index.es356.js.map +1 -0
- package/dist/index.es357.js +62 -0
- package/dist/index.es357.js.map +1 -0
- package/dist/index.es358.js +87 -0
- package/dist/index.es358.js.map +1 -0
- package/dist/index.es359.js +26 -0
- package/dist/index.es359.js.map +1 -0
- package/dist/index.es360.js +48 -0
- package/dist/index.es360.js.map +1 -0
- package/dist/index.es361.js +13 -0
- package/dist/index.es361.js.map +1 -0
- package/dist/index.es362.js +35 -0
- package/dist/index.es362.js.map +1 -0
- package/dist/index.es363.js +31 -0
- package/dist/index.es363.js.map +1 -0
- package/dist/index.es364.js +1360 -0
- package/dist/index.es364.js.map +1 -0
- package/dist/index.es365.js +9 -0
- package/dist/index.es365.js.map +1 -0
- package/dist/index.es366.js +12 -0
- package/dist/index.es366.js.map +1 -0
- package/dist/index.es367.js +10 -0
- package/dist/index.es367.js.map +1 -0
- package/dist/index.es368.js +120 -0
- package/dist/index.es368.js.map +1 -0
- package/dist/index.es369.js +105 -0
- package/dist/index.es369.js.map +1 -0
- package/dist/index.es370.js +23 -0
- package/dist/index.es370.js.map +1 -0
- package/dist/index.es371.js +95 -0
- package/dist/index.es371.js.map +1 -0
- package/dist/index.es372.js +68 -0
- package/dist/index.es372.js.map +1 -0
- package/dist/index.es373.js +16 -0
- package/dist/index.es373.js.map +1 -0
- package/dist/index.es374.js +61 -0
- package/dist/index.es374.js.map +1 -0
- package/dist/index.es375.js +55 -0
- package/dist/index.es375.js.map +1 -0
- package/dist/index.es376.js +23 -0
- package/dist/index.es376.js.map +1 -0
- package/dist/index.es377.js +34 -0
- package/dist/index.es377.js.map +1 -0
- package/dist/index.es378.js +47 -0
- package/dist/index.es378.js.map +1 -0
- package/dist/index.es379.js +35 -0
- package/dist/index.es379.js.map +1 -0
- package/dist/index.es38.js +1 -1
- package/dist/index.es380.js +59 -0
- package/dist/index.es380.js.map +1 -0
- package/dist/index.es381.js +62 -0
- package/dist/index.es381.js.map +1 -0
- package/dist/index.es382.js +32 -0
- package/dist/index.es382.js.map +1 -0
- package/dist/index.es383.js +53 -0
- package/dist/index.es383.js.map +1 -0
- package/dist/index.es384.js +128 -0
- package/dist/index.es384.js.map +1 -0
- package/dist/index.es385.js +44 -0
- package/dist/index.es385.js.map +1 -0
- package/dist/index.es386.js +29 -0
- package/dist/index.es386.js.map +1 -0
- package/dist/index.es387.js +37 -0
- package/dist/index.es387.js.map +1 -0
- package/dist/index.es388.js +28 -0
- package/dist/index.es388.js.map +1 -0
- package/dist/index.es389.js +69 -0
- package/dist/index.es389.js.map +1 -0
- package/dist/index.es39.js +1 -1
- package/dist/index.es390.js +49 -0
- package/dist/index.es390.js.map +1 -0
- package/dist/index.es391.js +27 -0
- package/dist/index.es391.js.map +1 -0
- package/dist/index.es392.js +48 -0
- package/dist/index.es392.js.map +1 -0
- package/dist/index.es393.js +19 -0
- package/dist/index.es393.js.map +1 -0
- package/dist/index.es394.js +38 -0
- package/dist/index.es394.js.map +1 -0
- package/dist/index.es395.js +49 -0
- package/dist/index.es395.js.map +1 -0
- package/dist/index.es396.js +35 -0
- package/dist/index.es396.js.map +1 -0
- package/dist/index.es397.js +37 -0
- package/dist/index.es397.js.map +1 -0
- package/dist/index.es398.js +29 -0
- package/dist/index.es398.js.map +1 -0
- package/dist/index.es399.js +68 -0
- package/dist/index.es399.js.map +1 -0
- package/dist/index.es40.js +2 -2
- package/dist/index.es400.js +105 -0
- package/dist/index.es400.js.map +1 -0
- package/dist/index.es401.js +27 -0
- package/dist/index.es401.js.map +1 -0
- package/dist/index.es402.js +111 -0
- package/dist/index.es402.js.map +1 -0
- package/dist/index.es403.js +50 -0
- package/dist/index.es403.js.map +1 -0
- package/dist/index.es404.js +36 -0
- package/dist/index.es404.js.map +1 -0
- package/dist/index.es405.js +56 -0
- package/dist/index.es405.js.map +1 -0
- package/dist/index.es406.js +174 -0
- package/dist/index.es406.js.map +1 -0
- package/dist/index.es407.js +26 -0
- package/dist/index.es407.js.map +1 -0
- package/dist/index.es408.js +19 -0
- package/dist/index.es408.js.map +1 -0
- package/dist/index.es409.js +11 -0
- package/dist/index.es409.js.map +1 -0
- package/dist/index.es410.js +44 -0
- package/dist/index.es410.js.map +1 -0
- package/dist/index.es411.js +80 -0
- package/dist/index.es411.js.map +1 -0
- package/dist/index.es412.js +108 -0
- package/dist/index.es412.js.map +1 -0
- package/dist/index.es413.js +34 -0
- package/dist/index.es413.js.map +1 -0
- package/dist/index.es414.js +25 -0
- package/dist/index.es414.js.map +1 -0
- package/dist/index.es415.js +14 -0
- package/dist/index.es415.js.map +1 -0
- package/dist/index.es416.js +721 -0
- package/dist/index.es416.js.map +1 -0
- package/dist/index.es417.js +206 -0
- package/dist/index.es417.js.map +1 -0
- package/dist/index.es418.js +45 -0
- package/dist/index.es418.js.map +1 -0
- package/dist/index.es419.js +18 -0
- package/dist/index.es419.js.map +1 -0
- package/dist/index.es42.js +2 -2
- package/dist/index.es420.js +11 -0
- package/dist/index.es420.js.map +1 -0
- package/dist/index.es421.js +64 -0
- package/dist/index.es421.js.map +1 -0
- package/dist/index.es422.js +50 -0
- package/dist/index.es422.js.map +1 -0
- package/dist/index.es423.js +45 -0
- package/dist/index.es423.js.map +1 -0
- package/dist/index.es424.js +92 -0
- package/dist/index.es424.js.map +1 -0
- package/dist/index.es425.js +89 -0
- package/dist/index.es425.js.map +1 -0
- package/dist/index.es426.js +57 -0
- package/dist/index.es426.js.map +1 -0
- package/dist/index.es427.js +61 -0
- package/dist/index.es427.js.map +1 -0
- package/dist/index.es428.js +58 -0
- package/dist/index.es428.js.map +1 -0
- package/dist/index.es429.js +147 -0
- package/dist/index.es429.js.map +1 -0
- package/dist/index.es43.js +2 -2
- package/dist/index.es430.js +58 -0
- package/dist/index.es430.js.map +1 -0
- package/dist/index.es431.js +85 -0
- package/dist/index.es431.js.map +1 -0
- package/dist/index.es432.js +9 -0
- package/dist/index.es432.js.map +1 -0
- package/dist/index.es433.js +56 -0
- package/dist/index.es433.js.map +1 -0
- package/dist/index.es434.js +55 -0
- package/dist/index.es434.js.map +1 -0
- package/dist/index.es435.js +8 -0
- package/dist/index.es435.js.map +1 -0
- package/dist/index.es436.js +8 -0
- package/dist/index.es436.js.map +1 -0
- package/dist/index.es437.js +23 -0
- package/dist/index.es437.js.map +1 -0
- package/dist/index.es438.js +7 -0
- package/dist/index.es438.js.map +1 -0
- package/dist/index.es439.js +11 -0
- package/dist/index.es439.js.map +1 -0
- package/dist/index.es44.js +2 -2
- package/dist/index.es440.js +10 -0
- package/dist/index.es440.js.map +1 -0
- package/dist/index.es441.js +7 -0
- package/dist/index.es441.js.map +1 -0
- package/dist/index.es442.js +5 -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 +13 -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 +7 -0
- package/dist/index.es446.js.map +1 -0
- package/dist/index.es447.js +6 -0
- package/dist/index.es447.js.map +1 -0
- package/dist/index.es448.js +7 -0
- package/dist/index.es448.js.map +1 -0
- package/dist/index.es449.js +9 -0
- package/dist/index.es449.js.map +1 -0
- package/dist/index.es450.js +11 -0
- package/dist/index.es450.js.map +1 -0
- package/dist/index.es451.js +8 -0
- package/dist/index.es451.js.map +1 -0
- package/dist/index.es452.js +10 -0
- package/dist/index.es452.js.map +1 -0
- package/dist/index.es453.js +9 -0
- package/dist/index.es453.js.map +1 -0
- package/dist/index.es454.js +12 -0
- package/dist/index.es454.js.map +1 -0
- package/dist/index.es455.js +8 -0
- package/dist/index.es455.js.map +1 -0
- package/dist/index.es456.js +10 -0
- package/dist/index.es456.js.map +1 -0
- package/dist/index.es457.js +10 -0
- package/dist/index.es457.js.map +1 -0
- package/dist/index.es458.js +8 -0
- package/dist/index.es458.js.map +1 -0
- package/dist/index.es459.js +13 -0
- package/dist/index.es459.js.map +1 -0
- package/dist/index.es46.js +1 -1
- package/dist/index.es460.js +10 -0
- package/dist/index.es460.js.map +1 -0
- package/dist/index.es461.js +21 -0
- package/dist/index.es461.js.map +1 -0
- package/dist/index.es462.js +15 -0
- package/dist/index.es462.js.map +1 -0
- package/dist/index.es463.js +7 -0
- package/dist/index.es463.js.map +1 -0
- package/dist/index.es464.js +9 -0
- package/dist/index.es464.js.map +1 -0
- package/dist/index.es465.js +261 -0
- package/dist/index.es465.js.map +1 -0
- package/dist/index.es466.js +108 -0
- package/dist/index.es466.js.map +1 -0
- package/dist/index.es467.js +7 -0
- package/dist/index.es467.js.map +1 -0
- package/dist/index.es468.js +28 -0
- package/dist/index.es468.js.map +1 -0
- package/dist/index.es469.js +158 -0
- package/dist/index.es469.js.map +1 -0
- package/dist/index.es47.js +2 -2
- package/dist/index.es470.js +160 -0
- package/dist/index.es470.js.map +1 -0
- package/dist/index.es471.js +50 -0
- package/dist/index.es471.js.map +1 -0
- package/dist/index.es472.js +20 -0
- package/dist/index.es472.js.map +1 -0
- package/dist/index.es473.js +227 -0
- package/dist/index.es473.js.map +1 -0
- package/dist/index.es474.js +42 -0
- package/dist/index.es474.js.map +1 -0
- package/dist/index.es475.js +18 -0
- package/dist/index.es475.js.map +1 -0
- package/dist/index.es476.js +26 -0
- package/dist/index.es476.js.map +1 -0
- package/dist/index.es477.js +12 -0
- package/dist/index.es477.js.map +1 -0
- package/dist/index.es478.js +8 -0
- package/dist/index.es478.js.map +1 -0
- package/dist/index.es479.js +118 -0
- package/dist/index.es479.js.map +1 -0
- package/dist/index.es48.js +2 -2
- package/dist/index.es480.js +90 -0
- package/dist/index.es480.js.map +1 -0
- package/dist/index.es481.js +78 -0
- package/dist/index.es481.js.map +1 -0
- package/dist/index.es482.js +13 -0
- package/dist/index.es482.js.map +1 -0
- package/dist/index.es483.js +83 -0
- package/dist/index.es483.js.map +1 -0
- package/dist/index.es484.js +9 -0
- package/dist/index.es484.js.map +1 -0
- package/dist/index.es485.js +19 -0
- package/dist/index.es485.js.map +1 -0
- package/dist/index.es486.js +8 -0
- package/dist/index.es486.js.map +1 -0
- package/dist/index.es487.js +11 -0
- package/dist/index.es487.js.map +1 -0
- package/dist/index.es488.js +7 -0
- package/dist/index.es488.js.map +1 -0
- package/dist/index.es489.js +15 -0
- package/dist/index.es489.js.map +1 -0
- package/dist/index.es490.js +7 -0
- package/dist/index.es490.js.map +1 -0
- package/dist/index.es491.js +8 -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 +10 -0
- package/dist/index.es493.js.map +1 -0
- package/dist/index.es494.js +9 -0
- package/dist/index.es494.js.map +1 -0
- package/dist/index.es495.js +9 -0
- package/dist/index.es495.js.map +1 -0
- package/dist/index.es496.js +11 -0
- package/dist/index.es496.js.map +1 -0
- package/dist/index.es497.js +14 -0
- package/dist/index.es497.js.map +1 -0
- package/dist/index.es498.js +28 -0
- package/dist/index.es498.js.map +1 -0
- package/dist/index.es499.js +8 -0
- package/dist/index.es499.js.map +1 -0
- package/dist/index.es50.js +1 -1
- package/dist/index.es500.js +9 -0
- package/dist/index.es500.js.map +1 -0
- package/dist/index.es501.js +11 -0
- package/dist/index.es501.js.map +1 -0
- package/dist/index.es502.js +7 -0
- package/dist/index.es502.js.map +1 -0
- package/dist/index.es503.js +7 -0
- package/dist/index.es503.js.map +1 -0
- package/dist/index.es504.js +7 -0
- package/dist/index.es504.js.map +1 -0
- package/dist/index.es505.js +7 -0
- package/dist/index.es505.js.map +1 -0
- package/dist/index.es506.js +7 -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 +9 -0
- package/dist/index.es508.js.map +1 -0
- package/dist/index.es509.js +12 -0
- package/dist/index.es509.js.map +1 -0
- package/dist/index.es51.js +1 -1
- package/dist/index.es510.js +8 -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 +8 -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 +14 -0
- package/dist/index.es514.js.map +1 -0
- package/dist/index.es515.js +34 -0
- package/dist/index.es515.js.map +1 -0
- package/dist/index.es516.js +9 -0
- package/dist/index.es516.js.map +1 -0
- package/dist/index.es517.js +19 -0
- package/dist/index.es517.js.map +1 -0
- package/dist/index.es518.js +9 -0
- package/dist/index.es518.js.map +1 -0
- package/dist/index.es519.js +11 -0
- package/dist/index.es519.js.map +1 -0
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +10 -0
- package/dist/index.es520.js.map +1 -0
- package/dist/index.es521.js +10 -0
- package/dist/index.es521.js.map +1 -0
- package/dist/index.es522.js +29 -0
- package/dist/index.es522.js.map +1 -0
- package/dist/index.es523.js +9 -0
- package/dist/index.es523.js.map +1 -0
- package/dist/index.es524.js +43 -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 +13 -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 +12 -0
- package/dist/index.es528.js.map +1 -0
- package/dist/index.es529.js +9 -0
- package/dist/index.es529.js.map +1 -0
- package/dist/index.es530.js +18 -0
- package/dist/index.es530.js.map +1 -0
- package/dist/index.es531.js +5 -0
- package/dist/index.es531.js.map +1 -0
- package/dist/index.es532.js +6 -0
- package/dist/index.es532.js.map +1 -0
- package/dist/index.es533.js +16 -0
- package/dist/index.es533.js.map +1 -0
- package/dist/index.es534.js +8 -0
- package/dist/index.es534.js.map +1 -0
- package/dist/index.es535.js +6 -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 +7 -0
- package/dist/index.es539.js.map +1 -0
- package/dist/index.es540.js +7 -0
- package/dist/index.es540.js.map +1 -0
- package/dist/index.es541.js +18 -0
- package/dist/index.es541.js.map +1 -0
- package/dist/index.es542.js +33 -0
- package/dist/index.es542.js.map +1 -0
- package/dist/index.es543.js +11 -0
- package/dist/index.es543.js.map +1 -0
- package/dist/index.es544.js +3029 -0
- package/dist/index.es544.js.map +1 -0
- package/dist/index.es545.js +5 -0
- package/dist/index.es545.js.map +1 -0
- package/dist/index.es546.js +17 -0
- package/dist/index.es546.js.map +1 -0
- package/dist/index.es547.js +12 -0
- package/dist/index.es547.js.map +1 -0
- package/dist/index.es548.js +9 -0
- package/dist/index.es548.js.map +1 -0
- package/dist/index.es549.js +9 -0
- package/dist/index.es549.js.map +1 -0
- package/dist/index.es550.js +6 -0
- package/dist/index.es550.js.map +1 -0
- package/dist/index.es551.js +9 -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 +24 -0
- package/dist/index.es562.js.map +1 -0
- package/dist/index.es563.js +178 -0
- package/dist/index.es563.js.map +1 -0
- package/dist/index.es564.js +24 -0
- package/dist/index.es564.js.map +1 -0
- package/dist/index.es565.js +241 -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 +9 -0
- package/dist/index.es567.js.map +1 -0
- package/dist/index.es568.js +10 -0
- package/dist/index.es568.js.map +1 -0
- package/dist/index.es569.js +21 -0
- package/dist/index.es569.js.map +1 -0
- package/dist/index.es57.js +3 -3
- package/dist/index.es570.js +7 -0
- package/dist/index.es570.js.map +1 -0
- package/dist/index.es571.js +8 -0
- package/dist/index.es571.js.map +1 -0
- package/dist/index.es572.js +8 -0
- package/dist/index.es572.js.map +1 -0
- package/dist/index.es573.js +10 -0
- package/dist/index.es573.js.map +1 -0
- package/dist/index.es574.js +14 -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 +21 -0
- package/dist/index.es578.js.map +1 -0
- package/dist/index.es579.js +8 -0
- package/dist/index.es579.js.map +1 -0
- package/dist/index.es58.js +1 -1
- package/dist/index.es580.js +8 -0
- package/dist/index.es580.js.map +1 -0
- package/dist/index.es581.js +7 -0
- package/dist/index.es581.js.map +1 -0
- package/dist/index.es582.js +7 -0
- package/dist/index.es582.js.map +1 -0
- package/dist/index.es583.js +18 -0
- package/dist/index.es583.js.map +1 -0
- package/dist/index.es584.js +10 -0
- package/dist/index.es584.js.map +1 -0
- package/dist/index.es585.js +11 -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 +9 -0
- package/dist/index.es587.js.map +1 -0
- package/dist/index.es588.js +9 -0
- package/dist/index.es588.js.map +1 -0
- package/dist/index.es589.js +9 -0
- package/dist/index.es589.js.map +1 -0
- package/dist/index.es590.js +9 -0
- package/dist/index.es590.js.map +1 -0
- package/dist/index.es591.js +6 -0
- package/dist/index.es591.js.map +1 -0
- package/dist/index.es592.js +41 -0
- package/dist/index.es592.js.map +1 -0
- package/dist/index.es593.js +46 -0
- package/dist/index.es593.js.map +1 -0
- package/dist/index.es594.js +37 -0
- package/dist/index.es594.js.map +1 -0
- package/dist/index.es595.js +25 -0
- package/dist/index.es595.js.map +1 -0
- package/dist/index.es596.js +37 -0
- package/dist/index.es596.js.map +1 -0
- package/dist/index.es597.js +47 -0
- package/dist/index.es597.js.map +1 -0
- package/dist/index.es598.js +7 -0
- package/dist/index.es598.js.map +1 -0
- package/dist/index.es599.js +21 -0
- package/dist/index.es599.js.map +1 -0
- package/dist/index.es60.js +1 -1
- package/dist/index.es600.js +9 -0
- package/dist/index.es600.js.map +1 -0
- package/dist/index.es601.js +8 -0
- package/dist/index.es601.js.map +1 -0
- package/dist/index.es602.js +8 -0
- package/dist/index.es602.js.map +1 -0
- package/dist/index.es603.js +8 -0
- package/dist/index.es603.js.map +1 -0
- package/dist/index.es604.js +14 -0
- package/dist/index.es604.js.map +1 -0
- package/dist/index.es605.js +10 -0
- package/dist/index.es605.js.map +1 -0
- package/dist/index.es606.js +10 -0
- package/dist/index.es606.js.map +1 -0
- package/dist/index.es607.js +7 -0
- package/dist/index.es607.js.map +1 -0
- package/dist/index.es608.js +13 -0
- package/dist/index.es608.js.map +1 -0
- package/dist/index.es609.js +9 -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 +9 -0
- package/dist/index.es611.js.map +1 -0
- package/dist/index.es612.js +215 -0
- package/dist/index.es612.js.map +1 -0
- package/dist/index.es613.js +246 -0
- package/dist/index.es613.js.map +1 -0
- package/dist/index.es614.js +39 -0
- package/dist/index.es614.js.map +1 -0
- package/dist/index.es615.js +18 -0
- package/dist/index.es615.js.map +1 -0
- package/dist/index.es616.js +567 -0
- package/dist/index.es616.js.map +1 -0
- package/dist/index.es617.js +59 -0
- package/dist/index.es617.js.map +1 -0
- package/dist/index.es618.js +338 -0
- package/dist/index.es618.js.map +1 -0
- package/dist/index.es619.js +1103 -0
- package/dist/index.es619.js.map +1 -0
- package/dist/index.es620.js +41 -0
- package/dist/index.es620.js.map +1 -0
- package/dist/index.es621.js +39 -0
- package/dist/index.es621.js.map +1 -0
- package/dist/index.es622.js +51 -0
- package/dist/index.es622.js.map +1 -0
- package/dist/index.es623.js +65 -0
- package/dist/index.es623.js.map +1 -0
- package/dist/index.es624.js +6 -0
- package/dist/index.es624.js.map +1 -0
- package/dist/index.es625.js +11 -0
- package/dist/index.es625.js.map +1 -0
- package/dist/index.es626.js +174 -0
- package/dist/index.es626.js.map +1 -0
- package/dist/index.es627.js +6 -0
- package/dist/index.es627.js.map +1 -0
- package/dist/index.es628.js +298 -0
- package/dist/index.es628.js.map +1 -0
- package/dist/index.es629.js +27 -0
- package/dist/index.es629.js.map +1 -0
- package/dist/index.es63.js +1 -1
- package/dist/index.es630.js +53 -0
- package/dist/index.es630.js.map +1 -0
- package/dist/index.es631.js +9 -0
- package/dist/index.es631.js.map +1 -0
- package/dist/index.es632.js +31 -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 +1 -1
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +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 +1 -1
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +21314 -1955
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es80.js +2 -6
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +8 -2
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js +2 -8
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js +26 -2
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es84.js +580 -17
- package/dist/index.es84.js.map +1 -1
- package/dist/index.es85.js +105 -588
- package/dist/index.es85.js.map +1 -1
- package/dist/index.es86.js +10 -21352
- package/dist/index.es86.js.map +1 -1
- package/dist/index.es87.js +1993 -2
- package/dist/index.es87.js.map +1 -1
- package/dist/index.es88.js +5 -105
- package/dist/index.es88.js.map +1 -1
- package/dist/index.es89.js +2 -10
- package/dist/index.es89.js.map +1 -1
- package/dist/index.es93.js +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs406.js","sources":["../../../node_modules/proj4/lib/projections/ob_tran.js"],"sourcesContent":["import adjust_lon from '../common/adjust_lon';\nimport { D2R, R2D, HALF_PI, EPSLN } from '../constants/values';\nimport Proj from '../Proj';\nimport { names as longLatNames } from './longlat';\n\n/**\n Original projection implementation:\n https://github.com/OSGeo/PROJ/blob/46c47e9adf6376ae06afabe5d24a0016a05ced82/src/projections/ob_tran.cpp\n\n Documentation:\n https://proj.org/operations/projections/ob_tran.html\n\n References/Formulas:\n https://pubs.usgs.gov/pp/1395/report.pdf\n\n Examples:\n +proj=ob_tran +o_proj=moll +o_lat_p=45 +o_lon_p=-90\n +proj=ob_tran +o_proj=moll +o_lat_p=45 +o_lon_p=-90 +lon_0=60\n +proj=ob_tran +o_proj=moll +o_lat_p=45 +o_lon_p=-90 +lon_0=-90\n*/\n\nconst projectionType = {\n OBLIQUE: {\n forward: forwardOblique,\n inverse: inverseOblique\n },\n TRANSVERSE: {\n forward: forwardTransverse,\n inverse: inverseTransverse\n }\n};\n\n/**\n * @typedef {Object} LocalThis\n * @property {number} lamp\n * @property {number} cphip\n * @property {number} sphip\n * @property {Object} projectionType\n * @property {string | undefined} o_proj\n * @property {string | undefined} o_lon_p\n * @property {string | undefined} o_lat_p\n * @property {string | undefined} o_alpha\n * @property {string | undefined} o_lon_c\n * @property {string | undefined} o_lat_c\n * @property {string | undefined} o_lon_1\n * @property {string | undefined} o_lat_1\n * @property {string | undefined} o_lon_2\n * @property {string | undefined} o_lat_2\n * @property {number | undefined} oLongP\n * @property {number | undefined} oLatP\n * @property {number | undefined} oAlpha\n * @property {number | undefined} oLongC\n * @property {number | undefined} oLatC\n * @property {number | undefined} oLong1\n * @property {number | undefined} oLat1\n * @property {number | undefined} oLong2\n * @property {number | undefined} oLat2\n * @property {boolean} isIdentity\n * @property {import('..').Converter} obliqueProjection\n *\n */\n\n/**\n * Parameters can be from the following sets:\n * New pole --> o_lat_p, o_lon_p\n * Rotate about point --> o_alpha, o_lon_c, o_lat_c\n * New equator points --> lon_1, lat_1, lon_2, lat_2\n *\n * Per the original source code, the parameter sets are\n * checked in the order of the object below.\n */\nconst paramSets = {\n ROTATE: {\n o_alpha: 'oAlpha',\n o_lon_c: 'oLongC',\n o_lat_c: 'oLatC'\n },\n NEW_POLE: {\n o_lat_p: 'oLatP',\n o_lon_p: 'oLongP'\n },\n NEW_EQUATOR: {\n o_lon_1: 'oLong1',\n o_lat_1: 'oLat1',\n o_lon_2: 'oLong2',\n o_lat_2: 'oLat2'\n }\n};\n\n/** @this {import('../defs.js').ProjectionDefinition & LocalThis} */\nexport function init() {\n this.x0 = this.x0 || 0;\n this.y0 = this.y0 || 0;\n this.long0 = this.long0 || 0;\n this.title = this.title || 'General Oblique Transformation';\n this.isIdentity = longLatNames.includes(this.o_proj);\n\n /** Verify required parameters exist */\n if (!this.o_proj) {\n throw new Error('Missing parameter: o_proj');\n }\n\n if (this.o_proj === `ob_tran`) {\n throw new Error('Invalid value for o_proj: ' + this.o_proj);\n }\n\n const newProjStr = this.projStr.replace('+proj=ob_tran', '').replace('+o_proj=', '+proj=').trim();\n\n /** @type {import('../defs.js').ProjectionDefinition} */\n const oProj = Proj(newProjStr);\n if (!oProj) {\n throw new Error('Invalid parameter: o_proj. Unknown projection ' + this.o_proj);\n }\n oProj.long0 = 0; // we handle long0 before/after forward/inverse\n this.obliqueProjection = oProj;\n\n let matchedSet;\n const paramSetsKeys = Object.keys(paramSets);\n\n /**\n * parse strings, convert to radians, throw on NaN\n * @param {string} name\n * @returns {number | undefined}\n */\n const parseParam = (name) => {\n if (typeof this[name] === `undefined`) {\n return undefined;\n }\n const val = parseFloat(this[name]) * D2R;\n if (isNaN(val)) {\n throw new Error('Invalid value for ' + name + ': ' + this[name]);\n }\n return val;\n };\n\n for (let i = 0; i < paramSetsKeys.length; i++) {\n const setKey = paramSetsKeys[i];\n const set = paramSets[setKey];\n const params = Object.entries(set);\n const setHasParams = params.some(\n ([p]) => typeof this[p] !== 'undefined'\n );\n if (!setHasParams) {\n continue;\n }\n matchedSet = set;\n for (let ii = 0; ii < params.length; ii++) {\n const [inputParam, param] = params[ii];\n const val = parseParam(inputParam);\n if (typeof val === 'undefined') {\n throw new Error('Missing parameter: ' + inputParam + '.');\n }\n this[param] = val;\n }\n break;\n }\n\n if (!matchedSet) {\n throw new Error('No valid parameters provided for ob_tran projection.');\n }\n\n const { lamp, phip } = createRotation(this, matchedSet);\n this.lamp = lamp;\n\n if (Math.abs(phip) > EPSLN) {\n this.cphip = Math.cos(phip);\n this.sphip = Math.sin(phip);\n this.projectionType = projectionType.OBLIQUE;\n } else {\n this.projectionType = projectionType.TRANSVERSE;\n }\n}\n\n// ob_tran forward equations--mapping (lat,long) to (x,y)\n// transverse (90 degrees from normal orientation) - forwardTransverse\n// or oblique (arbitrary angle) used based on parameters - forwardOblique\n// -----------------------------------------------------------------\n/** @this {import('../defs.js').ProjectionDefinition & LocalThis} */\nexport function forward(p) {\n return this.projectionType.forward(this, p);\n}\n\n// inverse equations--mapping (x,y) to (lat,long)\n// transverse: inverseTransverse\n// oblique: inverseOblique\n// -----------------------------------------------------------------\n/** @this {import('../defs.js').ProjectionDefinition & LocalThis} */\nexport function inverse(p) {\n return this.projectionType.inverse(this, p);\n}\n\n/**\n * @param {import('../defs.js').ProjectionDefinition & LocalThis} params - Initialized projection definition\n * @param {Object} how - Transformation method\n * @returns {{phip: number, lamp: number}}\n */\nfunction createRotation(params, how) {\n let phip, lamp;\n if (how === paramSets.ROTATE) {\n let lamc = params.oLongC;\n let phic = params.oLatC;\n let alpha = params.oAlpha;\n if (Math.abs(Math.abs(phic) - HALF_PI) <= EPSLN) {\n throw new Error('Invalid value for o_lat_c: ' + params.o_lat_c + ' should be < 90°');\n }\n lamp = lamc + Math.atan2(-1 * Math.cos(alpha), -1 * Math.sin(alpha) * Math.sin(phic));\n phip = Math.asin(Math.cos(phic) * Math.sin(alpha));\n } else if (how === paramSets.NEW_POLE) {\n lamp = params.oLongP;\n phip = params.oLatP;\n } else {\n let lam1 = params.oLong1;\n let phi1 = params.oLat1;\n let lam2 = params.oLong2;\n let phi2 = params.oLat2;\n let con = Math.abs(phi1);\n\n if (Math.abs(phi1) > HALF_PI - EPSLN) {\n throw new Error('Invalid value for o_lat_1: ' + params.o_lat_1 + ' should be < 90°');\n }\n\n if (Math.abs(phi2) > HALF_PI - EPSLN) {\n throw new Error('Invalid value for o_lat_2: ' + params.o_lat_2 + ' should be < 90°');\n }\n\n if (Math.abs(phi1 - phi2) < EPSLN) {\n throw new Error('Invalid value for o_lat_1 and o_lat_2: o_lat_1 should be different from o_lat_2');\n }\n if (con < EPSLN) {\n throw new Error('Invalid value for o_lat_1: o_lat_1 should be different from zero');\n }\n\n lamp = Math.atan2(\n (Math.cos(phi1) * Math.sin(phi2) * Math.cos(lam1))\n - (Math.sin(phi1) * Math.cos(phi2) * Math.cos(lam2)),\n (Math.sin(phi1) * Math.cos(phi2) * Math.sin(lam2))\n - (Math.cos(phi1) * Math.sin(phi2) * Math.sin(lam1))\n );\n\n phip = Math.atan(-1 * Math.cos(lamp - lam1) / Math.tan(phi1));\n }\n\n return { lamp, phip };\n}\n\n/**\n * Forward (lng, lat) to (x, y) for oblique case\n * @param {import('../defs.js').ProjectionDefinition & LocalThis} self\n * @param {{x: number, y: number}} lp - lambda, phi\n */\nfunction forwardOblique(self, lp) {\n let { x: lam, y: phi } = lp;\n lam = adjust_lon(lam - self.long0, self.over);\n const coslam = Math.cos(lam);\n const sinphi = Math.sin(phi);\n const cosphi = Math.cos(phi);\n\n lp.x = adjust_lon(\n Math.atan2(\n cosphi * Math.sin(lam),\n (self.sphip * cosphi * coslam) + (self.cphip * sinphi)\n ) + self.lamp\n );\n lp.y = Math.asin(\n (self.sphip * sinphi) - (self.cphip * cosphi * coslam)\n );\n\n const result = self.obliqueProjection.forward(lp);\n if (self.isIdentity) {\n result.x *= R2D;\n result.y *= R2D;\n }\n return result;\n}\n\n/**\n * Forward (lng, lat) to (x, y) for transverse case\n * @param {import('../defs.js').ProjectionDefinition & LocalThis} self\n * @param {{x: number, y: number}} lp - lambda, phi\n */\nfunction forwardTransverse(self, lp) {\n let { x: lam, y: phi } = lp;\n lam = adjust_lon(lam - self.long0, self.over);\n const cosphi = Math.cos(phi);\n const coslam = Math.cos(lam);\n lp.x = adjust_lon(\n Math.atan2(\n cosphi * Math.sin(lam),\n Math.sin(phi)\n ) + self.lamp\n );\n lp.y = Math.asin(-1 * cosphi * coslam);\n\n const result = self.obliqueProjection.forward(lp);\n\n if (self.isIdentity) {\n result.x *= R2D;\n result.y *= R2D;\n }\n return result;\n}\n\n/**\n * Inverse (x, y) to (lng, lat) for oblique case\n * @param {import('../defs.js').ProjectionDefinition & LocalThis} self\n * @param {{x: number, y: number}} lp - lambda, phi\n */\nfunction inverseOblique(self, lp) {\n if (self.isIdentity) {\n lp.x *= D2R;\n lp.y *= D2R;\n }\n\n const innerLp = self.obliqueProjection.inverse(lp);\n let { x: lam, y: phi } = innerLp;\n\n if (lam < Number.MAX_VALUE) {\n lam -= self.lamp;\n const coslam = Math.cos(lam);\n const sinphi = Math.sin(phi);\n const cosphi = Math.cos(phi);\n lp.x = Math.atan2(\n cosphi * Math.sin(lam),\n (self.sphip * cosphi * coslam) - (self.cphip * sinphi)\n );\n lp.y = Math.asin(\n (self.sphip * sinphi) + (self.cphip * cosphi * coslam)\n );\n }\n\n lp.x = adjust_lon(lp.x + self.long0);\n return lp;\n}\n\n/**\n * Inverse (x, y) to (lng, lat) for transverse case\n * @param {import('../defs.js').ProjectionDefinition & LocalThis} self\n * @param {{x: number, y: number}} lp - lambda, phi\n */\nfunction inverseTransverse(self, lp) {\n if (self.isIdentity) {\n lp.x *= D2R;\n lp.y *= D2R;\n }\n\n const innerLp = self.obliqueProjection.inverse(lp);\n let { x: lam, y: phi } = innerLp;\n\n if (lam < Number.MAX_VALUE) {\n const cosphi = Math.cos(phi);\n lam -= self.lamp;\n lp.x = Math.atan2(\n cosphi * Math.sin(lam),\n -1 * Math.sin(phi)\n );\n lp.y = Math.asin(\n cosphi * Math.cos(lam)\n );\n }\n\n lp.x = adjust_lon(lp.x + self.long0);\n return lp;\n}\n\nexport var names = ['General Oblique Transformation', 'General_Oblique_Transformation', 'ob_tran'];\nexport default {\n init: init,\n forward: forward,\n inverse: inverse,\n names: names\n};\n"],"names":["projectionType","forwardOblique","inverseOblique","forwardTransverse","inverseTransverse","paramSets","init","longLatNames","newProjStr","oProj","Proj","matchedSet","paramSetsKeys","parseParam","name","val","D2R","i","setKey","set","params","p","ii","inputParam","param","lamp","phip","createRotation","EPSLN","forward","inverse","how","lamc","phic","alpha","HALF_PI","lam1","phi1","lam2","phi2","con","self","lp","lam","phi","adjust_lon","coslam","sinphi","cosphi","result","R2D","innerLp","names","ob_tran"],"mappings":"8OAqBMA,EAAiB,CACrB,QAAS,CACP,QAASC,EACT,QAASC,CAAA,EAEX,WAAY,CACV,QAASC,EACT,QAASC,CAAA,CAEb,EAyCMC,EAAY,CAChB,OAAQ,CACN,QAAS,SACT,QAAS,SACT,QAAS,OAAA,EAEX,SAAU,CACR,QAAS,QACT,QAAS,QAAA,EAEX,YAAa,CACX,QAAS,SACT,QAAS,QACT,QAAS,SACT,QAAS,OAAA,CAEb,EAGO,SAASC,GAAO,CAQrB,GAPA,KAAK,GAAK,KAAK,IAAM,EACrB,KAAK,GAAK,KAAK,IAAM,EACrB,KAAK,MAAQ,KAAK,OAAS,EAC3B,KAAK,MAAQ,KAAK,OAAS,iCAC3B,KAAK,WAAaC,EAAAA,MAAa,SAAS,KAAK,MAAM,EAG/C,CAAC,KAAK,OACR,MAAM,IAAI,MAAM,2BAA2B,EAG7C,GAAI,KAAK,SAAW,UAClB,MAAM,IAAI,MAAM,6BAA+B,KAAK,MAAM,EAG5D,MAAMC,EAAa,KAAK,QAAQ,QAAQ,gBAAiB,EAAE,EAAE,QAAQ,WAAY,QAAQ,EAAE,KAAA,EAGrFC,EAAQC,EAAKF,CAAU,EAC7B,GAAI,CAACC,EACH,MAAM,IAAI,MAAM,iDAAmD,KAAK,MAAM,EAEhFA,EAAM,MAAQ,EACd,KAAK,kBAAoBA,EAEzB,IAAIE,EACJ,MAAMC,EAAgB,OAAO,KAAKP,CAAS,EAOrCQ,EAAcC,GAAS,CAC3B,GAAI,OAAO,KAAKA,CAAI,EAAM,IACxB,OAEF,MAAMC,EAAM,WAAW,KAAKD,CAAI,CAAC,EAAIE,EAAAA,IACrC,GAAI,MAAMD,CAAG,EACX,MAAM,IAAI,MAAM,q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C,EACA,MAAAsB,CACF","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";function f(n,s,o=0,c=n.length-1,u=p){for(;c>o;){if(c-o>600){const i=c-o+1,l=s-o+1,x=Math.log(i),h=.5*Math.exp(2*x/3),d=.5*Math.sqrt(x*h*(i-h)/i)*(l-i/2<0?-1:1),q=Math.max(o,Math.floor(s-l*h/i+d)),m=Math.min(c,Math.floor(s+(i-l)*h/i+d));f(n,s,q,m,u)}const e=n[s];let w=o,t=c;for(M(n,o,s),u(n[c],e)>0&&M(n,o,c);w<t;){for(M(n,w,t),w++,t--;u(n[w],e)<0;)w++;for(;u(n[t],e)>0;)t--}u(n[o],e)===0?M(n,o,t):(t++,M(n,t,c)),t<=s&&(o=t+1),s<=t&&(c=t-1)}}function M(n,s,o){const c=n[s];n[s]=n[o],n[o]=c}function p(n,s){return n<s?-1:n>s?1:0}module.exports=f;
|
|
2
|
+
//# sourceMappingURL=index.cjs407.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs407.js","sources":["../../../node_modules/quickselect/index.js"],"sourcesContent":["\n/**\n * Rearranges items so that all items in the [left, k] are the smallest.\n * The k-th element will have the (k - left + 1)-th smallest value in [left, right].\n *\n * @template T\n * @param {T[]} arr the array to partially sort (in place)\n * @param {number} k middle index for partial sorting (as defined above)\n * @param {number} [left=0] left index of the range to sort\n * @param {number} [right=arr.length-1] right index\n * @param {(a: T, b: T) => number} [compare = (a, b) => a - b] compare function\n */\nexport default function quickselect(arr, k, left = 0, right = arr.length - 1, compare = defaultCompare) {\n\n while (right > left) {\n if (right - left > 600) {\n const n = right - left + 1;\n const m = k - left + 1;\n const z = Math.log(n);\n const s = 0.5 * Math.exp(2 * z / 3);\n const sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);\n const newLeft = Math.max(left, Math.floor(k - m * s / n + sd));\n const newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));\n quickselect(arr, k, newLeft, newRight, compare);\n }\n\n const t = arr[k];\n let i = left;\n /** @type {number} */\n let j = right;\n\n swap(arr, left, k);\n if (compare(arr[right], t) > 0) swap(arr, left, right);\n\n while (i < j) {\n swap(arr, i, j);\n i++;\n j--;\n while (compare(arr[i], t) < 0) i++;\n while (compare(arr[j], t) > 0) j--;\n }\n\n if (compare(arr[left], t) === 0) swap(arr, left, j);\n else {\n j++;\n swap(arr, j, right);\n }\n\n if (j <= k) left = j + 1;\n if (k <= j) right = j - 1;\n }\n}\n\n/**\n * @template T\n * @param {T[]} arr\n * @param {number} i\n * @param {number} j\n */\nfunction swap(arr, i, j) {\n const tmp = arr[i];\n arr[i] = arr[j];\n arr[j] = tmp;\n}\n\n/**\n * @template T\n * @param {T} a\n * @param {T} b\n * @returns {number}\n */\nfunction defaultCompare(a, b) {\n return a < b ? -1 : a > b ? 1 : 0;\n}\n"],"names":["quickselect","arr","k","left","right","compare","defaultCompare","n","m","z","s","sd","newLeft","newRight","t","i","j","swap","tmp","a","b"],"mappings":"aAYA,SAAwBA,EAAYC,EAAKC,EAAGC,EAAO,EAAGC,EAAQH,EAAI,OAAS,EAAGI,EAAUC,EAAgB,CAEpG,KAAOF,EAAQD,GAAM,CACjB,GAAIC,EAAQD,EAAO,IAAK,CACpB,MAAMI,EAAIH,EAAQD,EAAO,EACnBK,EAAIN,EAAIC,EAAO,EACfM,EAAI,KAAK,IAAIF,CAAC,EACdG,EAAI,GAAM,KAAK,IAAI,EAAID,EAAI,CAAC,EAC5BE,EAAK,GAAM,KAAK,KAAKF,EAAIC,GAAKH,EAAIG,GAAKH,CAAC,GAAKC,EAAID,EAAI,EAAI,EAAI,GAAK,GAClEK,EAAU,KAAK,IAAIT,EAAM,KAAK,MAAMD,EAAIM,EAAIE,EAAIH,EAAII,CAAE,CAAC,EACvDE,EAAW,KAAK,IAAIT,EAAO,KAAK,MAAMF,GAAKK,EAAIC,GAAKE,EAAIH,EAAII,CAAE,CAAC,EACrEX,EAAYC,EAAKC,EAAGU,EAASC,EAAUR,CAAO,CAClD,CAEA,MAAMS,EAAIb,EAAIC,CAAC,EACf,IAAIa,EAAIZ,EAEJa,EAAIZ,EAKR,IAHAa,EAAKhB,EAAKE,EAAMD,CAAC,EACbG,EAAQJ,EAAIG,CAAK,EAAGU,CAAC,EAAI,GAAGG,EAAKhB,EAAKE,EAAMC,CAAK,EAE9CW,EAAIC,GAAG,CAIV,IAHAC,EAAKhB,EAAKc,EAAGC,CAAC,EACdD,IACAC,IACOX,EAAQJ,EAAIc,CAAC,EAAGD,CAAC,EAAI,GAAGC,IAC/B,KAAOV,EAAQJ,EAAIe,CAAC,EAAGF,CAAC,EAAI,GAAGE,GACnC,CAEIX,EAAQJ,EAAIE,CAAI,EAAGW,CAAC,IAAM,EAAGG,EAAKhB,EAAKE,EAAMa,CAAC,GAE9CA,IACAC,EAAKhB,EAAKe,EAAGZ,CAAK,GAGlBY,GAAKd,IAAGC,EAAOa,EAAI,GACnBd,GAAKc,IAAGZ,EAAQY,EAAI,EAC5B,CACJ,CAQA,SAASC,EAAKhB,EAAKc,EAAGC,EAAG,CACrB,MAAME,EAAMjB,EAAIc,CAAC,EACjBd,EAAIc,CAAC,EAAId,EAAIe,CAAC,EACdf,EAAIe,CAAC,EAAIE,CACb,CAQA,SAASZ,EAAea,EAAGC,EAAG,CAC1B,OAAOD,EAAIC,EAAI,GAAKD,EAAIC,EAAI,EAAI,CACpC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e){return Array.isArray(e)}function t(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="AnnotationPage"&&"items"in e)}function s(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="GeoreferencedMap")}function f(e){return!!(e&&typeof e=="object"&&"target"in e&&e.target&&typeof e.target=="object"&&"source"in e.target&&typeof e.target.source=="string")}exports.isAnnotation0BeforeParse=f;exports.isAnnotationPageBeforeParse=t;exports.isGeoreferencedMap2BeforeParse=s;exports.isGeoreferencedMapsBeforeParse=r;
|
|
2
|
+
//# sourceMappingURL=index.cjs408.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs408.js","sources":["../../../node_modules/@allmaps/annotation/dist/before-parse.js"],"sourcesContent":["export function isGeoreferencedMapsBeforeParse(mapOrMaps) {\n return Array.isArray(mapOrMaps);\n}\nexport function isAnnotationPageBeforeParse(annotation) {\n if (annotation &&\n typeof annotation === 'object' &&\n 'type' in annotation &&\n annotation.type === 'AnnotationPage' &&\n 'items' in annotation) {\n return true;\n }\n else {\n return false;\n }\n}\nexport function isGeoreferencedMap2BeforeParse(georeferencedMap) {\n if (georeferencedMap &&\n typeof georeferencedMap === 'object' &&\n 'type' in georeferencedMap &&\n georeferencedMap.type === 'GeoreferencedMap') {\n return true;\n }\n else {\n return false;\n }\n}\nexport function isAnnotation0BeforeParse(annotation) {\n if (annotation &&\n typeof annotation === 'object' &&\n 'target' in annotation &&\n annotation.target &&\n typeof annotation.target === 'object' &&\n 'source' in annotation.target &&\n typeof annotation.target.source === 'string') {\n return true;\n }\n else {\n return false;\n }\n}\n"],"names":["isGeoreferencedMapsBeforeParse","mapOrMaps","isAnnotationPageBeforeParse","annotation","isGeoreferencedMap2BeforeParse","georeferencedMap","isAnnotation0BeforeParse"],"mappings":"gFAAO,SAASA,EAA+BC,EAAW,CACtD,OAAO,MAAM,QAAQA,CAAS,CAClC,CACO,SAASC,EAA4BC,EAAY,CACpD,MAAI,GAAAA,GACA,OAAOA,GAAe,UACtB,SAAUA,GACVA,EAAW,OAAS,kBACpB,UAAWA,EAMnB,CACO,SAASC,EAA+BC,EAAkB,CAC7D,MAAI,GAAAA,GACA,OAAOA,GAAqB,UAC5B,SAAUA,GACVA,EAAiB,OAAS,mBAMlC,CACO,SAASC,EAAyBH,EAAY,CACjD,MAAI,GAAAA,GACA,OAAOA,GAAe,UACtB,WAAYA,GACZA,EAAW,QACX,OAAOA,EAAW,QAAW,UAC7B,WAAYA,EAAW,QACvB,OAAOA,EAAW,OAAO,QAAW,SAM5C","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(e){return"type"in e&&e.type==="GeoreferencedMap"}function r(e){return"source"in e.target&&typeof e.target.source=="object"}exports.isAnnotation1=r;exports.isGeoreferencedMap2=t;
|
|
2
|
+
//# sourceMappingURL=index.cjs409.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs409.js","sources":["../../../node_modules/@allmaps/annotation/dist/guards.js"],"sourcesContent":["// Type guard that checks if georeferencedMap is v2 GeoreferencedMap\nexport function isGeoreferencedMap2(georeferencedMap) {\n return ('type' in georeferencedMap && georeferencedMap.type === 'GeoreferencedMap');\n}\n// Type guard that checks if annotation is v1 Georeference Annotation\nexport function isAnnotation1(annotation) {\n return ('source' in annotation.target &&\n typeof annotation.target.source === 'object');\n}\n"],"names":["isGeoreferencedMap2","georeferencedMap","isAnnotation1","annotation"],"mappings":"gFACO,SAASA,EAAoBC,EAAkB,CAClD,MAAQ,SAAUA,GAAoBA,EAAiB,OAAS,kBACpE,CAEO,SAASC,EAAcC,EAAY,CACtC,MAAQ,WAAYA,EAAW,QAC3B,OAAOA,EAAW,OAAO,QAAW,QAC5C","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs209.js"),e=require("./index.cjs416.js"),i=/^<svg\s+width="\d+"\s+height="\d+"\s*>\s*<polygon\s+points="\s*(-?\d+(\.\d+)?,-?\d+(\.\d+)?\s+){2,}-?\d+(\.\d+)?,-?\d+(\.\d+)?\s*"\s*\/>\s*<\/svg>$/,o=e.object({type:e.literal("SvgSelector"),value:e.string().regex(i)}),a=e.object({source:e.string().url(),service:e.array(e.object({"@id":e.string().url(),type:t.ResourceTypeSchema})).length(1),selector:o}),r=e.object({pixelCoords:t.PointSchema}),n=e.object({type:e.literal("FeatureCollection"),transformation:t.TransformationSchema.optional(),features:e.array(e.object({type:e.literal("Feature"),properties:r,geometry:t.PointGeometrySchema}))}),c=e.object({id:e.string().optional(),type:e.literal("Annotation"),"@context":t.ContextSchema.optional(),motivation:e.string().optional(),target:a,body:n}),s=e.object({id:e.string().optional(),type:e.literal("AnnotationPage"),"@context":t.ContextSchema.optional(),items:e.array(c)});exports.AnnotationPageSchema=s;exports.AnnotationSchema=c;exports.BodySchema=n;exports.FeaturePropertiesSchema=r;exports.SvgSelectorSchema=o;exports.TargetSchema=a;
|
|
2
|
+
//# sourceMappingURL=index.cjs410.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs410.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/annotation/annotation.0.js"],"sourcesContent":["import { z } from 'zod';\nimport { PointSchema, ResourceTypeSchema, PointGeometrySchema, TransformationSchema, ContextSchema } from '../shared.js';\nconst svg = /^<svg\\s+width=\"\\d+\"\\s+height=\"\\d+\"\\s*>\\s*<polygon\\s+points=\"\\s*(-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?\\s+){2,}-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?\\s*\"\\s*\\/>\\s*<\\/svg>$/;\nexport const SvgSelectorSchema = z.object({\n type: z.literal('SvgSelector'),\n value: z.string().regex(svg)\n});\nexport const TargetSchema = z.object({\n source: z.string().url(),\n service: z\n .array(z.object({\n '@id': z.string().url(),\n type: ResourceTypeSchema\n }))\n .length(1),\n selector: SvgSelectorSchema\n});\nexport const FeaturePropertiesSchema = z.object({\n pixelCoords: PointSchema\n});\nexport const BodySchema = z.object({\n type: z.literal('FeatureCollection'),\n transformation: TransformationSchema.optional(),\n features: z.array(z.object({\n type: z.literal('Feature'),\n properties: FeaturePropertiesSchema,\n geometry: PointGeometrySchema\n }))\n});\nexport const AnnotationSchema = z.object({\n id: z.string().optional(),\n type: z.literal('Annotation'),\n '@context': ContextSchema.optional(),\n motivation: z.string().optional(),\n target: TargetSchema,\n body: BodySchema\n});\nexport const AnnotationPageSchema = z.object({\n id: z.string().optional(),\n type: z.literal('AnnotationPage'),\n '@context': ContextSchema.optional(),\n items: z.array(AnnotationSchema)\n});\n"],"names":["svg","SvgSelectorSchema","z.object","z.literal","z.string","TargetSchema","z.array","ResourceTypeSchema","FeaturePropertiesSchema","PointSchema","BodySchema","TransformationSchema","PointGeometrySchema","AnnotationSchema","ContextSchema","AnnotationPageSchema"],"mappings":"oJAEMA,EAAM,sJACCC,EAAoBC,EAAAA,OAAS,CACtC,KAAMC,EAAAA,QAAU,aAAa,EAC7B,MAAOC,EAAAA,SAAW,MAAMJ,CAAG,CAC/B,CAAC,EACYK,EAAeH,EAAAA,OAAS,CACjC,OAAQE,EAAAA,OAAE,EAAS,IAAA,EACnB,QAASE,EAAAA,MACEJ,SAAS,CAChB,MAAOE,EAAAA,OAAE,EAAS,IAAA,EAClB,KAAMG,EAAAA,kBAAA,CACT,CAAC,EACG,OAAO,CAAC,EACb,SAAUN,CACd,CAAC,EACYO,EAA0BN,EAAAA,OAAS,CAC5C,YAAaO,EAAAA,WACjB,CAAC,EACYC,EAAaR,EAAAA,OAAS,CAC/B,KAAMC,EAAAA,QAAU,mBAAmB,EACnC,eAAgBQ,EAAAA,qBAAqB,SAAA,EACrC,SAAUL,EAAAA,MAAQJ,SAAS,CACvB,KAAMC,EAAAA,QAAU,SAAS,EACzB,WAAYK,EACZ,SAAUI,EAAAA,mBAAA,CACb,CAAC,CACN,CAAC,EACYC,EAAmBX,EAAAA,OAAS,CACrC,GAAIE,EAAAA,OAAE,EAAS,SAAA,EACf,KAAMD,EAAAA,QAAU,YAAY,EAC5B,WAAYW,EAAAA,cAAc,SAAA,EAC1B,WAAYV,EAAAA,OAAE,EAAS,SAAA,EACvB,OAAQC,EACR,KAAMK,CACV,CAAC,EACYK,EAAuBb,EAAAA,OAAS,CACzC,GAAIE,EAAAA,OAAE,EAAS,SAAA,EACf,KAAMD,EAAAA,QAAU,gBAAgB,EAChC,WAAYW,EAAAA,cAAc,SAAA,EAC1B,MAAOR,EAAAA,MAAQO,CAAgB,CACnC,CAAC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs209.js"),e=require("./index.cjs416.js"),o=/<polygon\s+points="\s*(-?\d+(\.\d+)?,-?\d+(\.\d+)?\s+){2,}-?\d+(\.\d+)?,-?\d+(\.\d+)?\s*"\s*\/>/,S=new RegExp(`^<svg\\s+width="\\d+"\\s+height="\\d+"\\s*>\\s*${o.source}\\s*</svg>$`),p=new RegExp(`^<svg\\s+height="\\d+"\\s+width="\\d+"\\s*>\\s*${o.source}\\s*</svg>$`),l=new RegExp(`^<svg\\s*>\\s*${o.source}\\s*</svg>$`),d=e.string().regex(l),u=e.string().regex(S),v=e.string().regex(p),i=e.object({type:e.literal("SvgSelector"),value:e.union([d,u,v])}),a=e.object({"@id":e.string().url(),type:t.ImageServiceSchema,height:e.number().positive(),width:e.number().positive(),partOf:t.PartOfSchema.optional(),provider:t.ProviderSchema.optional()}),n=e.object({id:e.string().url(),type:t.ImageServiceSchema,height:e.number().positive().optional(),width:e.number().positive().optional(),partOf:t.PartOfSchema.optional(),provider:t.ProviderSchema.optional()}),r=e.object({id:e.string().url(),type:e.literal("Canvas"),height:e.number().positive().optional(),width:e.number().positive().optional(),partOf:t.PartOfSchema.optional(),provider:t.ProviderSchema.optional()}),c=e.union([a,e.discriminatedUnion("type",[n,r])]),s=e.object({type:e.literal("SpecificResource"),source:c,selector:i}),h=e.object({resourceCoords:t.PointSchema}),g=e.object({type:e.literal("FeatureCollection"),transformation:t.TransformationSchema.optional(),resourceCrs:t.ProjectionSchema.optional(),features:e.array(e.object({type:e.literal("Feature"),properties:h,geometry:t.PointGeometrySchema})),_allmaps:e.unknown().optional()}),m=e.object({id:e.string().optional(),type:e.literal("Annotation"),"@context":t.ContextSchema.optional(),motivation:e.string().optional(),created:e.string().datetime().optional(),modified:e.string().datetime().optional(),target:s,body:g}),y=e.object({id:e.string().optional(),type:e.literal("AnnotationPage"),"@context":t.ContextSchema.optional(),items:e.array(m)});exports.AnnotationPageSchema=y;exports.AnnotationSchema=m;exports.BodySchema=g;exports.Canvas3Schema=r;exports.FeaturePropertiesSchema=h;exports.Source1Schema=a;exports.Source2Schema=n;exports.SourceSchema=c;exports.SvgSelectorSchema=i;exports.TargetSchema=s;
|
|
2
|
+
//# sourceMappingURL=index.cjs411.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs411.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/annotation/annotation.1.js"],"sourcesContent":["import { z } from 'zod';\nimport { PointSchema, ImageServiceSchema, PartOfSchema, PointGeometrySchema, TransformationSchema, ProjectionSchema, ContextSchema, ProviderSchema } from '../shared.js';\nconst polygonRegex = /<polygon\\s+points=\"\\s*(-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?\\s+){2,}-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?\\s*\"\\s*\\/>/;\nconst svgWidthHeightRegex = new RegExp(`^<svg\\\\s+width=\"\\\\d+\"\\\\s+height=\"\\\\d+\"\\\\s*>\\\\s*${polygonRegex.source}\\\\s*</svg>$`);\nconst svgHeightWidthRegex = new RegExp(`^<svg\\\\s+height=\"\\\\d+\"\\\\s+width=\"\\\\d+\"\\\\s*>\\\\s*${polygonRegex.source}\\\\s*</svg>$`);\nconst svgRegex = new RegExp(`^<svg\\\\s*>\\\\s*${polygonRegex.source}\\\\s*</svg>$`);\nconst SvgRegexSchema = z.string().regex(svgRegex);\nconst SvgWidthHeightRegexSchema = z.string().regex(svgWidthHeightRegex);\nconst SvgHeightWidthRegexSchema = z.string().regex(svgHeightWidthRegex);\nexport const SvgSelectorSchema = z.object({\n type: z.literal('SvgSelector'),\n value: z.union([\n SvgRegexSchema,\n SvgWidthHeightRegexSchema,\n SvgHeightWidthRegexSchema\n ])\n});\n// const regionRegex = /^\\d+,\\d+,\\d+,\\d+$/\n// const sizeRegex = /^\\d+,\\d+$/\n// export const ImageApiSelectorSchema = z.object({\n// type: z.literal('ImageApiSelector'),\n// region: z.string().regex(regionRegex),\n// size: z.string().regex(sizeRegex)\n// })\nexport const Source1Schema = z.object({\n '@id': z.string().url(),\n type: ImageServiceSchema,\n height: z.number().positive(),\n width: z.number().positive(),\n partOf: PartOfSchema.optional(),\n provider: ProviderSchema.optional()\n});\nexport const Source2Schema = z.object({\n id: z.string().url(),\n type: ImageServiceSchema,\n height: z.number().positive().optional(),\n width: z.number().positive().optional(),\n partOf: PartOfSchema.optional(),\n provider: ProviderSchema.optional()\n});\nexport const Canvas3Schema = z.object({\n id: z.string().url(),\n type: z.literal('Canvas'),\n height: z.number().positive().optional(),\n width: z.number().positive().optional(),\n partOf: PartOfSchema.optional(),\n provider: ProviderSchema.optional()\n});\nexport const SourceSchema = z.union([\n Source1Schema,\n z.discriminatedUnion('type', [Source2Schema, Canvas3Schema])\n]);\nexport const TargetSchema = z.object({\n type: z.literal('SpecificResource'),\n source: SourceSchema,\n // selector: z.union([SvgSelectorSchema, ImageApiSelectorSchema])\n selector: SvgSelectorSchema\n});\nexport const FeaturePropertiesSchema = z.object({\n resourceCoords: PointSchema\n});\nexport const BodySchema = z.object({\n type: z.literal('FeatureCollection'),\n transformation: TransformationSchema.optional(),\n resourceCrs: ProjectionSchema.optional(),\n features: z.array(z.object({\n type: z.literal('Feature'),\n properties: FeaturePropertiesSchema,\n geometry: PointGeometrySchema\n })),\n // TODO: accept all keys that start with underscore and pass them?\n // TODO: define proper schema for _allmaps\n _allmaps: z.unknown().optional()\n});\nexport const AnnotationSchema = z.object({\n id: z.string().optional(),\n type: z.literal('Annotation'),\n '@context': ContextSchema.optional(),\n motivation: z.string().optional(),\n created: z.string().datetime().optional(),\n modified: z.string().datetime().optional(),\n target: TargetSchema,\n body: BodySchema\n});\nexport const AnnotationPageSchema = z.object({\n id: z.string().optional(),\n type: z.literal('AnnotationPage'),\n '@context': ContextSchema.optional(),\n items: z.array(AnnotationSchema)\n});\n"],"names":["polygonRegex","svgWidthHeightRegex","svgHeightWidthRegex","svgRegex","SvgRegexSchema","z.string","SvgWidthHeightRegexSchema","SvgHeightWidthRegexSchema","SvgSelectorSchema","z.object","z.literal","z.union","Source1Schema","ImageServiceSchema","z.number","PartOfSchema","ProviderSchema","Source2Schema","Canvas3Schema","SourceSchema","z.discriminatedUnion","TargetSchema","FeaturePropertiesSchema","PointSchema","BodySchema","TransformationSchema","ProjectionSchema","z.array","PointGeometrySchema","z.unknown","AnnotationSchema","ContextSchema","AnnotationPageSchema"],"mappings":"oJAEMA,EAAe,kGACfC,EAAsB,IAAI,OAAO,kDAAkDD,EAAa,MAAM,aAAa,EACnHE,EAAsB,IAAI,OAAO,kDAAkDF,EAAa,MAAM,aAAa,EACnHG,EAAW,IAAI,OAAO,iBAAiBH,EAAa,MAAM,aAAa,EACvEI,EAAiBC,EAAAA,OAAE,EAAS,MAAMF,CAAQ,EAC1CG,EAA4BD,EAAAA,OAAE,EAAS,MAAMJ,CAAmB,EAChEM,EAA4BF,EAAAA,OAAE,EAAS,MAAMH,CAAmB,EACzDM,EAAoBC,EAAAA,OAAS,CACtC,KAAMC,EAAAA,QAAU,aAAa,EAC7B,MAAOC,EAAAA,MAAQ,CACXP,EACAE,EACAC,CAAA,CACH,CACL,CAAC,EAQYK,EAAgBH,EAAAA,OAAS,CAClC,MAAOJ,EAAAA,OAAE,EAAS,IAAA,EAClB,KAAMQ,EAAAA,mBACN,OAAQC,EAAAA,OAAE,EAAS,SAAA,EACnB,MAAOA,EAAAA,OAAE,EAAS,SAAA,EAClB,OAAQC,EAAAA,aAAa,SAAA,EACrB,SAAUC,EAAA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AAAA,QAAU,YAAY,EAC5B,WAAYqB,EAAAA,cAAc,SAAA,EAC1B,WAAY1B,EAAAA,OAAE,EAAS,SAAA,EACvB,QAASA,EAAAA,OAAE,EAAS,SAAA,EAAW,SAAA,EAC/B,SAAUA,EAAAA,OAAE,EAAS,SAAA,EAAW,SAAA,EAChC,OAAQgB,EACR,KAAMG,CACV,CAAC,EACYQ,EAAuBvB,EAAAA,OAAS,CACzC,GAAIJ,EAAAA,OAAE,EAAS,SAAA,EACf,KAAMK,EAAAA,QAAU,gBAAgB,EAChC,WAAYqB,EAAAA,cAAc,SAAA,EAC1B,MAAOJ,EAAAA,MAAQG,CAAgB,CACnC,CAAC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index.cjs208.js");const n=require("./index.cjs408.js"),u=require("./index.cjs409.js"),l=require("./index.cjs413.js"),c=require("./index.cjs414.js");function m(t){let e,i,r;u.isGeoreferencedMap2(t)?(e=t.resource.width,i=t.resource.height,r=t.resourceMask):(e=t.image.width,i=t.image.height,r=t.pixelMask);let o="<svg>";return e&&i&&(o=`<svg width="${e}" height="${i}">`),{type:"SvgSelector",value:`${o}<polygon points="${r.map(s=>s.join(",")).join(" ")}" /></svg>`}}function f(t){let e,i,r,o,s,a;if(u.isGeoreferencedMap2(t)){if(t.resource.type==="Canvas")return{id:t.resource.id,type:t.resource.type,height:t.resource.height,width:t.resource.width,partOf:t.resource.partOf,provider:t.resource.provider};e=t.resource.id,i=t.resource.type,r=t.resource.width,o=t.resource.height,s=t.resource.partOf,a=t.resource.provider}else e=t.image.uri,i=t.image.type,r=t.image.width,o=t.image.height;return{id:e,type:i,height:o,width:r,partOf:s,provider:a}}function y(t){if(u.isGeoreferencedMap2(t))return{created:t.created,modified:t.modified}}function d(){return["http://iiif.io/api/extension/georef/1/context.json","http://iiif.io/api/presentation/3/context.json"]}function v(t){let e,i;return"resource"in t?(e=t.resource,i=t.geo):(e=t.image,i=t.world),{type:"Feature",properties:{resourceCoords:e},geometry:{type:"Point",coordinates:i}}}function h(t){const e={type:"SpecificResource",source:f(t),selector:m(t)};let i;"resourceCrs"in t&&(i=t.resourceCrs);let r;"_allmaps"in t&&(r=t._allmaps);const o={type:"FeatureCollection",transformation:t.transformation,resourceCrs:i,features:t.gcps.map(s=>v(s)),_allmaps:r};return{id:t.id,type:"Annotation","@context":d(),...y(t),motivation:"georeferencing",target:e,body:o}}function w(t){if(n.isGeoreferencedMapsBeforeParse(t)){let e;return n.isGeoreferencedMap2BeforeParse(t[0])?e=l.GeoreferencedMapsSchema.parse(t):e=c.GeoreferencedMapsSchema.parse(t),{type:"AnnotationPage","@context":"http://www.w3.org/ns/anno.jsonld",items:e.map(r=>h(r))}}else{let e;return n.isGeoreferencedMap2BeforeParse(t)?e=l.GeoreferencedMapSchema.parse(t):e=c.GeoreferencedMapSchema.parse(t),h(e)}}exports.generateAnnotation=w;
|
|
2
|
+
//# sourceMappingURL=index.cjs412.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs412.js","sources":["../../../node_modules/@allmaps/annotation/dist/generator.js"],"sourcesContent":["import { GeoreferencedMap1Schema, GeoreferencedMap2Schema, GeoreferencedMaps1Schema, GeoreferencedMaps2Schema } from './schemas/georeferenced-map.js';\nimport { isGeoreferencedMapsBeforeParse, isGeoreferencedMap2BeforeParse } from './before-parse.js';\nimport { isGeoreferencedMap2 } from './guards.js';\nfunction generateSvgSelector(georeferencedMap) {\n let width;\n let height;\n let resourceMask;\n if (isGeoreferencedMap2(georeferencedMap)) {\n width = georeferencedMap.resource.width;\n height = georeferencedMap.resource.height;\n resourceMask = georeferencedMap.resourceMask;\n }\n else {\n width = georeferencedMap.image.width;\n height = georeferencedMap.image.height;\n resourceMask = georeferencedMap.pixelMask;\n }\n let svg = `<svg>`;\n if (width && height) {\n svg = `<svg width=\"${width}\" height=\"${height}\">`;\n }\n return {\n type: 'SvgSelector',\n value: `${svg}<polygon points=\"${resourceMask\n .map((point) => point.join(','))\n .join(' ')}\" /></svg>`\n };\n}\nfunction generateSource(georeferencedMap) {\n let id;\n let type;\n let width;\n let height;\n let partOf;\n let provider;\n if (isGeoreferencedMap2(georeferencedMap)) {\n if (georeferencedMap.resource.type === 'Canvas') {\n // TODO: Don't know why TypeScript complains if I don't do this\n const source = {\n id: georeferencedMap.resource.id,\n type: georeferencedMap.resource.type,\n height: georeferencedMap.resource.height,\n width: georeferencedMap.resource.width,\n partOf: georeferencedMap.resource.partOf,\n provider: georeferencedMap.resource.provider\n };\n return source;\n }\n else {\n id = georeferencedMap.resource.id;\n type = georeferencedMap.resource.type;\n width = georeferencedMap.resource.width;\n height = georeferencedMap.resource.height;\n partOf = georeferencedMap.resource.partOf;\n provider = georeferencedMap.resource.provider;\n }\n }\n else {\n id = georeferencedMap.image.uri;\n type = georeferencedMap.image.type;\n width = georeferencedMap.image.width;\n height = georeferencedMap.image.height;\n }\n return {\n id,\n type,\n height,\n width,\n partOf,\n provider\n };\n}\nfunction generateDates(georeferencedMap) {\n if (isGeoreferencedMap2(georeferencedMap)) {\n return {\n created: georeferencedMap.created,\n modified: georeferencedMap.modified\n };\n }\n}\nfunction generateContext() {\n return [\n 'http://iiif.io/api/extension/georef/1/context.json',\n 'http://iiif.io/api/presentation/3/context.json'\n ];\n}\nfunction generateFeature(gcp) {\n let resourceCoords;\n let geoCoords;\n if ('resource' in gcp) {\n resourceCoords = gcp.resource;\n geoCoords = gcp.geo;\n }\n else {\n resourceCoords = gcp.image;\n geoCoords = gcp.world;\n }\n return {\n type: 'Feature',\n properties: {\n resourceCoords\n },\n geometry: {\n type: 'Point',\n coordinates: geoCoords\n }\n };\n}\nfunction generateGeoreferenceAnnotation(georeferencedMap) {\n const target = {\n type: 'SpecificResource',\n source: generateSource(georeferencedMap),\n selector: generateSvgSelector(georeferencedMap)\n };\n let resourceCrs;\n if ('resourceCrs' in georeferencedMap) {\n resourceCrs = georeferencedMap.resourceCrs;\n }\n let _allmaps;\n if ('_allmaps' in georeferencedMap) {\n _allmaps = georeferencedMap._allmaps;\n }\n const body = {\n type: 'FeatureCollection',\n transformation: georeferencedMap.transformation,\n resourceCrs,\n features: georeferencedMap.gcps.map((gcp) => generateFeature(gcp)),\n _allmaps\n };\n return {\n id: georeferencedMap.id,\n type: 'Annotation',\n '@context': generateContext(),\n ...generateDates(georeferencedMap),\n motivation: 'georeferencing',\n target,\n body\n };\n}\n/**\n * Generates a Georeference Annotation from a single Georeferenced Map or\n * an Annotation Page containing multiple Georeference Annotations from an array of Georeferenced Maps.\n * @param mapOrMaps - Single Georeferenced Map, or an array of Georeferenced Maps\n * @returns Georeference Annotation or Annotation Page\n * @example\n * ```js\n * import fs from 'fs'\n * import { generateAnnotation } from '@allmaps/annotation'\n *\n * const map = JSON.parse(fs.readFileSync('./examples/map.example.json'))\n * const annotation = generateAnnotation(map)\n * ```\n */\nexport function generateAnnotation(mapOrMaps) {\n if (isGeoreferencedMapsBeforeParse(mapOrMaps)) {\n // Seperate .parse for different versions for better Zod errors\n let parsedGeoreferencedMaps;\n if (isGeoreferencedMap2BeforeParse(mapOrMaps[0])) {\n parsedGeoreferencedMaps = GeoreferencedMaps2Schema.parse(mapOrMaps);\n }\n else {\n parsedGeoreferencedMaps = GeoreferencedMaps1Schema.parse(mapOrMaps);\n }\n const annotations = parsedGeoreferencedMaps.map((parsedGeoreferencedMap) => generateGeoreferenceAnnotation(parsedGeoreferencedMap));\n return {\n type: 'AnnotationPage',\n '@context': 'http://www.w3.org/ns/anno.jsonld',\n items: annotations\n };\n }\n else {\n // Seperate .parse for different versions for better Zod errors\n let parsedGeoreferencedMap;\n if (isGeoreferencedMap2BeforeParse(mapOrMaps)) {\n parsedGeoreferencedMap = GeoreferencedMap2Schema.parse(mapOrMaps);\n }\n else {\n parsedGeoreferencedMap = GeoreferencedMap1Schema.parse(mapOrMaps);\n }\n return generateGeoreferenceAnnotation(parsedGeoreferencedMap);\n }\n}\n"],"names":["generateSvgSelector","georeferencedMap","width","height","resourceMask","isGeoreferencedMap2","svg","point","generateSource","id","type","partOf","provider","generateDates","generateContext","generateFeature","gcp","resourceCoords","geoCoords","generateGeoreferenceAnnotation","target","resourceCrs","_allmaps","body","generateAnnotation","mapOrMaps","isGeoreferencedMapsBeforeParse","parsedGeoreferencedMaps","isGeoreferencedMap2BeforeParse","GeoreferencedMaps2Schema","GeoreferencedMaps1Schema","parsedGeoreferencedMap","GeoreferencedMap2Schema","GeoreferencedMap1Schema"],"mappings":"+OAGA,SAASA,EAAoBC,EAAkB,CAC3C,IAAIC,EACAC,EACAC,EACAC,EAAAA,oBAAoBJ,CAAgB,GACpCC,EAAQD,EAAiB,SAAS,MAClCE,EAASF,EAAiB,SAAS,OACnCG,EAAeH,EAAiB,eAGhCC,EAAQD,EAAiB,MAAM,MAC/BE,EAASF,EAAiB,MAAM,OAChCG,EAAeH,EAAiB,WAEpC,IAAIK,EAAM,QACV,OAAIJ,GAASC,IACTG,EAAM,eAAeJ,CAAK,aAAaC,CAAM,MAE1C,CACH,KAAM,cACN,MAAO,GAAGG,CAAG,oBAAoBF,EAC5B,IAAKG,GAAUA,EAAM,KAAK,GAAG,CAAC,EAC9B,KAAK,GAAG,CAAC,YAAA,CAEtB,CACA,SAASC,EAAeP,EAAkB,CACtC,IAAIQ,EACAC,EACAR,EACAC,EACAQ,EACAC,EACJ,GAAIP,EAAAA,oBAAoBJ,CAAgB,EAAG,CACvC,GAAIA,EAAiB,SAAS,OAAS,SAUnC,MARe,CACX,GAAIA,EAAiB,SAAS,GAC9B,KAAMA,EAAiB,SAAS,KAChC,OAAQA,EAAiB,SAAS,OAClC,MAAOA,EAAiB,SAAS,MACjC,OAAQA,EAAiB,SAAS,OAClC,SAAUA,EAAiB,SAAS,QAAA,EAKxCQ,EAAKR,EAAiB,SAAS,GAC/BS,EAAOT,EAAiB,SAAS,KACjCC,EAAQD,EAAiB,SAAS,MAClCE,EAASF,EAAiB,SAAS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SAASC,EAAmBC,EAAW,CAC1C,GAAIC,EAAAA,+BAA+BD,CAAS,EAAG,CAE3C,IAAIE,EACJ,OAAIC,iCAA+BH,EAAU,CAAC,CAAC,EAC3CE,EAA0BE,EAAAA,wBAAyB,MAAMJ,CAAS,EAGlEE,EAA0BG,EAAAA,wBAAyB,MAAML,CAAS,EAG/D,CACH,KAAM,iBACN,WAAY,mCACZ,MAJgBE,EAAwB,IAAKI,GAA2BZ,EAA+BY,CAAsB,CAAC,CAIvH,CAEf,KACK,CAED,IAAIA,EACJ,OAAIH,EAAAA,+BAA+BH,CAAS,EACxCM,EAAyBC,EAAAA,uBAAwB,MAAMP,CAAS,EAGhEM,EAAyBE,EAAAA,uBAAwB,MAAMR,CAAS,EAE7DN,EAA+BY,CAAsB,CAChE,CACJ","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs209.js"),e=require("./index.cjs416.js"),a=e.object({resource:o.PointSchema,geo:o.PointSchema}),t=e.object({id:e.string().url(),height:e.number().positive().optional().catch(void 0),width:e.number().positive().optional().catch(void 0),type:o.ResourceTypeSchema,partOf:o.PartOfSchema.optional(),provider:o.ProviderSchema.optional()}),r=e.object({"@context":e.literal("https://schemas.allmaps.org/map/2/context.json").optional(),type:e.literal("GeoreferencedMap"),id:e.string().optional(),created:e.string().datetime().optional(),modified:e.string().datetime().optional(),resource:t,gcps:a.array(),resourceMask:o.ResourceMaskSchema,transformation:o.TransformationSchema.optional(),resourceCrs:o.ProjectionSchema.optional(),_allmaps:e.unknown().optional()}),c=e.array(r);exports.GCPSchema=a;exports.GeoreferencedMapSchema=r;exports.GeoreferencedMapsSchema=c;exports.ResourceSchema=t;
|
|
2
|
+
//# sourceMappingURL=index.cjs413.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs413.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/georeferenced-map/georeferenced-map.2.js"],"sourcesContent":["import { z } from 'zod';\nimport { PointSchema, ResourceTypeSchema, PartOfSchema, ResourceMaskSchema, TransformationSchema, ProjectionSchema, ProviderSchema } from '../shared.js';\nexport const GCPSchema = z.object({\n resource: PointSchema,\n geo: PointSchema\n});\nexport const ResourceSchema = z.object({\n id: z.string().url(),\n height: z.number().positive().optional().catch(undefined),\n width: z.number().positive().optional().catch(undefined),\n type: ResourceTypeSchema,\n partOf: PartOfSchema.optional(),\n provider: ProviderSchema.optional()\n});\nexport const GeoreferencedMapSchema = z.object({\n '@context': z\n .literal('https://schemas.allmaps.org/map/2/context.json')\n .optional(),\n type: z.literal('GeoreferencedMap'),\n id: z.string().optional(),\n created: z.string().datetime().optional(),\n modified: z.string().datetime().optional(),\n resource: ResourceSchema,\n gcps: GCPSchema.array(),\n resourceMask: ResourceMaskSchema,\n transformation: TransformationSchema.optional(),\n resourceCrs: ProjectionSchema.optional(),\n // TODO: accept all keys that start with underscore and pass them?\n // TODO: define proper schema for _allmaps\n _allmaps: z.unknown().optional()\n});\nexport const GeoreferencedMapsSchema = z.array(GeoreferencedMapSchema);\n"],"names":["GCPSchema","z.object","PointSchema","ResourceSchema","z.string","z.number","ResourceTypeSchema","PartOfSchema","ProviderSchema","GeoreferencedMapSchema","z.literal","ResourceMaskSchema","TransformationSchema","ProjectionSchema","z.unknown","GeoreferencedMapsSchema","z.array"],"mappings":"oJAEaA,EAAYC,EAAAA,OAAS,CAC9B,SAAUC,EAAAA,YACV,IAAKA,EAAAA,WACT,CAAC,EACYC,EAAiBF,EAAAA,OAAS,CACnC,GAAIG,EAAAA,OAAE,EAAS,IAAA,EACf,OAAQC,EAAAA,OAAE,EAAS,WAAW,SAAA,EAAW,MAAM,MAAS,EACxD,MAAOA,EAAAA,OAAE,EAAS,WAAW,SAAA,EAAW,MAAM,MAAS,EACvD,KAAMC,EAAAA,mBACN,OAAQC,EAAAA,aAAa,SAAA,EACrB,SAAUC,EAAAA,eAAe,SAAA,CAC7B,CAAC,EACYC,EAAyBR,EAAAA,OAAS,CAC3C,WAAYS,EAAAA,QACC,gDAAgD,EACxD,SAAA,EACL,KAAMA,EAAAA,QAAU,kBAAkB,EAClC,GAAIN,EAAAA,OAAE,EAAS,SAAA,EACf,QAASA,EAAAA,OAAE,EAAS,SAAA,EAAW,SAAA,EAC/B,SAAUA,EAAAA,OAAE,EAAS,SAAA,EAAW,SAAA,EAChC,SAAUD,EACV,KAAMH,EAAU,MAAA,EAChB,aAAcW,EAAAA,mBACd,eAAgBC,EAAAA,qBAAqB,SAAA,EACrC,YAAaC,EAAAA,iBAAiB,SAAA,EAG9B,SAAUC,EAAAA,QAAE,EAAU,SAAA,CAC1B,CAAC,EACYC,EAA0BC,EAAAA,MAAQP,CAAsB","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs209.js"),e=require("./index.cjs416.js"),r=e.object({image:a.PointSchema,world:a.PointSchema}),c=e.object({uri:e.string().url(),width:e.number(),height:e.number(),type:a.ImageServiceSchema}),o=e.object({id:e.string().optional(),version:e.number().min(1).max(1).default(1),image:c,gcps:r.array(),pixelMask:a.ResourceMaskSchema,transformation:a.TransformationSchema.optional()}),t=e.array(o);exports.GCPSchema=r;exports.GeoreferencedMapSchema=o;exports.GeoreferencedMapsSchema=t;exports.ImageSchema=c;
|
|
2
|
+
//# sourceMappingURL=index.cjs414.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs414.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/georeferenced-map/georeferenced-map.1.js"],"sourcesContent":["import { z } from 'zod';\nimport { PointSchema, ImageServiceSchema, ResourceMaskSchema, TransformationSchema } from '../shared.js';\nexport const GCPSchema = z.object({\n image: PointSchema,\n world: PointSchema\n});\nexport const ImageSchema = z.object({\n uri: z.string().url(),\n width: z.number(),\n height: z.number(),\n type: ImageServiceSchema\n});\nexport const GeoreferencedMapSchema = z.object({\n id: z.string().optional(),\n version: z.number().min(1).max(1).default(1),\n image: ImageSchema,\n gcps: GCPSchema.array(),\n pixelMask: ResourceMaskSchema,\n transformation: TransformationSchema.optional()\n});\nexport const GeoreferencedMapsSchema = z.array(GeoreferencedMapSchema);\n"],"names":["GCPSchema","z.object","PointSchema","ImageSchema","z.string","z.number","ImageServiceSchema","GeoreferencedMapSchema","ResourceMaskSchema","TransformationSchema","GeoreferencedMapsSchema","z.array"],"mappings":"oJAEaA,EAAYC,EAAAA,OAAS,CAC9B,MAAOC,EAAAA,YACP,MAAOA,EAAAA,WACX,CAAC,EACYC,EAAcF,EAAAA,OAAS,CAChC,IAAKG,EAAAA,OAAE,EAAS,IAAA,EAChB,MAAOC,EAAAA,OAAE,EACT,OAAQA,EAAAA,OAAE,EACV,KAAMC,EAAAA,kBACV,CAAC,EACYC,EAAyBN,EAAAA,OAAS,CAC3C,GAAIG,EAAAA,OAAE,EAAS,SAAA,EACf,QAASC,EAAAA,SAAW,IAAI,CAAC,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,EAC3C,MAAOF,EACP,KAAMH,EAAU,MAAA,EAChB,UAAWQ,EAAAA,mBACX,eAAgBC,EAAAA,qBAAqB,SAAA,CACzC,CAAC,EACYC,EAA0BC,EAAAA,MAAQJ,CAAsB","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs292.js"),n=require("./index.cjs412.js"),o=require("./index.cjs409.js");function r(e){return o.isGeoreferencedMap2(e)?e:t.parseAnnotation(n.generateAnnotation(e))[0]}function a(e){return e.map(r)}exports.toGeoreferencedMap2=r;exports.toGeoreferencedMaps2=a;
|
|
2
|
+
//# sourceMappingURL=index.cjs415.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs415.js","sources":["../../../node_modules/@allmaps/annotation/dist/convert.js"],"sourcesContent":["import { parseAnnotation } from './parser.js';\nimport { generateAnnotation } from './generator.js';\nimport { isAnnotation1, isGeoreferencedMap2 } from './guards.js';\nexport function toAnnotation1(annotation) {\n if (isAnnotation1(annotation)) {\n return annotation;\n }\n else {\n const convertedAnnotation = generateAnnotation(parseAnnotation(annotation));\n if ('items' in convertedAnnotation) {\n return convertedAnnotation.items[0];\n }\n else {\n return convertedAnnotation;\n }\n }\n}\nexport function toAnnotationPage1(annotationPage) {\n return {\n ...annotationPage,\n items: annotationPage.items.map(toAnnotation1)\n };\n}\nexport function toGeoreferencedMap2(georeferencedMap) {\n if (isGeoreferencedMap2(georeferencedMap)) {\n return georeferencedMap;\n }\n else {\n const convertedMap = parseAnnotation(generateAnnotation(georeferencedMap));\n return convertedMap[0];\n }\n}\nexport function toGeoreferencedMaps2(georeferencedMap) {\n return georeferencedMap.map(toGeoreferencedMap2);\n}\n"],"names":["toGeoreferencedMap2","georeferencedMap","isGeoreferencedMap2","parseAnnotation","generateAnnotation","toGeoreferencedMaps2"],"mappings":"mLAuBO,SAASA,EAAoBC,EAAkB,CAClD,OAAIC,EAAAA,oBAAoBD,CAAgB,EAC7BA,EAGcE,EAAAA,gBAAgBC,EAAAA,mBAAmBH,CAAgB,CAAC,EACrD,CAAC,CAE7B,CACO,SAASI,EAAqBJ,EAAkB,CACnD,OAAOA,EAAiB,IAAID,CAAmB,CACnD","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs612.js"),b=require("./index.cjs613.js"),$=require("./index.cjs614.js"),p=require("./index.cjs615.js"),c=require("./index.cjs616.js"),a=require("./index.cjs617.js"),i=require("./index.cjs618.js"),u=require("./index.cjs619.js"),f=require("./index.cjs620.js"),j=new WeakMap;function _(e,r,o){const t=Object.getPrototypeOf(e);let n=j.get(t);if(n||(n=new Set,j.set(t,n)),!n.has(r)){n.add(r);for(const l in o){const h=o[l];Object.defineProperty(t,l,{configurable:!0,enumerable:!1,get(){const y=h.bind(this);return Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:y}),y},set(y){Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:y})}})}}}const s=a.$constructor("ZodType",(e,r)=>(u.$ZodType.init(e,r),Object.assign(e["~standard"],{jsonSchema:{input:b.createStandardJSONSchemaMethod(e,"input"),output:b.createStandardJSONSchemaMethod(e,"output")}}),e.toJSONSchema=b.createToJSONSchemaMethod(e,{}),e.def=r,e.type=r.type,Object.defineProperty(e,"_def",{value:r}),e.parse=(o,t)=>p.parse(e,o,t,{callee:e.parse}),e.safeParse=(o,t)=>p.safeParse(e,o,t),e.parseAsync=async(o,t)=>p.parseAsync(e,o,t,{callee:e.parseAsync}),e.safeParseAsync=async(o,t)=>p.safeParseAsync(e,o,t),e.spa=e.safeParseAsync,e.encode=(o,t)=>p.encode(e,o,t),e.decode=(o,t)=>p.decode(e,o,t),e.encodeAsync=async(o,t)=>p.encodeAsync(e,o,t),e.decodeAsync=async(o,t)=>p.decodeAsync(e,o,t),e.safeEncode=(o,t)=>p.safeEncode(e,o,t),e.safeDecode=(o,t)=>p.safeDecode(e,o,t),e.safeEncodeAsync=async(o,t)=>p.safeEncodeAsync(e,o,t),e.safeDecodeAsync=async(o,t)=>p.safeDecodeAsync(e,o,t),_(e,"ZodType",{check(...o){const t=this.def;return this.clone(i.mergeDefs(t,{checks:[...t.checks??[],...o.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...o){return this.check(...o)},clone(o,t){return i.clone(this,o,t)},brand(){return this},register(o,t){return o.add(this,t),this},refine(o,t){return this.check(De(o,t))},superRefine(o,t){return this.check(Ue(o,t))},overwrite(o){return this.check(c._overwrite(o))},optional(){return w(this)},exactOptional(){return $e(this)},nullable(){return N(this)},nullish(){return w(N(this))},nonoptional(o){return Ie(this,o)},array(){return ue(this)},or(o){return ie([this,o])},and(o){return le(this,o)},transform(o){return O(this,_e(o))},default(o){return Se(this,o)},prefault(o){return ge(this,o)},catch(o){return we(this,o)},pipe(o){return O(this,o)},readonly(){return ve(this)},describe(o){const t=this.clone();return f.globalRegistry.add(t,{description:o}),t},meta(...o){if(o.length===0)return f.globalRegistry.get(this);const t=this.clone();return f.globalRegistry.add(t,o[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(o){return o(this)}}),Object.defineProperty(e,"description",{get(){return f.globalRegistry.get(e)?.description},configurable:!0}),e)),v=a.$constructor("_ZodString",(e,r)=>{u.$ZodString.init(e,r),s.init(e,r),e._zod.processJSONSchema=(t,n,l)=>d.stringProcessor(e,t,n);const o=e._zod.bag;e.format=o.format??null,e.minLength=o.minimum??null,e.maxLength=o.maximum??null,_(e,"_ZodString",{regex(...t){return this.check(c._regex(...t))},includes(...t){return this.check(c._includes(...t))},startsWith(...t){return this.check(c._startsWith(...t))},endsWith(...t){return this.check(c._endsWith(...t))},min(...t){return this.check(c._minLength(...t))},max(...t){return this.check(c._maxLength(...t))},length(...t){return this.check(c._length(...t))},nonempty(...t){return this.check(c._minLength(1,...t))},lowercase(t){return this.check(c._lowercase(t))},uppercase(t){return this.check(c._uppercase(t))},trim(){return this.check(c._trim())},normalize(...t){return this.check(c._normalize(...t))},toLowerCase(){return this.check(c._toLowerCase())},toUpperCase(){return this.check(c._toUpperCase())},slugify(){return this.check(c._slugify())}})}),x=a.$constructor("ZodString",(e,r)=>{u.$ZodString.init(e,r),v.init(e,r),e.email=o=>e.check(c._email(C,o)),e.url=o=>e.check(c._url(R,o)),e.jwt=o=>e.check(c._jwt(ee,o)),e.emoji=o=>e.check(c._emoji(L,o)),e.guid=o=>e.check(c._guid(g,o)),e.uuid=o=>e.check(c._uuid(Z,o)),e.uuidv4=o=>e.check(c._uuidv4(Z,o)),e.uuidv6=o=>e.check(c._uuidv6(Z,o)),e.uuidv7=o=>e.check(c._uuidv7(Z,o)),e.nanoid=o=>e.check(c._nanoid(A,o)),e.guid=o=>e.check(c._guid(g,o)),e.cuid=o=>e.check(c._cuid(F,o)),e.cuid2=o=>e.check(c._cuid2(B,o)),e.ulid=o=>e.check(c._ulid(q,o)),e.base64=o=>e.check(c._base64(V,o)),e.base64url=o=>e.check(c._base64url(H,o)),e.xid=o=>e.check(c._xid(M,o)),e.ksuid=o=>e.check(c._ksuid(W,o)),e.ipv4=o=>e.check(c._ipv4(G,o)),e.ipv6=o=>e.check(c._ipv6(K,o)),e.cidrv4=o=>e.check(c._cidrv4(X,o)),e.cidrv6=o=>e.check(c._cidrv6(Y,o)),e.e164=o=>e.check(c._e164(Q,o)),e.datetime=o=>e.check($.datetime(o)),e.date=o=>e.check($.date(o)),e.time=o=>e.check($.time(o)),e.duration=o=>e.check($.duration(o))});function J(e){return c._string(x,e)}const m=a.$constructor("ZodStringFormat",(e,r)=>{u.$ZodStringFormat.init(e,r),v.init(e,r)}),C=a.$constructor("ZodEmail",(e,r)=>{u.$ZodEmail.init(e,r),m.init(e,r)}),g=a.$constructor("ZodGUID",(e,r)=>{u.$ZodGUID.init(e,r),m.init(e,r)}),Z=a.$constructor("ZodUUID",(e,r)=>{u.$ZodUUID.init(e,r),m.init(e,r)}),R=a.$constructor("ZodURL",(e,r)=>{u.$ZodURL.init(e,r),m.init(e,r)}),L=a.$constructor("ZodEmoji",(e,r)=>{u.$ZodEmoji.init(e,r),m.init(e,r)}),A=a.$constructor("ZodNanoID",(e,r)=>{u.$ZodNanoID.init(e,r),m.init(e,r)}),F=a.$constructor("ZodCUID",(e,r)=>{u.$ZodCUID.init(e,r),m.init(e,r)}),B=a.$constructor("ZodCUID2",(e,r)=>{u.$ZodCUID2.init(e,r),m.init(e,r)}),q=a.$constructor("ZodULID",(e,r)=>{u.$ZodULID.init(e,r),m.init(e,r)}),M=a.$constructor("ZodXID",(e,r)=>{u.$ZodXID.init(e,r),m.init(e,r)}),W=a.$constructor("ZodKSUID",(e,r)=>{u.$ZodKSUID.init(e,r),m.init(e,r)}),G=a.$constructor("ZodIPv4",(e,r)=>{u.$ZodIPv4.init(e,r),m.init(e,r)}),K=a.$constructor("ZodIPv6",(e,r)=>{u.$ZodIPv6.init(e,r),m.init(e,r)}),X=a.$constructor("ZodCIDRv4",(e,r)=>{u.$ZodCIDRv4.init(e,r),m.init(e,r)}),Y=a.$constructor("ZodCIDRv6",(e,r)=>{u.$ZodCIDRv6.init(e,r),m.init(e,r)}),V=a.$constructor("ZodBase64",(e,r)=>{u.$ZodBase64.init(e,r),m.init(e,r)}),H=a.$constructor("ZodBase64URL",(e,r)=>{u.$ZodBase64URL.init(e,r),m.init(e,r)}),Q=a.$constructor("ZodE164",(e,r)=>{u.$ZodE164.init(e,r),m.init(e,r)}),ee=a.$constructor("ZodJWT",(e,r)=>{u.$ZodJWT.init(e,r),m.init(e,r)}),z=a.$constructor("ZodNumber",(e,r)=>{u.$ZodNumber.init(e,r),s.init(e,r),e._zod.processJSONSchema=(t,n,l)=>d.numberProcessor(e,t,n),_(e,"ZodNumber",{gt(t,n){return this.check(c._gt(t,n))},gte(t,n){return this.check(c._gte(t,n))},min(t,n){return this.check(c._gte(t,n))},lt(t,n){return this.check(c._lt(t,n))},lte(t,n){return this.check(c._lte(t,n))},max(t,n){return this.check(c._lte(t,n))},int(t){return this.check(I(t))},safe(t){return this.check(I(t))},positive(t){return this.check(c._gt(0,t))},nonnegative(t){return this.check(c._gte(0,t))},negative(t){return this.check(c._lt(0,t))},nonpositive(t){return this.check(c._lte(0,t))},multipleOf(t,n){return this.check(c._multipleOf(t,n))},step(t,n){return this.check(c._multipleOf(t,n))},finite(){return this}});const o=e._zod.bag;e.minValue=Math.max(o.minimum??Number.NEGATIVE_INFINITY,o.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(o.maximum??Number.POSITIVE_INFINITY,o.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(o.format??"").includes("int")||Number.isSafeInteger(o.multipleOf??.5),e.isFinite=!0,e.format=o.format??null});function Ee(e){return c._number(z,e)}const oe=a.$constructor("ZodNumberFormat",(e,r)=>{u.$ZodNumberFormat.init(e,r),z.init(e,r)});function I(e){return c._int(oe,e)}const re=a.$constructor("ZodBoolean",(e,r)=>{u.$ZodBoolean.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.booleanProcessor(e,o,t)});function Te(e){return c._boolean(re,e)}const te=a.$constructor("ZodUnknown",(e,r)=>{u.$ZodUnknown.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.unknownProcessor()});function k(){return c._unknown(te)}const ne=a.$constructor("ZodNever",(e,r)=>{u.$ZodNever.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.neverProcessor(e,o,t)});function ce(e){return c._never(ne,e)}const je=a.$constructor("ZodDate",(e,r)=>{u.$ZodDate.init(e,r),s.init(e,r),e._zod.processJSONSchema=(t,n,l)=>d.dateProcessor(e,t),e.min=(t,n)=>e.check(c._gte(t,n)),e.max=(t,n)=>e.check(c._lte(t,n));const o=e._zod.bag;e.minDate=o.minimum?new Date(o.minimum):null,e.maxDate=o.maximum?new Date(o.maximum):null}),ae=a.$constructor("ZodArray",(e,r)=>{u.$ZodArray.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.arrayProcessor(e,o,t,n),e.element=r.element,_(e,"ZodArray",{min(o,t){return this.check(c._minLength(o,t))},nonempty(o){return this.check(c._minLength(1,o))},max(o,t){return this.check(c._maxLength(o,t))},length(o,t){return this.check(c._length(o,t))},unwrap(){return this.element}})});function ue(e,r){return c._array(ae,e,r)}const D=a.$constructor("ZodObject",(e,r)=>{u.$ZodObjectJIT.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.objectProcessor(e,o,t,n),i.defineLazy(e,"shape",()=>r.shape),_(e,"ZodObject",{keyof(){return me(Object.keys(this._zod.def.shape))},catchall(o){return this.clone({...this._zod.def,catchall:o})},passthrough(){return this.clone({...this._zod.def,catchall:k()})},loose(){return this.clone({...this._zod.def,catchall:k()})},strict(){return this.clone({...this._zod.def,catchall:ce()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(o){return i.extend(this,o)},safeExtend(o){return i.safeExtend(this,o)},merge(o){return i.merge(this,o)},pick(o){return i.pick(this,o)},omit(o){return i.omit(this,o)},partial(...o){return i.partial(E,this,o[0])},required(...o){return i.required(T,this,o[0])}})});function xe(e,r){const o={type:"object",shape:e??{},...i.normalizeParams(r)};return new D(o)}function Je(e,r){return new D({type:"object",shape:e,catchall:k(),...i.normalizeParams(r)})}const U=a.$constructor("ZodUnion",(e,r)=>{u.$ZodUnion.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.unionProcessor(e,o,t,n),e.options=r.options});function ie(e,r){return new U({type:"union",options:e,...i.normalizeParams(r)})}const se=a.$constructor("ZodDiscriminatedUnion",(e,r)=>{U.init(e,r),u.$ZodDiscriminatedUnion.init(e,r)});function Ce(e,r,o){return new se({type:"union",options:r,discriminator:e,...i.normalizeParams(o)})}const de=a.$constructor("ZodIntersection",(e,r)=>{u.$ZodIntersection.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.intersectionProcessor(e,o,t,n)});function le(e,r){return new de({type:"intersection",left:e,right:r})}const he=a.$constructor("ZodTuple",(e,r)=>{u.$ZodTuple.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.tupleProcessor(e,o,t,n),e.rest=o=>e.clone({...e._zod.def,rest:o})});function Re(e,r,o){const t=r instanceof u.$ZodType,n=t?o:r,l=t?r:null;return new he({type:"tuple",items:e,rest:l,...i.normalizeParams(n)})}const P=a.$constructor("ZodRecord",(e,r)=>{u.$ZodRecord.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.recordProcessor(e,o,t,n),e.keyType=r.keyType,e.valueType=r.valueType});function Le(e,r,o){return!r||!r._zod?new P({type:"record",keyType:J(),valueType:e,...i.normalizeParams(r)}):new P({type:"record",keyType:e,valueType:r,...i.normalizeParams(o)})}const S=a.$constructor("ZodEnum",(e,r)=>{u.$ZodEnum.init(e,r),s.init(e,r),e._zod.processJSONSchema=(t,n,l)=>d.enumProcessor(e,t,n),e.enum=r.entries,e.options=Object.values(r.entries);const o=new Set(Object.keys(r.entries));e.extract=(t,n)=>{const l={};for(const h of t)if(o.has(h))l[h]=r.entries[h];else throw new Error(`Key ${h} not found in enum`);return new S({...r,checks:[],...i.normalizeParams(n),entries:l})},e.exclude=(t,n)=>{const l={...r.entries};for(const h of t)if(o.has(h))delete l[h];else throw new Error(`Key ${h} not found in enum`);return new S({...r,checks:[],...i.normalizeParams(n),entries:l})}});function me(e,r){const o=Array.isArray(e)?Object.fromEntries(e.map(t=>[t,t])):e;return new S({type:"enum",entries:o,...i.normalizeParams(r)})}const pe=a.$constructor("ZodLiteral",(e,r)=>{u.$ZodLiteral.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.literalProcessor(e,o,t),e.values=new Set(r.values),Object.defineProperty(e,"value",{get(){if(r.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function Ae(e,r){return new pe({type:"literal",values:Array.isArray(e)?e:[e],...i.normalizeParams(r)})}const Ze=a.$constructor("ZodTransform",(e,r)=>{u.$ZodTransform.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.transformProcessor(e,o),e._zod.parse=(o,t)=>{if(t.direction==="backward")throw new a.$ZodEncodeError(e.constructor.name);o.addIssue=l=>{if(typeof l=="string")o.issues.push(i.issue(l,o.value,r));else{const h=l;h.fatal&&(h.continue=!1),h.code??(h.code="custom"),h.input??(h.input=o.value),h.inst??(h.inst=e),o.issues.push(i.issue(h))}};const n=r.transform(o.value,o);return n instanceof Promise?n.then(l=>(o.value=l,o.fallback=!0,o)):(o.value=n,o.fallback=!0,o)}});function _e(e){return new Ze({type:"transform",transform:e})}const E=a.$constructor("ZodOptional",(e,r)=>{u.$ZodOptional.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.optionalProcessor(e,o,t,n),e.unwrap=()=>e._zod.def.innerType});function w(e){return new E({type:"optional",innerType:e})}const ye=a.$constructor("ZodExactOptional",(e,r)=>{u.$ZodExactOptional.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.optionalProcessor(e,o,t,n),e.unwrap=()=>e._zod.def.innerType});function $e(e){return new ye({type:"optional",innerType:e})}const fe=a.$constructor("ZodNullable",(e,r)=>{u.$ZodNullable.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.nullableProcessor(e,o,t,n),e.unwrap=()=>e._zod.def.innerType});function N(e){return new fe({type:"nullable",innerType:e})}const ke=a.$constructor("ZodDefault",(e,r)=>{u.$ZodDefault.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.defaultProcessor(e,o,t,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Se(e,r){return new ke({type:"default",innerType:e,get defaultValue(){return typeof r=="function"?r():i.shallowClone(r)}})}const be=a.$constructor("ZodPrefault",(e,r)=>{u.$ZodPrefault.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.prefaultProcessor(e,o,t,n),e.unwrap=()=>e._zod.def.innerType});function ge(e,r){return new be({type:"prefault",innerType:e,get defaultValue(){return typeof r=="function"?r():i.shallowClone(r)}})}const T=a.$constructor("ZodNonOptional",(e,r)=>{u.$ZodNonOptional.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.nonoptionalProcessor(e,o,t,n),e.unwrap=()=>e._zod.def.innerType});function Ie(e,r){return new T({type:"nonoptional",innerType:e,...i.normalizeParams(r)})}const Pe=a.$constructor("ZodCatch",(e,r)=>{u.$ZodCatch.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.catchProcessor(e,o,t,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function we(e,r){return new Pe({type:"catch",innerType:e,catchValue:typeof r=="function"?r:()=>r})}const Ne=a.$constructor("ZodPipe",(e,r)=>{u.$ZodPipe.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.pipeProcessor(e,o,t,n),e.in=r.in,e.out=r.out});function O(e,r){return new Ne({type:"pipe",in:e,out:r})}const Oe=a.$constructor("ZodReadonly",(e,r)=>{u.$ZodReadonly.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.readonlyProcessor(e,o,t,n),e.unwrap=()=>e._zod.def.innerType});function ve(e){return new Oe({type:"readonly",innerType:e})}const ze=a.$constructor("ZodCustom",(e,r)=>{u.$ZodCustom.init(e,r),s.init(e,r),e._zod.processJSONSchema=(o,t,n)=>d.customProcessor(e,o)});function De(e,r={}){return c._refine(ze,e,r)}function Ue(e,r){return c._superRefine(e,r)}exports.ZodArray=ae;exports.ZodBase64=V;exports.ZodBase64URL=H;exports.ZodBoolean=re;exports.ZodCIDRv4=X;exports.ZodCIDRv6=Y;exports.ZodCUID=F;exports.ZodCUID2=B;exports.ZodCatch=Pe;exports.ZodCustom=ze;exports.ZodDate=je;exports.ZodDefault=ke;exports.ZodDiscriminatedUnion=se;exports.ZodE164=Q;exports.ZodEmail=C;exports.ZodEmoji=L;exports.ZodEnum=S;exports.ZodExactOptional=ye;exports.ZodGUID=g;exports.ZodIPv4=G;exports.ZodIPv6=K;exports.ZodIntersection=de;exports.ZodJWT=ee;exports.ZodKSUID=W;exports.ZodLiteral=pe;exports.ZodNanoID=A;exports.ZodNever=ne;exports.ZodNonOptional=T;exports.ZodNullable=fe;exports.ZodNumber=z;exports.ZodNumberFormat=oe;exports.ZodObject=D;exports.ZodOptional=E;exports.ZodPipe=Ne;exports.ZodPrefault=be;exports.ZodReadonly=Oe;exports.ZodRecord=P;exports.ZodString=x;exports.ZodStringFormat=m;exports.ZodTransform=Ze;exports.ZodTuple=he;exports.ZodType=s;exports.ZodULID=q;exports.ZodURL=R;exports.ZodUUID=Z;exports.ZodUnion=U;exports.ZodUnknown=te;exports.ZodXID=M;exports._ZodString=v;exports._default=Se;exports.array=ue;exports.boolean=Te;exports.catch=we;exports.discriminatedUnion=Ce;exports.enum=me;exports.exactOptional=$e;exports.int=I;exports.intersection=le;exports.literal=Ae;exports.looseObject=Je;exports.never=ce;exports.nonoptional=Ie;exports.nullable=N;exports.number=Ee;exports.object=xe;exports.optional=w;exports.pipe=O;exports.prefault=ge;exports.readonly=ve;exports.record=Le;exports.refine=De;exports.string=J;exports.superRefine=Ue;exports.transform=_e;exports.tuple=Re;exports.union=ie;exports.unknown=k;
|
|
2
|
+
//# sourceMappingURL=index.cjs416.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs416.js","sources":["../../../node_modules/zod/v4/classic/schemas.js"],"sourcesContent":["import * as core from \"../core/index.js\";\nimport { util } from \"../core/index.js\";\nimport * as processors from \"../core/json-schema-processors.js\";\nimport { createStandardJSONSchemaMethod, createToJSONSchemaMethod } from \"../core/to-json-schema.js\";\nimport * as checks from \"./checks.js\";\nimport * as iso from \"./iso.js\";\nimport * as parse from \"./parse.js\";\n// Lazy-bind builder methods.\n//\n// Builder methods (`.optional`, `.array`, `.refine`, ...) live as\n// non-enumerable getters on each concrete schema constructor's\n// prototype. On first access from an instance the getter allocates\n// `fn.bind(this)` and caches it as an own property on that instance,\n// so detached usage (`const m = schema.optional; m()`) still works\n// and the per-instance allocation only happens for methods actually\n// touched.\n//\n// One install per (prototype, group), memoized by `_installedGroups`.\nconst _installedGroups = /* @__PURE__ */ new WeakMap();\nfunction _installLazyMethods(inst, group, methods) {\n const proto = Object.getPrototypeOf(inst);\n let installed = _installedGroups.get(proto);\n if (!installed) {\n installed = new Set();\n _installedGroups.set(proto, installed);\n }\n if (installed.has(group))\n return;\n installed.add(group);\n for (const key in methods) {\n const fn = methods[key];\n Object.defineProperty(proto, key, {\n configurable: true,\n enumerable: false,\n get() {\n const bound = fn.bind(this);\n Object.defineProperty(this, key, {\n configurable: true,\n writable: true,\n enumerable: true,\n value: bound,\n });\n return bound;\n },\n set(v) {\n Object.defineProperty(this, key, {\n configurable: true,\n writable: true,\n enumerable: true,\n value: v,\n });\n },\n });\n }\n}\nexport const ZodType = /*@__PURE__*/ core.$constructor(\"ZodType\", (inst, def) => {\n core.$ZodType.init(inst, def);\n Object.assign(inst[\"~standard\"], {\n jsonSchema: {\n input: createStandardJSONSchemaMethod(inst, \"input\"),\n output: createStandardJSONSchemaMethod(inst, \"output\"),\n },\n });\n inst.toJSONSchema = createToJSONSchemaMethod(inst, {});\n inst.def = def;\n inst.type = def.type;\n Object.defineProperty(inst, \"_def\", { value: def });\n // Parse-family is intentionally kept as per-instance closures: these are\n // the hot path AND the most-detached methods (`arr.map(schema.parse)`,\n // `const { parse } = schema`, etc.). Eager closures here mean callers pay\n // ~12 closure allocations per schema but get monomorphic call sites and\n // detached usage that \"just works\".\n inst.parse = (data, params) => parse.parse(inst, data, params, { callee: inst.parse });\n inst.safeParse = (data, params) => parse.safeParse(inst, data, params);\n inst.parseAsync = async (data, params) => parse.parseAsync(inst, data, params, { callee: inst.parseAsync });\n inst.safeParseAsync = async (data, params) => parse.safeParseAsync(inst, data, params);\n inst.spa = inst.safeParseAsync;\n inst.encode = (data, params) => parse.encode(inst, data, params);\n inst.decode = (data, params) => parse.decode(inst, data, params);\n inst.encodeAsync = async (data, params) => parse.encodeAsync(inst, data, params);\n inst.decodeAsync = async (data, params) => parse.decodeAsync(inst, data, params);\n inst.safeEncode = (data, params) => parse.safeEncode(inst, data, params);\n inst.safeDecode = (data, params) => parse.safeDecode(inst, data, params);\n inst.safeEncodeAsync = async (data, params) => parse.safeEncodeAsync(inst, data, params);\n inst.safeDecodeAsync = async (data, params) => parse.safeDecodeAsync(inst, data, params);\n // All builder methods are placed on the internal prototype as lazy-bind\n // getters. On first access per-instance, a bound thunk is allocated and\n // cached as an own property; subsequent accesses skip the getter. This\n // means: no per-instance allocation for unused methods, full\n // detachability preserved (`const m = schema.optional; m()` works), and\n // shared underlying function references across all instances.\n _installLazyMethods(inst, \"ZodType\", {\n check(...chks) {\n const def = this.def;\n return this.clone(util.mergeDefs(def, {\n checks: [\n ...(def.checks ?? []),\n ...chks.map((ch) => typeof ch === \"function\" ? { _zod: { check: ch, def: { check: \"custom\" }, onattach: [] } } : ch),\n ],\n }), { parent: true });\n },\n with(...chks) {\n return this.check(...chks);\n },\n clone(def, params) {\n return core.clone(this, def, params);\n },\n brand() {\n return this;\n },\n register(reg, meta) {\n reg.add(this, meta);\n return this;\n },\n refine(check, params) {\n return this.check(refine(check, params));\n },\n superRefine(refinement, params) {\n return this.check(superRefine(refinement, params));\n },\n overwrite(fn) {\n return this.check(checks.overwrite(fn));\n },\n optional() {\n return optional(this);\n },\n exactOptional() {\n return exactOptional(this);\n },\n nullable() {\n return nullable(this);\n },\n nullish() {\n return optional(nullable(this));\n },\n nonoptional(params) {\n return nonoptional(this, params);\n },\n array() {\n return array(this);\n },\n or(arg) {\n return union([this, arg]);\n },\n and(arg) {\n return intersection(this, arg);\n },\n transform(tx) {\n return pipe(this, transform(tx));\n },\n default(d) {\n return _default(this, d);\n },\n prefault(d) {\n return prefault(this, d);\n },\n catch(params) {\n return _catch(this, params);\n },\n pipe(target) {\n return pipe(this, target);\n },\n readonly() {\n return readonly(this);\n },\n describe(description) {\n const cl = this.clone();\n core.globalRegistry.add(cl, { description });\n return cl;\n },\n meta(...args) {\n // overloaded: meta() returns the registered metadata, meta(data)\n // returns a clone with `data` registered. The mapped type picks\n // up the second overload, so we accept variadic any-args and\n // return `any` to satisfy both at runtime.\n if (args.length === 0)\n return core.globalRegistry.get(this);\n const cl = this.clone();\n core.globalRegistry.add(cl, args[0]);\n return cl;\n },\n isOptional() {\n return this.safeParse(undefined).success;\n },\n isNullable() {\n return this.safeParse(null).success;\n },\n apply(fn) {\n return fn(this);\n },\n });\n Object.defineProperty(inst, \"description\", {\n get() {\n return core.globalRegistry.get(inst)?.description;\n },\n configurable: true,\n });\n return inst;\n});\n/** @internal */\nexport const _ZodString = /*@__PURE__*/ core.$constructor(\"_ZodString\", (inst, def) => {\n core.$ZodString.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.stringProcessor(inst, ctx, json, params);\n const bag = inst._zod.bag;\n inst.format = bag.format ?? null;\n inst.minLength = bag.minimum ?? null;\n inst.maxLength = bag.maximum ?? null;\n _installLazyMethods(inst, \"_ZodString\", {\n regex(...args) {\n return this.check(checks.regex(...args));\n },\n includes(...args) {\n return this.check(checks.includes(...args));\n },\n startsWith(...args) {\n return this.check(checks.startsWith(...args));\n },\n endsWith(...args) {\n return this.check(checks.endsWith(...args));\n },\n min(...args) {\n return this.check(checks.minLength(...args));\n },\n max(...args) {\n return this.check(checks.maxLength(...args));\n },\n length(...args) {\n return this.check(checks.length(...args));\n },\n nonempty(...args) {\n return this.check(checks.minLength(1, ...args));\n },\n lowercase(params) {\n return this.check(checks.lowercase(params));\n },\n uppercase(params) {\n return this.check(checks.uppercase(params));\n },\n trim() {\n return this.check(checks.trim());\n },\n normalize(...args) {\n return this.check(checks.normalize(...args));\n },\n toLowerCase() {\n return this.check(checks.toLowerCase());\n },\n toUpperCase() {\n return this.check(checks.toUpperCase());\n },\n slugify() {\n return this.check(checks.slugify());\n },\n });\n});\nexport const ZodString = /*@__PURE__*/ core.$constructor(\"ZodString\", (inst, def) => {\n core.$ZodString.init(inst, def);\n _ZodString.init(inst, def);\n inst.email = (params) => inst.check(core._email(ZodEmail, params));\n inst.url = (params) => inst.check(core._url(ZodURL, params));\n inst.jwt = (params) => inst.check(core._jwt(ZodJWT, params));\n inst.emoji = (params) => inst.check(core._emoji(ZodEmoji, params));\n inst.guid = (params) => inst.check(core._guid(ZodGUID, params));\n inst.uuid = (params) => inst.check(core._uuid(ZodUUID, params));\n inst.uuidv4 = (params) => inst.check(core._uuidv4(ZodUUID, params));\n inst.uuidv6 = (params) => inst.check(core._uuidv6(ZodUUID, params));\n inst.uuidv7 = (params) => inst.check(core._uuidv7(ZodUUID, params));\n inst.nanoid = (params) => inst.check(core._nanoid(ZodNanoID, params));\n inst.guid = (params) => inst.check(core._guid(ZodGUID, params));\n inst.cuid = (params) => inst.check(core._cuid(ZodCUID, params));\n inst.cuid2 = (params) => inst.check(core._cuid2(ZodCUID2, params));\n inst.ulid = (params) => inst.check(core._ulid(ZodULID, params));\n inst.base64 = (params) => inst.check(core._base64(ZodBase64, params));\n inst.base64url = (params) => inst.check(core._base64url(ZodBase64URL, params));\n inst.xid = (params) => inst.check(core._xid(ZodXID, params));\n inst.ksuid = (params) => inst.check(core._ksuid(ZodKSUID, params));\n inst.ipv4 = (params) => inst.check(core._ipv4(ZodIPv4, params));\n inst.ipv6 = (params) => inst.check(core._ipv6(ZodIPv6, params));\n inst.cidrv4 = (params) => inst.check(core._cidrv4(ZodCIDRv4, params));\n inst.cidrv6 = (params) => inst.check(core._cidrv6(ZodCIDRv6, params));\n inst.e164 = (params) => inst.check(core._e164(ZodE164, params));\n // iso\n inst.datetime = (params) => inst.check(iso.datetime(params));\n inst.date = (params) => inst.check(iso.date(params));\n inst.time = (params) => inst.check(iso.time(params));\n inst.duration = (params) => inst.check(iso.duration(params));\n});\nexport function string(params) {\n return core._string(ZodString, params);\n}\nexport const ZodStringFormat = /*@__PURE__*/ core.$constructor(\"ZodStringFormat\", (inst, def) => {\n core.$ZodStringFormat.init(inst, def);\n _ZodString.init(inst, def);\n});\nexport const ZodEmail = /*@__PURE__*/ core.$constructor(\"ZodEmail\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodEmail.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function email(params) {\n return core._email(ZodEmail, params);\n}\nexport const ZodGUID = /*@__PURE__*/ core.$constructor(\"ZodGUID\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodGUID.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function guid(params) {\n return core._guid(ZodGUID, params);\n}\nexport const ZodUUID = /*@__PURE__*/ core.$constructor(\"ZodUUID\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodUUID.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function uuid(params) {\n return core._uuid(ZodUUID, params);\n}\nexport function uuidv4(params) {\n return core._uuidv4(ZodUUID, params);\n}\n// ZodUUIDv6\nexport function uuidv6(params) {\n return core._uuidv6(ZodUUID, params);\n}\n// ZodUUIDv7\nexport function uuidv7(params) {\n return core._uuidv7(ZodUUID, params);\n}\nexport const ZodURL = /*@__PURE__*/ core.$constructor(\"ZodURL\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodURL.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function url(params) {\n return core._url(ZodURL, params);\n}\nexport function httpUrl(params) {\n return core._url(ZodURL, {\n protocol: core.regexes.httpProtocol,\n hostname: core.regexes.domain,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodEmoji = /*@__PURE__*/ core.$constructor(\"ZodEmoji\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodEmoji.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function emoji(params) {\n return core._emoji(ZodEmoji, params);\n}\nexport const ZodNanoID = /*@__PURE__*/ core.$constructor(\"ZodNanoID\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodNanoID.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function nanoid(params) {\n return core._nanoid(ZodNanoID, params);\n}\n/**\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\n * (timestamps embedded in the id). Use {@link ZodCUID2} instead.\n * See https://github.com/paralleldrive/cuid.\n */\nexport const ZodCUID = /*@__PURE__*/ core.$constructor(\"ZodCUID\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodCUID.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\n/**\n * Validates a CUID v1 string.\n *\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\n * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.\n * See https://github.com/paralleldrive/cuid.\n */\nexport function cuid(params) {\n return core._cuid(ZodCUID, params);\n}\nexport const ZodCUID2 = /*@__PURE__*/ core.$constructor(\"ZodCUID2\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodCUID2.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function cuid2(params) {\n return core._cuid2(ZodCUID2, params);\n}\nexport const ZodULID = /*@__PURE__*/ core.$constructor(\"ZodULID\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodULID.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function ulid(params) {\n return core._ulid(ZodULID, params);\n}\nexport const ZodXID = /*@__PURE__*/ core.$constructor(\"ZodXID\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodXID.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function xid(params) {\n return core._xid(ZodXID, params);\n}\nexport const ZodKSUID = /*@__PURE__*/ core.$constructor(\"ZodKSUID\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodKSUID.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function ksuid(params) {\n return core._ksuid(ZodKSUID, params);\n}\nexport const ZodIPv4 = /*@__PURE__*/ core.$constructor(\"ZodIPv4\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodIPv4.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function ipv4(params) {\n return core._ipv4(ZodIPv4, params);\n}\nexport const ZodMAC = /*@__PURE__*/ core.$constructor(\"ZodMAC\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodMAC.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function mac(params) {\n return core._mac(ZodMAC, params);\n}\nexport const ZodIPv6 = /*@__PURE__*/ core.$constructor(\"ZodIPv6\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodIPv6.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function ipv6(params) {\n return core._ipv6(ZodIPv6, params);\n}\nexport const ZodCIDRv4 = /*@__PURE__*/ core.$constructor(\"ZodCIDRv4\", (inst, def) => {\n core.$ZodCIDRv4.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function cidrv4(params) {\n return core._cidrv4(ZodCIDRv4, params);\n}\nexport const ZodCIDRv6 = /*@__PURE__*/ core.$constructor(\"ZodCIDRv6\", (inst, def) => {\n core.$ZodCIDRv6.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function cidrv6(params) {\n return core._cidrv6(ZodCIDRv6, params);\n}\nexport const ZodBase64 = /*@__PURE__*/ core.$constructor(\"ZodBase64\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodBase64.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function base64(params) {\n return core._base64(ZodBase64, params);\n}\nexport const ZodBase64URL = /*@__PURE__*/ core.$constructor(\"ZodBase64URL\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodBase64URL.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function base64url(params) {\n return core._base64url(ZodBase64URL, params);\n}\nexport const ZodE164 = /*@__PURE__*/ core.$constructor(\"ZodE164\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodE164.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function e164(params) {\n return core._e164(ZodE164, params);\n}\nexport const ZodJWT = /*@__PURE__*/ core.$constructor(\"ZodJWT\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodJWT.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function jwt(params) {\n return core._jwt(ZodJWT, params);\n}\nexport const ZodCustomStringFormat = /*@__PURE__*/ core.$constructor(\"ZodCustomStringFormat\", (inst, def) => {\n // ZodStringFormat.init(inst, def);\n core.$ZodCustomStringFormat.init(inst, def);\n ZodStringFormat.init(inst, def);\n});\nexport function stringFormat(format, fnOrRegex, _params = {}) {\n return core._stringFormat(ZodCustomStringFormat, format, fnOrRegex, _params);\n}\nexport function hostname(_params) {\n return core._stringFormat(ZodCustomStringFormat, \"hostname\", core.regexes.hostname, _params);\n}\nexport function hex(_params) {\n return core._stringFormat(ZodCustomStringFormat, \"hex\", core.regexes.hex, _params);\n}\nexport function hash(alg, params) {\n const enc = params?.enc ?? \"hex\";\n const format = `${alg}_${enc}`;\n const regex = core.regexes[format];\n if (!regex)\n throw new Error(`Unrecognized hash format: ${format}`);\n return core._stringFormat(ZodCustomStringFormat, format, regex, params);\n}\nexport const ZodNumber = /*@__PURE__*/ core.$constructor(\"ZodNumber\", (inst, def) => {\n core.$ZodNumber.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.numberProcessor(inst, ctx, json, params);\n _installLazyMethods(inst, \"ZodNumber\", {\n gt(value, params) {\n return this.check(checks.gt(value, params));\n },\n gte(value, params) {\n return this.check(checks.gte(value, params));\n },\n min(value, params) {\n return this.check(checks.gte(value, params));\n },\n lt(value, params) {\n return this.check(checks.lt(value, params));\n },\n lte(value, params) {\n return this.check(checks.lte(value, params));\n },\n max(value, params) {\n return this.check(checks.lte(value, params));\n },\n int(params) {\n return this.check(int(params));\n },\n safe(params) {\n return this.check(int(params));\n },\n positive(params) {\n return this.check(checks.gt(0, params));\n },\n nonnegative(params) {\n return this.check(checks.gte(0, params));\n },\n negative(params) {\n return this.check(checks.lt(0, params));\n },\n nonpositive(params) {\n return this.check(checks.lte(0, params));\n },\n multipleOf(value, params) {\n return this.check(checks.multipleOf(value, params));\n },\n step(value, params) {\n return this.check(checks.multipleOf(value, params));\n },\n finite() {\n return this;\n },\n });\n const bag = inst._zod.bag;\n inst.minValue =\n Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;\n inst.maxValue =\n Math.min(bag.maximum ?? Number.POSITIVE_INFINITY, bag.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null;\n inst.isInt = (bag.format ?? \"\").includes(\"int\") || Number.isSafeInteger(bag.multipleOf ?? 0.5);\n inst.isFinite = true;\n inst.format = bag.format ?? null;\n});\nexport function number(params) {\n return core._number(ZodNumber, params);\n}\nexport const ZodNumberFormat = /*@__PURE__*/ core.$constructor(\"ZodNumberFormat\", (inst, def) => {\n core.$ZodNumberFormat.init(inst, def);\n ZodNumber.init(inst, def);\n});\nexport function int(params) {\n return core._int(ZodNumberFormat, params);\n}\nexport function float32(params) {\n return core._float32(ZodNumberFormat, params);\n}\nexport function float64(params) {\n return core._float64(ZodNumberFormat, params);\n}\nexport function int32(params) {\n return core._int32(ZodNumberFormat, params);\n}\nexport function uint32(params) {\n return core._uint32(ZodNumberFormat, params);\n}\nexport const ZodBoolean = /*@__PURE__*/ core.$constructor(\"ZodBoolean\", (inst, def) => {\n core.$ZodBoolean.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.booleanProcessor(inst, ctx, json, params);\n});\nexport function boolean(params) {\n return core._boolean(ZodBoolean, params);\n}\nexport const ZodBigInt = /*@__PURE__*/ core.$constructor(\"ZodBigInt\", (inst, def) => {\n core.$ZodBigInt.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.bigintProcessor(inst, ctx, json, params);\n inst.gte = (value, params) => inst.check(checks.gte(value, params));\n inst.min = (value, params) => inst.check(checks.gte(value, params));\n inst.gt = (value, params) => inst.check(checks.gt(value, params));\n inst.gte = (value, params) => inst.check(checks.gte(value, params));\n inst.min = (value, params) => inst.check(checks.gte(value, params));\n inst.lt = (value, params) => inst.check(checks.lt(value, params));\n inst.lte = (value, params) => inst.check(checks.lte(value, params));\n inst.max = (value, params) => inst.check(checks.lte(value, params));\n inst.positive = (params) => inst.check(checks.gt(BigInt(0), params));\n inst.negative = (params) => inst.check(checks.lt(BigInt(0), params));\n inst.nonpositive = (params) => inst.check(checks.lte(BigInt(0), params));\n inst.nonnegative = (params) => inst.check(checks.gte(BigInt(0), params));\n inst.multipleOf = (value, params) => inst.check(checks.multipleOf(value, params));\n const bag = inst._zod.bag;\n inst.minValue = bag.minimum ?? null;\n inst.maxValue = bag.maximum ?? null;\n inst.format = bag.format ?? null;\n});\nexport function bigint(params) {\n return core._bigint(ZodBigInt, params);\n}\nexport const ZodBigIntFormat = /*@__PURE__*/ core.$constructor(\"ZodBigIntFormat\", (inst, def) => {\n core.$ZodBigIntFormat.init(inst, def);\n ZodBigInt.init(inst, def);\n});\n// int64\nexport function int64(params) {\n return core._int64(ZodBigIntFormat, params);\n}\n// uint64\nexport function uint64(params) {\n return core._uint64(ZodBigIntFormat, params);\n}\nexport const ZodSymbol = /*@__PURE__*/ core.$constructor(\"ZodSymbol\", (inst, def) => {\n core.$ZodSymbol.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.symbolProcessor(inst, ctx, json, params);\n});\nexport function symbol(params) {\n return core._symbol(ZodSymbol, params);\n}\nexport const ZodUndefined = /*@__PURE__*/ core.$constructor(\"ZodUndefined\", (inst, def) => {\n core.$ZodUndefined.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.undefinedProcessor(inst, ctx, json, params);\n});\nfunction _undefined(params) {\n return core._undefined(ZodUndefined, params);\n}\nexport { _undefined as undefined };\nexport const ZodNull = /*@__PURE__*/ core.$constructor(\"ZodNull\", (inst, def) => {\n core.$ZodNull.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.nullProcessor(inst, ctx, json, params);\n});\nfunction _null(params) {\n return core._null(ZodNull, params);\n}\nexport { _null as null };\nexport const ZodAny = /*@__PURE__*/ core.$constructor(\"ZodAny\", (inst, def) => {\n core.$ZodAny.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.anyProcessor(inst, ctx, json, params);\n});\nexport function any() {\n return core._any(ZodAny);\n}\nexport const ZodUnknown = /*@__PURE__*/ core.$constructor(\"ZodUnknown\", (inst, def) => {\n core.$ZodUnknown.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.unknownProcessor(inst, ctx, json, params);\n});\nexport function unknown() {\n return core._unknown(ZodUnknown);\n}\nexport const ZodNever = /*@__PURE__*/ core.$constructor(\"ZodNever\", (inst, def) => {\n core.$ZodNever.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.neverProcessor(inst, ctx, json, params);\n});\nexport function never(params) {\n return core._never(ZodNever, params);\n}\nexport const ZodVoid = /*@__PURE__*/ core.$constructor(\"ZodVoid\", (inst, def) => {\n core.$ZodVoid.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.voidProcessor(inst, ctx, json, params);\n});\nfunction _void(params) {\n return core._void(ZodVoid, params);\n}\nexport { _void as void };\nexport const ZodDate = /*@__PURE__*/ core.$constructor(\"ZodDate\", (inst, def) => {\n core.$ZodDate.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.dateProcessor(inst, ctx, json, params);\n inst.min = (value, params) => inst.check(checks.gte(value, params));\n inst.max = (value, params) => inst.check(checks.lte(value, params));\n const c = inst._zod.bag;\n inst.minDate = c.minimum ? new Date(c.minimum) : null;\n inst.maxDate = c.maximum ? new Date(c.maximum) : null;\n});\nexport function date(params) {\n return core._date(ZodDate, params);\n}\nexport const ZodArray = /*@__PURE__*/ core.$constructor(\"ZodArray\", (inst, def) => {\n core.$ZodArray.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.arrayProcessor(inst, ctx, json, params);\n inst.element = def.element;\n _installLazyMethods(inst, \"ZodArray\", {\n min(n, params) {\n return this.check(checks.minLength(n, params));\n },\n nonempty(params) {\n return this.check(checks.minLength(1, params));\n },\n max(n, params) {\n return this.check(checks.maxLength(n, params));\n },\n length(n, params) {\n return this.check(checks.length(n, params));\n },\n unwrap() {\n return this.element;\n },\n });\n});\nexport function array(element, params) {\n return core._array(ZodArray, element, params);\n}\n// .keyof\nexport function keyof(schema) {\n const shape = schema._zod.def.shape;\n return _enum(Object.keys(shape));\n}\nexport const ZodObject = /*@__PURE__*/ core.$constructor(\"ZodObject\", (inst, def) => {\n core.$ZodObjectJIT.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.objectProcessor(inst, ctx, json, params);\n util.defineLazy(inst, \"shape\", () => {\n return def.shape;\n });\n _installLazyMethods(inst, \"ZodObject\", {\n keyof() {\n return _enum(Object.keys(this._zod.def.shape));\n },\n catchall(catchall) {\n return this.clone({ ...this._zod.def, catchall: catchall });\n },\n passthrough() {\n return this.clone({ ...this._zod.def, catchall: unknown() });\n },\n loose() {\n return this.clone({ ...this._zod.def, catchall: unknown() });\n },\n strict() {\n return this.clone({ ...this._zod.def, catchall: never() });\n },\n strip() {\n return this.clone({ ...this._zod.def, catchall: undefined });\n },\n extend(incoming) {\n return util.extend(this, incoming);\n },\n safeExtend(incoming) {\n return util.safeExtend(this, incoming);\n },\n merge(other) {\n return util.merge(this, other);\n },\n pick(mask) {\n return util.pick(this, mask);\n },\n omit(mask) {\n return util.omit(this, mask);\n },\n partial(...args) {\n return util.partial(ZodOptional, this, args[0]);\n },\n required(...args) {\n return util.required(ZodNonOptional, this, args[0]);\n },\n });\n});\nexport function object(shape, params) {\n const def = {\n type: \"object\",\n shape: shape ?? {},\n ...util.normalizeParams(params),\n };\n return new ZodObject(def);\n}\n// strictObject\nexport function strictObject(shape, params) {\n return new ZodObject({\n type: \"object\",\n shape,\n catchall: never(),\n ...util.normalizeParams(params),\n });\n}\n// looseObject\nexport function looseObject(shape, params) {\n return new ZodObject({\n type: \"object\",\n shape,\n catchall: unknown(),\n ...util.normalizeParams(params),\n });\n}\nexport const ZodUnion = /*@__PURE__*/ core.$constructor(\"ZodUnion\", (inst, def) => {\n core.$ZodUnion.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.unionProcessor(inst, ctx, json, params);\n inst.options = def.options;\n});\nexport function union(options, params) {\n return new ZodUnion({\n type: \"union\",\n options: options,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodXor = /*@__PURE__*/ core.$constructor(\"ZodXor\", (inst, def) => {\n ZodUnion.init(inst, def);\n core.$ZodXor.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.unionProcessor(inst, ctx, json, params);\n inst.options = def.options;\n});\n/** Creates an exclusive union (XOR) where exactly one option must match.\n * Unlike regular unions that succeed when any option matches, xor fails if\n * zero or more than one option matches the input. */\nexport function xor(options, params) {\n return new ZodXor({\n type: \"union\",\n options: options,\n inclusive: false,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodDiscriminatedUnion = /*@__PURE__*/ core.$constructor(\"ZodDiscriminatedUnion\", (inst, def) => {\n ZodUnion.init(inst, def);\n core.$ZodDiscriminatedUnion.init(inst, def);\n});\nexport function discriminatedUnion(discriminator, options, params) {\n // const [options, params] = args;\n return new ZodDiscriminatedUnion({\n type: \"union\",\n options,\n discriminator,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodIntersection = /*@__PURE__*/ core.$constructor(\"ZodIntersection\", (inst, def) => {\n core.$ZodIntersection.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.intersectionProcessor(inst, ctx, json, params);\n});\nexport function intersection(left, right) {\n return new ZodIntersection({\n type: \"intersection\",\n left: left,\n right: right,\n });\n}\nexport const ZodTuple = /*@__PURE__*/ core.$constructor(\"ZodTuple\", (inst, def) => {\n core.$ZodTuple.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.tupleProcessor(inst, ctx, json, params);\n inst.rest = (rest) => inst.clone({\n ...inst._zod.def,\n rest: rest,\n });\n});\nexport function tuple(items, _paramsOrRest, _params) {\n const hasRest = _paramsOrRest instanceof core.$ZodType;\n const params = hasRest ? _params : _paramsOrRest;\n const rest = hasRest ? _paramsOrRest : null;\n return new ZodTuple({\n type: \"tuple\",\n items: items,\n rest,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodRecord = /*@__PURE__*/ core.$constructor(\"ZodRecord\", (inst, def) => {\n core.$ZodRecord.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.recordProcessor(inst, ctx, json, params);\n inst.keyType = def.keyType;\n inst.valueType = def.valueType;\n});\nexport function record(keyType, valueType, params) {\n // v3-compat: z.record(valueType, params?) — defaults keyType to z.string()\n if (!valueType || !valueType._zod) {\n return new ZodRecord({\n type: \"record\",\n keyType: string(),\n valueType: keyType,\n ...util.normalizeParams(valueType),\n });\n }\n return new ZodRecord({\n type: \"record\",\n keyType,\n valueType: valueType,\n ...util.normalizeParams(params),\n });\n}\n// type alksjf = core.output<core.$ZodRecordKey>;\nexport function partialRecord(keyType, valueType, params) {\n const k = core.clone(keyType);\n k._zod.values = undefined;\n return new ZodRecord({\n type: \"record\",\n keyType: k,\n valueType: valueType,\n ...util.normalizeParams(params),\n });\n}\nexport function looseRecord(keyType, valueType, params) {\n return new ZodRecord({\n type: \"record\",\n keyType,\n valueType: valueType,\n mode: \"loose\",\n ...util.normalizeParams(params),\n });\n}\nexport const ZodMap = /*@__PURE__*/ core.$constructor(\"ZodMap\", (inst, def) => {\n core.$ZodMap.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.mapProcessor(inst, ctx, json, params);\n inst.keyType = def.keyType;\n inst.valueType = def.valueType;\n inst.min = (...args) => inst.check(core._minSize(...args));\n inst.nonempty = (params) => inst.check(core._minSize(1, params));\n inst.max = (...args) => inst.check(core._maxSize(...args));\n inst.size = (...args) => inst.check(core._size(...args));\n});\nexport function map(keyType, valueType, params) {\n return new ZodMap({\n type: \"map\",\n keyType: keyType,\n valueType: valueType,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodSet = /*@__PURE__*/ core.$constructor(\"ZodSet\", (inst, def) => {\n core.$ZodSet.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.setProcessor(inst, ctx, json, params);\n inst.min = (...args) => inst.check(core._minSize(...args));\n inst.nonempty = (params) => inst.check(core._minSize(1, params));\n inst.max = (...args) => inst.check(core._maxSize(...args));\n inst.size = (...args) => inst.check(core._size(...args));\n});\nexport function set(valueType, params) {\n return new ZodSet({\n type: \"set\",\n valueType: valueType,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodEnum = /*@__PURE__*/ core.$constructor(\"ZodEnum\", (inst, def) => {\n core.$ZodEnum.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.enumProcessor(inst, ctx, json, params);\n inst.enum = def.entries;\n inst.options = Object.values(def.entries);\n const keys = new Set(Object.keys(def.entries));\n inst.extract = (values, params) => {\n const newEntries = {};\n for (const value of values) {\n if (keys.has(value)) {\n newEntries[value] = def.entries[value];\n }\n else\n throw new Error(`Key ${value} not found in enum`);\n }\n return new ZodEnum({\n ...def,\n checks: [],\n ...util.normalizeParams(params),\n entries: newEntries,\n });\n };\n inst.exclude = (values, params) => {\n const newEntries = { ...def.entries };\n for (const value of values) {\n if (keys.has(value)) {\n delete newEntries[value];\n }\n else\n throw new Error(`Key ${value} not found in enum`);\n }\n return new ZodEnum({\n ...def,\n checks: [],\n ...util.normalizeParams(params),\n entries: newEntries,\n });\n };\n});\nfunction _enum(values, params) {\n const entries = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;\n return new ZodEnum({\n type: \"enum\",\n entries,\n ...util.normalizeParams(params),\n });\n}\nexport { _enum as enum };\n/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.\n *\n * ```ts\n * enum Colors { red, green, blue }\n * z.enum(Colors);\n * ```\n */\nexport function nativeEnum(entries, params) {\n return new ZodEnum({\n type: \"enum\",\n entries,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodLiteral = /*@__PURE__*/ core.$constructor(\"ZodLiteral\", (inst, def) => {\n core.$ZodLiteral.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.literalProcessor(inst, ctx, json, params);\n inst.values = new Set(def.values);\n Object.defineProperty(inst, \"value\", {\n get() {\n if (def.values.length > 1) {\n throw new Error(\"This schema contains multiple valid literal values. Use `.values` instead.\");\n }\n return def.values[0];\n },\n });\n});\nexport function literal(value, params) {\n return new ZodLiteral({\n type: \"literal\",\n values: Array.isArray(value) ? value : [value],\n ...util.normalizeParams(params),\n });\n}\nexport const ZodFile = /*@__PURE__*/ core.$constructor(\"ZodFile\", (inst, def) => {\n core.$ZodFile.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.fileProcessor(inst, ctx, json, params);\n inst.min = (size, params) => inst.check(core._minSize(size, params));\n inst.max = (size, params) => inst.check(core._maxSize(size, params));\n inst.mime = (types, params) => inst.check(core._mime(Array.isArray(types) ? types : [types], params));\n});\nexport function file(params) {\n return core._file(ZodFile, params);\n}\nexport const ZodTransform = /*@__PURE__*/ core.$constructor(\"ZodTransform\", (inst, def) => {\n core.$ZodTransform.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.transformProcessor(inst, ctx, json, params);\n inst._zod.parse = (payload, _ctx) => {\n if (_ctx.direction === \"backward\") {\n throw new core.$ZodEncodeError(inst.constructor.name);\n }\n payload.addIssue = (issue) => {\n if (typeof issue === \"string\") {\n payload.issues.push(util.issue(issue, payload.value, def));\n }\n else {\n // for Zod 3 backwards compatibility\n const _issue = issue;\n if (_issue.fatal)\n _issue.continue = false;\n _issue.code ?? (_issue.code = \"custom\");\n _issue.input ?? (_issue.input = payload.value);\n _issue.inst ?? (_issue.inst = inst);\n // _issue.continue ??= true;\n payload.issues.push(util.issue(_issue));\n }\n };\n const output = def.transform(payload.value, payload);\n if (output instanceof Promise) {\n return output.then((output) => {\n payload.value = output;\n payload.fallback = true;\n return payload;\n });\n }\n payload.value = output;\n payload.fallback = true;\n return payload;\n };\n});\nexport function transform(fn) {\n return new ZodTransform({\n type: \"transform\",\n transform: fn,\n });\n}\nexport const ZodOptional = /*@__PURE__*/ core.$constructor(\"ZodOptional\", (inst, def) => {\n core.$ZodOptional.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.optionalProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n});\nexport function optional(innerType) {\n return new ZodOptional({\n type: \"optional\",\n innerType: innerType,\n });\n}\nexport const ZodExactOptional = /*@__PURE__*/ core.$constructor(\"ZodExactOptional\", (inst, def) => {\n core.$ZodExactOptional.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.optionalProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n});\nexport function exactOptional(innerType) {\n return new ZodExactOptional({\n type: \"optional\",\n innerType: innerType,\n });\n}\nexport const ZodNullable = /*@__PURE__*/ core.$constructor(\"ZodNullable\", (inst, def) => {\n core.$ZodNullable.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.nullableProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n});\nexport function nullable(innerType) {\n return new ZodNullable({\n type: \"nullable\",\n innerType: innerType,\n });\n}\n// nullish\nexport function nullish(innerType) {\n return optional(nullable(innerType));\n}\nexport const ZodDefault = /*@__PURE__*/ core.$constructor(\"ZodDefault\", (inst, def) => {\n core.$ZodDefault.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.defaultProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n inst.removeDefault = inst.unwrap;\n});\nexport function _default(innerType, defaultValue) {\n return new ZodDefault({\n type: \"default\",\n innerType: innerType,\n get defaultValue() {\n return typeof defaultValue === \"function\" ? defaultValue() : util.shallowClone(defaultValue);\n },\n });\n}\nexport const ZodPrefault = /*@__PURE__*/ core.$constructor(\"ZodPrefault\", (inst, def) => {\n core.$ZodPrefault.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.prefaultProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n});\nexport function prefault(innerType, defaultValue) {\n return new ZodPrefault({\n type: \"prefault\",\n innerType: innerType,\n get defaultValue() {\n return typeof defaultValue === \"function\" ? defaultValue() : util.shallowClone(defaultValue);\n },\n });\n}\nexport const ZodNonOptional = /*@__PURE__*/ core.$constructor(\"ZodNonOptional\", (inst, def) => {\n core.$ZodNonOptional.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.nonoptionalProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n});\nexport function nonoptional(innerType, params) {\n return new ZodNonOptional({\n type: \"nonoptional\",\n innerType: innerType,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodSuccess = /*@__PURE__*/ core.$constructor(\"ZodSuccess\", (inst, def) => {\n core.$ZodSuccess.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.successProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n});\nexport function success(innerType) {\n return new ZodSuccess({\n type: \"success\",\n innerType: innerType,\n });\n}\nexport const ZodCatch = /*@__PURE__*/ core.$constructor(\"ZodCatch\", (inst, def) => {\n core.$ZodCatch.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.catchProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n inst.removeCatch = inst.unwrap;\n});\nfunction _catch(innerType, catchValue) {\n return new ZodCatch({\n type: \"catch\",\n innerType: innerType,\n catchValue: (typeof catchValue === \"function\" ? catchValue : () => catchValue),\n });\n}\nexport { _catch as catch };\nexport const ZodNaN = /*@__PURE__*/ core.$constructor(\"ZodNaN\", (inst, def) => {\n core.$ZodNaN.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.nanProcessor(inst, ctx, json, params);\n});\nexport function nan(params) {\n return core._nan(ZodNaN, params);\n}\nexport const ZodPipe = /*@__PURE__*/ core.$constructor(\"ZodPipe\", (inst, def) => {\n core.$ZodPipe.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.pipeProcessor(inst, ctx, json, params);\n inst.in = def.in;\n inst.out = def.out;\n});\nexport function pipe(in_, out) {\n return new ZodPipe({\n type: \"pipe\",\n in: in_,\n out: out,\n // ...util.normalizeParams(params),\n });\n}\nexport const ZodCodec = /*@__PURE__*/ core.$constructor(\"ZodCodec\", (inst, def) => {\n ZodPipe.init(inst, def);\n core.$ZodCodec.init(inst, def);\n});\nexport function codec(in_, out, params) {\n return new ZodCodec({\n type: \"pipe\",\n in: in_,\n out: out,\n transform: params.decode,\n reverseTransform: params.encode,\n });\n}\nexport function invertCodec(codec) {\n const def = codec._zod.def;\n return new ZodCodec({\n type: \"pipe\",\n in: def.out,\n out: def.in,\n transform: def.reverseTransform,\n reverseTransform: def.transform,\n });\n}\nexport const ZodPreprocess = /*@__PURE__*/ core.$constructor(\"ZodPreprocess\", (inst, def) => {\n ZodPipe.init(inst, def);\n core.$ZodPreprocess.init(inst, def);\n});\nexport const ZodReadonly = /*@__PURE__*/ core.$constructor(\"ZodReadonly\", (inst, def) => {\n core.$ZodReadonly.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.readonlyProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n});\nexport function readonly(innerType) {\n return new ZodReadonly({\n type: \"readonly\",\n innerType: innerType,\n });\n}\nexport const ZodTemplateLiteral = /*@__PURE__*/ core.$constructor(\"ZodTemplateLiteral\", (inst, def) => {\n core.$ZodTemplateLiteral.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.templateLiteralProcessor(inst, ctx, json, params);\n});\nexport function templateLiteral(parts, params) {\n return new ZodTemplateLiteral({\n type: \"template_literal\",\n parts,\n ...util.normalizeParams(params),\n });\n}\nexport const ZodLazy = /*@__PURE__*/ core.$constructor(\"ZodLazy\", (inst, def) => {\n core.$ZodLazy.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.lazyProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.getter();\n});\nexport function lazy(getter) {\n return new ZodLazy({\n type: \"lazy\",\n getter: getter,\n });\n}\nexport const ZodPromise = /*@__PURE__*/ core.$constructor(\"ZodPromise\", (inst, def) => {\n core.$ZodPromise.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.promiseProcessor(inst, ctx, json, params);\n inst.unwrap = () => inst._zod.def.innerType;\n});\nexport function promise(innerType) {\n return new ZodPromise({\n type: \"promise\",\n innerType: innerType,\n });\n}\nexport const ZodFunction = /*@__PURE__*/ core.$constructor(\"ZodFunction\", (inst, def) => {\n core.$ZodFunction.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.functionProcessor(inst, ctx, json, params);\n});\nexport function _function(params) {\n return new ZodFunction({\n type: \"function\",\n input: Array.isArray(params?.input) ? tuple(params?.input) : (params?.input ?? array(unknown())),\n output: params?.output ?? unknown(),\n });\n}\nexport { _function as function };\nexport const ZodCustom = /*@__PURE__*/ core.$constructor(\"ZodCustom\", (inst, def) => {\n core.$ZodCustom.init(inst, def);\n ZodType.init(inst, def);\n inst._zod.processJSONSchema = (ctx, json, params) => processors.customProcessor(inst, ctx, json, params);\n});\n// custom checks\nexport function check(fn) {\n const ch = new core.$ZodCheck({\n check: \"custom\",\n // ...util.normalizeParams(params),\n });\n ch._zod.check = fn;\n return ch;\n}\nexport function custom(fn, _params) {\n return core._custom(ZodCustom, fn ?? (() => true), _params);\n}\nexport function refine(fn, _params = {}) {\n return core._refine(ZodCustom, fn, _params);\n}\n// superRefine\nexport function superRefine(fn, params) {\n return core._superRefine(fn, params);\n}\n// Re-export describe and meta from core\nexport const describe = core.describe;\nexport const meta = core.meta;\nfunction _instanceof(cls, params = {}) {\n const inst = new ZodCustom({\n type: \"custom\",\n check: \"custom\",\n fn: (data) => data instanceof cls,\n abort: true,\n ...util.normalizeParams(params),\n });\n inst._zod.bag.Class = cls;\n // Override check to emit invalid_type instead of custom\n inst._zod.check = (payload) => {\n if (!(payload.value instanceof cls)) {\n payload.issues.push({\n code: \"invalid_type\",\n expected: cls.name,\n input: payload.value,\n inst,\n path: [...(inst._zod.def.path ?? [])],\n });\n }\n };\n return inst;\n}\nexport { _instanceof as instanceof };\n// stringbool\nexport const stringbool = (...args) => core._stringbool({\n Codec: ZodCodec,\n Boolean: ZodBoolean,\n String: ZodString,\n}, ...args);\nexport function json(params) {\n const jsonSchema = lazy(() => {\n return union([string(params), number(), boolean(), _null(), array(jsonSchema), record(string(), jsonSchema)]);\n });\n return jsonSchema;\n}\n// preprocess\nexport function preprocess(fn, schema) {\n return new ZodPreprocess({\n type: \"pipe\",\n in: transform(fn),\n out: schema,\n });\n}\n"],"names":["_installedGroups","_installLazyMethods","inst","group","methods","proto","installed","key","fn","bound","v","ZodType","core.$constructor","def","core.$ZodType","createStandardJSONSchemaMethod","createToJSONSchemaMethod","data","params","parse.parse","parse.safeParse","parse.parseAsync","parse.safeParseAsync","parse.encode","parse.decode","parse.encodeAsync","parse.decodeAsync","parse.safeEncode","parse.safeDecode","parse.safeEncodeAsync","parse.safeDecodeAsync","chks","util.mergeDefs","ch","core.clone","reg","meta","check","refine","refinement","superRefine","checks.overwrite","optional","exactOptional","nullable","nonoptional","array","arg","union","intersection","tx","pipe","transform","d","_default","prefault","_catch","target","readonly","description","cl","core.globalRegistry","args","_ZodString","core.$ZodString","ctx","json","processors.stringProcessor","bag","checks.regex","checks.includes","checks.startsWith","checks.endsWith","checks.minLength","checks.maxLength","checks.length","checks.lowercase","checks.uppercase","checks.trim","checks.normalize","checks.toLowerCase","checks.toUpperCase","checks.slugify","ZodString","core._email","ZodEmail","core._url","ZodURL","core._jwt","ZodJWT","core._emoji","ZodEmoji","core._guid","ZodGUID","core._uuid","ZodUUID","core._uuidv4","core._uuidv6","core._uuidv7","core._nanoid","ZodNanoID","core._cuid","ZodCUID","core._cuid2","ZodCUID2","core._ulid","ZodULID","core._base64","ZodBase64","core._base64url","ZodBase64URL","core._xid","ZodXID","core._ksuid","ZodKSUID","core._ipv4","ZodIPv4","core._ipv6","ZodIPv6","core._cidrv4","ZodCIDRv4","core._cidrv6","ZodCIDRv6","core._e164","ZodE164","iso.datetime","iso.date","iso.time","iso.duration","string","core._string","ZodStringFormat","core.$ZodStringFormat","core.$ZodEmail","core.$ZodGUID","core.$ZodUUID","core.$ZodURL","core.$ZodEmoji","core.$ZodNanoID","core.$ZodCUID","core.$ZodCUID2","core.$ZodULID","core.$ZodXID","core.$ZodKSUID","core.$ZodIPv4","core.$ZodIPv6","core.$ZodCIDRv4","core.$ZodCIDRv6","core.$ZodBase64","core.$ZodBase64URL","core.$ZodE164","core.$ZodJWT","ZodNumber","core.$ZodNumber","processors.numberProcessor","value","checks.gt","checks.gte","checks.lt","checks.lte","int","checks.multipleOf","number","core._number","ZodNumberFormat","core.$ZodNumberFormat","core._int","ZodBoolean","core.$ZodBoolean","processors.booleanProcessor","boolean","core._boolean","ZodUnknown","core.$ZodUnknown","processors.unknownProcessor","unknown","core._unknown","ZodNever","core.$ZodNever","processors.neverProcessor","never","core._never","ZodDate","core.$ZodDate","processors.dateProcessor","c","ZodArray","core.$ZodArray","processors.arrayProcessor","n","element","core._array","ZodObject","core.$ZodObjectJIT","processors.objectProcessor","util.defineLazy","_enum","catchall","incoming","util.extend","util.safeExtend","other","util.merge","mask","util.pick","util.omit","util.partial","ZodOptional","util.required","ZodNonOptional","object","shape","util.normalizeParams","looseObject","ZodUnion","core.$ZodUnion","processors.unionProcessor","options","ZodDiscriminatedUnion","core.$ZodDiscriminatedUnion","discriminatedUnion","discriminator","ZodIntersection","core.$ZodIntersection","processors.intersectionProcessor","left","right","ZodTuple","core.$ZodTuple","processors.tupleProcessor","rest","tuple","items","_paramsOrRest","_params","hasRest","ZodRecord","core.$ZodRecord","processors.recordProcessor","record","keyType","valueType","ZodEnum","core.$ZodEnum","processors.enumProcessor","keys","values","newEntries","entries","ZodLiteral","core.$ZodLiteral","processors.literalProcessor","literal","ZodTransform","core.$ZodTransform","processors.transformProcessor","payload","_ctx","core.$ZodEncodeError","issue","util.issue","_issue","output","core.$ZodOptional","processors.optionalProcessor","innerType","ZodExactOptional","core.$ZodExactOptional","ZodNullable","core.$ZodNullable","processors.nullableProcessor","ZodDefault","core.$ZodDefault","processors.defaultProcessor","defaultValue","util.shallowClone","ZodPrefault","core.$ZodPrefault","processors.prefaultProcessor","core.$ZodNonOptional","processors.nonoptionalProcessor","ZodCatch","core.$ZodCatch","processors.catchProcessor","catchValue","ZodPipe","core.$ZodPipe","processors.pipeProcessor","in_","out","ZodReadonly","core.$ZodReadonly","processors.readonlyProcessor","ZodCustom","core.$ZodCustom","processors.customProcessor","core._refine","core._superRefine"],"mappings":"6WAkBMA,MAAuC,QAC7C,SAASC,EAAoBC,EAAMC,EAAOC,EAAS,CAC/C,MAAMC,EAAQ,OAAO,eAAeH,CAAI,EACxC,IAAII,EAAYN,EAAiB,IAAIK,CAAK,EAK1C,GAJKC,IACDA,MAAgB,IAChBN,EAAiB,IAAIK,EAAOC,CAAS,GAErC,CAAAA,EAAU,IAAIH,CAAK,EAEvB,CAAAG,EAAU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AKC,EAAMhD,IAAW6Q,EAAAA,cAAyB7R,EAAM+D,EAAKC,EAAMhD,CAAM,EACrGhB,EAAK,GAAKW,EAAI,GACdX,EAAK,IAAMW,EAAI,GACnB,CAAC,EACM,SAASsC,EAAK6O,EAAKC,EAAK,CAC3B,OAAO,IAAIJ,GAAQ,CACf,KAAM,OACN,GAAIG,EACJ,IAAAC,CAAA,CAEH,CACL,CA4BO,MAAMC,GAA4BtR,EAAAA,aAAkB,cAAe,CAACV,EAAMW,IAAQ,CACrFsR,eAAkB,KAAKjS,EAAMW,CAAG,EAChCF,EAAQ,KAAKT,EAAMW,CAAG,EACtBX,EAAK,KAAK,kBAAoB,CAAC+D,EAAKC,EAAMhD,IAAWkR,EAAAA,kBAA6BlS,EAAM+D,EAAKC,EAAMhD,CAAM,EACzGhB,EAAK,OAAS,IAAMA,EAAK,KAAK,IAAI,SACtC,CAAC,EACM,SAASwD,GAAS+M,EAAW,CAChC,OAAO,IAAIyB,GAAY,CACnB,KAAM,WACN,UAAAzB,CAAA,CACH,CACL,CAkDO,MAAM4B,GAA0BzR,EAAAA,aAAkB,YAAa,CAACV,EAAMW,IAAQ,CACjFyR,aAAgB,KAAKpS,EAAMW,CAAG,EAC9BF,EAAQ,KAAKT,EAAMW,CAAG,EACtBX,EAAK,KAAK,kBAAoB,CAAC+D,EAAKC,EAAMhD,IAAWqR,EAAAA,gBAA2BrS,EAAM+D,CAAiB,CAC3G,CAAC,EAaM,SAAS3B,GAAO9B,EAAIkO,EAAU,GAAI,CACrC,OAAO8D,UAAaH,GAAW7R,EAAIkO,CAAO,CAC9C,CAEO,SAASlM,GAAYhC,EAAIU,EAAQ,CACpC,OAAOuR,EAAAA,aAAkBjS,EAAIU,CAAM,CACvC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs196.js"),a=require("./index.cjs275.js"),f=require("./index.cjs198.js"),w=require("./index.cjs309.js"),g=require("./index.cjs430.js"),v=require("./index.cjs424.js"),k=require("./index.cjs425.js"),P=require("./index.cjs426.js"),O=require("./index.cjs427.js"),B=require("./index.cjs428.js"),c=require("./index.cjs429.js"),F=require("./index.cjs485.js"),I=require("./index.cjs486.js"),m=require("./index.cjs205.js"),p=require("./index.cjs431.js"),u=require("./index.cjs418.js");class y{generalGcpsInternal;sourcePointsInternal;destinationPointsInternal;type;transformerOptions;forwardTransformation;backwardTransformation;constructor(r,n="polynomial",e){if(this.transformerOptions=f.mergeOptions(m.defaultGeneralGcpTransformerOptions,e),r.length===0)throw new Error("No control points");this.generalGcpsInternal=r,this.sourcePointsInternal=this.generalGcpsInternal.map(t=>{const i=this.transformerOptions.differentHandedness?a.flipY(t.source):t.source;return this.transformerOptions.preForward(i)}),this.destinationPointsInternal=this.generalGcpsInternal.map(t=>this.transformerOptions.preBackward(t.destination)),this.type=n}getForwardTransformationInternal(){return this.forwardTransformation||(this.forwardTransformation=this.createTransformation(this.sourcePointsInternal,this.destinationPointsInternal)),this.forwardTransformation}getBackwardTransformationInternal(){return this.backwardTransformation||(this.backwardTransformation=this.createTransformation(this.destinationPointsInternal,this.sourcePointsInternal)),this.backwardTransformation}createTransformation(r,n){if(this.type==="straight")return new g.Straight(r,n);if(this.type==="helmert")return new v.Helmert(r,n);if(this.type==="polynomial1"||this.type==="polynomial")return new k.Polynomial1(r,n);if(this.type==="polynomial2")return new P.Polynomial2(r,n);if(this.type==="polynomial3")return new O.Polynomial3(r,n);if(this.type==="projective")return new B.Projective(r,n);if(this.type==="thinPlateSpline")return new c.RBF(r,n,F.thinPlateKernel,I.euclideanNorm,"thinPlateSpline");if(this.type==="linear")return new c.RBF(r,n,F.linearKernel,I.euclideanNorm,"linear");throw new Error(`Unsupported transformation type: ${this.type}`)}transformForwardInternal(r,n,e=u.generalGcpToPointForForward){let t=f.mergeOptions(this.transformerOptions,n);if(this.isNonWarping()&&(t=f.mergeOptions(t,{maxDepth:0})),t.isMultiGeometry){if(t&&(t=f.mergeOptions(t,{isMultiGeometry:!1})),a.isMultiPoint(r))return r.map(i=>this.transformPointForwardInternal(i,t,e));if(a.isMultiLineString(r))return r.map(i=>this.transformLineStringForwardInternal(i,t,e));if(a.isMultiPolygon(r))return r.map(i=>this.transformPolygonForwardInternal(i,t,e));throw new Error("Geometry type not supported")}else{if(a.isPoint(r))return this.transformPointForwardInternal(r,t,e);if(a.isLineString(r))return this.transformLineStringForwardInternal(r,t,e);if(a.isPolygon(r))return this.transformPolygonForwardInternal(r,t,e);throw new Error("Geometry type not supported")}}transformBackwardInternal(r,n,e=u.generalGcpToPointForBackward){let t=f.mergeOptions(this.transformerOptions,n);if(this.isNonWarping()&&(t=f.mergeOptions(t,{maxDepth:0})),t.isMultiGeometry){if(t&&(t=f.mergeOptions(t,{isMultiGeometry:!1})),a.isMultiPoint(r))return r.map(i=>this.transformPointBackwardInternal(i,t,e));if(a.isMultiLineString(r))return r.map(i=>this.transformLineStringBackwardInternal(i,t,e));if(a.isMultiPolygon(r))return r.map(i=>this.transformPolygonBackwardInternal(i,t,e));throw new Error("Geometry type not supported")}else{if(a.isPoint(r))return this.transformPointBackwardInternal(r,t,e);if(a.isLineString(r))return this.transformLineStringBackwardInternal(r,t,e);if(a.isPolygon(r))return this.transformPolygonBackwardInternal(r,t,e);throw new Error("Geometry type not supported")}}transformPointForwardInternal(r,n,e=u.generalGcpToPointForForward){const t=this.getForwardTransformationInternal();let i=this.transformerOptions.differentHandedness?a.flipY(r):r;i=n.preForward(i);let o=t.evaluateFunction(i);o=n.postForward(o);let s,l,d=new Map;return n.distortionMeasures.length>0&&(s=t.evaluatePartialDerivativeX(i),l=t.evaluatePartialDerivativeY(i),d=w.computeDistortionsFromPartialDerivatives(n.distortionMeasures,s,l,n.referenceScale)),e({source:r,destination:o,partialDerivativeX:s,partialDerivativeY:l,distortions:d})}transformPointBackwardInternal(r,n,e=u.generalGcpToPointForBackward){const t=this.getBackwardTransformationInternal(),i=n.preBackward(r);let o=t.evaluateFunction(i);o=n.postBackward(o),o=this.transformerOptions.differentHandedness?a.flipY(o):o;let s,l,d=new Map;return n.distortionMeasures.length>0&&(s=t.evaluatePartialDerivativeX(i),s=this.transformerOptions.differentHandedness?a.flipY(s):s,l=t.evaluatePartialDerivativeY(i),l=this.transformerOptions.differentHandedness?a.flipY(l):l,d=w.computeDistortionsFromPartialDerivatives(n.distortionMeasures,s,l,n.referenceScale)),e({source:o,destination:i,partialDerivativeX:s,partialDerivativeY:l,distortions:d})}transformLineStringForwardInternal(r,n,e){return p.refineLineString(r,t=>this.transformPointForwardInternal(t,n),m.refinementOptionsFromForwardTransformOptions(n)).map(t=>e(t))}transformLineStringBackwardInternal(r,n,e){return p.refineLineString(r,t=>this.transformPointBackwardInternal(t,n),m.refinementOptionsFromBackwardTransformOptions(n)).map(t=>e(u.invertGeneralGcp(t)))}transformRingForwardInternal(r,n,e){return p.refineRing(r,t=>this.transformPointForwardInternal(t,n),m.refinementOptionsFromForwardTransformOptions(n)).map(t=>e(t))}transformRingBackwardInternal(r,n,e){return p.refineRing(r,t=>this.transformPointBackwardInternal(t,n),m.refinementOptionsFromBackwardTransformOptions(n)).map(t=>e(u.invertGeneralGcp(t)))}transformPolygonForwardInternal(r,n,e){return r.map(t=>this.transformRingForwardInternal(t,n,e))}transformPolygonBackwardInternal(r,n,e){return r.map(t=>this.transformRingBackwardInternal(t,n,e))}isNonWarping(){return this.transformerOptions.postForward===this.transformerOptions.preBackward&&this.transformerOptions.postBackward===this.transformerOptions.preForward&&m.nonWarpingTransformationTypes.includes(this.type)}getForwardTransformationResolutionInternal(r,n){const e=f.mergeOptions(this.transformerOptions,n);return r=r??h.computeBbox(this.sourcePointsInternal),p.getSourceRefinementResolution(r,t=>this.transformPointForwardInternal(t,e),m.refinementOptionsFromForwardTransformOptions(e))}getBackwardTransformationResolutionInternal(r,n){const e=f.mergeOptions(this.transformerOptions,n);return r=r??h.computeBbox(this.destinationPointsInternal),p.getSourceRefinementResolution(r,t=>this.transformPointBackwardInternal(t,e),m.refinementOptionsFromBackwardTransformOptions(e))}}exports.BaseGcpTransformer=y;
|
|
2
|
+
//# sourceMappingURL=index.cjs417.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs417.js","sources":["../../../node_modules/@allmaps/transform/dist/transformers/BaseGcpTransformer.js"],"sourcesContent":["import { isPoint, isLineString, isPolygon, isMultiPoint, isMultiLineString, isMultiPolygon, flipY, mergeOptions, computeBbox } from '@allmaps/stdlib';\nimport { computeDistortionsFromPartialDerivatives } from '../shared/distortion.js';\nimport { Straight } from '../transformation-types/Straight.js';\nimport { Helmert } from '../transformation-types/Helmert.js';\nimport { Polynomial1 } from '../transformation-types/Polynomial1.js';\nimport { Polynomial2 } from '../transformation-types/Polynomial2.js';\nimport { Polynomial3 } from '../transformation-types/Polynomial3.js';\nimport { Projective } from '../transformation-types/Projective.js';\nimport { RBF } from '../transformation-types/RBF.js';\nimport { linearKernel, thinPlateKernel } from '../shared/kernel-functions.js';\nimport { euclideanNorm } from '../shared/norm-functions.js';\nimport { defaultGeneralGcpTransformerOptions, nonWarpingTransformationTypes, refinementOptionsFromBackwardTransformOptions, refinementOptionsFromForwardTransformOptions } from '../shared/transform-functions.js';\nimport { refineLineString, refineRing, getSourceRefinementResolution } from '../shared/refinement-functions.js';\nimport { generalGcpToPointForForward, generalGcpToPointForBackward, invertGeneralGcp } from '../shared/conversion-functions.js';\n/**\n * Abstract class for Ground Control Point Transformers.\n *\n * This class contains all logic to transform geometries\n * made available trough the GeneralGcpTransform and GcpTransform classes.\n *\n * The extending GeneralGcpTransform class handles the general case where:\n * - We read in Ground Control Points using the GeneralGcp type, with `source` and `destination` fields.\n * - We use the terms 'forward' and 'backward' for the two transformations.\n * - Both source and destination space are exected to be 2D cartesian spaces with the same handedness (x- and y-axes have the same orientations).\n *\n * The extending GcpTransform class handles the typical Allmaps case where:\n * - We read in Ground Control Points using the Gcp type, with `resource` and `geo` fields.\n * - We use the terms 'toGeo' for the 'forward' transformation and 'toResource' for the 'backward' transformation.\n * - The `differentHandedness` setting is `true` by default, since we expect the resource coordinates to identify pixels on an image, with origin in the top left and the y-axis pointing down.\n * */\nexport class BaseGcpTransformer {\n generalGcpsInternal;\n sourcePointsInternal;\n destinationPointsInternal;\n type;\n transformerOptions;\n forwardTransformation;\n backwardTransformation;\n /**\n * Create a BaseGcpTransformer\n *\n * @param generalGcps - An array of General Ground Control Points (GCPs)\n * @param type - The transformation type\n * @param partialGeneralGcpTransformerOptions - General GCP Transformer options\n */ constructor(generalGcps, type = 'polynomial', partialGeneralGcpTransformerOptions) {\n this.transformerOptions = mergeOptions(defaultGeneralGcpTransformerOptions, partialGeneralGcpTransformerOptions);\n if (generalGcps.length === 0) {\n throw new Error('No control points');\n }\n this.generalGcpsInternal = generalGcps;\n this.sourcePointsInternal = this.generalGcpsInternal.map((generalGcp) => {\n const source = this.transformerOptions.differentHandedness\n ? flipY(generalGcp.source)\n : generalGcp.source;\n return this.transformerOptions.preForward(source);\n });\n this.destinationPointsInternal = this.generalGcpsInternal.map((generalGcp) => this.transformerOptions.preBackward(generalGcp.destination));\n this.type = type;\n }\n /**\n * Get the forward transformation. Create if it doesn't exist yet.\n */\n getForwardTransformationInternal() {\n if (!this.forwardTransformation) {\n this.forwardTransformation = this.createTransformation(this.sourcePointsInternal, this.destinationPointsInternal);\n }\n return this.forwardTransformation;\n }\n /**\n * Get the backward transformation. Create if it doesn't exist yet.\n */\n getBackwardTransformationInternal() {\n if (!this.backwardTransformation) {\n this.backwardTransformation = this.createTransformation(this.destinationPointsInternal, this.sourcePointsInternal);\n }\n return this.backwardTransformation;\n }\n /**\n * Create the (forward or backward) transformation.\n *\n * Results in forward transformation if source and destination points are entered as such.\n * Results in backward if source points are entered for destination points and vice versa.\n *\n * Results in a transformation of this instance's transformation type.\n *\n * @param sourcePoints - source points\n * @param destinationPoints - destination points\n * @returns Transformation\n */\n createTransformation(sourcePoints, destinationPoints) {\n if (this.type === 'straight') {\n return new Straight(sourcePoints, destinationPoints);\n }\n else if (this.type === 'helmert') {\n return new Helmert(sourcePoints, destinationPoints);\n }\n else if (this.type === 'polynomial1' || this.type === 'polynomial') {\n return new Polynomial1(sourcePoints, destinationPoints);\n }\n else if (this.type === 'polynomial2') {\n return new Polynomial2(sourcePoints, destinationPoints);\n }\n else if (this.type === 'polynomial3') {\n return new Polynomial3(sourcePoints, destinationPoints);\n }\n else if (this.type === 'projective') {\n return new Projective(sourcePoints, destinationPoints);\n }\n else if (this.type === 'thinPlateSpline') {\n return new RBF(sourcePoints, destinationPoints, thinPlateKernel, euclideanNorm, 'thinPlateSpline');\n }\n else if (this.type === 'linear') {\n return new RBF(sourcePoints, destinationPoints, linearKernel, euclideanNorm, 'linear');\n }\n else {\n throw new Error(`Unsupported transformation type: ${this.type}`);\n }\n }\n /**\n * Transform a geometry forward from source space to destination space\n *\n * @param sourceGeometry - Geometry to transform\n * @param partialGeneralGcpTransformOptions - General GCP Transform options\n * @param generalGcpToP - Return type function\n * @returns Forward transform of input geometry\n */\n transformForwardInternal(sourceGeometry, partialGeneralGcpTransformOptions, generalGcpToP = generalGcpToPointForForward) {\n let transformOptions = mergeOptions(this.transformerOptions, partialGeneralGcpTransformOptions);\n if (this.isNonWarping()) {\n transformOptions = mergeOptions(transformOptions, { maxDepth: 0 });\n }\n if (!transformOptions.isMultiGeometry) {\n if (isPoint(sourceGeometry)) {\n return this.transformPointForwardInternal(sourceGeometry, transformOptions, generalGcpToP);\n }\n else if (isLineString(sourceGeometry)) {\n return this.transformLineStringForwardInternal(sourceGeometry, transformOptions, generalGcpToP);\n }\n else if (isPolygon(sourceGeometry)) {\n return this.transformPolygonForwardInternal(sourceGeometry, transformOptions, generalGcpToP);\n }\n else {\n throw new Error('Geometry type not supported');\n }\n }\n else {\n if (transformOptions) {\n transformOptions = mergeOptions(transformOptions, {\n isMultiGeometry: false\n }); // false for piecewise single geometries\n }\n if (isMultiPoint(sourceGeometry)) {\n return sourceGeometry.map((sourcePoint) => this.transformPointForwardInternal(sourcePoint, transformOptions, generalGcpToP));\n }\n else if (isMultiLineString(sourceGeometry)) {\n return sourceGeometry.map((sourceLineString) => this.transformLineStringForwardInternal(sourceLineString, transformOptions, generalGcpToP));\n }\n else if (isMultiPolygon(sourceGeometry)) {\n return sourceGeometry.map((sourcePolygon) => this.transformPolygonForwardInternal(sourcePolygon, transformOptions, generalGcpToP));\n }\n else {\n throw new Error('Geometry type not supported');\n }\n }\n }\n /**\n * Transform a geometry backward from destination space to source space\n *\n * @param destinationGeometry - Geometry to transform\n * @param partialGeneralGcpTransformOptions - General GCP Transform options\n * @param generalGcpToP - Return type function\n * @returns Backward transform of input geometry\n */\n transformBackwardInternal(destinationGeometry, partialGeneralGcpTransformOptions, generalGcpToP = generalGcpToPointForBackward) {\n let transformOptions = mergeOptions(this.transformerOptions, partialGeneralGcpTransformOptions);\n if (this.isNonWarping()) {\n transformOptions = mergeOptions(transformOptions, { maxDepth: 0 });\n }\n if (!transformOptions.isMultiGeometry) {\n if (isPoint(destinationGeometry)) {\n return this.transformPointBackwardInternal(destinationGeometry, transformOptions, generalGcpToP);\n }\n else if (isLineString(destinationGeometry)) {\n return this.transformLineStringBackwardInternal(destinationGeometry, transformOptions, generalGcpToP);\n }\n else if (isPolygon(destinationGeometry)) {\n return this.transformPolygonBackwardInternal(destinationGeometry, transformOptions, generalGcpToP);\n }\n else {\n throw new Error('Geometry type not supported');\n }\n }\n else {\n if (transformOptions) {\n transformOptions = mergeOptions(transformOptions, {\n isMultiGeometry: false\n }); // false for piecewise single geometries\n }\n if (isMultiPoint(destinationGeometry)) {\n return destinationGeometry.map((destinationPoint) => this.transformPointBackwardInternal(destinationPoint, transformOptions, generalGcpToP));\n }\n else if (isMultiLineString(destinationGeometry)) {\n return destinationGeometry.map((destinationLineString) => this.transformLineStringBackwardInternal(destinationLineString, transformOptions, generalGcpToP));\n }\n else if (isMultiPolygon(destinationGeometry)) {\n return destinationGeometry.map((destinationPolygon) => this.transformPolygonBackwardInternal(destinationPolygon, transformOptions, generalGcpToP));\n }\n else {\n throw new Error('Geometry type not supported');\n }\n }\n }\n // Handle specific geometries\n transformPointForwardInternal(point, generalGcpTransformOptions, generalGcpToP = generalGcpToPointForForward) {\n const forwardTransformation = this.getForwardTransformationInternal();\n let source = this.transformerOptions.differentHandedness\n ? flipY(point)\n : point;\n source = generalGcpTransformOptions.preForward(source);\n let destination = forwardTransformation.evaluateFunction(source);\n destination = generalGcpTransformOptions.postForward(destination);\n let partialDerivativeX = undefined;\n let partialDerivativeY = undefined;\n let distortions = new Map();\n if (generalGcpTransformOptions.distortionMeasures.length > 0) {\n partialDerivativeX =\n forwardTransformation.evaluatePartialDerivativeX(source);\n partialDerivativeY =\n forwardTransformation.evaluatePartialDerivativeY(source);\n distortions = computeDistortionsFromPartialDerivatives(generalGcpTransformOptions.distortionMeasures, partialDerivativeX, partialDerivativeY, generalGcpTransformOptions.referenceScale);\n }\n return generalGcpToP({\n source: point, // don't apply differentHandedness here, this is only internally.\n destination,\n partialDerivativeX,\n partialDerivativeY,\n distortions\n });\n }\n transformPointBackwardInternal(point, generalGcpTransformOptions, generalGcpToP = generalGcpToPointForBackward) {\n const backwardTransformation = this.getBackwardTransformationInternal();\n const destination = generalGcpTransformOptions.preBackward(point);\n let source = backwardTransformation.evaluateFunction(destination);\n // apply differentHandedness here again, so it has been applied twice in total and is undone now.\n source = generalGcpTransformOptions.postBackward(source);\n source = this.transformerOptions.differentHandedness\n ? flipY(source)\n : source;\n let partialDerivativeX = undefined;\n let partialDerivativeY = undefined;\n let distortions = new Map();\n if (generalGcpTransformOptions.distortionMeasures.length > 0) {\n partialDerivativeX =\n backwardTransformation.evaluatePartialDerivativeX(destination);\n partialDerivativeX = this.transformerOptions.differentHandedness\n ? flipY(partialDerivativeX)\n : partialDerivativeX;\n partialDerivativeY =\n backwardTransformation.evaluatePartialDerivativeY(destination);\n partialDerivativeY = this.transformerOptions.differentHandedness\n ? flipY(partialDerivativeY)\n : partialDerivativeY;\n distortions = computeDistortionsFromPartialDerivatives(generalGcpTransformOptions.distortionMeasures, partialDerivativeX, partialDerivativeY, generalGcpTransformOptions.referenceScale);\n }\n return generalGcpToP({\n source,\n destination,\n partialDerivativeX,\n partialDerivativeY,\n distortions\n });\n }\n transformLineStringForwardInternal(lineString, generalGcpTransformOptions, generalGcpToP) {\n return refineLineString(lineString, (p) => this.transformPointForwardInternal(p, generalGcpTransformOptions), refinementOptionsFromForwardTransformOptions(generalGcpTransformOptions)).map((generalGcp) => generalGcpToP(generalGcp));\n }\n transformLineStringBackwardInternal(lineString, generalGcpTransformOptions, generalGcpToP) {\n return refineLineString(lineString, (p) => this.transformPointBackwardInternal(p, generalGcpTransformOptions), refinementOptionsFromBackwardTransformOptions(generalGcpTransformOptions)).map((generalGcp) => generalGcpToP(invertGeneralGcp(generalGcp)));\n }\n transformRingForwardInternal(ring, generalGcpTransformOptions, generalGcpToP) {\n return refineRing(ring, (p) => this.transformPointForwardInternal(p, generalGcpTransformOptions), refinementOptionsFromForwardTransformOptions(generalGcpTransformOptions)).map((generalGcp) => generalGcpToP(generalGcp));\n }\n transformRingBackwardInternal(ring, generalGcpTransformOptions, generalGcpToP) {\n return refineRing(ring, (p) => this.transformPointBackwardInternal(p, generalGcpTransformOptions), refinementOptionsFromBackwardTransformOptions(generalGcpTransformOptions)).map((generalGcp) => generalGcpToP(invertGeneralGcp(generalGcp)));\n }\n transformPolygonForwardInternal(polygon, generalGcpTransformOptions, generalGcpToP) {\n return polygon.map((ring) => {\n return this.transformRingForwardInternal(ring, generalGcpTransformOptions, generalGcpToP);\n });\n }\n transformPolygonBackwardInternal(polygon, generalGcpTransformOptions, generalGcpToP) {\n return polygon.map((ring) => {\n return this.transformRingBackwardInternal(ring, generalGcpTransformOptions, generalGcpToP);\n });\n }\n isNonWarping() {\n return (this.transformerOptions.postForward ===\n this.transformerOptions.preBackward &&\n this.transformerOptions.postBackward ===\n this.transformerOptions.preForward &&\n nonWarpingTransformationTypes.includes(this.type));\n }\n getForwardTransformationResolutionInternal(sourceBbox, partialGeneralGcpTransformOptions) {\n const transformOptions = mergeOptions(this.transformerOptions, partialGeneralGcpTransformOptions);\n sourceBbox = sourceBbox ?? computeBbox(this.sourcePointsInternal);\n return getSourceRefinementResolution(sourceBbox, (p) => this.transformPointForwardInternal(p, transformOptions), refinementOptionsFromForwardTransformOptions(transformOptions));\n }\n getBackwardTransformationResolutionInternal(destinationBbox, partialGeneralGcpTransformOptions) {\n const transformOptions = mergeOptions(this.transformerOptions, partialGeneralGcpTransformOptions);\n destinationBbox =\n destinationBbox ?? computeBbox(this.destinationPointsInternal);\n return getSourceRefinementResolution(destinationBbox, (p) => this.transformPointBackwardInternal(p, transformOptions), refinementOptionsFromBackwardTransformOptions(transformOptions));\n }\n}\n"],"names":["BaseGcpTransformer","generalGcps","type","partialGeneralGcpTransformerOptions","mergeOptions","defaultGeneralGcpTransformerOptions","generalGcp","source","flipY","sourcePoints","destinationPoints","Straight","Helmert","Polynomial1","Polynomial2","Polynomial3","Projective","RBF","thinPlateKernel","euclideanNorm","linearKernel","sourceGeometry","partialGeneralGcpTransformOptions","generalGcpToP","generalGcpToPointForForward","transformOptions","isMultiPoint","sourcePoint","isMultiLineString","sourceLineString","isMultiPolygon","sourcePolygon","isPoint","isLineString","isPolygon","destinationGeometry","generalGcpToPointForBackward","destinationPoint","destinationLineString","destinationPolygon","point","generalGcpTransformOptions","forwardTransformation","destination","partialDerivativeX","partialDerivativeY","distortions","computeDistortionsFromPartialDerivatives","backwardTransformation","lineString","refineLineString","p","refinementOptionsFromForwardTransformOptions","refinementOptionsFromBackwardTransformOptions","invertGeneralGcp","ring","refineRing","polygon","nonWarpingTransformationTypes","sourceBbox","computeBbox","getSourceRefinementResolution","destinationBbox"],"mappings":"skBA8BO,MAAMA,CAAmB,CAC5B,oBACA,qBACA,0BACA,KACA,mBACA,sBACA,uBAOI,YAAYC,EAAaC,EAAO,aAAcC,EAAqC,CAEnF,GADA,K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xC,EAAmC,CAC5F,MAAMG,EAAmBrB,EAAAA,aAAa,KAAK,mBAAoBkB,CAAiC,EAChG,OAAAwC,EACIA,GAAmBF,cAAY,KAAK,yBAAyB,EAC1DC,gCAA8BC,EAAkBX,GAAM,KAAK,+BAA+BA,EAAG1B,CAAgB,EAAG4B,EAAAA,8CAA8C5B,CAAgB,CAAC,CAC1L,CACJ","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(o){return{source:o.destination,destination:o.source}}function t(o){return o.destination}function i(o){return o.source}function e(o){return o.geo}function n(o){return o.resource}function a(o){return{resource:o.source,geo:o.destination,partialDerivativeX:o.partialDerivativeX,partialDerivativeY:o.partialDerivativeY,distortions:o.distortions,distortion:o.distortion}}function s(o){return{source:o.resource,destination:o.geo,partialDerivativeX:o.partialDerivativeX,partialDerivativeY:o.partialDerivativeY,distortions:o.distortions,distortion:o.distortion}}exports.gcpToGeneralGcp=s;exports.gcpToPointForToGeo=e;exports.gcpToPointForToResource=n;exports.generalGcpToGcp=a;exports.generalGcpToPointForBackward=i;exports.generalGcpToPointForForward=t;exports.invertGeneralGcp=r;
|
|
2
|
+
//# sourceMappingURL=index.cjs418.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs418.js","sources":["../../../node_modules/@allmaps/transform/dist/shared/conversion-functions.js"],"sourcesContent":["// Invert\nexport function invertGeneralGcp(generalGcp) {\n return { source: generalGcp.destination, destination: generalGcp.source };\n}\nexport function invertGcp(gcp) {\n return { resource: gcp.geo, geo: gcp.resource };\n}\n// Select\nexport function generalGcpToPointForForward(generalGcp) {\n return generalGcp.destination;\n}\nexport function generalGcpToPointForBackward(generalGcp) {\n return generalGcp.source;\n}\nexport function gcpToPointForToGeo(gcp) {\n return gcp.geo;\n}\nexport function gcpToPointForToResource(gcp) {\n return gcp.resource;\n}\n// GeneralGcp <> G\nexport function generalGcpToGcp(generalGcp) {\n return {\n resource: generalGcp.source,\n geo: generalGcp.destination,\n partialDerivativeX: generalGcp.partialDerivativeX,\n partialDerivativeY: generalGcp.partialDerivativeY,\n distortions: generalGcp.distortions,\n distortion: generalGcp.distortion\n };\n}\nexport function gcpToGeneralGcp(gcp) {\n return {\n source: gcp.resource,\n destination: gcp.geo,\n partialDerivativeX: gcp.partialDerivativeX,\n partialDerivativeY: gcp.partialDerivativeY,\n distortions: gcp.distortions,\n distortion: gcp.distortion\n };\n}\n// TransformationType\n// TODO: implement this as a separate, callable function in @allmaps/annotation?\nexport function transformationTypeToTypeAndOrder(transformationType) {\n if (transformationType === 'polynomial' ||\n transformationType === 'polynomial1') {\n return {\n type: 'polynomial',\n options: {\n order: 1\n }\n };\n }\n else if (transformationType === 'polynomial2') {\n return {\n type: 'polynomial',\n options: {\n order: 2\n }\n };\n }\n else if (transformationType === 'polynomial3') {\n return {\n type: 'polynomial',\n options: {\n order: 3\n }\n };\n }\n else {\n return {\n type: transformationType\n };\n }\n}\nexport function typeAndOrderToTransformationType(transformation) {\n const type = transformation.type;\n const order = transformation.options?.order;\n let transformationType;\n if (type == 'polynomial1' || type === 'polynomial') {\n transformationType = 'polynomial1';\n }\n else if (type == 'polynomial2' || (type === 'polynomial' && order === 2)) {\n transformationType = 'polynomial2';\n }\n else if (type == 'polynomial3' || (type === 'polynomial' && order === 3)) {\n transformationType = 'polynomial3';\n }\n else if (type === 'thinPlateSpline') {\n transformationType = type;\n }\n else if (type === 'linear') {\n transformationType = type;\n }\n else if (type === 'helmert') {\n transformationType = type;\n }\n else if (type === 'projective') {\n transformationType = type;\n }\n else {\n throw new Error('Unrecognised transformationType.');\n }\n return transformationType;\n}\n"],"names":["invertGeneralGcp","generalGcp","generalGcpToPointForForward","generalGcpToPointForBackward","gcpToPointForToGeo","gcp","gcpToPointForToResource","generalGcpToGcp","gcpToGeneralGcp"],"mappings":"gFACO,SAASA,EAAiBC,EAAY,CACzC,MAAO,CAAE,OAAQA,EAAW,YAAa,YAAaA,EAAW,MAAA,CACrE,CAKO,SAASC,EAA4BD,EAAY,CACpD,OAAOA,EAAW,WACtB,CACO,SAASE,EAA6BF,EAAY,CACrD,OAAOA,EAAW,MACtB,CACO,SAASG,EAAmBC,EAAK,CACpC,OAAOA,EAAI,GACf,CACO,SAASC,EAAwBD,EAAK,CACzC,OAAOA,EAAI,QACf,CAEO,SAASE,EAAgBN,EAAY,CACxC,MAAO,CACH,SAAUA,EAAW,OACrB,IAAKA,EAAW,YAChB,mBAAoBA,EAAW,mBAC/B,mBAAoBA,EAAW,mBAC/B,YAAaA,EAAW,YACxB,WAAYA,EAAW,UAAA,CAE/B,CACO,SAASO,EAAgBH,EAAK,CACjC,MAAO,CACH,OAAQA,EAAI,SACZ,YAAaA,EAAI,IACjB,mBAAoBA,EAAI,mBACxB,mBAAoBA,EAAI,mBACxB,YAAaA,EAAI,YACjB,WAAYA,EAAI,UAAA,CAExB","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs420.js");class o extends n.BaseLinearWeightsTransformation{constructor(e,r,t,s){super(e,r,t,s)}getCoefsArrayMatrices(){const e=this.getCoefsArrayMatrix();return[e,e]}getSourcePointCoefsArrays(e){const r=this.getSourcePointCoefsArray(e);return[r,r]}}exports.BaseIndependentLinearWeightsTransformation=o;
|
|
2
|
+
//# sourceMappingURL=index.cjs419.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs419.js","sources":["../../../node_modules/@allmaps/transform/dist/transformation-types/BaseIndependentLinearWeightsTransformation.js"],"sourcesContent":["import { BaseLinearWeightsTransformation } from './BaseLinearWeightsTransformation.js';\n/**\n * Base class for transformation that are a linear combination of weights,\n * where the system of equations for x and y are independent and can hence be solved separately.\n */\nexport class BaseIndependentLinearWeightsTransformation extends BaseLinearWeightsTransformation {\n constructor(sourcePoints, destinationPoints, type, pointCountMinimum) {\n super(sourcePoints, destinationPoints, type, pointCountMinimum);\n }\n getCoefsArrayMatrices() {\n const coefsArrayMatrix = this.getCoefsArrayMatrix();\n return [coefsArrayMatrix, coefsArrayMatrix];\n }\n getSourcePointCoefsArrays(sourcePoint) {\n const sourcePointCoefsArray = this.getSourcePointCoefsArray(sourcePoint);\n return [sourcePointCoefsArray, sourcePointCoefsArray];\n }\n}\n"],"names":["BaseIndependentLinearWeightsTransformation","BaseLinearWeightsTransformation","sourcePoints","destinationPoints","type","pointCountMinimum","coefsArrayMatrix","sourcePoint","sourcePointCoefsArray"],"mappings":"qHAKO,MAAMA,UAAmDC,EAAAA,+BAAgC,CAC5F,YAAYC,EAAcC,EAAmBC,EAAMC,EAAmB,CAClE,MAAMH,EAAcC,EAAmBC,EAAMC,CAAiB,CAClE,CACA,uBAAwB,CACpB,MAAMC,EAAmB,KAAK,oBAAA,EAC9B,MAAO,CAACA,EAAkBA,CAAgB,CAC9C,CACA,0BAA0BC,EAAa,CACnC,MAAMC,EAAwB,KAAK,yBAAyBD,CAAW,EACvE,MAAO,CAACC,EAAuBA,CAAqB,CACxD,CACJ","x_google_ignoreList":[0]}
|
package/dist/index.cjs42.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs225.js"),t=require("./index.cjs39.js"),e=require("./index.cjs231.js"),i=t.isIE11?e.ie11fingerprint(e.mapMethods):r("Map");module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs42.js.map
|