@performant-software/geospatial 3.1.28 → 3.1.30-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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.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.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 +7 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs273.js +1 -1
- package/dist/index.cjs273.js.map +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs274.js.map +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs276.js +2 -0
- package/dist/index.cjs276.js.map +1 -0
- package/dist/index.cjs277.js +2 -0
- package/dist/index.cjs277.js.map +1 -0
- package/dist/index.cjs278.js +2 -0
- package/dist/index.cjs278.js.map +1 -0
- package/dist/index.cjs279.js +2 -0
- package/dist/index.cjs279.js.map +1 -0
- package/dist/index.cjs280.js +2 -0
- package/dist/index.cjs280.js.map +1 -0
- package/dist/index.cjs281.js +2 -0
- package/dist/index.cjs281.js.map +1 -0
- package/dist/index.cjs282.js +2 -0
- package/dist/index.cjs282.js.map +1 -0
- package/dist/index.cjs283.js +2 -0
- package/dist/index.cjs283.js.map +1 -0
- package/dist/index.cjs284.js +2 -0
- package/dist/index.cjs284.js.map +1 -0
- package/dist/index.cjs285.js +2 -0
- package/dist/index.cjs285.js.map +1 -0
- package/dist/index.cjs286.js +2 -0
- package/dist/index.cjs286.js.map +1 -0
- package/dist/index.cjs287.js +2 -0
- package/dist/index.cjs287.js.map +1 -0
- package/dist/index.cjs288.js +2 -0
- package/dist/index.cjs288.js.map +1 -0
- package/dist/index.cjs289.js +2 -0
- package/dist/index.cjs289.js.map +1 -0
- package/dist/index.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 +2 -0
- package/dist/index.cjs300.js.map +1 -0
- package/dist/index.cjs301.js +2 -0
- package/dist/index.cjs301.js.map +1 -0
- package/dist/index.cjs302.js +2 -0
- package/dist/index.cjs302.js.map +1 -0
- package/dist/index.cjs303.js +2 -0
- package/dist/index.cjs303.js.map +1 -0
- package/dist/index.cjs304.js +2 -0
- package/dist/index.cjs304.js.map +1 -0
- package/dist/index.cjs305.js +2 -0
- package/dist/index.cjs305.js.map +1 -0
- package/dist/index.cjs306.js +2 -0
- package/dist/index.cjs306.js.map +1 -0
- package/dist/index.cjs307.js +2 -0
- package/dist/index.cjs307.js.map +1 -0
- package/dist/index.cjs308.js +47 -0
- package/dist/index.cjs308.js.map +1 -0
- package/dist/index.cjs309.js +212 -0
- package/dist/index.cjs309.js.map +1 -0
- package/dist/index.cjs310.js +62 -0
- package/dist/index.cjs310.js.map +1 -0
- package/dist/index.cjs311.js +60 -0
- package/dist/index.cjs311.js.map +1 -0
- package/dist/index.cjs312.js +46 -0
- package/dist/index.cjs312.js.map +1 -0
- package/dist/index.cjs313.js +52 -0
- package/dist/index.cjs313.js.map +1 -0
- package/dist/index.cjs314.js +308 -0
- package/dist/index.cjs314.js.map +1 -0
- package/dist/index.cjs315.js +293 -0
- package/dist/index.cjs315.js.map +1 -0
- package/dist/index.cjs316.js +6 -0
- package/dist/index.cjs316.js.map +1 -0
- package/dist/index.cjs317.js +2 -0
- package/dist/index.cjs317.js.map +1 -0
- package/dist/index.cjs318.js +2 -0
- package/dist/index.cjs318.js.map +1 -0
- package/dist/index.cjs319.js +2 -0
- package/dist/index.cjs319.js.map +1 -0
- package/dist/index.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 +5 -0
- package/dist/index.cjs334.js.map +1 -0
- package/dist/index.cjs335.js +6 -0
- package/dist/index.cjs335.js.map +1 -0
- package/dist/index.cjs336.js +2 -0
- package/dist/index.cjs336.js.map +1 -0
- package/dist/index.cjs337.js +2 -0
- package/dist/index.cjs337.js.map +1 -0
- package/dist/index.cjs338.js +2 -0
- package/dist/index.cjs338.js.map +1 -0
- package/dist/index.cjs339.js +2 -0
- package/dist/index.cjs339.js.map +1 -0
- package/dist/index.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 +2 -0
- package/dist/index.cjs344.js.map +1 -0
- package/dist/index.cjs345.js +2 -0
- package/dist/index.cjs345.js.map +1 -0
- package/dist/index.cjs346.js +2 -0
- package/dist/index.cjs346.js.map +1 -0
- package/dist/index.cjs347.js +2 -0
- package/dist/index.cjs347.js.map +1 -0
- package/dist/index.cjs348.js +5 -0
- package/dist/index.cjs348.js.map +1 -0
- package/dist/index.cjs349.js +2 -0
- package/dist/index.cjs349.js.map +1 -0
- package/dist/index.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 +2 -0
- package/dist/index.cjs544.js.map +1 -0
- package/dist/index.cjs545.js +2 -0
- package/dist/index.cjs545.js.map +1 -0
- package/dist/index.cjs546.js +2 -0
- package/dist/index.cjs546.js.map +1 -0
- package/dist/index.cjs547.js +2 -0
- package/dist/index.cjs547.js.map +1 -0
- package/dist/index.cjs548.js +2 -0
- package/dist/index.cjs548.js.map +1 -0
- package/dist/index.cjs549.js +2 -0
- package/dist/index.cjs549.js.map +1 -0
- package/dist/index.cjs550.js +2 -0
- package/dist/index.cjs550.js.map +1 -0
- package/dist/index.cjs551.js +2 -0
- package/dist/index.cjs551.js.map +1 -0
- package/dist/index.cjs552.js +2 -0
- package/dist/index.cjs552.js.map +1 -0
- package/dist/index.cjs553.js +2 -0
- package/dist/index.cjs553.js.map +1 -0
- package/dist/index.cjs554.js +2 -0
- package/dist/index.cjs554.js.map +1 -0
- package/dist/index.cjs555.js +2 -0
- package/dist/index.cjs555.js.map +1 -0
- package/dist/index.cjs556.js +2 -0
- package/dist/index.cjs556.js.map +1 -0
- package/dist/index.cjs557.js +2 -0
- package/dist/index.cjs557.js.map +1 -0
- package/dist/index.cjs558.js +2 -0
- package/dist/index.cjs558.js.map +1 -0
- package/dist/index.cjs559.js +2 -0
- package/dist/index.cjs559.js.map +1 -0
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs560.js +2 -0
- package/dist/index.cjs560.js.map +1 -0
- package/dist/index.cjs561.js +9 -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 +4 -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 +61 -0
- package/dist/index.cjs610.js.map +1 -0
- package/dist/index.cjs611.js +2 -0
- package/dist/index.cjs611.js.map +1 -0
- package/dist/index.cjs612.js +2 -0
- package/dist/index.cjs612.js.map +1 -0
- package/dist/index.cjs613.js +2 -0
- package/dist/index.cjs613.js.map +1 -0
- package/dist/index.cjs614.js +2 -0
- package/dist/index.cjs614.js.map +1 -0
- package/dist/index.cjs615.js +2 -0
- package/dist/index.cjs615.js.map +1 -0
- package/dist/index.cjs616.js +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 +2 -0
- package/dist/index.cjs619.js.map +1 -0
- package/dist/index.cjs620.js +2 -0
- package/dist/index.cjs620.js.map +1 -0
- package/dist/index.cjs621.js +2 -0
- package/dist/index.cjs621.js.map +1 -0
- package/dist/index.cjs622.js +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 +4 -0
- package/dist/index.cjs628.js.map +1 -0
- package/dist/index.cjs629.js +2 -0
- package/dist/index.cjs629.js.map +1 -0
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs630.js +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 +1 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +9 -1
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.cjs82.js +17 -1
- package/dist/index.cjs82.js.map +1 -1
- package/dist/index.cjs83.js +743 -1
- package/dist/index.cjs83.js.map +1 -1
- package/dist/index.cjs84.js +1 -9
- 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.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 +5 -5
- 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 +201 -16
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +28 -145
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +8 -6
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +7 -5
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +7 -3
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +2 -2
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +3 -38
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +38 -3
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +3 -25
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +25 -2
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +1 -2
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +2 -1
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +2 -33
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +31 -13
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +11 -12
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +13 -8
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es210.js +8 -242
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +60 -41
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +63 -3
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +36 -10
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +476 -10
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +164 -30
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +71 -13
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +49 -4
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +379 -7
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +18 -6
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +124 -4
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +355 -3
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +218 -3
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +23 -9
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +58 -18
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +104 -19
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +29 -13
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +29 -15
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +96 -5
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +35 -8
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es230.js +18 -7
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +52 -21
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +7 -10
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +527 -9
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +26 -4
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +7 -10
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +4 -7
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +4 -21
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +3 -11
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +3 -18
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +8 -3
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +17 -16
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +19 -10
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +12 -3
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +14 -4
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +5 -7506
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +8 -2
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +6 -20
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +21 -22
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +10 -3
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es250.js +9 -8
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +4 -6
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +10 -24
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +7 -16
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +20 -30
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +10 -21
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +16 -73
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +4 -21
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +16 -39
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +11 -49
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +3 -7
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +4 -20
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +242 -65
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +40 -40
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +3 -64
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +9 -7
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +10 -3
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +29 -11
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +12 -58
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +4 -49
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es270.js +22 -2
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +19 -68
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +7506 -4
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +2 -16
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +271 -3
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +3 -25
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +9 -0
- package/dist/index.es276.js.map +1 -0
- package/dist/index.es277.js +11 -0
- package/dist/index.es277.js.map +1 -0
- package/dist/index.es278.js +24 -0
- package/dist/index.es278.js.map +1 -0
- package/dist/index.es279.js +26 -0
- package/dist/index.es279.js.map +1 -0
- package/dist/index.es280.js +28 -0
- package/dist/index.es280.js.map +1 -0
- package/dist/index.es281.js +20 -0
- package/dist/index.es281.js.map +1 -0
- package/dist/index.es282.js +34 -0
- package/dist/index.es282.js.map +1 -0
- package/dist/index.es283.js +25 -0
- package/dist/index.es283.js.map +1 -0
- package/dist/index.es284.js +78 -0
- package/dist/index.es284.js.map +1 -0
- package/dist/index.es285.js +24 -0
- package/dist/index.es285.js.map +1 -0
- package/dist/index.es286.js +44 -0
- package/dist/index.es286.js.map +1 -0
- package/dist/index.es287.js +53 -0
- package/dist/index.es287.js.map +1 -0
- package/dist/index.es288.js +11 -0
- package/dist/index.es288.js.map +1 -0
- package/dist/index.es289.js +24 -0
- package/dist/index.es289.js.map +1 -0
- package/dist/index.es29.js +2 -2
- package/dist/index.es290.js +69 -0
- package/dist/index.es290.js.map +1 -0
- package/dist/index.es291.js +46 -0
- package/dist/index.es291.js.map +1 -0
- package/dist/index.es292.js +67 -0
- package/dist/index.es292.js.map +1 -0
- package/dist/index.es293.js +12 -0
- package/dist/index.es293.js.map +1 -0
- package/dist/index.es294.js +7 -0
- package/dist/index.es294.js.map +1 -0
- package/dist/index.es295.js +16 -0
- package/dist/index.es295.js.map +1 -0
- package/dist/index.es296.js +63 -0
- package/dist/index.es296.js.map +1 -0
- package/dist/index.es297.js +53 -0
- package/dist/index.es297.js.map +1 -0
- package/dist/index.es298.js +418 -0
- package/dist/index.es298.js.map +1 -0
- package/dist/index.es299.js +80 -0
- package/dist/index.es299.js.map +1 -0
- package/dist/index.es300.js +246 -0
- package/dist/index.es300.js.map +1 -0
- package/dist/index.es301.js +33 -0
- package/dist/index.es301.js.map +1 -0
- package/dist/index.es302.js +157 -0
- package/dist/index.es302.js.map +1 -0
- package/dist/index.es303.js +21 -0
- package/dist/index.es303.js.map +1 -0
- package/dist/index.es304.js +17 -0
- package/dist/index.es304.js.map +1 -0
- package/dist/index.es305.js +565 -0
- package/dist/index.es305.js.map +1 -0
- package/dist/index.es306.js +354 -0
- package/dist/index.es306.js.map +1 -0
- package/dist/index.es307.js +67 -0
- package/dist/index.es307.js.map +1 -0
- package/dist/index.es308.js +50 -0
- package/dist/index.es308.js.map +1 -0
- package/dist/index.es309.js +215 -0
- package/dist/index.es309.js.map +1 -0
- package/dist/index.es310.js +65 -0
- package/dist/index.es310.js.map +1 -0
- package/dist/index.es311.js +63 -0
- package/dist/index.es311.js.map +1 -0
- package/dist/index.es312.js +49 -0
- package/dist/index.es312.js.map +1 -0
- package/dist/index.es313.js +55 -0
- package/dist/index.es313.js.map +1 -0
- package/dist/index.es314.js +329 -0
- package/dist/index.es314.js.map +1 -0
- package/dist/index.es315.js +314 -0
- package/dist/index.es315.js.map +1 -0
- package/dist/index.es316.js +259 -0
- package/dist/index.es316.js.map +1 -0
- package/dist/index.es317.js +60 -0
- package/dist/index.es317.js.map +1 -0
- package/dist/index.es318.js +20 -0
- package/dist/index.es318.js.map +1 -0
- package/dist/index.es319.js +30 -0
- package/dist/index.es319.js.map +1 -0
- package/dist/index.es32.js +2 -2
- package/dist/index.es320.js +218 -0
- package/dist/index.es320.js.map +1 -0
- package/dist/index.es321.js +204 -0
- package/dist/index.es321.js.map +1 -0
- package/dist/index.es322.js +9 -0
- package/dist/index.es322.js.map +1 -0
- package/dist/index.es323.js +89 -0
- package/dist/index.es323.js.map +1 -0
- package/dist/index.es324.js +62 -0
- package/dist/index.es324.js.map +1 -0
- package/dist/index.es325.js +17 -0
- package/dist/index.es325.js.map +1 -0
- package/dist/index.es326.js +107 -0
- package/dist/index.es326.js.map +1 -0
- package/dist/index.es327.js +19 -0
- package/dist/index.es327.js.map +1 -0
- package/dist/index.es328.js +204 -0
- package/dist/index.es328.js.map +1 -0
- package/dist/index.es329.js +30 -0
- package/dist/index.es329.js.map +1 -0
- package/dist/index.es330.js +132 -0
- package/dist/index.es330.js.map +1 -0
- package/dist/index.es331.js +20 -0
- package/dist/index.es331.js.map +1 -0
- package/dist/index.es332.js +8 -0
- package/dist/index.es332.js.map +1 -0
- package/dist/index.es333.js +69 -0
- package/dist/index.es333.js.map +1 -0
- package/dist/index.es334.js +164 -0
- package/dist/index.es334.js.map +1 -0
- package/dist/index.es335.js +142 -0
- package/dist/index.es335.js.map +1 -0
- package/dist/index.es336.js +6 -0
- package/dist/index.es336.js.map +1 -0
- package/dist/index.es337.js +19 -0
- package/dist/index.es337.js.map +1 -0
- package/dist/index.es338.js +73 -0
- package/dist/index.es338.js.map +1 -0
- package/dist/index.es339.js +8 -0
- package/dist/index.es339.js.map +1 -0
- package/dist/index.es34.js +2 -2
- package/dist/index.es340.js +31 -0
- package/dist/index.es340.js.map +1 -0
- package/dist/index.es341.js +65 -0
- package/dist/index.es341.js.map +1 -0
- package/dist/index.es342.js +47 -0
- package/dist/index.es342.js.map +1 -0
- package/dist/index.es343.js +25 -0
- package/dist/index.es343.js.map +1 -0
- package/dist/index.es344.js +11 -0
- package/dist/index.es344.js.map +1 -0
- package/dist/index.es345.js +40 -0
- package/dist/index.es345.js.map +1 -0
- package/dist/index.es346.js +132 -0
- package/dist/index.es346.js.map +1 -0
- package/dist/index.es347.js +48 -0
- package/dist/index.es347.js.map +1 -0
- package/dist/index.es348.js +223 -0
- package/dist/index.es348.js.map +1 -0
- package/dist/index.es349.js +40 -0
- package/dist/index.es349.js.map +1 -0
- package/dist/index.es35.js +2 -2
- package/dist/index.es350.js +251 -0
- package/dist/index.es350.js.map +1 -0
- package/dist/index.es351.js +30 -0
- package/dist/index.es351.js.map +1 -0
- package/dist/index.es352.js +7 -0
- package/dist/index.es352.js.map +1 -0
- package/dist/index.es353.js +286 -0
- package/dist/index.es353.js.map +1 -0
- package/dist/index.es354.js +63 -0
- package/dist/index.es354.js.map +1 -0
- package/dist/index.es355.js +54 -0
- package/dist/index.es355.js.map +1 -0
- package/dist/index.es356.js +7 -0
- package/dist/index.es356.js.map +1 -0
- package/dist/index.es357.js +28 -0
- package/dist/index.es357.js.map +1 -0
- package/dist/index.es358.js +48 -0
- package/dist/index.es358.js.map +1 -0
- package/dist/index.es359.js +13 -0
- package/dist/index.es359.js.map +1 -0
- package/dist/index.es360.js +35 -0
- package/dist/index.es360.js.map +1 -0
- package/dist/index.es361.js +31 -0
- package/dist/index.es361.js.map +1 -0
- package/dist/index.es362.js +1360 -0
- package/dist/index.es362.js.map +1 -0
- package/dist/index.es363.js +9 -0
- package/dist/index.es363.js.map +1 -0
- package/dist/index.es364.js +12 -0
- package/dist/index.es364.js.map +1 -0
- package/dist/index.es365.js +10 -0
- package/dist/index.es365.js.map +1 -0
- package/dist/index.es366.js +120 -0
- package/dist/index.es366.js.map +1 -0
- package/dist/index.es367.js +105 -0
- package/dist/index.es367.js.map +1 -0
- package/dist/index.es368.js +23 -0
- package/dist/index.es368.js.map +1 -0
- package/dist/index.es369.js +95 -0
- package/dist/index.es369.js.map +1 -0
- package/dist/index.es370.js +68 -0
- package/dist/index.es370.js.map +1 -0
- package/dist/index.es371.js +16 -0
- package/dist/index.es371.js.map +1 -0
- package/dist/index.es372.js +61 -0
- package/dist/index.es372.js.map +1 -0
- package/dist/index.es373.js +55 -0
- package/dist/index.es373.js.map +1 -0
- package/dist/index.es374.js +23 -0
- package/dist/index.es374.js.map +1 -0
- package/dist/index.es375.js +34 -0
- package/dist/index.es375.js.map +1 -0
- package/dist/index.es376.js +47 -0
- package/dist/index.es376.js.map +1 -0
- package/dist/index.es377.js +35 -0
- package/dist/index.es377.js.map +1 -0
- package/dist/index.es378.js +59 -0
- package/dist/index.es378.js.map +1 -0
- package/dist/index.es379.js +62 -0
- package/dist/index.es379.js.map +1 -0
- package/dist/index.es38.js +1 -1
- package/dist/index.es380.js +32 -0
- package/dist/index.es380.js.map +1 -0
- package/dist/index.es381.js +53 -0
- package/dist/index.es381.js.map +1 -0
- package/dist/index.es382.js +128 -0
- package/dist/index.es382.js.map +1 -0
- package/dist/index.es383.js +44 -0
- package/dist/index.es383.js.map +1 -0
- package/dist/index.es384.js +29 -0
- package/dist/index.es384.js.map +1 -0
- package/dist/index.es385.js +37 -0
- package/dist/index.es385.js.map +1 -0
- package/dist/index.es386.js +28 -0
- package/dist/index.es386.js.map +1 -0
- package/dist/index.es387.js +69 -0
- package/dist/index.es387.js.map +1 -0
- package/dist/index.es388.js +49 -0
- package/dist/index.es388.js.map +1 -0
- package/dist/index.es389.js +27 -0
- package/dist/index.es389.js.map +1 -0
- package/dist/index.es39.js +1 -1
- package/dist/index.es390.js +48 -0
- package/dist/index.es390.js.map +1 -0
- package/dist/index.es391.js +19 -0
- package/dist/index.es391.js.map +1 -0
- package/dist/index.es392.js +38 -0
- package/dist/index.es392.js.map +1 -0
- package/dist/index.es393.js +49 -0
- package/dist/index.es393.js.map +1 -0
- package/dist/index.es394.js +35 -0
- package/dist/index.es394.js.map +1 -0
- package/dist/index.es395.js +37 -0
- package/dist/index.es395.js.map +1 -0
- package/dist/index.es396.js +29 -0
- package/dist/index.es396.js.map +1 -0
- package/dist/index.es397.js +68 -0
- package/dist/index.es397.js.map +1 -0
- package/dist/index.es398.js +105 -0
- package/dist/index.es398.js.map +1 -0
- package/dist/index.es399.js +27 -0
- package/dist/index.es399.js.map +1 -0
- package/dist/index.es40.js +2 -2
- package/dist/index.es400.js +111 -0
- package/dist/index.es400.js.map +1 -0
- package/dist/index.es401.js +50 -0
- package/dist/index.es401.js.map +1 -0
- package/dist/index.es402.js +36 -0
- package/dist/index.es402.js.map +1 -0
- package/dist/index.es403.js +56 -0
- package/dist/index.es403.js.map +1 -0
- package/dist/index.es404.js +174 -0
- package/dist/index.es404.js.map +1 -0
- package/dist/index.es405.js +206 -0
- package/dist/index.es405.js.map +1 -0
- package/dist/index.es406.js +45 -0
- package/dist/index.es406.js.map +1 -0
- package/dist/index.es407.js +18 -0
- package/dist/index.es407.js.map +1 -0
- package/dist/index.es408.js +11 -0
- package/dist/index.es408.js.map +1 -0
- package/dist/index.es409.js +64 -0
- package/dist/index.es409.js.map +1 -0
- package/dist/index.es410.js +50 -0
- package/dist/index.es410.js.map +1 -0
- package/dist/index.es411.js +45 -0
- package/dist/index.es411.js.map +1 -0
- package/dist/index.es412.js +92 -0
- package/dist/index.es412.js.map +1 -0
- package/dist/index.es413.js +89 -0
- package/dist/index.es413.js.map +1 -0
- package/dist/index.es414.js +57 -0
- package/dist/index.es414.js.map +1 -0
- package/dist/index.es415.js +61 -0
- package/dist/index.es415.js.map +1 -0
- package/dist/index.es416.js +58 -0
- package/dist/index.es416.js.map +1 -0
- package/dist/index.es417.js +147 -0
- package/dist/index.es417.js.map +1 -0
- package/dist/index.es418.js +58 -0
- package/dist/index.es418.js.map +1 -0
- package/dist/index.es419.js +85 -0
- package/dist/index.es419.js.map +1 -0
- package/dist/index.es42.js +2 -2
- package/dist/index.es420.js +9 -0
- package/dist/index.es420.js.map +1 -0
- package/dist/index.es421.js +261 -0
- package/dist/index.es421.js.map +1 -0
- package/dist/index.es422.js +108 -0
- package/dist/index.es422.js.map +1 -0
- package/dist/index.es423.js +26 -0
- package/dist/index.es423.js.map +1 -0
- package/dist/index.es424.js +19 -0
- package/dist/index.es424.js.map +1 -0
- package/dist/index.es425.js +11 -0
- package/dist/index.es425.js.map +1 -0
- package/dist/index.es426.js +44 -0
- package/dist/index.es426.js.map +1 -0
- package/dist/index.es427.js +80 -0
- package/dist/index.es427.js.map +1 -0
- package/dist/index.es428.js +108 -0
- package/dist/index.es428.js.map +1 -0
- package/dist/index.es429.js +34 -0
- package/dist/index.es429.js.map +1 -0
- package/dist/index.es43.js +2 -2
- package/dist/index.es430.js +25 -0
- package/dist/index.es430.js.map +1 -0
- package/dist/index.es431.js +14 -0
- package/dist/index.es431.js.map +1 -0
- package/dist/index.es432.js +721 -0
- package/dist/index.es432.js.map +1 -0
- package/dist/index.es433.js +61 -0
- package/dist/index.es433.js.map +1 -0
- package/dist/index.es434.js +62 -0
- package/dist/index.es434.js.map +1 -0
- package/dist/index.es435.js +87 -0
- package/dist/index.es435.js.map +1 -0
- package/dist/index.es436.js +26 -0
- package/dist/index.es436.js.map +1 -0
- package/dist/index.es437.js +56 -0
- package/dist/index.es437.js.map +1 -0
- package/dist/index.es438.js +55 -0
- package/dist/index.es438.js.map +1 -0
- package/dist/index.es439.js +8 -0
- package/dist/index.es439.js.map +1 -0
- package/dist/index.es44.js +2 -2
- package/dist/index.es440.js +8 -0
- package/dist/index.es440.js.map +1 -0
- package/dist/index.es441.js +23 -0
- package/dist/index.es441.js.map +1 -0
- package/dist/index.es442.js +7 -0
- package/dist/index.es442.js.map +1 -0
- package/dist/index.es443.js +11 -0
- package/dist/index.es443.js.map +1 -0
- package/dist/index.es444.js +10 -0
- package/dist/index.es444.js.map +1 -0
- package/dist/index.es445.js +7 -0
- package/dist/index.es445.js.map +1 -0
- package/dist/index.es446.js +5 -0
- package/dist/index.es446.js.map +1 -0
- package/dist/index.es447.js +9 -0
- package/dist/index.es447.js.map +1 -0
- package/dist/index.es448.js +13 -0
- package/dist/index.es448.js.map +1 -0
- package/dist/index.es449.js +8 -0
- package/dist/index.es449.js.map +1 -0
- package/dist/index.es450.js +7 -0
- package/dist/index.es450.js.map +1 -0
- package/dist/index.es451.js +6 -0
- package/dist/index.es451.js.map +1 -0
- package/dist/index.es452.js +7 -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 +11 -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 +9 -0
- package/dist/index.es457.js.map +1 -0
- package/dist/index.es458.js +12 -0
- package/dist/index.es458.js.map +1 -0
- package/dist/index.es459.js +8 -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 +10 -0
- package/dist/index.es461.js.map +1 -0
- package/dist/index.es462.js +8 -0
- package/dist/index.es462.js.map +1 -0
- package/dist/index.es463.js +13 -0
- package/dist/index.es463.js.map +1 -0
- package/dist/index.es464.js +10 -0
- package/dist/index.es464.js.map +1 -0
- package/dist/index.es465.js +21 -0
- package/dist/index.es465.js.map +1 -0
- package/dist/index.es466.js +15 -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 +9 -0
- package/dist/index.es468.js.map +1 -0
- package/dist/index.es469.js +18 -0
- package/dist/index.es469.js.map +1 -0
- package/dist/index.es47.js +2 -2
- package/dist/index.es470.js +26 -0
- package/dist/index.es470.js.map +1 -0
- package/dist/index.es471.js +12 -0
- package/dist/index.es471.js.map +1 -0
- package/dist/index.es472.js +8 -0
- package/dist/index.es472.js.map +1 -0
- package/dist/index.es473.js +118 -0
- package/dist/index.es473.js.map +1 -0
- package/dist/index.es474.js +90 -0
- package/dist/index.es474.js.map +1 -0
- package/dist/index.es475.js +78 -0
- package/dist/index.es475.js.map +1 -0
- package/dist/index.es476.js +13 -0
- package/dist/index.es476.js.map +1 -0
- package/dist/index.es477.js +83 -0
- package/dist/index.es477.js.map +1 -0
- package/dist/index.es478.js +9 -0
- package/dist/index.es478.js.map +1 -0
- package/dist/index.es479.js +19 -0
- package/dist/index.es479.js.map +1 -0
- package/dist/index.es48.js +2 -2
- package/dist/index.es480.js +8 -0
- package/dist/index.es480.js.map +1 -0
- package/dist/index.es481.js +11 -0
- package/dist/index.es481.js.map +1 -0
- package/dist/index.es482.js +7 -0
- package/dist/index.es482.js.map +1 -0
- package/dist/index.es483.js +15 -0
- package/dist/index.es483.js.map +1 -0
- package/dist/index.es484.js +7 -0
- package/dist/index.es484.js.map +1 -0
- package/dist/index.es485.js +8 -0
- package/dist/index.es485.js.map +1 -0
- package/dist/index.es486.js +9 -0
- package/dist/index.es486.js.map +1 -0
- package/dist/index.es487.js +10 -0
- package/dist/index.es487.js.map +1 -0
- package/dist/index.es488.js +9 -0
- package/dist/index.es488.js.map +1 -0
- package/dist/index.es489.js +9 -0
- package/dist/index.es489.js.map +1 -0
- package/dist/index.es490.js +11 -0
- package/dist/index.es490.js.map +1 -0
- package/dist/index.es491.js +14 -0
- package/dist/index.es491.js.map +1 -0
- package/dist/index.es492.js +28 -0
- package/dist/index.es492.js.map +1 -0
- package/dist/index.es493.js +8 -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 +11 -0
- package/dist/index.es495.js.map +1 -0
- package/dist/index.es496.js +7 -0
- package/dist/index.es496.js.map +1 -0
- package/dist/index.es497.js +7 -0
- package/dist/index.es497.js.map +1 -0
- package/dist/index.es498.js +7 -0
- package/dist/index.es498.js.map +1 -0
- package/dist/index.es499.js +7 -0
- package/dist/index.es499.js.map +1 -0
- package/dist/index.es50.js +1 -1
- package/dist/index.es500.js +7 -0
- package/dist/index.es500.js.map +1 -0
- package/dist/index.es501.js +8 -0
- package/dist/index.es501.js.map +1 -0
- package/dist/index.es502.js +9 -0
- package/dist/index.es502.js.map +1 -0
- package/dist/index.es503.js +12 -0
- package/dist/index.es503.js.map +1 -0
- package/dist/index.es504.js +8 -0
- package/dist/index.es504.js.map +1 -0
- package/dist/index.es505.js +9 -0
- package/dist/index.es505.js.map +1 -0
- package/dist/index.es506.js +8 -0
- package/dist/index.es506.js.map +1 -0
- package/dist/index.es507.js +7 -0
- package/dist/index.es507.js.map +1 -0
- package/dist/index.es508.js +14 -0
- package/dist/index.es508.js.map +1 -0
- package/dist/index.es509.js +34 -0
- package/dist/index.es509.js.map +1 -0
- package/dist/index.es51.js +1 -1
- package/dist/index.es510.js +20 -0
- package/dist/index.es510.js.map +1 -0
- package/dist/index.es511.js +50 -0
- package/dist/index.es511.js.map +1 -0
- package/dist/index.es512.js +227 -0
- package/dist/index.es512.js.map +1 -0
- package/dist/index.es513.js +24 -0
- package/dist/index.es513.js.map +1 -0
- package/dist/index.es514.js +178 -0
- package/dist/index.es514.js.map +1 -0
- package/dist/index.es515.js +24 -0
- package/dist/index.es515.js.map +1 -0
- package/dist/index.es516.js +241 -0
- package/dist/index.es516.js.map +1 -0
- package/dist/index.es517.js +9 -0
- package/dist/index.es517.js.map +1 -0
- package/dist/index.es518.js +158 -0
- package/dist/index.es518.js.map +1 -0
- package/dist/index.es519.js +160 -0
- package/dist/index.es519.js.map +1 -0
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +9 -0
- package/dist/index.es520.js.map +1 -0
- package/dist/index.es521.js +13 -0
- package/dist/index.es521.js.map +1 -0
- package/dist/index.es522.js +12 -0
- package/dist/index.es522.js.map +1 -0
- package/dist/index.es523.js +11 -0
- package/dist/index.es523.js.map +1 -0
- package/dist/index.es524.js +9 -0
- package/dist/index.es524.js.map +1 -0
- package/dist/index.es525.js +19 -0
- package/dist/index.es525.js.map +1 -0
- package/dist/index.es526.js +10 -0
- package/dist/index.es526.js.map +1 -0
- package/dist/index.es527.js +10 -0
- package/dist/index.es527.js.map +1 -0
- package/dist/index.es528.js +29 -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 +43 -0
- package/dist/index.es530.js.map +1 -0
- package/dist/index.es531.js +10 -0
- package/dist/index.es531.js.map +1 -0
- package/dist/index.es532.js +18 -0
- package/dist/index.es532.js.map +1 -0
- package/dist/index.es533.js +9 -0
- package/dist/index.es533.js.map +1 -0
- package/dist/index.es534.js +11 -0
- package/dist/index.es534.js.map +1 -0
- package/dist/index.es535.js +42 -0
- package/dist/index.es535.js.map +1 -0
- package/dist/index.es536.js +6 -0
- package/dist/index.es536.js.map +1 -0
- package/dist/index.es537.js +16 -0
- package/dist/index.es537.js.map +1 -0
- package/dist/index.es538.js +8 -0
- package/dist/index.es538.js.map +1 -0
- package/dist/index.es539.js +5 -0
- package/dist/index.es539.js.map +1 -0
- package/dist/index.es540.js +6 -0
- package/dist/index.es540.js.map +1 -0
- package/dist/index.es541.js +9 -0
- package/dist/index.es541.js.map +1 -0
- package/dist/index.es542.js +17 -0
- package/dist/index.es542.js.map +1 -0
- package/dist/index.es543.js +12 -0
- package/dist/index.es543.js.map +1 -0
- package/dist/index.es544.js +18 -0
- package/dist/index.es544.js.map +1 -0
- package/dist/index.es545.js +6 -0
- package/dist/index.es545.js.map +1 -0
- package/dist/index.es546.js +7 -0
- package/dist/index.es546.js.map +1 -0
- package/dist/index.es547.js +7 -0
- package/dist/index.es547.js.map +1 -0
- package/dist/index.es548.js +7 -0
- package/dist/index.es548.js.map +1 -0
- package/dist/index.es549.js +7 -0
- package/dist/index.es549.js.map +1 -0
- package/dist/index.es550.js +7 -0
- package/dist/index.es550.js.map +1 -0
- package/dist/index.es551.js +33 -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 +9 -0
- package/dist/index.es558.js.map +1 -0
- package/dist/index.es559.js +9 -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 +3029 -0
- package/dist/index.es561.js.map +1 -0
- package/dist/index.es562.js +5 -0
- package/dist/index.es562.js.map +1 -0
- package/dist/index.es563.js +10 -0
- package/dist/index.es563.js.map +1 -0
- package/dist/index.es564.js +10 -0
- package/dist/index.es564.js.map +1 -0
- package/dist/index.es565.js +10 -0
- package/dist/index.es565.js.map +1 -0
- package/dist/index.es566.js +10 -0
- package/dist/index.es566.js.map +1 -0
- package/dist/index.es567.js +21 -0
- package/dist/index.es567.js.map +1 -0
- package/dist/index.es568.js +7 -0
- package/dist/index.es568.js.map +1 -0
- package/dist/index.es569.js +8 -0
- package/dist/index.es569.js.map +1 -0
- package/dist/index.es57.js +3 -3
- package/dist/index.es570.js +8 -0
- package/dist/index.es570.js.map +1 -0
- package/dist/index.es571.js +10 -0
- package/dist/index.es571.js.map +1 -0
- package/dist/index.es572.js +11 -0
- package/dist/index.es572.js.map +1 -0
- package/dist/index.es573.js +14 -0
- package/dist/index.es573.js.map +1 -0
- package/dist/index.es574.js +8 -0
- package/dist/index.es574.js.map +1 -0
- package/dist/index.es575.js +7 -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 +21 -0
- package/dist/index.es577.js.map +1 -0
- package/dist/index.es578.js +8 -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 +7 -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 +18 -0
- package/dist/index.es582.js.map +1 -0
- package/dist/index.es583.js +10 -0
- package/dist/index.es583.js.map +1 -0
- package/dist/index.es584.js +11 -0
- package/dist/index.es584.js.map +1 -0
- package/dist/index.es585.js +9 -0
- package/dist/index.es585.js.map +1 -0
- package/dist/index.es586.js +9 -0
- package/dist/index.es586.js.map +1 -0
- package/dist/index.es587.js +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 +6 -0
- package/dist/index.es590.js.map +1 -0
- package/dist/index.es591.js +9 -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 +21 -0
- package/dist/index.es595.js.map +1 -0
- package/dist/index.es596.js +9 -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 +8 -0
- package/dist/index.es598.js.map +1 -0
- package/dist/index.es599.js +7 -0
- package/dist/index.es599.js.map +1 -0
- package/dist/index.es60.js +1 -1
- package/dist/index.es600.js +31 -0
- package/dist/index.es600.js.map +1 -0
- package/dist/index.es601.js +25 -0
- package/dist/index.es601.js.map +1 -0
- package/dist/index.es602.js +37 -0
- package/dist/index.es602.js.map +1 -0
- package/dist/index.es603.js +215 -0
- package/dist/index.es603.js.map +1 -0
- package/dist/index.es604.js +246 -0
- package/dist/index.es604.js.map +1 -0
- package/dist/index.es605.js +39 -0
- package/dist/index.es605.js.map +1 -0
- package/dist/index.es606.js +18 -0
- package/dist/index.es606.js.map +1 -0
- package/dist/index.es607.js +567 -0
- package/dist/index.es607.js.map +1 -0
- package/dist/index.es608.js +59 -0
- package/dist/index.es608.js.map +1 -0
- package/dist/index.es609.js +338 -0
- package/dist/index.es609.js.map +1 -0
- package/dist/index.es61.js +1 -1
- package/dist/index.es610.js +1103 -0
- package/dist/index.es610.js.map +1 -0
- package/dist/index.es611.js +41 -0
- package/dist/index.es611.js.map +1 -0
- package/dist/index.es612.js +39 -0
- package/dist/index.es612.js.map +1 -0
- package/dist/index.es613.js +51 -0
- package/dist/index.es613.js.map +1 -0
- package/dist/index.es614.js +65 -0
- package/dist/index.es614.js.map +1 -0
- package/dist/index.es615.js +7 -0
- package/dist/index.es615.js.map +1 -0
- package/dist/index.es616.js +13 -0
- package/dist/index.es616.js.map +1 -0
- package/dist/index.es617.js +9 -0
- package/dist/index.es617.js.map +1 -0
- package/dist/index.es618.js +8 -0
- package/dist/index.es618.js.map +1 -0
- package/dist/index.es619.js +9 -0
- package/dist/index.es619.js.map +1 -0
- package/dist/index.es620.js +174 -0
- package/dist/index.es620.js.map +1 -0
- package/dist/index.es621.js +6 -0
- package/dist/index.es621.js.map +1 -0
- package/dist/index.es622.js +8 -0
- package/dist/index.es622.js.map +1 -0
- package/dist/index.es623.js +8 -0
- package/dist/index.es623.js.map +1 -0
- package/dist/index.es624.js +14 -0
- package/dist/index.es624.js.map +1 -0
- package/dist/index.es625.js +10 -0
- package/dist/index.es625.js.map +1 -0
- package/dist/index.es626.js +10 -0
- package/dist/index.es626.js.map +1 -0
- package/dist/index.es627.js +298 -0
- package/dist/index.es627.js.map +1 -0
- package/dist/index.es628.js +27 -0
- package/dist/index.es628.js.map +1 -0
- package/dist/index.es629.js +53 -0
- package/dist/index.es629.js.map +1 -0
- package/dist/index.es63.js +1 -1
- package/dist/index.es630.js +9 -0
- package/dist/index.es630.js.map +1 -0
- package/dist/index.es631.js +11 -0
- package/dist/index.es631.js.map +1 -0
- package/dist/index.es632.js +6 -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 +6 -6
- 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 +7 -1992
- 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 +26 -2
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js +588 -7
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js +21352 -2
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es84.js +2 -26
- 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 +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs422.js","sources":["../../../node_modules/@allmaps/triangulate/dist/shared.js"],"sourcesContent":["import { orient2d } from 'robust-predicates';\nimport KDBush from 'kdbush';\nimport { distance, stepDistanceAngle, lineAngle, closeRing, computeBbox } from '@allmaps/stdlib';\n// Split lines using points\nexport function pointOnLine(point, line, exclude = true) {\n const [x, y] = point;\n const [[x0, y0], [x1, y1]] = line;\n if (exclude) {\n if (x === x0 && y === y0)\n return false;\n if (x === x1 && y === y1)\n return false;\n }\n if ((x - x0) * (x - x1) > 0)\n return false;\n if ((y - y0) * (y - y1) > 0)\n return false;\n return orient2d(x0, y0, x1, y1, x, y) === 0;\n}\nexport function buildKDBushPointIndex(points) {\n const tree = new KDBush(points.length);\n for (const [x, y] of points)\n tree.add(x, y);\n tree.finish();\n return { tree, points };\n}\nexport function splitRingLines(ring, { tree, points }) {\n const result = [];\n for (let i = 0; i < ring.length; i++) {\n const p0 = ring[i];\n const p1 = ring[(i + 1) % ring.length];\n const [x0, y0] = p0;\n const [x1, y1] = p1;\n result.push(p0);\n const ids = tree.range(Math.min(x0, x1), Math.min(y0, y1), Math.max(x0, x1), Math.max(y0, y1));\n if (ids.length === 0)\n continue;\n const hits = [];\n for (const id of ids) {\n const [x, y] = points[id];\n if (pointOnLine([x, y], [p0, p1]))\n hits.push(points[id]);\n }\n if (hits.length === 1) {\n result.push(hits[0]);\n }\n else if (hits.length > 1) {\n hits.sort(([ax, ay], [bx, by]) => (ax - x0) ** 2 + (ay - y0) ** 2 - ((bx - x0) ** 2 + (by - y0) ** 2));\n result.push(...hits);\n }\n }\n return result;\n}\nexport function splitPolygonLines(polygon, points, index = buildKDBushPointIndex(points)) {\n return polygon.map((ring) => splitRingLines(ring, index));\n}\n// Interpolate line using distance\n// Return an array of points containing the first line point,\n// and betwen the first and last line point other points every `dist`\nfunction interpolateLine(line, dist) {\n const lineDistance = distance(...line);\n // Note: ciel - 1 instead of floor, such that for round numbers we don't include the last step\n const steps = Math.ceil(lineDistance / dist) - 1;\n const angle = lineAngle(line);\n let currentPoint = line[0];\n const result = [currentPoint];\n for (let step = 1; step <= steps; step++) {\n currentPoint = stepDistanceAngle(currentPoint, dist, angle);\n result.push(currentPoint);\n }\n // Note: the last nextpoint, which is also line[1], is not pushed\n return result;\n}\n// Return an array of points containing the ring points,\n// and between every pair of ring points other points every `dist`\nexport function interpolateRing(ring, dist) {\n ring = closeRing(ring);\n let result = [];\n for (let i = 0; i < ring.length - 1; i++) {\n result = result.concat(interpolateLine([ring[i], ring[i + 1]], dist));\n }\n return result;\n}\nexport function interpolatePolygon(polygon, dist) {\n return polygon.map((ring) => interpolateRing(ring, dist));\n}\n// Grid\nexport function bboxToGridPoints(bbox, gridSize) {\n const grid = [];\n for (let x = bbox[0] + gridSize, i = 0; x <= bbox[2]; i++, x += gridSize) {\n for (let y = bbox[1] + gridSize, j = 0; y <= bbox[3]; j++, y += gridSize) {\n grid.push([x, y]);\n }\n }\n return grid;\n}\n// Point inside triangle\nexport function preprocessPolygonForInsideCheck(polygon) {\n const closedRings = polygon.map((ring) => {\n const closedRing = closeRing(ring);\n const ringLength = closedRing.length - 1;\n // Flat typed array: [x0, y0, x1, y1, ...] — avoids nested array pointer chasing\n const coords = new Float64Array(closedRing.length * 2);\n for (let i = 0; i < closedRing.length; i++) {\n coords[i * 2] = closedRing[i][0];\n coords[i * 2 + 1] = closedRing[i][1];\n }\n return { coords, length: ringLength };\n });\n const bbox = computeBbox(polygon);\n return { closedRings, bbox };\n}\n// Improved from point-in-polygon-hao package\n// https://github.com/rowanwins/point-in-polygon-hao/blob/938b2be31d326c52c8f6cffbbb1c59bae4d609bc/src/index.js\n// Returns true if point is inside of polygon with holes\n//\n// Speedups:\n// - Reuse preprocessed polygon\n// - Avoid point allocation (and it's garbage collection) and use coordinates\nexport function coordsInPolygonForInsidenessCheck(x, y, polygonForInsidenessCheck) {\n if (x < polygonForInsidenessCheck.bbox[0] ||\n y < polygonForInsidenessCheck.bbox[1] ||\n x > polygonForInsidenessCheck.bbox[2] ||\n y > polygonForInsidenessCheck.bbox[3])\n return false;\n let k = 0;\n const closedRings = polygonForInsidenessCheck.closedRings;\n for (let i = 0; i < closedRings.length; i++) {\n const coords = closedRings[i].coords;\n const length = closedRings[i].length;\n let u1 = coords[0] - x;\n let v1 = coords[1] - y;\n for (let ii = 0; ii < length; ii++) {\n const base = (ii + 1) * 2;\n const u2 = coords[base] - x;\n const v2 = coords[base + 1] - y;\n if (v1 === 0 && v2 === 0) {\n if ((u2 <= 0 && u1 >= 0) || (u1 <= 0 && u2 >= 0))\n return 0;\n }\n else if ((v2 >= 0 && v1 <= 0) || (v2 <= 0 && v1 >= 0)) {\n const f = orient2d(u1, u2, v1, v2, 0, 0);\n if (f === 0)\n return 0;\n if ((f > 0 && v2 > 0 && v1 <= 0) || (f < 0 && v2 <= 0 && v1 > 0))\n k++;\n }\n u1 = u2;\n v1 = v2;\n }\n }\n return k % 2 !== 0;\n}\nexport function coordsInPolygonsForInsidenessCheck(x, y, polygonsForInsidenessChecks) {\n return polygonsForInsidenessChecks.some((polygonForInsidenessChecks) => coordsInPolygonForInsidenessCheck(x, y, polygonForInsidenessChecks));\n}\n"],"names":["pointOnLine","point","line","exclude","x","y","x0","y0","x1","y1","orient2d","buildKDBushPointIndex","points","tree","KDBush","splitRingLines","ring","result","i","p0","p1","ids","hits","id","ax","ay","bx","by","splitPolygonLines","polygon","index","interpolateLine","dist","lineDistance","distance","steps","angle","lineAngle","currentPoint","step","stepDistanceAngle","interpolateRing","closeRing","interpolatePolygon","bboxToGridPoints","bbox","gridSize","grid","j","preprocessPolygonForInsideCheck","closedRings","closedRing","ringLength","coords","computeBbox","coordsInPolygonForInsidenessCheck","polygonForInsidenessCheck","k","length","u1","v1","ii","base","u2","v2","f","coordsInPolygonsForInsidenessCheck","polygonsForInsidenessChecks","polygonForInsidenessChecks"],"mappings":"kNAIO,SAASA,EAAYC,EAAOC,EAAMC,EAAU,GAAM,CACrD,KAAM,CAACC,EAAGC,CAAC,EAAIJ,EACT,CAAC,CAACK,EAAIC,CAAE,EAAG,CAACC,EAAIC,CAAE,CAAC,EAAIP,EAS7B,OARIC,IACIC,IAAME,GAAMD,IAAME,GAElBH,IAAMI,GAAMH,IAAMI,KAGrBL,EAAIE,IAAOF,EAAII,GAAM,IAErBH,EAAIE,IAAOF,EAAII,GAAM,EACf,GACJC,EAAAA,SAASJ,EAAIC,EAAIC,EAAIC,EAAIL,EAAGC,CAAC,IAAM,CAC9C,CACO,SAASM,EAAsBC,EAAQ,CAC1C,MAAMC,EAAO,IAAIC,EAAOF,EAAO,MAAM,EACrC,SAAW,CAACR,EAAGC,CAAC,IAAKO,EACjBC,EAAK,IAAIT,EAAGC,CAAC,EACjB,OAAAQ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,MAAO,IACNA,EAAI,GAAKD,EAAK,GAAKJ,GAAM,GAAOK,EAAI,GAAKD,GAAM,GAAKJ,EAAK,IAC1DH,GACR,CACAE,EAAKI,EACLH,EAAKI,CACT,CACJ,CACA,OAAOP,EAAI,IAAM,CACrB,CACO,SAASS,EAAmC9D,EAAGC,EAAG8D,EAA6B,CAClF,OAAOA,EAA4B,KAAMC,GAA+Bb,EAAkCnD,EAAGC,EAAG+D,CAA0B,CAAC,CAC/I","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.cjs423.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs423.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,E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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.cjs424.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs424.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.cjs425.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs425.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.cjs228.js"),e=require("./index.cjs432.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.cjs426.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs426.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.cjs228.js"),e=require("./index.cjs432.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.cjs427.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs427.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,MAAO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AAAA,iBAAiB,SAAA,EAC9B,SAAUC,EAAAA,MAAQlB,SAAS,CACvB,KAAMC,EAAAA,QAAU,SAAS,EACzB,WAAYY,EACZ,SAAUM,EAAAA,mBAAA,CACb,CAAC,EAGF,SAAUC,EAAAA,QAAE,EAAU,SAAA,CAC1B,CAAC,EACYC,EAAmBrB,EAAAA,OAAS,CACrC,GAAIJ,EAAAA,OAAE,EAAS,SAAA,EACf,KAAMK,EAAAA,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.cjs227.js");const n=require("./index.cjs424.js"),u=require("./index.cjs425.js"),l=require("./index.cjs429.js"),c=require("./index.cjs430.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.cjs428.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs428.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,CAC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,KAAM,oBACN,eAAgBtB,EAAiB,eACjC,YAAAoB,EACA,SAAUpB,EAAiB,KAAK,IAAKe,GAAQD,EAAgBC,CAAG,CAAC,EACjE,SAAAM,CAAA,EAEJ,MAAO,CACH,GAAIrB,EAAiB,GACrB,KAAM,aACN,WAAYa,EAAA,EACZ,GAAGD,EAAcZ,CAAgB,EACjC,WAAY,iBACZ,OAAAmB,EACA,KAAAG,CAAA,CAER,CAeO,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.cjs228.js"),e=require("./index.cjs432.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.cjs429.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs429.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]}
|
package/dist/index.cjs43.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs235.js"),t=require("./index.cjs39.js"),e=require("./index.cjs241.js"),i=t.isIE11?e.ie11fingerprint(e.weakMapMethods):r("WeakMap");module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs43.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs228.js"),e=require("./index.cjs432.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.cjs430.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs430.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.cjs326.js"),n=require("./index.cjs428.js"),o=require("./index.cjs425.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.cjs431.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs431.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.cjs603.js"),b=require("./index.cjs604.js"),$=require("./index.cjs605.js"),p=require("./index.cjs606.js"),c=require("./index.cjs607.js"),a=require("./index.cjs608.js"),i=require("./index.cjs609.js"),u=require("./index.cjs610.js"),f=require("./index.cjs611.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.cjs432.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs432.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,IAAIH,CAAK,EACnB,UAAWI,KAAOH,EAAS,CACvB,MAAMI,EAAKJ,EAAQG,CAAG,EACtB,OAAO,eAAeF,EAAOE,EAAK,CAC9B,aAAc,GACd,WAAY,GACZ,KAAM,CACF,MAAME,EAAQD,EAAG,KAAK,IAAI,EAC1B,cAAO,eAAe,KAAMD,EAAK,CAC7B,aAAc,GACd,SAAU,GACV,WAAY,GACZ,MAAOE,CAAA,CACV,EACMA,CACX,EACA,IAAIC,EAAG,CACH,OAAO,eAAe,KAAMH,EAAK,CAC7B,aAAc,GACd,SAAU,GACV,WAAY,GACZ,MAAOG,CAAA,CACV,CACL,CAAA,CACH,CACL,EACJ,CACO,MAAMC,EAAwBC,EAAAA,aAAkB,UAAW,CAACV,EAAMW,KACrEC,WAAc,KAAKZ,EAAMW,CAAG,EAC5B,OAAO,OAAOX,EAAK,WAAW,EAAG,CAC7B,WAAY,CACR,MAAOa,EAAAA,+BAA+Bb,EAAM,OAAO,EACnD,OAAQa,EAAAA,+BAA+Bb,EAAM,QAAQ,CAAA,CACzD,CACH,EACDA,EAAK,aAAec,2BAAyBd,EAAM,CAAA,CAAE,EACrD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,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"});function d({width:r,height:i},t,h,a){const c=h*t.originalWidth,n=a*t.originalHeight,e=h*t.originalWidth+t.width*t.scaleFactor>r?r-h*t.originalWidth:t.width*t.scaleFactor,o=a*t.originalHeight+t.height*t.scaleFactor>i?i-a*t.originalHeight:t.height*t.scaleFactor;let s=t.width,g=t.height;return c+t.width*t.scaleFactor>r&&(s=Math.floor((r-c+t.scaleFactor-1)/t.scaleFactor)),n+t.height*t.scaleFactor>i&&(g=Math.floor((i-n+t.scaleFactor-1)/t.scaleFactor)),{region:{x:c,y:n,width:e,height:o},size:{width:s,height:g}}}function l({width:r,height:i},t=768){const h=Math.max(r,i)/t,a=Math.ceil(Math.log(h)/Math.log(2));return{scaleFactors:Array.from({length:a},(c,n)=>2**n),width:t}}function u({width:r,height:i},t,h){const a=t.height||t.width,c=t.width*h,n=a*h;return{scaleFactor:h,width:t.width,height:a,originalWidth:c,originalHeight:n,columns:Math.ceil(r/c),rows:Math.ceil(i/n)}}function f(r,i){return i.map(t=>t.scaleFactors.map(h=>u(r,t,h))).flat()}function w(r){return!!r.some(i=>i.width&&i.scaleFactors&&i.scaleFactors.length)}function F(r,i,t){if(!i||!w(i))if(t)i=[l(r)];else throw new Error("Image does not support tiles or custom regions and sizes.");return f(r,i)}exports.getTileImageRequest=d;exports.getTileZoomLevels=F;
|
|
2
|
+
//# sourceMappingURL=index.cjs433.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs433.js","sources":["../../../node_modules/@allmaps/iiif-parser/dist/lib/tiles.js"],"sourcesContent":["export function getTileImageRequest({ width: imageWidth, height: imageHeight }, zoomLevel, column, row) {\n // See https://iiif.io/api/image/3.0/implementation/#3-tile-region-parameter-calculation\n const regionX = column * zoomLevel.originalWidth;\n const regionY = row * zoomLevel.originalHeight;\n const regionWidth = column * zoomLevel.originalWidth + zoomLevel.width * zoomLevel.scaleFactor >\n imageWidth\n ? imageWidth - column * zoomLevel.originalWidth\n : zoomLevel.width * zoomLevel.scaleFactor;\n const regionHeight = row * zoomLevel.originalHeight + zoomLevel.height * zoomLevel.scaleFactor >\n imageHeight\n ? imageHeight - row * zoomLevel.originalHeight\n : zoomLevel.height * zoomLevel.scaleFactor;\n let tileWidth = zoomLevel.width;\n let tileHeight = zoomLevel.height;\n if (regionX + zoomLevel.width * zoomLevel.scaleFactor > imageWidth) {\n tileWidth = Math.floor((imageWidth - regionX + zoomLevel.scaleFactor - 1) / zoomLevel.scaleFactor);\n }\n if (regionY + zoomLevel.height * zoomLevel.scaleFactor > imageHeight) {\n tileHeight = Math.floor((imageHeight - regionY + zoomLevel.scaleFactor - 1) /\n zoomLevel.scaleFactor);\n }\n return {\n region: {\n x: regionX,\n y: regionY,\n width: regionWidth,\n height: regionHeight\n },\n size: {\n width: tileWidth,\n height: tileHeight\n }\n };\n}\nfunction getDefaultTileset({ width: imageWidth, height: imageHeight }, tileWidth = 768) {\n const maxTilesPerSide = Math.max(imageWidth, imageHeight) / tileWidth;\n const maxExponent = Math.ceil(Math.log(maxTilesPerSide) / Math.log(2));\n // let maxTileSide\n // if (parsedImage.maxWidth) {\n // maxTileSide = parsedImage.maxWidth\n // }\n // if (parsedImage.maxHeight) {\n // maxTileSide = maxTileSide\n // ? Math.min(maxTileSide, parsedImage.maxHeight)\n // : parsedImage.maxHeight\n // }\n // if (parsedImage.maxArea) {\n // maxTileSide = maxTileSide\n // ? Math.min(maxTileSide, Math.sqrt(parsedImage.maxArea))\n // : Math.sqrt(parsedImage.maxArea)\n // }\n return {\n scaleFactors: Array.from({ length: maxExponent }, (_, exponent) => 2 ** exponent),\n // .filter((scaleFactor) => {\n // if (maxTileSide) {\n // return tileWidth * scaleFactor <= maxTileSide\n // } else {\n // return true\n // }\n // }),\n width: tileWidth\n };\n}\nfunction getTileZoomLevelFromScaleFactor({ width: imageWidth, height: imageHeight }, tileset, scaleFactor) {\n const height = tileset.height || tileset.width;\n const originalWidth = tileset.width * scaleFactor;\n const originalHeight = height * scaleFactor;\n return {\n scaleFactor,\n width: tileset.width,\n height,\n originalWidth,\n originalHeight,\n columns: Math.ceil(imageWidth / originalWidth),\n rows: Math.ceil(imageHeight / originalHeight)\n };\n}\nfunction getTileZoomLevelsFromTilesets(imageSize, tilesets) {\n return tilesets\n .map((tileset) => tileset.scaleFactors.map((scaleFactor) => getTileZoomLevelFromScaleFactor(imageSize, tileset, scaleFactor)))\n .flat();\n}\nfunction hasValidTileset(tilesets) {\n if (tilesets.some((tileset) => tileset.width && tileset.scaleFactors && tileset.scaleFactors.length)) {\n return true;\n }\n return false;\n}\nexport function getTileZoomLevels(imageSize, tilesets, supportsAnyRegionAndSize) {\n if (!tilesets || !hasValidTileset(tilesets)) {\n if (supportsAnyRegionAndSize) {\n tilesets = [getDefaultTileset(imageSize)];\n }\n else {\n throw new Error('Image does not support tiles or custom regions and sizes.');\n }\n }\n return getTileZoomLevelsFromTilesets(imageSize, tilesets);\n}\n"],"names":["getTileImageRequest","imageWidth","imageHeight","zoomLevel","column","row","regionX","regionY","regionWidth","regionHeight","tileWidth","tileHeight","getDefaultTileset","maxTilesPerSide","maxExponent","_","exponent","getTileZoomLevelFromScaleFactor","tileset","scaleFactor","height","originalWidth","originalHeight","getTileZoomLevelsFromTilesets","imageSize","tilesets","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ASF,EAAQ,QAAUA,EAAQ,MACnCG,EAAgBH,EAAQ,MAAQC,EAChCG,EAAiBF,EAASD,EAChC,MAAO,CACH,YAAAA,EACA,MAAOD,EAAQ,MACf,OAAAE,EACA,cAAAC,EACA,eAAAC,EACA,QAAS,KAAK,KAAKrB,EAAaoB,CAAa,EAC7C,KAAM,KAAK,KAAKnB,EAAcoB,CAAc,CAAA,CAEpD,CACA,SAASC,EAA8BC,EAAWC,EAAU,CACxD,OAAOA,EACF,IAAKP,GAAYA,EAAQ,aAAa,IAAKC,GAAgBF,EAAgCO,EAAWN,EAASC,CAAW,CAAC,CAAC,EAC5H,KAAA,CACT,CACA,SAASO,EAAgBD,EAAU,CAC/B,MAAI,EAAAA,EAAS,KAAMP,GAAYA,EAAQ,OAASA,EAAQ,cAAgBA,EAAQ,aAAa,MAAM,CAIvG,CACO,SAASS,EAAkBH,EAAWC,EAAUG,EAA0B,CAC7E,GAAI,CAACH,GAAY,CAACC,EAAgBD,CAAQ,EACtC,GAAIG,EACAH,EAAW,CAACb,EAAkBY,CAAS,CAAC,MAGxC,OAAM,IAAI,MAAM,2DAA2D,EAGnF,OAAOD,EAA8BC,EAAWC,CAAQ,CAC5D","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index.cjs433.js");function I(o,d,u="cover"){if(u==="cover"||u==="contain"){const l=d.width/o.width,e=d.height/o.height,w=u==="cover"?Math.max(l,e):Math.min(l,e),r=o.width*w,s=o.height*w;return{width:r,height:s}}else throw new Error('Mode must be either "cover" or "contain"')}const y=.8,E=1.5;function F(o,d,u="cover",{sizes:l,tileZoomLevels:e,supportsAnyRegionAndSize:w,maxWidth:r,maxHeight:s,maxArea:M}){let{width:t,height:h}=I(o,d,u);if(r&&t>r&&(h=h/t*r,t=r),s&&h>s&&(t=t/h*s,h=s),M&&t*h>M){const n=h/t,i=Math.floor(Math.sqrt(M/n))*n;t=Math.floor(i)/n,h=t*n}const R=o.width/o.height;if(t=Math.floor(t),h=Math.round(t/R),l){let n;for(const f of l){const i=f.width/t;if(i>=y&&i<=E){n=f;break}}if(n)return{size:n}}if(w)return{size:{width:Math.round(t),height:Math.round(h)}};if(e){const n=o.width/t,f=e.map(({scaleFactor:c},a)=>({index:a,scaleFactor:c,diff:Math.abs(c-n)})).sort((c,a)=>c.diff-a.diff),i=e[f[0].index],p=Math.ceil(o.width/(i.scaleFactor*e[0].width)),q=Math.ceil(o.height/(i.scaleFactor*e[0].height)),g=[];for(let c=0;c<q;c++){const a=[];for(let b=0;b<p;b++){const T=v.getTileImageRequest(o,i,b,c);a.push(T)}g.push(a)}return g}throw new Error("Unable to create thumbnail")}exports.getImageRequest=F;
|
|
2
|
+
//# sourceMappingURL=index.cjs434.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs434.js","sources":["../../../node_modules/@allmaps/iiif-parser/dist/lib/image-requests.js"],"sourcesContent":["import { getTileImageRequest } from './tiles.js';\nfunction getImageRequestSize(imageSize, containerSize, mode = 'cover') {\n if (mode === 'cover' || mode === 'contain') {\n const widthRatio = containerSize.width / imageSize.width;\n const heightRatio = containerSize.height / imageSize.height;\n const ratio = mode === 'cover'\n ? Math.max(widthRatio, heightRatio)\n : Math.min(widthRatio, heightRatio);\n const width = imageSize.width * ratio;\n const height = imageSize.height * ratio;\n return {\n width,\n height\n };\n }\n else {\n throw new Error('Mode must be either \"cover\" or \"contain\"');\n }\n}\nconst maxThumbnailDownscale = 0.8;\nconst maxThumbnailUpscale = 1.5;\nexport function getImageRequest(imageSize, containerSize, mode = 'cover', { sizes, tileZoomLevels, supportsAnyRegionAndSize, maxWidth, maxHeight, maxArea }) {\n let { width, height } = getImageRequestSize(imageSize, containerSize, mode);\n if (maxWidth && width > maxWidth) {\n height = (height / width) * maxWidth;\n width = maxWidth;\n }\n if (maxHeight && height > maxHeight) {\n width = (width / height) * maxHeight;\n height = maxHeight;\n }\n if (maxArea && width * height > maxArea) {\n const aspectRatio = height / width;\n const thumbnailMaxWidth = Math.floor(Math.sqrt(maxArea / aspectRatio));\n const thumbnailMaxHeight = thumbnailMaxWidth * aspectRatio;\n width = Math.floor(thumbnailMaxHeight) / aspectRatio;\n height = width * aspectRatio;\n }\n const aspectRatio = imageSize.width / imageSize.height;\n width = Math.floor(width);\n height = Math.round(width / aspectRatio);\n if (sizes) {\n let matchingSize;\n for (const size of sizes) {\n const scaleFactor = size.width / width;\n if (scaleFactor >= maxThumbnailDownscale &&\n scaleFactor <= maxThumbnailUpscale) {\n matchingSize = size;\n break;\n }\n }\n if (matchingSize) {\n return {\n size: matchingSize\n };\n }\n }\n if (supportsAnyRegionAndSize) {\n // TODO: can request smaller region than full\n return {\n size: {\n width: Math.round(width),\n height: Math.round(height)\n }\n };\n }\n if (tileZoomLevels) {\n // TODO: take maxThumbnailDownscale and maxThumbnailUpscale into account\n const ratio = imageSize.width / width;\n const nearestZoomLevels = tileZoomLevels\n .map(({ scaleFactor }, index) => ({\n index,\n scaleFactor,\n diff: Math.abs(scaleFactor - ratio)\n }))\n .sort((a, b) => a.diff - b.diff);\n const zoomLevel = tileZoomLevels[nearestZoomLevels[0].index];\n const tilesX = Math.ceil(imageSize.width / (zoomLevel.scaleFactor * tileZoomLevels[0].width));\n const tilesY = Math.ceil(imageSize.height / (zoomLevel.scaleFactor * tileZoomLevels[0].height));\n const thumbnailTiles = [];\n for (let y = 0; y < tilesY; y++) {\n const thumbnailRow = [];\n for (let x = 0; x < tilesX; x++) {\n const thumbnailTile = getTileImageRequest(imageSize, zoomLevel, x, y);\n thumbnailRow.push(thumbnailTile);\n }\n thumbnailTiles.push(thumbnailRow);\n }\n return thumbnailTiles;\n }\n throw new Error('Unable to create thumbnail');\n}\n"],"names":["getImageRequestSize","imageSize","containerSize","mode","widthRatio","heightRatio","ratio","width","height","maxThumbnailDownscale","maxThumbnailUpscale","getImageRequest","sizes","tileZoomLevels","supportsAnyRegionAndSize","maxWidth","maxHeight","maxArea","aspectRatio","thumbnailMaxHeight","matchingSize","size","scaleFactor","nearestZoomLevels","index","a","b","zoomLevel","tilesX","tilesY","thumbnailTiles","y","thumbnailRow","x","thumbnailTile","getTileImageRequest"],"mappings":"qHACA,SAASA,EAAoBC,EAAWC,EAAeC,EAAO,QAAS,CACnE,GAAIA,IAAS,SAAWA,IAAS,UAAW,CACxC,MAAMC,EAAaF,EAAc,MAAQD,EAAU,MAC7CI,EAAcH,EAAc,OAASD,EAAU,OAC/CK,EAAQH,IAAS,QACjB,KAAK,IAAIC,EAAYC,CAAW,EAChC,KAAK,IAAID,EAAYC,CAAW,EAChCE,EAAQN,EAAU,MAAQK,EAC1BE,EAASP,EAAU,OAASK,EAClC,MAAO,CACH,MAAAC,EACA,OAAAC,CAAA,CAER,KAEI,OAAM,IAAI,MAAM,0CAA0C,CAElE,CACA,MAAMC,EAAwB,GACxBC,EAAsB,IACrB,SAASC,EAAgBV,EAAWC,EAAeC,EAAO,QAAS,CAAE,MAAAS,EAAO,eAAAC,EAAgB,yBAAAC,EAA0B,SAAAC,EAAU,UAAAC,EAAW,QAAAC,CAAA,EAAW,CACzJ,GAAI,CAAE,MAAAV,EAAO,OAAAC,CAAA,EAAWR,EAAoBC,EAAWC,EAAeC,CAAI,EAS1E,GARIY,GAAYR,EAAQQ,IACpBP,EAAUA,EAASD,EAASQ,EAC5BR,EAAQQ,GAERC,GAAaR,EAASQ,IACtBT,EAASA,EAAQC,EAAUQ,EAC3BR,EAASQ,GAETC,GAAWV,EAAQC,EAASS,EAAS,CACrC,MAAMC,EAAcV,EAASD,EAEvBY,EADoB,KAAK,MAAM,KAAK,KAAKF,EAAUC,CAAW,CAAC,EACtBA,EAC/CX,EAAQ,KAAK,MAAMY,CAAkB,EAAID,EACzCV,EAASD,EAAQW,CACrB,CACA,MAAMA,EAAcjB,EAAU,MAAQA,EAAU,OAGhD,GAFAM,EAAQ,KAAK,MAAMA,CAAK,EACxBC,EAAS,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Module"});const f=require("./index.cjs230.js"),u=require("./index.cjs231.js"),A=["regionByPx","sizeByWh"];function y(e){const t=e.match(f.image1ProfileUriRegex);if(t&&t.groups)return parseInt(t.groups.level)}function p(e){const t=e.match(u.image2ProfileUriRegex);if(t&&t.groups)return parseInt(t.groups.level)}function m(e){return{maxWidth:e?.maxWidth,maxHeight:e?.maxHeight,maxArea:e?.maxArea,supportsAnyRegionAndSize:A.every(t=>e?.supports&&e?.supports?.includes(t))}}function s(e,t){t?.forEach(r=>e.add(r.toLowerCase()))}function c(e){const t=new Set(["jpg"]);return"profile"in e&&Array.isArray(e.profile)&&e.profile.forEach(r=>{typeof r!="string"&&s(t,r.formats)}),"extraFormats"in e&&s(t,e.extraFormats),"preferredFormats"in e&&s(t,e.preferredFormats),Array.from(t)}function g(e){if("type"in e&&e.type==="ImageService3")return 3;if("type"in e&&e.type==="ImageService2"||"@type"in e&&e["@type"]==="ImageService2"||"@context"in e&&e["@context"]===u.Image2ContextString)return 2;if("@context"in e&&(e["@context"]===f.Image1ContextString||e["@context"]===f.Image1ContextStringIncorrect))return 1;if("profile"in e){let t;return Array.isArray(e.profile)?t=e.profile[0]:t=e.profile,t.match(f.image1ProfileUriRegex)?1:t.match(u.image2ProfileUriRegex)?2:3}else throw new Error("Unsupported IIIF Image Service")}function F(e){if("type"in e||"@type"in e){const t=e.profile;let r=!1;return t==="level0"||typeof t=="string"&&t.endsWith("level0.json")?"extraFeatures"in e&&(r=A.every(i=>e.extraFeatures&&e.extraFeatures.includes(i))):r=!0,{maxWidth:"maxWidth"in e?e.maxWidth:void 0,maxHeight:"maxHeight"in e?e.maxHeight:void 0,maxArea:"maxArea"in e?e.maxArea:void 0,supportsAnyRegionAndSize:r}}else if(Array.isArray(e.profile)){let t=!1,r=Number.NEGATIVE_INFINITY,i=Number.NEGATIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.profile.forEach(l=>{if(typeof l=="string"){const o=p(l);o&&(t=t||o>=1)}else{const{maxWidth:o,maxHeight:a,maxArea:x,supportsAnyRegionAndSize:h}=m(l);o!==void 0&&(i=Math.max(o,i)),a!==void 0&&(r=Math.max(a,r)),x!==void 0&&(n=Math.max(x,n)),t=t||h}}),{maxWidth:i>=0?i:void 0,maxHeight:r>=0?r:void 0,maxArea:n>=0?n:void 0,supportsAnyRegionAndSize:t}}else if("profile"in e&&e.profile){const t=y(e.profile),r=p(e.profile);return t?{supportsAnyRegionAndSize:t>=1}:r?{supportsAnyRegionAndSize:r>=1}:{supportsAnyRegionAndSize:!1}}else throw new Error("Invalid Image")}exports.getMajorIiifVersionFromImageService=g;exports.getProfileProperties=F;exports.getSupportedFormats=c;
|
|
2
|
+
//# sourceMappingURL=index.cjs435.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs435.js","sources":["../../../node_modules/@allmaps/iiif-parser/dist/lib/profile.js"],"sourcesContent":["import { image1ProfileUriRegex, Image1ContextString, Image1ContextStringIncorrect } from '../schemas/image.1.js';\nimport { image2ProfileUriRegex, Image2ContextString } from '../schemas/image.2.js';\nconst anyRegionAndSizeFeatures = ['regionByPx', 'sizeByWh'];\nfunction parseImage1ProfileUri(uri) {\n const match = uri.match(image1ProfileUriRegex);\n if (match && match.groups) {\n const level = parseInt(match.groups.level);\n return level;\n }\n}\nfunction parseImage2ProfileUri(uri) {\n const match = uri.match(image2ProfileUriRegex);\n if (match && match.groups) {\n const level = parseInt(match.groups.level);\n return level;\n }\n}\nfunction parseImage2ProfileDescription(parsedProfileDescription) {\n return {\n maxWidth: parsedProfileDescription?.maxWidth,\n maxHeight: parsedProfileDescription?.maxHeight,\n maxArea: parsedProfileDescription?.maxArea,\n supportsAnyRegionAndSize: anyRegionAndSizeFeatures.every((feature) => parsedProfileDescription?.supports &&\n parsedProfileDescription?.supports?.includes(feature))\n };\n}\nfunction addFormats(formats, values) {\n values?.forEach((format) => formats.add(format.toLowerCase()));\n}\nexport function getSupportedFormats(parsedImage) {\n const formats = new Set(['jpg']);\n if ('profile' in parsedImage && Array.isArray(parsedImage.profile)) {\n parsedImage.profile.forEach((profile) => {\n if (typeof profile !== 'string') {\n addFormats(formats, profile.formats);\n }\n });\n }\n if ('extraFormats' in parsedImage) {\n addFormats(formats, parsedImage.extraFormats);\n }\n if ('preferredFormats' in parsedImage) {\n addFormats(formats, parsedImage.preferredFormats);\n }\n return Array.from(formats);\n}\nexport function getMajorIiifVersionFromImageService(imageService) {\n if ('type' in imageService && imageService.type === 'ImageService3') {\n return 3;\n }\n else if (('type' in imageService && imageService.type === 'ImageService2') ||\n ('@type' in imageService && imageService['@type'] === 'ImageService2') ||\n ('@context' in imageService &&\n imageService['@context'] === Image2ContextString)) {\n return 2;\n }\n else if ('@context' in imageService &&\n (imageService['@context'] === Image1ContextString ||\n imageService['@context'] === Image1ContextStringIncorrect)) {\n return 1;\n }\n else if ('profile' in imageService) {\n let profile;\n if (Array.isArray(imageService.profile)) {\n profile = imageService.profile[0];\n }\n else {\n profile = imageService.profile;\n }\n if (profile.match(image1ProfileUriRegex)) {\n return 1;\n }\n else if (profile.match(image2ProfileUriRegex)) {\n return 2;\n }\n else {\n return 3;\n }\n }\n else {\n throw new Error('Unsupported IIIF Image Service');\n }\n}\nexport function getProfileProperties(parsedImage) {\n // TODO: this function is very messy and needs cleaning up.\n // Probably also needs a better way to keep ImageService and ImageInfo apart.\n if ('type' in parsedImage || '@type' in parsedImage) {\n const profile = parsedImage.profile;\n let supportsAnyRegionAndSize = false;\n if (profile === 'level0' ||\n (typeof profile === 'string' && profile.endsWith('level0.json'))) {\n if ('extraFeatures' in parsedImage) {\n supportsAnyRegionAndSize = anyRegionAndSizeFeatures.every((feature) => parsedImage.extraFeatures &&\n parsedImage.extraFeatures.includes(feature));\n }\n }\n else {\n supportsAnyRegionAndSize = true;\n }\n return {\n maxWidth: 'maxWidth' in parsedImage ? parsedImage.maxWidth : undefined,\n maxHeight: 'maxHeight' in parsedImage ? parsedImage.maxHeight : undefined,\n maxArea: 'maxArea' in parsedImage ? parsedImage.maxArea : undefined,\n supportsAnyRegionAndSize\n };\n }\n else if (Array.isArray(parsedImage.profile)) {\n let supportsAnyRegionAndSize = false;\n let maxHeight = Number.NEGATIVE_INFINITY;\n let maxWidth = Number.NEGATIVE_INFINITY;\n let maxArea = Number.NEGATIVE_INFINITY;\n parsedImage.profile.forEach((profile) => {\n if (typeof profile === 'string') {\n const profileLevel = parseImage2ProfileUri(profile);\n if (profileLevel) {\n supportsAnyRegionAndSize =\n supportsAnyRegionAndSize || profileLevel >= 1;\n }\n }\n else {\n const { maxWidth: profileMaxWidth, maxHeight: profileMaxHeight, maxArea: profileMaxArea, supportsAnyRegionAndSize: profileSupportsAnyRegionAndSize } = parseImage2ProfileDescription(profile);\n if (profileMaxWidth !== undefined) {\n maxWidth = Math.max(profileMaxWidth, maxWidth);\n }\n if (profileMaxHeight !== undefined) {\n maxHeight = Math.max(profileMaxHeight, maxHeight);\n }\n if (profileMaxArea !== undefined) {\n maxArea = Math.max(profileMaxArea, maxArea);\n }\n supportsAnyRegionAndSize =\n supportsAnyRegionAndSize || profileSupportsAnyRegionAndSize;\n }\n });\n return {\n maxWidth: maxWidth >= 0 ? maxWidth : undefined,\n maxHeight: maxHeight >= 0 ? maxHeight : undefined,\n maxArea: maxArea >= 0 ? maxArea : undefined,\n supportsAnyRegionAndSize\n };\n }\n else if ('profile' in parsedImage && parsedImage.profile) {\n const profileLevel1 = parseImage1ProfileUri(parsedImage.profile);\n const profileLevel2 = parseImage2ProfileUri(parsedImage.profile);\n if (profileLevel1) {\n return {\n supportsAnyRegionAndSize: profileLevel1 >= 1\n };\n }\n else if (profileLevel2) {\n return {\n supportsAnyRegionAndSize: profileLevel2 >= 1\n };\n }\n else {\n return {\n supportsAnyRegionAndSize: false\n };\n }\n }\n else {\n throw new Error('Invalid Image');\n }\n}\n"],"names":["anyRegionAndSizeFeatures","parseImage1ProfileUri","uri","match","image1ProfileUriRegex","parseImage2ProfileUri","image2ProfileUriRegex","parseImage2ProfileDescription","parsedProfileDescription","feature","addFormats","formats","values","format","getSupportedFormats","parsedImage","profile","getMajorIiifVersionFromImageService","imageService","Image2ContextString","Image1ContextString","Image1ContextStringIncorrect","getProfileProperties","supportsAnyRegionAndSize","maxHeight","maxWidth","maxArea","profileLevel","profileMaxWidth","profileMaxHeight","profileMaxArea","profileSupportsAnyRegionAndSize","profileLevel1","profileLevel2"],"mappings":"oJAEMA,EAA2B,CAAC,aAAc,UAAU,EAC1D,SAASC,EAAsBC,EAAK,CAChC,MAAMC,EAAQD,EAAI,MAAME,uBAAqB,EAC7C,GAAID,GAASA,EAAM,OAEf,OADc,SAASA,EAAM,OAAO,KAAK,CAGjD,CACA,SAASE,EAAsBH,EAAK,CAChC,MAAMC,EAAQD,EAAI,MAAMI,uBAAqB,EAC7C,GAAIH,GAASA,EAAM,OAEf,OADc,SAASA,EAAM,OAAO,KAAK,CAGjD,CACA,SAASI,EAA8BC,EAA0B,CAC7D,MAAO,CACH,SAAUA,GAA0B,SACpC,UAAWA,GAA0B,UACrC,QAASA,GAA0B,QACnC,yBAA0BR,EAAyB,MAAOS,GAAYD,GAA0B,UAC5FA,GAA0B,UAAU,SAASC,CAAO,CAAC,CAAA,CAEjE,CACA,SAASC,EAAWC,EAASC,EAAQ,CACjCA,GAAQ,QAASC,GAAWF,EAAQ,IAAIE,EAAO,YAAA,CAAa,CAAC,CACjE,CACO,SAASC,EAAoBC,EAAa,CAC7C,MAAMJ,EAAU,IAAI,IAAI,CAAC,KAAK,CAAC,EAC/B,MAAI,YAAaI,GAAe,MAAM,QAAQA,EAAY,OAAO,GAC7DA,EAAY,QAAQ,QAASC,GAAY,CACjC,OAAOA,GAAY,UACnBN,EAAWC,EAASK,EAAQ,OAAO,CAE3C,CAAC,EAED,iBAAkBD,GAClBL,EAAWC,EAASI,EAAY,YAAY,EAE5C,qBAAsBA,GACtBL,EAAWC,EAASI,EAAY,gBAAgB,EAE7C,MAAM,KAAKJ,CAAO,CAC7B,CACO,SAASM,EAAoCC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CW,IACAJ,EACIA,GAA4BI,GAAgB,EAExD,KACK,CACD,KAAM,CAAE,SAAUC,EAAiB,UAAWC,EAAkB,QAASC,EAAgB,yBAA0BC,GAAoCxB,EAA8BS,CAAO,EACxLY,IAAoB,SACpBH,EAAW,KAAK,IAAIG,EAAiBH,CAAQ,GAE7CI,IAAqB,SACrBL,EAAY,KAAK,IAAIK,EAAkBL,CAAS,GAEhDM,IAAmB,SACnBJ,EAAU,KAAK,IAAII,EAAgBJ,CAAO,GAE9CH,EACIA,GAA4BQ,CACpC,CACJ,CAAC,EACM,CACH,SAAUN,GAAY,EAAIA,EAAW,OACrC,UAAWD,GAAa,EAAIA,EAAY,OACxC,QAASE,GAAW,EAAIA,EAAU,OAClC,yBAAAH,CAAA,CAER,SACS,YAAaR,GAAeA,EAAY,QAAS,CACtD,MAAMiB,EAAgB/B,EAAsBc,EAAY,OAAO,EACzDkB,EAAgB5B,EAAsBU,EAAY,OAAO,EAC/D,OAAIiB,EACO,CACH,yBAA0BA,GAAiB,CAAA,EAG1CC,EACE,CACH,yBAA0BA,GAAiB,CAAA,EAIxC,CACH,yBAA0B,EAAA,CAGtC,KAEI,OAAM,IAAI,MAAM,eAAe,CAEvC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs535.js"),e=require("./index.cjs432.js"),i=["level0","level1","level2"],r=e.enum(i),t=e.object({id:e.string().url(),type:e.literal("ImageService3"),protocol:e.literal("http://iiif.io/api/image"),profile:r,width:e.number().int(),height:e.number().int(),maxWidth:e.number().int().optional(),maxHeight:e.number().int().optional(),maxArea:e.number().int().optional(),sizes:a.SizeSchema.array().optional(),tiles:a.TilesetSchema.array().optional(),extraFeatures:e.string().array().optional(),extraFormats:e.string().array().optional(),preferredFormats:e.string().array().optional()});exports.Image3ProfileSchema=r;exports.Image3Schema=t;exports.image3Profiles=i;
|
|
2
|
+
//# sourceMappingURL=index.cjs436.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs436.js","sources":["../../../node_modules/@allmaps/iiif-parser/dist/schemas/image.3.js"],"sourcesContent":["// Image API 3.0.0\n// https://iiif.io/api/image/3.0/#51-image-information-request\nimport { z } from 'zod';\nimport { TilesetSchema, SizeSchema } from './shared.js';\nexport const image3Profiles = ['level0', 'level1', 'level2'];\nexport const Image3ProfileSchema = z.enum(image3Profiles);\nexport const Image3Schema = z.object({\n id: z.string().url(),\n type: z.literal('ImageService3'),\n protocol: z.literal('http://iiif.io/api/image'),\n profile: Image3ProfileSchema,\n width: z.number().int(),\n height: z.number().int(),\n maxWidth: z.number().int().optional(),\n maxHeight: z.number().int().optional(),\n maxArea: z.number().int().optional(),\n sizes: SizeSchema.array().optional(),\n tiles: TilesetSchema.array().optional(),\n extraFeatures: z.string().array().optional(),\n extraFormats: z.string().array().optional(),\n preferredFormats: z.string().array().optional()\n // rights\n // TODO: add partOf, seeAlso, and service\n});\n"],"names":["image3Profiles","Image3ProfileSchema","z.enum","Image3Schema","z.object","z.string","z.literal","z.number","SizeSchema","TilesetSchema"],"mappings":"oJAIaA,EAAiB,CAAC,SAAU,SAAU,QAAQ,EAC9CC,EAAsBC,EAAAA,KAAOF,CAAc,EAC3CG,EAAeC,EAAAA,OAAS,CACjC,GAAIC,EAAAA,OAAE,EAAS,IAAA,EACf,KAAMC,EAAAA,QAAU,eAAe,EAC/B,SAAUA,EAAAA,QAAU,0BAA0B,EAC9C,QAASL,EACT,MAAOM,EAAAA,OAAE,EAAS,IAAA,EAClB,OAAQA,EAAAA,OAAE,EAAS,IAAA,EACnB,SAAUA,EAAAA,OAAE,EAAS,IAAA,EAAM,SAAA,EAC3B,UAAWA,EAAAA,OAAE,EAAS,IAAA,EAAM,SAAA,EAC5B,QAASA,EAAAA,OAAE,EAAS,IAAA,EAAM,SAAA,EAC1B,MAAOC,EAAAA,WAAW,MAAA,EAAQ,SAAA,EAC1B,MAAOC,EAAAA,cAAc,MAAA,EAAQ,SAAA,EAC7B,cAAeJ,EAAAA,OAAE,EAAS,MAAA,EAAQ,SAAA,EAClC,aAAcA,EAAAA,OAAE,EAAS,MAAA,EAAQ,SAAA,EACjC,iBAAkBA,EAAAA,OAAE,EAAS,MAAA,EAAQ,SAAA,CAGzC,CAAC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const d=require("./index.cjs525.js"),_=require("./index.cjs520.js"),B=require("./index.cjs523.js"),C=require("./index.cjs526.js"),E=require("./index.cjs527.js"),S=require("./index.cjs528.js"),m=require("./index.cjs529.js"),w=require("./index.cjs530.js"),F=require("./index.cjs531.js"),M=require("./index.cjs446.js"),U=require("./index.cjs450.js"),h=require("./index.cjs455.js"),x=require("./index.cjs439.js"),I=require("./index.cjs459.js");var A="[object Arguments]",O="[object Array]",D="[object Boolean]",l="[object Date]",G="[object Error]",q="[object Function]",K="[object GeneratorFunction]",N="[object Map]",R="[object Number]",u="[object Object]",W="[object RegExp]",H="[object Set]",J="[object String]",L="[object Symbol]",P="[object WeakMap]",Q="[object ArrayBuffer]",V="[object DataView]",X="[object Float32Array]",Y="[object Float64Array]",Z="[object Int8Array]",$="[object Int16Array]",z="[object Int32Array]",k="[object Uint8Array]",v="[object Uint8ClampedArray]",rr="[object Uint16Array]",er="[object Uint32Array]",r={};r[A]=r[O]=r[Q]=r[V]=r[D]=r[l]=r[X]=r[Y]=r[Z]=r[$]=r[z]=r[N]=r[R]=r[u]=r[W]=r[H]=r[J]=r[L]=r[k]=r[v]=r[rr]=r[er]=!0;r[G]=r[q]=r[P]=!1;function c(e,g,b,tr,j,n){var t;if(t!==void 0)return t;if(!x(e))return e;var s=M(e);if(s)t=m(e);else{var a=S(e),T=a==q||a==K;if(U(e))return C(e);if(a==u||a==A||T&&!j)t=T?{}:F(e);else{if(!r[a])return j?e:{};t=w(e,a)}}n||(n=new d);var f=n.get(e);if(f)return f;n.set(e,t),I(e)?e.forEach(function(o){t.add(c(o,g,b,o,e,n))}):h(e)&&e.forEach(function(o,i){t.set(i,c(o,g,b,i,e,n))});var p=E,y=s?void 0:p(e);return _(y||e,function(o,i){y&&(i=o,o=e[i]),B(t,i,c(o,g,b,i,e,n))}),t}module.exports=c;
|
|
2
|
+
//# sourceMappingURL=index.cjs437.js.map
|